tomcat on FreeBSD4.2

2001-02-16 Thread qazwasyx

Hi,
I'm having troubles to understand how really 
sessions are working.
I'm using a servlet to handle every client requests 
and I'm using
jsp
 session to display  various objects between 
frames, such as:

HttpSession session = req.getSession(false);
Toto toto = session.getAttribute("toto");
if (toto.getName() == "mike")
toto.setInfotoDisplay("Hi mike, waza?");
else if (toto.getName() == "alain")
toto.setInfotoDisplay("Tcho alain, ca boom?");
...
session.setAttribute("toto", toto);

My concern is that I really thought that the object I
get with "getAttribute" on sessions were attached
to the according user.
But apparently not, it looks like my object Toto is 
shared
amongst my clients and thus everything is f 
up ;-(

Any idea how I could stick a session per user?

thanx,

--mike


--
---
To unsubscribe, e-mail: tomcat-user-
[EMAIL PROTECTED]
For additional commands, email: tomcat-user-
[EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




tomcat on FreeBSD4.2

2001-02-16 Thread qazwasyx

Is there really nobody out there who know how to install 
jdk1.3 and tomcat 3.2 or 4.0beta1 no FreeBSD 4.2?!

I have sent at least 5-6 messages to this group and 
have had no help.

I know nobody HAS to help, but ignoring people is just 
plain rude :)

Mike (aka desperate tomcatter) D

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: tomcat on FreeBSD4.2

2001-02-16 Thread Christoph Kukulies

On Fri, Feb 16, 2001 at 11:23:02AM +, [EMAIL PROTECTED] wrote:
 Is there really nobody out there who know how to install 
 jdk1.3 and tomcat 3.2 or 4.0beta1 no FreeBSD 4.2?!
 
 I have sent at least 5-6 messages to this group and 
 have had no help.
 
 I know nobody HAS to help, but ignoring people is just 
 plain rude :)

Na na na :-)

I'm running tomcat 3.1 (?) and jdk1.2 under FreeBSD 4.2.
What are your questions?

 
 Mike (aka desperate tomcatter) D
 
-- 
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: tomcat on FreeBSD4.2

2001-02-16 Thread qazwasyx

Aaah! But not jdk1.3 and not Tomcat 3.2.1, which are 
the ones I'm interested in... :(

Thanks anyway!

Mike

On Fri, Feb 16, 2001 at 11:23:02AM +, 
[EMAIL PROTECTED] wrote:
 Is there really nobody out there who know how to 
install 
 jdk1.3 and tomcat 3.2 or 4.0beta1 no FreeBSD 4.2?!
 
 I have sent at least 5-6 messages to this group and 
 have had no help.
 
 I know nobody HAS to help, but ignoring people is 
just 
 plain rude :)

Na na na :-)

I'm running tomcat 3.1 (?) and jdk1.2 under FreeBSD 
4.2.
What are your questions?

 
 Mike (aka desperate tomcatter) D
 
-- 
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
aachen.de

--
---
To unsubscribe, e-mail: tomcat-user-
[EMAIL PROTECTED]
For additional commands, email: tomcat-user-
[EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




tomcat on FreeBSD4.2 problems (jdk1.3)

2001-02-12 Thread qazwasyx

I'm really struggling to install tomcat on FreeBSD 4.2 
running in linux compat mode.

I've *managed* to install jdk1.3, after changing one of 
the confs (I think) to point the wrapper the linux compat 
dir (instead of the native linux) - this was without the 
understanding of what I was doing, just following 
instructions someone sent me through a newsgroup. jdk 
runs ok now - compiles and runs java's.

I've *installed* tomcat, (downloaded from 
jakarta.apache.com) and it starts ok, but will not pickup 
http requests on the default 8080 and when I shut it 
down, a hotspot error comes up (can't remember - at 
work now, freebsd machine at home).

I've tried installing the tomcat port from a freshly 
installed collection I downloaded from the ftp.freebsd 
server, but when trying to make and download the jdk, 
it timed out. When I tried to run make again, a crc error 
or something simmilar was reported and the make 
aborted. I can't restart the install, when re-running 
make, the download wil not restart, and I can't find 
where make partially loaded the file...

I'm relatively new to UNIX, so I'm only doing what I can 
find and read, sometimes without understanding what it 
is exactly that I'm doing.

If you could give me some advice how I could get 
tomcat running (jdk1.3 seems to work ok) or point me 
in 
the right direction, list points to watch out for, etc - I 
would be very very greatful. I've had advice saying I 
should install jdk 1.1.8, rather than 1.3, but how would I 
un-install the 1.3 jdk? Also I've noticed Sun has 
1.3.0.01 out, should I install that instead?

Also, if anyone can either point me to a guide on 
installing patches (diff files), or tell me how to integrate 
them, I would appreciate it a lot.

Thanks in advance!

Mike

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]