Hi,
I changed some settings as some of you suggested.
Still no luck.
- remove JkMount from global configuration. JkMount directives are
VirtualHost-specific.
It's removed.
- verify the ServerName in httpd.conf matches the name in your Host
container in server.xml
Done.
- change your worker n
We have a problem where when the back button is pressed in the browser it
displays a "This page has expired message. How can i get tomcat to display
the previous page correctly?
The Web server is IIS5 with the redirector 2 connector with tomcat 4.1.24
thanks
chris
>
--
Hi All,
For Each version, I have to update the WAR file with cab files. So I used loop, for
each version the loop will call the target where i am updating the WAR file. the
problem is , first time (first version) i am able to update the WAR file with the cab
files but for the other versions t
Hi everybody,
I am experiencing some strange behaviour with Tomcat 4.1.24 running with a
SecurityManager. The system is running on Solaris 8 using Jdk 1.4.1_02
and/or 1.4.2
Our software seems to use up all available file descriptors. If then tomcat
tries to accept a new request the IO system throw
I prefer a different setup.
We separate the tomcat installation from the site.
With this approach the conf files are placed outside of
the tomcat directory tree. As long as the config files
are compatible, an upgrade is just a matter of setting a
different CATALINA_HOME.
Althoug we didn't use
In the Servlet 2.4-Spec (aka Tomcat 5.x), the RequestListeners come very
close to what you probably want. Otherwise, the answer is no.
"Agarwal, Naresh" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi
Web apps in tomcat run in threads spawned by Tomcat. Do we have any control
on t
This is a pretty good description of what goes on, and it results in the
highly skewed distributions that you are seeing. I had thought that if you
are using Apache-2 with the 'worker' MPM, that you should get a better
distribution (but haven't tried it myself). With Apache-1.3.x or Apache-2
with
FIXME means that the last developer to modify it didn't have time to expand
on the information that they thought should be included. In your particular
case, I don't know of a better reference for this particular FIXME than the
javadocs at
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/d
Look here: http://jakarta.apache.org/tomcat/faq/misc.html#listing
At 19:05 14.07.2003 -0500, you wrote:
Thanks for the reply. Actually, I don't worry about people can do "view
source". I just don't like the fact that they can type in the folder and
list the whole directory tree on the browser.
Actually, it is easier than that: They can just go the the browser's cache
folder and view it from there. As such, you should consider that your .css
files are public info, and leave it at that.
"epyonne =)" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello All,
>
> I just deve
Hi,
I have successfully setup JNDIRealm for FORM based authentication and it is working
perfectly in Standalone Tomcat4.1.24. However, I am unable to do the same in
Tomcat4.1.24 bundled with JBoss. Could any body please help me out in setting up
JNDIRealm in Tomcat4.1.24 bundled with JBoss..
WebappLoader is in $CATALINA_HOME/server/lib, so your class must be as well
if you want extend it.
"Stephen Peck" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Sorry Rita my explaination was a little brief.
>
> I am using Tomcat 4.0.4 on Debian with JDK 1.3.1 and will be upgrading
Hi again, Apache2+Tomcat+mod_jk working find until...
I used a virtual host directive in server.xml, that's fine; but
When I start adding virtual hosts in Apache, one for each developer's
directory, I got following error message :
RemoteORAClient: set URL to http://www.myhost.com/myhost/Re
Hi.
I don't know if this will be helpful but I have heard of people putting
their JSPs and other ancilliary files inside the WEB-INF directory. I'm
not sure what you have to do to make this work but it may well be worth
looking into.
Reg
Sorry Rita my explaination was a little brief.
I am using Tomcat 4.0.4 on Debian with JDK 1.3.1 and will be upgrading
to JDK 1.4 soon.
I have searched the web for an answer on this but no one seems to have
posted any information regarding setting up a custom class loader in
Tomcat.
I have looked
Tim,
Is this definitive? I was hoping this would not be the case. I
think that requiring users to run content replacement scripts against
their config files to accomplish an upgrade will definitely end up
being problematic.
Gerry
--- Tim Funk <[EMAIL PROTECTED]> wrote:
> I don't think it is.
This patch may help if you are compiling with JDK1.3 and using Tomcat5:
http://archives.real-time.com/pipermail/tomcat-devel/2003-February/046413.html
Rita
In a message dated 7/14/03 9:14:05 PM Eastern Daylight Time,
[EMAIL PROTECTED] writes:
> Subj:Custom ClassLoader configuration proble
Listeners must be declared before any servlets in web.xml. I'd check that
first.
-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2003 6:41 AM
To: Tomcat List
Subject: Servlet Context Listener problem...
Hi:
I implemented ServletContextListener
Danke.
Simon Pabst wrote:
>
> This should go to Apache Mailing List propably.
>
> Apache 2 has its own mod_ssl included.
> You still need an installed OpenSSL to use mod_ssl,
> as how to configure:
>
> httpd-2.0.45 # ./configure --help|grep -i ssl
> --enable-sslSSL/TLS support (mod
Can anyone help me with custom class loaders in Tomcat.
I am trying to add a custom class loader that will retrieve classes from
a source other than the normal class path entries and cannot figure how
to get Tomcat to load my Class loader chained to WebappLoader.
I have tried entering the followi
John Turner wrote:
mod_rewrite
mod_jk isn't going to rewrite URLs for you.
Alternatively, in Tomcat's server.xml:
Context pathe="/def" docBase="abc"
but then the URL in the address bar of the browser won't change.
Thanks for the reply. But then what is the purpose
of the "context" entry in:
[ur
Tried like below. Seams simple enough, but it complains about overlapping and
localhost:0. All I want is two virtual hosts that are identical except for the
protocol and port. I think I want overlapping in this case
#Listen 206.128.139.123:80
#Listen 206.128.139.123:443
Listen 80
Listen 443
I don't think it is. But it might be as easy as:
X=/usr/local/tomcat-5.0.3/conf/Catalina/www.vhost.com
Y=/usr/local/tomcat-5.0.4/conf/Catalina/www.vhost.com
cp -r $X $Y
perl -pi -e "s|$X|$Y|" $Y/*.xml
-Tim
Gerry Reno wrote:
One problem that I see with copying the conf/Catalina tree and these
.x
Thanks for the reply. Actually, I don't worry about people can do "view
source". I just don't like the fact that they can type in the folder and
list the whole directory tree on the browser. They can open any file on the
directory and potentially alter the code.
Most web sites I've been to, if
Howdy,
I've noticed that sporadically my tomcat process dies with the following
error in the Catalina.out. Anyone have any ideas on whats going on?
Obviously an exception of somesort, but why the exception?
Thanks,
-gabe
[InMemoryReplicationManager] storing attribute 'artifactbinding' with
val
One problem that I see with copying the conf/Catalina tree and these
.xml files is with paths that are declared within the
.xml files: For example:
in ROOT.xml
...
configFile="/usr/local/tomcat-5.0.3/conf/Catalina/www.vhost.com/ROOT.xml"
...
Does Tomcat know to adjust these paths t
Hi:
I implemented ServletContextListener in my class. I then wrote the xml
in the web.xml file and started tomcat. The error tomcat threw tells me
that it did not recognize the listener and listener-class elements ?? i
have them declared in the web.xml as:
Hi.
I'm not certain about this but it seems to me that it would be next to
impossible to keep the html source from being viewed by someone using
any browser (this is not a server side issue). The source has to be
uploaded to the browser and, once it is uploaded anyone can view source
on the page.
Nicolas wrote:
hi
is mod_rewrite supported ?
example:
RewriteEngine on
RewriteRule^/test$ /examples/servlets/index.html
JkSet uri:/examples/*.group ajp13:unixsocket
the request /test tries to access /examples/servlets/index.html in
document Root
any solution or not implemented ?
i finall
Hello All,
I just developed a JSP application called myapp,
running on Tomcat 4.1.24. How can I keep people from
accessing my files under /webapps/myapp? For
example, people can do a simple "view source" and find
the path to my css file, then they can type in the
path on the browser to access my f
- Move the image to another context?
- absolute URL the image to another place?
- define many - this could be done easily via slurping your
access log and using perl
-Tim
Rick Roberts wrote:
Ahhh! Thanks. That makes complete sense.
I believe that is the correct thing to do.
Now I need to fig
Hi,
I was going through Tomcat documentation shipped with binary distribution (about
Realms). Someplaces, it was mentioned as "see (FIXME - reference to developer
stuff)". what is this FIXME? where can I find information about this.
(This is where I am referring to
http://jakarta.apache.org/
The spec says the action for logging in is j_security_check with parameters
j_username and j_password.
There are no parameters to say what the request/resource caused the security
check. So without extending the spec with custom (non-portable)
functionality, the last request seems to be chosen.
Hi,
I am running Tomcat 4.1.24 on Red Hat Linux 7.3 with Sun JVM 1.4.1.
I am experiencing a problem with a Java webapp (clickshare):
***
3403 [Thread-19] INFO click.cs.CSConfiguration - Reading
configuration file /etc/opt/clickshare/www.mysite.com.conf
java.lang.reflect.InvocationTarg
Good morning Simon.
'RoundRobin' is less likely the more Tomcat's you add I suspect. The
balanced worker program always searches for a new worker by starting
pointers from 1 rather than the last successful worker used, (AFAICT), and
if a worker is free for the task it makes for muddy water indeed i
Your Java Virtual Machine(s) could be crashing.
Search for "HotSpot Virtual Machine Error" in catalina.out and your
application logs.
We had a problem with crashing JVM's (JDK 1.4.1) on Tomcat 4.1.24 (on
Linux) and using ConcurrentGC/ParNewGC.
With ParallelGC the JVM works stable (although Garba
Since Tomcat 5 will be removing vhost contexts from server.xml and
writing them out to conf/Catalina//.xml what will be
the procedure for upgrading Tomcat 5? Right now under Tomcat 4, I
install a new version, change my CATALINA_HOME, move my webapps to the
new version and move all my vhost entri
Hello All,
I just developed a JSP application called myapp,
running on Tomcat 4.1.24. How can I keep people from
accessing my files under /webapps/myapp? For
example, people can do a simple "view source" and find
the path to my css file, then they can type in the
path on the browser to access my
oh DUH. Sorry, I shoulda read that more closely.
So just make login.jsp and its image (or maybe even just the image) the
unprotected resource. Everything else can stay where it is.
But my original ?? about Tomcat using the 'last' rather than the
'causing' resource stands. Why would they imple
That seems to make sense on first read. But...
1) I make a request for a protected resource, say my_portal.jsp, which
contains an image.
2) The container says: "that's a protected resource" and redirects.
3) It authenticates and remembers that my_portal.jsp was the protected
resource asked for.
Hi, All
I'm running multiple Tomcat4.1.18/JSDK1.4.2 instances on Windows 2000 (SP3)
as services. Unfortunately, those tomcat services randomly stopped
unexpectedly. Windows event log didn't tell much detail, Tomcat log either.
Does anyone have this kind of experience? How can I address it? Any
i
Ahhh! Thanks. That makes complete sense.
I believe that is the correct thing to do.
Now I need to figure out a way to *easily* re-arrange my directories to handle
*un-protected* and *protected* areas.
I currently have everything protected.
Protected Area
/*
This is
We have the following setup:
One Apache with HTTPS/SSL with mod_jk (one load balancer, sticky sessions
on) in front
Eight Tomcats in back
Round Robin doesn't work, but instead the Users are distributed on the
Tomcats like this:
Tomcat No.| User Count (approx. daily)
T1 70
T2
See javax.servlet.ServletContextListener.
A context is destroyed and initialized when Tomcat is reloaded.
You can define a context listener in WEB-INF/web.xml:
bla.bla.MyContextListener
Works very well for my applications.
Note: Take a look at the various SessionListeners also. They can
The problem:
We have some codebase that uses a legacy connection pool manager (cpm)
to manage database connections with mysql. The very first time the
login.jsp is used by a user causes an instance of cpm being created
and stored in the application context. The cpm gets and frees
connecti
The problem you are experiencing is caused by mod_webapp's configuration
peculiarities, not by any deficiency in Tomcat or the Tomcat Manager app.
Since mod_webapp is no longer actively developed, my guess is you will have
to develop a workaround on your own if it is causing you problems. I
s
We have a problem where when the back button is pressed in the browser it
displays a "This page has expired message. How can i get tomcat to display
the previous page correctly?
The Web server is IIS5 with the redirector 2 connector with tomcat 4.1.24
thanks
chris
--
Reason #953 why you shouldn't use mod_webapp.
My point is simple: if it is a separate web application, and it is
working, then it should be accessible via the Tomcat Manager application.
There is no reason whatsoever to involve Apache or mod_webapp if doing so
is causing you grief. Just talk
If you are running under a security manager - you'll need to tweak your
security policy to allow that class to make native calls.
-Tim (The guy who never did that before)
Ke Song wrote:
John,
Thanks a lot for your prompt help. The point that I wanted to find out is if there is
restriction on in
>I don't use mod_webapp. If you are contacting Tomcat's manager on port
>8080, Tomcat will behave according to the host header (host name) used in
>the URL. If there's a web app under that host name and everything else is
>correct (permissions, etc.) then you can manage the web app.
This is not
AIX 4.3.3
Apache 2.0.36
Tomcat 3.2.4
Anyone have the mod_jk for this setup or can help me with the build?
The docs for this seem to be different on each site I get them from. I
haven't been able to build this or find a pre-compiled version that
works. Any help will be greatly appreciated.
I don't use mod_webapp. If you are contacting Tomcat's manager on port
8080, Tomcat will behave according to the host header (host name) used in
the URL. If there's a web app under that host name and everything else is
correct (permissions, etc.) then you can manage the web app.
John
On Mon,
The JVM itself has native method system calls, so I highly doubt it.
John
On Mon, 14 Jul 2003 12:40:32 -0700, Ke Song <[EMAIL PROTECTED]> wrote:
John,
Thanks a lot for your prompt help. The point that I wanted to find out is
if there is restriction on invoking system call on Servlet container o
Will I be able to control all the webapps mounted with Apache/mod_web app
from this single Manager webapp using Tomcat native http connector on port
8080?
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: 14. juli 2003 21:28
To: Tomcat Users List
Subject: Re: Is it pos
John,
Thanks a lot for your prompt help. The point that I wanted to find out is if there is
restriction on invoking system call on Servlet container or other J2EE app server. My
senario is : My servlet will load a native library via JNI, the native code has system
calls. It seems that the system
Don't use mod_webapp.
Contact the Tomcat Manager on port 8080 (use :8080 in your URL), and avoid
Apache entirely.
John
On Mon, 14 Jul 2003 21:25:35 +0200, Ove Heimark <[EMAIL PROTECTED]> wrote:
It would be convenient to be able to control each web application in
automatic deployment/update rou
It would be convenient to be able to control each web application in
automatic deployment/update routines from ANT or other shell scripts
executing locally.
When using Apache webserver and mod_webapp to map virtual hosts to webapps,
the usage of the Tomcat Manager application seem to be unsupporte
String command = new String();
command = "put your system call here";
java.lang.Process process = java.lang.Runtime.getRuntime().exec(command);
process.waitFor();
if (process.exitValue() != 0)
{
throw new Exception("My System call did not work! Exit value = " +
process.exitValue() );
}
John
On M
Hi,
Is System Call allowed in the Servlet Container? Please help.
Thanks.
Ke
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Since ssl is required/not required based on the directory, how can I have ssl and
non-ssl users access the same files with only the protocol & port different? Is this
why I would use separate virtual hosts?
Thanks
Chuck
-Original Message-
From: Rick Roberts [mailto:[EMAIL PROTECTED]
Thanks at all. I will try FileUpload of Apache.I have already gotten
Oreilly's package too.
Regards,
Euclides.
-Mensagem original-
De: Reginald Oake [mailto:[EMAIL PROTECTED]
Enviada em: segunda-feira, 14 de julho de 2003 13:41
Para: Tomcat Users List
Assunto: Re: [off-topic] - Where can
That looks like a trailing slash problem,
you requested /Friss, but mounted only /Friss/
Either use the following JkMount additionally:
JkMount /Friss worker1
Or use Apache's mod_rewrite to put a trailing slash to URL if it there is none.
http://httpd.apache.org/docs/misc/rewriteguide.html
Also mak
Tomcat 4.1.24 is included in Out-of-the-Box 2.1, an intelligent
distribution of over 100 Open Source projects for Java developers on both
Linux and Windows.
Major changes since Out-of-the-Box 2.0:
* Added Oracle and DB2 integration for JBoss and the sample projects
* Semi-automatic database sw
Probably, that way it stays visible.
-Tim
Gerry Reno wrote:
Tim,
Ok, I found that in conf/Catalina/ the subdirectories are the vhosts.
In the vhost subdir I found a .xml file for the ghost
context. I removed this file and restarted Tomcat and the ghost
context disappeared. Just to test I red
Tim,
Ok, I found that in conf/Catalina/ the subdirectories are the vhosts.
In the vhost subdir I found a .xml file for the ghost
context. I removed this file and restarted Tomcat and the ghost
context disappeared. Just to test I redropped the war file in the
vhost webapps dir. The context app
A couple of things...
- remove JkMount from global configuration. JkMount directives are
VirtualHost-specific.
- verify the ServerName in httpd.conf matches the name in your Host
container in server.xml
- change your worker name to ajp13 (worker1 is probably OK but since it
doesn't matter, t
Crazy question: Did you type the url literally like the one below
(minus the period at the end of the sentence of course)??
When you go though the mod_jk you need to have a traling slash, so
http://www.connecties.com/Friss/
This is due to the matching functionality of the mod, and the way in
w
Hi.
>From the look of the error message it appears that your CATALINA_HOME
environment variable is not set. It should be a global environment
variable (under windows) or if you are using some flavour of unix set it
in /etc/profile.
Also, it appears that you do not have a TCP/IP stack available. I
at first sight you can see
chcesize=10 instead of cachesize=10
in your workers.properties
you can start there. :-)
On Mon, 2003-07-14 at 18:35, Werner van Mook wrote:
> Hi all,
>
> Here is another user of mod_jk who's now officially lost.
>
> I have apache 1.3.x with tomcat 4.1.24
> I
Hi.
According to the book Java Servlet Programming the cos.jar file can be
found at www.servlets.com.
On Mon, 2003-07-14 at 01:22, Guus Holshuijsen wrote:
> Try http://examples.oreilly.com/jservlet2/. There you will find a link to
> http://www.servlets.com/cos/.
>
> Regards,
> Guus
> - Orig
Hi all,
Here is another user of mod_jk who's now officially lost.
I have apache 1.3.x with tomcat 4.1.24
I installed mod_jk
in httpd.conf I put :
LoadModule jk_module modules/mod_jk.so
.
.
.
# MY OWN STUFF HERE
AddModule mod_jk.c
JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile
For a ultra clean sweep (i think) ...
- Stop tomcat.
- Look for any directories in the webapps dir (or alternate defined by
server.xml)
- Look in conf's sub-directories for xml files.
- Look for any war files
You shouldn't need to do these 2 because these shouldn't happen (IIRC) ...
- Look for a
In one of my vhosts I have a webapp that was installed by dropping a
war into the appropriate directory for this vhost. The webapp works
fine. I subsequently wanted to remove this webapp for the vhost so I
went into the vhost manager app and selected 'Undeploy' link. It
responded with "FAIL -
Does anyone know the encryption algorithm Tomcat uses on ssl connections.
I am trying to connect with an I-planet proxy and I am getting the
following error message:
retrieve-exit-routine reports: proxy retrieve failed: Netscape and this
server cannot communicate securely because they have no comm
OK, I surrender, my config is:
Apache/2.0.46 (Tru64 5.1A)
mod_jk/1.2.3-dev
mod_ssl/2.0.46
OpenSSL/0.9.6g
when I setup load-balancing everything stops working, first page gets
its ,(jvmRoute name) appened in the end of the URL, but all others
don't.
If balanced_workers remains with only one work
Have your seen?
http://jakarta.apache.org/tomcat/faq/misc.html#compile
Others have also had to add $JAVA_HOME/bin to their $PATH before starting tomcat.
-Tim
[EMAIL PROTECTED] wrote:
I am new to the User form, and am having a problem and noticded that you
seem to have allot of experince and knowl
The one that works for you. Any other opinion is a foundation for a religious
OS war.
As for JVM version under a particular OS ... the answer is still the same.
You still need to stress test your app and benchmark it. Both JVM's have bugs
(like all software), but the most important bug is the o
(Guessing)
Put the image in an unprotected area. Since the image was the most recent
request under a secutiry contraint, you are being redirected to that request
on successfull login.
-Tim
Rick Roberts wrote:
I have JDBCRealm and Form Based AUTH.
I have an image in my login.jsp file.
Like this
Thanks carlos.
I was missing a portion of the myapp.xml.
I was missing the (scope="Shareable") in the Resource parameter. What other
values can scope have?
Just FYI, Its fine to have the context file, myapp.xml in
$CATALINA_HOME/webapp/ directory . it works.
Thanks again..
Jeff
-Origina
aha!!
Ok, I looked at the xml dtd declaration at the top... the error was that my web.xml
said
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";
when it should be 2.3 !
I compared my web.xml with the web.xml file from the example apps and saw the
discrepancy. That makes all the difference i
Howdy,
Is your web.xml valid according to the Servlet Specification v2.3 DTD?
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Turansky, Mark [mailto:[EMAIL PROTECTED]
>Sent: Monday, July 14, 2003 11:16 AM
>To: [EMAIL PROTECTED]
>Subject: SAX Exception
>
>I get these e
Have a look at RUNNING.txt in the tomcat 4 distribution:
(4) Advanced Configuration - Multiple Tomcat 4 Instances
...
(The exact text and number may vary in your distribution,
my RUNNING.txt is quite old)
The following is for unix and tomcat standalone. But it
should be a good starting po
I get these exceptions
SEVERE: Parse Error at line 175 column 12: Element type "listener" must be declared.
org.xml.sax.SAXParseException: Element type "listener" must be declared.
SEVERE: Parse Error at line 176 column 25: Element type "listener-class" must be
declared.
org.xml.sax.SAXParseE
Perhaps these folks can help you out:
http://forum.java.sun.com/
John
On Mon, 14 Jul 2003 08:03:23 -0700, Michael Ni <[EMAIL PROTECTED]>
wrote:
I have this problem where my applet will only work properly if I move the
mouse cursor over the applet. Once I do that all is ok but if I do not
the
http://jakarta.apache.org/tomcat/faq/misc.html#invoker
You'll need to map your servlet to a URL.
John
On Mon, 14 Jul 2003 17:02:17 +0200, Astrid Wagner
<[EMAIL PROTECTED]> wrote:
Hi,
This is an (hopefully) easy question:
I run my new web application but do not seem to get the servlet to run.
I
I have this problem where my applet will only work properly if I move the
mouse cursor over the applet. Once I do that all is ok but if I do not the
browser just hangs loading the applet, I just get a grey box. Does anyone
know why? im using java 1.4.1
mike
__
hello world (haha, running gag)
i've installed and connected succesfully tomcat 4.1.24 with apache 2.0.45
now my problem is the following:
i'd like to get multiple instances of tomcat without installing tomcat
another time (so just by configuring).
the goal is to achieve several webapp - 'conta
Hi,
This is an (hopefully) easy question:
I run my new web application but do not seem to get the servlet to run.
I can run a simple index.html page
(machine:port>//index.html) within my web application
installation so $CATALINA_HOME/webapps//index.html is
found. But when I try to call a servlet
I have JDBCRealm and Form Based AUTH.
I have an image in my login.jsp file.
Like this:
When I navigate to myApp/index.jsp, I get redirected to my login.jsp
file (just as I should).
But, when I login, I get redirected to the image referenced in
login.jsp, instead of to index.jsp.
It kinda makes
I am new to the User form, and am having a problem and noticded that you
seem to have allot of experince and knowledge. I have installed the Java
1.4.0 and Tomcat 4.1.24. Took all the defaults. Got the usual error(see
below), could
not compile JSP, either the Admin Tool or sample code. Tried the J
Hello,
A while back I saw some postings about Servlets taking a long time to
display (20sec or more). I know of a website www.globeandmail.com where
that exact problem occurs. I suspect that they are using Tomcat as
their Servlet container. I missed most of the discussions about this,
would any
Are you trying this on a laptop/standalone machine that has no network
stack? You need a TCP/IP stack.
(It could be another process is listening on the same IP/port; but the usual
symptom in that case is a different error)
> -Original Message-
> From: Souren Sinha [mailto:[EMAIL PROTECTE
Thanks to the WIKI page I've gotten almost everything working correctly
with JK2.
The only thing that I'm not able to do is start Tomcat inprocess.
When I try to start Tomcat inprocess I get an error saying that apache
couldn't find the libjvm.so file.
Here is the error:
[Fri Jul 11 17:38:10 2
j2ee.jar contains classes that would conflict with Tomcat, so maybe just
use
mail.jar
activation.jar
Both of these are available from java.sun.com
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 11, 2003 11:13 PM
> To: Tomcat Users List
> S
Hi,
which jre should I prefer in production version for tomcat-4.1.24 under
Linux and Windows? j2re1.4.2 or j2re1.4.1_03?
Zsolt
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Creating my own exceptions is probably the best solution for now.
But I also found this 'solution'. Now I can catch all and exclude some.
org.apache.jasper.JasperException
/progs/does-not-exist-so-we-get-the-default-error-handler.jsp
java.lang.Throwable
/progs/error.jsp
Greeti
I don't really understand your question apart from the problem that all exceptions
shows your error page. This is because you have set up Throwable in your web.xml file.
"The Throwable class is the superclass of all errors and exceptions in the Java
language. " is a snippet from the documentatio
Someone had this exact same problem last week and was able to resolve it with
help from the list. If you search the archives, you will find out how.
http://www.catb.org/~esr/faqs/smart-questions.html
On Monday 14 July 2003 08:40 am, Angus Mezick wrote:
> 1) Please send this request and all
Hello,
If I use error-page in web.xml, jsp compile and runtime errors are going
to the error handler. If you use errorPage='error.jsp' only runtime
errors are handled by my error page.
I put this in my web.xml:
java.lang.Throwable
/progs/error.jsp
Actually, I see in another thread that mod_jk2 and mod_rewrite don't work
well together, so you might be out of luck until the bug is fixed. You
could also try mod_jk instead...AFAIK, mod_jk and mod_rewrite work well
together, though I don't use mod_rewrite.
John
On Mon, 14 Jul 2003 08:39:09
1 - 100 of 123 matches
Mail list logo