You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Scott Merrick <sc...@digilore.com> on 2006/09/11 18:58:38 UTC

Jetspeed 2.1 seems to break under JBoss

Hello,

First I have successfully built and run Jetspeed 2.0 for JBoss  4.0.4GA 
(using the steps detailed on
http://wiki.apache.org/portals/Jetspeed2/JBossHowToDetailed)  however
when I try the same procedure for Jetpeed 2.1 it seems to break several
of the supplied demonstration apps.

Looking at the JBoss loggs I see a series of Log4j errors for each
application deployed in Jetspeed.
This seems to prevent the applications from loading properly.

I am only using the jetspeed-layouts.war, j2-admin, and demo.war

Is there something different I need to do?

Looking for differences between Jetspeed 2.0 and 2.1 I see they use
different versions of xml-apis (2.0.2 vs 1.0.b2) but I dont see how this
would affecting the log4j errors.

Scott Merrick


JBoss Log snipets:
.
.
.
11:13:49,718 INFO  [TomcatDeployer] deploy, ctxPath=/demo,
warUrl=.../tmp/deploy/tmp40690demo-exp.war/
11:13:49,953 ERROR [[/demo]] Exception sending context initialized event
to listener instance of class
org.apache.jetspeed.webapp.logging.Log4JConfigurator
java.lang.LinkageError: loader constraints violated when linking
org/apache/log4j/Logger class
        at
org.apache.jetspeed.webapp.logging.IsolatedLog4JLogger.setHierarchy(IsolatedLog4JLogger.java:123)
        at
org.apache.jetspeed.webapp.logging.Log4JConfigurator.contextInitialized(Log4JConfigurator.java:75)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
.
.
.
        at org.jboss.Main.boot(Main.java:200)
        at org.jboss.Main$1.run(Main.java:464)
        at java.lang.Thread.run(Thread.java:595)
11:13:49,953 ERROR [StandardContext] Error listenerStart
11:13:49,953 ERROR [StandardContext] Context [/demo] startup failed due
to previous errors
11:13:49,984 WARN  [ServiceController] Problem starting service
jboss.web.deployment:war=demo.war,id=1121473270
org.jboss.deployment.DeploymentException: URL
file:/C:/Development/SafeCopy/jboss-4.0.4.GA/jboss-4.0.4.GA/server/default/tmp/deploy/tmp40690demo-exp.war/
deployment failed
        at
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:365)
        at
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
        at
org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
        at org.jboss.web.WebModule.startModule(WebModule.java:83)
.
.
.
        at org.jboss.Main$1.run(Main.java:464)
        at java.lang.Thread.run(Thread.java:595)
11:13:50,000 ERROR [MainDeployer] Could not start deployment:
file:/C:/Development/SafeCopy/jboss-4.0.4.GA/jboss-4.0.4.GA/server/default/deploy/demo.war
org.jboss.deployment.DeploymentException: URL
file:/C:/Development/SafeCopy/jboss-4.0.4.GA/jboss-4.0.4.GA/server/default/tmp/deploy/tmp40690demo-exp.war/
deployment failed
        at
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:365)
        at
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
        at
org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
.
.
.
11:14:09,265 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@42d852f6 {
url=file:/C:/Development/SafeCopy/jboss-4.0.4.GA/jboss-4.0.4.GA/server/default/deploy/demo.war
}
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Deployment FAILED reason: URL
file:/C:/Development/SafeCopy/jboss-4.0.4.GA/jboss-4.0.4.GA/server/default/tmp/deploy/tmp40690demo-exp.war/
deployment failed
  state: FAILED
  watch:
file:/C:/Development/SafeCopy/jboss-4.0.4.GA/jboss-4.0.4.GA/server/default/deploy/demo.war
  altDD: null
  lastDeployed: 1157987629656
  lastModified: 1157987629562
  mbeans:

org.jboss.deployment.DeploymentInfo@10ad48dd {
url=file:/C:/Development/SafeCopy/jboss-4.0.4.GA/jboss-4.0.4.GA/server/default/deploy/j2-admin.war
}
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Deployment FAILED reason: URL
file:/C:/Development/SafeCopy/jboss-4.0.4.GA/jboss-4.0.4.GA/server/default/tmp/deploy/tmp40691j2-admin-exp.war/
deployment failed
  state: FAILED
  watch:
file:/C:/Development/SafeCopy/jboss-4.0.4.GA/jboss-4.0.4.GA/server/default/deploy/j2-admin.war
  altDD: null
  lastDeployed: 1157987637484
  lastModified: 1157987637421
  mbeans:

--- MBeans waiting for other MBeans ---
ObjectName: jboss.web.deployment:war=demo.war,id=1121473270
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: URL
file:/C:/Development/SafeCopy/jboss-4.0.4.GA/jboss-4.0.4.GA/server/default/tmp/deploy/tmp40690demo-exp.war/
deployment failed

ObjectName: jboss.web.deployment:war=j2-admin.war,id=279791837
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: URL
file:/C:/Development/SafeCopy/jboss-4.0.4.GA/jboss-4.0.4.GA/server/default/tmp/deploy/tmp40691j2-admin-exp.war/
deployment failed

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.web.deployment:war=demo.war,id=1121473270
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: URL
file:/C:/Development/SafeCopy/jboss-4.0.4.GA/jboss-4.0.4.GA/server/default/tmp/deploy/tmp40690demo-exp.war/
deployment failed

ObjectName: jboss.web.deployment:war=j2-admin.war,id=279791837
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: URL
file:/C:/Development/SafeCopy/jboss-4.0.4.GA/jboss-4.0.4.GA/server/default/tmp/deploy/tmp40691j2-admin-exp.war/
deployment failed


11:14:09,546 INFO  [Http11BaseProtocol] Starting Coyote HTTP/1.1 on
http-0.0.0.0-8080
11:14:09,609 INFO  [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
11:14:09,625 INFO  [JkMain] Jk running ID=0 time=0/32  config=null
11:14:09,625 INFO  [Server] JBoss (MX MicroKernel) [4.0.4.GA (build:
CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 33s:16ms
11:14:18,734 INFO  [STDOUT]  WARN: Unrecognized file
C:\Development\SafeCopy\jboss-4.0.4.GA\jboss-4.0.4.GA\server\default\.\deploy\jetspeed.war\WEB-INF\deploy\README.txt


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org