RE: Tomcat and Servlets - DESPERATE for help
I can be helpful, if u can send me the files related to whatever u r saying. -Original Message- From: Michael McQuade [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 9:01 PM To: Tomcat Users List Subject: Tomcat and Servlets - DESPERATE for help Hi folks, I pray someone can tell me something here. Im writing an application in Servlets using Tomcat Heres my scenario. I display a User Login screen, ID and Password on an HTML form, user enters data, the submit button executes the program to verify the Users information Obvioulsy if its wrong, it redisplays the screen, or correct, it carries on into the application. SO, if the user info is correct, it CALLS another program to build and display the users data, menu, etc.. This all works just fine, EXCEPT.when it builds the new User screen, it is building it BELOW (i.e. same browser page) as the User Login screen. Obviously this User Login screen should be gone, and I should just see the new results Ok, if the User validation process failed (i.e. invalid id or password) my program just redisplays the log in screen, well, same happens, a NEW login screen, gets bulit below the Original log in screen. can ANYONE PLEAE help me here. Does Tomcat need to kill the Servlet session? to know it needs to refresh the Browser? This is killing me here, Im desperate to get this resolved so I can move forward with my app, I thank you all for any help you can give me Have a wonderful day, Merry Christmas Mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Error with request for /index.jsp - Is this a bug?
Hi, I am using the following configuration. When I request for http://abc.shiva.com/index.jsp or http://def.shiva.com/index.jsp, I am getting the tomcat welcome index.jsp page displayed. If I have some xyz.jsp as the welcome page, it serves fine. Is this a known bug in tomcat? Any solutions to get the application's index.jsp, as anyone expect? = server.xml = Server port=8005 shutdown=SHUTDOWN Service name=ShivaTest Connector port=8009 protocol=AJP/1.3 / Engine name=shiva defaultHost=abc.shiva.com Logger className=org.apache.catalina.logger.FileLogger debug=9 prefix=shiva_log. suffix=.txt timestamp=true verbosity=4/ Host name=abc.shiva.com appBase=webapps autoDeploy=false debug=9 unpackWARs=false Logger className=org.apache.catalina.logger.FileLogger debug=9 prefix=abc_log. suffix=.txt timestamp=true verbosity=4/ Context docBase=abc path= reloadable=false allowLinking=true debug=9 / /Host Host name=def.shiva.com appBase=webapps autoDeploy=false debug=9 unpackWARs=false Logger className=org.apache.catalina.logger.FileLogger debug=9 prefix=def_log. suffix=.txt timestamp=true verbosity=4/ Context docBase=def path= reloadable=false allowLinking=true debug=9 / /Host /Engine /Service /Server = = web.xml = ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list /web-app = Thanks, Shiva - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Error with request for /index.jsp - Is this a bug?
After doing all this, I changed the server.xml to have the Context as follows : Context docBase=ROOT path= reloadable=false allowLinking=true debug=9 / But still I get the same tomcat welcome page. -Original Message- From: Quinton Delpeche [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 2:50 PM To: [EMAIL PROTECTED] Subject: Re: Error with request for /index.jsp - Is this a bug? On Monday 22 November 2004 11:04, Shiva.Devaguptapu wrote: Hi, I am using the following configuration. When I request for http://abc.shiva.com/index.jsp or http://def.shiva.com/index.jsp, I am getting the tomcat welcome index.jsp page displayed. If I have some xyz.jsp as the welcome page, it serves fine. Is this a known bug in tomcat? Any solutions to get the application's index.jsp, as anyone expect? Okay, Let me check if I understand you correctly. You want to replace the ROOT index.jsp with your page. If this is yes then do the following. 1). Stop Tomcat. 2). Delete all files in ROOT directory of the tomcat server. 3). Put your files in the ROOT directory. 4). Restart Tomcat. I find that this helped me when I had to put my own version of a ROOT engine in place. Q -- Quinton Delpeche Internal Systems Developer Softline VIP Telephone: +27 12 420 7000 Direct:+27 12 420 7007 Facsimile: +27 12 420 7344 http://www.vippayroll.co.za/ When more and more people are thrown out of work, unemployment results. -- Calvin Coolidge - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Error with request for /index.jsp - Is this a bug?
Still the result is same. -Original Message- From: Quinton Delpeche [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 3:22 PM To: [EMAIL PROTECTED] Subject: Re: Error with request for /index.jsp - Is this a bug? On Monday 22 November 2004 11:31, Shiva.Devaguptapu wrote: After doing all this, I changed the server.xml to have the Context as follows : Mine looks as follows: !-- Context for Internal Systems ROOT engine -- Context className=org.apache.catalina.core.StandardContext debug=99 cachingAllowed=true cookies=true crossContext=false charsetMapperClass=org.apache.catalina.util.CharsetMapper displayName=VIP Internal Systems (Core Engine) path= docBase=/srv/www/tomcat5/base/webapps/ROOT privileged=false mapperClass=org.apache.catalina.core.StandardContextMapper reloadable=false swallowOutput=false useNaming=true wrapperClass=org.apache.catalina.core.StandardWrapper /Context Context docBase=ROOT path= reloadable=false allowLinking=true debug=9 / Hm... ...this is a strange one. But still I get the same tomcat welcome page. I am not sure what is going on, sounds like one of two things: 1). It has cached the files and server config somewhere. 2). It is not pointing to the correct path. Q -- Quinton Delpeche Internal Systems Developer Softline VIP Telephone: +27 12 420 7000 Direct:+27 12 420 7007 Facsimile: +27 12 420 7344 http://www.vippayroll.co.za/ Concept, n.: Any idea for which an outside consultant billed you more than $25,000. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem in getting index.jsp from the webapp root
Hi, I deployed one webapp in the tomcat 5.0.27 and there is an index.jsp in the root folder of my webapp. I configured a different Host... for this and gave the path= for the Context. The problem is when I access this index.jsp, I am getting the default tomcat welcome page (the one which comes when we hit http://localhost:8080 i.e., $CATALINA_HOME/webapps/ROOT/index.jsp). I deleted the ROOT folder from webapps and also deleted the Catalina folder from conf, which in it's hierarchy contains the ROOT.xml. Still I am getting the default welcome page when I request for my application's index.jsp. Can anyone of you suggest a solution for this? Thanks in advance, Shiva. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problem in getting index.jsp from the webapp root
I attached them with this mail. -Original Message- From: Quinton Delpeche [mailto:[EMAIL PROTECTED] Sent: Saturday, November 20, 2004 7:20 PM To: [EMAIL PROTECTED] Subject: Re: Problem in getting index.jsp from the webapp root On Saturday 20 November 2004 15:38, Shiva.Devaguptapu wrote: Hi, Hi, I deployed one webapp in the tomcat 5.0.27 and there is an index.jsp in the root folder of my webapp. I configured a different Host... for this and gave the path= for the Context. The problem is when I access this index.jsp, I am getting the default tomcat welcome page (the one which comes when we hit http://localhost:8080 i.e., $CATALINA_HOME/webapps/ROOT/index.jsp). I deleted the ROOT folder from webapps and also deleted the Catalina folder from conf, which in it's hierarchy contains the ROOT.xml. Still I am getting the default welcome page when I request for my application's index.jsp. Can anyone of you suggest a solution for this? Can you show me your server.xml and web.xml files, please. Hopefully I can help you then. Thanks in advance, Shiva. Q -- Quinton Delpeche Internal Systems Developer Softline VIP Telephone: +27 12 420 7000 Direct:+27 12 420 7007 Facsimile: +27 12 420 7344 http://www.vippayroll.co.za/ Absurdity, n.: A statement or belief manifestly inconsistent with one's own opinion. -- Ambrose Bierce, The Devil's Dictionary - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problem in getting index.jsp from the webapp root
I am unable to send as attachment. I include the content here - = server.xml = Server port=8005 shutdown=SHUTDOWN Service name=ShivaTest Connector port=8009 protocol=AJP/1.3 / Engine name=shiva defaultHost=abc.shiva.com Logger className=org.apache.catalina.logger.FileLogger debug=9 prefix=shiva_log. suffix=.txt timestamp=true verbosity=4/ Host name=abc.shiva.com appBase=webapps autoDeploy=false debug=9 unpackWARs=false Logger className=org.apache.catalina.logger.FileLogger debug=9 prefix=abc_log. suffix=.txt timestamp=true verbosity=4/ Context docBase=abc path= reloadable=false allowLinking=true debug=9 / /Host Host name=def.shiva.com appBase=webapps autoDeploy=false debug=9 unpackWARs=false Logger className=org.apache.catalina.logger.FileLogger debug=9 prefix=def_log. suffix=.txt timestamp=true verbosity=4/ Context docBase=def path= reloadable=false allowLinking=true debug=9 / /Host /Engine /Service /Server = = web.xml = ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list /web-app = -Original Message- From: Quinton Delpeche [mailto:[EMAIL PROTECTED] Sent: Saturday, November 20, 2004 7:34 PM To: Tomcat Users List Subject: Re: Problem in getting index.jsp from the webapp root On Saturday 20 November 2004 15:51, Shiva.Devaguptapu wrote: I attached them with this mail. Hi, Sorry but I didn't seem to get the attachment. Try zipping it. Q -- Quinton Delpeche Internal Systems Developer Softline VIP Telephone: +27 12 420 7000 Direct:+27 12 420 7007 Facsimile: +27 12 420 7344 http://www.vippayroll.co.za/ If you sit down at a poker game and don't see a sucker, get up. You're the sucker. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 4 - SSL - Client Authentication
Hi, I am using Tomcat 4 on a linux system. I am trying to enable SSL with client authentication enabled. I want the client to be the Internet Explorer, running on Win2K, my desktop. I found the following steps on the net and tried. * Create keys on the server * Create the certificate on the server * Uncomment the required part in the server.xml of Tomcat * Enter appropriate values for the attributes in server.xml as : Connector className=org.apache.catalina.connector.http.HttpConnector port=8453 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 scheme=https secure=true Factory className=org.apache.catalina.net.SSLServerSocketFactory keystoreFile=/home/shiva/tomcat/keystore/server.keystore keystorePass=changeit clientAuth=true protocol=TLS/ /Connector * Create keys on the client * Create the certificate on the client * Import the cliet certificate on the server * Import the client certificate into Internet Explorer Now I started tomcat and I tried to access from the IE, the URL https://192.168.200.12:8453 - then the Client Authentication dialog box appears without any certificates in the list, as a result I cannot select any certificate, and if I click on OK button, it says page cannot be displayed. I also tried importing the client certificate into $JAVA_HOME/jre/lib/security/cacerts on the serverand even that did not solve the problem and even I tried importing the server certificate on the client side into $JAVA_HOME/jre/lib/security/cacerts and into IE as well and even after the problem is not solved. I am including all the commands I used to perform the above steps. Can anyone help me out in getting this done. Thanks in advance, Shiva. = Commnands used = ***For generating server keys on Linux*** keytool -genkey -alias tomcat-sv \ -keyalg RSA -keypass changeit \ -storepass changeit \ -keystore $CATALINA_HOME/keystore/server.keystore ***this keystore directory is created by me*** --- ***For generating server cetificate on Linux*** keytool -export -alias tomcat-sv \ -storepass changeit \ -file server.cer \ -keystore $CATALINA_HOME/keystore/server.keystore --- ***For generating client keys on Win2K*** keytool -genkey -alias tomcat-cl ^ -keyalg RSA -keypass changeit ^ -storepass changeit ^ -keystore C:\ssltest\mykeystore\client.keystore --- ***For generating client cetificate on Win2K*** keytool -export -alias tomcat-cl ^ -storepass changeit ^ -file C:\ssltest\client.cer ^ -keystore C:\ssltest\mykeystore\client.keystore --- ***For importing the client certificate on the server*** keytool -import -v -trustcacerts \ -alias tomcat -file client.cer \ -keypass changeit \ -storepass changeit \ -keystore /home/lotto/lotto/utilities/tomcat/keystore/server.keystore = -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat 4 - SSL - Client Authentication
Yes. Read and write as well. -Original Message- From: Christopher Mark Balz [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 2:58 PM To: Tomcat Users List Subject: Re: Tomcat 4 - SSL - Client Authentication Have you checked the permissions to the directory where your keystore is held? The process running the webserver must of course be able to read the keystore. - CB Shiva.Devaguptapu wrote: Hi, I am using Tomcat 4 on a linux system. I am trying to enable SSL with client authentication enabled. I want the client to be the Internet Explorer, running on Win2K, my desktop. I found the following steps on the net and tried. * Create keys on the server * Create the certificate on the server * Uncomment the required part in the server.xml of Tomcat * Enter appropriate values for the attributes in server.xml as : Connector className=org.apache.catalina.connector.http.HttpConnector port=8453 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 scheme=https secure=true Factory className=org.apache.catalina.net.SSLServerSocketFactory keystoreFile=/home/shiva/tomcat/keystore/server.keystore keystorePass=changeit clientAuth=true protocol=TLS/ /Connector * Create keys on the client * Create the certificate on the client * Import the cliet certificate on the server * Import the client certificate into Internet Explorer Now I started tomcat and I tried to access from the IE, the URL https://192.168.200.12:8453 - then the Client Authentication dialog box appears without any certificates in the list, as a result I cannot select any certificate, and if I click on OK button, it says page cannot be displayed. I also tried importing the client certificate into $JAVA_HOME/jre/lib/security/cacerts on the serverand even that did not solve the problem and even I tried importing the server certificate on the client side into $JAVA_HOME/jre/lib/security/cacerts and into IE as well and even after the problem is not solved. I am including all the commands I used to perform the above steps. Can anyone help me out in getting this done. Thanks in advance, Shiva. = Commnands used = ***For generating server keys on Linux*** keytool -genkey -alias tomcat-sv \ -keyalg RSA -keypass changeit \ -storepass changeit \ -keystore $CATALINA_HOME/keystore/server.keystore ***this keystore directory is created by me*** --- ***For generating server cetificate on Linux*** keytool -export -alias tomcat-sv \ -storepass changeit \ -file server.cer \ -keystore $CATALINA_HOME/keystore/server.keystore --- ***For generating client keys on Win2K*** keytool -genkey -alias tomcat-cl ^ -keyalg RSA -keypass changeit ^ -storepass changeit ^ -keystore C:\ssltest\mykeystore\client.keystore --- ***For generating client cetificate on Win2K*** keytool -export -alias tomcat-cl ^ -storepass changeit ^ -file C:\ssltest\client.cer ^ -keystore C:\ssltest\mykeystore\client.keystore --- ***For importing the client certificate on the server*** keytool -import -v -trustcacerts \ -alias tomcat -file client.cer \ -keypass changeit \ -storepass changeit \ -keystore /home/lotto/lotto/utilities/tomcat/keystore/server.keystore = -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- . . . / This Cabinet is formd of Gold / And Pearl Crystal shining bright And within it opens into a World / . . . Another England there I saw / Another London with its Tower Another Thames other Hills / And another pleasant Surrey Bower . . . - from The Crystal Cabinet, a poem by William Blake. -- 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]
Tomcat 4 - SSL - Client Authentication
Hi, I am using Tomcat 4 on a linux system. I am trying to enable SSL with client authentication enabled. I want the client to be the Internet Explorer, running on Win2K, my desktop. I found the following steps on the net and tried. * Create keys on the server * Create the certificate on the server * Uncomment the required part in the server.xml of Tomcat * Enter appropriate values for the attributes in server.xml as : Connector className=org.apache.catalina.connector.http.HttpConnector port=8453 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 scheme=https secure=true Factory className=org.apache.catalina.net.SSLServerSocketFactory keystoreFile=/home/shiva/tomcat/keystore/server.keystore keystorePass=changeit clientAuth=true protocol=TLS/ /Connector * Create keys on the client * Create the certificate on the client * Import the cliet certificate on the server * Import the client certificate into Internet Explorer Now I started tomcat and I tried to access from the IE, the URL https://192.168.200.12:8453 - then the Client Authentication dialog box appears without any certificates in the list, as a result I cannot select any certificate, and if I click on OK button, it says page cannot be displayed. I also tried importing the client certificate into $JAVA_HOME/jre/lib/security/cacerts on the serverand even that did not solve the problem and even I tried importing the server certificate on the client side into $JAVA_HOME/jre/lib/security/cacerts and into IE as well and even after the problem is not solved. I am including all the commands I used to perform the above steps. Can anyone help me out in getting this done. Thanks in advance, Shiva. = Commnands used = ***For generating server keys on Linux*** keytool -genkey -alias tomcat-sv \ -keyalg RSA -keypass changeit \ -storepass changeit \ -keystore $CATALINA_HOME/keystore/server.keystore ***this keystore directory is created by me*** --- ***For generating server cetificate on Linux*** keytool -export -alias tomcat-sv \ -storepass changeit \ -file server.cer \ -keystore $CATALINA_HOME/keystore/server.keystore --- ***For generating client keys on Win2K*** keytool -genkey -alias tomcat-cl ^ -keyalg RSA -keypass changeit ^ -storepass changeit ^ -keystore C:\ssltest\mykeystore\client.keystore --- ***For generating client cetificate on Win2K*** keytool -export -alias tomcat-cl ^ -storepass changeit ^ -file C:\ssltest\client.cer ^ -keystore C:\ssltest\mykeystore\client.keystore --- ***For importing the client certificate on the server*** keytool -import -v -trustcacerts \ -alias tomcat -file client.cer \ -keypass changeit \ -storepass changeit \ -keystore /home/lotto/lotto/utilities/tomcat/keystore/server.keystore = -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: -- A JAR For All Seasons --
put them in CATALINA_HOME\common\lib or CATALINA_HOME\lib.. -Original Message- From: Tony LaPaso [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 5:40 PM To: Tomcat User Subject: -- A JAR For All Seasons -- Hello, I asked this question earlier in the week and I didn't get any responses...so, at the risk of being a little obnoxious, I'll ask again I'm using Tomcat v4.0.3 on Win2k. I have a few JAR files that I would like to be accessible from within *all* contexts on my web site. In other words, I do not want to duplicate these JAR files in the WEB-INF/lib directory for each and every context on my site. The company that hosts my site, however, only allows me to access the files in *my* domain so I do not have the luxury of putting JAR files in, for example, jre/lib/ext where they would be picked up by other peoples' domains. I was hoping (I even said a couple prayers) there was a place in my directory structure I could put these JARs so they would be accessible to *all* servlets in *all* contexts on *my* site but obviously not accessible to other domains. Is this possible? Thanks very much. Tony LaPaso -- 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]
oci8 driver problem on Linux
Hi, I have been using classes12.zip in the CLASSPATH for oci8 driver on Win2k. Now I am porting on Linux6.2. It says the following error : java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path some other exception.. java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path I placed classes12.zip in TOMCAT_HOME/lib and so it is into CLASSPATH when the tomcat is started(confirmed).. Can anyone tell me what the problem is and show me a way out. Thanks, Shiva. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: oci8 driver problem on Linux
I downloaded the classes12.zip and libocijdbc8.so, combined as jdbc816jdk12-sol_20.zip from oracle.com and placed both of them in TOMCAT_HOME/lib. I also downloaded nls_charset12.zip and placed in the same folder. Even now the error is the same. It says no ocijdbc8 in java.library.path. The exact error is as follows: java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path -Original Message- From: Matt Seaborn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 3:15 PM To: 'Tomcat Users List' Subject: RE: oci8 driver problem on Linux An UnsatisfiedLinkError occurs when a JNI error occurs deu to the libarry being inaccessable. Classes12.zip is making call to a Windows DLL which is, for obvious reasons, not present on Linux. You need to obtain the Oracle Linux driver for Java. This will most likely require you to install native Oracle drivers as well. -Original Message- From: Shiva.Devaguptapu [mailto:[EMAIL PROTECTED]] Sent: 23 April 2002 10:42 To: Tomcat Users List Subject: oci8 driver problem on Linux Hi, I have been using classes12.zip in the CLASSPATH for oci8 driver on Win2k. Now I am porting on Linux6.2. It says the following error : java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path some other exception.. java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path I placed classes12.zip in TOMCAT_HOME/lib and so it is into CLASSPATH when the tomcat is started(confirmed).. Can anyone tell me what the problem is and show me a way out. Thanks, Shiva. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: oci8 driver problem on Linux
Yes. In our application, we are using Array, refcursors, etc., which are classes12.zip specific. In my case, one more thing is Oracle server is on the same machine as Tomcat and Apache. -Original Message- From: Tim Cronin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 8:26 PM To: 'Tomcat Users List' Subject: RE: oci8 driver problem on Linux If you are using arrays/tables you need to use the type 2 driver. All I saw on the oracle site was 8i oci driver for solaris where are the linux drivers? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 9:41 AM To: Tomcat Users List Subject: Re: oci8 driver problem on Linux Shiva.Devaguptapu [EMAIL PROTECTED] wrote:- I downloaded the classes12.zip and libocijdbc8.so, combined as jdbc816jdk12-sol_20.zip from oracle.com and placed both of them in TOMCAT_HOME/lib. I also downloaded nls_charset12.zip and placed in the same folder. Even now the error is the same. It says no ocijdbc8 in java.library.path. The exact error is as follows: java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path Where did you get your classes12.zip from? We use the Type4 (i.e. doesn't need the Oracle client software) JDBC driver from Oracle's web site in both Tomcat and WebLogic and it works fine. I'm not sure but it sounds to me like you have a Type2 driver rather than a Type4. I can email you the type4 classes12.zip we use if you like? Andrew ** This message has been sent via the Internet. Internet communications are not secure against interception or modification. Severn Trent Systems therefore can not guarantee that this message has not been modified in transit, and this message should not be viewed as contractually binding. This message and any files transmitted with it are confidential and intended solely for the use of the addressee. If you have received this message in error please notify the sender and destroy your copies of the message and any attached files. *** Severn Trent Systems Ltd : a part of Severn Trent plc. Registered in England and Wales Registration No. 2394552 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: not reading system classpath in windows
Hi, Can anyone tell me the steps involved in installing the tomcat on linux machine and integrating it with apache running on it.. Thanks, Shiva. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Apache and Tomcat on Linux6.2
Hi, Can anyone tell me the steps involved in installing the tomcat on linux machine and integrating it with apache running on it.. Thanks, Shiva. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: someone help me !!!!..urgent...
set classpath=C:\classe12.zip;%classpath% -Original Message- From: Bala Murali [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 1:40 PM To: [EMAIL PROTECTED] Subject: Re: someone help me ..urgent... it that not works, then unzip all the classes files to this tomcat_home/classes/ hope it helps. [EMAIL PROTECTED] 04/05/02 02:24PM rename classes12.zip to classes12.jar and copy into $TOMCAT_HOME/common/lib directory - Original Message - From: ajith kondapalli [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 05, 2002 09:07 Subject: someone help me ..urgent... hai, I have installed JAKARTA-TOMCAT4.0.3 version on my windows machine...its on C:\jakarta-tomcat 4.0.3 I have installed oracle drivers on C:\classe12.zip... Now how do i set the path in this tomcat version so that i can access oracle I am in urgent need of this set up..so someone please help me... i have just started to use tomcat.. thanks Ajith __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Directory browsing
Is there any similar way for Tomcat 3.2.3/3.2.4 to disable directory browsing, while accessing via Apache 1.3.20? Thanks in advance for any idea. -Original Message- From: Julien OIX [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 2:06 PM To: Tomcat list Subject: Directory browsing hi everyone, I'm using Tomcat/Apache service; in my default web.xml, located in $TOMCAT_HOME/conf, I've these lines: servlet servlet-namedefault/servlet-name servlet-classorg.apache.catalina.servlets.DefaultServlet/servlet-class init-param param-namelistings/param-name param-valuefalse/param-value !-- HERE it was true by default -- /init-param load-on-startup1/load-on-startup /servlet so, directory browsing is forbidden by default; Is this possible to specify in this file a directory under my webapp directory which could be browsed ? if not, in an other file ? but for the moment, I don't have any $WEBAPP_HOME/WEB_INF/web.xml ... thanks in advance -- Julien OIX Service Informatique de Gestion Tél: 02 40 99 83 65 mail: [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: COnfiguring Tomcat/apache with mod_jk
Tell the versions. -Original Message- From: Julien OIX [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 2:51 PM To: Tomcat list Subject: COnfiguring Tomcat/apache with mod_jk hi, I've been trying Tomcat/Apache with mod_webapp and now I'd like to compare with mod_jk I didn't find any doc about this... Has anyone a good resource about, or some examples about configuring this stuff ? Thanks in advance -- Julien OIX Service Informatique de Gestion Tél: 02 40 99 83 65 mail: [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: COnfiguring Tomcat/apache with mod_jk
I have these instruction for apache1.3.20/tomcat3.2.3/win2k. I don't know about your env. Hope this can be atlease a reference.. Download and copy mod_jk.dll into the modules folder in the Apache installation folder Start Tomcat and a file with the name mod_jk.conf-auto will be created by the Tomcat in the folder TOMCAT_HOME\conf Now open httpd.conf in the conf folder inside the Apache installation folder and enter the following line at the end Include C:/jakarta-tomcat-3.2.3/conf/mod_jk.conf-auto (As we assumed that Tomcat installation directory is C:\jakarta-tomcat-3.2.3, replace with appropriate, if different) Now start the Apache and the in the console we can see the message Apache/1.3.20 (Win32) mod_jk running... indicating the success of integration We can test the working of the integration by placing a sample jsp file(say test.jsp) in TOMCAT_HOME\webapps\examples, open a browser and enter http://localhost/examples/somefile.jsp in the address box -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: hai
You can put all these files in your application root folder. -Original Message- From: Harikrishna_B [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 3:59 PM To: [EMAIL PROTECTED] Subject: hai Hi, Where can I keep the javascript files and html files in the tomcat server4.0? I want to access the javascript files and html files from servlet. Can anyone help me? thanking you, B.HARIKRISHNA. ** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. **
Disabling the directory listing and war file expansion
Hi, I am working on tomcat 3.2.3. I am looking for the security issues for my application. I would like to know how to do the following things: 1. disabling directory listing 2. disabling war file expansion 3. protect war file from being expanded 4. disable the decompiling of the class files I am very thankful, if anyone can show me the solution. Thanks in advance, Shiva. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Configuration Tomcat 4.0.1 for developing JSPs
Include the following piece of code in your jsp's, check doing the same and reply if the problem still persists... % response.setHeader(Cache-Control,no-cache); response.setHeader(Pragma,no-cache); response.setHeader(Expires,-1); % -Original Message- From: Christian Endres [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 1:56 PM To: Tomcat User Subject: Configuration Tomcat 4.0.1 for developing JSPs Hello, for a project we are using JSPs. For developing we are working with JBuilder5 Enterprise under Windows 2000. The running Tomcat version is 4.0.1. So far everything works fine. The problem we have is following: When we are testing the JSPs Tomcat is compiling them correctly an we can look at them in the browsers (Netscape 4.7x, Netscape 6 IE 5 and 6). But when we are making changes in the JSPs Tomcat doesn't recognize the changes and only shows the JSPs earlier compiled. When we delete Tomcats cache directory and restart Tomcat the newer JSPs will be compiled and everything is fine again. Now we would like to know if there is a possibility to tell Tomcat to check the JSPs for changes or do we always have to delete the cache and restart Tomcat? Best regards Christian -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Tomcat 4 integration with apache
Hi, Pls help me in integrating Tomcat 4 with apache. I did the same(only) for tomcat 3.2.3 and apache 1.3.20, using mod_jk.dll, but don't know how to do for tomcat 4.x. Thanks in advance... Shiva. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Tomcat 4 integration with apache
Please tell me the steps to do it... -Original Message- From: Vinay Singh [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 06, 2002 11:26 PM To: 'Tomcat Users List' Subject: RE: Tomcat 4 integration with apache I did Apache 1.3.20 integration with Tomcat 4.0.1 using mod_webapp. I can tell u the steps if you want. -Original Message- From: Shiva.Devaguptapu [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 06, 2002 8:44 PM To: Tomcat Users List Subject: Tomcat 4 integration with apache Hi, Pls help me in integrating Tomcat 4 with apache. I did the same(only) for tomcat 3.2.3 and apache 1.3.20, using mod_jk.dll, but don't know how to do for tomcat 4.x. Thanks in advance... Shiva. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]