error using jsse: cannot recover key
Hello, i have generated the RSA key by using keytool & then as per the configuration i have done the setting in the server.xml file. I am using jsse for SSL. when i start my server then it gives me java.io.IOException:Cannot recover key Please resolve the problem Thanks Mehul ***** Mehul S Dave Scientific Officer,(STCS Dept.). School of Technology and Computer Science Tata Institute of Fundamental Research Phone -091 22 2152971 Extn - 2550 Mumbai . webpage:- http://www.ecom.tifr.res.in/~mehul http://www.tifr.res.in/~mehul (Keep Smiling Forever))) * -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
how to do client authentication
hello, Hi, I m using tomcat as servlet engine,& JSSE API for enabling SSL functionality.I have made the settings in the server.xml file to aunthenticate server & also for the client. On my server machine i have the servers certificate & on client it has got clients certificate. When my website page is accessed the the server is authenticated by the client but not the vice versa(client is not authenticated by its certificate). Please tell me wat things to do.. Thanking you Mehul ********* Mehul S Dave Scientific Officer,(STCS Dept.). School of Technology and Computer Science Tata Institute of Fundamental Research Phone -091 22 2152971 Extn - 2550 Mumbai . webpage:- http://www.ecom.tifr.res.in/~mehul http://www.tifr.res.in/~mehul (Keep Smiling Forever))) * -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
SSL-tomcat probs
Hello everyone, Well i had configured my site with SSL functionality. I had set the parameters in Server.xml files perfect . one of it is : parameter = clientAuth value=true which means it expects the personal Certificate fom the client . I had tested & i got a personal certi on my Browser but when i connect to my SSL site i says that u dont have any Personal Certs. Please tell some Solution to resolve it. Thanks in advance ***** Mehul S Dave Scientific Officer, (STCS Dept.), Tata Institute of Fundamental Research Phone - 2152971 Extn - 2372 Mumbai . webpage:- http://www.ecom.tifr.res.in/~mehul *
JSSE SSL with tomcat
Hello everyone, Well i had configured my site with SSL functionality. I had set the parameters in Server.xml files perfect . one of it is : parameter = clientAuth value=true which means it expects the personal Certificate fom the client . I had tested & i got a personal certi on my Browser but when i connect to my SSL site i says that u dont have any Personal Certs. Please tell some Solution to resolve it. Thanks in advance ***** Mehul S Dave Scientific Officer, (STCS Dept.), Tata Institute of Fundamental Research Phone - 2152971 Extn - 2372 Mumbai . webpage:- http://www.ecom.tifr.res.in/~mehul *
RE: tomcat-SSL
Hello Thanks for the reply . Well i get some problems I have my Personal Certificate . When i click on Security of Netscape Browser & see Certificates Yours i can view my Certificates. its fine. But now i connect to my ssl tomcat enabled site it gives me message that The site has requested client authentication, but you do not have a Personal Certificate to authenticate yourself. The site may choose not to give you access without one. But i got my Personal Certificate already . I also manually import the certi in keystore by keytool. Please give the solution. Thanks. ***** Mehul S Dave Scientific Officer, (STCS Dept.), Tata Institute of Fundamental Research Phone - 2152971 Extn - 2372 Mumbai . webpage:- http://www.ecom.tifr.res.in/~mehul *
tomcat-SSL
Hi I have configured tomcat-SSL as an Standalone. Its working Fine I have used JSSE Well i need some more step-by step dtails for more Secured Authentication. In the Server.XML in the SSL phase if i set parameter=clientAuth value=true then it will expect clients Certificate too from the Client side. I wanna know on the Server side how do i have the clients Certificate for Authentication. Or any other Steps for Client Authentication with respect to Certificates. Thanking you. Bye * Mehul S Dave Scientific Officer, (STCS Dept.), Tata Institute of Fundamental Research Phone - 2152971 Extn - 2372 Mumbai . webpage:- http://www.ecom.tifr.res.in/~mehul *
Who should use JDBC realm
Hi I wanna know about JDBC realm. Who should use it & Y. Please let me know Thanks. ***** Mehul S Dave Scientific Officer, (STCS Dept.), Tata Institute of Fundamental Research Phone - 2152971 Extn - 2372 Mumbai . webpage:- http://www.ecom.tifr.res.in/~mehul *
UnsatisfiedLinkError : ocijdbc8 in shared Library path.
ello i am getting this unsatisfied error whenever i use servlet & in my servlet i am using JDBC for connecting to Oracle. i need to know the solution for this please do let me know . Also do i need to know the JDBC re-alm set-up in Tomcat server. java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared library path at java.lang.Runtime.loadLibrary(Runtime.java) at java.lang.System.loadLibrary(System.java) at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java) at oracle.jdbc.driver.OracleConnection.(OracleConnection.java) at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java) at java.sql.DriverManager.getConnection(DriverManager.java:83) at java.sql.DriverManager.getConnection(DriverManager.java:126) at sdsi.sdsi.doGet(sdsi.java:29) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) at org.apache.tomcat.core.Handler.service(Handler.java:287) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) at java.lang.Thread.run(Thread.java) ***** Mehul S Dave Scientific Officer, (STCS Dept.), Tata Institute of Fundamental Research Phone - 2152971 Extn - 2372 Mumbai . webpage:- http://www.ecom.tifr.res.in/~mehul *
I am geeting no ocijdbc8 in shared Library path error
Hello. Hi it was going all fine. I am using JDBC . oci8 for Oracle Driver it was working well & very fine & suddenly now whenever i invoke an servlet of any JDBC driver this error comes. Error :java.lang.NullPointerException: 2001-07-29 21:50:59 - Ctx( /sdsi ): Exception in: R( /sdsi + /servlet/sdsi.sdsi + null) - java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared library path at java.lang.Runtime.loadLibrary(Runtime.java) at java.lang.System.loadLibrary(System.java) at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java) at oracle.jdbc.driver.OracleConnection.(OracleConnection.java) at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja va) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java) at java.sql.DriverManager.getConnection(DriverManager.java:83) at java.sql.DriverManager.getConnection(DriverManager.java:126) at sdsi.sdsi.doGet(sdsi.java:29) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:4 05) at org.apache.tomcat.core.Handler.service(Handler.java:287) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372 ) at org.apache.tomcat.core.ContextManager.internalService(ContextManager. java:812) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758 ) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio n(HttpConnectionHandler.java:213) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java :501) at java.lang.Thread.run(Thread.java) ***** Mehul S Dave Scientific Officer, (STCS Dept.), Tata Institute of Fundamental Research Phone - 2152971 Extn - 2372 Mumbai . webpage:- http://www.csc.tifr.res.in/~mehul *
libocijdbc8.so: cannot open shared object file: No such file ordirectory (libocijdbc8.so)
Hello. Hi it was going all fine. I am using JDBC . oci8 for Oracle Driver it was working well & very fine & suddenly now whenever i invoke an servlet of any JDBC driver this error comes. Error :java.lang.NullPointerException: 2001-07-29 21:50:59 - Ctx( /sdsi ): Exception in: R( /sdsi + /servlet/sdsi.sdsi + null) - java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared library path at java.lang.Runtime.loadLibrary(Runtime.java) at java.lang.System.loadLibrary(System.java) at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java) at oracle.jdbc.driver.OracleConnection.(OracleConnection.java) at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja va) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java) at java.sql.DriverManager.getConnection(DriverManager.java:83) at java.sql.DriverManager.getConnection(DriverManager.java:126) at sdsi.sdsi.doGet(sdsi.java:29) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:4 05) at org.apache.tomcat.core.Handler.service(Handler.java:287) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372 ) at org.apache.tomcat.core.ContextManager.internalService(ContextManager. java:812) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758 ) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio n(HttpConnectionHandler.java:213) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java :501) at java.lang.Thread.run(Thread.java) Please help. Thanks in Advance ***** Mehul S Dave Scientific Officer, (STCS Dept.), Tata Institute of Fundamental Research Phone - 2152971 Extn - 2372 Mumbai . webpage:- http://www.csc.tifr.res.in/~mehul *
How to initialise the Servlets
I am using Tomcat on NT. I wanna know how to initialise the servlet . In which conf file & how. Thank U ***** Mehul S Dave Scientific Officer, (STCS Dept.), Tata Institute of Fundamental Research Phone - 2152971 Extn - 2372 Mumbai . webpage:- http://www.csc.tifr.res.in/~mehul *
problem when running on 8080 port
Hello still i am trying to run my tomcat but it failed. I tried to run on port 8080 & it should me this error java.net.SocketException: Socket closed at java.net.PlainSocketImpl.close(PlainSocketImpl.java:408) at java.net.SocketImpl.reset(SocketImpl.java:227) at java.net.ServerSocket.implAccept(ServerSocket.java:207) at java.net.ServerSocket.accept(ServerSocket.java:181) at org.apache.tomcat.service.SimpleTcpEndpoint.acceptSocket(SimpleTcpEndpoint.java:267) at org.apache.tomcat.service.SimpleTcpEndpoint.acceptConnections(SimpleTcpEndpoint.java:248) at org.apache.tomcat.service.TcpListenerThread.run(SimpleTcpEndpoint.java:319) at java.lang.Thread.run(Thread.java) Endpoint ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080] shutdown due to exception: java.net.SocketException: Socket closed java.net.SocketException: Socket closed at java.net.PlainSocketImpl.close(PlainSocketImpl.java:408) at java.net.SocketImpl.reset(SocketImpl.java:227) at java.net.ServerSocket.implAccept(ServerSocket.java:207) at java.net.ServerSocket.accept(ServerSocket.java:181) at org.apache.tomcat.service.SimpleTcpEndpoint.acceptSocket(SimpleTcpEndpoint.java:267) at org.apache.tomcat.service.SimpleTcpEndpoint.acceptConnections(SimpleTcpEndpoint.java:248) at org.apache.tomcat.service.TcpListenerThread.run(SimpleTcpEndpoint.java:319) at java.lang.Thread.run(Thread.java) Endpoint ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8007] shutdown due to exception: java.net.SocketException: Socket closed Thanks. ***** Mehul S Dave Scientific Officer, (STCS Dept.), Tata Institute of Fundamental Research Phone - 2152971 Extn - 2372 Mumbai . webpage:- http://www.csc.tifr.res.in/~mehul *
starting problem for Tomcat
Hi I am getting this error when i try to start tomcat. i am under Linux 7.1 Error please give me the solution to start my server Starting tomcat. Check logs/tomcat.log for error messages FATAL:java.net.BindException: Permission denied java.net.BindException: Permission denied at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:363) at java.net.ServerSocket.(ServerSocket.java:138) at java.net.ServerSocket.(ServerSocket.java:102) at org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:97) at org.apache.tomcat.service.SimpleTcpEndpoint.startEndpoint(SimpleTcpEndpoint.java:186) at org.apache.tomcat.service.SimpleTcpConnector.start(SimpleTcpConnector.java:142) at org.apache.tomcat.core.ContextManager.start(ContextManager.java:253) at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:157) at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163) * Mehul S Dave Scientific Officer, (STCS Dept.), Tata Institute of Fundamental Research Phone - 2152971 Extn - 2372 Mumbai . webpage:- http://www.csc.tifr.res.in/~mehul *
Wat is JDBC realm basically
Hi, I am sorry to ask this easiest query but i dont have any idea about it. Wat is JDBC realm . Wat is it all about wat can i do with it? * Mehul S Dave Scientific Officer, (STCS Dept.), Tata Institute of Fundamental Research Phone - 2152971 Extn - 2372 Mumbai . webpage:- http://www.csc.tifr.res.in/~mehul *
SSL probs in Apache.
Hi everyone. I have my application running on Apache Server. I want to have SSL Authentication. I have generated my servers Self signed Certificates. I have also downloaded the openSSL & Mod-SSl & placed them according to the Mannual. In the httpd.config i have LoadModule ApacheModSSl something like that . When i start the server the file is not Recognised . Please resolve my problem. If any other solution please let me know about it. Thanking You. Mehul S Dave ***** Mehul S Dave Scientific Officer, (STCS Dept.), Tata Institute of Fundamental Research Phone - 2152971 Extn - 2372 Mumbai . webpage:- http://www.csc.tifr.res.in/~mehul *
I am getting Http status code 304
Hello Well i have recently integrated Tomcat servlet engine with Apache server. I am able to access all servlets & html files from other machine. The Funny thing is when i access the same files from the machine where the server is installed then the page doesnt exist & only the title comes & keep on finding the page. In the apache server error files it shows error 304 wat is this & how to overcome this problem Thank u Mehul S Dave Scientific Officer, Tata Institute of Fundamental Research Mumbai .
how to execute a .class file automatically when tomcat is started
Hello , I had made our Mailing module . I want that mailing module to be executed automatically when the Tomcat server is started . Please help me on how to setup such think without any extra programm to be added Thanking u Mehul S Dave Scientific Officer, Tata Institute of Fundamental Research Mumbai .