I think I saw this error on JBoss too.
Hendrik
On dinsdag, jun 10, 2003, at 15:38 Europe/Amsterdam, Andre Mermegas wrote:
Hrm ok, that's a good quick fix for now, thanks. The IoC stuff seems
really cool though, not sure if I'd use it, but it'd be nice to have the
option. Hopefully I can track down why ww2/ws5 can't find that
components.xml file and all will be peachy again.
Regards, -Andre Mermegas
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pat Lightbody Sent: Tuesday, June 10, 2003 3:21 AM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] ww2 on websphere 5
It sounds like WebWork can't find the components.xml file. If you don't have one and don't plan to use the IoC part of XWork, just remove the IoC stuff from web.xml (the filter and the two listeners).
-Pat
----- Original Message ----- From: "Andre Mermegas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 09, 2003 7:27 PM Subject: [OS-webwork] ww2 on websphere 5
Sup guys,
I'm trying to get ww2 example app up and running on Websphere5, but for some reason it's choking trying to find the components.xml. It's in the classes directory of the war, built straight outta cvs as of a few minutes ago. Anybody have any clues? I'm gonna poke around a bit.
Heres the error message:
[6/9/03 22:20:01:969 EDT] 5e6547e1 WebContainer A SRVE0169I: Loading Web Module: WebWork 2.0 Example App.
[6/9/03 22:20:02:078 EDT] 5e6547e1 WebGroup I SRVE0180I: [WebWork 2.0 Example App] [/ww2-example] [Servlet.LOG]: JSP 1.2 Processor: init
[6/9/03 22:20:03:469 EDT] 5e6547e1 WebGroup I SRVE0180I: [WebWork 2.0 Example App] [/ww2-example] [Servlet.LOG]: SimpleFileServlet: init
[6/9/03 22:20:03:484 EDT] 5e6547e1 WebGroup I SRVE0180I: [WebWork 2.0 Example App] [/ww2-example] [Servlet.LOG]: InvokerServlet: init
[6/9/03 22:20:03:531 EDT] 5e6547e1 WebGroup I SRVE0180I: [WebWork 2.0 Example App] [/ww2-example] [Servlet.LOG]: velocity: init
[6/9/03 22:20:03:594 EDT] 5e6547e1 VelocityManag I com.opensymphony.webwork.views.velocity.VelocityManager Initializing velocity using 'velocity.properties'
[6/9/03 22:20:03:984 EDT] 5e6547e1 VelocityManag I com.opensymphony.webwork.views.velocity.VelocityManager Initializing velocity using 'velocity.properties'
[6/9/03 22:20:04:172 EDT] 5e6547e1 ApplicationLi E com.opensymphony.webwork.lifecycle.ApplicationLifecycleListener Cannot load components.xml configuration: InputStream cannot be null
[6/9/03 22:20:04:188 EDT] 5e6547e1 ApplicationLi E com.opensymphony.webwork.lifecycle.ApplicationLifecycleListener TRAS0014I: The following exception was logged java.lang.IllegalArgumentException: InputStream cannot be null
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at
com.opensymphony.xwork.interceptor.component.ComponentConfiguration.loa d
From
Xml(ComponentConfiguration.java:81)
at
com.opensymphony.webwork.lifecycle.ApplicationLifecycleListener.loadCon f
igur
ation(ApplicationLifecycleListener.java:58)
at
com.opensymphony.webwork.lifecycle.ApplicationLifecycleListener.context I
niti
alized(ApplicationLifecycleListener.java:45)
at
com.ibm.ws.webcontainer.srt.WebGroup.notifyServletContextCreated(WebGro u
p.ja
va:1358)
at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:240)
at
com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.jav a
:950
)
at
com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl. j
ava:
133)
at
com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.ja v
a:36
0)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImp l
.jav
a:401)
at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObject S
tart
(DeployedApplicationImpl.java:743)
at
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImp l
.jav
a:337)
at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedAppl i
cati
onImpl.java:531)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Applic a
tion
MgrImpl.java:254)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImp l
.jav
a:232)
at
com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImp l
.jav
a:343)
at
com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234 )
at
com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationSer v
erIm
pl.java:117)
at
com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImp l
.jav
a:343)
at
com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234 )
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:182)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:135)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:232)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at
com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRu n
nerV
5.java:97)
.
java.lang.IllegalArgumentException: InputStream cannot be null
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at
com.opensymphony.xwork.interceptor.component.ComponentConfiguration.loa d
From
Xml(ComponentConfiguration.java:81)
at
com.opensymphony.webwork.lifecycle.ApplicationLifecycleListener.loadCon f
igur
ation(ApplicationLifecycleListener.java:58)
at
com.opensymphony.webwork.lifecycle.ApplicationLifecycleListener.context I
niti
alized(ApplicationLifecycleListener.java:45)
at
com.ibm.ws.webcontainer.srt.WebGroup.notifyServletContextCreated(WebGro u
p.ja
va:1358)
at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:240)
at
com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.jav a
:950
)
at
com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl. j
ava:
133)
at
com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.ja v
a:36
0)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImp l
.jav
a:401)
at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObject S
tart
(DeployedApplicationImpl.java:743)
at
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImp l
.jav
a:337)
at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedAppl i
cati
onImpl.java:531)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Applic a
tion
MgrImpl.java:254)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImp l
.jav
a:232)
at
com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImp l
.jav
a:343)
at
com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234 )
at
com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationSer v
erIm
pl.java:117)
at
com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImp l
.jav
a:343)
at
com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234 )
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:182)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:135)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:232)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at
com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRu n
nerV
5.java:97)
[6/9/03 22:20:04:203 EDT] 5e6547e1 ApplicationMg A WSVR0221I: Application started: ww
[6/9/03 22:20:04:234 EDT] 5e6547e1 HttpTransport A SRVE0171I: Transport http is listening on port 9,080.
[6/9/03 22:20:07:219 EDT] 5e6547e1 HttpTransport A SRVE0171I: Transport https is listening on port 9,443.
[6/9/03 22:20:07:281 EDT] 5e6547e1 RMIConnectorC A ADMC0026I: RMI Connector available at port 2809
[6/9/03 22:20:07:328 EDT] 5e6547e1 WsServer A WSVR0001I: Server server1 open for e-business
[6/9/03 22:20:13:094 EDT] 7ae8c7f6 WebGroup E SRVE0026E: [Servlet Error]-[Filter [container]: filter is unavailable.]: java.lang.RuntimeException: Fallback must be an instance of DefaultConfigurationManager
at
com.opensymphony.xwork.interceptor.component.DefaultComponentManager.se t
Fall
back(DefaultComponentManager.java:50)
at
com.opensymphony.webwork.lifecycle.SessionLifecycleListener.sessionCrea t
ed(S
essionLifecycleListener.java:45)
at
com.ibm.ws.webcontainer.httpsession.SessionContext.sessionCreatedEvent( S
essi
onContext.java:2720)
at
com.ibm.ws.webcontainer.httpsession.SessionContext.createSession(Sessio n
Cont
ext.java:728)
at
com.ibm.ws.webcontainer.httpsession.SessionContext.getIHttpSession(Sess i
onCo
ntext.java:2118)
at
com.ibm.ws.webcontainer.webapp.WebAppDispatcherRequest.getSession(WebAp p
Disp
atcherRequest.java:242)
at
com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(Requ e
stLi
fecycleFilter.java:46)
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterIns t
ance
Wrapper.java:132)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterC h
ain.
java:71)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDisp a
tch(
WebAppRequestDispatcher.java:863)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppR e
ques
tDispatcher.java:491)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRe q
uest
Dispatcher.java:173)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java: 7
9)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppIn v
oker
.java:199)
at
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocat i
on(C
achedInvocation.java:71)
at
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(Servl e
tReq
uestProcessor.java:182)
at
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSELi s
tene
r.java:331)
at
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnectio n
.jav
a: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)
Regards,
-Andre Mermegas
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork