> the InitContextsAction doesn't work . and the error is? -jon My Setting in TurbienResources.properties is contexts=true action.initcontexts=InitContextsAction context.ldap.java.naming.provider.url=ldap://localhost:389/o=JNDITutorial context.ldap.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory And When I reache the Turbine through browser error happened. ( If contexts=false , then no problem. I can see the welcome screen and I can enter the system) The Error is ------------------------------------------- There has been an error! Please review the exception below for more information. Get/Post Data: screen = Login The exception is: java.lang.ClassCastException: context.ldap.java.naming.provider.url doesn't map to a String object at org.apache.java.util.Configurations.getString(Compiled Code) at org.apache.java.util.Configurations.getString(Compiled Code) at org.apache.turbine.util.GenericResources.getString(Compiled Code) at org.apache.turbine.modules.actions.InitContextsAction.build(Compiled Code) at org.apache.turbine.modules.ActionLoader.exec(Compiled Code) at Turbine.doGet(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.tomcat.core.ServiceInvocationHandler.method(Compiled Code) at org.apache.tomcat.core.ServletWrapper.handleInvocation(Compiled Code) at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code) at org.apache.tomcat.core.InvokerServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.tomcat.core.ServiceInvocationHandler.method(Compiled Code) at org.apache.tomcat.core.ServletWrapper.handleInvocation(Compiled Code) at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code) at org.apache.tomcat.core.Context.handleRequest(Compiled Code) at org.apache.tomcat.core.ContextManager.service(Compiled Code) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection (Compiled Code) at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code) at java.lang.Thread.run(Compiled Code) java.lang.ClassCastException: context.ldap.java.naming.provider.url doesn't map to a String object ---------------------- Thanks, youngho ------------------------------------------------------------ To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Problems?: [EMAIL PROTECTED]
