You could put a case statement in the catalina.sh file where you change the
CATALINA_BASE directory based on user input:
echo Enter the application you want to start
read app
case $app in
app1)
export CATALINA_BASE=/usr/local/app1base
;;
app2)
export CATALINA_BASE=/usr/local/app2base
;;
compare
timestamp of .java files to timestamps of .jsp files to know if it need
rebuild. Here we deploy using .war file, that mean or jsps are always
more recent then work directory, and we don't have issues :)
En l'instant précis du 04/03/07 02:10, Jim Goodspeed s'exprimait en ces
termes:
I'm
Are there any pros and cons running unpackWARs one way or another? It seems
like keeping unpackWARs=false might be a little cleaner (not having to
remove expanded directories when deploying a new war file), but I wasn't
sure if there were any performance hits associated with running this set to
I'm wondering if anyone has run into a problem where the jsp pages under the
work directory do not get updated when a new version of the applicaiton is
deployed. We find that we have to delete everything under the work
directory so that tomcat is forced to re-create everything. This seems a
On Feb 26, 2007, at 3:53 PM, Rainer Jung wrote:
Hi Kirk,
I never built for Sun Web Server, but I just saw the configure flag:
--enable-netscape
Did you ever try running configure with that one before doing the
make?
Yes, I added that at the 1.2.21-dev phase specifically
to allow for
Let me know what you find. I had updated the configure.in
file to add the --enable-netscape option and updated the
BUILDING and Makefile.solaris files. I should likely
update the netscape/README file with the notes from BUILDING...
On Feb 26, 2007, at 4:42 PM, Kirk wrote:
I will take a look at
On Feb 26, 2007, at 11:11 AM, Rainer Jung wrote:
Hi all,
the next version of mod_jk is approaching its release. A code
snapshot is available at
http://people.apache.org/~rjung/mod_jk-dev/
It is in the same format as a release download, so easy to build.
Under the same URL you can find
On Feb 21, 2007, at 3:25 PM, Kirk wrote:
There was a thread from February 1st on this same issue. I am
having the
same problem that person did, but I tried everything in the thread
and still
no luck.
After I get mod_jk compiled I get this on server startup:
failure: CORE3170:
I would like to run tomcat as an unprivileged user for security reasons, but
when my war file is created through Ant it loses all of the permissions (as
it says it will in the Ant manual). Does anyone know of a way to run tomcat
as an unprivileged user and still use a war file which when it is
Hi,
I am trying to figure out how to configure two applications - one to have
the default context (ie: be in the root of the url) and the other to be in
its own directory. I have the following setup:
webapps dir=/usr/local/product/webapps
catalina_base=/usr/local/product/base
file based on
the application.
On 2/16/07, Hassan Schroeder [EMAIL PROTECTED] wrote:
On 2/16/07, Jim Goodspeed [EMAIL PROTECTED] wrote:
I want myapp.war to be the default application
Name it ROOT.war, which Tomcat recognizes as the default context.
HTH,
--
Hassan Schroeder
Hello,
I am struggling with content types within a JSP page. I have an XML,
XSLT and CSS file that combined are suposed to create a tree. (I am
trying to get treeview to work).
I created a webapp for playing in, and have the following code in a
jsp page called showTree.jsp.
But when I hit the
] wrote:
1. In your jsp make sure that '?xml version=1.0 encoding=UTF-8?'
is on the very first line, it should be befora any imports or taglibs or
etc.
This is just one of the problems you might have with xml in jsps.
Andrew
Jim Reynolds wrote:
Hello,
I am struggling with content types within
On Jan 31, 2007, at 1:36 AM, Zack Grafton wrote:
Maulik,
In the line:
LD_SHAREDCMD=ld -G -fPIC -lapr-0 -lgcc -lc -lsocket -lnsl
I can't tell which one is bold, but anyway, that line specifies
which linker command to use, and the -l options specify the loading
of a library. You should
On Jan 31, 2007, at 7:30 PM, Rainer Jung wrote:
Try the following two files to compile. If this will work, we can
find out how to automate them.
common/jk_types.h:
common/portable.h:
All done. Fixed on trunk, I added --enable-netscape which allows
configure to continue without requiring
put the similar entry in httpd.conf ?
Thanks
Maulik
Jim Jagielski [EMAIL PROTECTED]
02/02/2007 09:28 PM
Please respond to
Tomcat Users List users@tomcat.apache.org
To
Tomcat Users List users@tomcat.apache.org
cc
Subject
Re: Compiling mod-jk plugin for SunOne on Solaris
On Jan 31, 2007
Congress passed a law that changes the start and end dates of daylight
savings time, and that change goes into affect this year. Starting this
year, daylight savings will start on the second Sunday in March and end
on the first Sunday of November. Does anyone know if Tomcat 4.1.29 will
have any
I have configured SSL a while back and created a temporary certificate
following the documentation that is under SSL.
Not a major problem, but while developing with this, everytime I click
on a page using Mozilla, I get a popup stating the following: Unable
to verify the identify of devsite as a
Hello,
I am running Tomcat 5.5.20 on a PC. I am using ant tasks to deploy,
undeploy etc.
But last week, I created a new host element. The new site works
good, but I am having trouble with the ant tasks.
First off, when I look at my http://localhost/manager/html; I see all
applictions that are
Hello,
I am moving some code via ant to a new deployment area on the server,
and I am experiencing the following error: (below).
I am running Tomcat 5.5.20 on XP. I thiought it was a jar file, but I
have been throwing them away, doing the build, restarting, and I still
get this message. A google
Got it,
I actually removed the app.war files that were under root, and it
started. I will go through each one, and see which one is bad, but
that got me rolling.
Again,
Many thanks.
On 12/15/06, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Jim Reynolds [mailto:[EMAIL PROTECTED
Hello,
Every new install of Tomcat always has a Host name of localhost and
that is good.
If I do not have a DNS entry, can I create another Host and use a
name of something bogus? Something for me to play with on my local PC?
I tried something like this:
Host name=localhost appBase=webapps
Thanks for responses:
I did have a hosts file in my Drivers/etc so here it is. I added the 199.9.9.99
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
199.9.9.99 devSite
That is not of course the IP of my machine, I just made it up.
Then I updated my
Chuck,
It worked when I used the 127.0.0.1, I will test my real IP later. But
I just want to thank each one for helping with this problem. :-)
Thanks so much
On 12/13/06, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Jim Reynolds [mailto:[EMAIL PROTECTED]
Subject: Re: Host element
After creating a new Host, I now want to set up SSL on it. Following
the docs I did the following:
1) create keystore
E:\Tomcat\bin\DEVKEYkeytool -genkey -alias tomcat -keyalg RSA -keystore E:/Tomc
at/bin/DEVKEY/devKeystore
answered questions.
2) made sure passwords were same. (changeit)
3)
thing, my search on my whole system for the .dll found all the old bak
in my production box.
Anyway, could they put that dll into a .jar?
On 12/13/06, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Jim Reynolds [mailto:[EMAIL PROTECTED]
Subject: SSL Setup From Site
4) restarted tomcat
the #$#$@
tcnative-1.dll is and I do not see them in either new install. Also,
the installer does not ask any questions. I used the .exe.
Thanks,
On 12/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
what version of Tomcat and what are the logs saying?
Filip
Quoting Jim Reynolds [EMAIL PROTECTED
[EMAIL PROTECTED] wrote:
From: Jim Reynolds [mailto:[EMAIL PROTECTED]
Subject: Re: SSL Setup From Site
the installer does not ask any questions. I used the .exe.
It doesn't ask the question explicitly. On the Choose Components
window, if you open up the Tomcat entry by clicking on the + sign
,
On 12/13/06, Hassan Schroeder [EMAIL PROTECTED] wrote:
On 12/13/06, Jim Reynolds [EMAIL PROTECTED] wrote:
I am running version 5.5.17 and I am not seeing anything in the logs
regarding APR.
You might want to grep for 'Starting ' because a Tomcat install with
out-of-the-box logging will show
On Nov 16, 2006, at 9:13 AM, Rainer Jung wrote:
Hi Michael,
I didn't want to shoot at you, and yes, mod_jk documentation could
be much better.
Assuming it's up to date :)
-
To start a new topic, e-mail:
On Nov 15, 2006, at 5:42 PM, Caldarale, Charles R wrote:
From: Rainer Jung [mailto:[EMAIL PROTECTED]
Subject: Re: Apache 2.2.3 Tomcat 5.5.20 - mod_jk or proxy?
If you want to use mod_proxy, it is important to know, that most
documentation for mod_proxy_balancer is contained in apaches
This is expected to be added to the proxy
module, but in a way which is more inline with
expectations for a specific proxy server (whether
serving ajp or http or anything else).
On Nov 1, 2006, at 5:39 AM, Rainer Jung wrote:
Hi Gary,
from my understanding of the code mod_proxy(_balancer) at
From: Caldarale, Charles R [EMAIL PROTECTED]
Reply-To: Tomcat Users List users@tomcat.apache.org
To: Tomcat Users List users@tomcat.apache.org
Subject: RE: JDK
Date: Sun, 29 Oct 2006 22:57:39 -0600
From: Jim Weir [mailto:[EMAIL PROTECTED]
Subject: JDK
I recently upgraded to jdk1.5.0_09, now
From: Caldarale, Charles R [EMAIL PROTECTED]
Reply-To: Tomcat Users List users@tomcat.apache.org
To: Tomcat Users List users@tomcat.apache.org
Subject: RE: JDK
Date: Mon, 30 Oct 2006 12:53:47 -0600
From: Jim Weir [mailto:[EMAIL PROTECTED]
Subject: RE: JDK
It's 5.5.4..
That's pretty old
(Catalina.java:473)
at org.apache.catalina.startup.Catalina.load(Catalina.java:509)
... 6 more
What can I do to get it to work?
Jim
_
Try Search Survival Kits: Fix up your home and better handle your cash with
Live Search
the JVM it could previously, what could this be
from?
Jim
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
a CharacterEncodingFilter I found on the web to explicitly set
response.setContentType(text/html; charset=UTF-8);
Any suggestions will be greatly appreciated. Thanks in advance.
--Jim
=
Jim Coble
Digital Projects Consultant
Perkins Library
Email: [EMAIL PROTECTED]
Voice: 919
I have an webapp that requires a J2EE app server and I was looking at JBOSS
because it has Tomcat as the servlet engine, I am hoping it would be easy to
migrate all my webapps over. I have Apache with the JK connector.
Does anyone know the simplest way to do it?
Thanks,
Jim
BalancerMember ajp://www.mysite.org:8009/mysite
/Proxy
Location /mysite
ProxyPass balancer://mycluster2
/Location
/VirtualHost
I am also wondering if there are any security problems with this config.
Thank you,
Jim
_
Call friends
of the URL,
I tried adding the above to workers.peoperties and it doesn't help. Can
anybody explain what changed in the configuration that's not in the
documentation...that will fix this?
Jim
_
Call friends with PC-to-PC
: [EMAIL PROTECTED]
If I am following this thread correctly it seems that with Apache 2.2.3 the
better(suggested?) way to connect to Tomcat is to use mod_proxy_ajp, which
is compiled into Apache by default.
Is that the case? Is this the technical direction the AJP connector will be
taking?
Jim
From: Mladen Turk [EMAIL PROTECTED]
Reply-To: Tomcat Users List users@tomcat.apache.org
To: Tomcat Users List users@tomcat.apache.org
Subject: Re: mod_jk garbled - how to change JK* directives for ProxyPass?
Date: Wed, 06 Sep 2006 19:29:12 +0200
Jim Weir wrote:
From: Pid [EMAIL PROTECTED]
Tom
...could it be the server.xml?
This is the entry I have in the server.xml,
Host name=www.mysite.org appBase=webapps
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
/Host
Thanks in advance for any advice,
Jim
From: Jim Weir [EMAIL PROTECTED]
Reply-To: Tomcat Users List users@tomcat.apache.org
To: users@tomcat.apache.org
Subject: Apache Tomcat Connector
Date: Tue, 05 Sep 2006 10:20:36 -0400
To all,
My JK connector is working but I can't figure out how to forward to
Tomcat. How do I know?
In my
/workers.properties
JkLogFile /usr/opt/tomcat/conf/auto/mod_jk.log
JkLogLevel emerg
VirtualHost localhost
ServerName localhost
JkMount /mysite ajp13
JkMount /mysite/* ajp13
/VirtualHost
I appreciate any feedback,
Thanks,
Jim
_
Windows
/
!-- Note : To disable connection timeouts, set connectionTimeout
value
to -1 --
port=8080 is where you configure it.
-Original Message-
From: Jim Weir [mailto:[EMAIL PROTECTED]
Sent: Friday, September 01, 2006 2:59 PM
To: users@tomcat.apache.org
Subject: Apache 80 Tomcat 8080
I
?
Thanks,
Jim
_
Check the weather nationwide with MSN Search: Try it now!
http://search.msn.com/results.aspx?q=weatherFORM=WLMTAG
-
To start a new topic, e-mail: users
-mail: [EMAIL PROTECTED]
..are you using JK 1.2.18?
Jim
_
All-in-one security and maintenance for your PC. Get a free 90-day trial!
http://www.windowsonecare.com/trial.aspx?sc_cid=msn_hotmail
From: Bill Barker [EMAIL PROTECTED]
Reply-To: Tomcat Users List users@tomcat.apache.org
To: users@tomcat.apache.org
Subject: Re: Using tomcat auto configure
Date: Mon, 28 Aug 2006 19:54:01 -0700
Tomcat version? Older versions didn't support ApacheConfig under Engine.
Jim Weir [EMAIL PROTECTED
From: Bill Barker [EMAIL PROTECTED]
Reply-To: Tomcat Users List users@tomcat.apache.org
To: users@tomcat.apache.org
Subject: Re: Using tomcat auto configure
Date: Mon, 28 Aug 2006 19:54:01 -0700
Tomcat version? Older versions didn't support ApacheConfig under Engine.
Jim Weir [EMAIL PROTECTED
From: Steve Ochani [EMAIL PROTECTED]
To: Jim Weir [EMAIL PROTECTED], Tomcat Users List
users@tomcat.apache.org
Subject: Re: Using tomcat auto configure
Date: Tue, 29 Aug 2006 14:02:58 -0400
On 29 Aug 2006 at 13:20, Jim Weir wrote:
Tomcat 5.5.14
Apache 2.2.3
JK-1.2.18 released
= /usr/opt/tomcat/conf/auto/mod_jk.conf
jkWorker = /usr/local/apache2/conf/workers2.properties
modJk = /usr/local/apache2/modules/mod_jk.so
/
.
.
.
Anybody?
Thanks,
Jim
Hi everyone, I am trying to install open xchange on a fresh install of
fedora core 4. To make life easier I followed the instructions from:
http://www.open-xchange.org/attachments/fedora-4_apache2.php.htm
I am having problems with the java_opts =
is generating the error - it has nothing to do with OX at this
point as far as I'm concerned.
Jim
On 8/11/06 10:23 AM, Pid [EMAIL PROTECTED] wrote:
You probably want the Open Exchange mailing list, rather than the Tomcat
one...
Jim Mensinger wrote:
Hi everyone, I am trying
servlets on different ports
Jim,
I'm using tomcat 5.5, and tried creating 2 services, each with a
connector that used a different port.
Whatever I try for the context within these services, it appears as
if both servlets are available on both ports.
Is there a magic combination of Context
on localhost:8009 -
despite what is in the workers.properties file. Can anyone assist?
Jim
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
+1
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This is related to Windows and your Context setup. For some reason Windows
locks some jars (don't know why), so when you undeploy, the exploded war
directory cannot be deleted.
Try setting up your context with the following settings.
reloadable=true
antiResourceLocking=true
Let me know if
On Jun 2, 2006, at 12:27 PM, Mladen Turk wrote:
Jim Jagielski wrote:
Web Servers are web servers primarily, focused on
HTTP, compliance, speed and capability. Use the
right tool for the right job :)
Agreed.
If you only need a web server, use a web server.
I think that the question
Another possible issue is the session cookie information,
which IE has problems with when doing simple HTTP redirects.
On May 27, 2006, at 1:05 PM, Rizwan Merchant wrote:
We are running tomcat 5.5.16 on Fedora Core 4 OS. We just installed
apache2.0 as a front to serve the pages using the
IMO, if you need to move out of pure Java in your Java Web
Server to get acceptable performance, then why use it in
the first place? Plus, if you are concerned about the
security of Apache (cause it's nasty C) and therefore
want to use a Java Web Server, then using JNI means
you've left that warm
On May 8, 2006, at 3:44 PM, Francis Galiegue wrote:
OK, I have some more information...
The whole webapp is served through mod_ssl, as such (in the webapp
specific config file):
Not sure if this was already mentioned, but check to make
sure that all resources are either relative or else
Not sure if you found the answer, but this sounds like the same problem as a
previous post (see subject Ant Deploy Task Problem)
My solution is
I updated my META-INF/context.xml as follows:
Context reloadable=true antiResourceLocking=true
/Context
and now undeploy can properly
Have you considered using Quartz to run recurring jobs?
It comes with a Servlet that can be used to initialize your jobs when Tomcat
starts up :)
-Original Message-
From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED]
Sent: Monday, April 03, 2006 12:51 PM
To: Tomcat Users List
Subject: RE:
I had the same problem with Tomcat, Windows and a Struts webapp.
I updated my META-INF/context.xml as follows:
Context reloadable=true antiResourceLocking=true
/Context
and now undeploy can properly remove the webapp directory.
Apparently there is a problem with windows locking resources,
platform is still running Linux.
We initially thought running the two tomcats there would just as easy as
1-2-3; but it certainly proved to be not quite the case. In any regards, we
appreciate everyone's help on this issue.
-- Jim
On 3/24/06, Thomas Bolding [EMAIL PROTECTED] wrote:
There might
one
dies. Is there a way to get around the problem? Thank you.
-- Jim
instance from being launched, instead of killing another instance, would
it? At one time when i was playing with it on a testing platform (also
linux), the launching of the 2nd instance of tomcat 5.5 even killed a
running tomcat 4.1.31! It was incredible :P
-- Jim
On 3/22/06, Caldarale
On Feb 24, 2006, at 10:11 AM, Brad O'Hearne wrote:
Question below:
On Feb 24, 2006, at 2:05 AM, Bill Barker wrote:
Brad O'Hearne [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
mod_proxy_ajp? Yet another twist. Its just hard for me to believe
that
how do I integrate tomcat and
Actually, dev@httpd.apache.org is best, since that is where
the development of this module is being done. I have changed
the email headers accordingly.
A sort of warm standby is something that I had planned to
work into the balancer code post 2.2.1.
On Jan 24, 2006, at 11:14 AM, [EMAIL
S16tomcat which points to /etc/init.d/tomcat.
Wow. My first post.
Jim Cammack
WDFW
360 902 2620
), but I can't seem to get it to work on Windows Server 2003 (IIS 6.0).
Thank you.
Jim Weegar
Sr. Technical Project Manager
McKESSON
Shared Technology Group
5995 Windward Parkway
Alpharetta, GA 30005
office: 404-338-3712
remote: 678-344-7223
fax: 404-338-5111
email: [EMAIL PROTECTED
201 - 272 of 272 matches
Mail list logo