I've got a blockfilter, that blocks all access to anything but the only url
that's allowed and reroutes to an errorservlet.
I've also got a method filter that blocks invalid http methods, but when a
request to an invalid url is forwarded to an errorservlet, it's not
filtered through my
You got a pretty high connection timeout on (120) 20min.
Try setting it to something like 15000 or even lower.
You could also fix your min and max heapsize to get more continously
garbagecollection
It could also be due to problems in your code, delaying, stopping or
killing threads.
Hello,
I'm Anitha, working on JSP/Servlet.
In simple sentence...
I want to create a Directory called AppDir under webapps.
Then i need to configure my servlets.
The Directory Structure looks like this..
webapps
--- AppDir - JSP file
--- Web-inf
If you change this value:
maxProcessors=-1
to some value like 20 what happens?
Kristian A. Leth wrote:
You got a pretty high connection timeout on (120) 20min.
Try setting it to something like 15000 or even lower.
You could also fix your min and max heapsize to get more continously
The classes go under WEB-INF , either under classes (if they are .class
don't forget their package if they have any), or the directory lib if
they are jars.
Define your servlet in the web.xml of your web application. How? It's in
the tomcat documentation as well as the examples that came with
Yes, but i want it under a directory called AppDir,
which i need not under examples directory.
Where do i configure this??
- Original Message -
From: Kwok Peng Tuck [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, October 25, 2002 12:18 PM
Subject: Re: Help
Just deploy your .war file as AppDir so you will have
http://covington:8080/AppDir/*.jsp or servlets
The .war file should be put under the {CATALINA_HOME}/webapps/
It will be autodeployed when tomcat is restarted. Or you can use the
webapp manager.
Again, read the docs on how to use the webapp
I put all required jars to WEB-INF/lib. but tomcat says missing optional
packages.
excalibur-container.jar require avalon-framework extension package. I have
all required packages.
WEB-INF/lib is incorrect place for optional packages?
Why tomcat throws exception for just optional package? I don't
Hi,
I get trouble when I try to make communication
between Tomcat and Apache. I follow following steps:
1, I get mod_jk.so.
2, To Configure Apache using mod_jk:
I put the following include directive at the end
of your Apache httpd.conf file:
Include /usr/local/jakarta-
Hi,
I would like to know how I can invoke a servlet in one web
application from a servlet in another web application? Also, how would I
do this if the other servlet is hosted in another servlet container on
another machine?
My goal is to provide a web application framework that other
Anyone know how to make Tomcat automatically startup when Linux is rebooted?
As you can probably tell I'm not a Linux expert. :(
Thanks.
Neal
--
To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
You could try a client-side redirect.
response.sendRedirect(..URL..);
Best Regards,
Anthony Geoghegan.
J2EE Developer
CPS Ireland Ltd.
- Original Message -
From: Jason Novotny [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 25, 2002 10:05 AM
Subject: how do I invoke servlet
It depends on how it's installed, also Linux distro
If you have RedHat and istalled via rpm distro, you should have in
/etc/init.d/ a script named tomcat4 that launches Tomcat @ statup.
4 -rwxr-xr-x1 root root 3055 Mar 4 2002 tomcat4
(I'm not also a linux expert, but I
Or you could take the rpm script and configure for you tomcat location.
make sure add the script using chkconfig.
neal wrote:
Anyone know how to make Tomcat automatically startup when Linux is rebooted?
As you can probably tell I'm not a Linux expert. :(
Thanks.
Neal
--
To unsubscribe,
Cool thanks! :)
Neal
-Original Message-
From: Kwok Peng Tuck [mailto:pengtuck;makmal.com]
Sent: Friday, October 25, 2002 1:47 AM
To: Tomcat Users List
Subject: Re: Tomcat autostart on Linux
Or you could take the rpm script and configure for you tomcat location.
make sure add the
u can use find or it should bi in the tomcat_home/bin
regards
Sonam Singh
[EMAIL PROTECTED]
--- maninder s batth [EMAIL PROTECTED]
wrote:
hii am new to linux. i installed tomcat but 4.1.12
and the docs
mentioned there would be
startup.sh and shutdown.sh in $CATALINA_HOME/bin ,
all i found
--- Kennedy, Ed [EMAIL PROTECTED] wrote:
I am a new Tomcat user and I am having trouble
accessing my servlet classes.
I am getting the following error:
The requested resource (/servlets/authenticate.jsp)
is not available
Any help you can give would be appreciated.
Thanks
--- Shapira, Yoav [EMAIL PROTECTED] wrote:
Hi,
One of the main points of connection pooling is to
bound the number of connections you have. It's a
bad design to define a connection pool that doesn't
meet expected loads. If you know your app will need
10 connections concurrently, define 10
Hi,
I have the following setup using a normal socket connector config :
Redhat 8
Apache 2.0.43
Tomcat 4.1.12
mod_jk2-2.0.43.so
jkjni-2.0.so
Questions:
What are the difference between the normal socket, AF unix, and JNI?
Pros/cons when to use or when not to use? I didn't see any info on this on
I have so far tried many times to make a program work at another location. Now I am
totally lost for ideas.
The program works at home but when I try it in a networked computer everything fails.
I do not know why.
I would be grateful if someone would look at my code and test it. Please reply to
Dear All,
I am just newbie for tomcat 4.1.12 version. Recently I have installed it on
my NT Server. Now I have a problem to access classes through JSP files of
my Application.
Following is the structure of my application
webapps\myapp\*.jsp
webapps\myapp\WEB-INF\classes\*.class
Following is
In my oppinion it's your application fault and not Tomcat's. It would be
helpful to send the code snippet from place where your code throws
NullPointer...
But first you should try to put some System.outs. out there and see
where the code hangs...as that exception doesn't give (me) a clue about
Put your custom java classes in a package and recompile.
Old class: Login
New class: fooPackage.Login
New location: webapps\myapp\WEB-INF\classes\fooPackage\Login.class
Tomcat 4 doesn't looking for classes without a package.
[EMAIL PROTECTED] wrote:
Dear All,
I am just newbie for tomcat
Have a look in the generated java file in the
work directory that caused this exception
(processviewfiles_dir_4.java) to find the
corresponding location in your jsp.
If you don't see the error post the code
around that line.
-Original Message-
From: Edmund Smith
See ...
Root cause:
java.lang.NullPointerException
at
jsp.portal_0002dproject.processviewfiles_dir_4._jspService(processviewfiles_dir_4.java:133)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
You are getting a java.lang.NullPointerException
Look for
Dear all,
I'm running Tomcat 4.0.3 with Java 1.4 on Linux, and we are getting lots of 'IOException:
Connection reset by peer' (see stack trace at bottom of mail), which I understand is the user
hitting 'stop' or closing the window before the load completes.
After several hours of running our
Hello,
I am running tomcat 4.0.X with Java 1.4.1. on a red hat 6.2 apache
1.3.x.
I am using the WarpConnector to allow tomcat and apache to
communicate and for Virtual Hosts. I have a few ( about 16) Virtual
Hosts on the box.
What I am noticing is that when tomcat starts and the
Hi all
I'm trying to configure my server.xml with multiple hosts on Tomcat 4.0.4
and I want to use a different SSL certificate for each host entry.
I AM NOT USING APACHE! JUST TOMCAT STANDALONE (sorry for
shouting but this is important)
Does anybody have an example of how to do
Graham King wrote:
Dear all,
I'm running Tomcat 4.0.3 with Java 1.4 on Linux, and we are getting
lots of 'IOException: Connection reset by peer' (see stack trace at
bottom of mail), which I understand is the user hitting 'stop' or
closing the window before the load completes.
After
Hi,
when using basic authentication with tomcat, tomcat sends a 401 response
code if the user is accessing the page for the first time.
This makes the browser show a login window and retry the request with
the username/password provided by the user.
However, if there is already a username and
the filter is only applied on teh original request, not for forward() or
include()
/* will match all files
/mydir/* will only match the files in /mydir
*.do will match all 'do' files - reguardless of path
/*.do - invalid, you cannot mix path and wildcard.
Charlie
-Original Message-
Remy Maucherat wrote:
Graham King wrote:
Dear all,
I'm running Tomcat 4.0.3 with Java 1.4 on Linux, and we are getting
lots of 'IOException: Connection reset by peer' (see stack trace at
bottom of mail), which I understand is the user hitting 'stop' or
closing the window before the load
Wow, asking to upgrade to 4.1.x to solve a bug isn't just too much?
Personally I'm waiting 4.1.x to get more stable before upgrading it.
On Fri, 2002-10-25 at 09:21, Remy Maucherat wrote:
Graham King wrote:
Dear all,
I'm running Tomcat 4.0.3 with Java 1.4 on Linux, and we are
On Thu, 2002-10-24 at 16:24, Kristján Bjarni Guðmundsson wrote:
I use custom error pages for various error codes (404. etc), all of them
work except 401 error.
If I go to a protected page the browser just displays the 401 page without
prompting me
to log in. What am I doing wrong?
Short
sounds like you need to allow the WEB-INF/classes permission in your
catalina.policy file
Charlie
-Original Message-
From: Jeremy Cavagnolo [mailto:jcavagnolo;hotmail.com]
Sent: Wednesday, October 23, 2002 12:31 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.1.12 ClassNotFoundException
I only know the inelegant, brute force way, which is to check the request
object for the request type, and if it's http when it should be https,
do a redirect to the same URL but with https prepended.
There's probably a much more robust and correct way to do this using Tomcat
security
Yup, ditto Milt and Robert. You've got JK directives but you're loading
JK2. To get rid of your Apache config error, use mod_jk.so instead of
mod_jk2.so, or keep mod_jk2.so and change your config to a JK2 config.
John
-Original Message-
From: J.F. Noonan [mailto:jfn;msc.com]
Sent:
Are you sure you have CATALINA_HOME set correctly?
By I installed tomcat what do you mean? From source? From an RPM? From
a binary package?
John
-Original Message-
From: maninder s batth [mailto:anywhereinfo;netscape.net]
Sent: Thursday, October 24, 2002 4:37 PM
To: [EMAIL
See javax.servlet.ServletRequest.isSecure()
This should do it:
if ( request.isSecure() ) {
// All is well
}
else {
// Redirect to https site
}
Turner, John wrote:
I only know the inelegant, brute force way, which is to check the request
object for the request type, and if it's
You have to load the module into Apache before you can use it.
Look in httpd.conf for lines that look like this:
LoadModule
Then add one that looks like this:
LoadModule jk_module wherever_you_put_it/mod_jk.so
John
-Original Message-
From: Hai To Thanh
Thanks, but I think there is a better way to do it, such that the request
never even gets to the servlet or JSP page if it isn't secure when it should
be. I just don't know it.
John
-Original Message-
From: Graham King [mailto:graham;gointernet.co.uk]
Sent: Friday, October 25, 2002
I don't have a 3.3.1 install available, so I'm not sure how much more I can
help. What do your Apache logs say when you make a request for that URL?
What does mod_jk.log say?
John
-Original Message-
From: Stephen Graham [mailto:sg3;bigpond.com]
Sent: Thursday, October 24, 2002 8:45
Hi,
webapps
--- AppDir - JSP file
--- Web-inf - web.xml file
-- classes - My Servlet Class files
http://localhost:port/AppDir/Servletclass
In the above configuration, if you have the invoker servlet mapping
enabled
do you mean that the the tomcat user has to have write priveledge for
the directory being written to ??
On Thursday, Oct 24, 2002, at 21:44 Etc/GMT, Sexton, George wrote:
Sounds like a permissions problem to me.
-Original Message-
From: Vijay KN [mailto:KNVIJAY;novell.com]
Sent:
Just put on CLASSPATH c:\jdk1.3\lib\tools.jar and c:\jdk1.3\lib\dt.jar
it will be better
fred
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:Nirav.Shah;arvindmills.com]
Envoyé : vendredi 25 octobre 2002 12:44
À : Tomcat Users List
Objet : tomcat 4.1.12 compilation error
Importance :
Thanks.
But i don't understand why tomcat need to get its classpath in apache
configuration file
and how specifie in tomcat where is this file ...
Where can i find documentation on this subject ?
there is few documentation on
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2 but very light ...
Thanks a lot for your responce. Here's the error I am getting when I put my
xerces.jar version 1.1 in the
common/endorsed directory.
UO.
INFO] Registry - -Loading registry information
[INFO] Registry - -Creating new Registry instance
Platform: Intel PIII, RedHat 7.2, apache 1.3.20, ajp1.3
tomcat 4.1.12, BlackDown Java SDK 1.3.1
When I run with tomcat 3.3 my webapp run as expected, but when I try
it with tomcat 4.1.12, I get a VerifyError when creating one of the
webapp's Action beans. The error output is attached
Platform: Intel PIII, RedHat 7.2, apache 1.3.20, ajp1.3
tomcat 4.1.12, BlackDown Java SDK 1.3.1
The tomcat4 server.xml file came with the Coyote/JK2 Ajp 1.3 Connector
enabled and the normal(?) Ajp 1.3 connector disabled (the class is
org.apache.ajp.tomcat4.Ajp13Connector).
I had to
I have the following in production:
Tomcat 4.1, JDK 1.3.1, and MySQL on a Dual CPU Sun 250 app server and Apache
using mod_jk 1.2 on a separate server. We are now getting 4 weeks continuous uptime.
I stop and restart Tomcat once each month because the minimum memory the java heap
uses over time
If I set a maxProcessors value, Tomcat gives me new connection threads until
it reaches the limit, and then connection requests fail.
The high timeout value is an end user requirement for the app. In any case,
I know that Tomcat is allocating many more threads - upwards of a thousand -
than I
hi there,
i am migrating my projects from php to java and began to set up a
development server that ideally does all the dev work once a project is
marked release i just call an ant task to deploy the project to one or more
(load balanced) production servers.
i have written an ant build.xml to
Yoav,
Did you mean setting maxWait to 0 ?
thanks
-Original Message-
From: Shapira, Yoav [mailto:Yoav.Shapira;mpi.com]
Sent: Thursday, October 24, 2002 7:15 AM
To: Tomcat Users List
Subject: RE: Oracle connection pooling
Hi,
parameter
namemaxActive/name
Hi,
Did you mean setting maxWait to 0 ?
No. I meant that setting maxActive to 5, maxIdle to 3, and maxWait to
-1 does not mean there will be 3 connections on startup.
It's up to the connection pool implementation to decide if it wants to
pre-create the connections on startup, or not. Some
Mr. Tomcat wrote:
Is there a way to turn off tag object pooling? Object pooling was a
cool performance technique in earlier versions of Java, but now object
creation is very fast, so it no longer serves a performance function,
and it introduces extra complexity into tag object design. Is this
I would say Tomcat 4.1.x probably would be good for you mainly if you
uses lots of Taglibs, if they actually will work on it.
Btw, I'm still using 4.0.x... how everybody is doing with 4.1.x? I
heard is too much buggy for production right now.
On Fri, 2002-10-25 at 12:20, Glenn Nielsen wrote:
Okay... so, I've redone my complete Tomcat/Apache setup according to
instructions on John Turner's website:
http://www.johnturner.com/howto/apache1-tomcat404-howto.html
Everything works as it should! :)
Now... I'm completely baffled as to how to set up a virtual host in
server.xml, I'm not
Hi,
I would say Tomcat 4.1.x probably would be good for you mainly if you
uses lots of Taglibs, if they actually will work on it.
Btw, I'm still using 4.0.x... how everybody is doing with 4.1.x? I
heard is too much buggy for production right now.
We're using 4.1.10-LE and 4.1.12-LE in
I'm using Tomcat 4.1.12 on a production site with more than 150 clients and it looks
like to me is better that 4.0.x.
On 25 Oct 2002 11:42:14 -0200, Felipe Schnack [EMAIL PROTECTED] escreveu :
De: Felipe Schnack [EMAIL PROTECTED]
Data: 25 Oct 2002 11:42:14 -0200
Para: Tomcat Users List
Now, what I'm wondering, is since (according to your HOWTO) Tomcat is setup
to create the Virtualhost directive for Apache, will setting up just my
server.xml do it for me, or will I need to setup Apache also?
Curt
- Original Message -
From: Turner, John [EMAIL PROTECTED]
To: 'Tomcat
Nope, just setting up server.xml should be enough. You will need to restart
Tomcat to regen a new mod_jk.conf, then either restart apache or do
`APACHE_HOME/bin/apachectl graceful`.
John
-Original Message-
From: Curt LeCaptain [mailto:lecaptainc;itol.com]
Sent: Friday, October 25,
The jspc command does not put real package names on the jsp.class
files. What happens is each jsp page gets its own classloader so if you
have 2 index.jsp files they will still run. To do what you want to do
you have to have each jsp generated .java file have a real package
name so that when you
I created an ANT script to generate the class files, and I'm with the
same problemas Thomas have. But about this jspc option to generate
web.xml... I think ant doesn't support it, does it?
(I'm using Ant 1.5)
On Fri, 2002-10-25 at 13:29, John Trollinger wrote:
The jspc command does not put
Hallo,
I read that the problem was described many times here, but I cecked all
solutions and got the error again. Please may someone give me a hint.
Attached my config and the exception print. I don't know where I should look
...
I use Tomcat 4.1.12 and J2SDK 1.4.1_01.
my code:
/*
*
I noticed you have the following code in your server.xml file within your
w2k context:
Resource name=jdbc/w2k auth=Container type=javax.sql.DataSource/
I don't have this in mine. Not sure if it's needed. I can connect just
fine without it. Take it out and see if it works.
-Original
sorry, doesn't work!
-Original Message-
From: Short, Dave [mailto:dave.short;pfizer.com]
Sent: Freitag, 25. Oktober 2002 17:56
To: 'Tomcat Users List'
Subject: RE: JNDI Datasource is null, again
I noticed you have the following code in your server.xml file within your
w2k context:
In the past, I've found that I received this type of exception when any of
my connection parameters were wrong (username/password, driver name , etc.).
I'd suggest you review connection parameters carefully to make sure that
isn't the problem.
You do have your JDBC diver class jar file loaded in
I've set up the MySQL example in the JNDI
Datasource HOW-TO located in
.../tomcat-docs/jndi-datasource-examples-howto.html
Works great called from a local browser on
URL http://localhost:8080/DBTest/DBtest.jsp
Works great called from a local browser on
URL
username/password -- are right, I checked with MySQL-Front :-)
driver -- is right and in the directory (mm.mysql-2.0.14-bin.jar)
drivername --
parameternamedriverClassName/namevalueorg.gjt.mm.mysql.Driver/value
/parameter
-Original Message-
From: Short, Dave
can one web-server run on windows 98 ?
Where I download web server ?
Thank for all Fernando.
--
To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
i cant see any descrepency between my own and yours..
only diff i see is the was you do your lookup in one step
Context initContext = new InitialContext();
Context envContext = (Context)initContext.lookup(java:/comp/env);
DataSource ds =
Hi everybody,
If I do loadbalacing with Apache 2.0.40, mod_jk 1.2.0 und Tomcat 4.1.10
I have to enter the ajp13-connector-name into the jvm_route parameter of
each tomcat engine (in server.xml).
mod_jk does the session-true balancing with the help of the jvm_route which
is somehow encoded into
I am new to using war files, and I have run into a problem. I tried
searching the archives and I didn't see an answer to my problem. I am
building the war file from an ant build script. I have tested this on the
pre-war directory and it works fine. The issue I am running into involves
Can anyone answer a question for me? Does Tomcat work as an EJB container,
or do I need to plugin something like openEJB?
thanks
Grant C. Peters
[EMAIL PROTECTED]
phone : 415.948.7030
--
To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands,
Hi Fernando,
On 24 Oct 2002 at 19:51, Correo wrote:
can one web-server run on windows 98 ?
Yes, but I wouldn't recommend this as Win98 is too instable.
Where I download web server ?
Tomcat as application server: http://jakarta.apache.org/tomcat
Apache as web server: maybe
Tomcat does not work as an EJB container.
-Original Message-
From: Grant C. Peters [mailto:grantcpeters;earthlink.net]
Sent: October 25, 2002 9:38 AM
To: Tomcat Users List
Subject: tomcat/EJBs
Can anyone answer a question for me? Does Tomcat work as an EJB container,
or do I need to
thanks
Grant C. Peters
[EMAIL PROTECTED]
phone : 415.948.7030
-Original Message-
From: Short, Dave [mailto:dave.short;pfizer.com]
Sent: Friday, October 25, 2002 12:37
To: 'Tomcat Users List'
Subject: RE: tomcat/EJBs
Tomcat does not work as an EJB container.
-Original Message-
I created my own ant task that does all the jspc.bat does. I have tried
to relay the code to the ant community with no luck..
-Original Message-
From: Felipe Schnack [mailto:felipes;ritterdosreis.br]
Sent: Friday, October 25, 2002 10:36 AM
To: Tomcat Users List
Subject: RE: jspc
Hello,
I am trying to understand how the built-in forms validation works in tomcat 4.03 on
win.
I believe that I have my web.xml file correct, (below). All appears good. If I put in
a bad username and passoword, I go to the error page, but if I successed, it throws up
an error, [Invalid
I setup debug=99 and also set the verbosity=debug for the Logger. I still
do not get any JDBC log information. I am stumped as to what I can do to
debug the pooling mechanism. One would expect some kind of message in the
catalina log
as
-Original Message-
From: Shapira, Yoav
Yes.
Jakarta-Tomcat downloads, for one.
At 07:51 PM 10/24/2002 -0500, you wrote:
can one web-server run on windows 98 ?
Where I download web server ?
Thank for all Fernando.
--
To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
Form-based authentication assistanceHi,
I'm trying to use the new assert statement in my JSP's. So, I set my
JAVA_OPTS environment variable to -source 1.4 -enableassertions (w/o
quotes) but the catalina startup script doesn't like it. And exists
immediately without starting Tomcat.
I'm using
Hi all..
I have i small problem..
I have Apache on host 1 and Tomcat on host 2..
how do i get the connector to talk between the two ? ..that is what do i change
do i set virualhost in apache for host2 or is this configured somewere else ?!
i use ajp13
regards
Siggi
--
To unsubscribe,
On 24 Oct 2002, Mr. Tomcat wrote:
Date: 24 Oct 2002 17:37:36 -1000
From: Mr. Tomcat [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Tag object pooling and immutability in the servlet spec
Is there a way to turn off tag object pooling?
In workers.properties, set worker.worker-name.host to the FQDN of host 2.
VirtualHost in Apache should be whatever virtual host is in the URL, not the
hostname of the machine hosting Tomcat. Ditto in server.xml...the Host
container should have the name of the virtual host in the URL.
John
Check out JBOSS at www.jboss.org goto the downloads link and check this out
JBoss-3.0.3_Tomcat-4.1.12.zip. It might be what you're looking for.
-Original Message-
From: Grant C. Peters [mailto:grantcpeters;earthlink.net]
Sent: Friday, October 25, 2002 11:38 AM
To: Tomcat Users List
On Fri, 25 Oct 2002, Oliver Jonas wrote:
Date: Fri, 25 Oct 2002 18:59:02 +0200
From: Oliver Jonas [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: JSP's and J2SDK1.4 assert statement
Form-based authentication assistanceHi,
Which implies you're putting code in scriptlets, right? Sheesh ...
Java code to implement business logic belongs in Java
classes, not intermixed with your presentation markup in a JSP page.
If only more people would listen to this!
--
To unsubscribe, e-mail:
Hi Craig,
I also tried CATALINA_OPTS... same thing happens. Thinking about it -source
1.4 isn't actually a valid option for java, only for javac. (Maybe
that's why it fails because it starts fine if I only put -enableassertions
in JAVA_OPTS.
So I guess I need to tell Jasper to use the option
Attached is the server.xml config. If you think you want additional
config files, please tell me which files you think would help.
Eric
Robert L Sowders wrote:
Won't be able to pinpoint a problem in the configuration without seeing
the configuration.
Post your configs and we'll see what we
I all.
I'm using Tomcat on win98
Have a problem when call my class error:404
My class are in :
Tomcat 4.1/webapps/servlet1/web-inf/classes/st/Servlet1.class
How call in a brobser my class?
Where put Servlet1.shtml?
I send Servlet1.java and web.xml to you see.
I'm new in Tomcat !!
Tomcat requires the servlet and servlet mappings in the web.xml, this is
the way it works. Essentially, servlets are generated for the jsp pages.
I modified my web application this week to precompile the jsp files and
no longer include these in my war.
The JspC compiler when used with the
Question about appBase...
What exactly would I set that to?
I've got dev.infinity-tech.com as what I want for my website... I want
everything served out of /www/docs/dev.infinity-tech.com/
Is that what I would set as my appBase?
Also, I'm a bit shaky on what the ROOT context is.
Curt L
--
Hi,
What exactly would I set that to?
Depends on what you want to accomplish. We typically leave it as
webapps and specify different (absolute) docBases for individual
webapps as necessary.
If you have several webapps under the same location, you can change just
the appBase to point to that
Hi all,
I'm a newbie at Tomcat and would appreciate the help.
I have installed Tomcat 4.1.12. I have this directory structure for a
servlet. C:\Tomcat\webapps\myApp\WEB-INF\classes and the servlet name is
test. OK. When I try to see this servlet by
http://localhost:8080/myApp/servlet/test, I get
PLEASE DON'T attach files to this list!!
--
- Burt Johnson
MindStorm, Inc.
[EMAIL PROTECTED]
http://www.mindstorm-inc.com
--
To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Tomcat 4.1/webapps/servlet1/web-inf/classes/st/Servlet1.class
Tomcat is case sensitive. Your directory must be Tomcat
4.1/webapps/servlet1/WEB-INF/classes/st/Servlet1.class the web-inf must be
WEB-INF. Windows Explorer has a problem with this. Use the command line if
need be. Also, I assume
Hi,
I have installed Tomcat 4.1.12. I have this directory structure for a
servlet. C:\Tomcat\webapps\myApp\WEB-INF\classes and the servlet name
is
test. OK. When I try to see this servlet by
http://localhost:8080/myApp/servlet/test, I get this; The requested
resource (/myApp/servlet/test) is not
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
Hey everyone,
Check this out.
So I am getting this java exception:
2002-10-25 13:53:40
[org.apache.catalina.connector.warp.WarpConnection] Exception on socket
java.io.IOException: Premature packet header end
at
1 - 100 of 140 matches
Mail list logo