HTTP Status 501 - Error

2003-04-01 Thread mgp2
Hi all. I have a servlet that to load it I obtain the following error: HTTP Status 501 - The ??M??654??jGET method isn't define in RFC 2068 specification and does not support the API Servlet. Description: The server does not support the functionality needed to fulfill this request. For

Error to create the keystores

2003-03-20 Thread mgp2
Hi. I have a web server Tomcat 4.1.18 and it works fine. My problem is when I create the keystore tomcat of manual form. I have created two Java methods: addCertToKeyStore and addPKToKeyStore. I realize the following step to create my own keystore: - I add CA certificate in JDK keystore

Re: Tomcat can't do client certificate authentication

2003-03-17 Thread mgp2
Correct. Tomcat can't do client authentication. For this, you have to implement a Realm (JDBCRealm, JNDIRealm, etc) and you realize the authentication. See http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html - At 08:52 17/03/2003 +, you

Error page when user cancel the certificate authentication

2003-03-17 Thread mgp2
Hi I have a JNDIRealm with certificate authentication. When the user cancel the authentication he see a error page: Cancelled Action. How can I include my own error page when the user cancel the certificate authentication?? Regards.

Send parameters to the JNDIRealm

2003-03-11 Thread mgp2
Hi. I have an application that it connects to a servlet and send it a set of parameters through OutputStream. I have a JNDIRealm installed and when the application connects to the servlet, my Realm can't to map these parameters (with the client certificate) a none authenticate() method. What

Connection among application and servlet

2003-03-10 Thread mgp2
Hi all. I've an application that it connects with a servlet through HttpsURLConnection class. My problem is when I intend to send data on this connection. Application: HttpsURLConnection servConn = new HttpsURLConnection(new URL(servlet)); servConn.setSSLContext(context); -- this context

Re: Connection among application and servlet

2003-03-10 Thread mgp2
Thanks for your help. Yes. I have the input stream opened: ObjectOutputStream oos = new ObjectOutputStream(servConn.getOutputStream()); oos.writeObject(object to send); oos.close(); ObjectInputStream ois = new ObjectInputStream(servConn.getInputStream()); ois.readObject();

Re: Connection among application and servlet

2003-03-10 Thread mgp2
I'm sorry... I obtain the same error ;-(( Regards. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Connection among application and servlet

2003-03-10 Thread mgp2
Hi Pratt. I have proved with ArrayBytesOutputStream, DataOutputStream, BufferedOutputStream and ObjectOutputStream. None of these classes work fine. I don't know where is the error. I think that this error is related with JNDIRealm. I have created a JNDIRealm for client authentication through