[jbossws-dev] Re: Cannot lookup ejb3 remote proxy

Thomas Diesler thomas.diesler at jboss.com
Wed Nov 14 09:09:38 EST 2007


You could start by reading the jira comments ;-)

It sais


        Tests may be excluded from the compile target by the exclude
        file 
        
        https://svn.jboss.org/repos/jbossws/stack/native/branches/jbossws-native-2.0.2/src/test/resources/test-excludes-jboss500.txt 
        
        This allows us to detect regression and have a unified testsuite
        across all supported containers 
        You will need to comment the exclude before you run tests-main
        

cheers
-thomas

On Tue, 2007-11-13 at 14:11 +0100, Carlo de Wolf wrote:

> How do I run this test?
> 
> I already did a 'ant' & 'ant jars'
> 
> Carlo
> 
> carlo at alien:~/work/jbossws-native-2.0.2$ ant -Dtest=org.jboss.test.ws.jaxws.samples.serviceref.ServiceRefEJBTestCase one-test
> Buildfile: build.xml
> 
> prepare:
> 
> thirdparty-init:
>      [echo] checksum.ok = true
> 
> thirdparty-get:
> 
> thirdparty-classpath:
> 
> tests-prepare:
> 
>      [echo] -----------------------------------------------
>      [echo] jboss.home   = /home/carlo/work/jboss-head/build/output/jboss-5.0.0.Beta3
>      [echo] excludesfile = /home/carlo/work/jbossws-native-2.0.2/src/test/resources/test-excludes-jboss500.txt
>      [echo] java.home    = /opt/jdk1.5.0_11/jre
>      [echo] jboss.bind   = localhost
>      [echo] -----------------------------------------------
> 
> tests-classpath-jboss50:
> 
> tests-classpath-jboss42:
> 
> tests-classpath-jboss40:
> 
> tests-classpath-jboss40-no-ejb3:
> 
> tests-classpath:
> 
> tests-init:
> 
> one-test:
>     [junit] Running org.jboss.test.ws.jaxws.samples.serviceref.ServiceRefEJBTestCase
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>     [junit] Test org.jboss.test.ws.jaxws.samples.serviceref.ServiceRefEJBTestCase FAILED
> 
> BUILD SUCCESSFUL
> Total time: 1 second
> carlo at alien:~/work/jbossws-native-2.0.2$ cat output/tests/reports/TEST-org.jboss.test.ws.jaxws.samples.serviceref.ServiceRefEJBTestCase.txt
> Testsuite: org.jboss.test.ws.jaxws.samples.serviceref.ServiceRefEJBTestCase
> Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
> 
>         Caused an ERROR
> org.jboss.test.ws.jaxws.samples.serviceref.ServiceRefEJBTestCase
> java.lang.ClassNotFoundException: org.jboss.test.ws.jaxws.samples.serviceref.ServiceRefEJBTestCase
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:164)
> 
> On Tue, 2007-11-13 at 12:09 +0100, Thomas Diesler wrote:
> > Hi Carlo,
> > 
> > could you please comment on 
> > 
> > Cannot lookup ejb3 remote proxy
> > http://jira.jboss.com/jira/browse/JBAS-4930
> > 
> > cheers
> > -thomas
> > 
> 

-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
Web Service Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbossws-dev/attachments/20071114/df3c232f/attachment.html 


More information about the jbossws-dev mailing list