You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Kevan Miller <ke...@gmail.com> on 2010/03/11 15:35:25 UTC
Re: svn commit: r920267 - in /openejb/trunk/openejb3/examples/simple-webservice/src: main/java/org/superbiz/calculator/CalculatorImpl.java main/java/org/superbiz/calculator/CalculatorWs.java test/java/org/superbiz/calculator/CalculatorTest.java
On Mar 8, 2010, at 6:03 AM, jlmonteiro@apache.org wrote:
> Author: jlmonteiro
> Date: Mon Mar 8 11:03:56 2010
> New Revision: 920267
>
> URL: http://svn.apache.org/viewvc?rev=920267&view=rev
> Log:
> Add @WebServiceRef injection to the test case.
Jean-Louis,
I'm seeing test failures which would seem related to your recent updates. Are tests working for you?
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 3.659 sec <<< FAILURE!
testCalculatorViaWsInterface(org.superbiz.calculator.CalculatorTest) Time elapsed: 3.631 sec <<< ERROR!
javax.naming.NamingException: Unable to find injection meta-data for org.superbiz.calculator.CalculatorTest. Ensure that class was annotated with @org.apache.openejb.api.LocalClient and was successfully discovered and deployed. See http://openejb.apache.org/3.0/local-client-injection.html
at org.apache.openejb.client.LocalInitialContext.inject(LocalInitialContext.java:198)
at org.apache.openejb.client.LocalInitialContext.bind(LocalInitialContext.java:172)
at javax.naming.InitialContext.bind(InitialContext.java:359)
at org.superbiz.calculator.CalculatorTest.setUp(CalculatorTest.java:55)
at junit.framework.TestCase.runBare(TestCase.java:128)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:228)
at junit.framework.TestSuite.run(TestSuite.java:223)
at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
--kevan
Re: svn commit: r920267 - in /openejb/trunk/openejb3/examples/simple-webservice/src: main/java/org/superbiz/calculator/CalculatorImpl.java main/java/org/superbiz/calculator/CalculatorWs.java test/java/org/superbiz/calculator/CalculatorTest.java
Posted by Kevan Miller <ke...@gmail.com>.
On Mar 12, 2010, at 6:07 AM, Jean-Louis MONTEIRO wrote:
>
> Hey!
>
> i checked out fresh sources from the repo.
> Obviously, i forgot to check in the src/test/resources/META-INF/ejb-jar.xml
> Without that file, OpenEJB doesn't consider the target/test-classes as a
> module so no injection can be used.
>
> Anyway, still don't understand why eclipse still don't see this new file on
> my filesystem.
> Gonna commit it ASAP.
Great. Thanks Jean-Louis!
--kevan
Re: svn commit: r920267 - in
/openejb/trunk/openejb3/examples/simple-webservice/src:
main/java/org/superbiz/calculator/CalculatorImpl.java
main/java/org/superbiz/calculator/CalculatorWs.java
test/java/org/superbiz/calculator/CalculatorTest.java
Posted by Jean-Louis MONTEIRO <je...@atosorigin.com>.
Hey!
i checked out fresh sources from the repo.
Obviously, i forgot to check in the src/test/resources/META-INF/ejb-jar.xml
Without that file, OpenEJB doesn't consider the target/test-classes as a
module so no injection can be used.
Anyway, still don't understand why eclipse still don't see this new file on
my filesystem.
Gonna commit it ASAP.
Jean-Louis
kevan wrote:
>
>
> On Mar 8, 2010, at 6:03 AM, jlmonteiro@apache.org wrote:
>
>> Author: jlmonteiro
>> Date: Mon Mar 8 11:03:56 2010
>> New Revision: 920267
>>
>> URL: http://svn.apache.org/viewvc?rev=920267&view=rev
>> Log:
>> Add @WebServiceRef injection to the test case.
>
> Jean-Louis,
> I'm seeing test failures which would seem related to your recent updates.
> Are tests working for you?
>
> Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 3.659 sec
> <<< FAILURE!
> testCalculatorViaWsInterface(org.superbiz.calculator.CalculatorTest) Time
> elapsed: 3.631 sec <<< ERROR!
> javax.naming.NamingException: Unable to find injection meta-data for
> org.superbiz.calculator.CalculatorTest. Ensure that class was annotated
> with @org.apache.openejb.api.LocalClient and was successfully discovered
> and deployed. See
> http://openejb.apache.org/3.0/local-client-injection.html
> at
> org.apache.openejb.client.LocalInitialContext.inject(LocalInitialContext.java:198)
> at
> org.apache.openejb.client.LocalInitialContext.bind(LocalInitialContext.java:172)
> at javax.naming.InitialContext.bind(InitialContext.java:359)
> at org.superbiz.calculator.CalculatorTest.setUp(CalculatorTest.java:55)
> at junit.framework.TestCase.runBare(TestCase.java:128)
> at junit.framework.TestResult$1.protect(TestResult.java:110)
> at junit.framework.TestResult.runProtected(TestResult.java:128)
> at junit.framework.TestResult.run(TestResult.java:113)
> at junit.framework.TestCase.run(TestCase.java:120)
> at junit.framework.TestSuite.runTest(TestSuite.java:228)
> at junit.framework.TestSuite.run(TestSuite.java:223)
> at
> org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
> at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:592)
> at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
> at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
>
> --kevan
>
--
View this message in context: http://n4.nabble.com/Re-svn-commit-r920267-in-openejb-trunk-openejb3-examples-simple-webservice-src-main-java-org-superbia-tp1589044p1590423.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: svn commit: r920267 - in /openejb/trunk/openejb3/examples/simple-webservice/src:
main/java/org/superbiz/calculator/CalculatorImpl.java main/java/org/superbiz/calculator/CalculatorWs.java
test/java/org/superbiz/calculator/CalculatorTest.java
Posted by "Daniel S. Haischt" <da...@googlemail.com>.
hummm Firefox shows the continuum web page in some Asian characters.
Should I be concerned?
this is the linux build that initially failed:
-> http://ci.apache.org/builders/openejb-trunk/builds/291
this is the windoze build that initially failed:
-> http://ci.apache.org/builders/openejb-trunk-win/builds/170
We are as well supposed to have dedicated builds for IBM JDKs but it
looks like they haven't been setup yet.
Cheers
Daniel
On Fri, Mar 12, 2010 at 4:24 AM, Kevan Miller <ke...@gmail.com> wrote:
>
> On Mar 11, 2010, at 10:12 PM, Daniel S. Haischt wrote:
>
>> You could always trigger a new build using buildbot which runs on
>> windoze and linux. I am on Mac OS X snow leopard but right now using a
>> CDMA connection which would make the SVN checkout pretty slow I
>> suppose. Otherwise I could give it a try...
>
> Fair point. Don't know what's going on with the BuildBots, but latest continuum build shows the failure: http://vmbuild.apache.org/continuum/buildResult.action?buildId=299842&projectId=358
>
> --kevan
>
>
Re: svn commit: r920267 - in /openejb/trunk/openejb3/examples/simple-webservice/src: main/java/org/superbiz/calculator/CalculatorImpl.java main/java/org/superbiz/calculator/CalculatorWs.java test/java/org/superbiz/calculator/CalculatorTest.java
Posted by Kevan Miller <ke...@gmail.com>.
On Mar 11, 2010, at 10:12 PM, Daniel S. Haischt wrote:
> You could always trigger a new build using buildbot which runs on
> windoze and linux. I am on Mac OS X snow leopard but right now using a
> CDMA connection which would make the SVN checkout pretty slow I
> suppose. Otherwise I could give it a try...
Fair point. Don't know what's going on with the BuildBots, but latest continuum build shows the failure: http://vmbuild.apache.org/continuum/buildResult.action?buildId=299842&projectId=358
--kevan
Re: svn commit: r920267 - in /openejb/trunk/openejb3/examples/simple-webservice/src:
main/java/org/superbiz/calculator/CalculatorImpl.java main/java/org/superbiz/calculator/CalculatorWs.java
test/java/org/superbiz/calculator/CalculatorTest.java
Posted by "Daniel S. Haischt" <da...@googlemail.com>.
You could always trigger a new build using buildbot which runs on
windoze and linux. I am on Mac OS X snow leopard but right now using a
CDMA connection which would make the SVN checkout pretty slow I
suppose. Otherwise I could give it a try...
Cheers
Daniel
On Fri, Mar 12, 2010 at 3:27 AM, Kevan Miller <ke...@gmail.com> wrote:
>
> On Mar 11, 2010, at 2:26 PM, Jean-Louis MONTEIRO wrote:
>
>>
>> Hi Kevan,
>>
>> The whole build passed on my laptop (Win XP + java 1.5.x + Maven 3.x)
>> I can get fresh sources from SVN and run everything again.
>
> Thanks. I'm on Mac OS and maven 2.2.1. I tried java 1.5 and 6 and both failed.
>
> --kevan
Re: svn commit: r920267 - in /openejb/trunk/openejb3/examples/simple-webservice/src: main/java/org/superbiz/calculator/CalculatorImpl.java main/java/org/superbiz/calculator/CalculatorWs.java test/java/org/superbiz/calculator/CalculatorTest.java
Posted by Kevan Miller <ke...@gmail.com>.
On Mar 11, 2010, at 2:26 PM, Jean-Louis MONTEIRO wrote:
>
> Hi Kevan,
>
> The whole build passed on my laptop (Win XP + java 1.5.x + Maven 3.x)
> I can get fresh sources from SVN and run everything again.
Thanks. I'm on Mac OS and maven 2.2.1. I tried java 1.5 and 6 and both failed.
--kevan
Re: svn commit: r920267 - in
/openejb/trunk/openejb3/examples/simple-webservice/src:
main/java/org/superbiz/calculator/CalculatorImpl.java
main/java/org/superbiz/calculator/CalculatorWs.java
test/java/org/superbiz/calculator/CalculatorTest.java
Posted by Jean-Louis MONTEIRO <je...@atosorigin.com>.
Hi Kevan,
The whole build passed on my laptop (Win XP + java 1.5.x + Maven 3.x)
I can get fresh sources from SVN and run everything again.
FYI, in that commit i just added an example using @WebServiceRef in a
@LocalClient TestCase.
Obviously, it may cause builds fail.
Jean-Louis
kevan wrote:
>
>
> On Mar 8, 2010, at 6:03 AM, jlmonteiro@apache.org wrote:
>
>> Author: jlmonteiro
>> Date: Mon Mar 8 11:03:56 2010
>> New Revision: 920267
>>
>> URL: http://svn.apache.org/viewvc?rev=920267&view=rev
>> Log:
>> Add @WebServiceRef injection to the test case.
>
> Jean-Louis,
> I'm seeing test failures which would seem related to your recent updates.
> Are tests working for you?
>
> Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 3.659 sec
> <<< FAILURE!
> testCalculatorViaWsInterface(org.superbiz.calculator.CalculatorTest) Time
> elapsed: 3.631 sec <<< ERROR!
> javax.naming.NamingException: Unable to find injection meta-data for
> org.superbiz.calculator.CalculatorTest. Ensure that class was annotated
> with @org.apache.openejb.api.LocalClient and was successfully discovered
> and deployed. See
> http://openejb.apache.org/3.0/local-client-injection.html
> at
> org.apache.openejb.client.LocalInitialContext.inject(LocalInitialContext.java:198)
> at
> org.apache.openejb.client.LocalInitialContext.bind(LocalInitialContext.java:172)
> at javax.naming.InitialContext.bind(InitialContext.java:359)
> at org.superbiz.calculator.CalculatorTest.setUp(CalculatorTest.java:55)
> at junit.framework.TestCase.runBare(TestCase.java:128)
> at junit.framework.TestResult$1.protect(TestResult.java:110)
> at junit.framework.TestResult.runProtected(TestResult.java:128)
> at junit.framework.TestResult.run(TestResult.java:113)
> at junit.framework.TestCase.run(TestCase.java:120)
> at junit.framework.TestSuite.runTest(TestSuite.java:228)
> at junit.framework.TestSuite.run(TestSuite.java:223)
> at
> org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
> at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:592)
> at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
> at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
>
> --kevan
>
--
View this message in context: http://n4.nabble.com/Re-svn-commit-r920267-in-openejb-trunk-openejb3-examples-simple-webservice-src-main-java-org-superbia-tp1589044p1589606.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.