Wang Jun
2005-06-07 11:44:45 UTC
Hi,all,
My problem is the same as
http://mail.sourceid.org/pipermail/sso-users/2004-June/000428.html
There is no answer yet.
Please help.
My environment is:
jdk1.4.2
Tomcat 5.0.28
Mysql jdbc/sourceid
<!--account-handler>org.sourceid.sso.handlers.AccountHandlerInMemoryImpl</account-handler-->
<account-handler>org.sourceid.sso.handlers.AccountHandlerJDBC</account-handler>
http://localhost:8080/sso-sample-idp/ OK, but
http://localhost:8080/sso-sample-sp/sp/index.jsp errors:
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
org.apache.jasper.JasperException: String index out of range: -1
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jsp.sp.index_jsp._jspService(index_jsp.java:49)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.String.substring(String.java:1444)
org.sourceid.sso.handlers.AccountHandlerJDBC.unmungeName(AccountHandlerJDBC.java:247)
org.sourceid.sso.handlers.AccountHandlerJDBC.getNamePair(AccountHandlerJDBC.java:204)
--------------------------------------------------------------------------------
Jack Wang
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
My problem is the same as
http://mail.sourceid.org/pipermail/sso-users/2004-June/000428.html
There is no answer yet.
Please help.
My environment is:
jdk1.4.2
Tomcat 5.0.28
Mysql jdbc/sourceid
<!--account-handler>org.sourceid.sso.handlers.AccountHandlerInMemoryImpl</account-handler-->
<account-handler>org.sourceid.sso.handlers.AccountHandlerJDBC</account-handler>
http://localhost:8080/sso-sample-idp/ OK, but
http://localhost:8080/sso-sample-sp/sp/index.jsp errors:
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
org.apache.jasper.JasperException: String index out of range: -1
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jsp.sp.index_jsp._jspService(index_jsp.java:49)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.String.substring(String.java:1444)
org.sourceid.sso.handlers.AccountHandlerJDBC.unmungeName(AccountHandlerJDBC.java:247)
org.sourceid.sso.handlers.AccountHandlerJDBC.getNamePair(AccountHandlerJDBC.java:204)
--------------------------------------------------------------------------------
Jack Wang
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn