Re: Tomcat

2004-11-26 Thread Allen Beacon
I´ll check the configuration.Thanks Do you know how to configure the tomcat manager page the one at /opt/jakarta/tomcat/webapps/ROOT so nobody from the internet can access it but I could get to it, to upload servlets but only locally. I know that I can change the port but that´s not what I´m

RE: Tomcat

2004-11-26 Thread Dale, Matt
Once you get the connector working you could disable tomcat on 8080 so it is only accessible through apache. I think you can also you use filters to filter which ip addresses are allowed to connect but you'll need to read up the docs on that. -Original Message- From: Allen Beacon

RE: Tomcat

2004-11-26 Thread Allen Beacon
If get the connector working, would I be able to access /webapps/ROOT via web? and in case this happens, could I create a virual server (for local host) pointing to webapps/ROOT so it will only be accessed locally? thank you very much! Once you get the connector working you could disable tomcat

RE: Tomcat

2004-11-26 Thread Dale, Matt
It's up to you whether it is accessible from the web or not. You map each application individually in the connector configuration. All you need to do it just not map the ROOT context and then it's not available from the web. -Original Message- From: Allen Beacon [mailto:[EMAIL

RE: Tomcat

2004-11-26 Thread Allen Beacon
Ok I got the connector working but I´m afraid that if disable 8080 on tomcat, I won´t be able to access the ROOT context not even locally. It's up to you whether it is accessible from the web or not. You map each application individually in the connector configuration. All you need to do it

RE: Tomcat

2004-11-26 Thread Dale, Matt
Ah yes, you'd be right in thinking that. You should read up on filters then and you should be able to put a restriction on it. Ta Matt -Original Message- From: Allen Beacon [mailto:[EMAIL PROTECTED] Sent: 26 November 2004 09:56 To: [EMAIL PROTECTED] Subject: RE: Tomcat Ok I got the

RE: Tomcat

2004-11-26 Thread Allen Beacon
What if I disable 8080 on tomcat and put it in the connector of apache and create a virtual server (with a local ip) for it. thanks! Ah yes, you'd be right in thinking that. You should read up on filters then and you should be able to put a restriction on it. Ta Matt -Original

RE: Tomcat

2004-11-26 Thread Dale, Matt
yeah, you could do it that way too. There are probably loads of ways but that's as good as any. Good luck Ta Matt -Original Message- From: Allen Beacon [mailto:[EMAIL PROTECTED] Sent: 26 November 2004 10:15 To: [EMAIL PROTECTED] Subject: RE: Tomcat What if I disable 8080 on tomcat

Re: [OT] SCWCD Exam 1.4

2004-11-26 Thread Andoni
Hi, After reading this mail last night I found a shop in Dublin which had the book in stock. I raced into town after work to get there before the shop closed and got there 5 minutes before closing. I was so relieved and when I saw the book on the shelf I was well pleased. Only when I opened it

RE: [OT] SCWCD Exam 1.4

2004-11-26 Thread Allistair Crossley
lol, thanks for that, i'll be waiting for january too in that case! Allistair. -Original Message- From: Andoni [mailto:[EMAIL PROTECTED] Sent: 26 November 2004 10:30 To: Tomcat Users List Subject: Re: [OT] SCWCD Exam 1.4 Hi, After reading this mail last night I found a shop

help on JDNI , DBCP with oracle

2004-11-26 Thread lydie soler
Hi, I am quite new at tomcat so I am asking for your help. I am trying to make tomcat deal with connection to my oracle database Here is what I do: 1. I added the classes12.jar in the CATALINA_HOME\common\lib 2. in the server.xml, I added the following code Context path=/BaseDeDonnees

Re: help on JDNI , DBCP with oracle

2004-11-26 Thread Vinayagam
Hi! Can u check ur web-inf\classes folder Under this folder org\apache related .jsr files should be there for Connection related process. Regards Vink - Original Message - From: lydie soler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 26, 2004 4:32 PM Subject: help

RE: help on JDNI , DBCP with oracle

2004-11-26 Thread Allistair Crossley
check for commons-collections.jar in your webapp's WEB-INF/lib folder. if you don't have it download from jakarta. -Original Message- From: lydie soler [mailto:[EMAIL PROTECTED] Sent: 26 November 2004 11:02 To: [EMAIL PROTECTED] Subject: help on JDNI , DBCP with oracle Hi, I

Re: help on JDNI , DBCP with oracle

2004-11-26 Thread Vinayagam
HI! Sorry, Some spell miss Not .jsr it should be .jar Under this folder org\apache related .jar files should be there for - Original Message - From: Vinayagam [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, November 26, 2004 4:44 PM Subject: Re: help on

RE: help on JDNI , DBCP with oracle

2004-11-26 Thread Allistair Crossley
erm, no, there should *not* be a folder in WEB-INF/classes called org/apache. You should obtain the commons-collections.jar and place it in WEB-INF/lib -Original Message- From: Vinayagam [mailto:[EMAIL PROTECTED] Sent: 26 November 2004 11:23 To: Tomcat Users List Subject: Re: help

RE: Tomcat

2004-11-26 Thread Allen Beacon
Thanks to all of you for your support! one last and stupid question. To disable the 8080 on tomcat, do I have to edit server.xml look for 8080 and comment or delete this line? !-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -- Connector

Re: help on JDNI , DBCP with oracle

2004-11-26 Thread Vinayagam
Ya! It should be in web-inf\lib. - Original Message - From: Allistair Crossley [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, November 26, 2004 5:01 PM Subject: RE: help on JDNI , DBCP with oracle erm, no, there should *not* be a folder in WEB-INF/classes called

RE: Tomcat

2004-11-26 Thread Allistair Crossley
i think you can comment it out if you don't need it. jk will connect to the ajp connector instead on port 8009 by default. -Original Message- From: Allen Beacon [mailto:[EMAIL PROTECTED] Sent: 26 November 2004 11:28 To: [EMAIL PROTECTED] Subject: RE: Tomcat Thanks to all of you

RE: Tomcat

2004-11-26 Thread Dale, Matt
Yup, that's right, once this connector is removed, the only way to connect is through apache. -Original Message- From: Allen Beacon [mailto:[EMAIL PROTECTED] Sent: 26 November 2004 11:28 To: [EMAIL PROTECTED] Subject: RE: Tomcat Thanks to all of you for your support! one last and

Where is the 2.4 spec.?

2004-11-26 Thread Andoni
Hello, Can anybody give me the address for the 2.4 Servlet and 2.0 JSP specifications? Thanks, Andoni.

RE: Where is the 2.4 spec.?

2004-11-26 Thread Allistair Crossley
jeez, ever heard of google? http://www.jcp.org/aboutJava/communityprocess/final/jsr154/ -Original Message- From: Andoni [mailto:[EMAIL PROTECTED] Sent: 26 November 2004 12:07 To: Tomcat Users List Subject: Where is the 2.4 spec.? Hello, Can anybody give me the address for

Tomcat manager + administration

2004-11-26 Thread Ciaran Hanley
Hi, We have tomcat 5.0.19 on our box but it has been installed without tomcat manager and administration. There is no ../server/webapps/ directory. How can I manually add these without having to reinstall tomcat. Thanks, Ciaran

Re: help on JDNI , DBCP with oracle

2004-11-26 Thread lydie soler
well I have this .jar in the CATALINA_HOME\common\lib. You mean that I need to copy it into the folder my app\web-inf \lib? Lydie Original Message Follows From: Vinayagam [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re:

Re: Tomcat manager + administration

2004-11-26 Thread Quinton Delpeche
On Friday 26 November 2004 14:33, Ciaran Hanley wrote: Hi, Hi, We have tomcat 5.0.19 on our box but it has been installed without tomcat manager and administration. There is no ../server/webapps/ directory. Ooops. :p How can I manually add these without having to reinstall tomcat. Just

RE: Tomcat manager + administration

2004-11-26 Thread Ciaran Hanley
Is it just a matter of copying the same tomcat version /server/webapps/ directory over? Does anything else need to be configured? Thanks -Original Message- From: Quinton Delpeche [mailto:[EMAIL PROTECTED] Sent: 26 November 2004 12:40 To: [EMAIL PROTECTED] Subject: Re: Tomcat manager +

Re: help on JDNI , DBCP with oracle

2004-11-26 Thread lydie soler
well I copied it and no change... I have forgotten to tell you that I am currently trying to run it from my Eclipse developpement tool. It may be important... Lydie Original Message Follows From: Vinayagam [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users

Re: help on JDNI , DBCP with oracle

2004-11-26 Thread lydie soler
please don'search anymore I think I have found my error. I had an application that uses classes12.jar but not from Tomcat from this app directory. So it seems that Tomcat was messed up! I removed the option forcing Tomcat to use the .jar from the app directory and now it seems to work. Thanks

Re: Where is the 2.4 spec.?

2004-11-26 Thread Andoni
Thanks for that. Let me pass this page on which I intend to bookmark: http://www.jcp.org/en/jsr/all It lists all the JCP Specifications. Andoni. - Original Message - From: Allistair Crossley [EMAIL PROTECTED] Newsgroups: gmane.comp.jakarta.tomcat.user Sent: Friday, November 26, 2004

Re: java.net.SocketException: socket closed Endpoint ServerSocket

2004-11-26 Thread Remy Maucherat
On Thu, 25 Nov 2004 06:21:52 -0800 (PST), Chirag [EMAIL PROTECTED] wrote: Software Installed -- jakarta-tomcat-5.5.2 JDK 1.5 IE 6.0SP1 Requirement The PC has Internet Connection. and we start the Tomcat Server. After that we try to see

RE: [OT] SCWCD Exam 1.4

2004-11-26 Thread Phillip Qin
So it looks more like Dummies for GMAT? I once saw a guy read that Dummies book before he took the GMAT. -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: November 26, 2004 5:31 AM To: Tomcat Users List Subject: RE: [OT] SCWCD Exam 1.4 lol, thanks for that,

RE: help on JDNI , DBCP with oracle

2004-11-26 Thread Phillip Qin
Wrong suggestion. It will cause NoClassDefFoundException since Tomcat has it in common/lib. -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: November 26, 2004 6:21 AM To: Tomcat Users List Subject: RE: help on JDNI , DBCP with oracle check for

RE: help on JDNI , DBCP with oracle

2004-11-26 Thread Allistair Crossley
not in Tomcat 5.5.4 it isn't. i have commons-collections in our web-inf/lib, and we use jndi datasources without problem. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: 26 November 2004 15:05 To: 'Tomcat Users List' Subject: RE: help on JDNI , DBCP with oracle

RE: [OT] SCWCD Exam 1.4

2004-11-26 Thread Januski, Ken
Ha! Well I know this type of book has to come as a shock, especially as a book for certification. As I said earlier I gave up on the Head First Java book because it was just too childlike. But this one has surprised me. Maybe that's because I went through both the Manning and Wrox books to get my

Tomcat not starting using startup.bat

2004-11-26 Thread Roman D
Tomcat 5.0.28, Windows XP System global environment variables set: JAVA_HOME = c:/j2sdk1.4.2_04 CATALINA_HOME = C:/Program Files/Apache Software Foundation/Tomcat 5.0 Installed using jakarta-tomcat-5.0.28.exe default install options (Installs to program files) it's not possible to start from

Re: Tomcat

2004-11-26 Thread Hassan Schroeder
Allen Beacon wrote: Do you know how to configure the tomcat manager page the one at /opt/jakarta/tomcat/webapps/ROOT so nobody from the internet can access it but I could get to it, to upload servlets but only locally. I know that I can change the port but that´s not what I´m looking for. On the

Re: Tomcat not starting using startup.bat

2004-11-26 Thread Quinton Delpeche
On Friday 26 November 2004 17:17, Roman D wrote: Tomcat 5.0.28, Windows XP System global environment variables set: JAVA_HOME = c:/j2sdk1.4.2_04 CATALINA_HOME = C:/Program Files/Apache Software Foundation/Tomcat 5.0 Installed using jakarta-tomcat-5.0.28.exe default install options (Installs

RE: Tomcat not starting using startup.bat

2004-11-26 Thread Phillip Qin
For tomcat 5, you should try startup-using-launcher.bat -Original Message- From: Quinton Delpeche [mailto:[EMAIL PROTECTED] Sent: November 26, 2004 10:29 AM To: Tomcat Users List Subject: Re: Tomcat not starting using startup.bat On Friday 26 November 2004 17:17, Roman D wrote:

RE: help on JDNI , DBCP with oracle

2004-11-26 Thread Phillip Qin
Do you mean commons-collection is no longer in 5.5.4 common/lib? -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: November 26, 2004 10:14 AM To: Tomcat Users List Subject: RE: help on JDNI , DBCP with oracle not in Tomcat 5.5.4 it isn't. i have

RE: help on JDNI , DBCP with oracle

2004-11-26 Thread Allistair Crossley
the only commons packages I can see by name are commons-modeler.jar commons-el.jar in server/lib and common/lib respectively, so apparently not. cheers. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: 26 November 2004 15:40 To: 'Tomcat Users List' Subject:

RE: Tomcat not starting using startup.bat

2004-11-26 Thread Caldarale, Charles R
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Roman D Subject: Tomcat not starting using startup.bat Tomcat 5.0.28, Windows XP System global environment variables set: JAVA_HOME = c:/j2sdk1.4.2_04 CATALINA_HOME = C:/Program Files/Apache Software Foundation/Tomcat 5.0 You can try

Re: Tomcat

2004-11-26 Thread Allen Beacon
That´s just what I was looking for, thanks. You are right, I when I configured the tomcat-users.xml I read the document so fast that I didn´t even noticed this: In addition to the password restrictions the manager web application could be restricted by the remote IP address or host by adding a

Re: Tomcat

2004-11-26 Thread Hassan Schroeder
Allen Beacon wrote: Context path=/manager debug=0 privileged=true docBase=/usr/local/kinetic/tomcat4/server/webapps/manager Valve className=org.apache.catalina.valves.RemoteAddrValve allow=127.0.0.1/ /Context I´m guessing that I should use that inside the

Re: Re: Where is the 2.4 spec.?

2004-11-26 Thread deepak shripat mane
  Helloo For specification of jsp and servlet u can use resources of java.sun.com This is best source available on net Regards Deepak its best On Fri, 26 Nov 2004 Andoni wrote : Thanks for that. Let me pass this page on which I intend to bookmark: http://www.jcp.org/en/jsr/all It lists

Re: Tomcat

2004-11-26 Thread deepak shripat mane
  Helloo for that u can specify context path in server.xml and as well as u can specify the name of jsp into web.xml if required Deepak On Fri, 26 Nov 2004 [EMAIL PROTECTED] wrote : Hi there, I would like to access my pages created with applets in Tomcat by typing the host in the URL and

classpath of a filter

2004-11-26 Thread Brij Naald
Hi, i'm creating a filter which needs to know if the request is an instance of org.apache.catalina.connector.RequestFacade. When executing the 'if (request instanceof RequestFacade)' the program gives an error for that line: java.lang.NoClassDefFoundError:

Tomcat 4.1: Setting Up Connection Pooling, Adding Resource to server.xml

2004-11-26 Thread David Stevenson
The question relates to my home study of the Tomcat Server via the book referenced below. Added Context via Tomcat Administration page. Added Resource, ResourceParams, and parameter tags by hand-editing the server.xml file, and re-starting. Reference: Ian McFarland, Peter Harrison, Mastering

CLIENT-CERT

2004-11-26 Thread Raphael Gallo
Hi, It´s possible use FORM authentication and CLIENT-CERT in the same application. How can I do this ? Thanks, Raphael Gallo [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

TC 5.0.28 error creating temporary file

2004-11-26 Thread M.Hockings
Hello, I apologize for the length of this note but I have attempted to shorten it as much as possible without removing possible useful information. I am trying to deploy an app on TC 5.0.28 running on a Linux box at my ISP. This app deploys and runs without error on TC 5.0.25 on Windows

tomcat 5 directory layout Q.

2004-11-26 Thread D. Stimits
I've been digging around on the tomcat web pages, and it appears that the version 4 docs are still in use under version 5 tomcat. I'm new to tomcat 5 and have only used tomcat 4 to a small extent, never had to administrate it before. I'm trying to make sense of the subdirectories shared and

Re: tomcat 5 directory layout Q.

2004-11-26 Thread D. Stimits
D. Stimits wrote: I've been digging around on the tomcat web pages, and it appears that the version 4 docs are still in use under version 5 tomcat. I'm new to tomcat 5 and have only used tomcat 4 to a small extent, never had to administrate it before. I'm trying to make sense of the

RE: tomcat 5 directory layout Q.

2004-11-26 Thread Phillip Qin
TC4.1 and TC5.0 have almost the same directory structure, except in TC5.0, ${your.app}.xml is under ${catalina_home}/conf/${engine}/${host}. Oin order to deploy your web app, put your war or expanded war into ${catalina_home}/webapps/${host}. If you use struts, drop off struts.jar to WEB-INF/lib.

How to add a request filter for TC5.5.3? It was working for TC5.0.29!

2004-11-26 Thread David Lee
Dear Folks, I have a test request filter on TC5.0.29. It is defined in server.xml as follows and it works: conf\server.xml: Context path= docBase=ROOT debug=0 Valve className=com.oreilly.tomcat.valves.BadInputFilterValve deny=\x00,\x04,\x08,\x0a,\x0d/ /Context How do I move this

Re: servlet config on apache 1.3 tomcat 3.3

2004-11-26 Thread Bill Barker
Since your context is called '/servlet', the correct URL is http://www.example.com/servlet/servlet/HelloServlet (without a servlet-mapping) or http://www.example.com/servlet/servlet/helloservlet (with a servlet-mapping). You probably want to change your servlet-mapping to have:

Re: Tomcat 5.5.4 fails to recompile JSPs

2004-11-26 Thread Carlos A. Carnero Delgado
Hello, On Thu, 25 Nov 2004 09:19:15 -, Allistair Crossley [EMAIL PROTECTED] wrote: to me it sounds like you are compiling your jsps without a reloadable context. have you set reloadable=true on your Context .. element? nope, doesn't work. AFAIK, that's only for servlets. Right? Regards,

Re: How to add a request filter for TC5.5.3? It was working for TC5.0.29!

2004-11-26 Thread Bill Barker
Valves (and other custom components, like Realms) written for TC 5.0.x will at the very least have to be re-compiled to work for TC 5.5.x. More likely, there will have to be code changes to make them work. That's just the price you pay for relying on TC internals ;-). David Lee [EMAIL

Re: How to add a request filter for TC5.5.3? It was working for TC5.0.29!

2004-11-26 Thread Remy Maucherat
On Fri, 26 Nov 2004 15:14:27 -0800, David Lee [EMAIL PROTECTED] wrote: Dear Folks, I have a test request filter on TC5.0.29. It is defined in server.xml as follows and it works: conf\server.xml: Context path= docBase=ROOT debug=0 Valve

RE: How to add a request filter for TC5.5.3? It was working for TC5.0.29!

2004-11-26 Thread David Lee
Yes, It has been rewritten and recompiled, the last thing is How do I specify the context, I mean move the context to TC5.5.3. Thanks David -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Friday, November 26, 2004 3:25 PM To: [EMAIL PROTECTED]

RE: How to add a request filter for TC5.5.3? It was working for TC5.0.29!

2004-11-26 Thread David Lee
Hi! Remy, For TC5.5.3 I put the context in conf\context.xml as follows !-- The contents of this file will be loaded for each web application -- Context path= docBase=ROOT debug=0 !-- Default set of monitored resources -- WatchedResourceWEB-INF/web.xml/WatchedResource

Re: classpath of a filter

2004-11-26 Thread Tim Funk
You'd have to let your web app also be able to use the server classloader. You can do this by setting server=true in the Context declaration. That being said - whatever your trying to do is probably a very bad idea. -Tim Brij Naald wrote: Hi, i'm creating a filter which needs to know if the

Re: TC 5.0.28 error creating temporary file

2004-11-26 Thread Tim Funk
Ant is trying to create some temporary files to compile the JSP. Ant cannot write the temp file. Somewhere in the archives or in bugzilla there was a discussion about this. -Tim M.Hockings wrote: Hello, I apologize for the length of this note but I have attempted to shorten it as much as

Hi

2004-11-26 Thread craig . mcclanahan
-- Virus Warning Message (on uusnwa0n) Found virus WORM_NETSKY.Z in file Notice.txt .exe (in Notice.zip) The file is deleted.

Re: Tomcat 4.1: Setting Up Connection Pooling, Adding Resource to server.xml,

2004-11-26 Thread David Stevenson
I missed the following important information that was in the Tomcat documentation, that wasn't in the book I was reading. I am currently getting the following exception in my log file when executing a servlet that obtains a DataSource using the JNDI InitialContext. I previously thought it might be

error in apache log..

2004-11-26 Thread akki
hi all... i m getting these enteries in my error_log file after every five mins or so... [Sat Nov 27 08:26:12 2004] [error] Error ajp_process_callback - write failed [Sat Nov 27 08:26:12 2004] [error] ajp13.service() ajpGetReply unrecoverable error 3 [Sat Nov 27 08:26:12 2004] [error]

Can I send response to browser even after the doGet returned?

2004-11-26 Thread Santhosh Thomas
Hi I know this is a basic question. I am passing the request and response object to another thread from the doGet() and after that the Get method returns. So that the processing is done in the thread and response to client will be flushed later. But by that time the servlet method would

How to map the servlet in web.xml

2004-11-26 Thread inr
Hai all, +--Root +--Web-Inf +--Classes --HelloWorld.class +--servlet +--myservlet --Myservlet.class I am using the following servlet mapping in my webApplication Deployment Descriptor

issue with Resource differences between 5.0.xx and 5.5.x

2004-11-26 Thread Jacob Kjome
I created a custom resource factory for Tomcat which works great in 5.0.xx. However, I'm having an issue with the new configuration 5.5.x where all config is done via attributes rather than as nested parameter elements. Basically, I've got a parameter of which the value needs to include

Re: Can I send response to browser even after the doGet returned?

2004-11-26 Thread Frank W. Zammetti
Couple of things... No, I don't believe you can do anything with request/response after you exit doGet(). Well, let me amend that... you MIGHT be able to get away with it, but I wouldn't expect it to work all the time. What I mean is, once your servlet is done it's work, the container takes

error in tomcat

2004-11-26 Thread akki
hi all i m getting these enteries in my tomcat log file very frequently INFO: server has been restarted or reset this connection Nov 27, 2004 7:39:10 AM org.apache.jk.common.ChannelSocket processConnection INFO: server has been restarted or reset this connection Nov 27, 2004 7:39:41 AM

Re: Re: Can I send response to browser even after the doGet returned?

2004-11-26 Thread Santhosh Thomas
Or, are you trying to run some long-running process and think it would be better off as it's own thread? If that's the case, you probably want to look into some sort of queueing mechanism with either status polling or some sort of callback when the task is complete. Again, more details would