Re: Specify work folder for each application

2005-09-16 Thread Anto Paul
On 9/16/05, rahul [EMAIL PROTECTED] wrote: Eclipse Poject - Properties- Java Build Path - Source -Add folder... It is not allowing to add a folder outside the project. In Eclipse 3.0 I did this using some mapping external resource. But in 3.1 I couldn't find this option. --

Please take my address out of your mailing list !

2005-09-16 Thread francesca . villa . haenni
Dear who-ever every day I get more than 50 mails from people I don't know. I don't even know, what tomcat means (is it a plane?). COULD YOU PLEASE TAKE MY NAME OUT OF YOUR DISTRIBUTION LIST? Thank you very much! francesca villa hänni

RE: Please take my address out of your mailing list !

2005-09-16 Thread Jan Fredrik Fallsen
place the url below in the to field and send it [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 16. september 2005 08:40 To: Tomcat Users List Subject: Please take my address out of your mailing list ! Dear who-ever every day I get more

Re: Specify work folder for each application

2005-09-16 Thread James Shaw
On 16/09/05, Anto Paul [EMAIL PROTECTED] wrote: On 9/16/05, rahul [EMAIL PROTECTED] wrote: Eclipse Poject - Properties- Java Build Path - Source -Add folder... It is not allowing to add a folder outside the project. In Eclipse 3.0 I did this using some mapping external

RE: Order of WebApp Loading

2005-09-16 Thread Allistair Crossley
Hi, Create a servlet that is shared by all your web applications, perhaps use common/classes (or shared/classes - not sure which), and configure it to be a load-on-startup servlet in each web app's web.xml. your servlet can hook into your db startup code, or not bother if already started.

RE: Any procrun gurus here?

2005-09-16 Thread Longson, Robert
Jeff, There's no XML interface, but you can put the options in environment variables individually or use the procrun manager to enter them instead. Source code to procrun is in the jakarta commons-daemon project. Best regards Robert Longson -Original Message- From: [EMAIL PROTECTED]

Re: Session timeout issues

2005-09-16 Thread James Shaw
On 15/09/05, Leon Rosenberg [EMAIL PROTECTED] wrote: Hi, I don't know if this fits, but could it be, that your problem is related to the tomcat session synchronization bug? http://issues.apache.org/bugzilla/show_bug.cgi?id=36541 That does look like a potential issue. However, I think I

jconsole security manager

2005-09-16 Thread Pfingstl Gernot
I like to monitor my tomcat 5.5 (running on jdk 1.5.0) with jconsole. If I run tomcat without security manager everything works well. If I run tomcat with security manager, monitoring the tomcat mbeans works well - but jconsoles memory view doensn't work! Sun's doc says: If your application runs

Re: How to share static content across applications

2005-09-16 Thread Ritchie Gillam
Hassan Ok, I understand so where do I put the reference to the shared asset Context? I cannot put it in server.xml. Let's say I put want to put the reference in an application called app2, that would work fine expect I already have a Context element defined in context.xml for the app2

neiter admin nor manager works !!? can you help!?

2005-09-16 Thread Yassine ELassad
iam having a strange issue with tomcat5.0.28 running on suse linux 9.1 and working behinde Apache using mod_jk: this is my server.xml: = ?xml version='1.0' encoding='utf-8'? Server debug=9 Listener className=org.apache.catalina.mbeans.ServerLifecycleListener

RE: Please take my address out of your mailing list !

2005-09-16 Thread Michael Sullivan
On Fri, 2005-09-16 at 09:00 +0200, Jan Fredrik Fallsen wrote: place the url below in the to field and send it [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 16. september 2005 08:40 To: Tomcat Users List Subject: Please take my

Re: Virtual Hosts

2005-09-16 Thread Mahesh S Kudva
This setup has been tested on Apache2+JBoss+mod_jk-1.2.14_for MacOSX. And am sure it will work on other platforms as well. This setup also handles Apache related webapps.. Make the required entries in the DNS webapp.war: Extract the war file using zip and rename the folder with .war

tomcat url connections

2005-09-16 Thread Navalpotro Herrero, Luis
Hello, I have face recently found a tomcat issue that is driving me nuts. I have a Java application that opens a URL connection against tomcat. The parameteres are URLEncoded to be UTF-8 compatible. One of the values of the params is xml (which is the one that makes the thing fail). If I use

Re: problems setting up tomcat on debian sarge

2005-09-16 Thread Arnaud Vandyck
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Wood wrote: Andrew Miehs wrote: I have tomcat 5.0.25 - 30 running on Sarge without a problem. Sun JVM 1.42r5 and greater. maybe it was just the combinations i tried :) FYI, tomcat5 is now in Debian/unstable and is going to move from the

Re: Virtual Hosts

2005-09-16 Thread Tom Burke
I, too, am having problems configuring virtual hosts, in a Tomcat 5.0.28 server, with no Apache, on a Windows XP machine. I've studied the documentation and am puzzled by one area in particular: the definition of 'appBase'. For example, in the text below you suggest putting this in the Host

RE: How to serve just JSP (was: Re: JSP on RHEL4 with Apache http d RPM?

2005-09-16 Thread Peter Flynn
On Wed, 2005-09-14 at 13:22, KEREM ERKAN wrote: OK, start with downloading and installing a binary version of Tomcat for your OS and also download the 1.2.10 version of mod_jk. I think we should handle the rest off list not to bother the list anymore. Yes, that's lot's already installed and

Tomcat directory protection (was: Re: mod_jk performance

2005-09-16 Thread Peter Flynn
On Wed, 2005-09-14 at 13:29, Hassan Schroeder wrote: KEREM ERKAN wrote: Apache has better directory/file restricting and handling than Tomcat better in what way? What actual *security* issue are we talking about -- in other words, what exploit is Tomcat susceptible to that Apache is not?

Re: mod_jk performance

2005-09-16 Thread Peter Flynn
On Wed, 2005-09-14 at 13:50, Andrew Miehs wrote: We did some comparisons between running Tomcat 5.0 standalone, or TC 5.0 and Apache 2.0 If you are ONLY delivering JSPs, we found that we could only deal with 50% of the requests when running combined Apache TC and mod_jk OK, that's

Re: How to serve just JSP (was: Re: JSP on RHEL4 with Apache httpd RPM?

2005-09-16 Thread Peter Flynn
On Wed, 2005-09-14 at 14:04, Michael Lai wrote: KEREM ERKAN wrote: OK, start with downloading and installing a binary version of Tomcat for your OS and also download the 1.2.10 version of mod_jk. I think we should handle the rest off list not to bother the list anymore. Just to give you

Re: mod_jk performance

2005-09-16 Thread Peter Flynn
On Wed, 2005-09-14 at 18:52, Mark Thomas wrote: KEREM ERKAN wrote: Tomcat is harder to configure and -sadly- it has a far worse documentation than Apache (for now). I look forward to seeing your documentation patches in Bugzilla ;) I will certainly document how to fix my problem once it's

https:// Netscape and Firefox 1.0

2005-09-16 Thread Lalit Batra
Hi! Has anybody experienced problems of using https://blah.blah.com:8443/ esp. with Netscape 8.0 and FireFox 1.0. I get the following error: blah.blah.com has received an incorrect or unexpected message. Error Code: -12227 Things are fine when I use IE or Netscape version 7.0 thanks, Lalit

RE: https:// Netscape and Firefox 1.0

2005-09-16 Thread Caldarale, Charles R
From: Lalit Batra [mailto:[EMAIL PROTECTED] Subject: https:// Netscape and Firefox 1.0 Has anybody experienced problems of using https://blah.blah.com:8443/ esp. with Netscape 8.0 and FireFox 1.0. I'm using SSL on Firefox 1.0.6 with Tomcat 5.5.9 on Sun's JRE 1.4.2 and 5.0 without any

Re: https:// Netscape and Firefox 1.0

2005-09-16 Thread Lalit Batra
I am using the tomcat 5.5.9 , Sun JRE 1.5 and certificate from verisign. FireFox 1.0 On 9/16/05, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Lalit Batra [mailto:[EMAIL PROTECTED] Subject: https:// Netscape and Firefox 1.0 Has anybody experienced problems of using

Cluster and notifications to nodes

2005-09-16 Thread Eino Lilius
Hi, I have successfully installed a Tomcat cluster :) I need to notify other nodes in the cluster when a state is changed in my web application. My problem is that I don't know how to send those notifications. I've found one reply to similar question: You can register your own Cluster Message

Re: https:// Netscape and Firefox 1.0

2005-09-16 Thread Lalit Batra
Upgraded firefox 1.0.6 and still same problem. On 9/16/05, Lalit Batra [EMAIL PROTECTED] wrote: I am using the tomcat 5.5.9 , Sun JRE 1.5 and certificate from verisign. FireFox 1.0 On 9/16/05, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Lalit Batra [mailto:[EMAIL PROTECTED]

Re: Tomcat directory protection

2005-09-16 Thread Hassan Schroeder
Peter Flynn wrote: I don't know if Kerem Erkan was talking about exploits, but I have looked for some facility in Tomcat equivalent to Apache .htaccess files and failed to find any mention of them. Is it possible to do this kind of IP-level or simple username/password restriction in Tomcat?

Re: Order of WebApp Loading

2005-09-16 Thread Peter Menzel
I see, if i can't count on the order of loading, I tried something other: I set crossContext=true for both webapps and while in contextInitialized() of the webapp which schould run only after the first webapp finished loading I use context.getContext(/db-app) to look if the first app ist

Re: How to share static content across applications

2005-09-16 Thread Hassan Schroeder
Ritchie Gillam wrote: I need the following entries: Context docBase=/data0.../webapps/sharedHRM path=/sharedHRM/ and then one entry for each application that references the shared assets like this: Context docBase=/data0.../webapps/sharedHRM path=/app1/sharedHRM/ Context

RE: Order of WebApp Loading

2005-09-16 Thread Allistair Crossley
run your dependent web app in it's own tomcat? -Original Message- From: Peter Menzel [mailto:[EMAIL PROTECTED] Sent: 16 September 2005 15:55 To: Tomcat Users List Subject: Re: Order of WebApp Loading I see, if i can't count on the order of loading, I tried something other: I

Re: Virtual Hosts

2005-09-16 Thread Tom Burke
Mahesh Thanks for your help. I think something I don't understand is: what's its root of the virtual server's appbase? I have tomcat (5.0.28) installed in c:\Tomcat 5.0, with the usual set of directories within that - bin, common, conf, logs, server, shared, temp, webapps, work. I don't

Re: How to share static content across applications

2005-09-16 Thread Ritchie Gillam
You were right... I simply removed all the Context elements now in the server.xml file and changed all my code to reference ../sharedHRM or /sharedHRM depending on if the tag appends the Application Context or not. Thanks for your help. Ritchie Gillam Programmer Analyst, Information Services,

driverClass and URL are Null

2005-09-16 Thread Mattier, Ricardo
Hello, I'm currently running Tomcat 5.5 with a Postgresql 8.0 database. I created a test .jsp to test the Datasource, I get the following error: Cannot create JDBC driver of class '' for connect URL 'null' It seems I've inserted the correct parameters in the server.xml, and

Re: Cluster and notifications to nodes

2005-09-16 Thread Lionel Farbos
Hi, Why do you want your application to send a notification ? If you configure Session Replication in each of your Tomcat servers, every time there will be a change in your HTTP session, the others AS in the cluster will be notified and synchronized automatically. You have nothing to do... On

password authentication causes 403 error

2005-09-16 Thread paul
Hi there, I would like to set up my development tomcat-5.0.28 (on port 8080) so that all webapps that are not password protected, to have password authentification. Since it is my dev box I would like to use the memory realm. I have this in my web.xml: security-constraint

classloader issue on jboss3.2.2 for tomcat4.1

2005-09-16 Thread lio tomcat
Hello world, For some reason, i had to change default conf of my jboss 3.2.2 in order to avoid the use of jboss class loader. It's now set in [jboss]\deploy\jbossweb- tomcat41.sar\META-INF\jboss-service.xml in this way : attribute name=UseJBossWebLoaderfalse/attribute The problem is now my

Re: How to change the SSL port

2005-09-16 Thread Bradley McLain
I thought i saw someone mention the permission error before, but perhaps it was never followed up. on unix, ports below 1024 are protected, and can only be accessed by root. so if you're starting tomcat as anything else, it won't be able to bind to 443. have you checked this out? On Thu,

RE: Wher do I get binary of Tomcat

2005-09-16 Thread Bradley McLain
try netbeans as well, if it works on osx. its a little buggy, but far less frustrating than eclipse, imho. On Fri, 2005-09-16 at 00:14 -0400, [EMAIL PROTECTED] wrote: Thanks. I will follow your tips. I am transitioning my network to MacOSX and getting rid Win98 so that was one of last

Re: Cluster and notifications to nodes

2005-09-16 Thread Bradley McLain
this is a good question. i'll be facing the same issue soon. for session-based information, your answer is fine, but what about other types of info, say at the app-level? in one of my apps, for example, I can change some config data using a web request, but what if i want to ensure it is

Re: classloader issue on jboss3.2.2 for tomcat4.1

2005-09-16 Thread Steve Dodge
It doesn't see any classes in any of your jars? I was using JBoss 3.2.2 back in 2003 and had the same issue. Once I set the web loader to false, I realized that some utility classes were getting loaded from jars deployed in other wars. Effectively, now each webapp has its own classloader.

Suppress Connection reset by peer: socket write error.

2005-09-16 Thread Dola Woolfe
Hi, I apologize for asking this question again for I remembering asking this question in the past, but I can't find the response. What setting (and where) will suppress the aforementioned exception in the tomcat log? Thank you very much in advance, again! Dola

Why doesn't my context work?

2005-09-16 Thread Michael Sullivan
I wrote in yesterday asking about how to map certain directories to tomcat contexts. When nobody answered me I did some Google research. I didn't find much that made sense to me. I prefer man and info pages to what I found. Anyway, I created a file called home.xml in

Help figuring out Virtual Hosts

2005-09-16 Thread Dola Woolfe
Hi, I've certainly RTFM'd and had thoroughly read http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/host.html#Host%20Name%20Aliases but I just can't figure out how to get virtual servers to work. Basically, assume that DNS is set up properly and that ServerA.com ServerB.com and Server.com

Re: Why doesn't my context work?

2005-09-16 Thread Mark Eggers
Here are the contents of home.xml: Context path=/user appBase=/home docBase=michael/webspace/webapps debug=0 privileged=true /Context From the documentation for Tomcat 5.5.9 at http://localhost:8080/tomcat-docs/config/context.html: The Document Base (also known as the Context

Tomcat on UNIX

2005-09-16 Thread Wei Zhao
Hi: What's the JDK/JVM requirement for running Tomcat 5.5 on AIX 5.1 and HP-UX11? thanks Wei __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com - To

help with embedded tomcat's webapp classloader

2005-09-16 Thread Donald Ball
hey guys. i'm trying out embedding tomcat 5.0 in an swt app that creates complex configuration data for a webapp. basically, i'd like the users to be able to do a test deploy of the webapp on their own box using hsqldb and an embedded tomcat. my code looks more or less like so: import

Tomcat shutdown and processes

2005-09-16 Thread Adile Abbadi
Hi all, Maybe someone has experienced this issue I'm having - I am running Apache/Tomcat4 on Debian using JDK1.4. I have done this install on a number of different machines - however this is the first install I've done on the 2.6 kernel. Everything seems to be working fine - tomcat and apache

Re: Why doesn't my context work?

2005-09-16 Thread Hassan Schroeder
Michael Sullivan wrote: what I found. Anyway, I created a file called home.xml in /opt/tomcat5/conf/Catalina/localhost. I made home.xml by copying admin.xml and altering it. Here are the contents of home.xml: Context path=/user appBase=/home docBase=michael/webspace/webapps debug=0

Tomcat 5.5 Virtual Hosting

2005-09-16 Thread Durfee, Bernard
Okay, after much struggle here is the solution I came up with for virtual hosting... 1 Machine, 3 DNS Entries - mymachine.me.com, app01.me.com, app02.me.com == server.xml - 3 host entries under the Catalina engine: Host name=localhost

Fwd: Re: How to change the SSL port

2005-09-16 Thread CommonGround Softworks/Phil McNamara
On 9/15/05, Hassan Schroeder [EMAIL PROTECTED] wrote: CommonGround Softworks/Phil McNamara wrote: The tomcat log does show a bind error message after my server.xml edit to port 443. Sep 15, 2005 10:37:07 PM org.apache.coyote.http11.Http11Protocol init SEVERE: Error initializing

RE: Help figuring out Virtual Hosts

2005-09-16 Thread Durfee, Bernard
Dola, I believe in order to serve static content you'll need to create a context XML file. I just posted an email outlining how I was able to get virtual hosting working. An additional step in your case would be to create a file [TOMCAT]/conf/Catalina/servera.com/ROOT.xml and include a context

Tomcat5.5 stops responding after sevral days

2005-09-16 Thread Brian Cook
I am running Tomcat 5.5 and about every 2 - 5 days it stops fully responding. Meaning that nothing will load in a browser when accessing Tomcat but the browser will never time out either. It will just sit there waiting forever. It happens to all of the modules loaded in webapps as well as

Broken links on the Tomcat 5.5 Docs pages

2005-09-16 Thread Brian Cook
The following links relating to realm logging on page http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html are broken http://jakarta.apache.org/tomcat/tomcat-5.5-doc/context.html http://jakarta.apache.org/tomcat/tomcat-5.5-doc/host.html

Re: Why doesn't my context work?

2005-09-16 Thread Michael Sullivan
From the documentation for Tomcat 5.5.9 at http://localhost:8080/tomcat-docs/config/context.html: The Document Base (also known as the Context Root) directory for this web application, or the pathname to the web application archive file (if this web application is being executed directly

Re: Tomcat on UNIX

2005-09-16 Thread Tim Funk
java 1.4 -Tim Wei Zhao wrote: Hi: What's the JDK/JVM requirement for running Tomcat 5.5 on AIX 5.1 and HP-UX11? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Issue with the admin webapp

2005-09-16 Thread Sastry Malladi
Thanks. I've verified that this is fixed in 5.5.11-alpha. Just wanted to know if the same fix will be made available under 5.0.x (5.0.30 ?) as well ? I'd imagine the fix is just to the admin webapp itself, and assuming that it is backward compatible with 5.0.x, then we should be able to use

Re: Why doesn't my context work?

2005-09-16 Thread Mark Eggers
--- Michael Sullivan [EMAIL PROTECTED] wrote: OK. For clarification I am running tomcat-5.0.27-r6. I want user's tomcat files to be read from /home/*/webspace/webapps. My personal account is michael so my personal tomcat directory would be /home/michael/webspace/webapps . Just for