I am attempting to deploy the Sun's example resource adapter, available here
(http://www.jboss.org/documentation/blackbox-xa.rar

I save the file with the same name in
<JBoss install>/dist/deploy

Then I open up my web browser and hit http://localhost:8082 , then choose
RARDeployer.
I enter file:///E:/Projects/JBoss/jboss/dist/deploy/blackbox-xa.rar for the
deploy testfield
and hit deploy.
ON the next screen I see:

472 MBean Failure
----------------------------------------------------------------------------
----
The MBean [J2EE:service=RARDeployer] throws an MBeanException when calling
[deploy]:
org.jboss.deployment.DeploymentException: Character conversion error:
"Unconvertible UTF-8 character beginning with 0xa9" (line number may be too
low).


...my console says:
============================================================================
====
[RARDeployer] Attempting to deploy RAR at
'file:/E:/Projects/JBoss/jboss/dist/de
ploy/blackbox-xa.rar'
[Default] Character conversion error: "Unconvertible UTF-8 character
beginning w
ith 0xa9" (line number may be too low).:-1:1
[RARDeployer] org.jboss.deployment.DeploymentException: Character conversion
err
or: "Unconvertible UTF-8 character beginning with 0xa9" (line number may be
too
low).
[RARDeployer]   at
org.jboss.resource.RARDeployer.deploy(RARDeployer.java:176)
[RARDeployer]   at
org.jboss.deployment.DeployerMBeanSupport.deploy(DeployerMBea
nSupport.java:70)
[RARDeployer]   at java.lang.reflect.Method.invoke(Native Method)
[RARDeployer]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[RARDeployer]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[RARDeployer]   at
com.sun.jdmk.comm.HtmlInvokePage.buildPage(HtmlInvokePage.jav
a:240)
[RARDeployer]   at
com.sun.jdmk.comm.HtmlRequestHandler.processGetRequest(HtmlRe
questHandler.java:325)
[RARDeployer]   at
com.sun.jdmk.comm.HtmlRequestHandler.processRequest(HtmlReque
stHandler.java:152)
[RARDeployer]   at
com.sun.jdmk.comm.HtmlRequestHandler.doRun(HtmlRequestHandler
.java:79)
[RARDeployer]   at
com.sun.jdmk.comm.ClientHandler.run(ClientHandler.java:84)
[RARDeployer]   at java.lang.Thread.run(Thread.java:484)
============================================================================
====
 In subsequent attempt I will get a different error:
472 MBean Failure
----------------------------------------------------------------------------
----
The MBeanServer throws a JMRuntimeException when calling operation[deploy]
of [J2EE:service=RARDeployer] :
javax.management.RuntimeMBeanException: RuntimeException thrown in operation
deploy

Console:
============================================================================
====
[RARDeployer] Attempting to deploy RAR at
'file:/E:/Projects/JBoss/jboss/dist/de
ploy/blackbox-xa.rar'
[RARDeployer] java.lang.IllegalStateException: zip file closed
[RARDeployer]   at java.util.zip.ZipFile.entries(ZipFile.java:284)
[RARDeployer]   at java.util.jar.JarFile.entries(JarFile.java:192)
[RARDeployer]   at
org.jboss.resource.RARDeployer.inflateJar(RARDeployer.java:39
8)
[RARDeployer]   at
org.jboss.resource.RARDeployer.deploy(RARDeployer.java:154)
[RARDeployer]   at
org.jboss.deployment.DeployerMBeanSupport.deploy(DeployerMBea
nSupport.java:70)
[RARDeployer]   at java.lang.reflect.Method.invoke(Native Method)
[RARDeployer]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[RARDeployer]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[RARDeployer]   at
com.sun.jdmk.comm.HtmlInvokePage.buildPage(HtmlInvokePage.jav
a:240)
[RARDeployer]   at
com.sun.jdmk.comm.HtmlRequestHandler.processGetRequest(HtmlRe
questHandler.java:325)
[RARDeployer]   at
com.sun.jdmk.comm.HtmlRequestHandler.processRequest(HtmlReque
stHandler.java:152)
[RARDeployer]   at
com.sun.jdmk.comm.HtmlRequestHandler.doRun(HtmlRequestHandler
.java:79)
[RARDeployer]   at
com.sun.jdmk.comm.ClientHandler.run(ClientHandler.java:84)
[RARDeployer]   at java.lang.Thread.run(Thread.java:484)
============================================================================
====


I have experienced the above scenario with all of the rar un-jarred a
directory, and
re-jarred in a new rar.

Any Suggestions?


*****************************
Marc T. Calello
Momentum Software, Inc.
1717 W. 6th Street; Ste. 300
Austin, TX 78703
[EMAIL PROTECTED]
http://www.momentumsoftware.com
Phone: (512) 236-1517
Fax: (512) 236-1267
*****************************



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to