<May 10, 2005 1:51:25 PM CEST> <Error> <Deployer> <BEA-149201> <Failed to complete the deployment task with ID 55 for the application test.
java.lang.NullPointerException
at weblogic.servlet.internal.WebAppServletContext.destroy(WebAppServletContext.java:5999)
at weblogic.servlet.internal.ServletContextManager.destroyContext(ServletContextManager.java:196)
at weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:777)
at weblogic.servlet.internal.WebAppModule.destroyContexts(WebAppModule.java:761)
at weblogic.servlet.internal.WebAppModule.rollback(WebAppModule.java:739)
...
I've now completely abandoned the spring jsf integration classes (variable resolver and utils) and hacked together my own utilities in combination with jsf-spring. Works like a charm.
Chris
On May 6, 2005, at 3:20 PM, Christian Kesselheim wrote:
No, I haven't. I'm no running on jsf-spring instead.
Perhaps I'll try this later.
Best regards,
Chris
On May 6, 2005, at 2:58 PM, Deadman, Hal wrote:
Did you try putting spring-web.jar and spring-webmvc.jar in the war and
the other spring-*.jar files in the EAR? I am just curious if that works
because it sounds like a problem that I will run into at some point. My
first JSF application was not in an EAR otherwise I would have had the
same problem.
Hal
-----Original Message-----the
From: Christian Kesselheim [mailto:[EMAIL PROTECTED]
Sent: Friday, May 06, 2005 8:22 AM
To: MyFaces Discussion
Subject: Re: Startup problem on Weblogic 8.1SP4
The whole issue goes away if I comment out my
<application>
<locale-config />
<view-
handler>org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl</
view-handler>
<variable-
resolver>org.springframework.web.jsf.DelegatingVariableResolver</
variable-resolver>
</application>
in faces-context.xml!
Hence, I guess that having the spring jar files inside the EAR
classloader and the myfaces jar files inside the WAR classloader of
weblogic make the whole classloading break apart.
As I can't really put myfaces libraries into the EAR classloader
(myfaces expects them in WEB-INF lib, extracting some resources at
runtime), I'll try to either split up my spring jar or use the
spring-jsf library instead.
Best regards,
Chris
On May 6, 2005, at 1:47 PM, Christian Kesselheim wrote:
Hi!
I've got a little problem with an application based on both
myfaces-1.0.9 and spring running on Weblogic 8.1SP4.
My JSF UI is packed into a WAR, which is then in turn wrapped into
ofapplications EAR. The build is done via Maven; so is the generation
Iall JAR/WAR/EAR manifest files.
Followed the "getting started" instructions on the myfaces website,
jsp-2.0.jar).included all necessary jars in my WEB-INF/lib (including
<FailedWhen deploying the application, weblogic starts choking:
<May 6, 2005 1:37:43 PM CEST> <Warning> <HTTP> <BEA-101162> <User
defined listener
org.apache.myfaces.webapp.StartupServletContextListener failed:
java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException.>
<May 6, 2005 1:37:43 PM CEST> <Warning> <HTTP> <BEA-101162> <User
defined listener
org.apache.myfaces.webapp.StartupServletContextListener failed:
java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException.>
....
<May 6, 2005 1:37:44 PM CEST> <Error> <Deployer> <BEA-149201>
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(Slto complete the deployment task with ID 34 for the application
myapp-0.1-SNAPSHOT.
weblogic.management.DeploymentException:
Exception:weblogic.management.ApplicationException: start() failed.
Module: myapp Error:
weblogic.management.DeploymentException:
javax/servlet/jsp/el/ELException - with nested exception:
[java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException]
at
weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployeaveDeployer.java:2423)
at
weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(Slar.java:2138)
at
weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployveDeployer.java:2237)
at
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(Slaer.java:2132)
at
weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveveDeployer.java:2384)
at
weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployDeployer.java:866)
at
weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeploer.java:594)
at
weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandlyer.java:508)
at
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(Slaer.java:25)
at
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
--------------- nested within: ------------------
weblogic.management.ManagementException: - with nested exception:
[weblogic.management.DeploymentException:
Exception:weblogic.management.ApplicationException: start() failed.
Module: myapp Error:
weblogic.management.DeploymentException:
javax/servlet/jsp/el/ELException - with nested exception:
[java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException]
]
at
weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveveDeployer.java:2396)
at
weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployDeployer.java:866)
at
weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeploer.java:594)
at
weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandlyer.java:508)
at
<prefer-web-inf-classes>true</prefer-web-inf-classes>er.java:25)
at
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
On the other hand, when inverting weblogic classloader hierarchy via
weblogic.xml
<weblogic-web-app>
<description>Here goes my description</description>
<weblogic-version>8.1</weblogic-version>
<container-descriptor>
worms,</container-descriptor>
</weblogic-web-app>
everything goes fine (at least for myfaces). Unfortunately, messing
with weblogic classloader hierarchy opens a whole other can of
anyso I'ld like to know if there's any standard way to deal with this
kinda problem. Any idea :)?
Best regards,
Christian Kesselheim
-------------------------
infeurope S.A.
62, rue Charles Martel
L-2134 Luxembourg
Luxembourg
Tel: (+352) 25.22.33.1
Fax: (+352) 25.22.33.222
Web: www.infeurope.lu
-------------------------
Any views expressed are purely those of the writer and may not in
infeuropecircumstances be regarded as stating an official position of
S.A.!
-------------------------
infeurope S.A.
62, rue Charles Martel
L-2134 Luxembourg
Luxembourg
Tel: (+352) 25.22.33.1
Fax: (+352) 25.22.33.222
Web: www.infeurope.lu
-------------------------
Any views expressed are purely those of the writer and may not in any
circumstances be regarded as stating an official position of infeurope
S.A.!
-------------------------
infeurope S.A.
62, rue Charles Martel
L-2134 Luxembourg
Luxembourg
Tel: (+352) 25.22.33.1
Fax: (+352) 25.22.33.222
Web: www.infeurope.lu
-------------------------
Any views expressed are purely those of the writer and may not in any
circumstances be regarded as stating an official position of infeurope S.A.!
-------------------------
infeurope S.A.
62, rue Charles Martel
L-2134 Luxembourg
Luxembourg
Tel: (+352) 25.22.33.1
Fax: (+352) 25.22.33.222
Web: www.infeurope.lu
-------------------------
Any views expressed are purely those of the writer and may not in any
circumstances be regarded as stating an official position of infeurope S.A.!

