Hi, thanks for your replies. I could solve the problem by mapping the full-qualified hostname to the external IP-adress in the /etc/hosts file. Thanks for your help. I think it was just a server configuration rather than a muse/axis problem. Regards, Christian
Although, is the dns-lookup so "expensive" that we use the IP-adress? In long-running processes IP adresses could get changed and messages could get lost.... perhaps that would be a good thing to be configurable at deployment-time? .Freitag, 2. Februar 2007 18:40 To: <[email protected]> cc: From: "Srinivasan Packirisamy \(spackiri\)" <[EMAIL PROTECTED]> Subject: RE: Local-EPR with axis2 platform I believe the issue is because localhost maps to 127.0.0.1. I have tried mapping the localhost to the ethernetIP (etc/hosts) of my machine and things work fine. But, not sure whether that's the right thing to do. Thank You, ~Srini -----Original Message----- From: Daniel Jemiolo [mailto:[EMAIL PROTECTED] Sent: Friday, February 02, 2007 9:24 AM To: [email protected] Subject: Re: Local-EPR with axis2 platform one more thing - yes, you can access AxisEnvironment programmatically and call setDefaultURI() to hack around this. that will allow you to keep working while I study the problem. Dan Christian Ewers <[EMAIL PROTECTED]> wrote on 02/02/2007 08:25:44 AM: > > Hi, > > I'm trying to switch from the mini to the axis2 environment. I still have > one problem. > When calling "getResource().getEndpointReference()" > within a capability I get a full qualified hostname as adress when using > the mini-plattform, but under axis2 I always get the local IP (127.0.0.1) > as adress. > > Can I change that behavior by any axis2 or server configuration? Or can I > access the AxisEnvironment class programmatically to change the defaultURI? > > thanks, > Christian > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
