aspose file tools*
The moose likes Struts and the fly likes ServletException in Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "ServletException in Struts" Watch "ServletException in Struts" New topic
Author

ServletException in Struts

joseph prabhu
Ranch Hand

Joined: Feb 26, 2008
Posts: 162
I am setting LocalEnviromment , Log is below. Please tell what i should change, where?


Deregister the mbean because of uncaught init() exception thrown by servlet lastStart: javax.servlet.ServletException: startup failure:Messaging Startup Failed! The Message Router, Host Accessor or the Resource Adapter failed to start properly!
at com.citigroup.cdcla.jfp.webapp.JFPLastStartupServlet.init(JFPLastStartupServlet.java:85)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:190)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:317)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1142)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:150)
at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:99)
at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:504)
at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:283)
at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:273)
at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:88)
at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:655)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:608)
at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:333)
at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:549)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1312)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1129)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:569)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:814)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:965)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2131)
at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:340)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
---- Begin backtrace for Nested Throwables
java.lang.Throwable: Messaging Startup Failed! The Message Router, Host Accessor or the Resource Adapter failed to start properly!
at com.citigroup.cdcla.jfp.messaging.startup.MessagingStartupListener.contextInitialized(MessagingStartupListener.java:98)
at com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:621)
at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:274)
at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:273)
at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:88)
at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:655)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:608)
at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:333)
at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:549)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1312)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1129)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:569)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:814)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:965)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2131)
at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:340)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
Thanks
Joe
joseph prabhu
Ranch Hand

Joined: Feb 26, 2008
Posts: 162
I am using websphere 6.1 with struts 1.1 .

my web.xml has init param as

<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
I have used regular expression
Since the there are many folders in web-inf folder and each folder may/may not have struts-config.xml or may be in other name struts-config[a-z].xml

Please help
joseph prabhu
Ranch Hand

Joined: Feb 26, 2008
Posts: 162
sorry web.xml has following init param


<init-param>
<param-name>config</param-name>
<param-value>/.*[\\/]struts-config.*.xml$</param-value>
</init-param>
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: ServletException in Struts