Yes

Think the issue is not fully linked but tge conf looks good
Le 16 juil. 2015 00:29, "Leonardo K. Shikida" <[email protected]> a écrit :

> btw it's 1.6.0.2 (just saw some discussion about 1.7.1/2 here --
> https://issues.apache.org/jira/browse/TOMEE-1460)
>
> cxf.properties must have something like this?
>
> virtualHost = myhost.mydomain.com
>
> []
>
> Leo
>
> On Wed, Jul 15, 2015 at 3:52 PM, Romain Manni-Bucau <[email protected]
> >
> wrote:
>
> > Hi
> >
> > Weird if on a recent version, if not editing host in
> > conf/conf.d/cxf.properties can help
> > Le 15 juil. 2015 20:27, "Leonardo K. Shikida" <[email protected]> a
> écrit
> > :
> >
> > > not sure if I am doing it right
> > >
> > > I've changed tomee's server.xml like
> > >
> > > <Engine name="Catalina" defaultHost="myhost.mydomain.com">
> > >
> > > and
> > >
> > > <Host name="myhost.mydomain.com"  appBase="webapps"
> > >             unpackWARs="true" autoDeploy="true">
> > >
> > > and I am getting
> > >
> > > java.lang.IllegalArgumentException: Invalid virtual host 'localhost'.
> Do
> > > you have a matchiing Host entry in the server.xml?
> > >
> > > and
> > >
> > > javax.naming.NameNotFoundException: Name [global/MyApp/TimerWorker] is
> > not
> > > bound in this Context. Unable to find [global].
> > >     at org.apache.naming.NamingContext.lookup(NamingContext.java:819)
> > >     at org.apache.naming.NamingContext.lookup(NamingContext.java:167)
> > >     at
> org.apache.naming.SelectorContext.lookup(SelectorContext.java:156)
> > >     at javax.naming.InitialContext.lookup(InitialContext.java:411)
> > >
> > >
> > >
> > > []
> > >
> > > Leo
> > >
> > > On Wed, Jul 15, 2015 at 12:47 PM, Romain Manni-Bucau <
> > > [email protected]>
> > > wrote:
> > >
> > > > Hi
> > > >
> > > > did you change the host inserver.xml? guess you kept localhost. That
> > said
> > > > not sure you can get the host instead of the IP. Alternative is to
> > > provide
> > > > the wsdl instead of letting it be generated
> > > >
> > > >
> > > > Romain Manni-Bucau
> > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > <http://rmannibucau.wordpress.com> | Github <
> > > > https://github.com/rmannibucau> |
> > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> > > > <http://www.tomitribe.com>
> > > >
> > > > 2015-07-15 17:42 GMT+02:00 Leonardo K. Shikida <[email protected]>:
> > > >
> > > > > Hi
> > > > >
> > > > > my generated wsdl is generated like this
> > > > >
> > > > > <wsdl:service name="XYZWSService">
> > > > >     <wsdl:port binding="tns:XYZWSServiceSoapBinding"
> > name="XYZWSPort">
> > > > >       <soap:address location="*
> > > > http://127.0.0.1:9998/ABC/webservices/XYZWS
> > > > > <http://127.0.0.1:9998/ABC/webservices/XYZWS>*"/>
> > > > >     </wsdl:port>
> > > > >   </wsdl:service>
> > > > > </wsdl:definitions>
> > > > >
> > > > > I'd like it to be
> > > > >
> > > > > <wsdl:service name="XYZWSService">
> > > > >     <wsdl:port binding="tns:XYZWSServiceSoapBinding"
> > name="XYZWSPort">
> > > > >       <soap:address
> > > > > location="*http://mysite.mydomain:9998/ABC/webservices/XYZWS
> > > > > <http://mysite.mydomain:9998/ABC/webservices/XYZWS>*"/>
> > > > >     </wsdl:port>
> > > > >   </wsdl:service>
> > > > > </wsdl:definitions>
> > > > >
> > > > > how do I do that?
> > > > >
> > > > > TIA
> > > > >
> > > > > Leo
> > > > >
> > > >
> > >
> >
>

Reply via email to