I am using IBM web-sphere 6.1 as a application server and eclipse as IDE. so i have one project name as MobileBank.ear which contain deployment descriptor file which has one module name as amsejb.jar which is ejb project and some jar files. so while adding MobileBank.ear into the server i am getting the following error " Web-Sphere v6.0 only supports J2EE 1.2, 1.3, and 1.4 Enterprise applications." due to this error i am not able to deploy my ear can anyone guide me please... also MobileBank.ear contains web project though i am not able to add the ear. Kindly Guide me...
Thanks in advance...
Vinod
I am using IBM web-sphere 6.1 ... Web-Sphere v6.0 only supports ... Are you sure you are using WAS 6.1 ?? May be this is what causing the problem
Well, 6.1 really doesn't support more than 1.4 and you're attempting to use newer versions.. You should
Edit the project facets in the project properties to utilize older versions
Not select 6.0 when generating the project as the target. That is used for the remote deployment etc. Eclipse does not really support 6.1/7.x deployment so please generate the generic projects instead.
i deleted the EAR folder ,created new Enterprise Application Project and added all project in that . error got resolved .
I am using WAS 7.0
U need to change the WebSphere Application Server version under Coniguration section while creating a project in Eclipse/RAD.
Then Dynamic Web module version will get changed from 3.0 to 2.5
While creating a dynamic web project,
-- On entering the "project name"
-- we have an option to check "Add project to EAR"
-- Enter the EAR name
-- choose the EAR version on of these - 1.2, 1.3, 1.4 and 5.0
On doing this, we would be able to add the EAR to WAS (I have been using v7)
Related
I am using IntelliJ Ultimate 2019.2 version. I want to configure Jboss 5.1 for a Java 1.6 project. I cant see JBoss in Add Configuration. See below
I don't see a JBoss plugin in IntelliJ as well. Below are the
Installed Plugins
Below are the available plugins in the market place.
Is there a way to configure IntelliJ 2019.2.2 to use JBoss 5.1?
Enable WildFly bundled plugin.
As Wikipedia says, Jboss is former name:
WildFly,formerly known as JBoss AS, or simply JBoss
Searched for Wildfly in IntelliJ plugins as suggested by #Konstantin Annikov
and enabled it. Now I have JBoss in Add/Edit Configuration.
We are swapping between intellij idea project to JDeveloper (not funny :( )
And I have to configure JDeveloper for it.
For now I installed tomcat extension http://blogs.oracle.com/shay/resource/TomcatExtension_11.1.2.zip
and Installed Spring support via Help > Check for updates
I'm looking for some tutorial/Documentation/blog post etc how to configure JDeveloper for technologies like maven, spring, tomcat, hibernate, js.
Do you guys have any ideas or experience?
All what I can find on internet is already deprecated(For example from 2006) or in Brazilian language
Which version of JDeveloper are you using?
JDev 12.2.1 has maven built in.
To get Spring and Hibernate in just click the tools->manage libraries and add libraries with the right jar files.
Then add these libraries to the project properties for the projects that require them.
I am using Tomee plus as a server for my java ee project in eclipse. I am unable to create an ear project in eclipse as the option for target runtime does not have apache tomcat for option. The only runtime environments I see are:
Basic - which has J2ee runtime library
Jboss
Object Web
Just to clarify, I am able to create a dynamic web project with tomee runtime. The problem is creating an EAR project with tomee runtime. Any help would be appreciated.
I believe you need to install the JST Server Adapters Extensions. I believe this was only added recently (Mars?).
When running my Java EE app on TomEE I get the following error:
java.lang.NoClassDefFoundError: javax/persistence/NamedStoredProcedureQuery
There are no compile time errors when I build the app.I am developing in Eclipse and have Apache TomEE selected under targeted runtimes in the project properties, so that the project has access to Java EE.
As the project uses Hibernate I have the following jars in the WEB-INF\lib directory (it's my understanding that these jars in turn use javax.persistence):
hibernate-commons-annotations-4.0.4
hibernate-core-4.3.5
hibernate-jpa-2.1
I've seen a bunch of questions like this one detailing that the solution is to add the required JPA jar into the lib directory of the app and all will be well. But although that solution may work it sounds hacky to me, I want TomEE to manage the JPA libraries itself. It's a Java EE server so why doesn't it do this. Whats a clean solution?
#JB Nizet's answer is the accepted solution:
This class exists since JPA 2.1. I guess your TomEE version only
supports JPA 2.0. And indeed, thehome page of TomEE says: "Java EE 6
Web Profile". Java EE 6 includes JPA 2.0, not 2.1. – JB Nizet
I'm stepping through this tutorial:
http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html
I'm trying to select the axis2 Web Service facet (step 6) but I'm getting this error message in eclipse:
"Axis2 Web Services Core 1.1 requires Dynamic Web Module with version matching expression "2.2,2.3,2.4,2.5"
Update: I had downloaded and installed axis2 1.5.4 and then in eclipse I went into "windows->preferences->web services->axis2 preferences". Under the "axis2 runtime" tab I specified the axis2 location. The message "Axis2 runtime loaded successfully" appeared.
I don't know why it says "Axis2 Web Services Core 1.1". Does eclipse wtp come bundled with axis2 1.1 or is there a separate version # for the axis core from the overall axis version #?
Change the Dynamic web module version to lower.
I used java 1.5 and
Dynamic web module version-3.0 So its raised an error. Then I changed the version 2.5. Now its not showing any error
#Yasin - you were right, it was merely a mater of changing the Dynamic web module to a previous version. I wasn't aware that the earlier versions had also been installed.
I'd give you credit for the answer, but since you just left a comment I just up-voted your comment.
when I switched it to a lower version. It says
cannot change version of project facet Dynamic Web Module to 2.5
Actually you should select project web module version to 2.5 or lower during the initial creation of the project. If you do it later, it won't accept it and cause an error.