Getting issues during the build deployment on Websphere v6.0 using IntelliJ IDEA 10.0

Hi All,

I posted this query here as I am getting the below issue when I configured my project into IntelliJ and trying to deploy into the Websphere 6.0. If you feel that this is not the correct place to look for answer to my query, guide me to the correct location where I will get the answer.

The basic technologies being used in the project are IntelliJ IDEA 10.0 IDE, Java, Struts and Hibernate.

We are using IntelliJ IDEA 10.0 as java IDE for configuring the project. The application is built using JDK1.4 , EAR file is prepared using ANT tool and then will be deployed into Websphere Application Server 6.0.

We are able to configure the project and build the EAR file successfully using IntelliJ IDEA. But when we are trying to deploy the EAR file to Websphere Server, getting the below exception:

11/16/11 16:35:11:533 IST 00000015 ServletWrappe A SRVE0242I: initServlet: Initialization successful.

11/16/11 16:35:11:564 IST 00000015 WebExtensionP W Servlet action is currently unavailable: SRVE0203E: Servlet action: org.apache.struts.action.ActionServlet was found, but is missing another required class.

SRVE0206E: This error typically implies that the servlet was originally compiled with classes which cannot be located by the server.

11/16/11 16:35:11:580 IST 00000015 WebExtensionP E SRVE0026E: Servlet Error-[javax.servlet.UnavailableException: SRVE0203E: Servlet action: org.apache.struts.action.ActionServlet was found, but is missing another required class.

SRVE0206E: This error typically implies that the servlet was originally compiled with classes which cannot be located by the server.

at com.ibm.ws.webcontainer.servlet.ServletWrapper$3.run(ServletWrapper.java:1415)

at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.loadServlet(ServletWrapper.java:1379)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1312)

at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:84)

at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:745)

at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:493)

at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:379)

at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:114)

at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:127)

at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:776)

at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:729)

at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:140)

at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360)

at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1019)

at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1028)

at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:538)

at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:724)

at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:683)

at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:1678)

at com.ibm.ws.runtime.component.ComponentImpl$_AsynchInitializer.run(ComponentImpl.java:304)

at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)

]: {1}

We tried several options to solve this issue and searched over internet. But could not solve this issue.

We are doing the manual deployement of EAR file into the server through Websphere Admin console.

The Websphere application server is installed through RAD and then configured with IntelliJ in my system.

Earlier, I was using complete RAD setup as development IDE and for build deployment and recently moved to IntelliJ. But again, I may need to move back to RAD if this issue is not resolved at the earliest.

Please let me know, if you need more details. Any help in resolving this issue will be highly appreciated. This has become a major blocker for me to move further.

Thanks & Regards,

kvprak

1 comment

Hello,

did you try to compare ear file generated by IDEA with ear generated by Ant? Looks like some jars are missing from the ear generated by IDEA.

--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.