Re: JMS Alternative

2006-08-18 Thread Feris Thia
Hi Richard, Ronald, Nikola, and Filip Thanks for all the answers. I now get clearer for my solution, it is clearly has nothing to do with Tomcat but in my application design. -- Regards, Feris PT. Putera Handal Indotama JL. KH. Moh. Mansyur No. 11 Blok B.8-12 Telp. +62-21-631 6688 (Hunting) Fax.

Writing Web.xml & Context.xml at Runtime

2006-08-18 Thread Feris Thia
Is it possible to change web.xml or context.xml entry at runtime ?? I need to write administration configuration for my web application that will change those xml's entries. Thanks before. -- Regards, Feris PT. Putera Handal Indotama JL. KH. Moh. Mansyur No. 11 Blok B.8-12 Telp. +62-21-631 6688 (

Re: Creating /WEB-INF folders for virtualhosts

2006-08-18 Thread John Hinton
John Hinton wrote: Seems I have everything running up to the point of a test.jsp file being excuted within a virtualhost's user directory. If I understand correctly, there should be a WEB-INF directory in the virtualhost root directory, with a web.xml document there. My snag.. is there a bui

UndeployTask did not delete webapps directory

2006-08-18 Thread wolverine my
Hi! What could be the reason the org.apache.catalina.ant.UndeployTask did not delete my application context directory from webapps? It deleted all the files except the webapps/dummyapp/WEB-INF/lib some of the JARs are deleted but some are not... I tried to stop (org.apache.catalina.ant.StopTask

Re: Tomcat BUILD FAILED, error=2

2006-08-18 Thread Martin Gainty
The message was truncated ..What is the root cause ? * This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have rec

Re: need help on jsp issue under Tomcat 5.5.17

2006-08-18 Thread Mark Thomas
Tom Jerry wrote: > ---test.jsp This works fine for me. Just copied it into tomcat-docs/test.jsp and it worked out of the box. > In addition, I have verified : > - CLASSPATH setting is correct, which contains the dt.jar/tools.jar from > JDK > 1.5 and jsp-api.jar/servlet-api.jar from Tomcat. M

Re: NSIS Error during Installation

2006-08-18 Thread Mark Thomas
Shyamal Mitra wrote: > > Hi, > > I am trying to install Tomcat 5.5.17 on my PC running Windows XP. > I have downloaded the executable file from at least two sites. But > I get the following error while trying to install: > > NSIS Error When starting a new thread (ie sending a message to the lis

Re: Changing IP address..

2006-08-18 Thread Mark Thomas
Atul Govande wrote: > How do I change IP address automatically in Server.XMl and httpd.conf and > worker.properties file. Case Scenario: I have working Apache Tomcat running > on server Name 10.31.5.xxx. I have changed my network and new server name is > 10.31.10.xxx. What is the best way for seaml

Re: Tomcat BUILD FAILED, error=2

2006-08-18 Thread Mark Thomas
Martin Gainty wrote: > Cant find the file(s) > C:\Documents and Settings\ybai3\build.properties > C:\Program Files\Apache Software > Foundation\apache-tomcat-5.5.17-src\build.properties.default > > A bit O/T here..I would ask this in Ant Users list O/T possibly but the above warnings are not the

Re: Tomcat BUILD FAILED, error=2

2006-08-18 Thread Mark Thomas
Yan Bai wrote: > Below's the result from -verbose. Do I need a svn client to make it > work? or a cvs client? Yes you need svn on your path for this to work. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsub

Re: Tomcat BUILD FAILED, error=2

2006-08-18 Thread Martin Gainty
Cant find the file(s) C:\Documents and Settings\ybai3\build.properties C:\Program Files\Apache Software Foundation\apache-tomcat-5.5.17-src\build.properties.default A bit O/T here..I would ask this in Ant Users list M -- * This

Changing IP address..

2006-08-18 Thread Atul Govande
How do I change IP address automatically in Server.XMl and httpd.conf and worker.properties file. Case Scenario: I have working Apache Tomcat running on server Name 10.31.5.xxx. I have changed my network and new server name is 10.31.10.xxx. What is the best way for seamless migration form old 10.31

Changing IP address

2006-08-18 Thread Atul Govande
How do I change IP address dynamically in Server.XMl and httpd.conf and worker.properties file. Case Scenario: I have working Apache Tomcat running on server Name 10.31.5.xxx. I have changed my network and new server name is 10.31.10.xxx. What is the best way for seamless migration form old 10.31.

Re: Urgent! Compile JSP Problem

2006-08-18 Thread Lars Nielsen Lind
Sounds great - Tomorrow I will try to do what you have done and send feedback to the list. Thanks, Lars Nielsen Lind chavalitt skrev: I've just fixed this problem on my server. It's about the different context between tomcat 5.0.x and 5.5.x in server.xml of tomcat 5.5.x, you should not inp

Tomcat 5.0.28p1 on OpenBSD acting very slow

2006-08-18 Thread Matthew Clarkson
I need to offload tomcat onto one of our webservers while I rebuild our main tomcat machine running tomcat 4.1.30. The webserver I'm putting it on right now is running OpenBSD 3.8 with java 1.5.0 and bsd-patchset 1, with openbsd's specific patches and is running tomcat 5.0.28p1. The probl

Re: Urgent! Compile JSP Problem

2006-08-18 Thread chavalitt
I've just fixed this problem on my server. It's about the different context between tomcat 5.0.x and 5.5.x in server.xml of tomcat 5.5.x, you should not input appBase="...", delete this attribute out. Then in /conf/Catalina/[Host]/ROOT.xml , put the docBase="..." here. Then everything should wor

RE: need help on jsp issue under Tomcat 5.5.17

2006-08-18 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: RE: need help on jsp issue under Tomcat 5.5.17 > > make sure rt.jar is on your CLASSPATH Absolutely do not ever, ever do this. Items pointed to by the CLASSPATH variable (or -cp launcher option) are loaded by the system classloader - th

RE: turning logging on for JSF on tomcat 5.0.28

2006-08-18 Thread Martin Gainty
To enable and configure logging in Tomcat look at http://dspace.dsto.defence.gov.au/tomcat-docs/logging.html Martin-- __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This

RE: turning logging on for JSF on tomcat 5.0.28

2006-08-18 Thread Tolga.Umut
Hi Boris, Thanks for the prompt response, We have log4j in the project that we are deploying to tomcat, so I tried your solution without taking out the log4j from our classpath and wanted to see what happens. And there was not much, the same result. Then a friend of mine suggested configuring th

Creating /WEB-INF folders for virtualhosts

2006-08-18 Thread John Hinton
Seems I have everything running up to the point of a test.jsp file being excuted within a virtualhost's user directory. If I understand correctly, there should be a WEB-INF directory in the virtualhost root directory, with a web.xml document there. My snag.. is there a built in way to create

RE: need help on jsp issue under Tomcat 5.5.17

2006-08-18 Thread Martin Gainty
Ning- make sure rt.jar is on your CLASSPATH My copy is located on %JAVA_HOME%/jre/lib HTH Martin Gainty __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission

RE: need help on jsp issue under Tomcat 5.5.17

2006-08-18 Thread Mark Babcock
Ning, Where are you putting the test file? I copied your test file and dropped it into my tomcat folder and it ran without a hitch. Can you view the samples that come with tomcat? -Original Message- From: Tom Jerry [mailto:[EMAIL PROTECTED] Sent: Friday, August 18, 2006 1:06 PM To: u

RE: need help on jsp issue under Tomcat 5.5.17

2006-08-18 Thread Propes, Barry L
did you import the proper packages into the JSP? -Original Message- From: Tom Jerry [mailto:[EMAIL PROTECTED] Sent: Friday, August 18, 2006 12:06 PM To: users@tomcat.apache.org Subject: need help on jsp issue under Tomcat 5.5.17 Hi there, I recently downloaded and installed Tomcat 5.5.1

need help on jsp issue under Tomcat 5.5.17

2006-08-18 Thread Tom Jerry
Hi there, I recently downloaded and installed Tomcat 5.5.17 on my Windows XP machine, and did some basical tests. It turns out that the it has problems executing jsp files with the vrey basic functions. For example, I have a very simple jsp file as follows: ---test.jsp <%@ page import = "ja

RE: Tomcat Context

2006-08-18 Thread Bala Paranj
Thank you. The problem was that JBoss installation cannot have spaces in the installed path. I did have the context defined below the host tag in server.xml. Hope this helps someone. -Original Message- From: Dhiraj Ramakrishnan [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 15, 2006 10

Tomcat 5.5 installation question for windows installer version of tomcat 5.5

2006-08-18 Thread Mark Babcock
I have successfully installed the windows version of tomcat 5.5 onto my windows 2003 server. However, I can't seem to find documentation on how to start it in security mode. Anyone, able to help? Mark

Re: Firefox / cookies / sessions - tomcat problem

2006-08-18 Thread David Smith
Firefox 'B' is a new window on the original Firefox 'A' (same application instance). As such they share the same session on your webapp. Your code should check to be sure the session is still valid (request.isRequestedSessionIdValid()). On a design note, you should not be maintaining open co

Re: Tomcat BUILD FAILED, error=2

2006-08-18 Thread Yan Bai
Below's the result from -verbose. Do I need a svn client to make it work? or a cvs client? Thanks a lot. -Yan -ant -verbose checkout-- Apache Ant version 1.6.5 compiled on June 2 2005 Buildfile: build.xml Detected Java ve

NSIS Error during Installation

2006-08-18 Thread Shyamal Mitra
Hi, I am trying to install Tomcat 5.5.17 on my PC running Windows XP. I have downloaded the executable file from at least two sites. But I get the following error while trying to install: NSIS Error The installer you are trying to use is corrupted or incomplete. This could be the result of a d

Re: turning logging on for JSF on tomcat 5.0.28

2006-08-18 Thread Boris Unckel
Hello Tolga, [EMAIL PROTECTED] wrote: Hi, I am trying to turn on the logging for JSF, and output the logs to catalina_log.txt in tomcat 5.0.28. Below are the steps that I have taken to no avail. 1. Updated catalina.bat with SET CATALINA_OPTS=-Djava.util.logging.config.file=C:\Java\jakarta-

Firefox / cookies / sessions - tomcat problem

2006-08-18 Thread Jon Yeargers
Issue: Im running into problems with a tomcat based application that uses the JNDI connection pooling mechanism that ships with tomcat. It appears that my session bits are being kept 'alive' by any running instances of firefox even after the browser running my app is closed. Situation: I have

Tomcat 5.0.28 Error launching Tomcat Object heap size

2006-08-18 Thread kanderson
We have been running Tomcat for awhile now and we had been running at 1024mb for the VM with a 256mb perm size and everything had been running great. Recently we tired to restart Tomcat and we started getting these errors with initializing the VM. Normally we restart Tomcat about once per week. -

turning logging on for JSF on tomcat 5.0.28

2006-08-18 Thread Tolga.Umut
Hi, I am trying to turn on the logging for JSF, and output the logs to catalina_log.txt in tomcat 5.0.28. Below are the steps that I have taken to no avail. 1. Updated catalina.bat with SET CATALINA_OPTS=-Djava.util.logging.config.file=C:\Java\jakarta-tomcat-5.0 .28\conf\logging.properties 2.

RE: Security constraint/login form

2006-08-18 Thread Propes, Barry L
OK, thanks, Marc. I'm using Oracle, and it inded does seem to be case-sensitive. I've added a role_name of the word risk, rather than RISK. Anything I had in caps like SENIOR or MGMT seemed to really throw a wrench in the login attempt. When entering this new account created, I currently am onl

Re: Security constraint/login form

2006-08-18 Thread Marc Farrow
Valid roles are whatever are defined to be valid. The specific name does not matter. But if you are using a Database for validation, then the roles are pulled from the database column that you have associated as the "roles". Depending on your database, they may or may not be case-sensitive (the

RE: Security constraint/login form

2006-08-18 Thread Propes, Barry L
Looking at the 4.1 doco, it states about the JDBC Realm and user tables configuration: "Role name of a valid role associated with this user" So then I ask, what's a valid role? What are the choices? Is valid ONLY service or admin? -Original Message- From: David Smith [mailto:[EMAIL PR

RE: Security constraint/login form

2006-08-18 Thread Propes, Barry L
Not sureit could be. I'll look into that a little more deeply. It probably is a caching issue OR our IT group who actually hosts the servers could have that DB that I have access to as a staging server, and then it replicates over later on to a different db. Doesn't seem too likely, but I do

RE: 2 tomcat on the same PC

2006-08-18 Thread Peter Crowther
> From: tamri [mailto:[EMAIL PROTECTED] > d:/tomcat_server_1/tomcat_5/bin/tomcat5w.exe I don't know for sure, but tomcat5w.exe *may* look for other Tomcats running and refuse to start if it sees one. I suggest using startup.bat instead. - Peter -

RE: 2 tomcat on the same PC

2006-08-18 Thread Peter Crowther
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > You've introduced a collision for the same resources > > Tomcat1 starts up and acquires listener connection for all > ports configured > within server.xml (default is 8080) > Tomcat2 starts up and attempts to acquire listener connection > on al

RE: 2 tomcat on the same PC

2006-08-18 Thread tamri
thanks, I'll try so, bat it doesn't work. I need two tomcat for testing application. Martin Gainty wrote: > > You've introduced a collision for the same resources > > Tomcat1 starts up and acquires listener connection for all ports > configured > within server.xml (default is 8080) > Tomcat2

Re: Tomcat 5.0/5.5 doesn't start using 'Configure Tomcat' dialog

2006-08-18 Thread Markus Schönhaber
Jan Andersson wrote: > Sounds like a reasonable explanation. If this wouldn't work I'd get really > desperate, now only annoyed. > > Still would like to know why Tomcat fails to start using 'Configure > Tomcat' dialog. Otherwise, will have to explain in the admin manual that > you use config dialog

RE: 2 tomcat on the same PC

2006-08-18 Thread Martin Gainty
You've introduced a collision for the same resources Tomcat1 starts up and acquires listener connection for all ports configured within server.xml (default is 8080) Tomcat2 starts up and attempts to acquire listener connection on all ports configured within server.xml (goes after 8080) so.. T

RE: 2 tomcat on the same PC

2006-08-18 Thread tamri
1. windows xp 2.tomcat 5.0.27 version 3. I installed on d:/tomcat_server_1 d:/tomcat_server_2 dictionary 4.when finished tomcat installation, I rename port's number and run d:/tomcat_server_1/tomcat_5/bin/tomcat5w.exe 5.then I install again tomcat and run d:/tomcat_server_2/tomcat_5/bin/tomcat5w.

Re: Tomcat 5.0/5.5 doesn't start using 'Configure Tomcat' dialog

2006-08-18 Thread Jan Andersson
Markus Schönhaber <[EMAIL PROTECTED]> wrote on 2006-08-18 13:12:45: > Jan Andersson wrote: > > Trying to get Tomcat going with my app-under-development. Problem is that > > Tomcat refuses to start if I'm using the 'Configure Tomcat' dialog (i.e. > > Start->Programs->Apache Tomcat 5.5->Configure

RE: 2 tomcat on the same PC

2006-08-18 Thread Peter Crowther
> From: tamri [mailto:[EMAIL PROTECTED] > when I run tomcat 5.0 and then starting to run the second > installed tomcat > 5.0 it throws System error: > tomcat 5.0 application is already running. > why??? > I configure conf/server.xml file, change with inused port numbers. > what is wrong? > can yo

Re: Security constraint/login form

2006-08-18 Thread David Smith
The role names can be anything you want. The 'admin' and 'manager' roles are only meaningful to the admin and manager webapps respectively. They aren't special to tomcat itself. Propes, Barry L wrote: I wonder though...do the role_names have to be service or admin or something like that?

RE: 2 tomcat on the same PC

2006-08-18 Thread tamri
when I run tomcat 5.0 and then starting to run the second installed tomcat 5.0 it throws System error: tomcat 5.0 application is already running. why??? I configure conf/server.xml file, change with inused port numbers. what is wrong? can you tell me exactly step by step how to run 2 tomcat 5.0

Re: Security constraint/login form

2006-08-18 Thread David Smith
Over an hour? Not even ODBC has that kind of latency. Could you be looking at a caching issue? --David Propes, Barry L wrote: ok, thanks..I think there's a fair amount of latency between my database query info and what's actually updated in there. Something I'd changed over an hour ago wa

Tomcat and JBoss Messaging

2006-08-18 Thread peter anderson
Hi, Has anyone used Tomcat 5.5 with JBoss Messaging. If so can you point me in the direction of any documentation to set up JBoss Messaging in Tomcat ? p.s. I am evaluating open source JMS solutions for my company and so far have looked at JORAM and ActiveMQ. Anyone had good bad experience with

Re: Tomcat 5.0/5.5 doesn't start using 'Configure Tomcat' dialog

2006-08-18 Thread Markus Schönhaber
Jan Andersson wrote: > Trying to get Tomcat going with my app-under-development. Problem is that > Tomcat refuses to start if I'm using the 'Configure Tomcat' dialog (i.e. > Start->Programs->Apache Tomcat 5.5->Configure Tomcat). No message, it just > silently fails. Logs are not touched at all. Do

Re: Missing Request Parameters

2006-08-18 Thread Pid
have we seen your connector config, and your apache forwarding setup (JK i assume)? Nicolas Schwartz wrote: As I said it happens even on GET requests and very small urls on our side. Since it is a get request, we do see the parameter in the apache log, but we can't get it with the getParame

Tomcat 5.0/5.5 doesn't start using 'Configure Tomcat' dialog

2006-08-18 Thread Jan Andersson
Hi all! Trying to get Tomcat going with my app-under-development. Problem is that Tomcat refuses to start if I'm using the 'Configure Tomcat' dialog (i.e. Start->Programs->Apache Tomcat 5.5->Configure Tomcat). No message, it just silently fails. Logs are not touched at all. Crazy thing here is t

Re: 2 tomcat on the same PC

2006-08-18 Thread Li
Hi peter You are right. I had run 2 tomcat instances in the same server before, it is painful. But it did avoid application level single point of failure. A redundancy strategy is required but not for all situations. I am also running a small tomcat cluster at home. If budget is allowed, a redun

RE: 2 tomcat on the same PC

2006-08-18 Thread Peter Crowther
> From: Li [mailto:[EMAIL PROTECTED] > why you wanna run 2tomcat? It eats up a lot of RAM ... if you > wanna run two webapps, just define to context ... I'm not saying the OP wants to do any of these, but here are the reasons I run multiple Tomcats on one box: - Isolation. One bad webapp only

Re: 2 tomcat on the same PC

2006-08-18 Thread Li
why you wanna run 2tomcat? It eats up a lot of RAM ... if you wanna run two webapps, just define to context ... On 8/18/06, Peter Crowther <[EMAIL PROTECTED]> wrote: > From: tamri [mailto:[EMAIL PROTECTED] > I have installed tomcat1.5 on the same PC on the 2 other > directory(c:\\tomcat1.5 and

RE: 2 tomcat on the same PC

2006-08-18 Thread Peter Crowther
> From: tamri [mailto:[EMAIL PROTECTED] > I have installed tomcat1.5 on the same PC on the 2 other > directory(c:\\tomcat1.5 and d:\tomcat1.5) .I can't run two > tomcat together. > I want to run theese two tomcats together, can I do this? > how it to do? Pick one Tomcat. Edit its conf/server.x

Re: Missing Request Parameters

2006-08-18 Thread Nicolas Schwartz
As I said it happens even on GET requests and very small urls on our side. Since it is a get request, we do see the parameter in the apache log, but we can't get it with the getParameter() method. The parameter is lost somewhere between the connector and tomcat I think. Nicolas Yashwanth CP a

Re: 2 tomcat on the same PC

2006-08-18 Thread Edoardo Panfili
tamri ha scritto: I have installed tomcat1.5 on the same PC on the 2 other directory(c:\\tomcat1.5 and d:\tomcat1.5) .I can't run two tomcat together. I want to run theese two tomcats together, can I do this? how it to do? try to look at the configuration file($CATALINA_BASE/conf/server.xml),

Re: serious load balancing issue with 'B' load balancer method

2006-08-18 Thread Mohan2005
Hi All: In this case, it is advisable to revert back to the default load balancer method (R) ? Please advice. Regards Mohan Mohan2005 wrote: > > Hi all: > > After running and collecting jkmanager statistics we noticed that one of > many nodes are not getting any are hardly any requests at s

2 tomcat on the same PC

2006-08-18 Thread tamri
I have installed tomcat1.5 on the same PC on the 2 other directory(c:\\tomcat1.5 and d:\tomcat1.5) .I can't run two tomcat together. I want to run theese two tomcats together, can I do this? how it to do? -- View this message in context: http://www.nabble.com/2-tomcat-on-the-same-PC-tf2126311.

Re: How to get tomcat configuration inside a servlet

2006-08-18 Thread Mikolaj Rydzewski
Miguel Alcalde wrote: My problem is that I need to get "ssl port" inside a servlet in order to do a transparent redirection to "secure zone". In our architecture we're running multiple tomcat instances with different configurations. Not in all cases ports are set 80/443. We're thinking to get t

How to get tomcat configuration inside a servlet

2006-08-18 Thread Miguel Alcalde
Hi All. My problem is that I need to get "ssl port" inside a servlet in order to do a transparent redirection to "secure zone". In our architecture we're running multiple tomcat instances with different configurations. Not in all cases ports are set 80/443. We're thinking to get tomcat configur

Re: Missing Request Parameters

2006-08-18 Thread Yashwanth CP
Hi, We are facing a similar issue ( missing parameters intermittently ). Our setup has relatively huge post requests , ( < 4KB) , and about 100-200 parallel connections on a tomcat that has 512MB memory.Some of the parameters just become null randomly. Our guess is ,it is related to size of post r

Re: Missing Request Parameters

2006-08-18 Thread Nicolas Schwartz
Hi ! Here is the configuration we have: In our server.xml: ## In our workers.properties: #parametrage de mod_jk workers.apache_log=/usr/local/apache/logs workers.tomcat_home=/usr/local/tomcat workers.java_home=/usr/local/java ps=/ worker.list=ajp13 worker.ajp13