- This topic has 3 replies, 3 voices, and was last updated 18 years, 3 months ago by Riyad Kalla.
-
AuthorPosts
-
Don NelsonMemberSystem config: Windows XP SP2
Eclipse 3.1
MyEclipse 4.0
jdk 1.4.2_08
WebLogic 8.1 sp5
Manifest classpath for EAR project: Manifest-Version: 1.0
Class-Path: lib/antlr-2.7.5H3.jar;lib/asm-attrs.jar;lib/beanutils/commons-beanutils.jar;lib/beanutils/commons-beanutils-bean-collections.jar;lib/beanutils/commons-beanutils-core.jar;lib/c3p0-0.8.5.2.jar;lib/cglib-2.1.jar;lib/cleanimports.jar;lib/collections/commons-collections-3.1.jar;lib/concurrent-1.3.2.jar;lib/connector.jar;lib/dom4j-1.6.jar;lib/ehcache-1.1.jar;lib/hibernate3.jar;lib/jaas.jar;lib/jacc-1_0-fr.jar;lib/jaxen-1.1-beta-4.jar;lib/jdbc2_0-stdext.jar;lib/jgroups-2.2.7.jar;lib/jta.jar;lib/lang/commons-lang-2.1.jar;lib/log4j-1.2.12.jar;lib/mysql-connector-java-3.0.14-production-bin.jar;lib/oscache-2.1.jar;lib/proxool-0.8.3.jar;lib/swarmcache-1.0rc2.jar;lib/xerces-2.6.2.jar;lib/xjavadoc-1.1.jar;lib/xml-apis.jarThe same classpath is set for WebLogic classpath in Window-Preferences-MyEclipse-Application Servers-WebLogic 8-Paths-prepend to classpath
——————————
I am trying to deploy a J2EE app to WebLogic, and am getting the following errors…..<Oct 9, 2005 3:07:12 PM EDT> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: jav
a.lang.NoClassDefFoundError.>
<Oct 9, 2005 3:07:13 PM EDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating Deploy task for application
_appsdir_EosEAR_ear.>
<Oct 9, 2005 3:07:13 PM EDT> <Error> <Deployer> <BEA-149201> <Failed to complete the deployment task with ID 2 for the application _
appsdir_EosEAR_ear.
weblogic.management.DeploymentException:
Exception:weblogic.management.ApplicationException: start() failed.
Module: EosWeb Error: weblogic.management.DeploymentException: org/apache/log4j/Logger – with nested exception:
[java.lang.NoClassDefFoundError: org/apache/log4j/Logger]at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2440)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2155)
at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2254)
at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2149)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2401)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:883)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:591)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)This application deploys fine to JBoss without all the fuss with app server class path.
What am I doing wrong???
TIA
Don
Riyad KallaMemberDon,
I would suggest going to your Paths preferences for WL and clearing them all out. By default the connectors will pickup and use all the default libraries for each app server and doesn’t require you to enter them manually.Then I would debug the NoClassDefFoundErrors one at a time, starting with the Log4J reference and go from there. Adding thme to the classpath if necessary.
vagner_ssMemberThis message has not been recovered.
Riyad KallaMemberThis message has not been recovered.
-
AuthorPosts