[arquillian-issues] [JBoss JIRA] Updated: (ARQ-342) Application/Module name of the form "jsr88-851802189695127335" instead of archive name, eg "test"

Jesse Hutton (JIRA) jira-events at lists.jboss.org
Mon Dec 6 18:42:00 EST 2010


     [ https://jira.jboss.org/browse/ARQ-342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse Hutton updated ARQ-342:
-----------------------------

              Summary: Application/Module name of the form "jsr88-851802189695127335" instead of archive name, eg "test"  (was: Application/Module name of the form "jsr88-851802189695127335 instead of archive name, eg "test")
    Affects Version/s: 1.0.0.Alpha4
          Environment: Fedora 12 x86_64, Sun java version "1.6.0_20"
          Description: 
I'm trying to create a test using the glassfish remote container. The basic form is identical to what is in the documentation. I create and archive with Shrinkwrap.create(JavaArchive.class, "test.jar").addClasses(...). However, when the application to deploy is created, it has a name of the form "jsr88-" + some long number. For example, here is some arquillian test output:

Dec 6, 2010 6:28:23 PM org.jboss.arquillian.container.jsr88.remote_1_2.JSR88DeploymentListener handleProgressEvent
INFO: Deployment of application jsr88-851802189695127335 
Dec 6, 2010 6:28:24 PM org.jboss.arquillian.container.jsr88.remote_1_2.JSR88DeploymentListener$1 handleProgressEvent
INFO: Application jsr88-851802189695127335 enabled successfully
...

So, the test ejb in the remote container is bound to java:global/jsr88-851802189695127335/testBean and arquillian can't find the bean to inject into my test.
          Component/s: GlassFish Containers
                       Test Harness Integration


Follow the demo test with the glassfish remote container configuration:

<?xml version="1.0" encoding="UTF-8"?>
<arquillian xmlns="http://jboss.com/arquillian"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xmlns:glassfish="urn:arq:org.jboss.arquillian.container.glassfish.remote_3">
    <glassfish:container>
        <glassfish:remoteServerAddress>localhost</glassfish:remoteServerAddress>
        <glassfish:remoteServerHttpPort>8080</glassfish:remoteServerHttpPort>
        <glassfish:deploymentUri>deployer:Sun:AppServer::localhost:4848</glassfish:deploymentUri>
    </glassfish:container>
</arquillian>

> Application/Module name of the form "jsr88-851802189695127335" instead of archive name, eg "test"
> -------------------------------------------------------------------------------------------------
>
>                 Key: ARQ-342
>                 URL: https://jira.jboss.org/browse/ARQ-342
>             Project: Arquillian
>          Issue Type: Bug
>          Components: GlassFish Containers, Test Harness Integration
>    Affects Versions: 1.0.0.Alpha4
>         Environment: Fedora 12 x86_64, Sun java version "1.6.0_20"
>            Reporter: Jesse Hutton
>
> I'm trying to create a test using the glassfish remote container. The basic form is identical to what is in the documentation. I create and archive with Shrinkwrap.create(JavaArchive.class, "test.jar").addClasses(...). However, when the application to deploy is created, it has a name of the form "jsr88-" + some long number. For example, here is some arquillian test output:
> Dec 6, 2010 6:28:23 PM org.jboss.arquillian.container.jsr88.remote_1_2.JSR88DeploymentListener handleProgressEvent
> INFO: Deployment of application jsr88-851802189695127335 
> Dec 6, 2010 6:28:24 PM org.jboss.arquillian.container.jsr88.remote_1_2.JSR88DeploymentListener$1 handleProgressEvent
> INFO: Application jsr88-851802189695127335 enabled successfully
> ...
> So, the test ejb in the remote container is bound to java:global/jsr88-851802189695127335/testBean and arquillian can't find the bean to inject into my test.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list