tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Broadhead (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (TOMEE-1641) openejb deploymentid format changes WS endpoint
Date Thu, 22 Oct 2015 07:25:27 GMT

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

Matthew Broadhead edited comment on TOMEE-1641 at 10/22/15 7:25 AM:
--------------------------------------------------------------------

surely this is not desirable default behaviour.  if 2 webapps are deployed each containing
an EJB called "DAO" they will clash on the naming.  the default deploymentid format should
be 
{noformat}{moduleId}/{ejbName}{noformat} (or similar).  setting this manually should not break
all the webservice endpoints and require another setting to fix.  it should work straight
out of the box?


was (Author: chongma):
surely this is not desirable default behaviour.  if 2 webapps are deployed each containing
an EJB called "DAO" they will clash on the naming.  the default deploymentid format should
be {moduleId}/{ejbName} (or similar).  setting this manually should not break all the webservice
endpoints and require another setting to fix.  it should work straight out of the box?

> openejb deploymentid format changes WS endpoint
> -----------------------------------------------
>
>                 Key: TOMEE-1641
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1641
>             Project: TomEE
>          Issue Type: Bug
>          Components: TomEE Core Server
>    Affects Versions: 1.7.2
>            Reporter: Matthew Broadhead
>         Attachments: test.war, test.zip
>
>
> Attached is a test war
> 1. run maven goal "clean package tomee:run"
> 2. navigate to endpoint http://localhost:8080/test-0.0.1-SNAPSHOT/webservices/Test?wsdl
> 3. run maven goal "tomee:stop"
> 4. edit file src/test/tomee/conf/system.properties.  uncomment line "# openejb.deploymentId.format
= {appId}/{ejbJarId}/{ejbName}".
> 5. run maven goal "clean package tomee:run"
> 6. navigate to endpoint http://localhost:8080/test-0.0.1-SNAPSHOT/webservices/test-0.0.1-SNAPSHOT/test-0.0.1-SNAPSHOT/Test?wsdl
> endpoint has changed .  extra "/test-0.0.1-SNAPSHOT/test-0.0.1-SNAPSHOT" inserted in
middle



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message