Re: Load oracle.jdbc.driver.OracleDriver class

2005-06-24 Thread Giacomino Raccuia
I had the driver jar in shared/lib, I tried to move into common/lib, restart tomcat, but doesn't work... :-( The same error. Thanks Mino On 23/06/2005 20:18, Phillip Qin wrote: Copy oracle driver jar to common/lib -Original Message- From: Giacomino Raccuia [mailto:[EMAIL PROTECTED]

Re: Load oracle.jdbc.driver.OracleDriver class

2005-06-24 Thread Giacomino Raccuia
I put the Jar (with tomcat 4.0.3 I use *classes12.zip*, for tomcat 5.5.9 I use the same library or the *classes12.jar*?) in the common/lib, and my classpath are: CLASSPATH=/usr1/jdk1.4.1 but the error doesn't change... Thanks Mino On 23/06/2005 20:20, David Smith wrote: Put the jar in

Re: Load oracle.jdbc.driver.OracleDriver class

2005-06-24 Thread Anto Paul
On 6/24/05, Giacomino Raccuia [EMAIL PROTECTED] wrote: I put the Jar (with tomcat 4.0.3 I use *classes12.zip*, for tomcat 5.5.9 I use the same library or the *classes12.jar*?) in the common/lib, and my classpath are: CLASSPATH=/usr1/jdk1.4.1 but the error doesn't change... Tomcat loads

Tomcat Architecture

2005-06-24 Thread niteHawk
Hi Everybody, I was using Tomcat from a long time, but recently started getting more interested in it. Can someone explain me Tomcat Architecture in layman terms / point me to a better website. I didnt understand the documentation at

Re: tomcat list ant task queries

2005-06-24 Thread Tim Diggins
Karasek-XID, Nicolas wrote: Hi Tim, To prevent the Undeploy task failing to stop the process you can wrap it in a TryCatch task from ant contrib. Take a look at http://ant-contrib.sourceforge.net/ superb -- what a great task/project, totally changes my view of ant. many thanks

Re: Tomcat installation

2005-06-24 Thread Pete Stevens
A guide for Tomcat 5 under UML Linux is here http://www.mythic-beasts.com/support/topic_vds_java.html Hope this helps. Pete Stevens On Thu, 23 Jun 2005, justy wrote: None of the links you gave is working. I have a lot of doubts about tomcat installation. what shall I do..who can help me.

Re: Load oracle.jdbc.driver.OracleDriver class

2005-06-24 Thread Giacomino Raccuia
With classes12.jar works fine, thanks lot!! But I can tell tomcat to use .zip file like previous version? Bye Mino On 24/06/2005 9:58, Anto Paul wrote: On 6/24/05, Giacomino Raccuia [EMAIL PROTECTED] wrote: I put the Jar (with tomcat 4.0.3 I use *classes12.zip*, for tomcat 5.5.9 I use

Re: Load oracle.jdbc.driver.OracleDriver class

2005-06-24 Thread Anto Paul
On 6/24/05, Giacomino Raccuia [EMAIL PROTECTED] wrote: With classes12.jar works fine, thanks lot!! But I can tell tomcat to use .zip file like previous version? Bye Mino On 24/06/2005 9:58, Anto Paul wrote: On 6/24/05, Giacomino Raccuia [EMAIL PROTECTED] wrote: I put the Jar (with

Re: http session lost between struts action

2005-06-24 Thread Charl Gerber
If your session data is stored as a session cookie (I *think* this is default behaviour), then your session will get lost if you have cookies disabled on your browser. --- angelina zh [EMAIL PROTECTED] wrote: Michael, Thank you so much for your reply. The login page is a JSP page. In

Re: Tomcat Architecture

2005-06-24 Thread Philip Cote
It helps to think of the relationship in a sort of box-inside-a-box relationship. For example, the Server(Tomcat) contains the Service. The Service contains the Engine(eg. Catalina). The Engine contains the hosts (eg www.somedomain.com) Within the different hosts is the Context. Each context

Test - please ignore!

2005-06-24 Thread David Hay
testing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: how do i restrict servlet access?

2005-06-24 Thread Jim Henderson
Take a look at yesterdays (6/23 5:02 PM) posting Blocking urls. That should help. -Original Message- From: Jason Novotny [mailto:[EMAIL PROTECTED] Sent: Thursday, June 23, 2005 10:13 PM To: tomcat-user@jakarta.apache.org Subject: how do i restrict servlet access? Hi, I have a

[OT] Sharing session with manual jsessionid

2005-06-24 Thread Allistair Crossley
Hi, We are using embedded XML requests within out browser and I would like to share information through 1 session since these XML requests create new requests with their own sessions. I am obtaining the outer session with session.getId and manually adding jsessionid=%= session.getId() % to

RE: Blocking urls

2005-06-24 Thread Kam Lung Leung
Hi, I am also looking for a way to block access to the valid pages. Can you give a brief explanation on how would you use the filter to block? I am thinking to use the web.xml to set the privilege for each user. Thank you in advance, Kam Tomcat Users List tomcat-user@jakarta.apache.org

Re: [OT] Sharing session with manual jsessionid

2005-06-24 Thread Jon Wingfield
The jsessionid would have to be a path parameter not a url parameter (append prefixed with a semi-colon rather than a question mark). There was a thread last week called isRequestedSessionIdFromURL() returns false which discussed what happens when the id is both in the url and a cookie: the

RE: [OT] Sharing session with manual jsessionid

2005-06-24 Thread Allistair Crossley
Thanks for the info. I have been trying with ; but to no avail, so it must be the case (and it will be) that the parent page's session id is already a cookie AND I am passing it as a URL, so the cookie is winning. Since the XML requests are generated by JavaScript client-side objects, there

Unable to create connection pool

2005-06-24 Thread Christoph Kling
Hello, I'm trying to set up a connection pool to a MySQL database. I tried placing the following resource definition in server.xml's global name space and I tried putting it into my META-INF's context.xml: Resource name=gaussdb type=javax.sql.DataSource password=foobar

Re: [OT] Sharing session with manual jsessionid

2005-06-24 Thread Jon Wingfield
I commiserate. Only last week I tried to override the cookie header for an AJAX request using setRequestHeader. It didn't work :( Allistair Crossley wrote: Thanks for the info. I have been trying with ; but to no avail, so it must be the case (and it will be) that the parent page's session id

how to replace j_security_check

2005-06-24 Thread Marten Lehmann
Hello, I don't want to reinvent the wheel. Container managed security is a fine thing and works well. While it's easy to call a session.invalidate() to logout of a session in whatever way I like (JSP, Servlet, ...), loggin in still looks a bit ugly, even with the possibility to define a

what is wrong with this tomcat-users.xml?

2005-06-24 Thread Christian Stalp
Hello, I still have this strange Problem with my Debian Tomcat installation: I make some entrys in my tomcat-users.xml: [code] ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=tomcat/ role rolename=role1/ role rolename=manager/ role rolename=admin/ user

RE: [OT] Sharing session with manual jsessionid

2005-06-24 Thread Allistair Crossley
I've come up with the only solution I can see that will work. The parent appends it's session id as now, and the target JSP (inside the XML call) uses JSTL sql tags to retrieve information using the parent session id as a key into that state table. It works and I don't see a way for me to mess

Michelle Brett-Mitchell is out of the office.

2005-06-24 Thread mbrett-mitchell
I will be out of the office starting 06/24/2005 and will not return until 07/18/2005. I will respond to your message when I return. Please contact Thomas Gaffney with any urgent issues. - To unsubscribe, e-mail: [EMAIL

[OT] Who can translate english into chinese

2005-06-24 Thread werner
Sorry for misusing this list. I'm looking for someone who can and will translate two english sentences into chinese. If you are willing to do so please mail me off list. [EMAIL PROTECTED] Sorry again for misusing this list. Kind regards, Werner van Mook

Re: Test - please[don't] ignore!

2005-06-24 Thread dhay
Hi, This is really wierd - I can't post this msg to the list! The Test went through fine, but every time I try and post the msg below, it just disappears. Anyone guess why? Anyone know the answer?!! cheers, David Subject: Get Tomcat's port in startup servlet Body: Hi, I have a servlet

Re: how do i restrict servlet access? / blocking URLs

2005-06-24 Thread Jason Novotny
Hi Jim, Thanks-- I just looked at using a filter as a solution, but there seems to be a problem. I want the servlet in webapp A to be able to dispatch to B but not a user. The problem is the filter will block all requests including the dispatch from A. I need a way to somehow ensure that

Re: how do i restrict servlet access? / blocking URLs

2005-06-24 Thread Frank W. Zammetti
You could literally examine the IP of the incoming request (look at ServletRequest object), or you could have A set some sort of flag in request to indicate to the filter to let the request through regardless. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies

RE: how do i restrict servlet access? / blocking URLs

2005-06-24 Thread Jim Henderson
Sorry, I am no expert. I felt lucky to get the URL blocking solved. I don't have experience for what your doing. I just thought it might lead to something and could be adapted to your needs. Good luck -Original Message- From: Jason Novotny [mailto:[EMAIL PROTECTED] Sent: Friday,

Does JavaFaces cause Tomcat webapp deployment Issues?

2005-06-24 Thread Rob Goh
Hi, I've have a tomcat problem that has defeated me for weeks and weeks (you know what there like!), and would be greatful for any help on this list. 1. Basically, I've deployed and using my Tomcat 5.5.9 (Java SDK5) environment and have a number of working WebApps. 2. I then tried to

Re: Does JavaFaces cause Tomcat webapp deployment Issues?

2005-06-24 Thread Jason Novotny
What do you see in any of the $CATALINA_HOME/logs files? Jason Rob Goh wrote: Hi, I've have a tomcat problem that has defeated me for weeks and weeks (you know what there like!), and would be greatful for any help on this list. 1. Basically, I've deployed and using my Tomcat

RE: Does JavaFaces cause Tomcat webapp deployment Issues?

2005-06-24 Thread Rob Goh
Hi Jason (and all), Thanks for getting back to me so soon! As you know the config files contain loads of information, so I've attached the ones that have outputed results, after the webapp failed. Nb: your see the logs that the real name of the failing webapp is /2005-6 MinWebapp3, not

RE: WELCOME to tomcat-user@jakarta.apache.org

2005-06-24 Thread Lusinyants, Ruben \(IT\)
I am new to TOMCAT. I used MyEclipse Workbench to develop the site which I run of a local installation on my XP box. I then created a MyApplication.war file and used Tomcat Web Application Manager to deploy it on a shared server. The war file is in .

Re: how do i restrict servlet access? / blocking URLs

2005-06-24 Thread Louis Moore
you can use a Remote Host or Address Filter for webapp B that only allows localhost or whatever server webapp A runs on: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html something like this: Context of webapp B Valve className=org.apache.catalina.valves.RemoteAddrValve

Virtual hosts with standalone tomcat 5.5.9

2005-06-24 Thread cmllpz
All I need is different FQDNs (Fully qualified domain names) Say: www.mysite.com, mail.external.mysite.com I tried simply going like this Host name=www.mysite.com Context path= docBase=/var/www/server1 reloadable=true debug=0 / /Host Host name=mail.external.mysite.com

503 Service Temporarily Unavailable

2005-06-24 Thread John Lindley
I am a consultant running Windows server 2003, Apache 2.0.54, Tomcat 5.0.28, mod_jk2 2.0.4 This machine is stored on site of my client. Last night, they applied some server patches which apparently should have had nothing to do with the Apache/Tomcat setup. Before these patches were applied,