Hi,

I tried JMX, I can see the web services, but I was not able to figure out
where they are deployed.


​

On tomcat manager the ROOT webapp is displayed twice, one versioned and the
other not, as it used to happen with webapps that were not named ROOT too:
https://issues.apache.org/jira/projects/TOMEE/issues/TOMEE-1412?filter=reportedbyme


Server log when deployed as ROOT.war

3-Sep-2017 14:19:17.301 ADVERTÊNCIA [localhost-startStop-1]
org.apache.catalina.core.StandardContext.setPath A context path must either
be an empty string or start with a '/' and do not end with a '/'. The path
[/] does not meet these criteria and has been changed to []
13-Sep-2017 14:19:17.328 INFORMAÇÕES [localhost-startStop-1]
org.apache.openejb.server.webservices.WsService.deployApp Webservice(wsdl=
http://localhost:8080/UsuarioWebService, qname={
http://ws.portalservicos.spdata.com.br/}UsuarioWebServiceService) -->
Ejb(id=ROOT##20170912-1552/##20170912-1552/UsuarioWebService)
13-Sep-2017 14:19:17.383 INFORMAÇÕES [localhost-startStop-1]
org.apache.openejb.server.webservices.WsService.deployApp Webservice(wsdl=
http://localhost:8080/ws/TipoEquipamentoWebService, qname={
http://ws.portalservicos.spdata.com.br/}TipoEquipamentoWebServiceService)
--> Ejb(id=ROOT##20170912-1552/##20170912-1552/TipoEquipamentoWebService)
13-Sep-2017 14:19:17.384 INFORMAÇÕES [localhost-startStop-1]
org.apache.openejb.assembler.classic.Assembler.createApplication Deployed
Application(path=/home/fjaekel/java/servers/apache-tomee-plus-7.0.3/webapps/ROOT##20170912-1552)


Server log when deployed as PortalServicos.war

13-Sep-2017 14:19:21.691 INFORMAÇÕES [localhost-startStop-1]
org.apache.openejb.server.webservices.WsService.deployApp Webservice(wsdl=
http://localhost:8080/PortalServicos/ws/UsuarioWebService, qname={
http://ws.portalservicos.spdata.com.br/}UsuarioWebServiceService) -->
Ejb(id=PortalServicos##20170912-1655/PortalServicos##20170912-1655/UsuarioWebService)
13-Sep-2017 14:19:21.754 INFORMAÇÕES [localhost-startStop-1]
org.apache.openejb.server.webservices.WsService.deployApp Webservice(wsdl=
http://localhost:8080/PortalServicos/ws/TipoEquipamentoWebService, qname={
http://ws.portalservicos.spdata.com.br/}TipoEquipamentoWebServiceService)
-->
Ejb(id=PortalServicos##20170912-1655/PortalServicos##20170912-1655/TipoEquipamentoWebService)
13-Sep-2017 14:19:21.754 INFORMAÇÕES [localhost-startStop-1]
org.apache.openejb.assembler.classic.Assembler.createApplication Deployed
Application(path=/home/fjaekel/java/servers/apache-tomee-plus-7.0.3/webapps/PortalServicos##20170912-1655)

2017-09-13 10:59 GMT-03:00 Romain Manni-Bucau <rmannibu...@gmail.com>:

> Hi Felipe,
>
> maybe check through JMX if you don't have another context where it would be
> deployed
>
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://blog-rmannibucau.rhcloud.com> | Old Blog
> <http://rmannibucau.wordpress.com> | Github <https://github.com/
> rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
> <https://javaeefactory-rmannibucau.rhcloud.com>
>
> 2017-09-13 15:56 GMT+02:00 Felipe Jaekel <fkjae...@gmail.com>:
>
> > Hi Romain,
> >
> > I tried 7.0.3 and got the same result. I forgot to mention that I also
> > change this line on system.properties:
> >
> > openejb.wsAddress.format = /{ejbName}
> >
> > 2017-09-13 2:20 GMT-03:00 Romain Manni-Bucau <rmannibu...@gmail.com>:
> >
> > > Hi Felipe
> > >
> > > Can you try with tomee 7.0.3?
> > >
> > >
> > >
> > >
> > >
> > > Le 12 sept. 2017 22:51, "Felipe Jaekel" <fkjae...@gmail.com> a écrit :
> > >
> > > Hi,
> > >
> > > I have several TomEE 7.0.2 plus instances on production running a
> single
> > > webapp each, so I deploy it as ROOT.war (parallel deployment). I have
> > > implemented some web services, but when I try to access them I get a
> 404
> > > error. If I deploy the webapp with a different name from ROOT I'm able
> to
> > > access these web services(also using parallel deployment).
> > >
> > > Changes I made on system.properties:
> > >
> > > tomee.jaxws.subcontext = ws
> > >
> > > openejb.deploymentId.format = {appId}/{ejbJarId}/{ejbName}
> > > openejb.jndiname.format = {deploymentId}{interfaceType.annotationName}
> > >
> > >
> > > I noticed this on the log:
> > >
> > > 12-Sep-2017 17:29:13.663 WARNING [localhost-startStop-1]
> > > org.apache.catalina.core.StandardContext.setPath A context path must
> > > either
> > > be an empty string or start with a '/' and do not end with a '/'. The
> > path
> > > [/] does not meet these criteria and has been changed to []
> > >
> > >
> > > Do I need additional config?
> > >
> > > Thanks
> > >
> >
>

Reply via email to