Re: [OT] Request an app test (free beer!)

2004-12-20 Thread Peter Maas
On solaris:

SunOS

--p

On Mon, 2004-12-20 at 17:26 -0500, Frank W. Zammetti wrote:
> I was informed last OT post I made that the subject should always 
> include the word "beer".  I added the "free" to get your attention :)
> 
> I'm working on something for which I need to know what the os.name 
> property on various OS's is.  I would greatly appreciate it if some 
> folks could try the following:
> 
> public class test {
> public static void main(String[] args) {
> System.out.println(System.getProperty("os.name"));
> }
> }
> 
> I'm particularly interested in various *nix variants, Linux, Mac and 
> such.  Windows I already have answers for (although some verification to 
> be sure nothing fishy is going on wouldn't hurt).
> 
> If you could just post your OS and what the result was, I would greatly 
> appreciate it.  Thanks in advance!
> 
-- 
Peter Maas
Application Architect / Streaming
 
Noterik Multimedia BV
Prins Hendrikkade 120
1011 AM Amsterdam
The Netherlands

Tel: +31 (0)205929966
Fax: +31 (0)204688405
Gsm: +31 (0)624687952

Web: www.noterik.nl
--
Take a look at our streaming solutions: 
http://www.streamedit.com/demo.html

Get firefox: 
http://www.mozilla.org/products/firefox/
---
:wq!



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



Re: [OT] Request an app test (free beer!)

2004-12-20 Thread Peter Maas
On Debian GNU/Linux:

Linux

--p

On Mon, 2004-12-20 at 17:26 -0500, Frank W. Zammetti wrote:
> I was informed last OT post I made that the subject should always 
> include the word "beer".  I added the "free" to get your attention :)
> 
> I'm working on something for which I need to know what the os.name 
> property on various OS's is.  I would greatly appreciate it if some 
> folks could try the following:
> 
> public class test {
> public static void main(String[] args) {
> System.out.println(System.getProperty("os.name"));
> }
> }
> 
> I'm particularly interested in various *nix variants, Linux, Mac and 
> such.  Windows I already have answers for (although some verification to 
> be sure nothing fishy is going on wouldn't hurt).
> 
> If you could just post your OS and what the result was, I would greatly 
> appreciate it.  Thanks in advance!
> 
-- 
Peter Maas
Application Architect / Streaming
 
Noterik Multimedia BV
Prins Hendrikkade 120
1011 AM Amsterdam
The Netherlands

Tel: +31 (0)205929966
Fax: +31 (0)204688405
Gsm: +31 (0)624687952

Web: www.noterik.nl
--
Take a look at our streaming solutions: 
http://www.streamedit.com/demo.html

Get firefox: 
http://www.mozilla.org/products/firefox/
---
:wq!



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



Re: tomcat clustering / jwsdp soap / serializable

2004-11-14 Thread peter maas
O.k. I just found out that I can force wscompile to add the 
implementation of Serializable to all datatypes 
(xSerializable="true")... however the part about older apps is still 
relevant.

peter maas wrote:
Hi list,
I have been experimenting with the clustering options for a while. The 
main issue I seem to encounter over and over again is synchronizing 
objects which do not implement the serializable interface. Since we 
are using the jwsdp wscompile tool to generate source code based on a 
wsdl we have tons of beans generated which do not implement the 
Serializable interface (allthough, since they are sent over SOAP the 
can be serialized). If we want to connect suchs a bean to a session, I 
would have to modify the auto generated code or write adapter beans.
Also it would mean that if I want to use older applications (for which 
we are not sure if they implement the Serializable interface) in a 
cluster setup, I would have to modify and recompile them!

Is there a way to enable replication based on introspection if the 
Serialization interface is not implemented? Any other ideas?


--
Peter Maas
Application Architect / Streaming
Noterik Multimedia BV
Prins Hendrikkade 120
1011 AM Amsterdam
The Netherlands
Tel: +31 (0)205929966
Fax: +31 (0)204688405
Gsm: +31 (0)624687952
Web: www.noterik.nl
--
Take a look at our streaming solutions: 
http://www.streamedit.com/demo.html

Get firefox: 
http://www.mozilla.org/products/firefox/
---

:wq!

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


tomcat clustering / jwsdp soap / serializable

2004-11-14 Thread peter maas
Hi list,
I have been experimenting with the clustering options for a while. The 
main issue I seem to encounter over and over again is synchronizing 
objects which do not implement the serializable interface. Since we are 
using the jwsdp wscompile tool to generate source code based on a wsdl 
we have tons of beans generated which do not implement the Serializable 
interface (allthough, since they are sent over SOAP the can be 
serialized). If we want to connect suchs a bean to a session, I would 
have to modify the auto generated code or write adapter beans.
Also it would mean that if I want to use older applications (for which 
we are not sure if they implement the Serializable interface) in a 
cluster setup, I would have to modify and recompile them!

Is there a way to enable replication based on introspection if the 
Serialization interface is not implemented? Any other ideas?

--
Peter Maas
Application Architect / Streaming
Noterik Multimedia BV
Prins Hendrikkade 120
1011 AM Amsterdam
The Netherlands
Tel: +31 (0)205929966
Fax: +31 (0)204688405
Gsm: +31 (0)624687952
Web: www.noterik.nl
--
Take a look at our streaming solutions: 
http://www.streamedit.com/demo.html

Get firefox: 
http://www.mozilla.org/products/firefox/
---

:wq!

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


Re: OutOfMemoryError

2003-12-01 Thread Peter Maas
Have you updated the server settings? In our case the default ammount of 
RAM the VM was allowed to allocate was fixed to 64 mb (brrr)!
Also watch out for the max. ammout of threads your server can create... 
this probably will be your next problem.

Dhruva B. Reddy wrote:

We get OutOfMemoryError's on Tomcat 4.1.27, running on RH 7.3, Sun JDK
1.4.1_02 (with 512MB allocated to it)  The box has 1GB of RAM, 2GB of
swap space, and four Xeon processors.
This error seems to occur during periods of low load (like during the
Thanksgiving holiday), after which Tomcat exits.  According to the
calls Runtime.freeMemory() and .totalMemory(), it comes nowhere near
using that much (we track it every five minutes by hitting a servlet
that calls these methods).
Has anyone seen anything like this?

Thanks,
Dhruva
__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


 



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


Re: Include tag, dynamic param

2003-12-01 Thread Peter Maas

What do you get in the page source when it runs?

Do you get ""

??

If so, then something is terribly wrong. If you get the include okay, 
but the value of "BroadcastId" is
"{parameterValue | <%= BroadcastId %>}", then something else is wrong :(


This is exactly what I get..

BTW, I'm running tomcat 5.0.12 and am able to replicate this on a winxp 
and a redhat 9.0 box...

Peter

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


Include tag, dynamic param

2003-12-01 Thread Peter Maas
In the documentation for the include tag I read that something like:

   
  
   

Should work...

This compiles / and runs... but the expression is never evaluated

how does this work??

gr,

Peter

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


Re: mod_jk + apache 2.0.40 + redhat 9.0

2003-11-20 Thread Peter Maas
Not yet...

didn't expect that to be the problem...

P

Asif Chowdhary wrote:

Hi Peter,

where you able to find rpm for mod-jk2 for redhat 9.0.
I have not been able to find?
Thanks
Asif
-Original Message-
From: Peter Maas [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 20, 2003 11:24 AM
To: Tomcat Users List
Subject: mod_jk + apache 2.0.40 + redhat 9.0
Hi all,

googling for mod_jk solutions yielded far to much tutorials. what is the 
best one??

P

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


 



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


mod_jk + apache 2.0.40 + redhat 9.0

2003-11-20 Thread Peter Maas
Hi all,

googling for mod_jk solutions yielded far to much tutorials. what is the 
best one??

P

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


Re: Removed session but Browser can still display the page

2003-11-16 Thread Peter Maas
When a client pushes the browsers 'back' button, this page is often read 
from cache... adding the following line to the HTML head might help:

   

gr,

Peter

[EMAIL PROTECTED] wrote:

Hi,

I have a problem with using HttpSession class. When the user login, I 
create a new session by "request.getSession(true)". When the user 
logout, the session is removed by "session.invalidate()". In doing 
this, when the user is trying to go back to the previous page without 
login, the browser should not show the page because the servlet knows 
that the session for this user has already been invalidated. 

My problem is that In JBuilder, the code works as expected. But in 
Tomcat, it always failed. The browser can display the previous page 
when I use "Back" button in the toolbar, or when I type in the URL 
for the pages that should be displayed only after the user login. Can 
anybody help me?

Thanks in advance.

Kelly

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


 



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


Re: SessionListener

2003-11-13 Thread Peter Maas
What I actually want to do is call some destruct methods in objects 
bound to the session...

P

Christopher Schultz wrote:

Peter,

I wondered if there is a way detect somehting like a 
'sessionWillBeDestroyed' event.
since the sessionDestroyed method in a sessionListener seems to be 
called after the session was destroyed.


I don't think you can 'veto' the destruction of a session, if that's 
what you mean. All the container will do is notify you that the 
session is in the process of being destroyed.

-chris

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




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


Re: SessionListener

2003-11-13 Thread Peter Maas
Since we're developing on tomcat 5.0.12 the container should be 2.4
but still it is called after the session was invalidated.
Peter

Jon Wingfield wrote:

Not in servlet 2.3 containers. Servlet spec 2.4 has changed the 
semantics of the sessionDestoyed method so Tomcat 5 should notify 
before the session is invalidated...

http://java.sun.com/j2ee/1.4/docs/api/index.html

HTH,

Jon

Peter Maas wrote:

Hi,

I wondered if there is a way detect somehting like a 
'sessionWillBeDestroyed' event.
since the sessionDestroyed method in a sessionListener seems to be 
called after the session was destroyed.

Peter

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




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




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


SessionListener

2003-11-12 Thread Peter Maas
Hi,

I wondered if there is a way detect somehting like a 
'sessionWillBeDestroyed' event.
since the sessionDestroyed method in a sessionListener seems to be 
called after the session was destroyed.

Peter

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