Re: Java and Java 1.5 on same machine

2005-05-20 Thread Tim Diggins
Hi Didier - I think it might be better to leave the body of the scripts as they are but reassign the environment variables at the beginning of the script (shell-dependant obviously). You might even (?) want to unset JAVA_HOME/CATALINA_HOME globally and re-assign it on a script-by-script

Re: Tomcat vs Apache

2005-05-20 Thread Lutz Zetzsche
Hi Woodchuck, Am Mittwoch, 18. Mai 2005 21:46 schrieb Woodchuck: another (simple) way to think about the difference is that Apache serves static web pages, whereas Tomcat *can* do some server-side processing and serve dynamic web pages. all else being equal (and with no mods installed on

5.5 FreeBSD Port

2005-05-20 Thread Tim Diggins
Hi - I was just wondering if anyone out there had installed 5.5 on FreeBSD? I've been using 5.0 on BSD, which was easy to install, as there is a portfile defined. Was wondering whether to wait for /try to hack my own portfile, or just install 5.5 manually (the instructions seem fairly

Re: Java and Java 1.5 on same machine

2005-05-20 Thread Dakota Jack
Don't change the name of the variables but the value. On 5/19/05, Didier McGillis [EMAIL PROTECTED] wrote: How can Java 1.4.2 and Java 1.5 co-exist on one server. I need to run Tomcat 55 with Java 1.5 and my development Tomcat with java 1.4.2 on the same machine. I have just installed Java

Help Tomcat session replication!!!!!!!!!!!!!!!!!!!!!

2005-05-20 Thread etienne
Hello, I would like to know how session replication works with TOMCAT. And what is the configuration? My configuration is: One Apache 192.168.0.122 Three tomcat servers 192.168.0.121-123 The load balancing with Apache and Tomcat works. I tested the configuration with a simple JSP like

Re: 5.5 FreeBSD Port

2005-05-20 Thread Ronald Klop
You can try to mail the port maintainer of the tomcat5 port. See /usr/ports/www/jakarta-tomcat5/Makefile. If you have issues about jdk 1.5 on bsd being flaky, please post them on [EMAIL PROTECTED] Ronald. On Fri May 20 11:06:03 CEST 2005 Tomcat Users List tomcat-user@jakarta.apache.org wrote: Hi

Re: Environment in Tomcat 5.0.28 not working with multiple tomcat services in server.xml

2005-05-20 Thread Parsons Technical Services
You did specify a different IP for each connector? Else the 2nd one will fail because the port is in use. Unless the ports on all connectors are different. Doug - Original Message - From: Iannis Hanen [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Cc: [EMAIL PROTECTED] Sent:

Re: start tomcat-4.1.31 with jsvc?

2005-05-20 Thread Parsons Technical Services
http://jakarta.apache.org/commons/daemon/jsvc.html http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html Don't use the args from the website. I never got them to work. Use the script files included for jsvc, tomcat.sh . There is a note on the second link about changing the filename to

Re: Cannot Login After Upgrade From 4.0.4 to 5.0.28

2005-05-20 Thread Parsons Technical Services
Look at the admin app. It uses a form login. Also compare the web.xml of the admin app. Hopefully you can spot any differences. Doug - Original Message - From: John Lindley [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Thursday, May 19, 2005 5:51 PM Subject: Cannot Login

Re: Tomcat vs Apache

2005-05-20 Thread Tim Diggins
Hi - thanks for that, I hadn't realised that the servlet-name default would still work in my webapp's web.xml. So I can reverse the logic as you suggest. Works great. Tim Parsons Technical Services wrote: Look here: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/default-servlet.html If you

Re: DBCP Exception

2005-05-20 Thread Parsons Technical Services
Post the parts of your config files that pertain to the database and a code snippet where you are calling out the connection. Looks like a misconfiguration but only a guess until we see the configs. Don't forget to change passwords and user names before posting. Also what OS JVM and Tomcat

ip-based virtual hosting

2005-05-20 Thread Mirko
I know name-based virtual hosting works great in Tomcat but I am interested in setting up ip-based virtual hosting in standalone Tomcat. Is that possible? /Mirko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Tomcat/Apache/JK(2)?

2005-05-20 Thread Darryl Wilburn
The only change I made to httpd.conf was to add the line: Include C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\mod_jk.conf. (You can put the .conf file anywhere, you just have to tell Apache where it's located.) I did find that the HowTo instructions directed you to use

What happened to the searchable list archive?

2005-05-20 Thread Steve Kirk
It's been a few months since I've been active on the list, and the list archive seems to have changed in that time, could someone please advise? I used to search the list archives here: http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED] pache.org But that archive appears to contain very few

Re: Tomcat/Apache/JK(2)?

2005-05-20 Thread Tom Holmes Jr.
I have Tomcat 5.5.9 using JK to communicate with Apache 2.0.54 just fine. The workers.properties file is configured correctly, the httpd.conf is configured correctly, and I had to make a small change to server.xml to call my new site. This is all running on one Windows 2000 Server machine.

sending redirects to relative/absolute URLs

2005-05-20 Thread Angelov, Rossen
Hi, Does anybody know why Tomcat always redirects to absolute links? I looked at the implementation and the sendRedirect calls the toAbsolute method which always constructs an absolute URL. Is there any way to make Tomcat return relative URLs the way they were requested for redirecting? Ross

Re: JRE vs. JDK for Tomcat

2005-05-20 Thread Chris
Tomcat used to require javac (the Java compiler from the SDK) in order to compile the java code generated from the jsps. Tomcat 5 now comes packaged with the jasper compiler, so all you need is the Java 5.0 JRE. When I tried running 5.5.9 off of the 1.5 jre, it told me that I needed to have the

Using Tiger in jsp

2005-05-20 Thread Julien Martin
Hello, I use Tomcat 5.5 and I would like to use jdk5.0 features such as enhanced for loop in my jsp. I am having problems: Tomcat seems to be expecting jdk1.4 syntax. Can anyone help please? Julien. - To unsubscribe, e-mail:

Deploy War Message

2005-05-20 Thread Nuno Martins
Hi, While deploying a war in tomcat 4.1.31, this message appears in logs every 15 seconds *HostConfig[localhost]: Deploying discovered web applications* How can I disable this warning? Thanks, Nuno Martins

Re: sending redirects to relative/absolute URLs

2005-05-20 Thread Len Popp
No, because the HTTP protocol requires an absolute URL in redirect responses. On 5/20/05, Angelov, Rossen [EMAIL PROTECTED] wrote: Hi, Does anybody know why Tomcat always redirects to absolute links? I looked at the implementation and the sendRedirect calls the toAbsolute method which

RE: sending redirects to relative/absolute URLs

2005-05-20 Thread Angelov, Rossen
Len, Can you point me a place where I can read about these HTTP requirements? I thought this might be the case but I couldn't find anything helpful online. Probably didn't search enough. -Original Message- From: Len Popp [mailto:[EMAIL PROTECTED] Sent: Friday, May 20, 2005 9:28 AM To:

Re: sending redirects to relative/absolute URLs

2005-05-20 Thread Jon Wingfield
Section 14.30 of the http spec. rfc2616 http://www.faqs.org/rfcs/rfc2616.html Jon Angelov, Rossen wrote: Len, Can you point me a place where I can read about these HTTP requirements? I thought this might be the case but I couldn't find anything helpful online. Probably didn't search enough.

Re: sending redirects to relative/absolute URLs

2005-05-20 Thread Lutz Zetzsche
Hi Angelov, Am Freitag, 20. Mai 2005 15:53 schrieb Angelov, Rossen: Hi, Does anybody know why Tomcat always redirects to absolute links? I looked at the implementation and the sendRedirect calls the toAbsolute method which always constructs an absolute URL. Is there any way to make Tomcat

DBCP datasource works on 5.0.28 but fails on 5.5.9

2005-05-20 Thread Steve Kirk
I know that DBCP is a common problem discussed on this list - I have been helped, and have helped other people, with it before. So before posting this message, I have recently re-read the 5.5 release notes and 5.0/5.5 DBCP/JNDI how-to docs and checked the list archives. But can't find a solution

Re: DBCP datasource works on 5.0.28 but fails on 5.5.9

2005-05-20 Thread Nikola Milutinovic
Steve Kirk wrote: When TC starts up, the webapp deploys OK from its war file, and the context.xml is copied to the /conf/[engine]/[host]/ folder OK, without any parsing errors logged. The connection pool initially seems to work, in the sense that this code executes OK: Context ctx = new

Re[2]: server options

2005-05-20 Thread Sergey Livanov
Thank you a lot Fritz, I have downloaded and install JDK 1.5.0.3 and set the following pass in the configuration. ( C:\Program Files\Java\jdk1.5.0_03\jre\bin\server\jvm.dll ) Then I have added the line -server -Xmx256m and tried to start it but the result was the same. Do you have any more

Re: Java and Java 1.5 on same machine

2005-05-20 Thread Didier McGillis
Yep thats what I ended up doing and it works like a charm, just some minor tweaks and then it should be all good to go. thanks everyone. From: Tim Diggins [EMAIL PROTECTED] Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org To: Tomcat Users List tomcat-user@jakarta.apache.org Subject:

Problems with gzip compression with Apache/Tomcat cluster and Firefox

2005-05-20 Thread B.J. Guillot
We have recently been experimenting with enabling gzip/deflate compression via our Apache/Tomcat cluster, but have encountered some problems with the way the compression works with the Firebox browser. When Firefox brings up a compressed page for the first time, it looks fine. If they reload a

Re: DBCP datasource works on 5.0.28 but fails on 5.5.9

2005-05-20 Thread Lutz Zetzsche
Hi, Am Freitag, 20. Mai 2005 17:22 schrieb Nikola Milutinovic: Steve Kirk wrote: This most commonly means that the definition of the DataSource resource lacks driver definition. Could it be that you've missed the fact that DataSource JNDI resource setup definition has changed in TC 5.5? It

RE: DBCP datasource works on 5.0.28 but fails on 5.5.9

2005-05-20 Thread Steve Kirk
Thanks nix. Could it be that you've missed the fact that DataSource JNDI resource setup definition has changed in TC 5.5? It is no longer with those parametername.../namevalue.../value/parameter. Yes I already changed that. I used to use the approach you mention in 5.0.28, i.e.:

RE: DBCP datasource works on 5.0.28 but fails on 5.5.9

2005-05-20 Thread Steve Kirk
Thanks lutz, that's in fact exactly how I now have it. I have also deleted the webapp (and the context xml file under /conf) and recompiled/restarted, to make sure the new context config is loaded, but still no joy. -Original Message- From: Lutz Zetzsche [mailto:[EMAIL PROTECTED]

Re: Using Tiger in jsp

2005-05-20 Thread Markus Schönhaber
Am Freitag, 20. Mai 2005 16:11 schrieb Julien Martin: I use Tomcat 5.5 and I would like to use jdk5.0 features such as enhanced for loop in my jsp. I am having problems: Tomcat seems to be expecting jdk1.4 syntax. Can anyone help please?

Compatibility of tomcat 5 with Win2003

2005-05-20 Thread Leonardo Otoni de Assis
Tomcat 5 or higher work 100% compatible with Win2003? Thanks, Leonardo Otoni de Assis Powerlogic Consultoria e Sistemas S.A. Tel: (31) 3286-1691 Fax: (31) 3286-1631 www.powerlogic.com.br

RE: What happened to the searchable list archive?

2005-05-20 Thread GB Developer
I like marc. http://marc.theaimsgroup.com/?l=tomcat-userr=1w=2 -Original Message- From: Steve Kirk [mailto:[EMAIL PROTECTED] Sent: Friday, May 20, 2005 8:14 AM To: tomcat-user@jakarta.apache.org Subject: What happened to the searchable list archive? It's been a few months

Re: Using Tiger in jsp

2005-05-20 Thread Markus Schönhaber
Am Freitag, 20. Mai 2005 18:32 schrieb Markus Schönhaber: Am Freitag, 20. Mai 2005 16:11 schrieb Julien Martin: I use Tomcat 5.5 and I would like to use jdk5.0 features such as enhanced for loop in my jsp. I am having problems: Tomcat seems to be expecting jdk1.4 syntax. Can anyone help

Sybase DB Failure

2005-05-20 Thread Jim Henderson
I am trying to use the UserDatabaseRealm connecting to a Sybase DB server. I get the following error: --- May 20, 2005 11:17:34 AM org.apache.catalina.realm.DataSourceRealm open SEVERE: Exception performing

Re: Sybase DB Failure

2005-05-20 Thread Ed Robbins
I haven't done this in a long time, but Sybase has a utility, a SQL script if I recall, that will configure the DB to allow you to connect via JDBC. I believe it comes with the JConnect distribution, which you can download from Sybase. Ed Jim Henderson wrote: I am trying to use the

Error on Running Perl CGI on Tomcat

2005-05-20 Thread Robert Kerry
I know this has been asked for millions of time, but I searched google for the entire day but did not get an answer, instead I found millions of ppl who have the same problem as I am. The problem is simple: 1. The same code runs well on command line 2. When Running on Tomcat, the html file gives

war deploy

2005-05-20 Thread Pfingstl Gernot
How can I depoly a war to a path like '/x/y'? If I name the war x#y.war (and unpackWar=false) and put a /META-INF/context.xml into the war, I get a work/Catalina/localhost/x#y directory. Calling localhost/x/y in the browser causes a directory work/Catalina/localhost/x_y will be created. In the

AW: war deploy

2005-05-20 Thread Pfingstl Gernot
Sorry - I forgot to say: I'm using tc 5.5.9 -Ursprüngliche Nachricht- Von: Pfingstl Gernot Gesendet: Freitag, 20. Mai 2005 22:52 An: Tomcat User (E-Mail) Betreff: war deploy How can I depoly a war to a path like '/x/y'? If I name the war x#y.war (and unpackWar=false) and put a

Can mulitple domains share one web app?

2005-05-20 Thread Randy Paries
Hello, I will try to ask this question so it makes sense. I have a webapp. Currently I have 2000 people that share the same web app For example www.mydomain.com/sue www.mydomain.com/fred Etc All these guys have their own directories, but they are a single web app. Now I have many

Problems with filters in 5.5.9?

2005-05-20 Thread Brandon Dove
I recently upgraded from 5.5.4 - 5.5.9. Now when starting my app I get the error: May 20, 2005 4:28:10 PM org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter addressFilter java.lang.ClassNotFoundException: com.mycompany.servlet.AddressFilter [...] May 20, 2005

Re: Error on Running Perl CGI on Tomcat

2005-05-20 Thread Jason Bainbridge
On 5/20/05, Robert Kerry [EMAIL PROTECTED] wrote: I know this has been asked for millions of time, but I searched google for the entire day but did not get an answer, instead I found millions of ppl who have the same problem as I am. The problem is simple: 1. The same code runs well on command

Re: Can mulitple domains share one web app?

2005-05-20 Thread Parsons Technical Services
Alias might do what you want with one reservation, you cannot have www.mydomain.com/bob www.yourdomain.com/bob as different folders. These will be the same folder. So each /folder will have to be unique even though the domain names are different. Doug - Original Message - From: Randy

5.5.9 jasper ant compile options

2005-05-20 Thread Pfingstl Gernot
I want to compile my jsps before depolying my war, so I'm using the standalone deployer build.xml. In the web.xml (for the jsp servlet) I can set some options eg. genStrAsCharArray or trimSpaces. How can I set these compile options in the ant task? Thx Gernot

RE: What happened to the searchable list archive?

2005-05-20 Thread Steve Kirk
Thanks - great site. Just what I was looking for. -Original Message- From: GB Developer [mailto:[EMAIL PROTECTED] Sent: Friday 20 May 2005 18:05 To: 'Tomcat Users List' Subject: RE: What happened to the searchable list archive? I like marc.

Connecting Tomcat 5.0.30 to Apache 2.0.54

2005-05-20 Thread Eric Short
I am on FreeBSD 5.4. I installed Tomcat just fine and Apache just fine and all is well. Now I am trying to connect them together with the JK 1.2.10 source. I do the ./configure --with-apxs=/usr/local/apache2/bin/apxs and it runs fine. I then do a cd apache-2.0 and then run gmake and I get the

JasperException: java.lang.String.replace

2005-05-20 Thread Wendy Smoak
Tomcat 4.1 on HP-UX 11.11, Java version 1.5.0 I'm getting the following in the webapp's log file: 15:12:18,422 - ERROR org.apache.struts.taglib.tiles.InsertTag - ServletException in '/WEB-INF/jsp/layout/vboxLayout.jsp': ServletException in '/WEB-INF/jsp/prof ile/profileGivingSummary.jsp':

Clustering Tomcat

2005-05-20 Thread Ben
Hi I'm trying to configure clustering of 2 Tomcat servers on a single CentOS 4 machine. When I start the first Tomcat, I get error messages like this in the catalina.out log file: org.apache.catalina.cluster.mcast.McastServiceImpl$SenderThread run WARNING: Unable to send mcast message.

Tomcat restart leaving mod_jk threads in CLOSE_WAIT status

2005-05-20 Thread Mike Millson
There was an issue where using mod_jk with the AJP13 protocol and restarting Tomcat left the mod_jk connections from Apache to Tomcat in CLOSE_WAIT status. The only thing that would free them was if you restarted Apache. I have in my notes that this issue was fixed w/ the 1.2.6 connector release.

Re: server options

2005-05-20 Thread Robert r. Sanders
Running java -h from Windows XP w/ JRE 1.5.0_02 claims that it supports the -server flag. Try creating an environment variable JAVA_OPTS and setting it to be -server -Xmx256m. -- Robert r. Sanders Chief Technologist iPOV (334) 821-5412 www.ipov.net

Re: What happened to the searchable list archive?

2005-05-20 Thread Robert r. Sanders
You can also use: http://dir.gmane.org/gmane.comp.jakarta.tomcat.user I tend to like its interface a little bit better. Steve Kirk wrote: Thanks - great site. Just what I was looking for. -Original Message- From: GB Developer [mailto:[EMAIL PROTECTED] Sent: Friday 20 May 2005

Re: Accessing images through FrontController Servlet

2005-05-20 Thread Robert r. Sanders
Do you have any logs of what's going on? Also, make sure the pages are using the c:url / tag (or equivalent), as the image paths need to be relative to the url that the client browser see - should be able to hard code the path to be /ntrr/images/whatever.jpg To check for bad paths first