internal-rar might not work in 2.0.1. Can you provide a test project? Have you tried deploying from the command line rather than through eclipse? is activemq-ra-3.2.2.ibm.rar really there in the root of your ear?

If you use an external-rar the rar classes will still get included in the car file just like they do with internal-rar so I'm not sure why you need internal-rar for portability. Could you explain?

thanks
david jencks


On Sep 10, 2007, at 1:32 PM, eshore wrote:



I'm bundling an EAR for Geronimo V2.0. I have a rar within my EAR project that I am referencing from an application-client project and attempting to
deploy, through Eclipse, to Geronimo.

Under Project Explorer it shows my connector, activemq- ra-3.2.2.ibm.rar
under EarContent.

Within my geronimo-application-client.xml file it is listed as:

...
<resource>
<internal-rar>activemq-ra-3.2.2.ibm.rar</internal-rar>
...

And when I deploy I get this error:

!ENTRY org.eclipse.wst.server.core 4 0 2007-09-10 15:49:39.456
!MESSAGE Publishing failed
!SUBENTRY 1 org.apache.geronimo.st.core 4 0 2007-09-10 15:49:39.456
!MESSAGE Distribution of configuration failed.  See log for details.
!SUBENTRY 2 org.apache.geronimo.st.core 4 0 2007-09-10 15:49:39.456
!MESSAGE Could not locate connector inside ear
...
!MESSAGE Caused by: java.io.IOException: Jar entry does not exist:
jarFile=/tmp/geronimo-deploymentUtil13604.jar,
path=activemq-ra-3.2.2.ibm.rar
!SUBENTRY 2 org.apache.geronimo.st.core 4 0 2007-09-10 15:49:39.457
!MESSAGE        at
org.apache.geronimo.deployment.util.NestedJarFile.<init> (NestedJarFile.java:51)
!SUBENTRY 2 org.apache.geronimo.st.core 4 0 2007-09-10 15:49:39.457
!MESSAGE        at
org.apache.geronimo.client.builder.AppClientModuleBuilder.createModule (AppClientModuleBuilder.java:348)
!SUBENTRY 2 org.apache.geronimo.st.core 4 0 2007-09-10 15:49:39.457
!MESSAGE        ... 59 more


I've verified that this is the entry that is blowing up. Whatever I put in as the <internal-rar> value, I get the same error specifying that value. I cannot find any examples on the web that show the syntax for <internal-rar>, and per the nature of my project, I cannot use external references, I need this project to be stand-alone including the connectors with the project.

Any help on this would be appreciated.

Thanks.
--
View this message in context: http://www.nabble.com/geronimo- application-client-and-internal-rar-tf4418346s134.html#a12602272 Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Reply via email to