Hi

Would you give a try on last release? 1.6.0

1.5.2 was really buggy regarding the conf IMO 1.5.1 was better but maybe
you have a dependency issue
Le 23 nov. 2013 11:08, "Wolfgang Winter" <[email protected]> a écrit :

> Thanks Romain, that works. However, I have a lot of problems to get Tomee -
> Arquillian running. With v.1.5.2/webprofile of apache-tomee and
> arquillian-tomee-remote I get:
>
> /INFO: Server startup in 1654 ms
> Nov 22, 2013 11:05:09 PM org.apache.catalina.core.StandardServer await
> WARNING: StandardServer.await: Invalid command '' received
> ...
> Nov 22, 2013 11:05:23 PM org.apache.openejb.client.EventLogger log
> WARNING: RequestFailed{server=http://localhost:55730/tomee/ejb}
> EJBRequest{deploymentId='openejb/Deployer',
> type=EJB_OBJECT_BUSINESS_METHOD,
> method='deploy', primaryKey='null'} {error=Cannot read the response from
> the
> server (OEJP/3.1) : org.apache.openejb.assembler.classic.AppInfo; local
> class incompatible: stream classdesc serialVersionUID =
> 7690895426891445405,
> local class serialVersionUID = -8446165016999701001}
> Nov 22, 2013 11:05:23 PM org.apache.openejb.client.EventLogger log
> INFO:
> RemoteInitialContextCreated{providerUri=http://localhost:55730/tomee/ejb}
> Nov 22, 2013 11:05:23 PM org.apache.openejb.client.EventLogger log
> WARNING: RequestFailed{server=http://localhost:55730/tomee/ejb}
> EJBRequest{deploymentId='openejb/Deployer',
> type=EJB_OBJECT_BUSINESS_METHOD,
> method='getDeployedApps', primaryKey='null'} {error=Cannot read the
> response
> from the server (OEJP/3.1) : org.apache.openejb.assembler.classic.AppInfo;
> local class incompatible: stream classdesc serialVersionUID =
> 7690895426891445405, local class serialVersionUID = -8446165016999701001}
> Nov 22, 2013 11:05:23 PM
> org.apache.openejb.arquillian.common.TomEEContainer
> deploy
> SEVERE: appInfo was not found for
> C:\Users\Wolfgang\AppData\Local\Temp\0\cibetArq1.war, available are: []
> org.apache.openejb.OpenEJBException: can't get appInfo
>         at
>
> org.apache.openejb.arquillian.common.TomEEContainer.deploy(TomEEContainer.java:255)/
>
> I tried many other configurations, playing around with the not-documented
> secret properties (like catalina_opts), but always with other errors.
> I also did not find out how to define a datasource in tomee.xml and how to
> add libs in tomees lib dir. Documentation is too scarce to help me.
> Therefore, I tried deploying on a running 1.5.1 Tomee, following your  blog
> entry
> <
> http://rmannibucau.wordpress.com/2012/06/17/arquillian-and-existing-tomee/
> >
> . I get another error:
>
> /Tests run: 2, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 12.719 sec
> <<< FAILURE! - in com.logitags.cibet.helper.arquillian.TomeeAIT
> testPojoInvoke(com.logitags.cibet.helper.arquillian.TomeeAIT)  Time
> elapsed:
> 0.034 sec  <<< ERROR!
> java.lang.IllegalStateException: Error launching test
> com.logitags.cibet.helper.arquillian.TomeeAIT public void
> com.logitags.cibet.helper.arquillian.AbstractArquillian.testPojoInvoke()
> throws java.lang.Exception
>         at
>
> org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.invoke(ServletMethodExecutor.java:103)
>   ...
> Caused by: java.lang.IllegalStateException: Error launching test at
>
> http://localhost:8680/cibetArq1/ArquillianServletRunner?outputMode=serializedObject&className=com.logitags.cibet.helper.arquillian.TomeeAIT&methodName=testPojoInvoke
> .
> Got 500 (Internal Server Error)
>         at
>
> org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.execute(ServletMethodExecutor.java:214)/
>
> There is no class from tomee in the error stack trace, only
> jboss.arquillian.
> and in the server log:
>
> /Nov 22, 2013 10:53:44 PM org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/cibetArq1] appears to have started a thread
> named
> [org.apache.openejb.pool.scheduler.5] but has failed to stop it. This is
> very likely to create a memory leak.
> /
> Do you have any idea?
> (BTW, I am a colleague from WL Aachen, but this work is for my private open
> source project  Cibet <http://www.logitags.com/cibet>  )
> thanks Wolfgang
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Using-VM-args-in-Tomee-Arquillian-adapter-tp4666311p4666339.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to