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.
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 (
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
> 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
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
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
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
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
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
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
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
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
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
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
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
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
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-
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
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.
-
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.
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
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
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
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
> 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
-
> 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
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
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
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
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.
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
> 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
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?
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
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
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
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
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
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
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
> 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
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
> 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
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
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),
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
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.
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
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
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
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
64 matches
Mail list logo