Dionisio,
The first option, with multiple alias tags.
Andy
> -Original Message-
> From: Dionisio Ruiz de Zárate [mailto:[EMAIL PROTECTED]
> Sent: 15 September 2004 15:28
> To: Tomcat Users List
> Subject: Re: Server Alias
>
> i have see the doc.
> but if i have several aliases for one h
integrate Apache 2.0.24, mod_jk2 with Tomcat 5.
>
>
> Hello,
>
> Thank's to Andy Eastham solution I managed to get Apache to forward *.jsp
> requests to Tomcat. In adition I also discovered
> that I had to define "localhost"(127.0.0.1) in JK2.properties
Joao,
I looked at that url and the way redirections are configured is different to
mine.
I do NOT have things like
JkUriSet worker ajp13:localhost:8009
JkUriSet worker ajp13:localhost:8009
(in fact these look like mod_jk configuration to me)
Instead, my workers2.properties is as follows:
[
Also look at the sample chapter at http://www.moreservlets.com/
Andy
> -Original Message-
> From: Thilo Krawietz [mailto:[EMAIL PROTECTED]
> Sent: 17 August 2004 08:07
> To: Tomcat Users List
> Subject: Re: understanding web.xml
>
> Hi Tobias,
>
> in Suns official Servlet specification
Unique keys are generated by using the AUTO_INCREMENT attribute on an
integer column.
http://dev.mysql.com/doc/mysql/en/example-AUTO_INCREMENT.html
Andy
> -Original Message-
> From: A Z [mailto:[EMAIL PROTECTED]
> Sent: 16 June 2004 12:28
> To: [EMAIL PROTECTED]
> Subject: How to (Uniq
The first thing that came up in Google was this, which might help:
http://support.bea.com/support_news/product_troubleshooting/Too_Many_Open_Fi
les_Pattern.html
Andy
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Davor Cengija
> Sent: 16 June 2004 09:59
> To: [E
Jack,
I think what you are looking for is the following set of directives:
In httpd.conf, in the Virtual Host section something like the following:
JkUriSet worker ajp13:localhost:8009
JkUriSet worker ajp13:localhost:8009
Then in workers2.properties:
# define
Marc,
The only issue with having jars in common/lib, is that any static class
variables are shared across every webapp, as the class loader only loads
these classes once per server. Classes under webapp/WEB-INF/lib are loaded
once per webapp and invisible to other webapps.
For example, if you'r
Gunnar,
You are contacting the developers of Tomcat. I'm not one myself, but I bet
some of the people who have put in vast amounts of their own time
voluntarily to develop Tomcat would be quite offended by your comment.
I also wouldn't be surprised if the reason that you can't run another web
se
Michael,
If you put the JSPs under the WEB-INF folder of the web app, Tomcat will be
unable to serve them directly.
Does that make any difference?
Andy
> -Original Message-
> From: Schalk [mailto:[EMAIL PROTECTED]
> Sent: 08 June 2004 20:43
> To: 'Tomcat Users List'
> Subject: RE: JSP s
p :
>
> http://www.manageability.org/blog/stuff/open-source-structured-graphics-
> libr
> aries-in-java/view
>
> Ryan.
>
> -Original Message-
> From: Andy Eastham [mailto:[EMAIL PROTECTED]
> Sent: 12 May 2004 10:41
> To: 'Tomcat Users List'
> S
eechart & cewolf ( it is a taglib for jfreechart).
> u can find it at sourceforge.
> ----- Original Message -
> From: "Andy Eastham" <[EMAIL PROTECTED]>
> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> Sent: Wednesday, May 12, 2004 5:4
Hi,
Sorry this is a bit off topic, but can anyone recommend an open source or
freeware toolkit for building bar charts and graphs in java?
I am going to use it within Tomcat, but I could probably use something
that's aimed at applets if I had the source code.
Thanks to anyone who responds.
Best
Glen,
I found this a right pain, and currently I'm using SSL for the whole app.
But this is storing up performance problems as I'm sending fairly high rez
astronomical images over SSL and I know I'll have to fix it sometime.
The way I'm thinking of getting round it is to send back a one time key
Matt,
I built it on Solaris 9. I'd already built and installed apache 2, and all
required libraries were then installed. Are you specifically trying to do
this without installing Apache2?
If not, here's my simple notes:
build mod_jk2:
download connector src:
jakarta-tomcat-connectors-jk2-2.0.2
I had this problem once when I deployed onto a live server and it drove me
mad. I not absolutely sure what caused it, but it was something like I'd
called the webapp's WEB-INF directory "web-inf", ie a case sensitivity
problem in the path.
Andy
-Original Message-
From: Shapira, Yoav [mai
Rasmus,
This simple one works on windows and solaris. By the way, when I changed
the shm size to 100, it didn't...
Andy
[logger.apache2]
level=DEBUG
[shm]
file=c:/Apache2/logs/jk2.shm
size=1048576
# Example socket channel, override port and host.
[channel.socket:localhost:8009]
port=8009
Kent,
A gothcha to be aware of: if you put log4j.jar in common/lib, all webapps
will share the same log4j configuration. This causes a race at server
startup - the last one to initialize log4j wins, ie gets it's own settings.
Everything else then logs into the same file. This is a symptom of sta
Jon,
I'm pretty sure you can, because I once had a problem which was fixed by
swapping the order of the "LoadModule" statements for mod_jk2 and
mod_rewrite.
Not an exact answer, but hopefully some encouragement...
Andy
-Original Message-
From: jon yeargers [mailto:[EMAIL PROTECTED]
Sen
David,
The line
Illegal Class name "jawin folder/develop/jawin/DispatchPtr")
is very suspicious - I'm pretty sure that the space in the path to your
class will cause problems.
Try renaming jawin folder to just jawin and rebuild the jar.
Andy
> -Original Message-
> From: David Sierra F
Bill,
The problem is that the apache runtime library cannot be located.
I just found this resource that might help you out:
http://cymulacrum.net/tomcat/jk2_compile.html
Best regards,
Andy
> -Original Message-
> From: Bill R [mailto:[EMAIL PROTECTED]
> Sent: 19 November 2003 02:03
> To
Karl,
An easy way of doing this is to call your servlet with wget from a cron job.
Andy
> -Original Message-
> From: Karl Coleman [mailto:[EMAIL PROTECTED]
> Sent: 18 November 2003 20:21
> To: Tomcat Users List
> Subject: RE: Running a Service
>
>
> I apologize for being so broad. Let me
Andrew,
Couldn't agree more - I've just been round this circle myself.
I don't care if someone gets a session hijacked in my application, but I
don't want passwords transferred over plain text, because people tend to use
the same passwords in multiple applications. This application may not need
t
Stéphane,
Your English is perfect - no need to apologise.
I've looked at my config (which is for 4.0.18 with jk2) and the only obvious
difference is that I don't have a leading "/" in my context path,
So try:
rather than:
Hope this is the solution,
Best regards,
Andy
> -Or
Patrick,
I found this, but I did manage to compile them from source.
Unfortunately my notes don't seem to be that good, but here they are:
build mod_jk2:
download connector src:
jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz
gunzip and untar
cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2
James,
At first glance, it looks like class javax/servlet/ServletResponse class
can't be found.
This resides in servlet.jar, which is in common/lib under my tomcat home
directory on my installation.
Andy
> -Original Message-
> From: James Snelling [mailto:[EMAIL PROTECTED]
> Sent: 16 Oc
Have you never run into a problem when multiple developers are working on
the same server, and someone crashes the server, overwrites someone else's
code, breaks something that someone else was relying on, or restarts the
server when someone was in the middle of testing a long running batch job?
I
Greg,
"Standard" one is java.net.URLEncoder.encode() and
java.net.URLEncoder.decode()
Andy
> -Original Message-
> From: David Rees [mailto:[EMAIL PROTECTED]
> Sent: 02 October 2003 22:25
> To: Tomcat Users List
> Subject: Re: HTML quoting
>
>
> On Thu, October 2, 2003 at 2:18 pm, Greg Wa
Chris,
Webapp is unsupported because JK is better and noone in the open source
community wants to support it. Are you volunteering ;-)
Andy
> -Original Message-
> From: Walker Chris [mailto:[EMAIL PROTECTED]
> Sent: 15 September 2003 11:58
> To: 'Tomcat Users List'
> Subject: RE: Apache
Hi,
Please could anyone tell me why there are no linux binaries for mod jk2
version 2.0.2 under
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.
2/
I've got to move something from Solaris to Linux and would be interested to
hear if there's a good reason for this before
Tom,
I found that the O'Reilly classes were totally unreliable on Solaris with
binary uploads and mod_webapp.
However, I They work fine on windows and Linux, and luckily I've not needed
them on a Solaris deployment.
I think decided it was actually caused by a bug in Solaris mod_webapp - are
you
Mike,
The documentation is always your friend :-)
The docs say that relative urls are interpreted relative to the CURRENT
REQUEST URI, so the behaviour is as advertised:
*
sendRedirect
public void sendRedirect(java.lang.String location)
throws java.
Angus,
You can call Conection.isClosed(), but the documentation suggests that this
is not a reliable method of telling that it is _definitely_ closed.
However, if it does return true, you know that you should reconnect before
attempting a call with the connection.
Andy
> -Original Message---
Vijay,
Someone else posted something today about an open source EJB container that
runs with Tomcat.
It might have been called OpenEJB?
Andy
> -Original Message-
> From: Vijay Kandy [mailto:[EMAIL PROTECTED]
> Sent: 08 July 2003 15:28
> To: 'Tomcat Users List'
> Subject: RE: Tomcat, loa
GVS
The release notes of 4.1.18 refer to specific issues with 1.2.x - 1.3.x on
Linux, so from that I infer that generally it works with JDK >= 1.2.0
It's built with JDK 1.4 though.
Andy
> -Original Message-
> From: GVS Srinivas [mailto:[EMAIL PROTECTED]
> Sent: 08 July 2003 13:59
> To:
>
> Yes, i think i will try that when you say "filter map such
> as *" you mean url-pattern as * right ?
>
> Abid
>
> -Original Message-
> From: Andy Eastham [mailto:[EMAIL PROTECTED]
> Sent: 8. juli 2003 13:05
> To: Tomcat Users List
&
; Yes, i suppose that will work, but there is also a web.xml file
> for the entire installation that is in the same place as the
> server.xml
>
> Is it possible to add a filter in these files ?
>
> Abid
>
> -Original Message-
> From: Andy Eastham [mailto:[EMAIL PROTECTE
Abid,
You are right, but if you set up the same filter in the web.xml for every
webapp, you'll get the same effect.
Andy
> -Original Message-
> From: Abid Ali Teepo [mailto:[EMAIL PROTECTED]
> Sent: 08 July 2003 10:30
> To: Tomcat Users List
> Subject: A question about filters
>
>
> Hi
>
John,
Top Stuff.
Do you think it would be a good idea to add a link to the FAQ into the
message footer for this list?
Thanks for your efforts.
Andy
> -Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED]
> Sent: 20 June 2003 15:19
> To: [EMAIL PROTECTED]
> Subject: [ANNOUNCE
ils are directly sent to it.
>
> Jon
>
> anto paul wrote:
> > Then why not the Tomcat list admin block the
> [EMAIL PROTECTED] e-mail
> > id. ?
> > - Original Message -
> > From: "Andy Eastham" <[EMAIL PROTECTED]>
> > To: "Tomcat
Anto,
When you post to this list, the mail gets distributed to various
subscribers, some of whom are behind companies anti-spam filters that range
from crap to fuxxing useless. These antispam filters all seem to be poorly
written and poorly configured, so that they allow in most spam but reject
m
Andoni,
I do this in Sun One Studio, where I do all my Java development.
You can compile JSPs just as you can compile java source.
Andy
> -Original Message-
> From: Andoni [mailto:[EMAIL PROTECTED]
> Sent: 18 June 2003 10:25
> To: Tomcat Users List
> Subject: Precompiling JSPs
>
>
> H
Robert,
I'm not sure what the problem is, but you can redirect the output in dos,
just like in unix. Eg, if you're running startup.bat, type
startup.bat > myfile.log
and inspect the output written to the log file. This should help you solve
the problem yourself, or at least you'll be able to gi
Hi,
I've got a site up and running which uses Tomcat via Apache2 and mod_jk2
(only - no direct access to Tomcat).
I manage logins using standard session management via cookies.
Some of the site is accessible by http, other bits are accessible via https.
This is managed by mod_rewrite in Apache.
Georges,
I read the release notes for J2SE 1.4.1_02 (latest release) and remember
that there was a fix for a signal 11 bug. I don't know if it will solve
your problem, but it's worth a try.
Andy
> -Original Message-
> From: Georges Roux [mailto:[EMAIL PROTECTED]
> Sent: 26 March 2003 09
Hi,
I would say that Xvfb does _not_ connect to your display adapter - the v
stands for virtual, ie it's not a real frame buffer as in a video card -
it's a virtual one in your systems normal memory.
It's specifically for taking the place of a display adapter when your server
doesn't have one.
W
entation is very sparse in this area.
>
> Rick Bullotta
> CTO
> Lighthammer Software (http://www.lighthammer.com)
>
>
>
> -Original Message-
> From: Andy Eastham [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 04, 2003 12:32 PM
> To: Tomcat Users List
> Sub
David,
This looks like jk config to me, not jk2. If it helps, here are my working
config files for apache 2 and mod_jk2 on solaris. (The workers.properties
file is called workers2.properties on my system, which is the default name).
My Httpd mapping looks like:
ServerName 192.168.0.102
If you can understand perl, surely nothing can be confusing ;-)
Andy
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 03 March 2003 08:36
> To: Tomcat Users List
> Subject: Re: include a class
>
>
> Thanx a lot.
>
> i using the tomcat and for a perl-man, li
Prasad,
Is there more information under the exception information you have supplied
labelled "Root Cause: "?
If so, this is the information we need to help. Can you post this
additional information to the list if it's there please?
Best regards,
Andy
> -Original Message-
> From: Prasa
Allen,
Solaris 2.9 has been the latest operating system for about 6 months...
I'd definitely patch it I was you.
Andy
> -Original Message-
> From: Wilson, Allen [mailto:[EMAIL PROTECTED]]
> Sent: 10 February 2003 15:48
> To: Tomcat Users List
> Subject: RE: Apache-Tomcat Configuring
Felipe,
Just one additional idea:
Are you executing another command on the same connection? This destroys the
result set.
Eg, if you are trying to loop over the result set, and are using the same
connection to do an update or delete on this or another table, you will get
this sort of error.
An
John,
Do you not need to name it too, ie
LoadModule jk2_module modules/mod_jk2-2.0.43.so
Thats what's in my working set up anyway.
Andy
> -Original Message-
> From: Turner, John [mailto:[EMAIL PROTECTED]]
> Sent: 22 January 2003 18:07
> To: 'Tomcat Users List'
> Subject: RE: Porblem edi
Adoni,
Version 4.1.18 seems to be the current one and seems to be stable for me.
As for platforms, the best one depends on the situation.
Personal use: go for your favourite platform.
Customer use: Ask them what their favourite platform is. If it's windows
protest mildly, tell them windows su
try:
if (!request.isSecure())
{
// abort code here
}
You can put this in a superclass of all your secure servlets if you like.
Andy
> -Original Message-
> From: neal [mailto:[EMAIL PROTECTED]]
> Sent: 16 January 2003 22:09
> To: Tomcat Users List
> Subject: Require a secure conn
cation root"?
>
> I don't mean in Apache, I mean in server.xml?
>
> For each context you configure, you can also specify the "URL-prefix".
>
> default:
>
>
>
>
>
>
> etc.
> Maybe you could solve your
ious versions of this specification made use of these mapping
techniques a suggestion rather than a requirement, allowing servlet
containers to each have their different schemes for mapping client requests
to servlets.
> -Original Message-
> From: Andy Eastham [mailto:[EMAIL PROTECTE
Apache,
I'll have to edit my web.xml, which wouldn't have been necessary before. Is
this a bug, or has it really been changed to better comply with the Servlet
spec?
Best regards,
Andy Eastham
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Neginder,
I'm not sure if you sorted this. If not, the problem looks like the system
is trying to create
/opt/jakarta-tomcat-4.1.18/work/Standalone/localhost/examples/jsp/jsptoserv/
jsptoservlet_jsp.java.
Check that /opt/jakarta-tomcat-4.1.18/work/ exists and that the unix user
running Tomcat ha
Cedric,
The servlet container automatically handles head requests by calling doGet
but then only returns the headers. This can be very inefficient in cases
such as yours.
The O'Reilly "Java Servlet Programming" book suggests at the top of doGet()
do:
request.setContentType();
if (request.getMoth
Sun One Studio needs 256Mb of memory. If you haven't got that much, forget
it. If you have, it rocks.
Andy
> -Original Message-
> From: Steve R Burrus [mailto:[EMAIL PROTECTED]]
> Sent: 21 November 2002 21:29
> To: Tomcat Users List
> Subject: Re: is there a free ide that gets along wel
Install Apache on the Linux machine and everything will work perfectly ;-)
> -Original Message-
> From: Jose Antonio Martinez [mailto:lfbbes@;yahoo.es]
> Sent: 12 November 2002 11:22
> To: [EMAIL PROTECTED]
> Subject: windows iis machine + linux tomcat machine
>
>
> what do you think is th
Han Lin,
I don't know the answer, but if I wanted to find out, I'd download the
source code and take a look.
That's why we use open source isn't it?
Andy
> -Original Message-
> From: Unidux (S) - Han Lin [mailto:hanlim@;unidux.com.sg]
> Sent: 07 November 2002 03:31
> To: [EMAIL PROTECTE
Sorry,
I meant to send this directly to Zack rather than back to the list,
Andy
> -Original Message-
> From: Andy Eastham [mailto:andy.eastham@;gliant.com]
> Sent: 05 November 2002 10:32
> To: Tomcat Users List
> Subject: RE: Tomcat 4.1 and apache 1.3 how-to
>
>
&
In my experience, IE 6 creates a new session cookie for each browser
window...
Andy
> -Original Message-
> From: Nick Lombard (VSP) [mailto:nick.lombard@;vcontractor.co.za]
> Sent: 30 October 2002 15:25
> To: Tomcat Users List
> Subject: RE: Session start
>
>
> Hi Mauro
>
> At least this
It's not something to do with line feeds / carriage returns is it?
Andy
> -Original Message-
> From: Sigurður Bjarnason [mailto:siggi@;betware.com]
> Sent: 29 October 2002 11:55
> To: Tomcat (E-mail)
> Subject: AJP13 ..You must Read this !
>
>
>
>
> Hi all
>
> I been having a very strange
Eliot,
Webapp does appear single threaded on win32. I'd go so far as to say it's
unusable in a production environment on win32. I develop using it on my win
2k laptop and deploy on linux or Solaris. Webapp is forever hanging when I
try to execute concurrent requests from the same browser on win
Title: Re: Warp connections
Siggi,
What
this means is that if you map, for example, /myapp to Tomcat, Tomcat will serve
all content under /myapp. You cannot get Apache to serve
/myapp/my.jpg.
Apache
will still serve things that aren't under /myapp, so /index.html, /images/my.jpg
etc _w
Looks like a company that would employ Java professionals to me. Clearly
synergy.com. is not a recruitment consultant.
I'm sure there are plenty of people on this list at the moment that
appreciate the fact that someone is recruiting people with "core, serverside
Java, JSP, XML and XSL".
I agre
Paul,
I'm afraid it looks like you have to write code that doesn't eat all the
memory on the server ;-)
Andy
> -Original Message-
> From: Paul Andreas Petershagen [mailto:[EMAIL PROTECTED]]
> Sent: 08 September 2002 22:18
> To: [EMAIL PROTECTED]
> Subject: Restart webapp after Exception
Jim,
If you want the webapps to share the same static values in the same class,
put them in common/classes. (this allows a webapps to affect the data in
another webapp).
If you want the webapps to be totally independent, put a separate copy in
each webapp's individual classes directory.
Or you
Jeff,
Try 10 and 20 or 1 and 2.
I know negative numbers don't necessarily start up before 1, maybe 0 doesn't
either.
Andy
> -Original Message-
> From: Jeff Wishnie [mailto:[EMAIL PROTECTED]]
> Sent: 05 September 2002 18:22
> To: Tomcat Users List
> Subject: load-on-startup order seems
Ben,
It's both, depending on how you configure it. It's pretty efficient
standalone, or you can integrate with a web server to serve static content
if you've got high traffic levels.
Andy
> -Original Message-
> From: Ben Austin [mailto:[EMAIL PROTECTED]]
> Sent: 04 September 2002 22:16
Robert,
This is excellent. I'm going to give it all another go later this week with
the aid of your work.
My only comment is that I'd replace:
Set system environment variables for Java home.
C:\java
with
Set system environment variables for Java home.
Pascal,
On the grounds that this is probably the most FAQ on this list, I think it
would be fantastic.
Thanks in anticipation!
Andy
> -Original Message-
> From: Pascal Forget [mailto:[EMAIL PROTECTED]]
> Sent: 03 September 2002 15:29
> To: [EMAIL PROTECTED]
> Subject: Apache 2.0.40 + m
Taehun,
I had exactly this problem last week. Tomcat is fine with mod_webapp on
windows 2000 and linux,but _binary_ file uploads fail on Solaris. It seems
to be a bug in the Solaris version of mod_webapp (I used the one shipped
with Solaris 9).
I'm afraid I didn't fix the problem - I just depl
Michael,
Here's an example config file that logs to a file and the console.
Andy
> -Original Message-
> From: Michael [mailto:[EMAIL PROTECTED]]
> Sent: 27 August 2002 09:16
> To: Tomcat Users List
> Subject: How can I see log4j output on the console?
>
>
> My log4j log messages go to
Urtzi,
You need to grant access to the tomcat user. See the section in the GRANT
command in the mysql manual (available online at the www.mysql.com site).
By default, root can connect without a password, but other users need to be
granted access.
You'll need to execute something like:
GRANT ALL
Nikolas,
Go to www.moreservlets.com and look at the sample chapter on web.xml. It's
an excellent resource and section 5.7 explains what you want.
Cheers,
Andy
> -Original Message-
> From: Nikolas A. Rathert [mailto:[EMAIL PROTECTED]]
> Sent: 31 July 2002 11:25
> To: [EMAIL PROTECTED]
Billy,
Sorry - I included my File Utility class by mistake. I hard coded the
result in the message and still left the method call - doh.
Try again:
String url = "/WEB_INF/jspDir/test.jsp";
response.setContentType("text/html");
ServletContext sc = setServletContext();
RequestDispatcher rd = s
Billy,
Try this in your doGet / process method:
(I put my jsps under WEB-INF so they are not servable directly).
String url = FileUtil.makeJspUrl("/WEB_INF/jspDir/test.jsp);
response.setContentType("text/html");
ServletContext sc = getServletContext();
RequestDispatcher rd = sc.getRe
k.so for Apache2 and Tomcat 4.x.x and has gotten (mod_jk2)
> mod_jwhatever and AJP 1.x working and will he share the wealth of his
> endeavors?
>
>
> Unix has its weak points but its file system is not one of them.
>
> - Chris Torek
>
>
> > -Original Message-
Jez,
This would be great if it was correct and not completely out of date..;-)
Andy
> -Original Message-
> From: Joseph Savard [mailto:[EMAIL PROTECTED]]
> Sent: 18 July 2002 14:33
> To: Tomcat Users List
> Subject: Re: newbie has mod_jk question
>
>
> Google can be of great help to you
Brian,
Tomcat looks for your classes under
Tomcatdir/webapps/yourapp/WEB-INF/classes and Tomcatdir/common/classes and
looks for your jars in Tomcatdir/webapps/yourapp/WEB-INF/lib ,
Tomcatdir/common/lib (and Tomcatdir/server/lib but you shouldn't put your
stuff in here)
Andy
> -Original Mess
Sorry, I haven't been listening to this thread but can't you just pass the
context as a parameter to the method?
Andy
> -Original Message-
> From: Christian J. Dechery [mailto:[EMAIL PROTECTED]]
> Sent: 10 July 2002 17:27
> To: [EMAIL PROTECTED]
> Subject: Re: Need Ideas... big problem!
Iain,
By "off the shelf sessions", I mean the ones you are already using when you
don't need to share them across webapps (ie created by the servlet container
by request.getSession(true)).
Sorry for the confusion.
Andy
> -Original Message-
> From: Iain Downie [mailto:[EMAIL PROTECTED]
Iain,
I don't think session sharing is easy, but you can implement login using
cookies, which will be shared if they come from the same server (or domain
if they are domain cookies).
Another alternative is to pass a session id in the URL, and store session
information yourself in a server persis
Reynir,
Are you saying you don't want to write your code in a servlet's init()
method, then set the servlet to Load on Startup in web.xml?
That's the way I do it.
eg
Centre
com.gliant.servlet.Centre
Config
Roger,
Try putting tomcat in a path with no spaces, eg c:\apache_tomcat_4.0
As for classpath, any jars under tomcat\webapps\app_name\WEB_INF\lib (your
webapps private classesd)or tomcat\common\lib (classes shared between
webapps, usually db drivers etc) will be automatically included in the
clas
Icaro,
Is it complaining that you've got statements where you should
have a virtual host section. Perhaps you can't use IfModule here.?
I don't have any IfModule statements around the WebApp lines in my setup.
Just try removing lines 992 and 995 and I think it will stop complaining.
Of course,
I think the problem ,ay be that 1.4 uses jdbc v3. The oracle drivers
probably have "require jdbc v2" hardcoded in them. I remember this being
the case for a particular set of drivers, though I'm not absolutely sure it
was Oracle. Are there any new ones from Oracle?
Andy
> -Original Messag
Andreasm,
By the way, the java library path is completely different from the system
library path. I've got mine in
/usr/j2sdk1.4.0/jre/lib/i386/client/myLibrary.so , which is a default
library location for java (obviously you may have to amend the start of the
path slightly for your installation
right on
> the money.
>
> All due respect to the developers, but the idea that Apache 2,
> Tomcat 4, and
> the connectors are all separate projects, with little or no
> coordination (as
> far as I can tell) is really disappointing. To me, that seems like a big
> mistake
I think everyone who uses Tomcat should back off using Apache2 until all the
connectors and more so the documentation get beyond pre-alpha state.
I'm a big fan of Apache and Tomcat, but I'm afraid the current state of the
connectors SUCKS.
I've held my tongue from writing this email for over a m
Ian,
Have you got addModule after loadModule in your httpd.conf file? I've got:
# Tomcat / Catalina connector
LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c
then:
# Tomcat connections ANE 20010813
WebAppConnection conn warp 127.0.0.1:8008
WebAppDeploy
Scott,
If your server is running on Windows, I believe this is a common connector
issue. It certainly happens to me with mod_webapp. It doesn't happen on
the production Linux server though, so it's not an issue for me.
Andy
> -Original Message-
> From: Scott Judd [mailto:[EMAIL PROTEC
Yoav,
Signal 10 is a bus error on the solaris box. Basically this a is an internal
data communication error in the machine.
I think these errors can be software related, as well as hardware related.
First off, make sure you've got all the latest patches for your operating
system. After that, ch
Stuart,
You're extending Thread - everything that is mapped to a Tomcat request must
extend HttpServlet. Tomcat is trying to cast your TestTunnel class to
HttpServlet, which is failing.
Andy
> -Original Message-
> From: Stuart Stephen [mailto:[EMAIL PROTECTED]]
> Sent: 15 May 2002 11:5
Jeff,
As a last resort, you could write the pdf to a temporary directory
accessible via apache, then send the browser a redirect to that file. That
way, the actual PDF will be served by apache, not Tomcat. You'll obviously
have to tidy up the generated PDFs periodically, although the temp file
generated with each browser are identical!!! And once Acrobat
> was re-installed, they all opened just fine in the stand-alone Acrobat.
>
> Jeff
>
> - Original Message -
> From: "Andy Eastham" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[E
1 - 100 of 120 matches
Mail list logo