--- "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 applicatio
--- "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
> --
--- 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.
--- 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)
> ru
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
http://launch.yahoo.com/promos/britneyspears/
after all) but will likely just need to drop the right
> jars into place.
>
> 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
>
>
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 instal
't think of any other
> reason why Digester would barf on 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 comman
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
--- 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 ha
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 ou
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 zi
problem ?
>
> -
> Gerald .
>
> - Original Message -
> From: "Sriram N" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Thursday, October 30, 2003 3:50 AM
> Subject: Try this (Re: Error: Unable to find a jav
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 sh
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 func
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
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 serv
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 my
--- 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.
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
--- 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 i
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 replied
> recognizes the classes in tomcat 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:
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,
>
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
--- 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:
> >
&g
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
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.
--Sriram
--- Sriram N <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
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 video
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 appro
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?
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
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 c
--- "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
--- 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
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/";
System.setProp
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, access
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 heada
--- 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. T
--- 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
> c
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 clas
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
T
43 matches
Mail list logo