activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMQ-2903) JBoss5.1 embedding - missing dependencies
Date Sat, 02 Nov 2013 20:59:17 GMT

     [ https://issues.apache.org/jira/browse/AMQ-2903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen resolved AMQ-2903.
------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 5.x)
                   5.9.0

The JCA RAR has been improved a lot in 5.9 and test on JBoss AS etc.

> JBoss5.1 embedding - missing dependencies
> -----------------------------------------
>
>                 Key: AMQ-2903
>                 URL: https://issues.apache.org/jira/browse/AMQ-2903
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.3.2
>            Reporter: Colombo Marco
>            Priority: Minor
>             Fix For: 5.9.0
>
>
> The default embedding rar deployment into JBoss AS version 5.1 doesn't start, throwing
the following exception:
> {code}
> Caused by: java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
>         at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:63)
>         at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:572)
>         at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:532)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:530)
>         at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:507)
>         at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:134)
>         at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:131)
>         at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:452)
>         at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:251)
>         at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:150)
>         at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:265)
>         at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1119)
>         at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:798)
>         at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:441)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>         at org.jboss.deployment.OptAnnotationMetaDataDeployer.processJBossClientMetaData(OptAnnotationMetaDataDeployer.java:115)
>         at org.jboss.deployment.OptAnnotationMetaDataDeployer.processMetaData(OptAnnotationMetaDataDeployer.java:82)
>         at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:177)
>         at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:93)
>         at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
>         ... 30 more
> Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.AntMain
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:247)
>         at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:292)
>         at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1119)
>         at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:798)
>         at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:441)
> {code}
> The issue can be avoided adding: ant-launcher.jar and ant.jar into rar deployer (I've
tested version 1.7.1). 



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message