Tomcat and Apache
I apologise for sending this as I know there are about 50 posts daily on this subject but I can't get the 2 of these to link. I have checked the archives and help docs and everything seems in place but when I call my servlet without the 8080 port I get nothing. Looking at the apache logs it says /opt/webFrontEnd/examples/servlet/avc.web.Clients.ClientsHomePage The /opt/webfrontend is my document root for apache There is no lines in the tomcat logs so apache isn't even posting to tomcat I must have missed something simple but I can't see what it is. Any Help Please Here is what I have set up in the conf files SERVER.XML Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.tomcat4.config.ApacheConfig modJk=/opt/apache/libexec/mod_jk.so jkLog=/opt/apache/logs/mod_jk.log jkDebug=info / Host name=localhost debug=0 appBase=webapps unpackWARs=true Listener className=org.apache.ajp.tomcat4.config.ApacheConfig append=true / HTTPD.CONF Include /opt/tomcat-4.0.6/conf/auto/mod_jk.conf LoadModule jk_module /opt/apache/libexec/mod_jk.so AddModule mod_jk.c JkWorkersFile /opt/tomcat-4.0.6/conf/jk/workers.properties JkLogFile /opt/apache/logs/mod_jk.log JkLogLevel info JkMount /* ajp13 JkMount /examples/* ajp13 JkMount /avcweb/* ajp13 WORKERS.PROPERTIES workers.tomcat_home=/opt/tomcat-4.0.6 workers.java_home=/opt/jdk1.4.1 ps=/ worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Antwort: Tomcat and Apache
Sorry, forgot to say that is already in Tomcat creates one as standard in it's build !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ [EMAIL PROTECTED] 02/06/03 11:00am You have to define an ajp Connector like this in your server.xml !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ Then it should work. Dietmar Richard Johnstone [EMAIL PROTECTED] am 06.02.2003 12:02:01 Bitte antworten an Tomcat Users List [EMAIL PROTECTED] An:[EMAIL PROTECTED] Kopie: Thema: Tomcat and Apache I apologise for sending this as I know there are about 50 posts daily on this subject but I can't get the 2 of these to link. I have checked the archives and help docs and everything seems in place but when I call my servlet without the 8080 port I get nothing. Looking at the apache logs it says /opt/webFrontEnd/examples/servlet/avc.web.Clients.ClientsHomePage The /opt/webfrontend is my document root for apache There is no lines in the tomcat logs so apache isn't even posting to tomcat I must have missed something simple but I can't see what it is. Any Help Please Here is what I have set up in the conf files SERVER.XML Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.tomcat4.config.ApacheConfig modJk=/opt/apache/libexec/mod_jk.so jkLog=/opt/apache/logs/mod_jk.log jkDebug=info / Host name=localhost debug=0 appBase=webapps unpackWARs=true Listener className=org.apache.ajp.tomcat4.config.ApacheConfig append=true / HTTPD.CONF Include /opt/tomcat-4.0.6/conf/auto/mod_jk.conf LoadModule jk_module /opt/apache/libexec/mod_jk.so AddModule mod_jk.c JkWorkersFile /opt/tomcat-4.0.6/conf/jk/workers.properties JkLogFile /opt/apache/logs/mod_jk.log JkLogLevel info JkMount /* ajp13 JkMount /examples/* ajp13 JkMount /avcweb/* ajp13 WORKERS.PROPERTIES workers.tomcat_home=/opt/tomcat-4.0.6 workers.java_home=/opt/jdk1.4.1 ps=/ worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 (See attached file: InterScan_Disclaimer.txt) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat and Apache
OK, took all the stuff out of httpd.conf so all that is in there in the loadmodule and include In mod_jk.conf it has JkMount /avcweb ajp13 JkMount /avcweb/* ajp13 So to call I am trying http://999.99.999.99/avcweb/servlet/MyClass Still no luck [EMAIL PROTECTED] 02/06/03 01:27pm Well, what URL are you using? What ServerName are those JkMount statements tied to? If you're doing an Include of mod_jk.conf, you shouldn't have anything in httpd.conf but the LoadModule line and the Include line. My guess is your manually entered JK config in httpd.conf is conflicting with the generated config. Looks also like you are using Solaris, perhaps my Solaris HOWTO can help: http://www.johnturner.com/howto John -Original Message- From: Richard Johnstone [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 6:02 AM To: [EMAIL PROTECTED] Subject: Tomcat and Apache I apologise for sending this as I know there are about 50 posts daily on this subject but I can't get the 2 of these to link. I have checked the archives and help docs and everything seems in place but when I call my servlet without the 8080 port I get nothing. Looking at the apache logs it says /opt/webFrontEnd/examples/servlet/avc.web.Clients.ClientsHomePage The /opt/webfrontend is my document root for apache There is no lines in the tomcat logs so apache isn't even posting to tomcat I must have missed something simple but I can't see what it is. Any Help Please Here is what I have set up in the conf files SERVER.XML Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.tomcat4.config.ApacheConfig modJk=/opt/apache/libexec/mod_jk.so jkLog=/opt/apache/logs/mod_jk.log jkDebug=info / Host name=localhost debug=0 appBase=webapps unpackWARs=true Listener className=org.apache.ajp.tomcat4.config.ApacheConfig append=true / HTTPD.CONF Include /opt/tomcat-4.0.6/conf/auto/mod_jk.conf LoadModule jk_module /opt/apache/libexec/mod_jk.so AddModule mod_jk.c JkWorkersFile /opt/tomcat-4.0.6/conf/jk/workers.properties JkLogFile /opt/apache/logs/mod_jk.log JkLogLevel info JkMount /* ajp13 JkMount /examples/* ajp13 JkMount /avcweb/* ajp13 WORKERS.PROPERTIES workers.tomcat_home=/opt/tomcat-4.0.6 workers.java_home=/opt/jdk1.4.1 ps=/ worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat and Apache
Yup, avcweb is just a copy of examples. [EMAIL PROTECTED] 02/06/03 02:26pm I havent seen a context definition anywhere in your posts, are you creating one? -b On Thu, 2003-02-06 at 09:28, Richard Johnstone wrote: OK, took all the stuff out of httpd.conf so all that is in there in the loadmodule and include In mod_jk.conf it has JkMount /avcweb ajp13 JkMount /avcweb/* ajp13 So to call I am trying http://999.99.999.99/avcweb/servlet/MyClass Still no luck [EMAIL PROTECTED] 02/06/03 01:27pm Well, what URL are you using? What ServerName are those JkMount statements tied to? If you're doing an Include of mod_jk.conf, you shouldn't have anything in httpd.conf but the LoadModule line and the Include line. My guess is your manually entered JK config in httpd.conf is conflicting with the generated config. Looks also like you are using Solaris, perhaps my Solaris HOWTO can help: http://www.johnturner.com/howto John -Original Message- From: Richard Johnstone [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 6:02 AM To: [EMAIL PROTECTED] Subject: Tomcat and Apache I apologise for sending this as I know there are about 50 posts daily on this subject but I can't get the 2 of these to link. I have checked the archives and help docs and everything seems in place but when I call my servlet without the 8080 port I get nothing. Looking at the apache logs it says /opt/webFrontEnd/examples/servlet/avc.web.Clients.ClientsHomePage The /opt/webfrontend is my document root for apache There is no lines in the tomcat logs so apache isn't even posting to tomcat I must have missed something simple but I can't see what it is. Any Help Please Here is what I have set up in the conf files SERVER.XML Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.tomcat4.config.ApacheConfig modJk=/opt/apache/libexec/mod_jk.so jkLog=/opt/apache/logs/mod_jk.log jkDebug=info / Host name=localhost debug=0 appBase=webapps unpackWARs=true Listener className=org.apache.ajp.tomcat4.config.ApacheConfig append=true / HTTPD.CONF Include /opt/tomcat-4.0.6/conf/auto/mod_jk.conf LoadModule jk_module /opt/apache/libexec/mod_jk.so AddModule mod_jk.c JkWorkersFile /opt/tomcat-4.0.6/conf/jk/workers.properties JkLogFile /opt/apache/logs/mod_jk.log JkLogLevel info JkMount /* ajp13 JkMount /examples/* ajp13 JkMount /avcweb/* ajp13 WORKERS.PROPERTIES workers.tomcat_home=/opt/tomcat-4.0.6 workers.java_home=/opt/jdk1.4.1 ps=/ worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt
RE: Tomcat and Apache
Nope. Do I need to? I didn't realise I need to as the page loaded using http://999.99.999.99:8080/avcweb/servlet/MyClass, it's just http://999.99.999.99/avcweb/servlet/MyClass that doesn't seem to work [EMAIL PROTECTED] 02/06/03 02:35pm Did you map that servlet in web.xml?? John -Original Message- From: Richard Johnstone [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 9:28 AM To: [EMAIL PROTECTED] Subject: RE: Tomcat and Apache OK, took all the stuff out of httpd.conf so all that is in there in the loadmodule and include In mod_jk.conf it has JkMount /avcweb ajp13 JkMount /avcweb/* ajp13 So to call I am trying http://999.99.999.99/avcweb/servlet/MyClass Still no luck [EMAIL PROTECTED] 02/06/03 01:27pm Well, what URL are you using? What ServerName are those JkMount statements tied to? If you're doing an Include of mod_jk.conf, you shouldn't have anything in httpd.conf but the LoadModule line and the Include line. My guess is your manually entered JK config in httpd.conf is conflicting with the generated config. Looks also like you are using Solaris, perhaps my Solaris HOWTO can help: http://www.johnturner.com/howto John -Original Message- From: Richard Johnstone [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 6:02 AM To: [EMAIL PROTECTED] Subject: Tomcat and Apache I apologise for sending this as I know there are about 50 posts daily on this subject but I can't get the 2 of these to link. I have checked the archives and help docs and everything seems in place but when I call my servlet without the 8080 port I get nothing. Looking at the apache logs it says /opt/webFrontEnd/examples/servlet/avc.web.Clients.ClientsHomePage The /opt/webfrontend is my document root for apache There is no lines in the tomcat logs so apache isn't even posting to tomcat I must have missed something simple but I can't see what it is. Any Help Please Here is what I have set up in the conf files SERVER.XML Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.tomcat4.config.ApacheConfig modJk=/opt/apache/libexec/mod_jk.so jkLog=/opt/apache/logs/mod_jk.log jkDebug=info / Host name=localhost debug=0 appBase=webapps unpackWARs=true Listener className=org.apache.ajp.tomcat4.config.ApacheConfig append=true / HTTPD.CONF Include /opt/tomcat-4.0.6/conf/auto/mod_jk.conf LoadModule jk_module /opt/apache/libexec/mod_jk.so AddModule mod_jk.c JkWorkersFile /opt/tomcat-4.0.6/conf/jk/workers.properties JkLogFile /opt/apache/logs/mod_jk.log JkLogLevel info JkMount /* ajp13 JkMount /examples/* ajp13 JkMount /avcweb/* ajp13 WORKERS.PROPERTIES workers.tomcat_home=/opt/tomcat-4.0.6 workers.java_home=/opt/jdk1.4.1 ps=/ worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat and Apache
Basically I call 192.4.200.65 from my PC. This is the IP address of my server. I have the servername in httpd.conf set to localhost and also the name of the host as localhost If I call the page from the actual webserver machine I use http://localhost/avcweb/servlet/MyClass from my pc I use http://192.4.200.65/avcweb/servlet/MyClass [EMAIL PROTECTED] 02/06/03 03:06pm OK, is 999.99.999.99 == localhost? You have localhost as your Host in server.xml. Are you just being paranoid by disguising localhost with 999.99.999.99 or are you actually using some other value besides localhost in your request URL? Basically, everything is a chain. One missing piece in the chain, and it doesn't work. - request www.host.com/avcweb/servlet/MyClass - Apache scans httpd.conf, looking for a match for www.host.com. If none found, uses global defaults. If VirtualHost found, checks ServerName - ServerName = no match, continue - ServerName = match, scan VirtualHost directives - does VirtualHost have JkMount? Check URL against JkMount - if match to JkMount, lookup worker - make worker connection to Tomcat - send request to Tomcat - Tomcat receives request on connector - looks for Host match for www.host.com - no match, falls to defaultHost - match, looks for Context to match URL - find Context match, try to resolve the rest of the URL into a valid, available servlet, and serve content - no Context match, 404 or some other error. So, things to check: - the VirtualHost in httpd.conf that you expect to use is the one actually being used - it's ServerName is the one in the URL - there's a valid JkMount - there's a definition for the worker used in JkMount in workers.properties - the Tomcat host configured in workers.properties is available on port 8009 (or some other port as long as it is consistent) - Tomcat has a Host to match the one in the URL (and the one in ServerName) - Tomcat has a Context to match the URL - Tomcat has a valid servlet mapping, explicit or implicit, for the request You probably know all of this, but it is hard for me to see the big picture just by getting config snippets, so I am trying to provide a description of the debugging method that I would use if I was having the same problem. HTH John -Original Message- From: Richard Johnstone [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 9:53 AM To: [EMAIL PROTECTED] Subject: RE: Tomcat and Apache Nope. Do I need to? I didn't realise I need to as the page loaded using http://999.99.999.99:8080/avcweb/servlet/MyClass, it's just http://999.99.999.99/avcweb/servlet/MyClass that doesn't seem to work [EMAIL PROTECTED] 02/06/03 02:35pm Did you map that servlet in web.xml?? John -Original Message- From: Richard Johnstone [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 9:28 AM To: [EMAIL PROTECTED] Subject: RE: Tomcat and Apache OK, took all the stuff out of httpd.conf so all that is in there in the loadmodule and include In mod_jk.conf it has JkMount /avcweb ajp13 JkMount /avcweb/* ajp13 So to call I am trying http://999.99.999.99/avcweb/servlet/MyClass Still no luck [EMAIL PROTECTED] 02/06/03 01:27pm Well, what URL are you using? What ServerName are those JkMount statements tied to? If you're doing an Include of mod_jk.conf, you shouldn't have anything in httpd.conf but the LoadModule line and the Include line. My guess is your manually entered JK config in httpd.conf is conflicting with the generated config. Looks also like you are using Solaris, perhaps my Solaris HOWTO can help: http://www.johnturner.com/howto John -Original Message- From: Richard Johnstone [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 6:02 AM To: [EMAIL PROTECTED] Subject: Tomcat and Apache I apologise for sending this as I know there are about 50 posts daily on this subject but I can't get the 2 of these to link. I have checked the archives and help docs and everything seems in place but when I call my servlet without the 8080 port I get nothing. Looking at the apache logs it says /opt/webFrontEnd/examples/servlet/avc.web.Clients.ClientsHomePage The /opt/webfrontend is my document root for apache There is no lines in the tomcat logs so apache isn't even posting to tomcat I must have missed something simple but I can't see what it is. Any Help Please Here is what I have set up in the conf files SERVER.XML Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.tomcat4.config.ApacheConfig modJk=/opt/apache/libexec/mod_jk.so jkLog=/opt/apache/logs/mod_jk.log jkDebug=info / Host name=localhost debug=0 appBase=webapps unpackWARs=true Listener className=org.apache.ajp.tomcat4
Time Out
Hi, I have just built a new webserver and I am having a strange problem. The first few times I try to call a servlet it times out. Then eventually it will just call as normal and run ok. Then when I leave it for a while and come back I get the same issue. I looked in the logs and this was the only thing I could see that seemed to be an error. All the example servlets run fine and straight away. 2003-01-02 14:31:15 HttpProcessor[8080][4] process.finish java.lang.IllegalStateException: Current state = FLUSHED, new state = CODING_END at java.nio.charset.CharsetEncoder.throwIllegalStateException(CharsetEncoder.java:933) at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:529) at sun.nio.cs.StreamEncoder$CharsetSE.flushLeftoverChar(StreamEncoder.java:356) at sun.nio.cs.StreamEncoder$CharsetSE.implClose(StreamEncoder.java:412) at sun.nio.cs.StreamEncoder.close(StreamEncoder.java:158) at java.io.OutputStreamWriter.close(OutputStreamWriter.java:222) at java.io.PrintWriter.close(PrintWriter.java:137) at org.apache.catalina.connector.ResponseBase.finishResponse(ResponseBase.java:482) at org.apache.catalina.connector.HttpResponseBase.finishResponse(HttpResponseBase.java:237) at org.apache.catalina.connector.http.HttpResponseImpl.finishResponse(HttpResponseImpl.java:287) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1054) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125) at java.lang.Thread.run(Thread.java:536) The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Java.util.zip.ZipException : Error openning Zip File
Hi When I try and start tomcat I am getting this error. Does anyone know what causes it? Rich The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: storing passwords
You could just store them in your database. All you need to do is encrypt them using a simple encryption method public static byte[] encrypt(String x) throws Exception { java.security.MessageDigest d =null; d = java.security.MessageDigest.getInstance(SHA-1); d.reset(); d.update(x.getBytes()); return d.digest(); } [EMAIL PROTECTED] 11/22/02 09:05am I want to introduce the concept of users in my web application. I want to know how to store passwords securily on the server side. How do people deal with passwords usually? Any documentation/guides on this would also do. thanks rf. __ Do you Yahoo!? Yahoo! Mail Plus Powerful. Received: from APC_DOM-MTA by AVCMAIL.appleyard-contracts.co.uk Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat Application on Port 443 or 8080?
Having just managed to get this working I can finally help someone. Hurray. You need to setup the connectors between apache and tomcat Try http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html for the files you need. To set it up, follow the docs. I have found this site http://www.galatea.com/flashguides/index which has some good guides to doing apache / tomcat stuff and there is a tomcat/apache link doc in there Rich [EMAIL PROTECTED] 11/12/02 08:04pm Hi Experts: My Apache+SSL is working now - thanks to you all. I checked it using https://www.kithany.com. However, I have a small Application which contains JSP+Servlets which calls Oracle DB via JDBC. This application is working fine when I type http://www.kithany.com:8080/kithany/index.jsp but when I try HTTPS as https://www.kithany.com:8080/kithany/index.jsp it does'nt work - ie page does'nt shows up. I know that HTTPS listens to port 443 and my Application(Tomcat+JBoss) listens to port 8080 - so how do I integrate both the ports to work together? Any useful information on above is appreciated. THANKS! _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
oracle.jdbc.pool not killing extra connections
I have a connection pool based on OracleConnectionCacheImpl from oracle.jdbc.pool When I want a connection I call getConnection and it all works fine. When I start to up the usage on the site It has to create a few new connections which is ok, but when these new connections are finished with, they aren't being killed. I am using connection.close() to close the connection. Do I need to do something with the connection pool (a clean up or something?) I can't see any methods for it which seem to do such a thing Help Rich The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Re: oracle.jdbc.pool not killing extra connections
I think I have sussed the problem. It was to do with my max/min connections. I had min 5 and max 30 I assumed that all connection past 5 would be killed when done with when infact it is any connections beyond 30 that are binned (provided that cache scheme is DYNAMIC). So if you only want 5 connections as standard set max and min to 5 [EMAIL PROTECTED] 11/13/02 09:41am I have a connection pool based on OracleConnectionCacheImpl from oracle.jdbc.pool When I want a connection I call getConnection and it all works fine. When I start to up the usage on the site It has to create a few new connections which is ok, but when these new connections are finished with, they aren't being killed. I am using connection.close() to close the connection. Do I need to do something with the connection pool (a clean up or something?) I can't see any methods for it which seem to do such a thing Help Rich The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Oracle connection pool
Hi I foolishly stated in my last mail that I had fixed this problem when I might of known I haven't. I set the min connections to 2 and the max connections to 3. I fire off some requests and it just creates new connections when needed. These new connections seem to be redundant though as the same requests produce the sma e new amount of connections. It is as if it creates new connections when they are needed and then dumps them from the pool but doesn't close them properly on the database. The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Tomcat from Apache Connectors
First off thanks for the SSL help. I have decided to use SSL through apache and not standalone on Tomcat after your advice. Now I am having problems linking Tomcat into Apache. I put all the bits in from the HOWTO doc and apache and tomcat both startup fine My localhost runs ok and my localhost:8080 runs my servlets. But when I try localhost/servlet/me.myservlet it crashes In the error log in Apache it is searching in /opt/webForntEnd (DocumentRoot) and then servlets ie /opt/webForntEnd/servlets/me.myservlet Is there a trouble shooting document anywhere or an easy way to check if the connectors are working? The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Tomcat from Apache Connectors : More Info
Here is somemore info if anyone can help Connector is mod_jk-1.3-eapi.so HTTPD.CONF Include /opt/tomcat-4.0.6/conf/auto/mod_jk.conf # Load mod_jk # LoadModule jk_module libexec/mod_jk.so AddModule mod_jk.c # Configure mod_jk # JkWorkersFile /opt/tomcat-4.0.6/conf/jk/workers.properties JkLogFile /opt/apache/logs/mod_jk.log JkLogLevel info WORKERS.PROPERTIES workers.tomcat_home=/opt/tomcat-4.0.6 workers.java_home=/opt/j2sdk1.4.1_01 ps=/ worker.list=ajp12, ajp13 # Definition for Ajp13 worker # worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 [EMAIL PROTECTED] 11/08/02 01:47pm Check the log files for the connectors. Sounds to me like you don't have any URI mappings set...this is done via JkMount in httpd.conf if you are using JK, and in workers2.properties if you are using JK2. If you want to post back with more specific info, someone should be able to help. Which connector, which version, and the relevant connector config files and portions (not the whole thing) of httpd.conf as necessary. John -Original Message- From: Richard Johnstone [mailto:Richard.Johnstone;appleyard-contracts.co.uk] Sent: Friday, November 08, 2002 6:29 AM To: [EMAIL PROTECTED] Subject: Tomcat from Apache Connectors First off thanks for the SSL help. I have decided to use SSL through apache and not standalone on Tomcat after your advice. Now I am having problems linking Tomcat into Apache. I put all the bits in from the HOWTO doc and apache and tomcat both startup fine My localhost runs ok and my localhost:8080 runs my servlets. But when I try localhost/servlet/me.myservlet it crashes In the error log in Apache it is searching in /opt/webForntEnd (DocumentRoot) and then servlets ie /opt/webForntEnd/servlets/me.myservlet Is there a trouble shooting document anywhere or an easy way to check if the connectors are working? -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Tomcat from Apache Connectors : More Info
OK, I have binned the ajp12 I have these in my httpd.conf VirtualHost 192.2.100.9:80 DocumentRoot /opt/webFrontEnd ServerName webserver.localdomain JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 JkMount /servlets/* ajp13 /VirtualHost I also have an SSL one which is all the default SSL stuff with the JK mounts. Is it because they are Virtual Hosts?? [EMAIL PROTECTED] 11/08/02 02:45pm First thing, delete ajp12 from your worker.list in workers.properties. Second, you need JkMount commands in httpd.conf before any URLs will be mapped to JK and then to Tomcat. Right now, Apache is trying to map your URLs to the only path that it knows about, which is its DocRoot. JkMount commands look like this: JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 Do you have these in httpd.conf? If so, what are they? John -Original Message- From: Richard Johnstone [mailto:Richard.Johnstone;appleyard-contracts.co.uk] Sent: Friday, November 08, 2002 9:07 AM To: [EMAIL PROTECTED] Subject: RE: Tomcat from Apache Connectors : More Info Here is somemore info if anyone can help Connector is mod_jk-1.3-eapi.so HTTPD.CONF Include /opt/tomcat-4.0.6/conf/auto/mod_jk.conf # Load mod_jk # LoadModule jk_module libexec/mod_jk.so AddModule mod_jk.c # Configure mod_jk # JkWorkersFile /opt/tomcat-4.0.6/conf/jk/workers.properties JkLogFile /opt/apache/logs/mod_jk.log JkLogLevel info WORKERS.PROPERTIES workers.tomcat_home=/opt/tomcat-4.0.6 workers.java_home=/opt/j2sdk1.4.1_01 ps=/ worker.list=ajp12, ajp13 # Definition for Ajp13 worker # worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 [EMAIL PROTECTED] 11/08/02 01:47pm Check the log files for the connectors. Sounds to me like you don't have any URI mappings set...this is done via JkMount in httpd.conf if you are using JK, and in workers2.properties if you are using JK2. If you want to post back with more specific info, someone should be able to help. Which connector, which version, and the relevant connector config files and portions (not the whole thing) of httpd.conf as necessary. John -Original Message- From: Richard Johnstone [mailto:Richard.Johnstone;appleyard-contracts.co.uk] Sent: Friday, November 08, 2002 6:29 AM To: [EMAIL PROTECTED] Subject: Tomcat from Apache Connectors First off thanks for the SSL help. I have decided to use SSL through apache and not standalone on Tomcat after your advice. Now I am having problems linking Tomcat into Apache. I put all the bits in from the HOWTO doc and apache and tomcat both startup fine My localhost runs ok and my localhost:8080 runs my servlets. But when I try localhost/servlet/me.myservlet it crashes In the error log in Apache it is searching in /opt/webForntEnd (DocumentRoot) and then servlets ie /opt/webForntEnd/servlets/me.myservlet Is there a trouble shooting document anywhere or an easy way to check if the connectors are working? -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Setting up aliases (Maybe?)
Hi I have managed to get things pretty much set up except for one thing. I have the DocumentRoot in my apache conf to webapps\myweb\html This is fine and runs my html pages. But when I try and access my servlets (in webapps\myweb\WEB-INF\classes\myclasses) I get bumped off. Looking at the logs it is trying to access from document root (makes sense) How can I tell it to pick my servlets up from here? Do I need to set up an alias or something? The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Tomcat-Apache SSL
After reading the installing SSL doc for tomcat it says you don't need it on Tomcat, just have it on apache and you are ok. I have an apache SSL port (443) and this is working ok. I have my tomcat application on 8080, also works ok. What I don't understand is the link between these 2. Do I have to set the apache SSL port to be 8080? If so, will it not ignore the tomcat conf and use the apche stuff instead (as it seemed to when I tried it) The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
DB Connection issue
I have a system running on suse 7.3 and it is all working fine I have since tried to build another box for deployment and I get an error when connecting to the DB java.sql.SQLException: Io exception: The Network Adapter could not establish the connection at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:323) at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:263) at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260) at java.sql.DriverManager.getConnection(DriverManager.java:512) at java.sql.DriverManager.getConnection(DriverManager.java:171) I am using identical code from the original server. I can open non-db servlets fine. I can also ping and telnet to the DB from the new server. I am using the same url in my connection on both servers. I just seem to be missing something on the new server. Any Ideas?? The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Re: DB Connection issue
I haven't got oracle installed on either server. my url connection is jdbc:oracle:thin:@192.2.100.9:1521:test for both servers. the classes12 is in the classpath [EMAIL PROTECTED] 11/05/02 11:31pm Richard J java.sql.SQLException: Io exception: The Network Adapter could not establish the connection snip I am using identical code from the original server. I can open non-db servlets fine. I can also ping and telnet to the DB from the new server. I am using the same url in my connection on both servers. I just seem to be missing something on the new server. Any Ideas?? I don't think you can use the same TNS name and ip address on another Ora-Server I believe your JDBC is using SQLNet, that need to be set up in tnsnames.ora I am making some assumption because your email has got no further detail... If u r using MS, then go to c:\Oracle\Ora90\Network\Admin\tnsnames.ora else if u r using Linux then go to $ORACLE_HOME/network/Admin/tnsnames.ora In both cases, change tnsnames.ora. Hope that helps. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
DBConnection issue : UPDATE
I have found out the issue with this but am more puzzled than before. If I re-comment out Manager className=org.apache.catalina.session.PersistentManager debug=0 saveOnRestart=false maxActiveSessions=-1 minIdleSwap=-1 maxIdleSwap=-1 maxIdleBackup=-1 Store className=org.apache.catalina.session.FileStore/ /Manager from my server.xml it all works hunky dory. Anyone know why adding this in will cause it to fail. I could really do with having this in I think as I am having issues with persistent objects The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Off Topic Design Question
Sorry to post this here but maybe someone on this list can help. Does anyone know of any tools for building flow documentation between pages? I have a load of servlets and want to be able to build up the process flow. Ta Rich The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Refresh Issue
Hi I am having some problems with the refreshing of servlets. When I call a page from an HTML form submit it is ok. If I use a link, if the page has already been called it pulls that page back. Only when I refresh the page will it reload with the correct information. It seems that the page is being stored somewhere Ta for the Help Rich The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Refresh Issue
By cache control, do you mean meta content=0 http-equiv=expires I put this in as one of the archives mentioned it but no help. Still picks up a cached page [EMAIL PROTECTED] 08/15/02 12:48pm Check your header cache control - Original Message - From: Richard Johnstone [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 15, 2002 12:42 PM Subject: Refresh Issue Hi I am having some problems with the refreshing of servlets. When I call a page from an HTML form submit it is ok. If I use a link, if the page has already been called it pulls that page back. Only when I refresh the page will it reload with the correct information. It seems that the page is being stored somewhere Ta for the Help Rich -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: templating system?
I don't know about that but I use a base servlet which has all the borders etc for the page. You can then have a generic class which converts a vector/result set to display a query in HTML format [EMAIL PROTECTED] 05/24/02 03:13pm Hello All, I was wondering if there were any projects out there that provided any kind of database-html templating. I need the ability quickly create web pages that allow users to create/retrieve/update/delete rows from tables that I will be creating. I am doing this with tomcat jsp/javabeans model. I guess I could just write my own but I wanted to ask before I reinvent the wheel. Thanks -- Vincent Stoessel Linux Systems Developer vincent xaymaca.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
A bit off topic
I know this is a bit off topic but I can't seem to get an answer from anywhere. Has anyone been able to load a Java array from a servlet into a javascript array within the HTML page generated by the servlet? Is it possible? The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
JDBC instead of SQLJ
Having read a few post about the pain of getting SQLJ to work, does this mean that most people are just using JDBC calls?? If so, is there an easy way to pass in a query string like in SQLJ sql { select x from dual } instead of having to do qryString = select x + from dual; The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
JDBC Drivers
I don't know if I should post this here or not but here goes I am trying to connect to an oracle DB using a thin connection. I have downloaded the classes12.zip file and put it in $TOMCAT_HOME/common/lib but I am getting a java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver Do I need to put the class file elsewhere? The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: JDBC Drivers
Thats fixed it. Cheers Matey [EMAIL PROTECTED] 04/16/02 10:27am rename the zip to .jar -Original Message- From: Richard Johnstone [mailto:[EMAIL PROTECTED]] Sent: 16. apríl 2002 09:34 To: [EMAIL PROTECTED] Subject: JDBC Drivers I don't know if I should post this here or not but here goes I am trying to connect to an oracle DB using a thin connection. I have downloaded the classes12.zip file and put it in $TOMCAT_HOME/common/lib but I am getting a java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver Do I need to put the class file elsewhere? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:tReceived: from APC_DOM-MTA by AVCMAIL.appleyard-contracts.co.uk [EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Appleyard Finance Holdings Ltd or its subsidiaries are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]