Error in Deployment of rar file
dnyaneshwari Jan 30, 2003 4:02 AMHello,
I am trying to deploy a sample RA provided by sune One connector builder.
I have created the service.xml file which is follows:
jboss.jca:service=RARDeployer
<depends optional-attribute-name="ManagedConnectionFactoryName">
COTS
<depends
optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name
=COTS
<config-property>
<config-property-name>ServerName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>localhost</config-property-value>
</config-property>
<config-property>
<config-property-name>PortNumber</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>9999</config-property-value>
</config-property>
<depends optional-attribute-name="ManagedConnectionPool">
0
50
5000
15
ByContainer
<depends
optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedConnectionManager
This RA does not support any transactions.
DO i need to make any entry in login-cof.xml??
While deploymeny I am getting following errors.
14:29:17,873 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@37de9920{ url=file:/C:/jboss-3.0.4_tomcat-4.0.6/server/all/deploy/COTS.rar, deployedLastModified=0 }
org.jboss.deployment.DeploymentException: Could not create deployment: file:/C:/jboss-3.0.4_tomcat-4.0.6/server/all/deploy/COTS.rar; - nested throwable: (java.lang.LinkageError: loader constraints violated when linking com/sun/appinteg/adapter/cci/ICONRecordFactory class)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:827)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:621)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:585)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy4.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435)
at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:656)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:212)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:225)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:202)
+ nested throwable:
java.lang.LinkageError: loader constraints violated when linking com/sun/appinteg/adapter/cci/ICONRecordFactory class
at com.sun.appinteg.samples.cots.base.spi.COTSManagedConnectionFactoryBase.instantiateConnectionFactory(Unknown Source)
at com.sun.appinteg.adapter.spi.ICONManagedConnectionFactory.createConnectionFactory(ICONManagedConnectionFactory.java:134)
at org.jboss.resource.connectionmanager.RARDeployment.startManagedConnectionFactory(RARDeployment.java:578)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.startService(BaseConnectionManager2.java:382)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy5.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:398)
at org.jboss.system.ServiceController.start(ServiceController.java:418)
at org.jboss.system.ServiceController.start(ServiceController.java:418)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy10.start(Unknown Source)
at org.jboss.resource.RARDeployer.start(RARDeployer.java:212)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:807)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:621)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:585)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy4.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435)
at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:656)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:212)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:225)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:202)
14:29:17,883 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
[org.jboss.deployment.DeploymentInfo@fce96a71 { url=file:/C:/jboss-3.0.4_tomcat-4.0.6/server/all/deploy/temp/ }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss-3.0.4_tomcat-4.0.6/server/all/deploy/temp/
lastDeployed: 1043843454774
lastModified: 1043747042114
mbeans:
]Incompletely deployed packages:
[org.jboss.deployment.DeploymentInfo@fce96a71 { url=file:/C:/jboss-3.0.4_tomcat-4.0.6/server/all/deploy/temp/ }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss-3.0.4_tomcat-4.0.6/server/all/deploy/temp/
lastDeployed: 1043843454774
lastModified: 1043747042114
mbeans:
, org.jboss.deployment.DeploymentInfo@e791befc { url=file:/C:/jboss-3.0.4_tomcat-4.0.6/server/all/deploy/cots-service.xml }
deployer: org.jboss.deployment.SARDeployer@434234
status: null
state: FAILED
watch: file:/C:/jboss-3.0.4_tomcat-4.0.6/server/all/deploy/cots-service.xml
lastDeployed: 1043843950717
lastModified: 1043843950697
mbeans:
, org.jboss.deployment.DeploymentInfo@6dceb6fc { url=file:/C:/jboss-3.0.4_tomcat-4.0.6/server/all/deploy/COTS-service.xml }
deployer: org.jboss.deployment.SARDeployer@434234
status: null
state: FAILED
watch: file:/C:/jboss-3.0.4_tomcat-4.0.6/server/all/deploy/COTS-service.xml
lastDeployed: 1043846385804
lastModified: 1043846385784
mbeans:
, org.jboss.deployment.DeploymentInfo@6dceb6fc { url=file:/C:/jboss-3.0.4_tomcat-4.0.6/server/all/deploy/COTS-service.xml }
deployer: org.jboss.deployment.SARDeployer@434234
status: null
state: FAILED
watch: file:/C:/jboss-3.0.4_tomcat-4.0.6/server/all/deploy/COTS-service.xml
lastDeployed: 1043914346522
lastModified: 1043914346512
mbeans:
, org.jboss.deployment.DeploymentInfo@37de9920 { url=file:/C:/jboss-3.0.4_tomcat-4.0.6/server/all/deploy/COTS.rar }
deployer: org.jboss.resource.RARDeployer@418a4c
status: Deployment FAILED reason: loader constraints violated when linking com/sun/appinteg/adapter/cci/ICONRecordFactory class
state: FAILED
watch: file:/C:/jboss-3.0.4_tomcat-4.0.6/server/all/deploy/COTS.rar
lastDeployed: 1043917157622
lastModified: 1043917157432
mbeans:
]MBeans waiting for classes:
MBeans waiting for other MBeans:
[ObjectName: jboss.net:service=Axis
state: CONFIGURED
I Depend On: jboss.web:service=JBossWeb
Depends On Me: jboss.net:service=Adaptor
, ObjectName: jboss.net:service=Adaptor
state: CONFIGURED
I Depend On: jboss.net:service=Axis
Depends On Me: , ObjectName: jboss.j2ee:jndiName=jetty/CMPState,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.lang.ClassNotFoundException: org.mortbay.j2ee.session.interfaces.CMPStateHome]
Please tell me reason of this error.
Thanks in advance.
Dnyaneshwari.