RE: shale-usecases doesn't deploy on weblogic 9.2 MP1
<hermod.opstvedt <at> dnbnor.no>
2007-02-02 11:54:11 GMT
Hi
The validator doesn't try to load anything - Its weblogic.utils.classloaders.GenericClassLoader that
loads classes (Look at the stacktrace). It is definitly not trying to load a linebreak - Its just not
reporting the class that is trying to load.
The usecase deploy fine to Tomcat (except 5.5.20/jdk1.5 combo) and other appservers. My guess is that you
are seing a clashing of classes. That is that the container loads some stuff from its own lib directory
before loading your stuff. Try altering the class-loader strategy to parent-last
Hermod
-----Original Message-----
From: Alessio Harri [mailto:AHarri <at> metropolitan.co.za]
Sent: Friday, February 02, 2007 11:54 AM
To: user <at> shale.apache.org
Subject: RE: shale-usecases doesn't deploy on weblogic 9.2 MP1
Hi Hermod
I do include commons-validator-1.3.1.jar in my app and it is in
the shale-usecases app.The log file indicates that it is trying to
load a linebreak as a class ie. /n
So for some reason shale validator is trying to load /n as a class.
Any ideas ? this is not a bug in my app because it doesn't deploy
shale-usecases.war from the shale site either.
Regards
Alessio
-----Original Message-----
From: hermod.opstvedt <at> dnbnor.no [mailto:hermod.opstvedt <at> dnbnor.no]
Sent: 02 February 2007 12:45
To: user <at> shale.apache.org
Subject: RE: shale-usecases doesn't deploy on weblogic 9.2 MP1
Hi
You need to look through yours logs in order to identify which class it can not find.
In particular the shale-validator depends on commons-validator-1.3.1.jar
Hermod
-----Original Message-----
From: Alessio Harri [mailto:AHarri <at> metropolitan.co.za]
Sent: Friday, February 02, 2007 11:39 AM
To: user <at> shale.apache.org
Subject: shale-usecases doesn't deploy on weblogic 9.2 MP1
Hi all
I am able to deploy the shale-blank app on weblogic 9.2 but NOT shale-usecases.
After alot of trial and error I discovered that it will deploy if I remove shale-validator-1.0.4.jar from
the lib folder.
My app currently uses shale-validator-1.0.4.jar so I cannot get it to deploy.
Any help will be appreciated.
Regards
Alessio
This is the stacktrace
<2007/02/02 12:35:08 PM> <Error> <HTTP> <BEA-101163> <Could not load user defined listener:
java.lang.ClassNotFoundException:
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:286)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:259)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
>
<2007/02/02 12:35:08 PM> <Error> <Deployer> <BEA-149265> <Failure occured in the execution of
deployment request with ID '1170412504501' for task '0'. Error is:
'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:292)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException:
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:286)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:259)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
>
2007/02/02 12:35:08 org.apache.shale.dialog.basic.BasicLifecycleListener contextDestroyed
INFO: Finalizing Dialog Basic Implementation
<2007/02/02 12:35:08 PM> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating
distribute task for application 'shale-usecases [LibSpecVersion=1.0.4,LibImplVersion=1.0.4]'.>
<2007/02/02 12:35:08 PM> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:292)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException:
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:286)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:259)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
>
<2007/02/02 12:35:08 PM> <Error> <Console> <BEA-240003> <Console encountered the following error
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:292)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: java.lang.ClassNotFoundException:
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:286)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:259)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:158)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:35)
at weblogic.servlet.internal.EventsManager.registerEventListener(EventsManager.java:272)
at weblogic.servlet.internal.WebAppHelper.parseAndRegisterListeners(WebAppHelper.java:238)
at weblogic.servlet.internal.WebAppHelper.registerTagLibListeners(WebAppHelper.java:175)
at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:254)
at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1591)
at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1036)
at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:432)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:407)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:549)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:284)
>
Metropolitan is an authorised Financial Services Provider.
NOTE: This e-mail (including attachments) is subject to the restrictions, qualifications and
disclaimers (the "disclaimer") published at http://www.metropolitan.co.za Please read the
disclaimer before opening any attachments or taking any other action in terms of this e-mail.
If you cannot access the disclaimer, kindly send an e-mail to requestdisclaimer <at> metropolitan.co.za or
contact tmalebana <at> metropolitan.co.za and a copy will be sent to you.
By reading this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.
Web: http://www.metropolitan.co.za/
Disclaimer: http://www.metropolitan.co.za/email_disclaimer.html
Metropolitan Life subscribes to KPMG, a completely independent crime disclosure service - make a
contribution to the establishment of a fraud free environment by reporting any suspicion to the KPMG Hotline
* RSA 0800 22 14 18
* NAMIBIA 0800 00 00 77
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that DnB NOR cannot
accept any payment orders or other legally binding correspondence with
customers as a part of an email.
This email message has been virus checked by the anti virus programs used
in the DnB NOR Group.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Metropolitan is an authorised Financial Services Provider.
NOTE: This e-mail (including attachments) is subject to the restrictions, qualifications and
disclaimers (the "disclaimer") published at http://www.metropolitan.co.za Please read the
disclaimer before opening any attachments or taking any other action in terms of this e-mail.
If you cannot access the disclaimer, kindly send an e-mail to requestdisclaimer <at> metropolitan.co.za or
contact tmalebana <at> metropolitan.co.za and a copy will be sent to you.
By reading this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.
Web: http://www.metropolitan.co.za/
Disclaimer: http://www.metropolitan.co.za/email_disclaimer.html
Metropolitan Life subscribes to KPMG, a completely independent crime disclosure service - make a
contribution to the establishment of a fraud free environment by reporting any suspicion to the KPMG Hotline
* RSA 0800 22 14 18
* NAMIBIA 0800 00 00 77