|
From: Adrian P. <ad...@bt...> - 2006-04-24 10:56:22
|
Good Day tecsee,
I haven't managed to deploy OBE on JBoss 4.0.3 successfully as yet, if I =
recall correctly the JBoss 4.0.3 installer did not produce a usable app =
server installation under Linux (the primary OBE development platform is =
JBoss on Fedora Core Linux). The problem you're seeing is lamentably =
common, and it is caused by the fact that the javax.xml.namespace.QName =
class is contained in multiple jar files which tend to get loaded in =
different orders by different ClassLoaders. This results in multiple =
copies of different versions of the class being loaded, which of course =
are incompatible with one another. Whenever I've seen a problem like =
this I've had to identify the jar containing the offending version and =
either remove it or change the JAR order in manifest Class-Path entries.
Are you running under JDK 1.5? You might want to try JDK 1.4 because JRE =
1.5 lib/rt.jar contains the jx.x.ns.QName class as well, but the JBoss =
UnifiedClassLoader3, when EAR-scoped (as OBE's is, to avoid crosstalk =
with other deployed applications), may be finding a different version =
in a JAR or EAR because it does not follow the normal =
parent-classloader-first delegation pattern.
Thanks,
Adrian Price
Architect & Lead
The Open Business Engine
mailto:adr...@us...
"tenax propositi, altiora peto"
-----Original Message-----
From: obe...@li... =
[mailto:obe...@li...] On Behalf Of tecsee
Sent: Wednesday, April 19, 2006 5:53 AM
To: obe-developer
Subject: [Obe-developer] Startas java.lang.LinkageError
Hello,
I am seeing some exceptions being thrown during obe startas .=20
The following is a portion of the log file during startup.=20
I did not include all of the exceptions since there are so many of them.
----------------------------
11:10:00,593 INFO [EJBDeployer] Deployed: =
file:/D:/application/jboss4.0.3/serve
r/default/tmp/deploy/tmp41097obeserver.ear-contents/obeserver-ejb.jar
11:10:00,718 INFO [TomcatDeployer] deploy, ctxPath=3D/obeexamples, =
warUrl=3D.../tmp =
/deploy/tmp41097obeserver.ear-contents/obeexamples-exp.war/
11:10:01,578 ERROR [[/obeexamples]] StandardWrapper.Throwable
java.lang.LinkageError: loader constraints violated when linking =
javax/xml/names pace/QName class
at org.wfmc.sample.CreditInfo.<clinit>(CreditInfo.java:109)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:217)
at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at =
org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
at =
org.apache.axis.deployment.wsdd.WSDDTypeMapping.getLanguageSpecificTy
pe(WSDDTypeMapping.java:183)
at =
org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDSer
vice.java:542)
----------------------------
How to resolve this question?
Anyone could help me?
Thanks in advance.
=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=
=80=80=E3=80=802006-04-18
N=18=E7=90=80S^=E7=94=B8=E6=AE=9CX=EE=83=8D?=E7=9F=88=E8=BE=B5=E6=80=A5<=E7=
=BA=B6=E5=81=A4.=E6=BE=B2=E9=9B=A3??=1C?m=E5=A6=9C%jx.j =
=E7=93=8D=E7=8E=98=E8=B0=B1=EE=9C=BC=E8=AD=AC=EE=9A=BE=E6=B8=8F=E4=BA=98=E7=
=82=84=D0=A4?m=E2=94=B9=E6=AE=95=E9=88=BA=E9=97=89v&=E2=82=AC=E8=B9=B2=EE=
=9C=BC=E8=B1=9D?=E8=98=96=E5=AD=B3j=E8=96=A2=E6=BE=B5=E9=91=BA{az=E6=B0=A3=
=E6=AC=91^=E4=BB=8Bh=E3=83=AA=E5=96=88=E5=AB=A8n=E7=AA=94?=E9=84=AA{h?=E7=
=91=B5?=E2=88=9D=EE=9D=87=E6=92=B0?h?m=E7=A8=9B=EF=A3=B5=E9=81=8DZ=E6=90=BD=
=1FjY=1A=E5=80=83=EE=85=B7=E9=92=8Erg=E6=9D=AB=E5=A3=B8?
|