Skip to Content
0
Oct 06, 2003 at 06:08 PM

Deploying Struts1.1 WAR archive in SAP J2EE Engine for WAS6.20

64 Views

Hello,

I am trying to deploy an example Struts 1.1 WAR archive in SAP J2EE Engine Stand Alone server with the Deploy Tool. With Tomcat 4, it's ok.

In the Deploy Tool, I am loading the war file with the "Assembler" Tab,

i make the EAR successfully but when i want to deploy it, i have got this error message :

ID17109: Error can't init Servlet action : java.lang.NullPointerException

ID5005 Could not commit deploy on container : servlet_jsp

The corresponding console error log is:

MessageResourcesFactory - -MessageResourcesFactory.createFactory

(RequestUtils.java:138)

at org.apache.struts.util.MessageResourcesFactory.createFactory(Message

ResourcesFactory.java:192)

at org.apache.struts.util.MessageResources.getMessageResources(MessageR

esources.java:576)

at org.apache.struts.action.ActionServlet.initInternal(ActionServlet.ja

va:1276)

at org.apache.struts.action.ActionServlet.init(ActionServlet.java:459)

at javax.servlet.GenericServlet.init(GenericServlet.java:366)

at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(Ser

vletContextFacade.java:3083)

at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(Ser

vletContextFacade.java:2538)

at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.deploy(Ser

vletsAndJspImpl.java:458)

at com.inqmy.services.servlets_jsp.server.WebContainer.commitDeploy(Web

Container.java:257)

at com.inqmy.services.deploy.server.DeployServiceImpl.commit(DeployServ

iceImpl.java:2370)

at com.inqmy.services.deploy.server.DeployServiceImpl.deploy1(DeploySer

viceImpl.java:456)

at com.inqmy.services.deploy.server.DeployServiceImpl.deploy(DeployServ

iceImpl.java:131)

at com.inqmy.services.deploy.server.DeployServiceImplp4_Skel.dispatch(D

eployServiceImplp4_Skel.java:184)

at com.inqmy.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:163)

at com.inqmy.services.rmi_p4.server.P4SessionProcessor.request(P4Sessio

nProcessor.java:120)

at com.inqmy.core.service.context.container.session.ApplicationSessionM

essageListener.process(ApplicationSessionMessageListener.java:36)

at com.inqmy.core.cluster.impl3.ParserRunner.run(ParserRunner.java:30)

at com.inqmy.core.thread.impl2.SingleThread.run(SingleThread.java:118)

MessageResourcesFactory - -MessageResourcesFactory.createFactory

(RequestUtils.java:138)

at org.apache.struts.util.MessageResourcesFactory.createFactory(Message

ResourcesFactory.java:192)

at org.apache.struts.util.MessageResources.getMessageResources(MessageR

esources.java:576)

at org.apache.struts.action.ActionServlet.initInternal(ActionServlet.ja

va:1276)

at org.apache.struts.action.ActionServlet.init(ActionServlet.java:459)

at javax.servlet.GenericServlet.init(GenericServlet.java:366)

at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(Ser

vletContextFacade.java:3083)

at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(Ser

vletContextFacade.java:2538)

at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.deploy(Ser

vletsAndJspImpl.java:458)

at com.inqmy.services.servlets_jsp.server.WebContainer.commitDeploy(Web

Container.java:257)

at com.inqmy.services.deploy.server.DeployServiceImpl.commit(DeployServ

iceImpl.java:2370)

at com.inqmy.services.deploy.server.DeployServiceImpl.deploy1(DeploySer

viceImpl.java:456)

at com.inqmy.services.deploy.server.DeployServiceImpl.deploy(DeployServ

iceImpl.java:131)

at com.inqmy.services.deploy.server.DeployServiceImplp4_Skel.dispatch(D

eployServiceImplp4_Skel.java:184)

at com.inqmy.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:163)

at com.inqmy.services.rmi_p4.server.P4SessionProcessor.request(P4Sessio

nProcessor.java:120)

at com.inqmy.core.service.context.container.session.ApplicationSessionM

essageListener.process(ApplicationSessionMessageListener.java:36)

at com.inqmy.core.cluster.impl3.ParserRunner.run(ParserRunner.java:30)

at com.inqmy.core.thread.impl2.SingleThread.run(SingleThread.java:118)

I don't understand why it doesn't find org.apache.struts.util.PropertyMessageResourcesFactory since it exists in struts.jar, which is present in the WAR archive.

Best regards,

Christophe