Re: still not clear with connection pooling in tomcat

2005-04-04 Thread Krishnakant Mane
hello doug, I am sending the following details on the questions you asked. and thanks for your help. I am using mysql as the database back-end and tomcat version 5. I have the mysql jdbc the latest stable version. and the server is right now going to support a single application but I plan to

AW: Tomcat aborts

2005-04-04 Thread Dirk . Sklarek
Hi Anto, the problem only occurs in the production system. Therefore we can't change the JRE easily. But I think we have to. The test system is not affected. Do you have a link that supports your hint regarding to JRE problems? -Ursprüngliche Nachricht- Von: Anto Paul [mailto:[EMAIL

Re: JAAS authentication and global realms

2005-04-04 Thread Guillaume Lederrey
Once more, could you send those mails to the tomcat mailing-list and not directly to me ? It helps me to sort my mails and it can profit to more people ... On Friday 01 April 2005 18.26, you wrote: My problem is I am not able to understand how to assign roles to a particular user. For

Apache, virtual host and Tomcat

2005-04-04 Thread david joffrin
Reposting as the postmaster is complaining... Hi, I would like to run the following configurations with only one machine: 3 domains. Let's name them, www.domain1.com and sthg.domain2.com and www.domain2.com. www.domain1.com runs on 80 using apache and php www.domain2.com runs on 8080 using tomcat,

Re: Tomcat aborts

2005-04-04 Thread Anto Paul
On Apr 4, 2005 12:23 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Anto, the problem only occurs in the production system. Therefore we can't change the JRE easily. But I think we have to. The test system is not affected. Do you have a link that supports your hint regarding to JRE

[5.5] Environment entries are not loaded from conf/Catalina/localhost/webapp.xml

2005-04-04 Thread rayst rayst
Hi, trying to upgrade from Tomcat 5.0 to 5.5.7 (tried .9-alpha as well) i encountered the following problem: The entry Environment name=a/b type=java.lang.String value=c / in TOMCAT_HOME/conf/Catalina/localhost/webapp.xml does not get loaded into the JNDI context. (java:comp/env - a/b) It works

page can't be found after restart Tomcat

2005-04-04 Thread Marcus Nugroho
Hi, We have strange error on our Tomcat 3.3.1a. After we restart the Tomcat, sometimes it can't find the login page that we use. If we don't restart the Tomcat, it works just fine. This problem is intermittent. If this problem occured, we need to restart the Tomcat till it can find the login

Re: Tomcat taking 125 seconds to launch

2005-04-04 Thread t.n.a.
Michael Mehrle wrote: The configuration is a modified version of appfuse 1.5 (struts and hibernate) - so this should give you a good idea of how it is structured. FYI: on my development machine here at home Tomcat starts in 28 seconds - identical project and configuration. A fairly long time,

Re: Tomcat taking 125 seconds to launch

2005-04-04 Thread Andrew Miehs
hmm - sounds like a dns lookup causing a problem Andrew On Apr 4, 2005, at 11:03 AM, t.n.a. wrote: Michael Mehrle wrote: The configuration is a modified version of appfuse 1.5 (struts and hibernate) - so this should give you a good idea of how it is structured. FYI: on my development machine

Re: How could I autodeploy my webapps onto arbitrary path -s?

2005-04-04 Thread Zoltan Kanizsai
Thanks for the idea, urlencoding seems to help: For the path: corp/edit/ I can use the filename: corp%2Fedit%2F.xml However, I don't like this whole story. I'd like to use the path= parameter in the xml files, as I could before... Zoltan QM wrote: On Wed, Mar 30, 2005 at

Re: session management

2005-04-04 Thread Lionel Farbos
Hi, A cookie is attached to one IP/browser. So, if the same browser do : httpServletRequest.getSession() it recovers the same httpSession as before (if it already exists). But when you come from another browser, the same httpSession is not recovered. For your needs, I think you can do something

axis tomcat5.5

2005-04-04 Thread kalin mintchev
hi all... just a simple question... i was reading the axis documentation on the apache site and it says there in the introduction section that If you are installing Tomcat, get the latest 4.1.x i was wondering if this hasn't been updated lately or axis 1.2 RC3 and tomcat 5.* are not usable for

RE: Webdav Webfolder issue when container security enabled

2005-04-04 Thread Fernando Salazar de Paz
Win XP Professional, SP2 (Firewall disabled) J2SDK 1.4.2_06 Installing Tomcat 4.1.31 Install type: Normal NT Service: Checked Dir:C:\Tomcat 4.1 Port: 8080 FILES: File A: BizObj.pdf 391.413/393.216 bytes (MS

IP based restriction

2005-04-04 Thread Jobish P
Hi all, I am a newbie to Tomcat. I have installed Tomcat 5.0.19 on Redhat LInux 9, and going fine. I would like to restrict some of my directories to certain IP's only, say a range of IP. How can I restrict access to a directory in /tomcat/webappas/ROOT on the basis of IP ? I tried with valves,

Re: Tomcat shutdown exception

2005-04-04 Thread Tim Funk
With any luck, there should be root cause buried in the stack trace too. Otherwise - you should probably ask the Axis-user list. -Tim MKW wrote: I'm using Tomcat 5.5 (installed as a manually started service) with the latest Axis release as a webapp and have defined a MySQL data source (as a

Re: IP based restriction

2005-04-04 Thread Tim Funk
There is nothing that restricts on a directory level. You'd need to write your own servlet filter. -Tim Jobish P wrote: Hi all, I am a newbie to Tomcat. I have installed Tomcat 5.0.19 on Redhat LInux 9, and going fine. I would like to restrict some of my directories to certain IP's only, say a

Re: still not clear with connection pooling in tomcat

2005-04-04 Thread Parsons Technical Services
Because there are different versions, and the setup is different, I need exact version of Tomcat. What was the file name you downloaded? Was it a 5.0.xx or 5.5.x for they are different? Doug - Original Message - From: Krishnakant Mane [EMAIL PROTECTED] To: Tomcat Users List

Re: still not clear with connection pooling in tomcat

2005-04-04 Thread Krishnakant Mane
doug, thanks again for ur response. Well it is not 5.5. It is 5.0.xx Thanks Krishnakant. Send instant messages to your online friends http://uk.messenger.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: IP based restriction

2005-04-04 Thread haim
Try the following filer class Add this to web.xml filter filter-nameAccessControl/filter-name filter-classpackage.AccessControl/filter-class /filter filter-mapping filter-nameAccessControl/filter-name url-pattern/directoryName/*/url-pattern /filter-mapping import

symlink in a webapp

2005-04-04 Thread Guillaume Lederrey
Hello ! I'm trying to have a symlink in one of my webapp. Something like : myApp/ +- WEB-INF/ +- myOtherDir - symlink to somewhere else Tomcat doesnt seem to follow the symlink (I get a 404). It probably is that way for very good security reasons, but in the developpement phase, it

Re: still not clear with connection pooling in tomcat

2005-04-04 Thread Parsons Technical Services
Will more than one of the apps be using the same database? That is the same tables and data? Even if they are using the same database engine IE MySQL on the server, will it be the same database instance? Doug - Original Message - From: Krishnakant Mane [EMAIL PROTECTED] To: Tomcat

Re: symlink in a webapp

2005-04-04 Thread Trond G. Ziarkowski
Hi, http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html Look for the allowLinking attribute... Trond || Guillaume Lederrey wrote: Hello ! I'm trying to have a symlink in one of my webapp. Something like : myApp/ +- WEB-INF/ +- myOtherDir - symlink to somewhere else Tomcat

RE: Webdav Webfolder issue when container security enabled

2005-04-04 Thread Fernando Salazar de Paz
Deleting C:\Tomcat 4.1\webapps\webdav\index.html listings were ok If I comment welcome-files in web.xml I think it should take welcome-files defined In C:\Tomcat 4.1\conf\web.xml or not ? Now I can open PDF files with IExplore After several restarts changing webdav\WEB-INF\web.xml i. I could

Re: symlink in a webapp

2005-04-04 Thread Guillaume Lederrey
On Apr 4, 2005 1:41 PM, Trond G. Ziarkowski [EMAIL PROTECTED] wrote: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html Look for the allowLinking attribute... Once more, I seems to be blind ... Thanks for the hint ! Guillaume Lederrey

Latest Stable Release of tomcat 5.0 ?

2005-04-04 Thread Narayan, Satya
Hi all, Could somebody please tell me the latest stable release of tomcat 5.0 ? Is it 5.0.28 or 5.0.29 or 5.0.30 ? Kindly advise. Thanks and Regards, Satya

Tomcat 5.5.7 build procedure required

2005-04-04 Thread Vijay Babu
Hi All, Could anyone provide me information on how to build tomcat 5.5.7 from the sources. The jakarta site provides a detailed procedure for tomcat 4, but does not for tomcat 5. I would like to know what dependencies have to downloaded and the steps to follow. Please advise. Thanks and Regards,

Re: connection pooling basic help please

2005-04-04 Thread Kwok Peng Tuck
Krishnakant Mane wrote: hello, I refered to the docs in tomcat 5 for connection pooling. the document is pritty comprehencive and I understood the server.xml part of it. but now I want to know how exactly can I use a connection from the pool in my servlet. the example in tomcat documentation is

tomcat ssl configuration

2005-04-04 Thread Mustafa BLKBA
I use tomcat 5.0.28 on linux, my j2se version is 1.4.02. I did all the steps in the document which is on this link but it's not working. Is there anybody who can help me with this issue? Thanx, Mustafa.

Re: Latest Stable Release of tomcat 5.0 ?

2005-04-04 Thread Markus Schnhaber
Am Montag, 4. April 2005 14:06 schrieb Narayan, Satya: Hi all, Could somebody please tell me the latest stable release of tomcat 5.0 ? Is it 5.0.28 or 5.0.29 or 5.0.30 ? I guess you can consider the version of Tomcat 5.0.x stable that is listed on the download-page

Re: Tomcat 5.5.7 build procedure required

2005-04-04 Thread Antony Paul
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/building.html On Apr 4, 2005 5:47 PM, Vijay Babu [EMAIL PROTECTED] wrote: Hi All, Could anyone provide me information on how to build tomcat 5.5.7 from the sources. The jakarta site provides a detailed procedure for tomcat 4, but does not for

tomcat ssl configuration

2005-04-04 Thread Mustafa BLKBA
I use tomcat 5.0.28 on linux, my j2se version is 1.4.02. I did all the steps in the document which is on this link http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html but it's not working. Is there anybody who can help me with this issue? Thanx, Mustafa.

Re: tomcat ssl configuration

2005-04-04 Thread Anto Paul
On Apr 4, 2005 6:06 PM, Mustafa BLKBA [EMAIL PROTECTED] wrote: I use tomcat 5.0.28 on linux, my j2se version is 1.4.02. I did all the steps in the document which is on this link http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html but it's not working. Is there anybody who can

RE: Tomcat SSL Issues

2005-04-04 Thread Pandey, Abhimanyu
Look at your java.security file Also which version of java are you using? Baltimore is working with java 1.3.1 not 1.4 so maybe that is a problem. Ap ...the journey IS the destination... -Original Message- From: LGM [mailto:[EMAIL PROTECTED] Sent: Friday, April 01, 2005 2:17 PM

Re: Tomcat Connection refused :-(

2005-04-04 Thread gaurav
Peter Crowther wrote: From: gaurav [mailto:[EMAIL PROTECTED] I am using tomcat 5.5.7 on Fedora 3 with jdk1.5.0_02 my i have disable firewal and stopped Iptables !! OK. netstat -a | grep tomcat or 8080- nothing , zero , blank You already said that you had moved the Tomcat

Jakarta-tomcat-connectors-1.2.10-src error

2005-04-04 Thread Vaneet Sharma
I am getting error in error_log No JkShmFile defined in httpd.conf. LoadBalancer will not function properly! I am using new Jk Connector.. With tomcat 5.5.7 Jakarta connector -1.2.8 is working well with 5.5.7 on my other machine... ( so configuration is fine and working well ) Something

== Isapi redirector Installation problem betweeen IIs and Tomcat

2005-04-04 Thread samuel . goblet
Hi, I'm looking for some help. Thanx in advance. When I make a request to IIS for JSP file, I've got an error message and in the event log : [jk_isapi_plugin.c (420)]: HttpFilterProc [/admin/index.jsp] is not a servlet url ** The

Re: == Isapi redirector Installation problem betweeen IIs and Tomcat

2005-04-04 Thread reynir
what version of IIS / tomcat / isapi_redirector are you using ? -reynir [EMAIL PROTECTED] wrote: Hi, I'm looking for some help. Thanx in advance. When I make a request to IIS for JSP file, I've got an error message and in the event log : [jk_isapi_plugin.c (420)]: HttpFilterProc

Re: == Isapi redirector Installation problem betweeen IIs and Tomcat

2005-04-04 Thread reynir
ok sorry I saw it down at the bottom of your email. I wrote directions on how to install this kind of setup few days ago : http://www.reynir.net/java/greinar/nr/52 check it out, it works fine. -reynir reynir wrote: what version of IIS / tomcat / isapi_redirector are you using ? -reynir

Not enough response == Isapi redirector Installation problem betweeen IIs and Tomcat

2005-04-04 Thread samuel . goblet
Thanx Reynir but I already read your doc and it works for the previous version of the redirector : JK1(isapi redirector 1.2.8 - AJP 12) Me I use JK2 (isapi redirector next version - AJP 13) AND the file for the configuration seems to be only one : workers2.properties Not with :

RE: == Isapi redirector Installation problem betweeen IIs and Tomcat

2005-04-04 Thread Sng Wee Jim
JK2 is officially unsupported. Use JK 1.2 instead http://jakarta.apache.org/tomcat/connectors-doc/news/20041100.html#20041 115.1 [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\2.0] serverRoot=C:\\Tomcat5\\ extensionUri=/jakarta/isapi_redirector2.dll

Re: Not enough response == Isapi redirector Installation problem betweeen IIs and Tomcat

2005-04-04 Thread reynir
hi, jk2 is not suported anymore. jk is the current supported version. I suggest you go with that. -reynir [EMAIL PROTECTED] wrote: Thanx Reynir but I already read your doc and it works for the previous version of the redirector : JK1(isapi redirector 1.2.8 - AJP 12) Me I use JK2 (isapi

RE: == Isapi redirector Installation problem betweeen IIs and Tomcat

2005-04-04 Thread samuel . goblet
Ok, sorry for the disturbation. I'll going to test it with the JK 1.2. Best regards. Sng Wee Jim [EMAIL PROTECTED] 04/04/2005 16:14 Veuillez répondre à Tomcat Users List tomcat-user@jakarta.apache.org A [EMAIL PROTECTED], tomcat-user@jakarta.apache.org cc Objet RE: == Isapi redirector

RE: Jakarta-tomcat-connectors-1.2.10-src error

2005-04-04 Thread Phillip Qin
This is introduced by jk 1.2.10. Simply add into your httpd.conf JkShmFile logs/mod_jk.shm shall fix this error. -Original Message- From: Vaneet Sharma [mailto:[EMAIL PROTECTED] Sent: April 4, 2005 8:54 AM To: Tomcat Users List Subject: Jakarta-tomcat-connectors-1.2.10-src error I

Jk 1.2.10 worker limit?

2005-04-04 Thread Guernsey, Byron \(GE Consumer Industrial\)
I've written a script to convert my mod_jk2 configs over to mod_jk1. The configs on jk2 have around 109 applications in them. When I load the config in jk 1.2.10, I see only the first 72 entries from the worker.list line. Is there a length limit of the length of the worker.list? My line

RE: Jk 1.2.10 worker limit?

2005-04-04 Thread Guernsey, Byron \(GE Consumer Industrial\)
To add to this- separating the lines into two worker.list lines *almost* worked. It seems that when I have a line like: worker.list=jkstatus,app1,app2,...,app72 worker.list=app73,app74,... The jkstatus page shows a worker with the name app72*app73 and assigned it an ajp13 worker on

Kill running thread before tomcat stop

2005-04-04 Thread Edouard Dalla-Costa
Hello, I am using tomcat 5.0.30 which is working well. However I encountered a problem when I want to stop it. When I stop Tomcat, it calls the destroy method which is supposed to kill all my running threads but it goes to fast. So I was wondering if there was a proper way to make tomcat waiting

RE: servlet not connecting

2005-04-04 Thread Vaneet Sharma
Thankx The connector is not loading my servlets? I am writing down my httpd.conf and workers.properties Httpd.conf LoadModule jk_module modules/mod_jk.so ifModule mod_jk.c JkWorkersFile /usr/local/jakarta-tomcat-5.5.4/conf/workers.properties JkLogFile /etc/httpd/logs/mod_jk.log JkLogLevel info

RE: [ANN] JK 1.2.10 Released

2005-04-04 Thread Angus Mezick
How do you configure JK status? I can't find it in the docs. -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 1:53 AM To: Tomcat Developers List; Tomcat Users List Subject: [ANN] JK 1.2.10 Released The Apache Jakarta Tomcat team is

Re: Tomcat taking 125 seconds to launch

2005-04-04 Thread Michael Mehrle
You guys might be on to something - on my development machine it's taking only 25 seconds or so (identical code, tomcat version, and mysql installation). Question is: how do I fix a possible DNS lookup problem? - Original Message - From: Andrew Miehs [EMAIL PROTECTED] To: Tomcat Users

Connector on Solaris 10

2005-04-04 Thread jefou
Hello, I have setup Solaris 10 OS on AMD64 and I am trying to build the JK connector for Apache2 with Tomcat5, but I am not having any success at all with neither the Solaris nor the GNU gcc compiler. This is the only missing piece for my 64-bit java framework. I would hate to have Tomcat

Re: Tomcat taking 125 seconds to launch

2005-04-04 Thread Andrew Miehs
how about running tcpdump on the box to see what it is doing when you start tomcat? Andrew On Apr 4, 2005, at 5:46 PM, Michael Mehrle wrote: You guys might be on to something - on my development machine it's taking only 25 seconds or so (identical code, tomcat version, and mysql installation).

Re: Tomcat taking 125 seconds to launch

2005-04-04 Thread Jason Bainbridge
On Apr 4, 2005 10:46 AM, Michael Mehrle [EMAIL PROTECTED] wrote: You guys might be on to something - on my development machine it's taking only 25 seconds or so (identical code, tomcat version, and mysql installation). Question is: how do I fix a possible DNS lookup problem? Check your

Authentication problems with tomcat clustering.

2005-04-04 Thread David Owens
I have setup load balancing and clustering between two Tomcat 5.5.7 instances and Apache 2.0.50 with mod_jk. Almost everything works great. I can fail back and forth between the 2 tomcat instances with no trouble. However, I am having problems with the form based authentication. I have an

RE: Authentication problems with tomcat clustering.

2005-04-04 Thread Vaneet Sharma
Your Apache and Tomcat configuration is exactly like me.. However today I installed connector mod_jk.. Connector 1.2.10... And ... Though apache and tomcat are talking .. I cannot run my servlet page. Pls have a look below to see the configuration Thankx The connector is not loading my servlets?

Re: Jk 1.2.10 worker limit?

2005-04-04 Thread Mladen Turk
Guernsey, Byron (GE Consumer Industrial) wrote: To add to this- separating the lines into two worker.list lines *almost* worked. It seems that when I have a line like: worker.list=jkstatus,app1,app2,...,app72 worker.list=app73,app74,... This will not work. There is even a bugzilla entry on that,

Re: Kill running thread before tomcat stop

2005-04-04 Thread Lionel Farbos
On Mon, 4 Apr 2005 17:04:39 +0200 Edouard Dalla-Costa [EMAIL PROTECTED] wrote: Hello, I am using tomcat 5.0.30 which is working well. However I encountered a problem when I want to stop it. When I stop Tomcat, it calls the destroy method which is supposed to kill all my running threads but

RE: Connector on Solaris 10

2005-04-04 Thread Dale, Matt
Are you saying that you can't get gcc to work? This would be why you are having difficulty compling JK. Get gcc to work then worry about the connector. Ta Matt -Original Message- From: jefou [mailto:[EMAIL PROTECTED] Sent: 04 April 2005 17:00 To: Tomcat Users List Cc: [EMAIL PROTECTED]

RE: Connector on Solaris 10

2005-04-04 Thread jefou
gcc is working fine when compiling simple c programs. -- Original Message -- From: Dale, Matt [EMAIL PROTECTED] Date: Mon, 4 Apr 2005 17:13:04 +0100 Are you saying that you can't get gcc to work? This would be why you are having difficulty compling JK.

Which version to use?

2005-04-04 Thread Bjørn T Johansen
I am running Tomcat 5.0.28 at the moment and I was just wondering if I should be using another version, newer or even older? I see a lot of talk about version 5.5.x, is this the version maybe I should be considering? Regards, BTJ --

Re: Tomcat Connection refused :-(

2005-04-04 Thread Hari Mailvaganam
Did installing Oracle or jBoss change your JVM path? On Apr 4, 2005 5:49 AM, gaurav [EMAIL PROTECTED] wrote: Peter Crowther wrote: From: gaurav [mailto:[EMAIL PROTECTED] I am using tomcat 5.5.7 on Fedora 3 with jdk1.5.0_02 my i have disable firewal and stopped Iptables !!

Re: Webdav Webfolder issue when container security enabled

2005-04-04 Thread Mark Thomas
Can you post you web.xml please. Thanks, Mark Fernando Salazar de Paz wrote: Deleting C:\Tomcat 4.1\webapps\webdav\index.html listings were ok If I comment welcome-files in web.xml I think it should take welcome-files defined In C:\Tomcat 4.1\conf\web.xml or not ? Now I can open PDF files with

RE: Authentication problems with tomcat clustering.

2005-04-04 Thread David Owens
Are your servlets in the /servlet/ directory? Or some other name? You have only redirected /servet/*, /*.vm and /therestaurant/servlet/ControllerServlet/* You may want to try just /therestaurant/* And you may want to do this JkMount / therestaurant /* loadbalancer On my problem: So I did

RE: Jk 1.2.10 worker limit?

2005-04-04 Thread Guernsey, Byron \(GE Consumer Industrial\)
We have that many separate instances, and more. In large companies it becomes necessary to segregate your applications because each application has the potential to affect another application if bad code goes into production. So JVM's must be completely separate, otherwise you have war within

Troubleshooting Virtual Hosts with Tomcat 5 standalone mode...

2005-04-04 Thread Jeff Duska
I'm trying to setup a couple of virtual hosts using Tomcat in stand alone mode. I'm having a hell of a time to get this working correctly. I've tried several configs, but they all fail. I started with the goal of having a user directory for each virtual host. For example, for the sample

Re: Compressing file uploads with TC 4.1

2005-04-04 Thread David Wall
There was no response on this before, so I thought I'd check again. Does anbody know if turning compression on in the Coyote HTTP connector will use the standard browser/http protocol for submitting data from the browser (for file uploads in particular) using gzip? Thanks, David -

violates loader constraints

2005-04-04 Thread Alice Han
I have gone through the entire archive about this topic and none of them give a final answer. I have the web application in Tomcat 4 working for a couple of days, but I'm getting a strange error, and frankly I don't know what's causing it. The vusecuity.jar in WEB-INF/lib is not standard

Re: Troubleshooting Virtual Hosts with Tomcat 5 standalone mode...

2005-04-04 Thread Hein Behrens
This is in my server.xml the directory is webapps/by-m. It works also on a linux box. It is inside the engine. Host name=by-m debug=0 appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Context path= docBase=by-m debug=5 reloadable=true

re: Tomcat-juli in 5.5.9

2005-04-04 Thread Brent Sims
For the record, I found the jar in the bin folder -- it was my eyes after all. Still cannot get it to work but that's another story and one I haven't had time for Brent Sims Systems Analyst 2 KC Human Services - Road rage, air rage. Why

non-root on 80

2005-04-04 Thread NetSQL
apache drops to non root after bind to 80. How can this be done w/ tc 5.5? .V - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: non-root on 80

2005-04-04 Thread David Smith
Look at jsvc in the commons-daemon project on jakarta.apache.org/commons --David NetSQL wrote: apache drops to non root after bind to 80. How can this be done w/ tc 5.5? .V - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Setting up to use j_security_check??

2005-04-04 Thread J Malcolm
I'm attempting to move from basic authentication to form-based. Got everything configured and the forms created, etc. The login form comes up as expected. But when I submit, it says it can't find url j_security_check. Am I supposed to do something to configure/enable that url in tomcat? I've

RE: Setting up to use j_security_check??

2005-04-04 Thread David Owens
Have you defined the following in your web.xml? security-constraint login-config security-role |)ave -Original Message- From: J Malcolm [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 3:03 PM To: 'Tomcat Users List' Subject: Setting up to use j_security_check?? I'm attempting

Cannot modify Tomcat Contexts installed at setup

2005-04-04 Thread helena rato
I use Tomcat 5.0.27 with apache Apache 2.0.40 and JK2. Just for the purpose of a test, I replace the existing index.jsp file in $CATALINA_HOME/webapps/ROOT/ with another index.jsp file, with following contents: html h1Hello World/h1 /html I re-boot the server, and start Tomcat and Apache. I

Re: non-root on 80

2005-04-04 Thread NetSQL
I read that it has a stop method... but how do I get it to run at port 80 ? .V David Smith wrote: Look at jsvc in the commons-daemon project on jakarta.apache.org/commons --David NetSQL wrote: apache drops to non root after bind to 80. How can this be done w/ tc 5.5? .V

RE: Setting up to use j_security_check??

2005-04-04 Thread J Malcolm
Hmmm, I have the first two, but not the security-role. Not sure why that wasn't in this particular webapp. It's been working w/ basic auth, though. Is that the magic key that's missing in form auth? Is that a tag that's only required with form auth and not required for basic auth? I'll add it

XML validation fails on Tomcat

2005-04-04 Thread N G
Hi, I can't understand why Tomcat goes nuts when I enable XML validation in my server.xml file as follows: Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=true xmlNamespaceAware=false When I start Tomcat, it gives me this: (Any ideas?)

Re: non-root on 80

2005-04-04 Thread John Lianogou
I had to set up a solution using IP tables on my redhat box. First some background as to why I solved it this way: You can't run anything directly on port 80 without that process being executed as the root user... which -- for a variety of reasons I'm sure you needn't hear me go into -- is a

Re: non-root on 80

2005-04-04 Thread Jeff Duska
I'm using the jsvc in the commons-daemon with a Tomcat user. Other than not having to deal with the jsvc, is there a reason to pick this over jsvc? Thanks, Jeff Duska John Lianogou wrote: I had to set up a solution using IP tables on my redhat box. First some background as to why I solved it

Re: Cannot modify Tomcat Contexts installed at setup

2005-04-04 Thread sven morales
Hi, Try clearing the directory tomcat5/work/* and restart tomcat. This should clear up caches. aka_sergio --- helena rato [EMAIL PROTECTED] wrote: I use Tomcat 5.0.27 with apache Apache 2.0.40 and JK2. Just for the purpose of a test, I replace the existing index.jsp file in

Re: XML validation fails on Tomcat

2005-04-04 Thread sven morales
Hi, The server.xml has no DTD so it can not be xml validated. I dont recall if that attribute is even valid by setting it to true. aka_sergio --- N G [EMAIL PROTECTED] wrote: Hi, I can't understand why Tomcat goes nuts when I enable XML validation in my server.xml file as follows: Host

Re: axis tomcat5.5

2005-04-04 Thread QM
On Mon, Apr 04, 2005 at 05:55:31AM -0400, kalin mintchev wrote: : i was reading the axis documentation on the apache site and it says there : in the introduction section that If you are installing Tomcat, get the : latest 4.1.x : i was wondering if this hasn't been updated lately or axis 1.2 RC3

Re: Connector on Solaris 10

2005-04-04 Thread QM
On Mon, Apr 04, 2005 at 10:59:52AM -0500, jefou wrote: : I have setup Solaris 10 OS on AMD64 and I am trying to build the JK connector for Apache2 with Tomcat5, but I am not having any success at all with neither the Solaris nor the GNU gcc compiler. What errors do you see? -QM -- software

Re: Troubleshooting Virtual Hosts with Tomcat 5 standalone mode...

2005-04-04 Thread Hassan Schroeder
Jeff Duska wrote: I'm trying to setup a couple of virtual hosts using Tomcat in stand alone mode. I started with the goal of having a user directory for each virtual host. For example, for the sample domain1.com the appbase would be /home/domain/webapps. I setup my server.xml file to have the

mod_jk path problem

2005-04-04 Thread Christian Rudh
Hi Apache2 + mod_jk + Tomcat Is it possible to get http://domain/path/* point to /* on the tomcat worker with mod_jk? It always goes to /path/* on the worker no matter what I try. So when I try to call XServlet (/XServlet in the Tomcat worker) by http://domain/path/XServlet, Tomcat responds

Re: Tomcat 3 and Tomcat 5 on JDK 1.3 and JDK 1.5 respectively

2005-04-04 Thread Bill Barker
I routinely run TC 3.3.2 on JDK 1.4.x (and even occationally on 1.5.x :) without any problems. I haven't used TC 3.2.3 in very many years, so I don't know. I'd guess that it would run ok, except possibly if you are using SSL. Fredrik Liden [EMAIL PROTECTED] wrote in message news:[EMAIL

Fwd: non-root on 80

2005-04-04 Thread John Lianogou
Hey Jeff, Using jsvc is not at all mutually exclusive to the solution i offered. :-) AFAIK, there is no way to make tomcat bind to 80 w/o running it as the root user... if anyone else has experience to the contrary, however, I'd be most pleased to be wrong on this one. jL On Apr 4, 2005,

Re: tomcat ssl configuration

2005-04-04 Thread James T. Studebaker
Did you create the keystore while logged on as the root user? Thank you James T. Studebaker - Original Message - From: Mustafa BLKBA [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Monday, April 04, 2005 8:24 AM Subject: tomcat ssl configuration I use tomcat 5.0.28 on

RE: non-root on 80

2005-04-04 Thread George Sexton
In Linux, the workaround is to run on port 8080, and then write an IPTables rule to forward port 80 to 8080. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of NetSQL Sent: Monday,

transport guarantee in server.xml?

2005-04-04 Thread Ossie Guy
In our server.xml (Tomcat 4.1), we have a context that is used to serve up static content (PDFs) that are collected in a directory on our server: Context path=/pdf appBase= docBase=/path/to/pdfs reloadable=true/Context There is no war or other webapp involved here, just the folder with the

help with ssl certificate installation

2005-04-04 Thread Dave Salmon
Tomcat users, I have received three .crt files from a certificate authority. From reading several sources it seemed like the proper thing to do was keytool -import -file GTECyberTrustGlobalRoot.crt -alias root -trustcacerts -keystore mykey.jks keytool -import -file

Accessing the context path within a Servlet/JSP

2005-04-04 Thread J Malcolm
I have looked at the JavaDocs, but I can't find a method that will give me the context path for a web app: (i.e. Context path=/abcxyz docBase=...) All I want is the /abcxyz string precisely as defined in the context tag. I have tried getPath() from the servletContext, but it returns part of the

Re: Accessing the context path within a Servlet/JSP

2005-04-04 Thread Frank W. Zammetti
See HttpServletRequest.getContextPath() J Malcolm wrote: I have looked at the JavaDocs, but I can't find a method that will give me the context path for a web app: (i.e. Context path=/abcxyz docBase=...) All I want is the /abcxyz string precisely as defined in the context tag. I have tried