You can use
news.gmane.org
See http://www.gmane.org/
Henrik Gammelmark [EMAIL PROTECTED] skrev i en meddelelse
news:[EMAIL PROTECTED]
Thank you very much, I'll try that - by the way, does this user-list
have a newsgroup as well or is email-lists the only option? Thank you
Hi,
You can
One month ago, I have installed tomcat.5.0.25 over my production server. In
older versions of tomcat I included the lines
''CATALINA_OPTS=-Dfile.encoding=ISO8859-1 in my init script of tomcat in
order to solve little problems in the encoding of files, but now with this
version I have problems with
Hi All,
I am currently trying to streamline our team's build process here using Tomcat as our
servlet container.
For a while the way I had it setup was that we had 1 instance of TC running on a dev
server and 1 instance on production. Each developer would checkout only the code they
will
You still can. If you look in catalina.bat ...
%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS%
So, just make sure you set %CATALINA_OPTS% e.g
SET CATALINA_OPTS=-Dfile.encoding=ISO8859-1
If you are using a Windows Service you need to modify service.bat
Allistair.
-Original Message-
From:
Hi geeks,
I get this error on daily basis now for 10 days, my machine is loaded
a little bit (More info below).
Exception:
2004-08-08 19:40:21 StandardWrapperValve[CAL]: Servlet.service() for
servlet CAL threw exception
javax.servlet.ServletException: Servlet execution threw an exception
I am having two problems with the Tomcat manager:
1] After my web application has been running for some time then access to
/domain/manager/html never responds. It doesn't give me any kind of error,
the browser just continues to process the request without ever timing out.
Any ideas?
2] Tomcat
Can you clarify what version of Tomcat you are using?
It seems that there is a configuration change .. from Tomcat4 to Tomcat5 ..
the context goes in to \conf\Catalina\localhost\webappname.xml .. for each
webapp.
Here is a reference I found in my own digging around ..
I don't understand if all the developers is not having TC installed,
how they will check the code is logically working before integrating
with main code.
In my 6 years experience I haven't thought of the situation that more
then one developer is depending on only one server.
-Jignesh
On Mon,
Hi,
I'm running an application with SSL-client certificate authentication.
It works fine, except one servlet that serves a PDF document. Yet that
servlet worked fine on a Tomcat 4.x.
Now, on a Tomcat 5.0.25, I get the following problem : when my Internet
Explorer 6 requests for the servlet, I
Hi,
Then, I am thinking, each developer must only ever checkin stable
compilable source, so that when other devs Get Latest Version from the
root
of the source tree, it will still compile.
Yes, that's a generally accepted practice: developers shouldn't check in
something that doesn't compile.
Hi,
Ahh, good, I didn't remember if I'd applied that patch to CVS HEAD or
not.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 07, 2004 2:41 PM
To: Tomcat Users List
Subject: Re: 404 page's characters are not
Hi,
In the future, please mark off-topic (i.e. not having to do with Tomcat,
which is the case with your general Java question) subjects as such by
prepending [OFF-TOPIC] to the subject line. Thanks,
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Isen,Ciji
Hi,
Note that Tomcat 5.0.27 already ships with DBCP 1.2.1. As for database
drivers, your advice is good in general (and has nothing specifically to
do with Tomcat or DBCP) and people should follow it.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Steve Summit
Hola,
It seems that there is a configuration change .. from Tomcat4 to
Tomcat5 ..
NSS ;) There are definitely multiple configuration changes between the
two, it's a major release after all.
And I confirm that there is no webapps\examples\in my configuration ..
replaced, it seems, by the two
hi all;
in my application, i let my users register to my site (with username, password , etc..
), when they do i programatically take their username and password and move it to the
authentication tables of the datasource realm so they can authenticate. i am using
form-basd login.
problem is
Hola,
- Root Cause -
java.lang.OutOfMemoryError
snip /
Is getting more memory for this machine is my only option?
Is playing around with -X?? options of Java will help me, Solaris is
supposed
to do good job of handeling virtual memory. Or is it aleak some where
in
Java/Tomcat.
I did my
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I've been doing tests under Firefox and Safari, and just redid the tests
with Lynx. Still hangs after 8 sendRedirect()s. Probably not browser
based then...
~From the logs:
138.251.206.76 - - [06/Aug/2004:19:12:06 +] GET
Hi,
I'm running j2k (isapi_redirector2.dll) under IIS 5.1 to connect via
Ajp13 to my server.
My workers2.properties is like this:
[shm]
file=${serverRoot}/shm.file
size=1048576
# socket channel for myapp on myhost.
[channel.socket:myhost:8081]
port=8081
host=myhost
# define the worker
Hi,
You should try a simple app from scratch, with 8 servlets that just do
redirects and a bit of logging. Then if it fails you can upload the WAR
and we can reproduce your issue easily.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: J Ross Nicoll [mailto:[EMAIL
Thanks QM for response.
Can I get any reading stuff on this topic.
Please provide me the url which talks about it.
-Jignesh
On Thu, 2004-08-05 at 09:20, QM wrote:
On Thu, Aug 05, 2004 at 11:54:58AM -0400, Jignesh Patel wrote:
: I want to inform my tomcat server that the database server is
On Mon, Aug 09, 2004 at 09:30:05AM +0100, Allistair Crossley wrote:
: When I do a build, I am thinking that all source must be checked in, then a Get
Latest Version, then run an Ant script to compile and generate a WAR for staging and
production deployment.
-as in, the nightly integration
d_1,
Answers/comments below, interspersed...
Jim
d_l wrote:
Can you clarify what version of Tomcat you are using?
d_1,
I'm running Tomcat 5.0.27...
It seems that there is a configuration change .. from Tomcat4 to Tomcat5 ..
the context goes in to
On Mon, Aug 09, 2004 at 06:56:44PM -0400, Jignesh Patel wrote:
: Thanks QM for response.
Not a problem.
: Can I get any reading stuff on this topic.
: Please provide me the url which talks about it.
I'm not sure I understand. I thought you'd answer my questions (e-mail
included below) such
On Mon, Aug 09, 2004 at 04:52:18AM -0500, Keith Bottner wrote:
: 1] After my web application has been running for some time then access to
: /domain/manager/html never responds. It doesn't give me any kind of error,
: the browser just continues to process the request without ever timing out.
: Any
QM,
I want to inform to my application that database server is down so in
turn display appropriate error page to users. As well as all connections
should get closed in the pool.
And when database gets restart application again build connection pool.
-Jignesh
On Mon, 2004-08-09 at 09:30, QM
After I deploy my application everything immediately works fine, no
problems. Then after some time (haven't narrowed it down yet but it seems to
be several hours) Tomcat stops responding to requests. During this time
there are little to no requests of Tomcat. Does anybody know why this might
be
Hi,
I wish to intercept RMI over IIOP calls made from Tomcat and add some
information (in the form of ServiceContext) to them. What is the best
way to go about doing it. Does Tomcat support the CORBA standard
org.omg.PortableInterceptor?
Thanks.
On Mon, Aug 09, 2004 at 09:29:51AM -0400, ohaya wrote:
: BUT .. in my Tomcat 5.0.27 .. I only see three webappname.xml files in above
: location ..
:
: admin.xml
: balancer.xml
: manager.xml
:
: no other webappname.xml files (context.xml files) show up such as
If there is no
Check logs for outofmemory exception. If the log has no exceptions check
your memory usage.
NR
-Original Message-
From: Keith Bottner [mailto:[EMAIL PROTECTED]
Sent: Monday, August 09, 2004 9:41 AM
To: [EMAIL PROTECTED]
Subject: Tomcat stops responding
After I deploy my application
My log files were being deleted by the deployment process so I was getting
nothing from them, I fixed that problem and will watch the logs today and
see if they show anything when it occurs.
BTW, any ideas on how to get a thread dump of the JVM on Linux?
I am definitely not out of memory but I
Are there any errors in your logs?
-Original Message-
From: Keith Bottner [mailto:[EMAIL PROTECTED]
Sent: 09 August 2004 14:41
To: [EMAIL PROTECTED]
Subject: Tomcat stops responding
After I deploy my application everything immediately works fine, no
problems. Then after some time
Issue a kill -3 to the java process will dump all the threads.
Ta
Matt
-Original Message-
From: Keith Bottner [mailto:[EMAIL PROTECTED]
Sent: 09 August 2004 14:52
To: 'Tomcat Users List'
Subject: RE: Tomcat manager app stops responding
My log files were being deleted by the deployment
On Mon, Aug 09, 2004 at 07:11:24PM -0400, Jignesh Patel wrote:
: I want to inform to my application that database server is down so in
: turn display appropriate error page to users. As well as all connections
: should get closed in the pool.
You're overthinking this. =)
When the database is
On Mon, Aug 09, 2004 at 08:52:26AM -0500, Keith Bottner wrote:
: BTW, any ideas on how to get a thread dump of the JVM on Linux?
Yes, but the archives are feeling lonley. ;)
Search there instead.
: I am definitely not out of memory but I will modify CATLINA_OPTS to dump the
: GC statistics.
Team
May be this can save some time for fellow
tomcats!!!I ran into two issues when building .
JAVA 1.4.1_02
1)The ant build failed due to missing
ant-launcher.jar
resolution/work around
I was using ant 1.5 3-1 and it does not have
ant-launcher.jar . I downloaded ant 1.6.2 binaries
Unfortunately my log output has not been consistent. I have fixed that
problem and should get solid logs now. My application currently uses
SingleSignOn with a JDBCRealm. Besides that I have no other Database
connections. I didn't mention that before, but I wanted to put it out there
in case there
I have allocated 256M to the JVM running Tomcat and it has never gone above
25M. I have received no out of memory exceptions. The machine in question
has 2gig of RAM.
-Original Message-
From: Nandish Rudra [mailto:[EMAIL PROTECTED]
Sent: Monday, August 09, 2004 8:45 AM
To: 'Tomcat Users
Great, when it freezes I will use it.
BTW, have GC statistics now being dumped. Hopefully that with the logs and
the thread dump will lead me to the problem.
Thanks,
Keith
-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: Monday, August 09, 2004 8:56 AM
To: Tomcat
Hi,
I wish to intercept RMI over IIOP calls made from Tomcat and add some
information (in the form of ServiceContext) to them. What is the best
way to go about doing it. Does Tomcat support the CORBA standard
org.omg.PortableInterceptor?
Thanks.
QM wrote:
On Mon, Aug 09, 2004 at 09:29:51AM -0400, ohaya wrote:
: BUT .. in my Tomcat 5.0.27 .. I only see three webappname.xml files in above
: location ..
:
: admin.xml
: balancer.xml
: manager.xml
:
: no other webappname.xml files (context.xml files) show up such as
If
Hi,
I need to know if it's possible to run Apache-Tomcat on Linux MontaVista 3.1.
Does anyone have experience with this?
Thanks!
Regards
Luís Correia
On 9 Aug 2004 at 9:29, ohaya ohaya-at-cox.net |Tomcat User List| wrote:
As to your implied question above of why do I have all the .XML files,
whereas you only have 3?, is it possible that whoever built the Tomcat
installation created it that way?
My 5.0.27 binary was straight out of the can
Hello:
I am attempting to upgrade from Tomcat 4.0.6 to 5.0.26 (embedded in
JBoss 3.2.5). However, following the upgrade,
I can no longer seem to precompile my JSPs as I did before. The
following build.xml extract worked fine in 4.0.6:
jspc srcdir=${srcDir} destdir=${jspDir}
Hi,
I use Tomcat 5.0.19.
I'm playing around with the Manager web application and want to deploy a .WAR
file that contains a META-INF\context.xml deployment descriptor.
Deploying the .WAR file using the upload feature works, and the context.xml that
I put into the META-INF\ is copied (but
Hi,
I don't think we support a nested docBase when using a WAR file, such as
tests/whatever. The WAR itself is the docBase if packed, or the WAR's
root directory if unpacked.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Michael Echerer [mailto:[EMAIL
Hi!
That means, there is no point in trying to put a
docBase path into a \META-INF\context.xml of a .WAR that doesn't match the war's
filename. Correct?
That is because I just tried to name my .war file utility2.war an still map to
docBase utility that didn't work either... But would be
Hola,
That means, there is no point in trying to put a
docBase path into a \META-INF\context.xml of a .WAR that doesn't match
the
war's
filename. Correct?
That's not what I said, but I think you might be right anyways. One way
to find out is try as you did...
Will at least the rest of the
From: d_l [EMAIL PROTECTED]
Date: 2004/08/09 Mon AM 10:24:12 EDT
To: [EMAIL PROTECTED]
Subject: Re: Newbie - JDBC problem Name is not bound in this context
On 9 Aug 2004 at 9:29, ohaya ohaya-at-cox.net |Tomcat User List| wrote:
As to your implied question above of why do I have all
I am working on converting a standalone content management system that has embedded
Tomcat and an admin servlet as one of its components. My intent is to turn this
application into a servlet itself running under a standalone Tomcat5.
My question: is it possible to run embedded Tomcat5 within a
Hello,
I am having some memory issues while deploing/undeploying web applications
to Tomcat. I am using Tomcat 5.0.25 with Java 2 SDK version 1.4.2_04 and Ant
1.6.1 on GNU Linux 2.4.20-8. I use ant to compile my web application and
Tomcat's catalina-ant.jar to deploy it automatically.
Here is
Hi:
I'm using tomcat 3.3 and jdk 1.3, when recompile a class from my proyect i have to
restart tomcat. My server.xml have
ReloadInterceptor fullReload=true /
Any help?
Ernesto
Hello,
I am having some memory issues while deploing/undeploying web applications
to Tomcat. I am using Tomcat 5.0.25 with Java 2 SDK version 1.4.2_04 and Ant
1.6.1 on GNU Linux 2.4.20-8. I use ant to compile my web application and
Tomcat's catalina-ant.jar to deploy it automatically.
Here is
It took the message a while to showup on the list so resent it with some
modification. please disregard the first message. The problem does happen on
Windows. I was looking at the wrong process.
NR
-
To unsubscribe, e-mail:
Hi,
I have a couple of ideas. One is that your webapp maintain static or
shared references to objects that prevent them from being garbage
collected, and therefore memory from returning to the heap. Another is
that a webapp undeploy is not guaranteed to reclaim all memory used by
the webapp
On Mon, Aug 09, 2004 at 10:14:04AM -0400, ohaya wrote:
: 1) Any idea why d_l has only the 3 .xml files in
: [tomcat]/conf/[...], whereas I have a bunch? As I indicated in an
: earlier msg, I didn't create them.
: 2) When you and others refer to context.xml, are you referring to a
: file that
On Mon, Aug 09, 2004 at 03:14:45PM +0100, Luis Filipe Correia (Ext_Altior) wrote:
: I need to know if it's possible to run Apache-Tomcat on Linux MontaVista 3.1.
: Does anyone have experience with this?
Here's the big question: is there a suitable JDK implementation for
Linux MontaVista? (I've
On Mon, Aug 09, 2004 at 10:04:56AM -0700, Bill Hughey wrote:
: Second question: would it be possible if this works for the inner servlet to access
memory (objects) instanciated by the outer servlet?
Likely, no. Read on:
: Note: I have noticed that servlets within the same context have access
On Mon, Aug 09, 2004 at 01:27:03PM -0400, Ernesto Navarro G?mez wrote:
: I'm using tomcat 3.3 and jdk 1.3, when recompile a class from my proyect i have to
restart tomcat. My server.xml have
:
: ReloadInterceptor fullReload=true /
What about setting reloadable=true for the webapp's Context
Hello,
I'm running Tomcat 5.0.19, Apache 2.0.49 and mod_jk2-2.0.4, stand alone (NOT
in-process), on a W2K box. Tomcat is listening on port 8009 (port 8080 is
commented out) and Apache passes all requests of type /psi/servlet/* to
Tomcat, via the workers2.properties file redirect (see below). I
reloadable=true is true to.
i'm running 3.3.1a
- Original Message -
From: QM [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, August 09, 2004 1:48 PM
Subject: Re: Problem with context reload
On Mon, Aug 09, 2004 at 01:27:03PM -0400, Ernesto Navarro G?mez wrote:
What is the alternative to RequestInterceptor (server.xml) directive
in Tomcat 5?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all,
I am having problem where Tomcat 4.1.27 just stops after some random
period of time. I am on RH9 and JDK 1.4.2. This seems to be the same
problem reported earlier and a recommended fix was to set an environment
variable LD_ASSUME_KERNEL=2.4.1. Can I simply put an export
Hello
I am using Tomcat 5 with JNDI(mysql)
Are there ways to get usages info from the POOL
Like active connections, max connections (basically the state of the DB
Pool)
Thanks for any help
-
To unsubscribe, e-mail: [EMAIL
Hello Yaov,
You are correct I do have a few static varibles that point to running
threads and some other objects. When the application is shutdown I ensure
that each thread is destroyed and all static varibales are set to null,
including thread identifiers, this should let my call to GC clear the
On 9 Aug 2004 at 12:37, QM qm300-at-brandxdev.net |Tomcat User Li wrote:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html
My previous message will make more sense then, and both of your
questions should be answered.
I referred to that same link in an earlier
You should be able to do this although I have never tried. Depending on your
version of tomcat, you may need to adjust a few settings. See below.
Mark
REQUESTS
There are a number of situations where there may be a requirement to use non-US
ASCII characters in a URI. These include:
-
Hi,
Yes, there are ways. Two general approaches:
- Using JMX (not very convenient at the moment, but doable if you're
willing to write some code)
- By casting the DataSource you get from the JNDI lookup to the
implementation type, e.g. org.apache.commons.dbcp.BasicDataSource or
whatever, and
Hi,
It's called a Filter (javax.servlet.Filter, see the Servlet Spec) if you
want to be portable, or a Valve (see the Tomcat configuration reference
documentation) if you don't care.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Arif Siddiqui [mailto:[EMAIL
I have configured for datasouce on Tomcat 4.1.03 in
/TOMCAT_HOME/conf/server.xml file.
My application runs fine on my windows desktop.
Now i am in the process of migrating that applicATION ON lINUX MACHINE. On
Unix, we have apache installed as connector, which routes requests to Tomcat
server.
Hello,
I am running Tomcat 5.0.27 on a Windows 2000 sp4 machine as a service.
It appears as though the JVM settings that I am trying to use are not being
recognized by the system, variables such as -Xms512m or -Xmx512m.
Here is what I have tried:
1. Configure Tomcat program that installs with
We use single sign for our Tomcat applications. We have another Tomcat that
hosts various web services. I would like to be able to send the logged on
users name and password as credentials to the web service and have Tomcat
authenticate it. I have tested this part with a hardcoded user name and
On Mon, Aug 09, 2004 at 03:28:23PM -0400, Shilpa Nalgonda wrote:
: Now my question is can i put the datasource configuration under
: TOMCAT_HOME/conf/server.xml..
That's where it's supposed to go, yes.
: or should i create a new server.xml with just the datasource configuration
: under WEB_INF
I'm a newbie and would be grateful if anyone could quickly tell me where
the 'ResultSupport' class and the 'Result' now live. They used to be in
javax.servlet.jsp.jstl.sql.* library but don't seem to be any more.
Thanks
Julian
Figured it out. Nevertheless thanks (it had driven me bonkers).
Julian wrote:
I'm a newbie and would be grateful if anyone could quickly tell me where
the 'ResultSupport' class and the 'Result' now live. They used to be in
javax.servlet.jsp.jstl.sql.* library but don't seem to be any more.
Have you tried access it from the Principal.
GenericPrincipal p = (GenericPrincipal)request.getUserPrincipal();
String uid = p.getName();
String passwd = p.getPassword();
Srofe, Douglas (c) wrote:
We use single sign for our Tomcat applications. We have another Tomcat that
hosts various web
d_l wrote:
On 9 Aug 2004 at 12:37, QM qm300-at-brandxdev.net |Tomcat User Li wrote:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html
My previous message will make more sense then, and both of your
questions should be answered.
I referred to that same link
I have a web application that is storing 2 objects in each user's
session. I recently made each of those objects implement the
Serializable interface. What I now notice is that if I stop and restart
Tomcat (Tomcat 5.0) the sessions are no longer valid and as a result,
the serialized objects are
Thanks for your response QM. I would really like to upgrade to Tomcat 4.1
or 5.0. I've read
great things about the Admin webapp and the other features, I just don't
know the best manner
to proceed. Is there a specific version I should upgrade to. At the moment
I only have this one
web
Hello all.
I am a new user of Tomcat4, running on a Windows 2000 server. I am a
Canto Cumulus user; Tomcat4 is used to publish my image database. I
have upgraded all my software recently (including Tomcat4), and after
following ALL of the suggestions of Canto, I cannot get Tomcat4 to start
Matt Buffington wrote:
have upgraded all my software recently (including Tomcat4), and after
following ALL of the suggestions of Canto, I cannot get Tomcat4 to start
(whether using the startup.bat file or manually starting through the
Manager. I get an error message that tells me Windows cannot
On Mon, Aug 09, 2004 at 05:00:22PM -0400, ohaya wrote:
: I just got back, and as I mentioned earlier, I unzipped the original
: .ZIP file, and I guess at least PART of the mystery is solved.
: Immediately after unzipping the file, I checked in the
: conf\Catalina\localhost directory, and there
On Mon, Aug 09, 2004 at 05:07:07PM -0400, [EMAIL PROTECTED] wrote:
: Thanks for your response QM. I would really like to upgrade to Tomcat 4.1
: or 5.0. I've read
: great things about the Admin webapp and the other features, I just don't
: know the best manner
: to proceed. Is there a specific
On 9 Aug 2004 at 17:00, ohaya ohaya-at-cox.net |Tomcat User List| wrote:
Now the thing that I'm wondering is where did those others come from.
At this point, it's clear that Tomcat must've created them (I'm 100%
sure I didn't create them), at some point. I'm just not sure when or
why...
I am getting this error, what could be the reason...
2004-08-09 09:32:08 StandardWrapperValve[jsp]: Servlet.service() for servlet
jsp threw exception
org.apache.jasper.JasperException: File /tags/struts-html not found
at
It does not appear that SingleSignOn uses DBCP, in fact it looks as if it
opens a single connection the first time it is used and then attempts to
re-use that connection indefinitely. From my understanding on how Tomcat
works there would only be a single SignSignOn Valve instance so everyone
Thanks for all the help guys, I think I found the problem.
It appears that after a delay the next attempt to access the database to
sign on with the SingleSignOn valve, using a JDBCRealm, throws
SocketExceptions about a Broken pipe. I think my firewall is resetting the
connection when it does not
Thanks for all the help guys, I think I found the problem.
It appears that after a delay the next attempt to access the database to
sign on with the SingleSignOn valve, using a JDBCRealm, throws
SocketExceptions about a Broken pipe. I think my firewall is resetting the
connection when it does not
Hey Matt, I would recommend installing Tomcat 5 instead of 4 unless you have a
requirement to use Tomcat 4. BTW, I have Tomcat 5 installed instead of 4.
Good luck,
-Conrad
Hello all.
I am a new user of Tomcat4, running on a Windows 2000 server. I am a
Canto Cumulus user; Tomcat4 is used
There are 2 ways for the {tomcat}/conf/{...}.xml files to be created:
1/ META-INF/context.xml is extracted from a WAR file when it is deployed
and copied there.
(Unless the matching XML file already exists under conf/, in which case
the WAR file's context.xml is ignored)
2/ The
d_l wrote:
On 9 Aug 2004 at 17:00, ohaya ohaya-at-cox.net |Tomcat User List| wrote:
Now the thing that I'm wondering is where did those others come from.
At this point, it's clear that Tomcat must've created them (I'm 100%
sure I didn't create them), at some point. I'm just not sure
Where is it?
-Original Message-
From: Julian [mailto:[EMAIL PROTECTED]
Sent: Monday, August 09, 2004 1:43 PM
To: Tomcat Users List
Subject: Re: ResultSupport class
Figured it out. Nevertheless thanks (it had driven me bonkers).
Julian wrote:
I'm a newbie and would be grateful if
I'm looking for help from someone with some experience deploying
DynamicMBeans to Tomcat.
In short, my questions boil down to some very basic information gaps:
once we have a DynamicMBean,
(1) What do we need to add to the server.xml file?
(2) What other configuration file(s) need to be
I need to find a way to get the context path of the current web application.
I would like to to it using the HttpSession, HttpServletRequest or response.
I tried the ServletContext.getServletContextName but it returns null in
Tomcat. Is there a cross container solution?
--
Dov Rosenberg
Have you tried ?
request.getServletPath();
Keith
-Original Message-
From: Dov Rosenberg [mailto:[EMAIL PROTECTED]
Sent: Monday, August 09, 2004 9:49 PM
To: Tomcat Users List
Subject: How to get the context path for a web application?
I need to find a way to get the context path of
Hello,
I'm running Tomcat 5.0.19, Apache 2.0.49 and mod_jk2-2.0.4, stand alone (NOT
in-process), on a W2K box. Tomcat is listening on port 8009 (port 8080 is
commented out) and Apache passes all requests of type /psi/servlet/* to
Tomcat, via the workers2.properties file redirect (see below). I
also,
request.getContextPath();
aris
-Original Message-
From: Keith Bottner [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 10, 2004 12:10 PM
To: 'Tomcat Users List'
Subject: RE: How to get the context path for a web application?
Have you tried ?
request.getServletPath();
Keith
Can someone please explain what's the use for this line in the tomcat
configuration file?
What's the use of it (the line is commented) and what effect does it have on
a running container? What value can it take as well? Any other variables can
be set in the same file?
Thanks in advance.
José
97 matches
Mail list logo