WebSphere Application Server - Prob deploying struts app on WAS

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > May 2004 > Prob deploying struts app on WAS





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Prob deploying struts app on WAS
satvindermann

2004-05-25, 3:04 am

Hi,

I am new with Websphere 4.0.1. i have my struts application that runs fine in WSAD, but when I try to run the same in WAS, I get an error that says : did not realise the error in init() of the servlet.

I am really stuck because of this issue. Can anyone help me regarding the same

regards
Satvinder

The detailed error is as follows:

SRVE0100E: Did not realize init() exception thrown by servlet PRController: javax.servlet.ServletException: javax/xml/parsers/SAXParser.getXMLReader at com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManager.java:817) at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecycleServlet.java:137) at com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLifecycleServlet.java:243) at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycleServlet.java:103) at com.ibm.servlet.engine.webapp.ServletInstance.init(ServletManager.java:388) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.ibm.servlet.engine.webapp.ServletManager.addServlet(ServletManager.java:84) at com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:226) at com.ibm.servlet.engine.webapp.WebAppServletManager. loadAutoLoadServlets(WebAppServletManage
r.java:357) at com.ibm.servlet.engine.webapp.WebApp.loadServletManager(WebApp.java:1001) at com.ibm.servlet.engine.webapp.WebApp.init(WebApp.java:133) at com.ibm.servlet.engine.srt.WebGroup.loadWebApp(WebGroup.java:234) at com.ibm.servlet.engine.srt.WebGroup.init(WebGroup.java:139) at com.ibm.servlet.engine.ServletEngine.addWebApplication(ServletEngine.java:633) at com.ibm.ws.runtime.WebContainer.install(WebContainer.java:36) at com.ibm.ws.runtime.Server.startModule(Server.java:615) at com.ibm.ejs.sm.active.ActiveModule.startModule(ActiveModule.java:509) at com.ibm.ejs.sm.active.ActiveModule.startAction(ActiveModule.java:355) at com.ibm.ejs.sm.active.ActiveObject.startObject(ActiveObject.java:709) at com.ibm.ejs.sm.active.ActiveObject.start(ActiveObject.java:131) at com.ibm.ejs.sm.active.ActiveObject.operateOnContainedObjects(ActiveObject.java:609) at com.ibm.ejs.sm.active.ActiveEJBServer.startAction(ActiveEJBServer.java:730) at com.ibm.ejs.sm.active.ActiveObject.startObject(ActiveObject.java:709) at com.ibm.ejs.sm.active.ActiveObject.start(ActiveObject.java:131) at java.lang.reflect.Method.invoke(Native Method) at com.ibm.ejs.sm.agent.AdminAgentImpl.activeObjectInvocation(AdminAgentImpl.java:93) at com.ibm.ejs.sm.agent.AdminAgentImpl.invokeActiveObject(AdminAgentImpl.java:62) at com.ibm.ejs.sm.agent._AdminAgentImpl_Tie._invoke(_AdminAgentImpl_Tie.java:80) at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(ExtendedServerDelegate.java:506) at com.ibm.CORBA.iiop.ORB.process(ORB.java:2294) at com.ibm.CORBA.iiop.OrbWorker.run(OrbWorker.java:185) at com.ibm.ejs.oa.pool.ThreadPool$PooledWorker.run(ThreadPool.java:95) at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
Ken Hygh

2004-05-25, 4:30 pm

satvindermann wrote:

>Hi,
>
>I am new with Websphere 4.0.1. i have my struts application that runs
>fine in WSAD, but when I try to run the same in WAS, I get an error
>that says : did not realise the error in init() of the servlet.
>
>I am really stuck because of this issue. Can anyone help me regarding
>the same
>
>regards
>Satvinder
>
>The detailed error is as follows:
>
>SRVE0100E: Did not realize init() exception thrown by servlet
>PRController: javax.servlet.ServletException:
>javax/xml/parsers/SAXParser.getXMLReader at
>
>
>

[snip]

>--
>satvindermann
>------------------------------------------------------------------------
>Posted via http://www.webservertalk.com
>------------------------------------------------------------------------
>View this thread: http://www.webservertalk.com/message239229.html
>
>
>

You probably have Xerces or Xalan jars in your ear or war, and you need
to remove them.
Ken
satvindermann

2004-05-26, 5:21 am

Thanx a lot for the promp reply, but the error was in the wrong version of the xalan file. The app has now started working.

regards
Satvinder
satvindermann

2004-05-26, 7:42 am

If possible, can you help me understand why i get the following error now when i try to run the app:

Invalid Oracle URL"
the datasource has been mentioned as :jdbc:oracle:thin:@1.11.100.11:1521:devt

Any idea where am i going wrong on this?

regards
Satvinder
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com