tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabian Schwarzer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TOMEE-1102) Remote adapter does transfer war to remote TomEE, but only path
Date Tue, 07 Jan 2014 16:44:05 GMT

    [ https://issues.apache.org/jira/browse/TOMEE-1102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864374#comment-13864374
] 

Fabian Schwarzer commented on TOMEE-1102:
-----------------------------------------

I reckon that https://github.com/apache/tomee/blob/trunk/arquillian/arquillian-tomee-common/src/main/java/org/apache/openejb/arquillian/common/IO.java
line 142 might be the reason:
return new String(outputStream.toByteArray(), "UTF-8");

The interpretation as UTF-8 is not the best way to go.

> Remote adapter does transfer war to remote TomEE, but only path
> ---------------------------------------------------------------
>
>                 Key: TOMEE-1102
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1102
>             Project: TomEE
>          Issue Type: Improvement
>          Components: TomEE Arquillian Adapters
>    Affects Versions: 1.6.0
>            Reporter: Fabian Schwarzer
>            Priority: Blocker
>         Attachments: TOMEE-1102.patch
>
>
> Previous discussion on the user mailing list: http://openejb.979440.n4.nabble.com/Arquillian-remote-adapter-not-able-to-deploy-to-a-quot-really-remote-quot-TomEE-td4666941.html
> ------------------------------------------
> The TomEE remote adapter does not work in a setup where an already running remote TomEE
is not on the same system as the JVM that executes the Arquillian tests.
> The reason for this is that TomEEContainer#deploy (https://github.com/apache/tomee/blob/tomee-1.6.0/arquillian/arquillian-tomee-common/src/main/java/org/apache/openejb/arquillian/common/TomEEContainer.java)
does not deploy the archive but only passes the archives path to the remotly running TomEE.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message