I believe you can configure the scratch directory of a host with its workDir
attribute in server.xml.
Hope this helps
Bernhard
Steve Vangasse schrieb:
Yes but when you have multiple hosts, each one has it's own set of compiled
JSPs under $CATALINA_HOME/work/Catalina/(hostname). I would like
A long time now since I played with Debian, but if I remember correctly just
make your java program be able to write to a linux folder /etc/whatever,
then get SAMBA, it allows you to map linux drives to windows and visa versa,
then you will simply map a windows share to a lnked drive on linux,
Hi All
I am wondering what is the steps to configure poolman to run with MYSQL
Database over tomcat Apache?
Regards
Ha ha... sounds like you looking for a magic function, which reminds me of
my first computer program... got to tell you :)
A million years ago in my 1st year I was walking past the varsity main
frame, I'd heard all sorts of things about this amazing beast... so I walked
in, watched someone
En l'instant précis du 27/03/07 02:22, Berglas, Anthony s'exprimait en
ces termes:
Tomcat seems to only check the Authorization: headers if there is some
security-constraint explicitly declared in web.xml. However, it
appears that the optimization has been incorrectly implemented because
it
En l'instant précis du 28/03/07 00:14, Steve Vangasse s'exprimait en ces
termes:
My application has a large number of contexts under virtual hosts that
use the same set of webapps. At present, all the JSPs are compiled to a
different scratch directory under tomcat/work for each context. Is it
Sounds like one time pre-compilation is achievable. Thanks for the tips.
On the perm gen saving issue, all shared jars and classes are under the shared
class loader already (shared/lib). I see what you're saying about possible
problems with the common class loader, but would it be possible to
Thanks for all the replies.
I will stick with the relative paths for now as that seems simplest. I
also agree about keeping the css files clean. I would prefer not to
use the JSP workaround for inserting the context path. I will look into
the virtual hosts tho to see if it might be useful in
Well, as I've stated I'm not aware of any resource contention. The UDP
socket is being used in a daemon thread that is executing asynchronously
with the standard Tomcat request processing threads and I don't see any
blocks waiting for monitors etc.
Even worse, I tried removing tc-native from
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anthony,
Berglas, Anthony wrote:
Thanks for the reply.
The underlying issue is that when Role R is required for Page P then
*TWO* things need to happen depending on whether the user is in role R.
These are
1. Allow or block access to page P.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johnny,
I was hoping that for what you need it would be possible to piggyback on
that simple framework, even if it meant parsing the tomcat-users.xml to
gray menu's, but it seems you have to work outside of that frame-work.
Parsing
Hi,
Tomcat hangs on startup when I try to enable the APR native library.
After setting java.library.path to /usr/local/apr/lib/, catalina.out gets just
these two lines:
28.03.2007 16:14:00 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded Apache Tomcat Native library 1.1.8.
...
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
Martin Strand wrote:
Hi all. :)
I want to make Tomcat send it's access log to a remote server (log4j or
syslog).
Configuring all other logging with log4j is pretty simple but it seems I
can't do the same with the AccessLogValve. Do I
Take a look at this HOWTO. It describes how to configure security/realms to fit
your needs:
http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html
cheers - Warren
-Original Message-
From: Jean-Sebastien Pilon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 28, 2007 12:08 AM
To:
Hi,
I have configured the jvmoptions to have a higher perm size
-XX:MaxPermSize=128m in the service.bat file and it is reflected in the
tomcat6w.exe list of jvmoptions. Now I want to know if there is a way to
know if tomcat is actually using rather set to specified amout of perm
space?
Can
Are you referring to Connection Pooling:
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html ?
-Rashmi
On 3/28/07, Mohammed Zabin [EMAIL PROTECTED] wrote:
Hi All
I am wondering what is the steps to configure poolman to run with MYSQL
Database over tomcat Apache?
Martin,
I have a filter that logs to a database table. It could easily be
modified to make log4j entries, which can then be tied to any valid
log4j appender.
B.
Martin Strand wrote:
Hi all. :)
I want to make Tomcat send it's access log to a remote server (log4j or
syslog).
Configuring
That sounds interesting, could you share the code? :)
Martin
On Wed, 28 Mar 2007 18:09:36 +0200, Brantley Hobbs [EMAIL PROTECTED] wrote:
Martin,
I have a filter that logs to a database table. It could easily be
modified to make log4j entries, which can then be tied to any valid
log4j
Tim - Thank you for replying. We currently run Documentum (Webtop)
utilizing catalina.bat on Tomcat 5.0.28. When installing webtop, it
errors out and says cannot find file catalina.bat or its path (which
should be C:\Program Files\Apache Software Foundation\Tomcat5.5\bin I
was hoping that someone
Well then, you aren't downloading the correct file. You need the zip which
contains Catalina.bat.
Tim
-Original Message-
From: Jayson Enriquez [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 28, 2007 1:08 PM
To: Tomcat Users List
Subject: RE: Which Tomcat 5.5.23 file do I download
Keytool -import -alias tomcat -trustcacerts -file c:\tomcat50\cert.cer
-keystore c:\tomcat50\.keystore
-Original Message-
From: Jean-Sebastien Pilon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 28, 2007 12:42 PM
To: Tomcat Users List
Subject: RE: Error importing SSL certificate
Easy to simulate, Add Thread.Sleep(1) and then print a blue screen
ha ha, dont shoot me, just kidding.
No, I dont think it will ever happen, I think the problem will always be
that programmers on .NET dig into the win32 system too much and use add-on
stuff like MS transaction
Stefan Armbruster wrote:
Hi,
Tomcat hangs on startup when I try to enable the APR native library.
After setting java.library.path to /usr/local/apr/lib/, catalina.out gets just
these two lines:
You will need apr 1.2.x
The generic path for that looks like
/usr/local/apr-1/lib
The
Hi,
I think in mod_jk 1.2.20 these old parameters changed with new parameter
names, these old paramter does not take effect into your mod_jk. Please
change them with new name.
Please refer URL for more details changes in new mod_jk:
what I would do, download the .zip, then run it as a service using the
java service wrapper
http://people.apache.org/~fhanik/wrapper.html
best of both worlds
Filip
Tim Lucia wrote:
Well then, you aren't downloading the correct file. You need the zip which
contains Catalina.bat.
Tim
I would google it, tons of info out there
http://access1.sun.com/techarticles/Keytool.html
Reis, Tom wrote:
I receive the following error when trying to import a Verisign SSL
certificate. Any ideas?
keytool error: java.lang.Exception: Failed to establish chain from reply
Filip and Tim - I will work on this asap. Thank you again for your help.
Jayson
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 28, 2007 12:20 PM
To: Tomcat Users List
Subject: Re: Which Tomcat 5.5.23 file do I download for Windows?
The way I've always done a windows installation is to install from the
.exe file to get my services set up, and then unzip the .zip version
right on top of the installation, so I have the extra support files from
the zip, without having to manually do the service installation.
Jayson
Hello everyone,
I'm new to the list and I've been using tomcat for quite some time now
and have a little question. Any help would be greatly appreciated.
I've made a little jsp to show me the current session I'm on, when using
it on a standalone tomcat server the session never changes, when I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nelson,
Nelson D. guerrero wrote:
I've made a little jsp to show me the current session I'm on, when using
it on a standalone tomcat server the session never changes, when I move
it to an apache httpd server with mod_jk connected to the same
On Wed, 2007-03-28 at 16:14 -0400, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nelson,
Nelson D. guerrero wrote:
I've made a little jsp to show me the current session I'm on, when using
it on a standalone tomcat server the session never changes, when I move
Thank you for the tip David. I'll give it a shot.
Jayson
-Original Message-
From: David Kerber [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 28, 2007 12:33 PM
To: Tomcat Users List
Subject: Re: Which Tomcat 5.5.23 file do I download for Windows?
The way I've always done a windows
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nelson,
Nelson D. guerrero wrote:
How are you checking to see if the session has changed? Are you looking
at request.getSession().getSessionId()? Or are you looking at some
particular object in your sessions to see if that has changed?
I'm
On Wed, 2007-03-28 at 16:32 -0400, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nelson,
Nelson D. guerrero wrote:
How are you checking to see if the session has changed? Are you looking
at request.getSession().getSessionId()? Or are you looking at some
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nelson,
Nelson D. guerrero wrote:
Are you using cookies or URL-rewriting in order to track sessions?
No, the developers are using cookies or URL-rewriting, is this the
only way that the sessions can replicate between them?
Assuming that Tomcat
Hi All,
I have enabled the tomcat manager console in a Solaris box by adding the
necessary roles and usernames in /opt/apache-tomcat-5.5.17/conf/
tomcat-users.xml.
Everything goes fine when I log in to one of them ( manager console ( by
going to this link: https://151.193.178.113/manager/html
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nelson,
Nelson D. guerrero wrote:
Are you using cookies or URL-rewriting in order to track sessions?
No, the developers are using cookies or URL-rewriting, is this the
only way that the sessions can replicate
On Wed, 2007-03-28 at 17:00 -0400, Christopher Schultz wrote:
Assuming that Tomcat is managing your sessions (there aren't too many
good reasons to manage your own sessions), then Tomcat uses either
cookies or URL rewriting to maintain sessions between requests.
I'm sorry, I'm not following.
Hi everyone.
I'm quite embarrassed - but inspite following the Apache guide, I just
can't set up HTTPS via Tomcat!
I have Windows 2000 Professional (German). Tomcat 5.5.20. Running Java
1.5.
Can anyone here tell me what I'm doing wrong?
I tried the keystore in my user directory - but
Hi,
If you connect to http://localhost while https://localhost:8443, what
happen? Make sure http://localhost works first.
Jimmy
Cash America
-Original Message-
From: Martin Cavanagh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 28, 2007 4:23 PM
To: Tomcat Users List
Subject:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nelson,
Nelson D. guerrero wrote:
On Wed, 2007-03-28 at 17:00 -0400, Christopher Schultz wrote:
Assuming that Tomcat is managing your sessions (there aren't too many
good reasons to manage your own sessions), then Tomcat uses either
cookies or
But how come it shows up in the browser?
On 3/27/07, Rashmi Rubdi [EMAIL PROTECTED] wrote:
These characters  are normally not visible in regular text editors
like jEdit or Eclipse etc.
One way to get rid of the characters is to create a new file, press
Ctrl A and copy everything from the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Orn,
On 3/27/07, Rashmi Rubdi [EMAIL PROTECTED] wrote:
These characters  are normally not visible in regular text editors
like jEdit or Eclipse etc.
orn amental wrote:
But how come it shows up in the browser?
Probably because your server is
http://localhost worked before and still works.
I also checked the firewall settings. It definitely isn't a problem here - I
even tried setting up a different connector http://localhost:8443 (not https)
and this worked - so I'm 100% sure its not a firewall issue.
Any other ideas?
b.t.w.
did you enable SSL on Port 8443 in server.xml??? e.g.
!-- Define a SSL HTTP/1.1 Connector on port 8443 --
Connector port=8443
maxThreads=150 minSpareThreads=25 maxSpareThreads=75
enableLookups=false disableUploadTimeout=true
acceptCount=100
Fabian-
in $TOMCAT_HOME/conf/tomcat-users.xml
check your username you are using to access the manager has these roles defined
roles=admin,manager
M--
---
This e-mail message (including attachments, if any) is intended for
I sure did - heres a little bit of my server.xml
Connector port=8443 maxHttpHeaderSize=8192
maxThreads=150 minSpareThreads=25
maxSpareThreads=75
enableLookups=false disableUploadTimeout=true
acceptCount=100 scheme=https secure=true
On 3/28/07, orn amental [EMAIL PROTECTED] wrote:
But how come it shows up in the browser?
I don't know.
All I know is that even though they *exist* they don't appear on IDEs
, but until you get rid of them ( by following one of the above 2
methods or perhaps other methods) , they will
Hi,
In one of my application, I've to deploy crossdomain.xml file in my
Tomcat (i.e. Tomcat 5.x).
Could you please guide me regarding location (i.e. directory) and how to
verify the same on my Tomcat web serever.
Please let me know in case any other details are needed.
Thanks and
Hitesh Raghav wrote:
Hi,
In one of my application, I've to deploy crossdomain.xml file in my
Tomcat (i.e. Tomcat 5.x).
There is no such file in a Tomcat installation. Maybe it is part of an
application you are trying to deploy?
Mark
Hi Mark,
I'm trying to deploy the Flex based app on my Tomcat5 web-server.
To allow cross-domain resource access, crossdomain.xml file need to be
deployed.
Pl look into below article for more details:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213
Pl visit to below URL for
Dear All,
I hope all of you can still remember me. I had the problem of writing the
file content from an applet to a servlet. Now, I'm using JSP and it works.
However, from JSP code examples, I always see only one submit button to the
server. I would like my system to have several submit
Hitesh Raghav wrote:
Therefore, I need the help rgd crossdomain.xml deployment directory
and verification mechanism in Tomcat scenario.
It would appear that this is a static file that needs to be deployed
in the top level directory of the ROOT web application.
Google or search the archives if
On 3/28/07, Teh Noranis Mohd Aris [EMAIL PROTECTED] wrote:
I would like my system to have several submit buttons
This is a basic HTML question, nothing to do with JSP.
Yes, a form in an HTML document can have multiple submit buttons;
reading the appropriate recommendation is, uh, recommended
Dear All,
Maybe my question is not that clear. What I mean, is that there are 2 buttons
that read data from the server and write data to the server using one textarea.
If anyone have the code or come across the code, please e-mail it to me. Thank
you.
TEH
Hassan Schroeder [EMAIL
Martin Cavanagh wrote:
Hi everyone.
I'm quite embarrassed - but inspite following the Apache guide, I just
can't set up HTTPS via Tomcat!
C:\keytool -list -keystore c:\.keystore
Geben Sie das Keystore-Passwort ein:
Keystore-Typ: JKS
Keystore-Provider: SUN
The logs don't seem to show
On 3/28/07, Teh Noranis Mohd Aris [EMAIL PROTECTED] wrote:
Maybe my question is not that clear. What I mean, is that there are
2 buttons that read data from the server and write data to the server
using one textarea.
OK, so? It's basic webapp stuff. Is there an actual technical question
here
Thanx.
Regards,
FooShyn
- Original Message -
From: Teh Noranis Mohd Aris [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, March 29, 2007 12:21 PM
Subject: Re: Is it possible to have more than one submit button in a JSP
file?
Dear All,
Maybe my
58 matches
Mail list logo