default logging in tomcat 5.5

2005-11-22 Thread Akoulov, Alexandre [IT]
Hi all, I am in the process of upgrading from tomcat-3.3 to tomcat-5.5 and would greatly appreciate if you could let me know whether I understood tomcat-5.5's default logging correctly. As of tomcat 5.5 Context element does not have a Logger sub-element. Logging can be configured with log4j or

Re: SSL Handshake before parameters sent???

2005-11-22 Thread Bill Barker
"John MccLain" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > We have a servlet that is served by Tomcat. IIS is employed to redirect ot > Tomcat via AJP. IIS is also SSL enabled as our data is sensistive. > > I wish to call a servlet and pass SSL encrypted data. BUT, to start the

Re: How to get getContextPath() to return ""

2005-11-22 Thread Hassan Schroeder
hv @ Fashion Content wrote: > How to you get getContextPath() to return blank for a webapp ? Make that webapp the default Context for the applicable Host. -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com

JSTL

2005-11-22 Thread Behrang Saeedzadeh
Hi, Isn't JSTL a standard part of the J2EE 1.4 Web containers? Shouldn't it be available to Web apps out of the box with no need to include the JAR files in the WEB-INF/lib and referencing to their tlds in the web.xml? Thanks in advance, Behi -- "Science is a differential equation. Religion is a

How to get getContextPath() to return ""

2005-11-22 Thread hv @ Fashion Content
How to you get getContextPath() to return blank for a webapp ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

"path" attribute for "Context" element in tomcat 5.5

2005-11-22 Thread Akoulov, Alexandre [IT]
Hi all, I am in the process of upgrading from tomcat-3.3 to tomcat-5.5.12. One of the changes in tomcat 5.5 is the configuration of contexts (ie web apps) is now being done in individual files (with a ".xml" extension) in the $CATALINA_HOME/conf/[enginename]/[hostname]/ directory ( rather than

RE: servlet-mapping question

2005-11-22 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of hv @ Fashion Content > Subject: servlet-mapping question > > Good point, but I am not trying to adhere strictly > to the URI rfc, as it is generated by the server to > refer to the server. I don't think it matters who or what generates the URI.

Re: servlet-mapping question

2005-11-22 Thread hv @ Fashion Content
Good point, but I am not trying to adhere strictly to the URI rfc, as it is generated by the server to refer to the server. "Caldarale, Charles R" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] > From: news [mailto:[EMAIL PROTECTED] On Behalf Of hv @ Fashion Content > Subject:

RE: servlet-mapping question

2005-11-22 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of hv @ Fashion Content > Subject: servlet-mapping question > > Should catch all of the following if I am not mistaken, not > just some of them right? > > http://www.domain.com/ZoA+xaeoHh6s,$EnterPromotionCode.$Form.topic > http://www.domain.com/Z

RE: Starting the apache tomcat 4.05 servlet engine on windows xp

2005-11-22 Thread Caldarale, Charles R
> From: Aaron Bortman [mailto:[EMAIL PROTECTED] > Subject: Starting the apache tomcat 4.05 servlet engine on windows xp > > 7) I have been unable to get the welcome page to display when > I point a browser at http://localhost:8080. Windows firewall, perhaps? Try doing a netstat -a -b to make

servlet-mapping question

2005-11-22 Thread hv @ Fashion Content
I am trying to figure out a little headache I am having with the servlet-mapping portalapp *.topic Should catch all of the following if I am not mistaken, not just some of them right? http://www.domain.com/ZoA+xaeoHh6s,$EnterPromotionCode.$Form.topic http://www.domain.com/ZoA+xaeoHh6s,$EnterPr

Starting the apache tomcat 4.05 servlet engine on windows xp

2005-11-22 Thread Aaron Bortman
Hello, In my job I recently have been assigned to work with Cocoon. In order to be able to use cocoon I need to be able to deploy it on a servlet engine. The book I am reading to learn Cocoon has chosen tomcat 4.0.5 as the servlet engine to use. I am having a problem getting tomcat to star

Re: Tomcat has 2 webapps - confused which classes to load

2005-11-22 Thread Shankar Unni
Radhakrishnan J wrote: Servlet Engine, Webapp are all higher level notions. The JVMTI is "JVM" level feature. The out of the box debuggers are not "servlet-engine aware" or "webapplication-aware". The place to look for would be local variables within tomcat code. But again the assumption is that

RE: SSL Handshake before parameters sent???

2005-11-22 Thread Gary Evesson
Depends how they are sent. Parameters sent in a POST will be encrypted using SSL. No user interaction required. Parameters sent using GET will not be encrypted unless you do it yourself. Gary Evesson Decentrix Inc -Original Message- From: John MccLain [mailto:[EMAIL PROTECTED] Sent: Tu

SSL Handshake before parameters sent???

2005-11-22 Thread John MccLain
We have a servlet that is served by Tomcat. IIS is employed to redirect ot Tomcat via AJP. IIS is also SSL enabled as our data is sensistive. I wish to call a servlet and pass SSL encrypted data. BUT, to start the SSL handshake off, I am making a servlet request with the data I wish to be SSL encr

Re: JDK Date version 49.0 vs 48.0 problem

2005-11-22 Thread Kennedy Roberts
Use the unsubscribe directions at the bottom of the message. Thanks. - Original Message - From: Suresh Nair To: Tomcat Users List Sent: Tuesday, November 22, 2005 3:53 PM Subject: Re: JDK Date version 49.0 vs 48.0 problem You must have send this to me by mistake. Please

RE: JDK Date version 49.0 vs 48.0 problem

2005-11-22 Thread Daxin Zuo
Thanks for the reply. I use JBuilder 9. I cleaned the old classes, and set the jdk at tool/Config JDK... The error still occurs. It may because the JBuilder 9 does not support JDK 1.5. -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 12:45 P

Re: JDK Date version 49.0 vs 48.0 problem

2005-11-22 Thread Suresh Nair
You must have send this to me by mistake. Please delete me from your message list. Thank you. SURESH NAIR (o) [EMAIL PROTECTED] (h) [EMAIL PROTECTED] (h) [EMAIL PROTECTED] ">"Daxin Zuo" <[EMAIL PROTECTED]> "Daxin Zuo" <[EMAIL PROTECTED]> 23/11/2005 04:26 AM Please respond to "Tomc

Re: FTP Was: Re: manager for some users

2005-11-22 Thread Suresh Nair
You must have send this to me by mistake. Please delete me from your message list. Thank you. SURESH NAIR (o) [EMAIL PROTECTED] (h) [EMAIL PROTECTED] (h) [EMAIL PROTECTED] Steve Ochani <[EMAIL PROTECTED]> Steve Ochani <[EMAIL PROTECTED]> 23/11/2005 04:33 AM Please respond to "Tomc

RE: JDK Date version 49.0 vs 48.0 problem

2005-11-22 Thread Suresh Nair
You must have send this to me by mistake. Please delete me from your message list. Thank you. SURESH NAIR (o) [EMAIL PROTECTED] (h) [EMAIL PROTECTED] (h) [EMAIL PROTECTED] ">"Carl Olivier" <[EMAIL PROTECTED]> "Carl Olivier" <[EMAIL PROTECTED]> 23/11/2005 04:33 AM Please respond to

Re: Servlets (total beginner)

2005-11-22 Thread Suresh Nair
You must have send this to me by mistake. Please delete me from your message list. Thank you. SURESH NAIR (o) [EMAIL PROTECTED] (h) [EMAIL PROTECTED] (h) [EMAIL PROTECTED] ">"Milan Tomic" <[EMAIL PROTECTED]> "Milan Tomic" <[EMAIL PROTECTED]> 23/11/2005 01:18 AM Please respond to "

RE: Servlets (total beginner)

2005-11-22 Thread Suresh Nair
You must have send this to me by mistake. Please delete me from your message list. Thank you. SURESH NAIR (o) [EMAIL PROTECTED] (h) [EMAIL PROTECTED] (h) [EMAIL PROTECTED] ">"Caldarale, Charles R" <[EMAIL PROTECTED]> "Caldarale, Charles R" <[EMAIL PROTECTED]> 23/11/2005 01:34 AM P

RE: JDK Date version 49.0 vs 48.0 problem

2005-11-22 Thread Carl Olivier
Hmm sorry, but just thought of another option/potential cause here. Try and clean out your cimpilation directory (the classes output location) - may be classes there that are already compiled which require 1.4 rt libs - clear that all out and rebuild your entire source tree from scratch using 1.5.

RE: JDK Date version 49.0 vs 48.0 problem

2005-11-22 Thread Carl Olivier
It appears you are running the 1.4 javac using 1.5 rt.jar library. Ensure that you have your compiler (JDK home) set up correctly. Regards, Carl -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: 22 November 2005 20:26 To: Tomcat Users List Subject: JDK Date version 49

FTP Was: Re: manager for some users

2005-11-22 Thread Steve Ochani
On 22 Nov 2005 at 14:14, [EMAIL PROTECTED] wrote: > On Tue, Nov 22, 2005 at 01:17:56PM +0100, Alex Moreno wrote: > > The problem is that some partners has said me that this is insecure > > and should only be used on beta application servers. At least this > > is what the department says us to deny

JDK Date version 49.0 vs 48.0 problem

2005-11-22 Thread Daxin Zuo
I recently download jdk 1.5. When I compile the java code with JBuilder 9, I get the error: "CreateCustomer.java": cannot access java.util.Date,bad class file: C:\Sun\AppServer\jdk\jre\lib\rt.jar\java\util\Date.class,class file has wrong version 49.0, should be 48.0,Please remove or make sure it a

Re: manager for some users

2005-11-22 Thread erh
> On 11/22/05, Kyle <[EMAIL PROTECTED]> wrote: > > If you set which ever server.xml parameter it is that auto-reloads an > > application (I think it's reloadable="true", or something like that) and > > just have your users recompile their entire app each time and then ftp > > it into the relevant d

Re: Servlets (total beginner)

2005-11-22 Thread David Rickard
Yes, you have to edit \webapps\servlets-examples\WEB-INF\web.xml to include your servlet. All JSPs (at least, all JSPs ending in .jsp or .jspx) are mapped to the JspServlet in tomcat\conf\web.xml--which is why you can add JSPs without having to update Tomcat or webapp configuration; unless y

RE: Servlets (total beginner)

2005-11-22 Thread Caldarale, Charles R
> From: Milan Tomic [mailto:[EMAIL PROTECTED] > Subject: Servlets (total beginner) > > Do I have to edit web.xml in order to inform Tomcat that > I have deployed new servlet? Yes - add your and tags to: webapps/servlet-examples/WEB-INF/web.xml > While testing JSPs I didn't had to do this for

RE: Servlets (total beginner)

2005-11-22 Thread Milan Tomic
No, I wasn't. Now I have added it and it works fine now. Thank you, Milan -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 6:27 PM To: Tomcat Users List Subject: RE: Servlets (total beginner) Have you added the and elements to yo

RE: Servlets (total beginner)

2005-11-22 Thread Allistair Crossley
Have you added the and elements to your web.xml file for this servlet? -Original Message- From: Milan Tomic [mailto:[EMAIL PROTECTED] Sent: 22 November 2005 17:18 To: 'Tomcat Users List' Subject: Servlets (total beginner) I have compiled my first servlet and copied it into apache-to

Servlets (total beginner)

2005-11-22 Thread Milan Tomic
I have compiled my first servlet and copied it into apache-tomcat-5.5.12\webapps\servlets-examples\WEB-INF\classes but when I navigate my browser to http://localhost:8080/servlets-examples/DemoServlet or http://localhost:8080/servlets-examples/servlet/DemoServlet I got an HTTP 404 error message.

RE: Calling EJBs

2005-11-22 Thread Duan, Nick
I don't know the JBoss mailing list. But it should available at http://www.jboss.org BTW, the approach I suggested was not just JBoss specific, but a generic solution applicable to all J2EE apps. ND -Original Message- From: Milan Tomic [mailto:[EMAIL PROTECTED] Sent: Monday, November 2

RE: Inter-webApp communication?

2005-11-22 Thread Duan, Nick
Since all your web apps are running on the same JVM, you can just use simple Java object to communicate with each other. Two questions should be considered. One is how to locate the common object by individual web apps. The simplest way is to just use a static object instance or singleton object

RE: suppress tomcat version numbers

2005-11-22 Thread Caldarale, Charles R
> From: Kiarna Boyd [mailto:[EMAIL PROTECTED] > Subject: suppress tomcat version numbers > > Hi I'm trying to suppress the version number Tomcat gives in its > headers. Read the doc on the tag. You're looking for the "server" attribute (the description mentions something about being paranoid

suppress tomcat version numbers

2005-11-22 Thread Kiarna Boyd
Hi I'm trying to suppress the version number Tomcat gives in its headers. Maybe I'm not looking online for the correct phrasing of this issue for either version 4.0.6 or 5.0.28. Could someone please point me in the right direction? Thank you. -Kiarna

RE: database connection pooling

2005-11-22 Thread Caldarale, Charles R
> From: Khawaja Shams [mailto:[EMAIL PROTECTED] > Subject: database connection pooling > > when using connection pooling, i get a connection from the > context. I am curious if I am supposed to close this connection > when I am done using it. Please read the doc: http://tomcat.apache.org/tomcat

RE: Re: Help Configuring Engine/Host/Context

2005-11-22 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Rob Hills > Subject: Re: Help Configuring Engine/Host/Context > > The way I achieve what you're trying to do is to create > virtual hosts in my servlet.xml file That's completely unnecessary, unless you want a different set of webapps for each

RE: Help Configuring Engine/Host/Context

2005-11-22 Thread Caldarale, Charles R
> From: Scott Purcell [mailto:[EMAIL PROTECTED] > Subject: Re: Help Configuring Engine/Host/Context > > I was hoping I would call www.myurl.com and it would call > www.myurl.com/unique. That is exactly what will happen if you replace the Tomcat ROOT app with your own. Read the rules for the ta

RE: database connection pooling

2005-11-22 Thread ALEX HYDE
Khawaja, Just to add to what the others said. When you close the connection it doesn't actually close the connection, it returns it to the pool. You close it to return it, not to "actually" close it. It doesn't mean literally terminate the connection, otherwise you're right, there would not be muc

Re: Help Configuring Engine/Host/Context

2005-11-22 Thread Hassan Schroeder
Scott Purcell wrote: > I have one webapp that I need to configure to a DNS Entry. > > Below is my server.xml. My DNS is www.theuniquepear.com and it lives under > webapps/unique. But with the below configuration, and when I try and hit the > url it goes here: > http://www.theuniquepear.com/ and

Re: Help Configuring Engine/Host/Context

2005-11-22 Thread Rob Hills
Hi Scott, Scott Purcell wrote: I am completely lost in trying to configure my Tomcat 5.5. I have read the docs under "Context", "Engine", "Host", and am having trouble putting the information to use. I have one webapp that I need to configure to a DNS Entry. I believe the technical term for

Re: url to search mailing list

2005-11-22 Thread Mike Fowler
Hi, I personally find http://marc.theaimsgroup.com/?l=tomcat-user&r=1&w=2 the most usable, if it's of any help. Thanks, -- Mike Fowler Registered Linux user: 379787 "I could be a genius if I just put my mind to it, and I, I could do anything, if only I could get 'round to it" -PULP 'Glory D

Re: url to search mailing list

2005-11-22 Thread Dhaval Patel
Hi, This is the site where you have all archives : http://mail-archives.apache.org/mod_mbox/ You can click on perticular email and you will get archives for that perticular email address. For example, http://mail-archives.apache.org/mod_mbox/tomcat-users/ For search, you can use google, S

url to search mailing list

2005-11-22 Thread Scott Purcell
What is the url to search the mailing list? Thanks, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: enable log4j

2005-11-22 Thread Dhaval Patel
Hi Nehal, I dont know how to work with multiple tomcat instances. The way I configured my tomcat (single user) to use log4j is different then yours. I followed guide from http://tomcat.apache.org/tomcat-5.5-doc/logging.html . Basically it says, 1. Create a file called log4j.properties with the

RE: database connection pooling

2005-11-22 Thread KEREM ERKAN
When pooling on Tomcat, the connection must be closed. I think, by saying "closing would defeat the purpose of connection pooling", Khawaja may be thinking about pooling in Tomcat as some persistent connection method, and while it is a persistent connection with Tomcat and the DB server which it c

RE: enable log4j

2005-11-22 Thread Nehal Sangoi
Hi Dhaval, I want to enable log4j in debug mode only for one of the tomcat instances which is running using different user -- i.e. other than tomcat-base. This means, i don't want to apply log4j on all tomcat instaces by implemeting it onto tomcat-base. -Original Message- From: Dhaval Pat

Re: enable log4j

2005-11-22 Thread Dhaval Patel
Hi Nehal, Do you want to enable log4j in your application or you want to enable log4j inside tomcat? Inside tomcat means, tomcat uses log4j instead of J2SE logging utility so that you can configure tomcat loggin in log4j. Regards, D --- Nehal Sangoi <[EMAIL PROTECTED]> wrote: > > Hi, > > I

Cipher.getInstance("DESede") results in StackOverflowError from an Applet over HTTPS

2005-11-22 Thread rakesh.raja
Hi Folks, Has anybody faced the following issue ? Cipher.getInstance("DESede") --> results in StackOverflowError from an Applet over HTTPS. I have an Applet which I am loading and calling from a client .jsp (in IE) and the Web Server is TomCat5.0 The above line of code in the applet

enable log4j

2005-11-22 Thread Nehal Sangoi
Hi, I want to enable log4j logger in one of my tomcat instances. I copied "log4j-1.2.12.jar" to my webapps - war file. This means, under WEB-INF/lib, copied jar file and under WEB-INF/classes, copied log4j.properties. Later, re-sreated warfile and started my tomcat instance. log4j.properties :

Re: Help Configuring Engine/Host/Context

2005-11-22 Thread Scott Purcell
I did that, but when I call my url, it goes to the url, and never picks up the context? I was hoping I would call www.myurl.com and it would call www.myurl.com/unique. Why is that the appBase? - Original Message - From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List"

Re: manager for some users

2005-11-22 Thread Alex Moreno
The problem is that some partners has said me that this is insecure and should only be used on beta application servers. At least this is what the department says us to deny this petition. On 11/22/05, Kyle <[EMAIL PROTECTED]> wrote: > > If you set which ever server.xml parameter it is that auto-

Re: manager for some users

2005-11-22 Thread Kyle
If you set which ever server.xml parameter it is that auto-reloads an application (I think it's reloadable="true", or something like that) and just have your users recompile their entire app each time and then ftp it into the relevant directory, tomcat should automatically reload each app for t

Re: database connection pooling

2005-11-22 Thread Caroline Jen
Hi, you should definitely close the connection right after the method that is invoked. The connection should be closed in the 'finally' block. May we know the reason why you think the closing would defeat the purpose of connection pooling? --- Khawaja Shams <[EMAIL PROTECTED]> wrote: > Hello, >

manager for some users

2005-11-22 Thread Alex Moreno
Hello everybody, i´m working in a university where we have a tomcat server running some different aplications developed by ourselves. We have different people working on each application and each one of them needs to restart at some different moments their applications. The problem is that the de

Re: database connection pooling

2005-11-22 Thread Rémi Flament
You still have to call the close() method but I will not actually close it, it will just mark it as free in the pool. Khawaja Shams a écrit : Hello, when using connection pooling, i get a connection from the context. I am curious if I am supposed to close this connection when I am done using i

database connection pooling

2005-11-22 Thread Khawaja Shams
Hello, when using connection pooling, i get a connection from the context. I am curious if I am supposed to close this connection when I am done using it. To me, it seems like closing it would defeat the purpose of connection pooling. Any guidance would be appreciated. Thanks in advance. Best Reg

Re: New Tomcat install problem

2005-11-22 Thread Terry Allen
Hi again, Thanks for the replies guys - my ISP had a mail outage whihc means I have a huge amount of email to go through - as soon as I can clear it, I will get back to you. -- Bye for now, Terry Allen ___ hEARd Postal Addre