Mobicents 2.4.0.FINAL: File deployer fails to load RA DU

32 lượt xem
Chuyển tới thư đầu tiên chưa đọc

prolancer

chưa đọc,
02:02:52 22 thg 6, 201122/6/11
đến mobicents-public
Hi,

I have a custom RA which uses a bunch of 3rd-party jars which we
bundle in a library jar.

When I deploy the RA using the JMX console all works fine (note that
this RA deploys Ok on the Rhino (openCloud) server). I can install the
DU jar, then create an entity, change configuration, bind a link and
activate. All is good.

However, when I try and deply by placing the DU jar in the deploy
directory, the server fails to delpy the DU due to a
ClassNotFoundException for one of the calsses which is in one of the
3rd party jars.

The "missing" class is org.hsqldb.util.SqlTool and it exists in the
hsqldb-1.8.0_10.jar file which we put in the library jar for the DU.

Your help on this will be greately appreciated.

Here is an extract from the library-jar.xml (I removed the blocks for
other 3rd-party jars):

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE library-jar PUBLIC "-//Sun Microsystems, Inc.//DTD JAIN SLEE
Library 1.1//EN" "http://java.sun.com/dtd/slee-library-jar_1_1.dtd">
<library-jar>

<library>
<library-name>hspChargingClient</library-name>
<library-vendor>au.com.prolancer</library-vendor>
<library-version>1.0</library-version>

:
<jar>
<jar-name>hsqldb-1.8.0_10.jar</jar-name>
<security-permissions>
<security-permission-spec>
grant {
permission java.security.AllPermission;
};
</security-permission-spec>
</security-permissions>
</jar>
:

</library>
</library-jar>

The deployable-unit.xml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE deployable-unit PUBLIC "-//Sun Microsystems, Inc.//DTD JAIN
SLEE Deployable Unit 1.1//EN" "http://java.sun.com/dtd/slee-deployable-
unit_1_1.dtd">
<deployable-unit>
<jar>hsp-charging-library.jar</jar>
<jar>hsp-charging-event.jar</jar>
<jar>hsp-charging-ratype.jar</jar>
<jar>hsp-charging-ra.jar</jar>
</deployable-unit>

The hsp-charging-library.jar is the library jar file which we create.
It contains the hsqldb-1.8.0_10.jar file.

Here is the log when I use the JMX console to deploy the RA DU:

- o -

15:11:19,020 INFO [DeploymentMBeanImpl] Installing
DeployableUnitID[url=file:///local/workspace/prolancer/hsp/components/
active-media-collector/build/hsp-charging-ra-DU.jar]
15:11:19,160 INFO [DeploymentMBeanImpl] Installed
LibraryID[name=hspChargingClient,vendor=au.com.prolancer,version=1.0]
15:11:19,161 INFO [DeploymentMBeanImpl] Installed
EventTypeID[name=au.com.prolancer.hsp.slee.charging.event.CHARGING,vendor=au.com.prolancer,version=1.0]
15:11:19,161 INFO [DeploymentMBeanImpl] Installed
EventTypeID[name=au.com.prolancer.hsp.slee.charging.event.START_CHARGING_TXN,vendor=au.com.prolancer,version=1.0]
15:11:19,161 INFO [DeploymentMBeanImpl] Installed
EventTypeID[name=au.com.prolancer.hsp.slee.charging.event.END_CHARGING_TXN,vendor=au.com.prolancer,version=1.0]
15:11:19,167 INFO [DeploymentMBeanImpl] Installed
ResourceAdaptorTypeID[name=hspChargingRAType,vendor=au.com.prolancer,version=1.0]
15:11:19,167 INFO [DeploymentMBeanImpl] Installed
ResourceAdaptorID[name=hspChargingRA,vendor=au.com.prolancer,version=1.0]
15:11:19,167 INFO [DeploymentMBeanImpl] Installed
DeployableUnitID[url=file:///local/workspace/prolancer/hsp/components/
active-media-collector/build/hsp-charging-ra-DU.jar]

- o -

Here is the log when I drop the DU jar file in the deploy directory:

- o -
15:02:06,605 ERROR [AbstractKernelController] Error installing to
PostClassLoade
r: name=vfszip:/usr/mobicents/mobicents-jainslee-2.4.0.FINAL/
jboss-5.1.0.GA/serv
er/hsptas/deploy/hsp-charging-ra-DU.jar/ state=ClassLoader mode=Manual
requiredS
tate=PostClassLoader
org.jboss.deployers.spi.DeploymentException: Cannot process metadata
at
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentExcept
ion(DeploymentException.java:49)
at
org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMeta
DataDeployer.java:181)
at
org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMeta
DataDeployer.java:93)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
Wrapper.java:171)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(Deployer
sImpl.java:1439)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1157)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1210)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1210)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
Impl.java:1098)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:348)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1631)
at
org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:1082)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:553)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
Impl.java:781)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
rImpl.java:702)
at
org.jboss.system.server.profileservice.repository.MainDeployerAdapter
.process(MainDeployerAdapter.java:117)
at
org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDSca
nner.java:362)
at
org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScan
ner.java:255)
at java.util.concurrent.Ex at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor
$ScheduledFutureTask.
runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor
$ScheduledFutureTask.
run(ScheduledThreadPoolExecutor.java:204)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: org.hsqldb.util.SqlTool
from BaseCl
assLoader@7f242983{VFSClassLoaderPolicy@1f2198ab{name=vfszip:/usr/
mobicents/mobi
cents-jainslee-2.4.0.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/hsp-
charging-ra-D
U.jar/ domain=ClassLoaderDomain@449fea8a{name=DefaultDomain
parentPolicy=BEFORE
parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@fe51060}
roots=[MemoryCont
extHandler@1454248580[path= context=vfsmemory://5c4o3c1k-onh4t2-
gp7tf7xp-1-gp7tg
ikd-as real=vfsmemory://5c4o3c1k-onh4t2-gp7tf7xp-1-gp7tgikd-as],
DelegatingHandl
er@1044497553[path=hsp-charging-ra-DU.jar context=file:/usr/mobicents/
mobicents-
jainslee-2.4.0.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/ real=file:/
usr/mobicen
ts/mobicents-jainslee-2.4.0.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/
hsp-chargi
ng-ra-DU.jar], DelegatingHandler@1339042693[path=hsp-charging-ra-
DU.jar/hsp-char
ging-event.jar context=file:/usr/mobicents/mobicents-
jainslee-2.4.0.FINAL/jboss-
5.1.0.GA/server/hsptas/deploy/ real=file:/usr/mobicents/mobicents-
jainslee-2.4.0
.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/hsp-charging-ra-DU.jar/hsp-
charging-e
vent.jar], DelegatingHandler@1809404338[path=hsp-charging-ra-DU.jar/
hsp-charging
-library.jar context=file:/usr/mobicents/mobicents-
jainslee-2.4.0.FINAL/jboss-5.
1.0.GA/server/hsptas/deploy/ real=file:/usr/mobicents/mobicents-
jainslee-2.4.0.F
INAL/jboss-5.1.0.GA/server/hsptas/deploy/hsp-charging-ra-DU.jar/hsp-
charging-lib
rary.jar], DelegatingHandler@142783599[path=hsp-charging-ra-DU.jar/hsp-
charging-
library.jar/commons-codec-1.3.jar context=file:/usr/mobicents/
mobicents-jainslee
-2.4.0.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/ real=file:/usr/
mobicents/mobic
ents-jainslee-2.4.0.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/hsp-
charging-ra-DU
.jar/hsp-charging-library.jar/commons-codec-1.3.jar],
DelegatingHandler@10247146
94[path=hsp-charging-ra-DU.jar/hsp-charging-library.jar/commons-
httpclient-3.1.j
ar context=file:/usr/mobicents/mobicents-jainslee-2.4.0.FINAL/
jboss-5.1.0.GA/ser
ver/hsptas/deploy/ real=file:/usr/mobicents/mobicents-
jainslee-2.4.0.FINAL/jboss
-5.1.0.GA/server/hsptas/deploy/hsp-charging-ra-DU.jar/hsp-charging-
library.jar/c
ommons-httpclient-3.1.jar], DelegatingHandler@1708496765[path=hsp-
charging-ra-DU
.jar/hsp-charging-library.jar/commons-logging-1.1.1.jar context=file:/
usr/mobice
nts/mobicents-jainslee-2.4.0.FINAL/jboss-5.1.0.GA/server/hsptas/
deploy/ real=fil
e:/usr/mobicents/mobicents-jainslee-2.4.0.FINAL/jboss-5.1.0.GA/server/
hsptas/dep
loy/hsp-charging-ra-DU.jar/hsp-charging-library.jar/commons-
logging-1.1.1.jar],
DelegatingHandler@701285318[path=hsp-charging-ra-DU.jar/hsp-charging-
library.jar
/hspChargingClient.jar context=file:/usr/mobicents/mobicents-
jainslee-2.4.0.FINA
L/jboss-5.1.0.GA/server/hsptas/deploy/ real=file:/usr/mobicents/
mobicents-jainsl
ee-2.4.0.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/hsp-charging-ra-
DU.jar/hsp-ch
arging-library.jar/hspChargingClient.jar],
DelegatingHandler@1112084890[path=hsp
-charging-ra-DU.jar/hsp-charging-library.jar/hsqldb-1.8.0_10.jar
context=file:/u
sr/mobicents/mobicents-jainslee-2.4.0.FINAL/jboss-5.1.0.GA/server/
hsptas/deploy/
real=file:/usr/mobicents/mobicents-jainslee-2.4.0.FINAL/
jboss-5.1.0.GA/server/h
sptas/deploy/hsp-charging-ra-DU.jar/hsp-charging-library.jar/
hsqldb-1.8.0_10.jar
], DelegatingHandler@1260566389[path=hsp-charging-ra-DU.jar/hsp-
charging-library
.jar/log4j-1.2.15.jar context=file:/usr/mobicents/mobicents-
jainslee-2.4.0.FINAL
/jboss-5.1.0.GA/server/hsptas/deploy/ real=file:/usr/mobicents/
mobicents-jainsle
e-2.4.0.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/hsp-charging-ra-
DU.jar/hsp-cha
rging-library.jar/log4j-1.2.15.jar],
DelegatingHandler@1413122268[path=hsp-charg
ing-ra-DU.jar/hsp-charging-ra.jar context=file:/usr/mobicents/
mobicents-jainslee
-2.4.0.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/ real=file:/usr/
mobicents/mobic
ents-jainslee-2.4.0.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/hsp-
charging-ra-DUecutors$RunnableAdapter.call(Executors.java:44
1)
at java.util.concurrent.FutureTask
$Sync.innerRunAndReset(FutureTask.java
:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:
150)
.jar/hsp-charging-ra.jar], DelegatingHandler@1324306103[path=hsp-
charging-ra-DU.
jar/hsp-charging-ratype.jar context=file:/usr/mobicents/mobicents-
jainslee-2.4.0
.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/ real=file:/usr/mobicents/
mobicents-j
ainslee-2.4.0.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/hsp-charging-
ra-DU.jar/h
sp-charging-ratype.jar]] delegates=null exported=[]}}
at
org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoa
der.java:448)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at
org.jboss.deployment.OptAnnotationMetaDataDeployer.processJBossClient
MetaData(OptAnnotationMetaDataDeployer.java:115)
at
org.jboss.deployment.OptAnnotationMetaDataDeployer.processMetaData(Op
tAnnotationMetaDataDeployer.java:82)
at
org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMeta
DataDeployer.java:177)
... 28 more
15:02:06,618 WARN [HDScanner] Failed to process changes
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary
of incompl
ete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

*** DEPLOYMENTS IN ERROR: Name -> Error

vfszip:/usr/mobicents/mobicents-jainslee-2.4.0.FINAL/jboss-5.1.0.GA/
server/hspta
s/deploy/hsp-charging-ra-DU.jar/ ->
org.jboss.deployers.spi.DeploymentException:
Cannot process metadata


DEPLOYMENTS IN ERROR:
Deployment "vfszip:/usr/mobicents/mobicents-jainslee-2.4.0.FINAL/
jboss-5.1.0.G
A/server/hsptas/deploy/hsp-charging-ra-DU.jar/" is in error due to the
following
reason(s): java.lang.ClassNotFoundException: org.hsqldb.util.SqlTool
from BaseC
lassLoader@7f242983{VFSClassLoaderPolicy@1f2198ab{name=vfszip:/usr/
mobicents/mob
icents-jainslee-2.4.0.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/hsp-
charging-ra-
DU.jar/ domain=ClassLoaderDomain@449fea8a{name=DefaultDomain
parentPolicy=BEFORE
parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@fe51060}
roots=[MemoryCon
textHandler@1454248580[path= context=vfsmemory://5c4o3c1k-onh4t2-
gp7tf7xp-1-gp7t
gikd-as real=vfsmemory://5c4o3c1k-onh4t2-gp7tf7xp-1-gp7tgikd-as],
DelegatingHand
ler@1044497553[path=hsp-charging-ra-DU.jar context=file:/usr/mobicents/
mobicents
-jainslee-2.4.0.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/ real=file:/
usr/mobice
nts/mobicents-jainslee-2.4.0.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/
hsp-charg
ing-ra-DU.jar], DelegatingHandler@1339042693[path=hsp-charging-ra-
DU.jar/hsp-cha
rging-event.jar context=file:/usr/mobicents/mobicents-
jainslee-2.4.0.FINAL/jboss
-5.1.0.GA/server/hsptas/deploy/ real=file:/usr/mobicents/mobicents-
jainslee-2.4.
0.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/hsp-charging-ra-DU.jar/hsp-
charging-
event.jar], DelegatingHandler@1809404338[path=hsp-charging-ra-DU.jar/
hsp-chargin
g-library.jar context=file:/usr/mobicents/mobicents-
jainslee-2.4.0.FINAL/jboss-5
.1.0.GA/server/hsptas/deploy/ real=file:/usr/mobicents/mobicents-
jainslee-2.4.0.
FINAL/jboss-5.1.0.GA/server/hsptas/deploy/hsp-charging-ra-DU.jar/hsp-
charging-li
brary.jar], DelegatingHandler@142783599[path=hsp-charging-ra-DU.jar/
hsp-charging
-library.jar/commons-codec-1.3.jar context=file:/usr/mobicents/
mobicents-jainsle
e-2.4.0.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/ real=file:/usr/
mobicents/mobi
cents-jainslee-2.4.0.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/hsp-
charging-ra-D
U.jar/hsp-charging-library.jar/commons-codec-1.3.jar],
DelegatingHandler@1024714
694[path=hsp-charging-ra-DU.jar/hsp-charging-library.jar/commons-
httpclient-3.1.
jar context=file:/usr/mobicents/mobicents-jainslee-2.4.0.FINAL/
jboss-5.1.0.GA/se
rver/hsptas/deploy/ real=file:/usr/mobicents/mobicents-
jainslee-2.4.0.FINAL/jbos
s-5.1.0.GA/server/hsptas/deploy/hsp-charging-ra-DU.jar/hsp-charging-
library.jar/
commons-httpclient-3.1.jar], DelegatingHandler@1708496765[path=hsp-
charging-ra-D
U.jar/hsp-charging-library.jar/commons-logging-1.1.1.jar context=file:/
usr/mobic
ents/mobicents-jainslee-2.4.0.FINAL/jboss-5.1.0.GA/server/hsptas/
deploy/ real=fi
le:/usr/mobicents/mobicents-jainslee-2.4.0.FINAL/jboss-5.1.0.GA/server/
hsptas/de
ploy/hsp-charging-ra-DU.jar/hsp-charging-library.jar/commons-
logging-1.1.1.jar],
DelegatingHandler@701285318[path=hsp-charging-ra-DU.jar/hsp-charging-
library.ja
r/hspChargingClient.jar context=file:/usr/mobicents/mobicents-
jainslee-2.4.0.FIN
AL/jboss-5.1.0.GA/server/hsptas/deploy/ real=file:/usr/mobicents/
mobicents-jains
lee-2.4.0.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/hsp-charging-ra-
DU.jar/hsp-c
harging-library.jar/hspChargingClient.jar],
DelegatingHandler@1112084890[path=hs
p-charging-ra-DU.jar/hsp-charging-library.jar/hsqldb-1.8.0_10.jar
context=file:/
usr/mobicents/mobicents-jainslee-2.4.0.FINAL/jboss-5.1.0.GA/server/
hsptas/deploy
/ real=file:/usr/mobicents/mobicents-jainslee-2.4.0.FINAL/
jboss-5.1.0.GA/server/
hsptas/deploy/hsp-charging-ra-DU.jar/hsp-charging-library.jar/
hsqldb-1.8.0_10.ja
r], DelegatingHandler@1260566389[path=hsp-charging-ra-DU.jar/hsp-
charging-librar
y.jar/log4j-1.2.15.jar context=file:/usr/mobicents/mobicents-
jainslee-2.4.0.FINA
L/jboss-5.1.0.GA/server/hsptas/deploy/ real=file:/usr/mobicents/
mobicents-jainsl
ee-2.4.0.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/hsp-charging-ra-
DU.jar/hsp-ch
arging-library.jar/log4j-1.2.15.jar],
DelegatingHandler@1413122268[path=hsp-char
ging-ra-DU.jar/hsp-charging-ra.jar context=file:/usr/mobicents/
mobicents-jainsle
e-2.4.0.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/ real=file:/usr/
mobicents/mobi
cents-jainslee-2.4.0.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/hsp-
charging-ra-D
U.jar/hsp-charging-ra.jar], DelegatingHandler@1324306103[path=hsp-
charging-ra-DU
.jar/hsp-charging-ratype.jar context=file:/usr/mobicents/mobicents-
jainslee-2.4.
0.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/ real=file:/usr/mobicents/
mobicents-
jainslee-2.4.0.FINAL/jboss-5.1.0.GA/server/hsptas/deploy/hsp-charging-
ra-DU.jar/

at
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:
993)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:
939)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:
873)
at
org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:
128)
at
org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:
369)
at
org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:
255)
at java.util.concurrent.Executors
$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask
$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:
150)
at java.util.concurrent.ScheduledThreadPoolExecutor
$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor
$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor
$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
- o -

Thank you
Emil

prolancer

chưa đọc,
21:18:59 22 thg 6, 201122/6/11
đến mobicents-public
Same issue in Mobicents 2.4.1.FINAL.

Emil

Eduardo Martins

chưa đọc,
19:15:21 23 thg 6, 201123/6/11
đến mobicent...@googlegroups.com
You are bundling HSQL in the library, this jar already exists,
probably with a different version, in JBoss AS5 shared libs. Now SLEE
has its own classloaders, which hierarchy defines the JBoss AS5 shared
classloader as the ultimate parent. Following standard classloading
relations SLEE tries to load first classes from parent, so in your
case HSQL will be loaded from JBoss AS5 instead of your library.

You have two options, replace the JBoss AS5 HSQL jar in
$JBOSS_HOME/common/lib with your own version and hope this doesn't
break anything, or use in Mobicents don't bundle the HSQL library, or
bundle a library with same version as JBoss AS5.

-- Eduardo
..............................................
http://emmartins.blogspot.com
http://redhat.com/solutions/telco

Eduardo Martins

chưa đọc,
19:16:09 23 thg 6, 201123/6/11
đến mobicent...@googlegroups.com

Hunaid Lotia

chưa đọc,
19:20:53 23 thg 6, 201123/6/11
đến mobicent...@googlegroups.com



From: Eduardo Martins <emma...@gmail.com>
To: mobicent...@googlegroups.com
Sent: Thu, June 23, 2011 4:16:09 PM
Subject: Re: [mobicents-public] Re: Mobicents 2.4.0.FINAL: File deployer fails to load RA DU

prolancer

chưa đọc,
03:24:06 25 thg 6, 201125/6/11
đến mobicents-public
Thank you Eduardo.

You are correct. JBoss AS already has the HSQL jar in the common lib.
Removing the jar from the library JAR (thus the DU) resolves the
problem.

Emil


On Jun 24, 9:15 am, Eduardo Martins <emmart...@gmail.com> wrote:
> You are bundling HSQL in the library, this jar already exists,
> probably with a different version, in JBoss AS5 shared libs. Now SLEE
> has its own classloaders, which hierarchy defines the JBoss AS5 shared
> classloader as the ultimate parent. Following standard classloading
> relations SLEE tries to load first classes from parent, so in your
> case HSQL will be loaded from JBoss AS5 instead of your library.
>
> You have two options, replace the JBoss AS5 HSQL jar in
> $JBOSS_HOME/common/lib with your own version and hope this doesn't
> break anything, or use in Mobicents don't bundle the HSQL library, or
> bundle a library with same version as JBoss AS5.
>
> -- Eduardo
> ..............................................http://emmartins.blogspot.comhttp://redhat.com/solutions/telco
Trả lời tất cả
Trả lời tác giả
Chuyển tiếp
0 tin nhắn mới