Anto,
Thanks for replying.. Sadly there must be something else to
configure.. I did read all the relevant documents and the manager works
fine for the default webapps context. I added the line you suggested
to that virtual host.. restarted everything (including Apache)
I then type in
Folks,
I got it working finally...(after several days of repeated head
banging..)
Following is how I got it to work (Tomcat 4.1.29)..
1) Copy the folder
$CATALINA_HOME/server/webapps/manager
..to the directory that contains your web application..
Example:
$CATALINA_HOME =
I know I saw the info on this topic somewhere, but for the life of me, I
can not relocate it.. (can not come up with the magic search strings...
I spent hours trying different searches...)
Task: I am trying to configure the Manager tool to manage different
virtual hosts on a webserver
I know I saw the info on this topic somewhere, but for the life of me, I
can not relocate it.. (can not come up with the magic search strings...)
I have various subdirectories under webapps that are configured as
separate hosts and contexts
i.e. /webapps/someapp
In that directory I have a web
the line right after your
HTML tag your relative path will always be the same.
Tom Kochanowicz
-Original Message-
From: John B. Moore [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 14, 2004 6:27 PM
To: Tomcat Users List
Subject: Relative directory addressing to parent directory
Can't seem
that setting...?? Or am I forced to hand set this
for each virtual host.. (I have a LOT of these to manage)...
John..
John Sidney-Woollett wrote:
John B. Moore said:
Thanks for responding.. And yes, I keep hearing that one can do this
... But...G I'm slow I guess, because that still
Can't seem to get this to work
Example: Under Tomcat/webapps I want an images directory that any
of the web applications in that directory can access in their pages.
In static HTML (under Apache) I would use..
../images/myimage.jpg
and it would work just fine.. (the ../ would
Posted this previously and still need some pointers...
Maybe this is not possible, but it seems to be suggested in a lot of
the documentation I have read. Unfortunately those docs assume
something that I am not privy to.. (a brain.. yeah well...G) and do
not outline specific configurations
, but have yet to find a
way to do both
John..
Paul Gregoire wrote:
I do it by mapping all my servlet as .jspx and regular jsp files as
.jsp. Apache serves everything else.
John B. Moore wrote:
Posted this previously and still need some pointers...
Maybe this is not possible, but it seems
.properties (similar to mod_jk.conf ?) contains URI
entries so tell
apache what to request from Tomcat, the static content is served up by
apache
via the Alias above.
HTH,
Robert
John B. Moore wrote:
Posted this previously and still need some pointers...
Maybe this is not possible, but it seems
Yeah, that is what seemed to be the case.. I was hoping I was wrong and
somehow was not configuring something right.. Hence the posting here...
sigh
Julio César Aguilar wrote:
In my knowledge:
For tomcat to be able to serve the images, that images directory hast
to live inside a web
Greetings,
Can't seem to get the dots connect between an Apache defined Virtual
host and one defined in server.xml.
The desired effect is that I want static html pages loaded from Apache
and jsp/servlet loaded by Tomcat from the same virtual host
definition. Read a lot of
Followup
I commented out the original Apache VirtualHost... settting and
that finally allowed my Tomcat setting two work.. That still leaves me
trying to get the static pages to load from the Apache contexts...???
John B. Moore wrote:
Greetings,
Can't seem to get the dots connect
Thanks, I'll check that out...
John..
Bill Barker wrote:
John B. Moore [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Ah, further checking on the Sun website indicates that it is:
Apache Tomcat Version 5.0.18
So... why did it not work...
I don't know. Maybe Sun packages
Greetings..
Can't seem to find the documenation for Autoconfig for Tomcat 5 to
Apache..
In Tomcat4 I used..
Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
append=true
forwardAll=false
modJk=/usr/libexec/httpd/mod_jk.so
..tried...
Listener
it was added back as org.apache.jk.config.ApacheConfig.
John B. Moore [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Greetings..
Can't seem to find the documenation for Autoconfig for Tomcat 5 to
Apache..
In Tomcat4 I used..
Listener className=org.apache.ajp.tomcat4
Barker wrote:
In 5.0.18 it was added back as org.apache.jk.config.ApacheConfig.
John B. Moore [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Greetings..
Can't seem to find the documenation for Autoconfig for Tomcat 5 to
Apache..
In Tomcat4 I used..
Listener className
Sometimes it is threaputic to face one's stupidity...
Anyway, it was pilot error... I use JBuilder (which has an embedded
Tomcat) for my development and in versions prior to the latest (JB9 and
before) the url pattern was
http://localhost:8080/servercontext/servletname
..in JB10 this
...
Jerry Ford wrote:
System.out.println text should be going to the file catalina.out in
tomcat's logs directory, if you haven't changed any of the default
logging configurations. At least, that's where they go in my 4.1.27
setup.
Jerry
John B. Moore wrote:
Moved up to Tomcat 4.1.18 (from
Correction it is 4.1.28 not 4.1.18... sorry..
John B. Moore wrote:
Moved up to Tomcat 4.1.18 (from 3.x) and I've seemed to have lost the
ability to see stdout statments in the log files.. In addition my
Log4j loging output failing to appear. (another issue, but maybe
related..)
what is most
Update:
Well, when things get wierd it is best to go back to basics
I created a very simple servlet with System.out.println statements
and deployed it.. That works fine and the output shows up in the
stdout.log. That means there is something in the servlet code that is
mucking
Moved up to Tomcat 4.1.18 (from 3.x) and I've seemed to have lost the
ability to see stdout statments in the log files.. In addition my
Log4j loging output failing to appear. (another issue, but maybe
related..)
what is most puzzling at this point is that basic
System.out.printlin(some text
Ah, yes, I think they should be but you are right, I need to reconfirm
this..
Thanks...
John..
Jacob Kjome wrote:
Make sure all the objects in your session are serializable. If not,
you will get null values (or possibly other errors) after
deserialization.
Jake
At 04:34 PM
Folks,
Here is the scenario
1) User logs in and begins a session along with loading some session
objects (worker classes)
2) Tomcat is shut down and restarted
3) Same user clicks next button on current JSP page (user did not
know tomcat was restarted)
a) Session isNew() reports
David,
My understanding is that JBuilder requires the use of an OpenTool
to be integrated. Since a number of things have changed between now
and JB7 and that it is 2 versions back I doubt there are any OpenTools
available for Tomcat 5. That said, I understand that there were some
Yeah, and those of us that do have the credentials get lost in the
forest. (Not to mention the observation that many of these job
postings want the person to have x years of experience in 6-7 different
areas, mostly unrelated and the total experience years exceeds most
normal human's
Just did a fresh install of 4.1.18 on NT4 Server (replacing a previous
version that was working fine, but hey, I love spending hours beating my
head against the wall, pulling out what few hairs I still have, so I get
to figure this stuff out...sigh) Had followed John Turners install
how-to to
a note in the server.xml to this effect...)
Now I can uncross my eyes from staring at this file for the last
hour...G
John...
John B. Moore wrote:
Just did a fresh install of 4.1.18 on NT4 Server (replacing a previous
version that was working fine, but hey, I love spending hours beating
Folks,
I had previously posted this in the Log4j list but no one there had
any suggestions of what might be happening..
Basically I have discovered that in the latest Tomcat I am running
(4.1.18 both Linux and WinXP) the log file for Log4j (v1.2.3) is
nowhere to be found. The
Yoav or whomever...,
If I may intrude on this thread... I did read the HowTo at
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html
..and it's primary focus is on the nature of the commands sent to the
manager. There is no reference as to the HTML GUI that is used by most
findings, and send an updated version to the list, it would be much appreciated and eventually will likely find its way to the official site documentation.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: John B. Moore [mailto:[EMAIL PROTECTED]
Sent: Friday, March 14, 2003 2
PM 3/14/2003, you wrote:
I got mine to work. I use
In the Path field:
Use
/DurlingSitewar not /DurlingSite
In the WAR URL field:
jar:file:/usr/local/tomcat4/webapps/DurlingSite.war!/
Thanks Amir.
-Original Message-
From: John B. Moore [mailto:[EMAIL PROTECTED]
Sent: Friday
Jan,
Thanks for the suggestion.. no joy on that one either.. The HowTo
suggests that if the WAR is in the webapps dir that a full path is not
required... it lies...??G
I'll again triple check my path and spelling (which I have already
exhaustively done.. but...)
John...
Jan Behrens
?
Just wondering ...
Paul
On Fri, 2003-03-14 at 10:01, John B. Moore wrote:
Jan,
Thanks for the suggestion.. no joy on that one either.. The HowTo
suggests that if the WAR is in the webapps dir that a full path is not
required... it lies...??G
I'll again triple check my path and spelling
Jon,
You may have it... I have temporarily move on to other fires, so I'll
test that later.. makes a lot of sense..
(no, no one had mentioned that.. and I had wondered about if that was
what it was requesting with the error in protocol.. Now see, If I had
known that this was a URL protocol
Message-
From: John B. Moore [mailto:[EMAIL PROTECTED]
Sent: Friday, March 14, 2003 2:46 AM
To: Tomcat Users List
Subject: Re: New user
no idea, that is what was in the HowTo... seemed funky to me
as well...
John..
p niemandt wrote:
Interesting ... Why the final exclamation mark? Sure
Roberts wrote:
John B. Moore wrote:
Any one have a suggestion on how to get both tomcat and apache to
start (tomcat first) when the server reboots..???
Instead of rc.local, it would be more customary to use an
initialization script in /etc/init.d. Look in this path to find
examples
Folks,
One can start Apache by placing the command in the rc.local
/usr/local/apache/bin/apachectl.sh start
but it appears that you can not do that with tomcat because of the
need for various environmental variables (JAVA_HOME ..etc..)
Any one have a suggestion on how to get both
Perfect, Just what I was hoping I would find
John...
Jon Roberts wrote:
John B. Moore wrote:
Any one have a suggestion on how to get both tomcat and apache to
start (tomcat first) when the server reboots..???
Instead of rc.local, it would be more customary to use an
initialization
David Orriss Jr wrote:
John,
Say, don't I know you? ;)
Yeah, small world, huh...G
John Turner answered this exact same question for me...
If you're using Ajp13Connector, comment out (disable) the lines in
server.xml having to do with MBeans.
Weird,
I have two machines I'm
Tomcat 4.1.18
Apache 2.0.43
Connectors - 4.1.18 (mod_jk.so)
(all build from source)
(followed the J Turner Howto's)
Getting the error..
ManagedBean is not found with Ajp13Connector
Anyone have some suggestions on what might be configured wrong.. We keep
looking at it and is all seems to be
, and mod_jk is version sensitive.
John
-Original Message-
From: John B. Moore [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 07, 2002 5:47 PM
To: [EMAIL PROTECTED]
Subject: Mod_jk is not compatible this version of apache
Versions
Apache httpd-2.0.40
Tomcat 4.1.12
OS
Versions
Apache httpd-2.0.40
Tomcat 4.1.12
OS
Readhat 8 with latest kernal
I had compile Apache and it runs just fine, Tomcat also runs find
independently
I then downloaded the connectors for 4.1.12 and followed the John
Turner directions for compiling the mod_jk... and copied
John,
Maybe you can clear this up for me.. I get the hint from several
different messages that the CoyoteConnector handles both JK and JK2.
Looking at the server.xml it appears that, based on the comments in
that file
!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
Connector
Still encountering some issues..
First I am following the howto's by John Turner.. (thanks much..BTW)
Before doing anything I'm seeing the following output when starting
tomcat
===
INFO: Initializing Coyote HTTP/1.1 on port 8080
mod_jk location: libexec/mod_jk.so
Make sure it is
My guess is that you are miss using the term java beans or not
understand what that term typically means. Generally a java bean is a
class with a number of specific properties (what those are depends on
whether you are talking about a GUI java bean or a non-GUI java bean.)
Either way you do
GREAT, thanks..
I'll give that a try this weekend and see how far I get...
John..
Martin Jacobson wrote:
John B. Moore wrote:
Martin,
I you like I would be VERY glad to review your howto...G I'm
working on setting this up on my iBook right now...
Thanks much...
John
you never start it manually. You
can install Apache 2 anywhere you like, and setup the start scripts anyway
you like.
John
-Original Message-
From: John B. Moore [mailto:jbm;microps.com]
Sent: Monday, October 21, 2002 6:18 PM
To: [EMAIL PROTECTED]
Subject: Apache 1.3.23 and Tomcat 4
Martin,
I you like I would be VERY glad to review your howto...G I'm
working on setting this up on my iBook right now...
Thanks much...
John..
Martin Jacobson wrote:
John B. Moore wrote:
Ian,
Cool, Thanks... you are right that mod_webapp stuff is a pain..
I followed
Ian,
Cool, Thanks... you are right that mod_webapp stuff is a pain.. I
followed a HowTo I found for OS X and I could never to get it to work..
keep getting errors
I'll get the book !!
John..
Ian McFarland wrote:
Tomcat on OS X is pretty vanilla Tomcat. I cover all the
I must be brain dead because I can seem to find the right way to get
these two connected. I worked previously with Apache 1.3x and Tomcat
3.3 and have no problems there. (Downloaded and printed volumes of
docs.. none seem to cover this combination..
I can see that Tomcat 4 appears to be
51 matches
Mail list logo