Fixed under revision #620376
On Feb 10, 2008 12:26 PM, Luciano Resende <[EMAIL PROTECTED]> wrote:
> On Feb 9, 2008 1:47 AM, ant elder <[EMAIL PROTECTED]> wrote:
> > On Feb 8, 2008 6:29 PM, Luciano Resende <[EMAIL PROTECTED]> wrote:
> >
> > > I was trying our calculator-ws-secure-webapp and calculator-ws-webapp
> > > in various web application hosts, and looks like it works fine in
> > > Tomcat 6.0.16, Geronimo 2.0.2, but it's failing in Websphere 6.1 with
> > > the following exception. I'll try to debug later today, but just want
> > > to mention here in case others might have seen this and have some
> > > tips. I hope this is a configuration issue only. I also verified that
> > > the same web-app from 1.1 release works ok.
> > >
> >
> > Just to clarify, are you saying this works with the 1.1 release but not in
> > the trunk code?
> >
>
> Yes
>
> > I'd guess this will be due to differences with the base url and context path
> > in WebSphere but haven't noticed any related changes since 1.1. Would also
> > be interesting to see if ?wsdl returns wsdl containing the different port
> > endpoints in the different environments.
> >
>
> This was introduced by the revision #619602, where we check the
> version of Servlet API in use, and if it's prior to 2.5, we use the
> code below to retrieve the web app contextPath, and in WAS environment
> we are not retrieving the proper application contextPath.
>
> int version = context.getMajorVersion() * 100 +
> context.getMinorVersion();
> if (version >= 205) {
> ....
> } else {
> contextPath = config.getInitParameter("contextPath");
> }
>
>
> > ...ant
>
> >
>
>
>
> --
> Luciano Resende
> Apache Tuscany Committer
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/
>
--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]