Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81038 - [METABUG] tracker for jboss
Summary: [METABUG] tracker for jboss
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-06 16:06 UTC by Jan Brinkmann (RETIRED)
Modified: 2005-02-06 16:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Brinkmann (RETIRED) gentoo-dev 2005-02-06 16:06:40 UTC
this bugs purpose is it to serve as a tracker for issues related to jboss
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2005-02-06 16:08:17 UTC
bug #79276

 update jboss to 4.0.1
Comment 2 Jan Brinkmann (RETIRED) gentoo-dev 2005-02-06 16:09:37 UTC
#59079 - JBoss runtime variables don't reflect gentoo path

By default, JBoss assumes that the location of all servers is ${JBOSS_HOME}/server.  When config files try to reference something inside a particular server, they do so using the ${jboss.server.home.dir} which incorrectly points to ${JBOSS_HOME}/server/<instance> instead of /var/lib/jboss/<instance>.  For example, in /deploy/jbossweb-tomcat41.sar/META-INF/jboss-service.xml you might reference a keystore file for doing SSL and HTTPS by keystoreFile="${jboss.server.home.dir}/conf/my.keystore".

My question is, should JBoss be patched to handle this, and does that affect anything else that might use that runtime variable?
Comment 3 Jan Brinkmann (RETIRED) gentoo-dev 2005-02-06 16:10:59 UTC
#63258 - www-servers/jboss uses packed jars

Following the new java policy, packages shouldn't rely on packed jars, dependencies need to be added on our own packages and used.
Comment 4 Jan Brinkmann (RETIRED) gentoo-dev 2005-02-06 16:12:35 UTC
bug #66965 - JBoss 3.2.3 can't start web service


When trying to start JBoss, the following stuff gets written to the server.log:

...
2004-10-10 13:22:55,551 INFO  [org.jboss.deployment.SARDeployer] nested deployment: file:/var/lib/jboss/default/deploy/jbossweb-tomcat41.sar/naming-common.jar
2004-10-10 13:22:55,552 INFO  [org.jboss.deployment.SARDeployer] nested deployment: file:/var/lib/jboss/default/deploy/jbossweb-tomcat41.sar/tomcat41-service.jar
2004-10-10 13:22:55,552 INFO  [org.jboss.deployment.SARDeployer] nested deployment: file:/var/lib/jboss/default/deploy/jbossweb-tomcat41.sar/commons-beanutils.jar
2004-10-10 13:22:55,552 INFO  [org.jboss.deployment.SARDeployer] nested deployment: file:/var/lib/jboss/default/deploy/jbossweb-tomcat41.sar/servlets-webdav.jar
2004-10-10 13:22:56,361 ERROR [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] Starting failed
org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@10980e7 for org.apache.commons.logging.impl.Log4JLogger
        at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:532)
        at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272)
        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:414)
        at org.apache.commons.digester.Digester.<init>(Digester.java:346)
        at org.jboss.web.tomcat.tc4.LoggedXmlMapper.<init>(LoggedXmlMapper.java:35)
        at org.jboss.web.tomcat.tc4.ConfigHandler.applyHostConfig(ConfigHandler.java:55)
        at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.initCatalina(EmbeddedTomcatService.java:430)
...
Caused by: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@10980e7 for org.apache.commons.logging.impl.Log4JLogger
        at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:432)
        at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:525)
        ... 74 more
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Logger
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
        at java.lang.Class.getConstructor0(Class.java:1930)
        at java.lang.Class.getConstructor(Class.java:1027)
        at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:429)
        ... 75 more
2004-10-10 13:22:56,370 WARN  [org.jboss.system.ServiceController] Problem starting service jboss.web:service=WebServer
org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@10980e7 for org.apache.commons.logging.impl.Log4JLogger
        at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:532)
        at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272)
        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:414)
        at org.apache.commons.digester.Digester.<init>(Digester.java:346)
        at org.jboss.web.tomcat.tc4.LoggedXmlMapper.<init>(LoggedXmlMapper.java:35)
        at org.jboss.web.tomcat.tc4.ConfigHandler.applyHostConfig(ConfigHandler.java:55)
Caused by: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@10980e7 for org.apache.commons.logging.impl.Log4JLogger
        at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:432)
        at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:525)
        ... 74 more
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Logger
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
        at java.lang.Class.getConstructor0(Class.java:1930)
        at java.lang.Class.getConstructor(Class.java:1027)
        at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:429)
        ... 75 more
2004-10-10 13:22:56,382 INFO  [org.jboss.deployment.MainDeployer] Deployed package: file:/var/lib/jboss/default/deploy/jbossweb-tomcat41.sar/
2004-10-10 13:22:56,383 INFO  [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/var/lib/jboss/default/deploy/uuid-key-generator.sar
2004-10-10 13:22:56,425 INFO  [org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactoryService] Started jboss:service=UUIDKeyGeneratorFactory



Comment 5 Jan Brinkmann (RETIRED) gentoo-dev 2005-02-06 16:29:38 UTC
invalid