SAXParseException for matching end tags

2006-01-18 Thread Neha Narkhede
Hi.. I am getting the following error while using Apache Tomcat. I am using JTidy to convert HTML file to XML. [Fatal Error] :15:184: The element type "HR" must be terminated by the matching end-tag "". >From XMLParser org.xml.sax.SAXParseException: The element type "HR" must be terminated by

Re: Does tomcat 5.0 officially support JDK1.5?

2006-01-18 Thread Hans Sowa
Hi I can't give you a offical announcement ;O) but I develop a webapplication for my company and we use Tomcat 5.0.* with JDK 1.5 without any problems. So from my point of you I can say you should not run in any problems if you use JDK 1.5. 2006/1/18, HuangHao <[EMAIL PROTECTED]>: > > > > --- Hua

wrong System encoding

2006-01-18 Thread jacky
hi, RedHat7.3(System encoding is iso8859-15), tomcat 4.1.30 When i use System.getProperty("file.encoding") in a jsp, it print "utf-8". I think the "utf-8" must be the encode of tomcat,but how can i get the system encode: iso8859-15? In fact, i need the right encode to write/read file.

Re: SAXParseException for matching end tags

2006-01-18 Thread HuangHao
I guess the HTML tag caused this error. How about change to or to make it well-formed. Hi.. I am getting the following error while using Apache Tomcat. I am using JTidy to convert HTML file to XML. [Fatal Error] :15:184: The element type "HR" must be terminated by the matching end-tag

RE: SAXParseException for matching end tags

2006-01-18 Thread tamsin
to make wellformed xml you must either add the end-tag as it says or put the empty tag I don't know about Jtidy but if it is outputting xml for you it should have done this? Tamsin w: www.anorakgirl.co.uk > -Original Message- > From: Neha Narkhede [mailto:[EMAIL PROTECTED] > Sent:

Re:2nd Request: How do you programmatically determine Tomcat Version

2006-01-18 Thread Rodrigo Ruiz
Hi Andy, I agree with you. The application version seems to be a relevant information piece. I guess "Catalina/Server" MBean would be a good place. Regards, Rodrigo Ruiz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: 2nd Request: How do you programmatically determine Tomcat Version

2006-01-18 Thread Peter Rossbach
OK, this is a very useful information and I add this to this information to the Server mbean. The fix included at 5.5.16. Thanks peter Am 18.01.2006 um 09:53 schrieb Rodrigo Ruiz: Hi Andy, I agree with you. The application version seems to be a relevant information piece. I guess "Catalina/

form-based authentication support for cookies

2006-01-18 Thread Leonardo Kenji Shikida
using tomcat´s form-based authentication ("j_username" and "j_password"), is there any support for "remember me" feature? (saving encripted password into a cookie and reading it back in the next visit), or will I have to code myself the a whole new authentication process by hand? best regards Ken

RE: Is the JK Connector the definite one to use as a web connecto r?

2006-01-18 Thread Chris Mooring
Hi Georg, Thanks for your reply. Sorry if I appear a little naïve with regards to my terminology. I have mainly only had to mess around with IIS's GUI and its terminology :) However, you are right. All I need to be able to do is to map a specific URL path to a local directory. I think your examp

Authenticating LDAP users without their input - doable?

2006-01-18 Thread g m
I have a critical 'challenge' It is possible to authenicate on Tomcat using LDAP (Active Directory) (using MS IE browser), but, 'without' the user inputing their username and password - that is, use the cached credentials from user when they logged into the system.

Re: wrong System encoding

2006-01-18 Thread Anto Paul
On 1/18/06, jacky <[EMAIL PROTECTED]> wrote: > hi, > RedHat7.3(System encoding is iso8859-15), tomcat 4.1.30 > When i use System.getProperty("file.encoding") in a jsp, it print > "utf-8". I think the "utf-8" must be the encode of tomcat,but how can i get > the system encode: iso8859-15?

Re: Authenticating LDAP users without their input - doable?

2006-01-18 Thread Tim Funk
See the faq ... http://tomcat.apache.org/faq/windows.html#ntlm -Tim g m wrote: I have a critical 'challenge' It is possible to authenicate on Tomcat using LDAP (Active Directory) (using MS IE browser), but, 'without' the user inputing their username and password - that is,

Re: Authenticating LDAP users without their input - doable?

2006-01-18 Thread Jess Holle
This is better termed NTLM authentication without a user challenge. I don't know of means of doing this with Tomcat, but I certainly don't know everything... g m wrote: I have a critical 'challenge' It is possible to authenicate on Tomcat using LDAP (Active Directory) (using

Re: malformed HTTP?

2006-01-18 Thread Tim Funk
There is a bugzilla report similar to this - but also check 5.1.15 since it has some fixes too. -Tim Patricio Keilty wrote: Hi guys, i recently tried to migrate my webapps from version 5.5.4 to a brand new 5.5.12 installation, so i just copied original $CATALINA_HOME/conf/server.xml & all $CA

Re: Authenticating LDAP users without their input - doable?

2006-01-18 Thread Jess Holle
Jess Holle wrote: This is better termed NTLM authentication without a user challenge. I don't know of means of doing this with Tomcat, but I certainly don't know everything... I should have added that by using IIS in front of Tomcat and the IIS/Tomcat connector you *can* accomplish this, howev

tomcat log analyser

2006-01-18 Thread Stas Ostapenko
Hello ! I'm searching for tomcat log analyser. Under Apache (not Tomcat) i have used AWStats. Is there something similar for standalone Tomcat ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

catalina.out logging

2006-01-18 Thread sunil goyal
Hello all, Catalina.out on my server keeps getting on bigger. Is there any way to split catalina.out on date basis so that I have catalina.out being split on a daily basis. catalina_out_11_01_2006.out catalina_out_12_01_2006.out It will be great if someone can let me know a simple procedure

Re: tomcat log analyser

2006-01-18 Thread Tim Funk
No. Tomcat can produce access log files in the statndard format as read by most log file analyzers. -Tim Stas Ostapenko wrote: Hello ! I'm searching for tomcat log analyser. Under Apache (not Tomcat) i have used AWStats. Is there something similar for standalone Tomcat ? -

Re: Database Connectivity of JSP(Tomcat 4.x) with Oracle 8i

2006-01-18 Thread gupta vidhi
i've JDBC installed in other path than Tomcat.you asked me to put the JDBC driver library into WEB-INF\lib. there's WEB-INF directory,but it do not have lib as its sub directory.what can be done for this? kindly tell me how to do the path setting of JDBC with JSP. i'd made a page in JSP,but w

Re: tomcat log analyser

2006-01-18 Thread Anto Paul
On 1/18/06, Stas Ostapenko <[EMAIL PROTECTED]> wrote: > Hello ! > > I'm searching for tomcat log analyser. Under Apache (not Tomcat) i > have used AWStats. > Is there something similar for standalone Tomcat ? Tomcat can use AWStats if you configure Tomcat to run CGI script. Or are you asking for a

Re: tomcat log analyser

2006-01-18 Thread Stas Ostapenko
I'm asking about pure java tomcat log analyser similar to AWStats (or maybe another tool) Thanks for help ! On 1/18/06, Anto Paul <[EMAIL PROTECTED]> wrote: > On 1/18/06, Stas Ostapenko <[EMAIL PROTECTED]> wrote: > > Hello ! > > > > I'm searching for tomcat log analyser. Under Apache (not Tomcat)

Re: Encrypting/Protecting JSP/Struts source code

2006-01-18 Thread Tom Burke
Thanks to all who responded to this request yesterday. I'm now a lot clearer about what we are distributing, and what measures it's sensible for us to take. We have decided to obfuscate the .classes files as they are produced, and not worry about the jsp files: it's the java code (the .classes

Re: Database Connectivity of JSP(Tomcat 4.x) with Oracle 8i

2006-01-18 Thread Anto Paul
On 1/18/06, gupta vidhi <[EMAIL PROTECTED]> wrote: > i've JDBC installed in other path than Tomcat.you asked me to put the JDBC > driver library into WEB-INF\lib. there's WEB-INF directory,but it do not have > lib as its sub directory.what can be done for this? > kindly tell me how to do the pa

Re: catalina.out logging

2006-01-18 Thread Markus Schönhaber
sunil goyal wrote: > Catalina.out on my server keeps getting on bigger. Is > there any way to split catalina.out on date basis so > that I have catalina.out being split on a daily basis. http://tomcat.apache.org/faq/logging.html#catalina.out Regards mks

Re: wrong System encoding

2006-01-18 Thread chen jacky
hi, Yes, i have run a java application at commant prompt, it prints "ISO-8859-15". From: Anto Paul <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: Tomcat Users List Subject: Re: wrong System encoding Date: Wed, 18 Jan 2006 16:32:14 +0530 On 1/18/06, jacky <[EMAIL PROTECTED]> wrote:

Re: Database Connectivity of JSP(Tomcat 4.x) with Oracle 8i

2006-01-18 Thread gupta vidhi
i'd copied the classes12.zip from C:\jdbc\lib. there's no folder of ORACLE_HOME. now,what else to be done? i'm sending you my JSP page. kindly tell me what code should be written/added to execute it successfully. i'd created the table named as user1 in oracle 8.0 and inserted some values in it

Re: Authenticating LDAP users without their input - doable?

2006-01-18 Thread g m
Tim, Wow!..unless I am mistaken this is 'sort of' (exactly) what I was looking for I have had a quick read of it and it would seem that as I am using MSIE (that fine example of robust software it is...), then 'perhaps' it should all just plug in...more or less... Intereste

Re: Database Connectivity of JSP(Tomcat 4.x) with Oracle 8i

2006-01-18 Thread Anto Paul
On 1/18/06, gupta vidhi <[EMAIL PROTECTED]> wrote: > > i'd copied the classes12.zip from C:\jdbc\lib. there's no folder of > ORACLE_HOME. > now,what else to be done? By ORACLE_HOME I meant where oracle is installed. You cannot attach files while sending mail to this list. The code should look lik

RE: Authenticating LDAP users without their input - doable?

2006-01-18 Thread Klotz Jr, Dennis
Keep in mind that it is using base64 encoding which realistically, is the same as clear text passwords... I wouldn't use this in a corporate environment for that reason. Anyone who has access to your Ethernet traffic and ethereal can easily figure out the passwords. -Dennis -Original Message

RE: Authenticating LDAP users without their input - doable?

2006-01-18 Thread g m
Good point. The issue where I am is most of the internal traffic is 'almost' in the clear so this would not change anything - not that I am saying it is a good thing. Once working (..I hope..) I may look at converting over to https but It will need investigating...;-) Thank! "Klotz Jr,

Re: Database Connectivity of JSP(Tomcat 4.x) with Oracle 8i

2006-01-18 Thread Zorro3692
Vidhi wrote: i'd copied the classes12.zip from C:\jdbc\lib. there's no folder of ORACLE_HOME. now,what else to be done? i'm sending you my JSP pagae. kindly tell me what code should be written/added to execute it successfully. i'd created the table named as user1 in oracle 8.0 and inserted so

Problem with JK connector

2006-01-18 Thread Michael Li
Hi there, Currently we use apache 1.3 and tomcat 4.1.31. We tried to connect them through JK. Everything works fine, except some special http headers are gone.=20 Because we user entrust direct, which will set some special http header in the http request. The servlets will check those headers to c

Re: Does tomcat 5.0 officially support JDK1.5?

2006-01-18 Thread Wade Chandler
--- HuangHao <[EMAIL PROTECTED]> wrote: > Thanks. As a requirement, my application need to > support both Tomcat 5.0 > and 5.5. But my application requires JDK1.5 for some > reason. Should be fine if it's only that you are using methods and classes from JDK1.5 which were not available in previous

RE: Problem with JK connector

2006-01-18 Thread Chris Mooring
Hi Michael, Could it be that your request headers are > 8K ? I was having some funny issues with JK2 this week where my page would suddenly show some sort of c stack trace about a BufferOverFlow Exception (we are no longer using JK2), but someone sent me this information; "It looks like requests

Re: Database Connectivity of JSP(Tomcat 4.x) with Oracle 8i

2006-01-18 Thread Ritchie Gillam
Which version of JVM are you using? Ritchie >>> [EMAIL PROTECTED] 18/01/2006 11:02:31 am >>> Vidhi wrote: i'd copied the classes12.zip from C:\jdbc\lib. there's no folder of ORACLE_HOME. now,what else to be done? i'm sending you my JSP pagae. kindly tell me what code should be written/a

Re: Problem with JK connector

2006-01-18 Thread Mladen Turk
Michael Li wrote: Hi there, Currently we use apache 1.3 and tomcat 4.1.31. We tried to connect them through JK. Everything works fine, except some special http headers are gone.=20 Because we user entrust direct, which will set some special http header in the http request. The servlets will chec

RE: Problem with JK connector

2006-01-18 Thread Michael Li
Hi Chris, Thanks for reply first. It may be the reason and may not. I compare the headers that tomcat actually received and the header that is supposed to be. the headers that tomcat actually received eliminated all the non-standard header attributes and added one more "content-length=0". It looked

Re: I can't install TomCat in my computer

2006-01-18 Thread Patricio Silva
yes man I don´t know use mail lists. I´m going to try solve my problem by myself. I´ll unsubscribe me for userstomcat. Thanks. 2006/1/17, Glen Mazza <[EMAIL PROTECTED]>: > > Patricio wrote: > > > In logs folder of Tomcat 5.5 I have this messages: > > > > This release of Apache Tomcat was packaged

Re: Does tomcat 5.0 officially support JDK1.5?

2006-01-18 Thread David Smith
Wade Chandler wrote: --- HuangHao <[EMAIL PROTECTED]> wrote: Thanks. As a requirement, my application need to support both Tomcat 5.0 and 5.5. But my application requires JDK1.5 for some reason. Should be fine if it's only that you are using methods and classes from JDK1.5 which were

Sorry, Suresh is OUT of the office...

2006-01-18 Thread Suresh Nair
I will be out of the office starting 19/01/2006 and will not return until 25/01/2006. If you need to reach me urgently, please e-mail: [EMAIL PROTECTED] I will be out of Singapore but will be available over the (above) e-mail address. Have a nice day, my dear friend:):) SURESH NAIR I'll not

Latest stable version of Tomcat

2006-01-18 Thread Aparna_Maddireddy
Hi, Could anyone tell me what is the latest stable version of tomcat on JDK1.5 Thank you.

RE: Problem with JK connector

2006-01-18 Thread Michael Li
I added the following lines to apache httpd.conf JkEnvVar entrust-client JkEnvVar entrust-client-info JkEnvVar entrust-client-ip JkEnvVar entrust-server JkEnvVar entrust-server-ip JkEnvVar via And got the following from apache log: [Wed Jan 18 11:19:54 2006

Re: Latest stable version of Tomcat

2006-01-18 Thread Zorro3692
5.5.12 Hi, Could anyone tell me what is the latest stable version of tomcat on JDK1.5

Re: Database Connectivity of JSP(Tomcat 4.x) with Oracle 8i

2006-01-18 Thread Zorro3692
the one that comes with the latest rel of jre, jre5.0 Which version of JVM are you using? Ritchie >>> [EMAIL PROTECTED] 18/01/2006 11:02:31 am >>> Vidhi wrote: i'd copied the classes12.zip from C:\jdbc\lib. there's no folder of ORACLE_HOME. now,what else to be done? i'm sending you m

Re: Problem with JK connector

2006-01-18 Thread Chris Lear
* Chris Mooring wrote (18/01/06 15:11): > Hi Michael, > > Could it be that your request headers are > 8K ? I was having some funny > issues with JK2 this week where my page would suddenly show some sort of c > stack trace about a BufferOverFlow Exception (we are no longer using JK2), > but someone

How do I hide a web application's actual context from the client?

2006-01-18 Thread Tim Lucia
What is the recommended, or best-practice, method for deploying a web application such that its actual context is hidden from the user, but still maintains a session? In other words, I wish to deploy myapp.war (tomcathost:8080/myapp/...) but have it exposed to the client as www.mysite.com. http

RE: How do I hide a web application's actual context from the client?

2006-01-18 Thread tamsin
I think you can do this using the special ROOT context. In tomcat 5.5.12 I have the file: conf/Catalina/localhost/ROOT.xml which contains: etc I think in previous versions you would put the same node directly in server.xml Hope that helps... w: www.anorakgirl.co.uk -Original Message

Re: Problem with JK connector

2006-01-18 Thread Peter Rossbach
You must used JkEnvVar You envVar can be accessed with request.getAttribute("") Peter Am 18.01.2006 um 17:30 schrieb Michael Li: I added the following lines to apache httpd.conf JkEnvVar entrust-client JkEnvVar entrust-client-info JkEnvVar entrust-client-ip JkEnvVar ent

RE: Problem with JK connector

2006-01-18 Thread Michael Li
Unfortunately it doesn't work. JkEnvVar is used for request.getAttribute(), instead of request.getHeader() -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 10:19 AM To: Tomcat Users List Subject: Re: Problem with JK connector Michael Li w

RE: Problem with JK connector

2006-01-18 Thread Michael Li
But what I want is request.getHeader. -Original Message- From: Peter Rossbach [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 11:56 AM To: Tomcat Users List Subject: Re: Problem with JK connector You must used JkEnvVar You envVar can be accessed with request.getAttribute

Realm in tomcat

2006-01-18 Thread Jack
In tomcat, "Realm" has such a definition: A Realm is a "database" of usernames and passwords that identify valid users of a web application (or set of web applications), plus an enumeration of the list of roles associated with each valid user. This is exactly a UserManager should do. I guess

User management Module in tomcat

2006-01-18 Thread Jack
The users of tomcat server The users of a specific web-app The users of a virtual host The users of a specific web-app are also the users of the host. The users of the host might not be the users of a specific web-app. The users of this host might be shared with other virtual host. Furthe

Re: Database Connectivity of JSP(Tomcat 4.x) with Oracle 8i

2006-01-18 Thread Ritchie Gillam
I believe that classes12.zip is for Version 1.2 and 1.3 only. JRE5.0 uses 1.5. Your solution would be to download ojdbc14.jar which is for JVM 1.4 or 1.5 and put that in either you application/WEB-INF/lib directory or Tomcat's common/lib directory. Follow this link to download ojdbc14.jar:

data file access for servlet

2006-01-18 Thread Neha Narkhede
Hi.. I am running a servlet which requires some data files. But I dont know where to paste those data files so that the servlet can find it. I have a servlet "Indexer" and so a folder 'Indexer" in webapps. Please help.. Thank you. --

Re: data file access for servlet

2006-01-18 Thread Frank W. Zammetti
Hi Neha, You can basically put it wherever you want because your servlet can get direct file system access (I'm not sure this is true if deployed in an EAR, but I guess that's not an option here anyway). Where it *makes sense* to put it is up to you... if it's something specific to the webapp the

Re: Latest stable version of Tomcat

2006-01-18 Thread Aparna_Maddireddy
Thank you for the reply. Do anyone know how to set PermGen space ? Thank you, Aparna [EMAIL PROTECTED] 01/18/2006 08:27 AM Please respond to "Tomcat Users List" To users@tomcat.apache.org cc Subject Re: Latest stable version of Tomcat 5.5.12 Hi, Could anyone tell me what

RE: Do anyone know how to set PermGen space ? [was RE: Latest stable version of Tomcat]

2006-01-18 Thread Tim Lucia
-XX:MaxPermSize=... [128m, for example] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 1:02 PM To: Tomcat Users List Subject: Re: Latest stable version of Tomcat Thank you for the reply. Do anyone know how to set PermGen space ?

Authorization in tomcat & JAAS

2006-01-18 Thread Jack
Where to specify the authorization In JAAS, the authorization is specified in granting entries in the policy file, and it is implemented by java.security.ProtectionDomain. A granting entry grants rights to sourcecodes or principals/usernames. The action of authorization is done by java.lang.Secu

RE: Do anyone know how to set PermGen space ? [was RE: Latest stable version of Tomcat]

2006-01-18 Thread Aparna_Maddireddy
Hi Tim, Thank you for the reply. But, where should I set this. Is it in service.bat file ? If so is the following line correct ?? "%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions "-Djava.io.tmpdir=%CATALINA_BASE%\temp" --JvmMs 512 --JvmMx 512 --JvmX:MaxPermSize=512m And how to check if jvm is

data file access for servlet

2006-01-18 Thread Neha Narkhede
Hi.. Thank you for the reply.. but could not open that url. My problem is that my servlet uses the function of another software. When I run that software code from the terminal, I have to go till that software's home directory so that it has access to the required files. But when I include that c

RE: Do anyone know how to set PermGen space ? [was RE: Latest stable version of Tomcat]

2006-01-18 Thread Tim Lucia
Wherever/however you start your JVM. In line with -Xmx -XMs should work fine. I set mine (under Windows) on the service manager, under the Java tab and (under Linux) in bin/setenv.sh by adding it to CATALINA_OPTS. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sen

How to diagnose a TomCat hang?

2006-01-18 Thread Dave Pullin
Briefly: Is there anyway to figure out what TomCat is doing, or trying to do, when it hangs and does not respond to any http or https request? Details: I am running Tomcat 5.1.12 on Redhat9 on a 4 processor server. I get frequent but random Tomcat hangs. It has not happened on a 1 processor syste

RE: How to diagnose a TomCat hang?

2006-01-18 Thread Tim Lucia
kill -QUIT will cause a stack dump... including any Java deadlocks. -Original Message- From: Dave Pullin [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 1:33 PM To: users@tomcat.apache.org Subject: How to diagnose a TomCat hang? Briefly: Is there anyway to figure out what To

Re: data file access for servlet

2006-01-18 Thread Frank W. Zammetti
Take a look at getRealPath() as I suggested earlier... you should be able to get at the home directory of that other software using it (assuming all the security that might be in place doesn't get in the way). You will probably want to make the path a config parameter so you don't have to go chang

Re: JNDI-based c3p0 pool in META-INF/context.xml not releasing resources?

2006-01-18 Thread Mark Thomas
David Perkowski wrote: > Could this perhaps be a failure of Tomcat to un-initialize the pool on > undeployment (which I perform in my build file using Tomcat's Ant > tasks, prior to deployment of the new WAR file)? Or perhaps it is a > failure of c3p0 to release resources when Tomcat asks it to?

Re: UTF-8 JavaScript and HTML Files

2006-01-18 Thread Mark Thomas
Erik Onnen wrote: > In doing some additional testing, I can confirm that the problem does > not present on MAC OSX or Windows2K3, so it seems to be localized to > Tomcat(5.029|5.5.14|5.5.15)/SunJDK-1.5.05-b5/(SUSE10|SLES9). I am afraid I don't have access to either of those operating systems. If I

RE: How to diagnose a TomCat hang?

2006-01-18 Thread Dave Pullin
Thank you. I've now tried kill -QUIT. The java process didn't die and it didn't write anything to catalina.out. May be that indicates what is hung, if it's not catching the QUIT signal? -Original Message- From: Tim Lucia [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 1:37 PM

Re: tomcat 5 and cgi execution

2006-01-18 Thread Mark Thomas
Linda Solomon wrote: > I followed the instructions for configuring tomcat 5 for cgi. > However, tomcat 5 contains a new xml variable: > executable - The of the executable to be used to run the script. Default > is perl. > > Using the default allows the perl cgis to work fine, but the c++ cgi's > d

RE: How to diagnose a TomCat hang?

2006-01-18 Thread tamsin
Just out of interest, what version of java are you using? We had to disable the second processor on our production server while running 1.4, due to the app hanging as you describe. We're about to update to jdk 1.5, so might try re-enabling that second processor again... Tamsin w: www.anorakgirl

Re: Can I Use Tomcat with VXWorks ?

2006-01-18 Thread Mark Thomas
[EMAIL PROTECTED] wrote: > Hello All, > > Can Tomcat run on VXWorks ? My requirement is to run JSP/Servlets on > VXWorks. Can any one help? If a JVM (>=1.2 for Tomcat 4, >=1.4 for Tomcat 5) is available then yes. Otherwise no. Mark --

Re: form-based authentication support for cookies

2006-01-18 Thread Mark Thomas
Leonardo Kenji Shikida wrote: > using tomcat´s form-based authentication ("j_username" and > "j_password"), is there any support for "remember me" feature? (saving > encripted password into a cookie and reading it back in the next > visit), or will I have to code myself the a whole new authenticati

JK 1.2.15 connector issue

2006-01-18 Thread Casey Koz
Tomcat: 5.0.28 Apache: 2.0.52 JDK: 1.4.2_10 I am having an issue with the JK 1.2.15 and JK 1.2.14 Apache / Tomcat connector. I am able to successfully compile them on my Linux server and install them without any errors. The issue I am having is when I utilize my Java servlet to displa

Re: tomcat 5 and cgi execution

2006-01-18 Thread Mike Sabroff
The executable is the executable file name...perl is the name of the perl executable Mark Thomas wrote: Linda Solomon wrote: I followed the instructions for configuring tomcat 5 for cgi. However, tomcat 5 contains a new xml variable: executable - The of the executable to be used to run the

JAX-WS 2.0, Netbeans, and Tomcat comments

2006-01-18 Thread Lucuk, Pete
Hi nb users, tomcat users, jax-ws users, Bobby, and Milan, Not a question, really some comments. - I have been trying to create and deploy webservices on a stand alone Tomcat 5.5.x server for some time now with NO success till now - Recently I have completed the tutorial Building JAX-WS 2.0

RE: Do anyone know how to set PermGen space ? [was RE: Latest stable version of Tomcat]

2006-01-18 Thread Aparna_Maddireddy
hi, As you said, I set on service manger's Java tab like this : -Dcatalina.opts=-XX:MaxPermSize=256m I ran a jsp which shows the Memery usage. Its showing correct values for Xmx, Xms but for PermGen it still showing the default 64mb. Do you have any idea ? Is PermGen setting working for you> T

RE: How to diagnose a TomCat hang?

2006-01-18 Thread Dave Pullin
I am using JDK 1.5, so may be not good news for you. btw - I have not observed the hang on my 2 processor systems - only the 4 processor -- but that could just be luck -- it's obviously very time dependent. Dave -Original Message- From: tamsin [mailto:[EMAIL PROTECTED] Sent: Wednesday, Ja

Re: form-based authentication support for cookies

2006-01-18 Thread Leonardo Kenji Shikida
too bad. resin has this On 1/18/06, Mark Thomas <[EMAIL PROTECTED]> wrote: > Leonardo Kenji Shikida wrote: > > using tomcat´s form-based authentication ("j_username" and > > "j_password"), is there any support for "remember me" feature? (saving > > encripted password into a cookie and reading it b

RE: Do anyone know how to set PermGen space ? [was RE: Latest stable version of Tomcat]

2006-01-18 Thread Tim Lucia
PermGen Max is 128m -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 2:43 PM To: Tomcat Users List Subject: RE: Do anyone know how to set PermGen space ? [was RE: Latest stable version of Tomcat] hi, As you said, I set on service man

RE: How to diagnose a TomCat hang?

2006-01-18 Thread Tim Lucia
Did you look in all your log files (everything in log/) ? Try running interactively, via bin/catalina.sh run and then send it the QUIT. FWIW, I have run hundreds of hours of load test against a dual Xeon (HT - reports 4 CPUs) box (Dell 2850) and had no problems under RHEL V.4 (actually running a

Re: malformed HTTP?

2006-01-18 Thread Patricio Keilty
Tim Funk joedog.org> writes: > > There is a bugzilla report similar to this - but also check 5.1.15 since it > has some fixes too. > > -Tim Thanks for your response Tim Think i´ve found the bug you were referring to http://issues.apache.org/bugzilla/show_bug.cgi?id=33714 whose status is

RE: How do I hide a web application's actual context from the client?

2006-01-18 Thread Tim Lucia
The context element below allows me to point the root context (/) to a directory of my choosing. It does not change the URL or mapping in any way. The crux of the issue is the path for the cookie, set by the webapp, is based on the context, and I want to deploy multiple wars and not use the root c

Design Guidance requested for Tomcat newbie - servlets, MySQL access, etc.

2006-01-18 Thread Warrick Wilson
First, if I need to be on a different list, please let me know. I'm working my way up from Tomcat, which is where the servlet I'm developing is going to be running. I'm a Java newbie, but I'm on this project, and the learning curve is steep. Sadly, Google hasn't been my friend this time - I'm f

SSL Porting from Apache to Tomcat

2006-01-18 Thread Armand Rock
Hello, I'm currently in the process of porting an application from Apache to Tomcat (Apache was originally used as a front end to Orion). The server I'm porting from does not have any keystore information setup. Instead the server has a private key and the actual SSL certificate stored on the comp

I need advice about choosing a application server.

2006-01-18 Thread Legolas Woodland
I need advice about choosing a application server. Hi Thank you for reading my post I need some advice to choose an application server / srvlet container for deploying a project. Application description : application has two part which one of them is a portal . portal itself will have a 2 hit/

Re: 2nd Request: How do you programmatically determine Tomcat Version

2006-01-18 Thread andy gordon
Peter, Thanks This is great! I am not sure of the policy but if you don't mind me asking, is there anyway to add this functionality to earlier releases of Tomca such as 5.5.x, 5.0x, or 4.x? Again Thank you , this is great. - andy Peter Rossbach <[EMAIL PROTECTED]> wrote: OK, this is

Re: SSL Porting from Apache to Tomcat

2006-01-18 Thread Markus Schönhaber
Armand Rock wrote: > For example httpd.conf contains the following 2 lines: > > SSLCertificateFile/opt/ssl/cert.cer > SSLCertificateKeyFile /opt/ssl/private.key > > I don't see a way to import private keys using the keytool and I'm not > seeing a way to point to the private key > and the SSL ce

RE: Do anyone know how to set PermGen space ? [was RE: Latest stable version of Tomcat]

2006-01-18 Thread Aparna_Maddireddy
I tried with -XX:MaxPermSize=128m too. but, its not working. any other suggestions ?? Thank you, Aparna "Tim Lucia" <[EMAIL PROTECTED]> 01/18/2006 12:26 PM Please respond to "Tomcat Users List" To "'Tomcat Users List'" cc Subject RE: Do anyone know how to set PermGen space ? [was RE: La

RE: Do anyone know how to set PermGen space ? [was RE: Latest stable version of Tomcat]

2006-01-18 Thread George Sexton
Here's what I use: -server -Xms512m -Xmx768m -XX:PermSize=128m -XX:MaxPermSize=192m -Djava.awt.headless=true Unless you specify "PermSize", it will default to 64MB, and grow to MaxPermSize George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Mes

Re: 2nd Request: How do you programmatically determine Tomcat Version

2006-01-18 Thread Mark Thomas
andy gordon wrote: > Peter, Thanks This is great! I am not sure of the policy but if you don't > mind me asking, is there anyway to add this functionality to earlier releases > of Tomca such as 5.5.x, 5.0x, or 4.x? 5.5.x - As Peter said, it will be in 5.5.16 onwards. We don't issue individual p

RE: I need advice about choosing a application server.

2006-01-18 Thread George Sexton
Based on my testing, I would have to say the proposed hardware won't handle it. Here are some test results I got: http://www.mhsoftware.com/caldemo/manual/en/pageFinder.html?page=622.htm George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Message

RE: Do anyone know how to set PermGen space ? [was RE: Latest stable version of Tomcat]

2006-01-18 Thread Aparna_Maddireddy
HI George, Thank you for the reply. I tried to use this option in my service.bat but when I start the service its giving error.(FYI: I am using Tomcat 5.5.12.) Then I set in CATALINA_OPTS but its not taking the PermSize/MaxPermSize values. Thank you, Aparna. "George Sexton" <[EMAIL PROTEC

tomcat doesn't shutdown

2006-01-18 Thread philguillard
Hi, Launching the script shutdown.sh doesn't shutdown my tomcat 5.5.12. Any idea? Phil *What i see directly:* [EMAIL PROTECTED] ~]# /opt/apache-tomcat-5.5.12/bin/shutdown.sh Using CATALINA_BASE: /opt/apache-tomcat-5.5.12 Using CATALINA_HOME: /opt/apache-tomcat-5.5.12 Using CATALINA_TMPDIR: /

RE: Do anyone know how to set PermGen space ? [was RE: Latest stable version of Tomcat]

2006-01-18 Thread George Sexton
Here's my complete startup script. Its all I can offer: #!/bin/sh . /etc/sysconfig/tomcat export CATALINA_VER CATALINA_BASE CATALINA_HOME export JDK_HOME=/etc/alternatives/java_sdk export JRE_HOME=/etc/alternatives/jre # # Get the manager apps clean up # cd $CATALINA_BASE cp -f /dev/null

Re: 2nd Request: How do you programmatically determine Tomcat Version

2006-01-18 Thread Mark Thomas
Mark Thomas wrote: > 4.1.x - I'll take a look at porting the patch. If it is easy, then > I'll do it. I have just committed this to svn for 4.1.x Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Design Guidance requested for Tomcat newbie - servlets, MySQL access, etc.

2006-01-18 Thread Giorgio Clavelli
Hi, I'm in your same boat (like many I guess). In an effort to learn best pratice and avoiding to reinvent the wheel, I thought, it may be wise to stick with one of the several java web application frameworks. I'm trying with Spring, which seems quite good, but at least for me, it is not that easy

Re: Design Guidance requested for Tomcat newbie - servlets, MySQL access, etc.

2006-01-18 Thread Warrick Wilson
> Hi, > I'm in your same boat (like many I guess). In an effort to learn best > pratice and avoiding to reinvent the wheel, I thought, it may be wise to > stick with one of the several java web application frameworks. > I'm trying with Spring, which seems quite good, but at least for me, it is >

RE: tomcat doesn't shutdown

2006-01-18 Thread Caldarale, Charles R
> From: philguillard [mailto:[EMAIL PROTECTED] > Subject: tomcat doesn't shutdown > > Jan 18, 2006 5:27:04 PM org.apache.catalina.core.AprLifecycleListener > lifecycleEvent > INFO: Failed shutdown of Apache Portable Runtime Note that this is an informational message, not an error - it's complet

RE: Images caching

2006-01-18 Thread Rob Gregory
You are more than welcome mate. I learnt from "you guys" on the lists and the Net and we should all try and give back to the community. Rob Gregory -Original Message- From: Bello Martinez Sergio [mailto:[EMAIL PROTECTED] Sent: 18 January 2006 07:43 To: Tomcat Users List Subject: RE

Re: Design Guidance requested for Tomcat newbie - servlets, MySQL access, etc.

2006-01-18 Thread Giorgio Clavelli
> Ah, well, it's for things like this that we schedule a long test/fix cycle, right? Indeed... :( Here the links to those frameworks: http://www.springframework.org/ http://wicket.sourceforge.net/ Have fun. Giorgio On 1/19/06, Warrick Wilson <[EMAIL PROTECTED]> wrote: > > > Hi, > > I'm in your s

Re: Does tomcat 5.0 officially support JDK1.5?

2006-01-18 Thread HuangHao
David Smith wrote: Wade Chandler wrote: --- HuangHao <[EMAIL PROTECTED]> wrote: Thanks. As a requirement, my application need to support both Tomcat 5.0 and 5.5. But my application requires JDK1.5 for some reason. Should be fine if it's only that you are using methods and classes from

  1   2   >