This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Websphere and the fly likes AppDeploymentException: [] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "AppDeploymentException: []" Watch "AppDeploymentException: []" New topic
Author

AppDeploymentException: []

yegappan ramaiah
Greenhorn

Joined: Dec 29, 2003
Posts: 27
hi all,
iam trying to deploy my ear application into was 5.0, this results in the following exception, kindly help,
thanx in advance
yegappan
AppDeploymentException: []
com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml
at com.ibm.ws.management.application.client.AppInstallHelper.getModuleConfig(AppInstallHelper.java:266)
at com.ibm.websphere.management.application.client.ArchiveDeploymentInfo.createModuleConfig(ArchiveDeploymentInfo.java:116)
at com.ibm.websphere.management.application.client.AppDeploymentInfo.getModuleConfig(AppDeploymentInfo.java:214)
at com.ibm.ws.management.application.client.DefaultBindingHelper.getDefaultBindingInfo(DefaultBindingHelper.java:177)
at com.ibm.ws.management.application.client.DefaultBindingHelper.getDefaultBindingInfo(DefaultBindingHelper.java:90)
at com.ibm.ws.management.application.client.DefaultBindingHelper.getDefaultBindingInfo(DefaultBindingHelper.java:82)
at com.ibm.ws.console.appmanagement.action.UploadAction.formUpload(UploadAction.java:191)
at com.ibm.ws.console.appmanagement.action.UploadAction.perform(UploadAction.java:99)
at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1791)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:258)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:872)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:491)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:173)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:199)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:331)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:432)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:343)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
Steve Wink
Ranch Hand

Joined: May 13, 2002
Posts: 223
Originally posted by yegappan ramaiah:
hi all,
iam trying to deploy my ear application into was 5.0, this results in the following exception, kindly help,
thanx in advance
yegappan
AppDeploymentException: []
com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml
at com.ibm.ws.management.application.client.AppInstallHelper.getModuleConfig(AppInstallHelper.java:266)
at com.ibm.websphere.management.application.client.ArchiveDeploymentInfo.createModuleConfig(ArchiveDeploymentInfo.java:116)
at com.ibm.websphere.management.application.client.AppDeploymentInfo.getModuleConfig(AppDeploymentInfo.java:214)
at com.ibm.ws.management.application.client.DefaultBindingHelper.getDefaultBindingInfo(DefaultBindingHelper.java:177)
at com.ibm.ws.management.application.client.DefaultBindingHelper.getDefaultBindingInfo(DefaultBindingHelper.java:90)
at com.ibm.ws.management.application.client.DefaultBindingHelper.getDefaultBindingInfo(DefaultBindingHelper.java:82)
at com.ibm.ws.console.appmanagement.action.UploadAction.formUpload(UploadAction.java:191)
at com.ibm.ws.console.appmanagement.action.UploadAction.perform(UploadAction.java:99)
at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1791)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:258)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:872)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:491)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:173)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:199)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:331)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:432)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:343)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)

The short answer is that there is an error in your web.xml file. I've had something similar with my ejb-jar.xml file, but none of the logs indicated the exact error. The only way I solved it was comparing a working ejb-jar.xml with my failing one.
yegappan ramaiah
Greenhorn

Joined: Dec 29, 2003
Posts: 27
hi steve,
thanx for the info, actually i compared my web.xml with a working web.xml, the problem in my web.xml is it doesnt recognize the <ejb-local-ref> tag... actually i want one of my servlet to lookup an ejb with local home and local interface, here is where iam struck up, i have checked all the xmi files, there are same as other working copy, but it doesnt recognize mine, kindly help me at the earliest, its an emergenc, thanx.....
yegappan
aditya kulkarni
Greenhorn

Joined: Jun 08, 2005
Posts: 2
Hi Mr. Yegappan Ramaiah, Steve,

I am facing a similar problem in the migration process of my application from WAS4 to WAS5.1. Inspite of all concerned files being intact, I am getting a following error log during deploy stage:-
Buildfile: /var/webeng/build/j2ee/xml/build.xml

init:
[echo] Starting common init

deployEnterpriseApplication:

init:
[echo] Starting init

clrpwds:

deploy:
[echo] Start deploy
[wsadmin] WASX7209I: Connected to process "dmgr" on node DevCell1DM using SOAP connector; The type of process is: DeploymentManager
[wsadmin] Application Name: provider_edi
[wsadmin] Server Name : cl_app201_dev
[wsadmin] Environment : dev
[wsadmin] Directory : /var/webapps/Development


[wsadmin] Properties being used for deployment:
[wsadmin] preCompileJSP == false
[wsadmin] contextroot == default
[wsadmin] "Running deployment with bindings file: false "

[wsadmin] About to Install Application with options:
[wsadmin] Application Name : provider_edi
[wsadmin] Application Deployed Name: provider_edi_dev
[wsadmin] Cluster Name : cl_app201_dev
[wsadmin] With Bindings : false
[wsadmin] Source Directory : /var/webapps/Development/provider_edi/

[wsadmin] Installing application provider_edi to cluster cl_app201_dev
[wsadmin] - Installation type: New Install
[wsadmin] - Not using bindings file
[wsadmin] - PreCompile JSPs : false

[wsadmin] Install options:
[wsadmin] Ear Location: /var/webapps/Development/provider_edi/ear/provider_edi.ear
[wsadmin] Options : -appname provider_edi_dev -cluster cl_app201_dev

[wsadmin] Installation Complete...

[wsadmin] WASX7017E: Exception received while running file "/var/webeng/jacl/deployEntApp.jacl"; exception information: com.ibm.websphere.management.application.client.AppDeploymentException: AppDeploymentException: [ADMA0092E: Unexpected exception occurred while preparing task MapRunAsRolesToUsers. Please check server machines FFDC for more information.]
[wsadmin] AppDeploymentException: []
[wsadmin] com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml
[wsadmin] com.ibm.websphere.management.application.client.AppDeploymentException: AppDeploymentException: []
[wsadmin] com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml
[wsadmin] com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml




BUILD FAILED
/var/webeng/build/j2ee/xml/build.xml:54: Following error occured while executing this line
/var/webeng/build/j2ee/xml/build.entapp.xml:70: Java returned: 105

Total time: 13 seconds
--------------------------------------

Can I get any help on this? I am stumped on this error and getting no clue as to where the error might lie.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: AppDeploymentException: []
 
Similar Threads
[WAS5]application deployment
Websphere Application Server 5.0 and Axis 1.1
App deployment Exception
ant deploy with IBM Websphere5.0 application server
websphere : AppDeploymentException: []