Vincent,
What are your servlet and servlet-mapping entries in the web.xml file in
WEB-INF?
Vincent Yau wrote:
Sorry for my earlier post. I found the answer in the release notes...
sorry
--Vincent
-
To unsubscribe, e-ma
With a servlet filter you have the code to store the id just in
one place. No redundancy and you can never forget to add this
code in a new page). So this is a good approach with any of the
suggested solutions (Log4j, ThreadLocal or Hashtable)
> -Original Message-
> From: Roland Nygren
Hello dear tomcat users...
can any one tell how to convert text files made by
org.apache.catalina.logger.FileLogger into access files of
org.apache.catalina.valves.AccessLogValve.
thanks
Farhan
Folks,
I'm having trouble connecting to a mysql database through Tomcat. I'm
using Tomcat 5.0.9a with mysql 4.0.14. I have the mysql 3.0.8 JDBC
driver in ${TOMCAT_HOME}/common/lib. I'm running RedHat 8.0 with a
stock kernel.
I've been able to connect to the database without JNDI services. I
what do you mean dropped?
disappearing all together? never seen that happen
Filip
> -Original Message-
> From: Neil Aggarwal [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 20, 2003 10:28 PM
> To: 'Tomcat-User'
> Subject: Sessions dropped under load?
>
>
> Hello:
>
> We are using
I'm guessing that you didn't install your CA's cert in MSIE's root
certificates. Since Tomcat will ask for certs signed by your CA, if MSIE
can't find any (that it can verify the chain with), you get an empty box.
"Ratón Lacarcel, Antonio" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTE
It looks like you haven't setup /dev/zero correctly in your jail.
Ever since 2.7, I've found it to be a lot of work to setup a chroot jail on
Solaris. I usually just use a SecurityManager instead (which is almost as
good).
"Steven W. Orr" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTE
All you have to do is to unzip the file into $CATALINA_HOME (with the "use
pathnames option if that isn't the default), and it will end up in the
correct place. The correct place is:
$CATALINA_HOME/server/classes/org/apache/catalina/core/StandardContext.class
. This works since Tomcat's ClassLoad
Hello:
I have a question:
Does Tomcat get rid of sessions when it run out of memory?
We are seeing sessions disappear on our app and are trying
to find an explanation for it?
What does Tomcat do when it begins to run out of memory?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)
Hi all here ,
(B
(BI have integrated tomcat4.1.27 and apache2.0.47 using mod_jk2, and work
(Bfine, because I have set my apps "souko" as the default apps in tomcat, and
(BI want so in apache, so I define the following uri in workers2.properties
(B[uri:*/*]
(B..
(B
(Bit is ok, because I can
Title: CV_Therapeutics
Dear Applicant:
We have received your employment inquiry and would like to thank you for giving us the opportunity to review your resume. It will be evaluated by a member or our Human Resources staff and then forwarded to those supervisors who may be able to utiliz
try setting CATALINA_HOME to e:\jakarta-tomcat-4.1.18
[EMAIL PROTECTED] wrote:
:
Yesteday, I have installed tomcat (winXP platform), then I use it right
away. but next day morning when I started it again it won't work. the
message said that CATALINA_HOME environment was'not set correctly.
I che
:
Yesteday, I have installed tomcat (winXP platform), then I use it right
away. but next day morning when I started it again it won't work. the
message said that CATALINA_HOME environment was'not set correctly.
I checked the variable environtment, it's correctly set
(e:\jakarta-tomcat-4.1.18\bin
Hi John,
Thanks for the pointers. I found a good tutorial on vhosts but using jk2 in
the Tomcat 4.1 docs. So it helped a little. I have change to using
DocumentRoot, less confusing. I also tried full paths instead of relative. I
had removed the Context entries because it meant I could at least typ
I've attached my build.xml (with changes to IPs and passwords :))
The kind of setup I'd recommend is this:
local developer machines (windows, linux, bsd, whatever) running
local copies of tomcat, eclipse for an IDE attached to your CVS
repository and ant either run from command line, or laun
Sorry for my earlier post. I found the answer in the release notes...
sorry
--Vincent
Dear All,
I have a servlet config issue.
I have been developing an application on a Sun-Solaris/Tomcat 4.1.18 platform.
I have modified the server.xml to include my own application domain.
It has some JSP and also some servlet which I placed
under TOMCAT_HOME/webapps/my_app/WEB-INF/classes.
They
Have you tried using Í instead?
- Original Message -
From: "Oscar (Eccox)" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, August 21, 2003 3:37 PM
Subject: Special Caracters Problem
> Hi,
>
> I'm from Brazil and I have a problem with special caracters...
Hi,
It seems that the second VirtualHost I have set up for my second domain name
is not paasing the requests through mod_jk to Tomcat. It is not even clear
that you can support 2 virtualhosts for different domains with the same IP
address and port 80.
This is a separate problem to the www.stpenabl
I have setup Apache 2.0.47 on Windows XP to serve
jsp/servlet requests
using Tomcat 4.1.27. I did this using the mod_jk2
module and was able
to successfully connect to http://host/examples and
get the tomcat
example pages. I'm using JDK 1.3.1-03.
I then configured mod_deflate and was able to verif
Hi,
I'm from Brazil and I have a problem with special caracters... In an
environment with TOMCAT 4.1.24, everything works fine when I use this
kind of code in a page 'index.jsp':
and the content of is something like
'Consultas Disponíveis'. (I use
<%=request.getParameter("
At 08:48 AM 8/21/2003, you wrote:
> > 1. Online documentation about class loader says,
> > System class loader operates on CLASSPATH. I have
> > included j2ee.jar in my CLASSPATH, but tomcat is
> not
> > picking it up. Why is it so?
>
> Wherever you saw these docs, they are wrong. Tomcat
> ignores
This is likely related to the issue in the following threads:
"ResourceLink and DefaultContext"
"Globally defined JNDI DataSource (was: JNDI DataSource Realm)"
Only difference being that yours is JDBC and these others are JDBC through
JNDI. You get the "driver class 'null'" error, we get the "jd
Did you remove the Context entries for some reason? They are critical.
Also, in httpd.conf you have:
# Static files
Alias /rwsite "/usr/local/tomcat/webapp1/rwsite"
and later
JkMount /rwsite/servlet/* worker1
JkMount /rwsite/*.vm worker1
Thus, the URLs that Apache would expect would
Alternatively, you can change where httpd.conf looks for the file, copy your
desired file to that location and not care if Tomcat recreates it.
-Original Message-
From: Lajos [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 12:39 PM
To: Tomcat Users List
Subject: Re: Disabling cr
Is the only way to apply the patch by the following procedure:
1. unzip the jar file *
2. replace the class in the hotfix
3. zip into the jar file ago.
* which one of the three jar files is the jar file?
Any better way to get it done? And why don't get a new build with the fix?
v.
samckins wrote:
Thanks for all the help.
I will have access to a writ able drive and will direct outputs accordingly.
Well, maybe not Have a look at the Knoppix Linux project. This is a
Linux distro that runs from CD, and sets up RAM disk for write
operations. I've always wanted to set u
Thanks for all the help.
I will have access to a writ able drive and will direct outputs accordingly.
-Original Message-
From: Halstead, Chris [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 1:55 PM
To: Tomcat Users List
Subject: RE: running tomcat from CD
Thus the request for
Via the spec: (SRV.11.2 Specification of Mappings)
"A string containing only the ’/’ character indicates the "default" servlet
of the application. In this case the servlet path is the request URI minus
the context path and the path info is null."
As for "images/foo.gif", this is translated to /i
Thus the request for clarification on what our good friend Scott means by
'completely'. If access to writable disk is not available, the whole shootin' match
is off...
I think we agree, we just said it in different ways ;-)
-chris
>
> Howdy,
> Note, however, that all FileLoggers have a confi
At 07:20 AM 8/21/2003, you wrote:
Can we do this:
Compiling JSP files beforehand after translating them to .java files using
jspc. then can I deploy the
generated classes on Tomcat server so that when a request is made to the jsp
the tomcat should
consider the respective class for the JSP. I dont
http://marc.theaimsgroup.com is a good one. Choose Tomcat-user (under
"Java"), then do a search.
http://jakarta.apache.org/site/mail.html also lists other archives at
the bottom of the page, in case marc.theaimsgroup doesn't suit you.
Jeff Tulley ([EMAIL PROTECTED])
(801)861-5322
Novell, Inc.,
Apache 2.0.47 - mod_jk2 will compile as a DSO but Apache won't start due
to a symbol error. I _thought_ I'd got everything working fine with
mod_jk, then I ran into the response problem.
John
-Original Message-
From: Martin Smith [mailto:[EMAIL PROTECTED]
Sent: 21 August 2003 16:50
To: T
How do I access the archives?
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 10:32 AM
To: Tomcat Users List
Subject: Re: running tomcat from CD
And this was discussed a few times in the archives!
-Tim
Shapira, Yoav wrote:
> Howdy,
> You woul
Is it just me, or did he say he was using mod_jk? That should work with
Apache 2 just fine. (At least it does on my system, NetWare).
What is the exact Tomcat version? Where did you get mod_jk, what
version is it?
Jeff Tulley ([EMAIL PROTECTED])
(801)861-5322
Novell, Inc., The Leading Provide
Howdy,
Note, however, that all FileLoggers have a configurable directory. The
workDir for host and context is configurable as well. The
system.out/system.err destination is set to
$CATALINA_HOME/logs/catalina.out in $CATALINA_HOME/bin/catalina.sh and can
be changed at will.
So a more accurate an
Hi
Can we do this:
Compiling JSP files beforehand after translating them to .java files using
jspc. then can I deploy the
generated classes on Tomcat server so that when a request is made to the jsp
the tomcat should
consider the respective class for the JSP. I dont want to distribute the
source
Has anyone come across this exception?
javax.servlet.ServletException: Exception processing JAR at resource path
/WEB-INF/lib/jaxb-api.jar
at org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)
at org.apache.catalina.startup.ContextConfig.tldScan(ContextC
Howdy,
I'm glad you're using it, figured it out so quickly, and like it ;)
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Roland Nygren [mailto:[EMAIL PROTECTED]
>Sent: Thursday, August 21, 2003 12:31 PM
>To: [EMAIL PROTECTED]
>Subject: RE: How to keep same thread du
Howdy,
>I found this documentation at
>http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
.
>Did I misunderstand it or it says what I am thinking?
You misunderstood it.
>Why is using j2ee.jar with tomcat is not recommended?
Because it contains duplicate older versions of c
Howdy,
Comment out the element whose port="8080".
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Dionisio Ruiz de Zarate [mailto:[EMAIL PROTECTED]
>Sent: Thursday, August 21, 2003 11:04 AM
>To: Tomcat Users List
>Subject: 8080
>
>anybody can says me what must i to d
Actually, isn't "/" the default servlet ? "/*" would be "every
request", but just a single slash is 'when you don't recognize a
request, try this servlet'.
Do you think would work? (no leading / on
the image path)
> -Original Message-
> From: Tim Funk [mailto:[EMAIL PROTECTED]
>
Hello,
I have set up the apache webserver do ssl and it works well, but the .jsp files are
not found even though they are in the same directory.
www.domain.com/ssl/index.html works
www.domain.com/ssl/index.jsp doesn't work
My httpd.conf has the following:
ErrorLog logs/ssl_error_log
Tr
Volker -
Just copy the contents that you want directly into httpd.conf (you might
have to merge settings). Then disable the Listeners in
httpd.conf.
Regards,
Lajos
Volker wrote:
Hi,
a few weeks ago I asked here how to make tomcat create a mod_jk.conf under
/conf/auto
Now - all things run co
Hi Shapira,
I updated my log4j.properties with:
log4j.appender.R.layout.ConversionPattern=%p %t %c - %x %m%n
where %x defines NDC output.
Added the following code to my JSP:
int callId = session.getAttribute("CallId");
org.apache.log4j.NDC.push("CallId:" + callId);
...
org.apache.log4j.NDC.remove(
Environment is Solaris 2.8 with java 1.4.2.
I have the tomcat book and I'm trying to set the jail up. I created the
directory structure and using ldd I rang out the list of shared objects
that are needed. I'm not getting past running java.
Using normal unchrooted java, here's what I get:
bash
anybody can says me what must i to dellete (or comment) into the server.xml
file for not respond the tomcat into the 8080 port?
thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
JK2 works with later versions of Apache 2. Around 2.0.43 the version of
JK2 you used was real picky about what version of Apache was being used.
But anything after .43 should work with JK2.
-e
On Thu, 21 Aug 2003, Martin Smith wrote:
> Hi,
>
> I think I'm right in saying that mod_jk2 only wor
> - I've got level=DEBUG in my logger component, and debug=9 in several other
> components. Yet I am not getting any debug-like info. Alos the jkstatus page
> shows debug levels=0 for all components. How do I get omore info in my
> logfile so I have a chance of finding out what my other problems ar
Hi,
I think I'm right in saying that mod_jk2 only works with Apache 2.0.43.
What's your exact Apache version???
Martin
-Original Message-
From: J.P. Wadkin C9951627 [mailto:[EMAIL PROTECTED]
Sent: 21 August 2003 15:57
To: tomcat-user
Subject: Problem with mod_jk and CoyoteConnector
Ap
--- Bill Barker <[EMAIL PROTECTED]> wrote:
>
> "srinivas reddy" <[EMAIL PROTECTED]> wrote
> in message
>
news:[EMAIL PROTECTED]
> > Hi,
> > I am using tomcat 4.1.24. I have a couple of
> > questions.
> >
> > 1. Online documentation about class loader says,
> > System class loader operates on CLAS
Hi,
a few weeks ago I asked here how to make tomcat create a mod_jk.conf under
/conf/auto
Now - all things run correctly and I do NOT want to overwrite tomcat the
"mod_jk.conf" each time tomcat is restarted.
So my question this time is how to prevent tomcat from generating a new
mod_jk.conf next
We're running into an odd problem with the Session being null when we
try accessing a webapp as a virtual host. If the URL specifies the
webapp, a Session is created and the app works as expected. For
example...
The server.xml virtual host entry looks like:
The first thing the webapp's i
And this was discussed a few times in the archives!
-Tim
Shapira, Yoav wrote:
Howdy,
You would have to at least modify tomcat's work and temp directories.
The servlet container is required to provide a writeable temporary
directory for each context, so unless the CD is writeable all the time
via
Hello all,
I have tomcat 4.1.27 running ok. I have two connectors defined, a http one
on 9080, and an ajp13 one on 9009
(My system runs AIX 5.2.something)
Accessing http://localhost:9080 I get the tomcat start page, and I can
access the examples, the manager application etc. without any problems.
Hi,
Sounds good.
I would
In the servlet where the session is created I would store the CallId with
session.setParameter("CallId", callId);
callIdListSingleton.set(Thread.currentThread().hashCode() , callId);
and the in all other servlet / JSPs
int callId = session.getParameter("CallId");
callIdLis
Clarify 'completely'. If you have no access to writable disk you'll be unable to
produce logs or persist context data under ./work. I suppose that you could do some
fancy stuff with a RAMdisk, assuming that you are running on an OS that supports this.
With an out of the box binary set you wou
Apache 2
Tomcat 4.1
JDK 1.4
Solaris 8
I've configured a server to use mod_jk with the Coyote connector
(mod_jk2 doesn't work for some reason):
I've noticed that after about 10 page requests the server randomly
starts serving either half a page or no page at all (just blank). It
becomes progres
I have a tomcat 4.1.24 server session time of 20min, when the session time
expires I want to show the login.jsp page with the error message. How do I
do that in my web.xml file.Will appreciate any help!
Thanks - srini.
-
To unsub
Actually I should qualify what I said. I have stpenable as the default Host
so you can see www.stpenable.com/se/servlet/se/templates/index.vm but for
some reason you cannot see
www.roamware.co.uk/rwsite/servlet/rwsite/templates/index.vm which is the
second of the VirtualHosts in my conf file. They
Hi John,
Thanks for the reply. I have fixed the workers.properties and related stuff
in the httpd.conf you pointed out below.
What I want is to see what i see at
www.stpenable.com/se/servlet/se/templates/index.vm to be what I see when I
hit www.stpenable.com Ditto for www.roamware.co.uk to see
ww
Thanks, this works perfectly!
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 20, 2003 12:27 PM
To: Tomcat Users List
Subject: Re: Processing .html files like JSPs
The quick way (but there are other ways too)
In $TOMCAT_HOME/conf/web.xml
jsp
Hi,
Accepting a binary from strangers is risky business, IMHO.
Maybe if you post what troubles you are having someone can help?
The documentation is in the mod_jk source file.
-e
On Thu, 21 Aug 2003, Fitzmaurice, Paul wrote:
> I am having problems building a connector for iPlanet 6 on Solaris
Howdy,
I like Senor Einfeldt's filter suggestion.
One other interesting possibility for you would be log4j's mapped diagnostic context
(MDC: http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/MDC.html) which
handles these things automatically on a per-thread basis, so you might not have
Howdy,
You would have to at least modify tomcat's work and temp directories.
The servlet container is required to provide a writeable temporary
directory for each context, so unless the CD is writeable all the time
via regular Java IO APIs, you have to do the above.
Yoav Shapira
Millennium ChemIn
The threads are request based.
Each Thread services one request at a time.
So store the id at the start of each request in a global
ThreadLocal or a global Hashtable with the thread as key.
Then you can access this id from any method called in the
lifetime of the same request.
If you have se
I think there's some confusion...you only need this in workers.properties:
# BEGIN workers.properties
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
".host" = "location of Tomcat"
When I first started trying to connect Tomcat and Apache a year ago, I
Is there a way to run Tomcat completely off of a CD-ROM?
Thanks
Scott
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have an application consisting of JSPs, Servlets and Java classes running
in Tomcat 4.1.
Normal HTTPSession isused to keep customer session.
Each new customer session is given a unique Id called CallId.
I.e. must this CallId be used in all logging.
I would like to not have to pass this CallId as
Hi!
I have a problem with Tomcat 4.0.6 and SSL client authentication. When I use the
Internet Explorer browser (v6.0) and I try to access the secure URL (for example
https://whatever:8043), an empty list of certificates is presented. However, if I use
Mozilla 1.4 or Netscape 4.76, the client c
Hi,.
I have read John Turner HowTo and the Galatea ones too. I have tried
multiple different combinations of these. I found John's assetion that
Tomcat does not generate multi VirtualHosts, but you can take the generated
one, insert at the bottom of the httpd.conf and modify it to work. I know
mod
I am having problems building a connector for iPlanet 6 on Solaris 8, does
anyone have one built which they would like to share? Also, if you would be
so kind as to pass along the iPlanet config settings to connect to a remote
Tomcat Server.
Thank you,
Paul
I have the following recommendations:
- put a 'set -xv' in all batch scripts that are part of
the startup procedure.
- I'm not familiar with HP/UX. Under linux I would try
to strace the startscript. (Under solaris it's truss)
> -Original Message-
> From: Lott, Carey [mailto
Hi,
I am having a problem with Apache2 + mod_jk + Tomcat 4.1.24 when my site
is under heavy load. Apache2 is configured to use worker MPM
(multi-threaded), mod_jk is configured to use cachesize and
cache_timeout and Tomcat 4.1.24 is with the following configuration in
server.xml:
...
...
Th
Howdy,
>Problem is, if I increase -Xmx and don't touch anything else, I get
this
>OutOfMemoryError too. The system has 1.2 GB to 1.4 GB of memory free
when
>this error occurs.
As I mentioned in a previous email, the above suggests memory is not
really the problem. Rather, you need to investiga
Howdy,
>> >It seems that TC4 has some algorithm which tags objects (read
>> >HttpRequests) as long- or short-lived.
>>
>> Please do tell where you got that impression? ;)
>>
>Actually I got that out of the book "Professional Apache Tomcat".
>Better than reading through reams of JAVA codes :-))
Here you go:
Oscar's page should be all you need:
http://daydream.stanford.edu/tomcat/install_web_services.html
Check the bottom of the page for his tomcatd script. Then use
/sbin/chkconfig --add tomcatd
to install it.
John
Stuart Stephen wrote:
I already have done the hard work of intergr
Howdy,
>Aha, are there actually different reclamation algorithms that I can
>select from ??
>I mean, like some parameter in catalina.sh ??
There are many different collection algorithms and settings available,
which can have a *drastic* effect on how garbage collection behaves.
These are all JVM
Howdy,
Set reloadable="false" for your context to avoid the reloading.
It's not generally good practice for a webapp to modify its own
deployment descriptor -- what's your use-case?
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Adi Katz [mailto:[EMAIL PROTECTED]
>S
Search the archives. Your properties files NEVER go in Tomcat's bin or
conf directories.
Here's an example:
http://marc.theaimsgroup.com/?l=tomcat-user&m=105792867317795&w=2
John
Luong Phan wrote:
Hi all,
Thanks for your advices. The error is that files
startup.sh and shutdown.sh are not ex
Madhu Vadlapudi wrote:
I have a doubt regarding accessing the SSL port. Actually how do my JSP
application will know whether webserver having the capabilities of SSL request.
If it has, how do u i know the port of the service (suppose if i am in http
scheme, then want to shift to https scheme,
Don't use Solaris tar to unpack GNU software. GNU software requires GNU
tar. GNU tar and Solaris tar are incompatible.
Tomcat is a Java application. A binary Java application is a binary for
ALL operating systems, there are no distinctions.
Did you download and install the JDK?
The easiest
It's the former. The latter doesn't occur on this list in my experience.
John
Lott, Carey wrote:
Since nobody has responded does this mean nobody has any more ideas on the
problem or am I getting the "You idiot. The answer is staring you in the
face." silent treatment? If it is the latter, I
You shoud try to put your property file in myapp/WEB-INF/classes directory
and use a statement like this
ResourceBundle bundle = ResourceBundle.getBundle("myprop.properties");
- Original Message -
From: "Luong Phan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 21, 20
Yes, they do. AFAIK, if they are outside the VirtualHost block, they
only apply to those requests NOT matched by a ServerName, which would
not be the case in the example below.
John
James Harman wrote:
Don't the JkMount lines need to be inside the
VirtualHost tags?
--- Johan Wasserman - CPX M
OK, thanks, actually this was my first idea...I've done it like this
before.
I was hoping to avoid doing it like this but until I figure out what is
going on and how to deal with it I will do as you suggest
Thanks for the advice
Cheers
Duncan L.Strang
-Original Message-
From: Tim Funk
Hi,
I have few element in my web.xml file
which my web app can change dynamically. the problem is that when I
change the value of any the webapp is reloading
automatically
It looks like tomcat detects a change in the web.xml file and reload the
context if a change occured. Is it possible to dis
Hello Johan!
since i'm using Debian GNU/Linux its very easy to get the mod_jk2
binary: install the package libapache2-mod-webapp (Apache 2.0 connector for
the Tomcat servlet engine) from the package repository and thats it...
;-)
if you aren't using such a kinky os then you may find a binary at
h
I've spent some time searching for an answer to this one - several users
have asked the question, but I can't find an answer.
Apologies if it's been asked many times before.
I have managed to get the Address Book SOAP example for work fine, but
when I try to run an example that requires
Hello:
We are using Tomcat 4.1.24 with the session replication
code form Filip Hanik. We have been using it for a while
and it has been working fine.
We have experienced some heavy loads recently and notice
that many of our sessions are being dropped.
Is it possible that Tomcat is throwing awa
Hello friends,
I have a doubt regarding accessing the SSL port. Actually how do my JSP
application will know whether webserver having the capabilities of SSL request.
If it has, how do u i know the port of the service (suppose if i am in http
scheme, then want to shift to https scheme, like wan
My setup:
JWSDP 1.2
Windows XP Pro
JDK 1.4.2
I want to know who's accessing a certain web page after they've
authenticated to Tomcat. No problem if I use BASIC authentication.
However, when I use SSL-CLIENT authentication, calling getUserPrincipal() on
the incoming Request object returns null, wh
That is because / matches EVERY request so you have replaced the default
servlet. Your servelt is now responsible for serving images.
An easy workaround is to:
- use welcome file listing in web.xml
- create a welcome file (ex: index.jsp) that redirects to your servlet mapped
to a better mapping
I'm sure the stackTrace of the thrown exception would give you more
information ;)
The code as written would try to load the file myprop.prop from the
current working directory. This will be where you executed startup.sh
from. If it's not there then you'll probably get a FileNotFoundException.
Hi
I hope you don't consider this too trivial a question but I have tried
everything I can think of to get this working. I have read as much of
the docs as I can, looked at the faq's and searched the archives. I know
the information is there but I can't find it.
I want to make my application th
I'm having the exact same issue. I was assuming was
working, but maybe the resource links were left out of the context
propagation code for implicit contexts.
I'd really rather not have to explicitly define all contexts that use a
global datasource... kind of the idea of making it a global JNDI
Yep. Here's server.xml with edits. Anyone else doing this JNDI datasource
stuff with ?
factory
org.apache.commons.dbcp.BasicDataSourceFactory
maxActive
100
Hi all,
Thanks for your advices. The error is that files
startup.sh and shutdown.sh are not executable. Now I
can start Tomcat.
But I meet the following problem:
- I use the mysql supported already by Redhat Linux
7.3 O/S to store my database.
- The jakarta-tomcat-3.2.4 is used to be the server.
> >It seems that TC4 has some algorithm which tags objects (read
> >HttpRequests) as long- or short-lived.
>
> Please do tell where you got that impression? ;)
>
Actually I got that out of the book "Professional Apache Tomcat".
Better than reading through reams of JAVA codes :-))
--
99 matches
Mail list logo