Have you looked at the docs available with tomcat and also at
http://www.johnturner.com/howto/apache-tomcat-howto.html
Never worked much on Un*x beyond a few shell commands and such, but I do think
that the mod_jk.so files might be missing. If you have taken these .so files,
are they in the
Hello,
I downloaded 4.1.12 today and decided to explore it.
How do I use the admin webapp ? I was able to use the manager app after
creating a user in tomcat-users.xml.
Thanks,
Sriram
__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits
Since I was able to add myself as manager using tomcat-users, I added admin
priveleges the same way.
Here's the line in my tomcat-users.xml file:
user username=sriram password=foo roles=manager,admin/
However, this is not documented anywhere in the tomcat docs.
--Sriram
--- Sriram N [EMAIL
Hello,
Since the running.txt does not contain any kickstart information for the
manager and admin web applications, here's something that we could use as a
placeholder until something better is developed.
I was thinking of placing this paragraph before the (5) Troubleshooting section
in the file
Hello,
Since the running.txt does not contain any kickstart information for the
manager and admin web applications, here's something that we could use as a
placeholder until something better is developed.
I was thinking of placing this paragraph before the (5) Troubleshooting section
in the file
--- Remy Maucherat [EMAIL PROTECTED] wrote:
Sriram N wrote:
Since I was able to add myself as manager using tomcat-users, I added
admin
priveleges the same way.
Here's the line in my tomcat-users.xml file:
However, this is not documented anywhere in the tomcat docs
If you're loading classes, then try using
Thread.currentThread().getContextClassLoader().loadClass(myClass);
Use this in the classes that you wish to place in the shared/lib.
--Sriram
--- Giovanni Cuccu [EMAIL PROTECTED] wrote:
Hi all,
I'm developing an application which will be
Hello,
I don't have access to my computer right now, but here's roughly what I do to
use log4J within my Servlet 2.3 API compliant webapps.
1. Create a properties file called log4j.properties
2. Place this in WEB-INF folder.
3. Write a ContextListener and in the contectInitialized method,
Hello,
Here's an idea, thouh I'm not sure it's a clean one...
1. In the contextStarted, get hold of the real path from the servlet context.
Let's say you get /var/tomcat/webapps/myapp/.
2. Set this to a System property
e.g. String currentWebAppPath = /var/tomcat/webapps/myapp/;
--- Carlos Martins [EMAIL PROTECTED] wrote:
Hello,
Is it possible to have tomcat call servlets that are included in a jar file
rather than simple class files located in the WEB-INF/classes folder?
I'm trying this, by placing the jar file with the classes in that folder,
but tomcat
--- Craig R. McClanahan [EMAIL PROTECTED] wrote:
On Mon, 8 Apr 2002, Adrian Beech wrote:
Date: Mon, 8 Apr 2002 10:38:45 +1000
From: Adrian Beech [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Is there a native
Hi,
You could do this by either importing the Tomcat source/binay into visual Age,
or by adding the Tomcat jars to the Visual Age classpath.
If you see the tomcat.bat batch file, you'll see that there's just the
StartTomcat and StopTomcat batch files being called. You could call these too,
and
Hello,
for anybody who has been running into this exception when trying to
execute
JSPs:
javax.servlet.ServletException: sun/tools/javac/Main
Heres the solution:
tools.jar is not recognized when it's in classpath
thus it must be copied to
{tomcat_root}/common/lib
and/or
{tomcat_root}/server/lib
Does this happen with Tomcat 4.0.1 too ?
Acc. to the Tomcat docs at
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html, the
following order is maintained when loading classes.
/WEB-INF/classes of your web application
/WEB-INF/lib/*.jar of your web application
Bootstrap
--- Micael Padraig Og mac Grene [EMAIL PROTECTED] wrote:
I sure am having trouble getting an example of server.xml. I bathed! Is
the 4.0 server.xml structured about like the 3.2 was? I have looked at the
documentation, but I am practically oriented. If someone would show me one
copy
--- Michael Kastner [EMAIL PROTECTED] wrote:
Siram,
thank you very much for your reply. I think I wasn't specific enough. To put
my critique in a nutshell: if I set JAVA_HOME in the environment, there
oughtn't be a need to copy tools.jar in a /lib directory of tomcat.
Of course. The
Hello,
The logs are kept in %TOMCAT_HOME%/logs. Please check these logs for error
messages. If you find that you're stuck somewhere, then post relevant sections
from these logs.
Sriram
--- Jose Euclides da Silva Junior - DIGR.O
[EMAIL PROTECTED] wrote:
Hi everybody,
i have gotten a headache
Hi all,
I saw the past few days' posts on resin vs tomcat, and tomcat vs apache.
I just went over to resin's site, and here's what they have to say:
Resin includes a full-featured HTTP/1.1 web server dedicated to serving fast
Java dynamic content. While Resin is tuned for dynamic content, its
And according to a license policy change by Sun, it's possible to distribute
the tools.jar file to your customers too.
Sriram
-Original Message-
From: Mohammad Al-Bedaiwi [mailto:[EMAIL PROTECTED]]
Sent: 03 October 2002 05:29
To: 'Tomcat Users List'
Subject: RE: Tomcat w. JRE?
This is indeed the ight place.
But please check the mail archives first. I'd had to Embed Tomcat way back in
Dec 2001 - Jan 2002, and had faced lots of problems then, with not a single
question of mine being answered. However, I'd posted some of my lessons learnt
at around that time.
I've
--- Ponniah Mari [EMAIL PROTECTED] wrote:
hi,
I have a serious problem. I have developed a site using jsp and servlets, the
server is tomcat 4.0. i uploaded the files with a DNS name provider.
now i cannot access any of the JSP and Servelt files. But the inetresting
part is that its
Hi,
This is a ClassLoader visibility issue. Read the ClassLoader howto in the
Tomcat Docs.
How exactly are you running Embedded ? Are you invoking the main method on it
straight out ? Which Tomcat release are you using ?
-- Sriram
--- sandeep arshanapally [EMAIL PROTECTED] wrote:
Hi,
directory but none of the classes in the
classpath I specify while starting the jvm.
Sandeep
From: Sriram N [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Classpath problem with Tomcat running in Embedded mode
Date: Wed, 11
Hi:
I think you do not have tools.jar in your CLASSPATH.
JAVA_HOME is used by the startup scripts when you use regular Tomcat.
Since you've used Embedded to embed TC, the startup scripts do not come into
the picture, and the JAVA_HOME is pretty much useless actually.
Try placing the tools.jar
--- Robert Charbonneau [EMAIL PROTECTED] wrote:
On October 24, 2003 11:56 pm, Sriram N wrote:
Hi:
I think you do not have tools.jar in your CLASSPATH.
-- Sriram
That did the trick, thanks my friend.
I have another question on the same subject for the list at large. Now
All:
I had once developed a GUI that used the Tomcat code TC 4.0.1 to deliver a
Swing UI that is functionally similar to IBM's Websphere GUI Console in a
limited sort of way. I'd referred to Embedded's main(), to learn how to create
Contexts, Connectors, etc, and create these as required within
Hi:
Just a blind shot (I've not used Struts yet).
Do these load-on-startup servlets require anything to be initialized in struts
?
Does Struts require initialization by the web app developer ? If so, perhaps
you need to somehow ensure that such initialization takes place before you load
your
Hi:
You might also consider editing the $CATALINA_HOME/conf/web.xml to replace the
org.apache.catalina.servlets.DefaultServlet with your own Servlet.
You could then respond to ALL requests.
-- Sriram
--- Christopher Schultz [EMAIL PROTECTED] wrote:
Stefan,
Is it possible to map all URI''s
Thanks, I'll get started right away !
:-)
-- Sriram
--- Jean-Francois Arcand [EMAIL PROTECTED] wrote:
Sriram N wrote:
All:
I had once developed a GUI that used the Tomcat code TC 4.0.1 to deliver a
Swing UI that is functionally similar to IBM's Websphere GUI Console in a
limited
Hello:
I assume that you are using a standard Tomcat download and have not edited any
startup scripts.
1. Ensure that you have an environment variable called JAVA_HOME that points to
your Java installation. If JDK installed in c:\Program Files\JDK1.3.1\, then
the JAVA_HOME environment variable
with the following
parameter :
-Djava.class.path=C:\Programme\jakarta-tomcat\\bin\bootstrap.jar;C:\Programm
e\jakarta-tomcat\\common\lib\servlet.jar
I don't see something like %JAVA_HOME%\lib in here. Could that be the
problem ?
-
Gerald .
- Original Message -
From: Sriram N [EMAIL
Sure.
1. You need to configure your web application to be a privileged application.
Read the Tomcat docs for more information.
2. You need to load your classes via a JARClassLoader.
-- Sriram
--- Mohammed Javed P [EMAIL PROTECTED] wrote:
Hi!
Is it possible to load a class from a zip
Hello:
With the votes going on for 5.0.14, I have a question.
I'm using Redhat 9. When I installed the 5.0.14 tgz and ran the startup script,
I had faced a problem with the startup script not being able to create the
$CATALINA_HOME$/logs/catalina.out file using the touch command.
As it turned
--- Sriram N [EMAIL PROTECTED] wrote:
Date: Thu, 30 Oct 2003 04:27:53 -0800 (PST)
From: Sriram N [EMAIL PROTECTED]
Subject: [5.0.14] Does it have the logs folder ?
To: [EMAIL PROTECTED]
Hello:
With the votes going on for 5.0.14, I have a question.
I'm using Redhat 9. When I installed the 5.0.14
Hi,
Have you downloaded a tgz by chance ?
If you have, then use Winzip on windows, or the tar command from the command
line, to uncompress Tomcat. Any other application may not uncompress the tgz
correctly. e.g. I used the File Roller application that comes with Redhat 9,
and it does not extract
-timeout with a parse error.
Luigi
Sriram N wrote:
Hi,
Have you downloaded a tgz by chance ?
If you have, then use Winzip on windows, or the tar command from the
command
line, to uncompress Tomcat. Any other application may not uncompress the
tgz
correctly. e.g. I used
.
Still points out how useful Maven would be, though. I have to be able to
build the dist from source; if I can't, then I can't audit the app
properly.
Thanks;
Luigi
Sriram N wrote:
Hi:
HAve you looked at
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/BUILDING.txt
Hello:
Does anyone in our group use Maven to build Tomcat with ?
I'm trying to learn Maven, and would appreciate any kickstart that I get.
Thanks,
-- Sriram
__
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
Hello:
Please post queries related to Tomcat's usage to the Tomcat-user mailing list.
You will have a bigger audience there to help you get started with Tomcat.
1. Have you read the application developer's guide ?
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html
It is also
--- Gal Robert [EMAIL PROTECTED] wrote:
Hi,
we have a new user requriement: to be able to modifiy the application
without affecting user work.
Is there any way to achieve this under tomcat? Currently we're
building war file. Is there any way to replace a class (maybe jsp class)
runtime,
--- Peter Crowther [EMAIL PROTECTED] wrote:
From: Sriram N [mailto:[EMAIL PROTECTED]
--- Gal Robert [EMAIL PROTECTED] wrote:
we have a new user requriement: to be able to modifiy the
application without affecting user work.
snip/
You'll could place the context.xml in either
--- Vsevolod (Simon) Ilyushchenko [EMAIL PROTECTED] wrote:
[snip]
I'll be grateful for any suggestions.
Why all the JSPC entries in this web.xml ? Remove them as the Tomcat defaults
should be just OK.
The controller entry and the .do mapping seem to be OK.
Thanks,
Simon
--
--
--- Vsevolod (Simon) Ilyushchenko [EMAIL PROTECTED] wrote:
Sriram,
I've taken them out, as well as the controller entry (which was a sample
line that I don't need). No good.
Hmm... what _do_ you require in this file, if not the controller entry ?
Does the sample web application work ?
43 matches
Mail list logo