Blackbox resource adapter
repa Apr 26, 2002 6:44 AMHi
I am using JBoss vesion 2.4.4.
I try to deploy Sun's blackbox-tx.rar RA and got following error message:
[java] [INFO,AutoDeployer] Auto deploy of file:/C:/APPS/JBossTomcat/jboss/d
eploy/lib/cciblackbox-tx.rar
[java] [INFO,RARDeployer] Attempting to deploy RAR at 'file:/C:/APPS/JBossT
omcat/jboss/deploy/lib/cciblackbox-tx.rar'
[java] [ERROR,RARDeployer] deploy failure
[java] java.io.FileNotFoundException: C:\APPS\JBossTomcat\jboss\tmp\deploy\
RARDeployer\rar.0\META-INF\ra.xml (The system cannot find the path specified)
[java] at java.io.FileOutputStream.open(Native Method)
[java] at java.io.FileOutputStream.(FileOutputStream.java:102)
[java] at java.io.FileOutputStream.(FileOutputStream.java:62)
[java] at java.io.FileOutputStream.(FileOutputStream.java:132)
[java] at org.jboss.resource.RARDeployer.inflateJar(RARDeployer.java:47
6)
[java] at org.jboss.resource.RARDeployer.deploy(RARDeployer.java:272)
[java] at org.jboss.deployment.DeployerMBeanSupport.deploy(DeployerMBea
nSupport.java:70)
[java] at java.lang.reflect.Method.invoke(Native Method)
[java] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[java] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[java] at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:39
5)
[java] at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
[java] at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.j
ava:371)
[java] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.
java:103)
[java] at java.lang.reflect.Method.invoke(Native Method)
[java] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[java] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[java] at org.jboss.configuration.ConfigurationService$ServiceProxy.inv
oke(ConfigurationService.java:967)
[java] at $Proxy0.start(Unknown Source)
[java] at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
[java] at java.lang.reflect.Method.invoke(Native Method)
[java] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[java] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[java] at org.jboss.Main.(Main.java:208)
[java] at org.jboss.Main$1.run(Main.java:110)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at org.jboss.Main.main(Main.java:106)
[java] [ERROR,AutoDeployer] DeploymentInfo failed:file:/C:/APPS/JBossTomcat
/jboss/deploy/lib/cciblackbox-tx.rar
[java] java.io.FileNotFoundException: C:\APPS\JBossTomcat\jboss\tmp\deploy\
RARDeployer\rar.0\META-INF\ra.xml (The system cannot find the path specified)
[java] at java.io.FileOutputStream.open(Native Method)
[java] at java.io.FileOutputStream.(FileOutputStream.java:102)
[java] at java.io.FileOutputStream.(FileOutputStream.java:62)
[java] at java.io.FileOutputStream.(FileOutputStream.java:132)
[java] at org.jboss.resource.RARDeployer.inflateJar(RARDeployer.java:47
6)
[java] at org.jboss.resource.RARDeployer.deploy(RARDeployer.java:272)
[java] at org.jboss.deployment.DeployerMBeanSupport.deploy(DeployerMBea
nSupport.java:70)
[java] at java.lang.reflect.Method.invoke(Native Method)
[java] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[java] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[java] at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:39
5)
[java] at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
[java] at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.j
ava:371)
[java] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.
java:103)
[java] at java.lang.reflect.Method.invoke(Native Method)
[java] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[java] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[java] at org.jboss.configuration.ConfigurationService$ServiceProxy.inv
oke(ConfigurationService.java:967)
[java] at $Proxy0.start(Unknown Source)
[java] at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
[java] at java.lang.reflect.Method.invoke(Native Method)
[java] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
Here is part of my jboss.jcml -file.
<!-- Connection factory for the blabckbox-cci.rar resource adapter. . -->
eis/CCIBB
JCA:service=RARDeployer
CciBlackBoxLocalTx
ConnectionURL=jdbc:oracle:thin:@hrm017:1521:devT0
MinervaSharedLocalCMFactory
<!-- See the documentation for the specific connection manager
implementation you are using for the properties you can set -->
# Pool type - uncomment to force, otherwise it is the default
#PoolConfiguration=per-factory
# Connection pooling properties - see
# org.jboss.pool.PoolParameters
MinSize=0
MaxSize=10
Blocking=true
GCEnabled=false
IdleTimeoutEnabled=false
InvalidateOnError=false
TrackLastUsed=false
GCIntervalMillis=120000
GCMinIdleMillis=1200000
IdleTimeoutMillis=1800000
MaxIdleTimeoutPercent=1.0
<!-- Principal mapping configuration -->
org.jboss.resource.security.ManyToOnePrincipalMapping
userName=
password=