-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You can not expect StringIndexOutofBoundsExceptions even when the input is wrong :). There should be a flow in the code. Was trying to understand the code, but there weren't enough comment in it. Will look at it later.
Keith might be able to help fix this better than anyone I think ;) Thanks, Chinthaka Amila Suriarachchi wrote: > what is the url you used. I think the problem is with the url format. > > On 5/18/07, *Jeremy Smith* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Axis2 1.2 > Apache Tomcat/5.5.12 > Servlet version2.4 > > I only want to serve this one service; it's the only one I had and > there's no need for (apparently) failure-prone URI parsing. I wish I > knew how to configure this stuff. > > Jeremy > > > Deepal Jayasinghe wrote: > > Hi Jeremy , > > What is the axis2 version , is it Axis2 1.2 ? > > > > Thanks > > Deepal > > > >> I've got a server with an internal IP address and an external IP > >> address. When I access the WSDL for my service via the external > >> address, everything is fine. When I access it using the internal > >> address (even when I'm actually ON the machine - this error also > >> occurs if I use "localhost" instead of the external address) I get > >> this error: > >> > >> java.lang.StringIndexOutOfBoundsException : String index out of > range: -11 > >> java.lang.String.substring(String.java:1444) > >> java.lang.String.substring(String.java:1411) > >> > org.apache.axis2.engine.HTTPLocationBasedDispatcher.parseRequestURL > (HTTPLocationBasedDispatcher.java:106) > >> > >> > > org.apache.axis2.engine.HTTPLocationBasedDispatcher.findOperation(HTTPLocationBasedDispatcher.java:52) > >> > >> org.apache.axis2.engine.AbstractDispatcher.invoke > (AbstractDispatcher.java:100) > >> > >> > > org.apache.axis2.transport.http.util.RESTUtil.dispatchAndVerify(RESTUtil.java:138) > >> > >> > org.apache.axis2.transport.http.util.RESTUtil.processURLRequest > (RESTUtil.java:95) > >> > >> > > org.apache.axis2.transport.http.AxisServlet$ProcessRESTRequest.processURLRequest(AxisServlet.java:776) > >> > >> org.apache.axis2.transport.http.AxisServlet.doGet > (AxisServlet.java:238) > >> > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > >> > >> Tomcat 5.5 , IBM Java 1.4, Recent (~2 weeks ago) download of > axis2 WAR > >> release. > >> > >> Any ideas what the problem could be? > >> > >> Thanks, > >> Jeremy > >> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > >> For additional commands, e-mail: [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > >> > >> > >> > >> > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > > > > -- > Amila Suriarachchi, > WSO2 Inc. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGU2TVjON2uBzUhh8RAtXVAJ4vgsPYDc3cBr/4MtQrLdE07v7JUQCgggIH x3z92hex6dAnQuqP4K1dJsc= =30D4 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
