Hi Marco,

Thanks for your 2 cents,

I have verified the xerces jar file, as suggested by you.
I found following version of these jar file in the jboss directory:
<jboss-dir>\lib\endorsed\xercesImpl.jar

There was not xerces jar file at below location:
<jboss-dir>\server\default\lib

I checked my application lib too. I found xercesImpl-2.8.1.jar in the
lib directory of my application.
<application-zip>\lib\xercesImpl-2.8.1.jar

Steps Performed:
===============

1. Replaced the jar file <jboss-dir>\lib\endorsed\xercesImpl.jar with
<jboss-dir>\lib\endorsed\xercesImpl-2.8.1.jar.
2. Copied xercesImpl-2.8.1.jar at below locations too:
        <jboss-dir>\lib\
        <jboss-dir>\server\default\lib
3. Started the server.
4. I got the following exception

Exception raised:
=================

22:04:03,009 INFO  [JBIDeployer] Init ServiceMix JBI Component:
file:/D:/OKISoft/CleanServicemix/jboss-4.2.2.GA/server/default/deploy/se
rvicemix-shared-3.2.1-installer.zip
22:04:03,009 INFO  [JBIDeployer] Init Watcher
22:04:03,009 INFO  [JBIDeployer] Init LoaderRepository
22:04:07,872 INFO  [JBIDeployer] ServiceMix deployer passing deployment
to JBI container
[file:/D:/OKISoft/CleanServicemix/jboss-4.2.2.GA/server/default/deploy/s
ervicemix-shared-3.2.1-installer.zip]
22:04:10,803 ERROR [MainDeployer] Could not create deployment:
file:/D:/OKISoft/CleanServicemix/jboss-4.2.2.GA/server/default/deploy/se
rvicemix-shared-3.2.1-installer.zip
org.jboss.deployment.DeploymentException: ServiceMix deployer unable to
deploy: [EMAIL PROTECTED] {
url=file:/D:/OKISoft/CleanServicemix/jboss-4.2.2.GA/server/default/deplo
y/servicemix-shared-3.2.1-installer.zip
  deployer: [EMAIL PROTECTED]
  status: null
  state: CREATE_DEPLOYER
  watch:
file:/D:/OKISoft/CleanServicemix/jboss-4.2.2.GA/server/default/deploy/se
rvicemix-shared-3.2.1-installer.zip
  altDD: null
  lastDeployed: 1203093247872
  lastModified: 1203093242962
  mbeans:
; - nested throwable: (javax.management.RuntimeErrorException)
        at
org.servicemix.jboss.deployment.JBIDeployer.create(JBIDeployer.java:115)
        at
org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
        at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
        at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
        at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.
java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBea
nOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav
a:264)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy9.deploy(Unknown Source)
        at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentSc
anner.java:421)
        at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScan
ner.java:634)
        at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doS
can(AbstractDeploymentScanner.java:263)
        at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loo
p(AbstractDeploymentScanner.java:274)
        at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run
(AbstractDeploymentScanner.java:225)
Caused by: javax.management.RuntimeErrorException
        at
org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(
ReflectedDispatcher.java:178)
        at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
java:163)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav
a:264)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at
org.servicemix.jboss.deployment.JBIDeployer.create(JBIDeployer.java:105)
        ... 21 more
Caused by: java.lang.LinkageError: loader constraints violated when
linking org/w3c/dom/DOMConfiguration class
        at
org.apache.xerces.impl.xs.opti.SchemaDOMParser.startDocument(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(Unknown
Source)
        at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown
Source)
        at
org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(Unknown
Source)
        at
org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source)
        at
org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source)
        at org.apache.xerces.impl.xs.opti.SchemaDOMParser.parse(Unknown
Source)
        at
org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(Unknow
n Source)
        at
org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown
Source)
        at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown
Source)
        at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown
Source)
        at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown
Source)
        at
org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(Unknown
Source)
        at javax.xml.validation.SchemaFactory.newSchema(Unknown Source)
        at javax.xml.validation.SchemaFactory.newSchema(Unknown Source)
        at
org.apache.servicemix.jbi.deployment.DescriptorFactory.buildDescriptor(D
escriptorFactory.java:102)
        at
org.apache.servicemix.jbi.deployment.DescriptorFactory.buildDescriptor(D
escriptorFactory.java:80)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
AutoDeploymentService.java:238)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateExternal
Archive(AutoDeploymentService.java:201)
        at
org.servicemix.jboss.deployment.JBIService.installArchive(JBIService.jav
a:116)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
java:155)
        ... 26 more





Please help me to resolve this problem. I really appreciate any reply as
I am stuck with this problem and not able to move a bit.

Thanks
Puneet


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, February 14, 2008 5:42 PM
To: [email protected]
Subject: Re: Urgent help required for the problem while deploying
servicemix component in jboss

hello,
 my 2 cents

this is your bottom problem
Caused by: java.lang.LinkageError: loader constraint violation in
interface itable initialization: when resolving method
"org.apache.xerces.impl.xs.opti.DefaultDocument.getDomConfig()Lorg/w3c/d
om/DOMConfiguration;" the class loader (instance of
org/jboss/mx/loading/UnifiedClassLoader3) of the current class,
org/apache/xerces/impl/xs/opti/DefaultDocument, and the class loader
(instance of ) for interface org/w3c/dom/Document have different Class
objects for the type org/w3c/dom/DOMConfiguration used in the signature
at org.apache.xerces.impl.xs.opti.SchemaDOMParser.startDocument(Unknown


check how many different jars you have for xerces.. check

- <jbossdir>\lib
- <jbossdir>\server\default\lib

as well as any xerces jar you have in the appplication you are
deploying.....

hth
        marco




Internet
[EMAIL PROTECTED]

14/02/2008 12:02
Please respond to
[email protected]


To
users, servicemix-users, users-subscribe, opensource, user, users,
jboss-user
cc

Subject
Urgent help required for the problem while deploying servicemix
component
in jboss






Hi,

I am facing problem while deploying servicemix component with jboss.


Steps performed:
1. I have deployed jboss deployer upon jboss.
2. Copied the servicemix component in the deploy directory of
servicemix.
3. I have got the bellow exceptions while starting the jboss server.

Exception Raised:

16:20:27,081 INFO [JBIDeployer] Init ServiceMix JBI Component:
file:/usr/oki_software/ServicemixTester/jboss/jboss-4.2.2.GA/server/defa
ult/deploy/servicemix-shared-3.2.1-installer.zip
16:20:27,081 INFO [JBIDeployer] Init Watcher
16:20:27,081 INFO [JBIDeployer] Init LoaderRepository
16:20:28,509 INFO [JBIDeployer] ServiceMix deployer passing deployment
to JBI container
[file:/usr/oki_software/ServicemixTester/jboss/jboss-4.2.2.GA/server/def
ault/deploy/servicemix-shared-3.2.1-installer.zip]
16:20:28,856 ERROR [MainDeployer] Could not create deployment:
file:/usr/oki_software/ServicemixTester/jboss/jboss-4.2.2.GA/server/defa
ult/deploy/servicemix-shared-3.2.1-installer.zip
org.jboss.deployment.DeploymentException: ServiceMix deployer unable to
deploy: [EMAIL PROTECTED] {
url=file:/usr/oki_software/ServicemixTester/jboss/jboss-4.2.2.GA/server/
default/deploy/servicemix-shared-3.2.1-installer.zip }
deployer: [EMAIL PROTECTED]
status: null
state: CREATE_DEPLOYER
watch:
file:/usr/oki_software/ServicemixTester/jboss/jboss-4.2.2.GA/server/defa
ult/deploy/servicemix-shared-3.2.1-installer.zip
altDD: null
lastDeployed: 1202986228508
lastModified: 1202986227000
mbeans:
; - nested throwable: (javax.management.RuntimeErrorException)
at
org.servicemix.jboss.deployment.JBIDeployer.create(JBIDeployer.java:115)

at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.
java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBea
nOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav
a:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentSc
anner.java:421)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScan
ner.java:634)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doS
can(AbstractDeploymentScanner.java:263)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loo
p(AbstractDeploymentScanner.java:274)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run
(AbstractDeploymentScanner.java:225)
Caused by: javax.management.RuntimeErrorException
at
org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(
ReflectedDispatcher.java:178)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
java:163)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav
a:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at
org.servicemix.jboss.deployment.JBIDeployer.create(JBIDeployer.java:105)

.... 21 more
Caused by: java.lang.LinkageError: loader constraint violation in
interface itable initialization: when resolving method
"org.apache.xerces.impl.xs.opti.DefaultDocument.getDomConfig()Lorg/w3c/d
om/DOMConfiguration;" the class loader (instance of
org/jboss/mx/loading/UnifiedClassLoader3) of the current class,
org/apache/xerces/impl/xs/opti/DefaultDocument, and the class loader
(instance of ) for interface org/w3c/dom/Document have different Class
objects for the type org/w3c/dom/DOMConfiguration used in the signature
at org.apache.xerces.impl.xs.opti.SchemaDOMParser.startDocument(Unknown
Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(Unknown
Source)
at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(Unknown
Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(Unknown
Source)
at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(Unknown
Source)
at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(Unknown
Source)
at org.apache.xerces.impl.xs.opti.SchemaDOMParser.parse(Unknown Source)
at
org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(Unknow
n Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown
Source)
at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source)

at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source)

at org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(Unknown
Source)
at javax.xml.validation.SchemaFactory.newSchema(Unknown Source)
at javax.xml.validation.SchemaFactory.newSchema(Unknown Source)
at
org.apache.servicemix.jbi.deployment.DescriptorFactory.buildDescriptor(D
escriptorFactory.java:102)
at
org.apache.servicemix.jbi.deployment.DescriptorFactory.buildDescriptor(D
escriptorFactory.java:80)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
AutoDeploymentService.java:238)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateExternal
Archive(AutoDeploymentService.java:201)
at
org.servicemix.jboss.deployment.JBIService.installArchive(JBIService.jav
a:116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
java:155)
.... 26 more
16:20:27,081 INFO [JBIDeployer] Init ServiceMix JBI Component:
file:/usr/oki_software/ServicemixTester/jboss/jboss-4.2.2.GA/server/defa
ult/deploy/servicemix-shared-3.2.1-installer.zip
16:20:27,081 INFO [JBIDeployer] Init Watcher
16:20:27,081 INFO [JBIDeployer] Init LoaderRepository
16:20:28,509 INFO [JBIDeployer] ServiceMix deployer passing deployment
to JBI container
[file:/usr/oki_software/ServicemixTester/jboss/jboss-4.2.2.GA/server/def
ault/deploy/servicemix-shared-3.2.1-installer.zip]
16:20:28,856 ERROR [MainDeployer] Could not create deployment:
file:/usr/oki_software/ServicemixTester/jboss/jboss-4.2.2.GA/server/defa
ult/deploy/servicemix-shared-3.2.1-installer.zip
org.jboss.deployment.DeploymentException: ServiceMix deployer unable to
deploy: [EMAIL PROTECTED] {
url=file:/usr/oki_software/ServicemixTester/jboss/jboss-4.2.2.GA/server/
default/deploy/servicemix-shared-3.2.1-installer.zip }
deployer: [EMAIL PROTECTED]
status: null
state: CREATE_DEPLOYER
watch:
file:/usr/oki_software/ServicemixTester/jboss/jboss-4.2.2.GA/server/defa
ult/deploy/servicemix-shared-3.2.1-installer.zip
altDD: null
lastDeployed: 1202986228508
lastModified: 1202986227000
mbeans:
; - nested throwable: (javax.management.RuntimeErrorException)
at
org.servicemix.jboss.deployment.JBIDeployer.create(JBIDeployer.java:115)

at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.
java:133)



Please help me to resolve the problem. A early response will be highly
appreciated as it is a bottleneck for my work.

Regards,
Puneet


The information contained in this electronic message and any attachments

to this message are intended for the exclusive use of the addressee(s)
and
may contain proprietary, confidential or privileged information. If you
are not the intended recipient, you should not disseminate, distribute
or
copy this e-mail. Please notify the sender immediately and destroy all
copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.

The company accepts no liability for any damage caused by any virus
transmitted by this email.

www.wipro.com




This communication is confidential, may be privileged and is meant only
for the intended recipient.  If you are
not the intended recipient, please notify the sender by reply and delete
this message from your system.  Any
unauthorised dissemination, distribution or copying hereof is
prohibited.

BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK
Limited, BNP Paribas UK Limited,
BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited
are authorised and regulated by
the Financial Services Authority.

BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private
Bank are authorised by the CECEI
and AMF.  BNP Paribas London Branch, BNP Paribas Securities Services
London Branch and BNP Paribas
Private Bank London Branch are regulated by the Financial Services
Authority for the conduct of their UK
business.  BNP Paribas Securities Services London Branch is also a
member of the London Stock Exchange.


The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

Reply via email to