Hello
I use tomee+arquillian+eclipse to test my ejb beans (war apps) in remote
mode. It work generally fine, but I have two problems:
- now I test code via server runs on localhost, when I start junit there is
in log:sty 12, 2016 11:08:07 AM
org.apache.tomee.arquillian.remote.RemoteTomEEContainer start
INFO: TomEE found running on local port 8080
sty 12, 2016 11:08:10 AM org.apache.openejb.client.EventLogger log
INFO:
RemoteInitialContextCreated{providerUri=http://localhost:8080/tomee/ejb}
sty 12, 2016 11:08:19 AM org.apache.openejb.client.EventLogger log
INFO:
RemoteInitialContextCreated{providerUri=http://localhost:8080/tomee/ejb}
It's great but I would like to use tomee runs on remote server not my
desktop. I have tried to solve this problem like in this thread
http://tomee-openejb.979440.n4.nabble.com/Arquillian-and-Remote-TomEE-td4671015.html
but it doesn't help.
- after test are finished in eclispe console I see: sty 12,
2016 11:08:20 AM org.apache.openejb.arquillian.common.TomEEContainer
undeploy
INFO: cleaning
E:\Users\ALIEN\AppData\Local\Temp\arquillian-tomee-app-working-dir\0\tmobile_dn_skf_body.war
sty 12, 2016 11:08:20 AM org.apache.openejb.arquillian.common.TomEEContainer
undeploy
INFO: cleaning
E:\Users\alien\AppData\Local\Temp\arquillian-tomee-app-working-dir\0\tmobile_dn_skf_body
sty 12, 2016 11:08:20 AM org.apache.openejb.arquillian.common.Files delete
SEVERE: can't delete
E:\Users\alien\AppData\Local\Temp\arquillian-tomee-app-working-dir\0\tmobile_dn_skf_body\arquillian-tomee-info.txt
sty 12, 2016 11:08:20 AM org.apache.openejb.arquillian.common.Files delete
SEVERE: can't delete
E:\Users\alien\AppData\Local\Temp\arquillian-tomee-app-working-dir\0\tmobile_dn_skf_body\WEB-INF\beans.xml
sty 12, 2016 11:08:20 AM org.apache.openejb.arquillian.common.Files delete
SEVERE: can't delete
E:\Users\alien\AppData\Local\Temp\arquillian-tomee-app-working-dir\0\tmobile_dn_skf_body\WEB-INF\classes\META-INF\persistence.xml
sty 12, 2016 11:08:20 AM org.apache.openejb.arquillian.common.Files delete
SEVERE: can't delete
E:\Users\alien\AppData\Local\Temp\arquillian-tomee-app-working-dir\0\tmobile_dn_skf_body\WEB-INF\classes\META-INF\services\org.jboss.arquillian.container.test.spi.RemoteLoadableExtension
sty 12, 2016 11:08:20 AM org.apache.openejb.arquillian.common.Files delete
SEVERE: can't delete
E:\Users\alien\AppData\Local\Temp\arquillian-tomee-app-working-dir\0\tmobile_dn_skf_body\WEB-INF\classes\META-INF\services
and mamy more lines. How to prevent it?
My arquillian.xml is:
<?xml version="1.0"?>
<arquillian xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://jboss.org/schema/arquillian
http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
<container qualifier="tomee-remote">
<configuration>
<property name="httpPort">-1</property>
<property name="stopPort">-1</property>
<property name="ajpPort">-1</property>
<property name="classifier">webprofile</property>
<property name="dir">target/apache-tomee-remote</property>
<property
name="appWorkingDir">target/arquillian-test-working-dir-2</property>
<property name="cleanOnStartUp">true</property>
<property name="simpleLog">true</property>
</configuration>
</container>
</arquillian>
-----
Best Regards
sw
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/Arquillan-and-remote-mode-tp4677431.html
Sent from the TomEE Users mailing list archive at Nabble.com.