SSL Tomcat problem
I would like to use secure connection with Tomcat. I have followed the instructions that were given on Apache website with respect to SSL and Tomcat connection. I have put in the three jar files(jcert.jar, jnet.jar, jsse.jar) in /usr/java/jdk1.3.1_01/jre/lib/ext and have edited the /etc/profile to make sure that the jar files can be picked up. My .keystore file is located in /usr/java/jdk1.3.1_01/jre/lib/ext. I have edited the server.xml file to include SSL connection, but when I place keystoreFile='/usr/java/jdk1.3.1_01/jre/lib/ext inside Factory tag, the web browser seems to get stuck when it tries to search the web page http://localhost:8080 let alone trying to access secure connection. If I remove the keystoreFile='/usr/java/jdk1.3.1_01/jre/lib/ext from the Factory tag, then I am at least able to access http://localhost:8080 . What would I have to do so that I can access secure connection. Thanks, Sanjeev Rathore - Do You Yahoo!? Sign-up for Video Highlights of 2002 FIFA World Cup
servlet content is duplicated each time refresh button is pressed
Hi I have a servlet that calls a small Java program to display a table. Each time I press the browser refresh button, the table that came from small Java program gets duplicated. I don't understand what is going on. Why is my servlet web content getting duplicated each time I press refresh button? Thanks, Sanjeev - Do You Yahoo!? Send FREE video emails in Yahoo! Mail.
servlet JDBC PostgreSQL
If Servlet is able to access meta data of PostgreSQL database running on Tomcat 4.0. Does that mean that JDBC driver is installed correctly even though I am not able to access any of the tables in the database? thanks, sanjeev __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: reg. servlet class in tomcat server
You should edit the web.xml file that is located near one the directory where you placed the servlet. --- new software [EMAIL PROTECTED] wrote: hi , i fixed with one doubt. i need u r assistance, i.e. Where i copy my servlet class file in Tomact server and what are the settings i have to do for running my servlet class file from the browser pls assist me thank you __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat fails to start...
Hi Jack, I think you may not have installed Java on your computer. Sanjeev --- Jack Lauman [EMAIL PROTECTED] wrote: Tomcat 4.x (CVS 12-25-2001) fails to start. I'm using the following configuration: RedHat 7.0 (glibc 2.2.4-18.7.0.3) jdk1.3.1_02 commons-utils-1.1 commons-collections-1.0 commons-digester-1.1.1 commons-dbcp-20011222 commons-modeler-20011222 commons-pool-20011222 crimson-1.1.3 xerces-1.4.4 I got the following error when executing $CATALINA_HOME/bin/startup.sh and would appreciate any assistance in resolving it. Thanks, Jack End event threw exception java.lang.ClassNotFoundException: org.apache.catalina.ServerSocketFactory at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:992) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857) at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:155) at org.apache.commons.digester.Digester.endElement(Digester.java:757) at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403) at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1550) at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1809) at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1182) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098) at org.apache.commons.digester.Digester.parse(Digester.java:1170) at org.apache.catalina.startup.Catalina.start(Catalina.java:444) at org.apache.catalina.startup.Catalina.execute(Catalina.java:399) at org.apache.catalina.startup.Catalina.process(Catalina.java:178) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:246) Catalina.start: java.lang.ClassNotFoundException: org.apache.catalina.ServerSocketFactory java.lang.ClassNotFoundException: org.apache.catalina.ServerSocketFactory at org.apache.commons.digester.Digester.createSAXException(Digester.java:1763) at org.apache.commons.digester.Digester.createSAXException(Digester.java:1785) at org.apache.commons.digester.Digester.endElement(Digester.java:760) at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403) at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1550) at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1809) at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1182) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098) at org.apache.commons.digester.Digester.parse(Digester.java:1170) at org.apache.catalina.startup.Catalina.start(Catalina.java:444) at org.apache.catalina.startup.Catalina.execute(Catalina.java:399) at org.apache.catalina.startup.Catalina.process(Catalina.java:178) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:246) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
servlet can't access postgreSQL database
Hi I am trying to use servlet to access postgreSQL database but I am not able to. I am able to run servlets just fine as long as they don't try to access postgreSQL database. If I run stand alone Java program, then I am able to access postgreSQL database just fine. I use: export CLASSPATH=/usr/local/jakarta-tomcat-4.0/common/lib/jdbc7.1-1.2.jar:${CLASSPATH} to install the driver. I am using RedHat 7.2, and have installed all the postgreSQL RPMs that came with the CD. Please can somebody help me as to what I am doing wrong. Do I have to edit some XML file? thanks, Sanjeev R. __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]