RE : [offtopic] Architecture Question

2003-12-05 Thread Laurent Michenaud
What do u use to run the web services ?

Jonas ? Jboss ?

Is there a component that just do Web Services ? I don't need
all the functionnalies of Jboss or Jonas.

-Message d'origine-
De : Justin Ruthenbeck [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 4 décembre 2003 19:42
À : Tomcat Users List
Objet : RE: [offtopic] Architecture Question

At 05:51 AM 12/4/2003, you wrote:

Howdy,
In a similar situation we use a web service running on another (3rd)
tomcat server.  It's worked well, especially as we've added more
applications beyond our original two.

Agreed.  This is the cleanest long-term solution I've come across as it 
clearly defines responsibility boundaries between your 
apps/components.  It's more work than other (IMO hackish) solutions, but 
opens up so many more possibilities once you've got it up and running.

Yoav Shapira
Millennium ChemInformatics

justin



 -Original Message-
 From: jerome moliere [mailto:[EMAIL PROTECTED]
 Sent: Thursday, December 04, 2003 6:51 AM
 To: Tomcat Users List
 Subject: Re: [offtopic] Architecture Question
 
 Laurent Michenaud wrote:
 
 Hi,
 
 
 Hi laurent,
 
 
 We have two tomcat servers.
 One is located at our enterprise.
 The other is located at our hosting provider.
 They can see each other by Internet.
 
 We would like to set up an unique authentification system for both
 server.
 The authentification system will be on the server at our entreprise.
 The web applications on both servers will query the authentification
 system.
 
 What's the best/clean/nice way to do this ?
 JAAS ? Web services ? SSL keys ?
 
 


__
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential. See:
http://www.nextengine.com/confidentiality.php
__


-
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]



[offtopic] Architecture Question

2003-12-04 Thread Laurent Michenaud
Hi,
 
We have two tomcat servers.
One is located at our enterprise.
The other is located at our hosting provider.
They can see each other by Internet.
 
We would like to set up an unique authentification system for both
server.
The authentification system will be on the server at our entreprise.
The web applications on both servers will query the authentification
system.
 
What's the best/clean/nice way to do this ?
JAAS ? Web services ? SSL keys ?
 
 
Thanks


Question using JProfiler with Tomcat

2003-12-02 Thread Laurent Michenaud
Hi,
 
I'm using Jprofiler to monitor my web application running on Tomcat.
My Webapp uses XML/XSLTC to generate the html page.
 
Looking at the JVM, I was horrified to see that some pages are using
more than 30 Mo of memory.
 
So, I've added another webapp that shows the JVM ( graphic in a applet
).
 
This applet shows differents values from Jprofiler about memory
consumption.
The used memory is not so much.
 
I think it is due to the fact that Jprofiler creates a lot of objects to
inspect the JVM.
 
So my conclusion is :
Don't use Jprofiler to see our much memory your web application use ! Or
divide the obtained
values by 3 or 4.
 
What's your opinion about that ?
 
Thanks
 


mod_jk2 not working anymore

2003-11-20 Thread Laurent Michenaud
Hi,
 
I've upgraded to apache 2.0.48/mod_jk2/jakarta-tomcat-4.1.29
and the mappings in workers2.properties don't work correctly anymore.
I was working with apache-2.0.46/mod_jk2/jakarta-tomcat-4.1.24.
 
My uri mapping are :
 
[uri:/*.jsp]
worker=ajp13:localhost:8009
 
[uri:/servlet/*]
worker=ajp13:localhost:8009
 
Jsp are working but not servlet.
 
If I put a generic mapping [uri:/*], jsp and servlet
don't work.
 
If I put :
[uri:/*.jsp]
worker=ajp13:localhost:8009
 
[uri:/servlet/TheNameOfMyServlet]
worker=ajp13:localhost:8009
 
The servlet works but I don't want to have to put a mapping for each
servlet.
 
Any idea ?
 
 
 
 
 


RE : mod_jk2 not working anymore

2003-11-20 Thread Laurent Michenaud
I resolved my problem configuring the mapping
In the httpd.conf :

Location /*.jsp
JkUriSet worker ajp13:localhost:8009
/Location

Location /servlet/*
JkUriSet worker ajp13:localhost:8009
/Location

Location /jkstatus
JkUriSet worker status:status
/Location

So, I think that the mapping with pcre in the mod_jk2
is not working properly.

-Message d'origine-
De : Laurent Michenaud 
Envoyé : jeudi 20 novembre 2003 10:21
À : [EMAIL PROTECTED]
Objet : mod_jk2 not working anymore

Hi,
 
I've upgraded to apache 2.0.48/mod_jk2/jakarta-tomcat-4.1.29
and the mappings in workers2.properties don't work correctly anymore.
I was working with apache-2.0.46/mod_jk2/jakarta-tomcat-4.1.24.
 
My uri mapping are :
 
[uri:/*.jsp]
worker=ajp13:localhost:8009
 
[uri:/servlet/*]
worker=ajp13:localhost:8009
 
Jsp are working but not servlet.
 
If I put a generic mapping [uri:/*], jsp and servlet
don't work.
 
If I put :
[uri:/*.jsp]
worker=ajp13:localhost:8009
 
[uri:/servlet/TheNameOfMyServlet]
worker=ajp13:localhost:8009
 
The servlet works but I don't want to have to put a mapping for each
servlet.
 
Any idea ?
 
 
 
 
 

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



error-page bug ?

2003-11-20 Thread Laurent Michenaud
When my error page is at the root of the webapp, tomcat can't find it.
 
In web.xml of the webapp :
 
This works :
error-page
error-code404/error-code
 location/error/notfound.jsp/location
/error-page
 
This works
error-page
error-code404/error-code
 location//location
/error-page
 
This DOESNOT works :
error-page
error-code404/error-code
 location/notfound.jsp/location
/error-page
 
Tomcat is 4.1.29


RE : Dead threads

2003-11-20 Thread Laurent Michenaud
I can't find it.

Could u or anybody else post the code ?

Thanks

-Message d'origine-
De : Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 20 novembre 2003 14:42
À : Tomcat Users List
Objet : RE: Dead threads


Howdy,
If a thread is dead it will have been GCed.  Use a thread dump (kill -s
QUIT processId) to get the current list of threads and what they're
doing on stdout.  There are also programmatic ways to go about this:
I've posted at least three times in the past the complete code for a
thread-crawler type of class that will display all the threads in the
JVM, what they're doing, their state, etc: you can search the list
archives for it.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Walter do Valle [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 20, 2003 6:52 AM
To: Tomcat Users List
Subject: Dead threads

How to know what Tomcat threads are dead (or hanged, os blocked, or
inoperative, or... ) in an Tomcat running on Linux?
Any help is welcome.



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
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]



A proper way to stop thread ?

2003-11-20 Thread Laurent Michenaud
Hi,
 
We are using Timer in our web application.
 
We are wondering how to stop the Timer when tomcat shutdown.
 
For the moment, we add Timer.cancel() in the destroy() of the servlet
that launches the Timer.
 
I don't know if it is good or not.
 
When is a servlet killed ? at tomcat shutdown or when it is not used
anymore ( GC ) ?


RE : A proper way to stop thread ?

2003-11-20 Thread Laurent Michenaud
The goal of the timer is to update a cache.

Thanks for the idea of the context listener.

-Message d'origine-
De : Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 20 novembre 2003 17:30
À : Tomcat Users List
Objet : RE: A proper way to stop thread ?


Howdy,

We are using Timer in our web application.

We are wondering how to stop the Timer when tomcat shutdown.

For the moment, we add Timer.cancel() in the destroy() of the servlet
that launches the Timer.

I don't know if it is good or not.

When is a servlet killed ? at tomcat shutdown or when it is not used
anymore ( GC ) ?

A servlet is normally destroyed on server shutdown.  According to the
servlet specification, however, the container may destroy a servlet if
it needs to as long as it's not in use.

So you may wish to have the Timer shutdown elsewhere, such as in the
contextDestroyed method of a servlet listener.

Alternatively, you can run the Timer in a separate Thread as a daemon,
in which case the JVM will automatically shut it down when it shuts
down.  But you don't want to rely on this unless you have to.

Perhaps the better question is, why are you using such a long-lived
timer?

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
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]



[offtopic] accessing ms access database from Linux

2003-11-18 Thread Laurent Michenaud
Hi,
 
Do u know how to access a microsoft access database located on a windows
machine from a j2ee application running on Tomcat on a Linux machine ?
 
Thanks


reloadable

2003-11-18 Thread Laurent Michenaud
Hi,
 
I've got a web application with reloadable=false.
I start tomcat.
I call a jsp file ( ex: toto.jsp ).
The JSP is compiled in the work directory.
I stop tomcat
I update the jsp toto.jsp.
I start tomcat.
 
What does Tomcat ?
Does it recompile the new jsp or does it use the old file in the work
directory ?
 
Thanks
 
 
 
 


RE : RE : memory-leaks in servlets, tool for tracing ?

2003-11-06 Thread Laurent Michenaud
When does a class reload occur ?

When u update a JSP ?
When u update a class ?
When u update a lib ?
When u do reload in the manager webapps ? = yes :)

Anything else ?

-Message d'origine-
De : Christopher Schultz [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 5 novembre 2003 23:31
À : Tomcat Users List
Objet : Re: RE : memory-leaks in servlets, tool for tracing ?

Laurent,
 What about classes with static method and/or static attributes ?
 
 Are they deleted from the old webapp ?

I don't believe that the VM ever releases resources taken up by Class 
objects (I think this includes static resources for a class). There used 
to be a VM option, -noclassgc, that was often used so that instance-less 
Classes wouldn't get GC'd. Almost everyone who ran Java apps turned that 
option on.

I'm not even sure if that option is still available. They may have 
simply eliminated the GC'ing of Class objects altogether.

I know that in my stock tc 4.1.27 on Sun's 1.4.2 VM, that after a 
re-load, all the old Class objects stick around. It's quite 
disconcerting because the heap grows by around 600 classes every time a 
context-reload occurs. The solution, of course, is not to enable 
context-reloading on production :)

-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 : memory-leaks in servlets, tool for tracing ?

2003-11-05 Thread Laurent Michenaud
What about classes with static method and/or static attributes ?

Are they deleted from the old webapp ?

-Message d'origine-
De : Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 5 novembre 2003 15:57
À : Tomcat Users List
Objet : RE: memory-leaks in servlets, tool for tracing ?


Howdy,

You make a great point about how the app should stabilize it's memory
usage over time. However, I've got a question about memory usage when I
stop (via Tomcat manager) and reload a webapp via a WAR file. If I
understand your point, and I'm close to the max heap size, shouldn't GC
free up the memory from the old webapp? In my case, GC happens more
frequently, but doesn't do a great job (not even close to freeing up
the memory footprint of my webapp). Eventually, I run into out of
memory problems. Shouldn't a reload of a webapp cause a relase of the
resources from the old webapp?

A reload should release old resources when you restart the webapp, yes.
But it's your responsibility to ensure there's nothing in your
application which would stay in memory after a webapp restart.  For
example, classes in common/lib aren't affected by a restart, so if you
app puts stuff there, and then you restart your app, the stuff you put
in common/lib will still be there.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
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 : RE : memory-leaks in servlets, tool for tracing ?

2003-11-05 Thread Laurent Michenaud
It would be good if some of you writes an kind of howTo
that shows :
- a webapp with a memory leak.
- the use of a profiler program ( with screenshots ) to detect the memory leak.

-Message d'origine-
De : Laurent Michenaud 
Envoyé : mercredi 5 novembre 2003 16:56
À : Tomcat Users List
Objet : RE : memory-leaks in servlets, tool for tracing ?

What about classes with static method and/or static attributes ?

Are they deleted from the old webapp ?

-Message d'origine-
De : Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 5 novembre 2003 15:57
À : Tomcat Users List
Objet : RE: memory-leaks in servlets, tool for tracing ?


Howdy,

You make a great point about how the app should stabilize it's memory
usage over time. However, I've got a question about memory usage when I
stop (via Tomcat manager) and reload a webapp via a WAR file. If I
understand your point, and I'm close to the max heap size, shouldn't GC
free up the memory from the old webapp? In my case, GC happens more
frequently, but doesn't do a great job (not even close to freeing up
the memory footprint of my webapp). Eventually, I run into out of
memory problems. Shouldn't a reload of a webapp cause a relase of the
resources from the old webapp?

A reload should release old resources when you restart the webapp, yes.
But it's your responsibility to ensure there's nothing in your
application which would stay in memory after a webapp restart.  For
example, classes in common/lib aren't affected by a restart, so if you
app puts stuff there, and then you restart your app, the stuff you put
in common/lib will still be there.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
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]



Linux Distribution

2003-11-04 Thread Laurent Michenaud
Hi,
 
We are actually using the RedHat Linux Distribution for our developpment
environnment.
 
Redhat doesn't offer anymore free patches for Redhat anterior to version
9.
Free Patches for Redhat 9.0 will stop on 30 avril.
 
We are thinking about choosing another distribution.
 
What distribution do u use actually and which one would u choose instead
of Redhat ?
 
Thanks


RE : Tomcat mysteriously stops responding...

2003-10-23 Thread Laurent Michenaud
Same problem, maybe poor programming practices

-Message d'origine-
De : Robyne Vaughn [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 23 octobre 2003 14:56
À : Tomcat Users List; [EMAIL PROTECTED]
Objet : RE: Tomcat mysteriously stops responding...

I've had a similar problem and can't figure it out.  I suspect I have a
servlet which isn't closing connections correctly or isn't shutting down
properly and ties up resources.  I havn't found it yet, but someone
suggested poor programming practices from us newbies/unknowledgeables
could be the problem.  

Good luck and I hope you find it.
robyne

-Original Message-
From: Sonny Sukumar [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 22, 2003 5:25 PM
To: [EMAIL PROTECTED]
Subject: Tomcat mysteriously stops responding...



Hey guys,

I've had the persistent problem with Tomcat (using
Cocoon) over some months now where when I go to bed at
night my Tomcat/Cocoon server is functioning just fine
and I can access all web pages, both static and
dynamically generated (from a backend db).

But when I wake up and try to access the pages the
connection just times out and I get a totally blank
response.  This doesn't happen every single day, but
often enough to be annoying.  We're soon going live
with the site, so this happening **at all** is a scary
thought.  I can't seem to figure out what the problem
could be.  

I'm fairly sure it's Tomcat because restarting Tomcat
almost always solves the problem.  I've had this
problem through all my Tomcat upgrades (4.1.12 all the
way to 4.1.27 now) and my Cocoon upgrades (from 2.0.x
all the way until latest 2.1.2).

Has anybody else experienced this?  Any idea what it
could be?

Thanks!

Sonny 

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.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]


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



One or more tomcats ?

2003-09-26 Thread Laurent Michenaud
Hi,
 
Before, we had one tomcat for our 10 applications.
 
We have tried to have 5 tomcats in parallel and 2 applications per
tomcat.
 
Result :
We've got the impression that the applications are faster than before.
 
Anybody tried this ?
What do u think about having only one tomcat or severals ?


RE : RE : Redirecting the output to a log file

2003-09-25 Thread Laurent Michenaud
Maybe with debug=0

Anyway, u should use log4j instead of System.out

-Message d'origine-
De : Sarika N Inamdar [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 24 septembre 2003 06:41
À : 'Tomcat Users List'
Objet : RE: RE : Redirecting the output to a log file

Hi,

Thanks for the solution. This works. Now my Servlets System.out is
re-directed to log file.

But I also see that tomcat logs lot of debug statements in the same
debug. This would un-necessarily clutter our application log file.

Is there a way we can filter tomcat System.out messages and log only our
application System.out debug stmts ?

Thanks for the help,
Sarika
 

 -Original Message-
 From: Laurent Michenaud [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, September 17, 2003 4:13 PM
 To: Tomcat Users List; [EMAIL PROTECTED]
 Subject: RE : Redirecting the output to a log file
 
 
 Add a logger to your context and the following attribute :
 
 swallowOutput=true
 
 Your system.out will be redirected to the logger you defined 
 for your context.
 
 Example :
 
 Context path= docBase=/home/adeuza debug=0
  reloadable=true crossContext=true 
 swallowOutput=true
  
   Logger className=org.apache.catalina.logger.FileLogger
  directory=/u/logs/ prefix=logfile. suffix=.log
  timestamp=true/
 /Context
 
 -Message d'origine-
 De : Sarika N Inamdar [mailto:[EMAIL PROTECTED] 
 Envoyé : mercredi 17 septembre 2003 12:40
 À : 'Johan Louwers'; 'Tomcat Users List'
 Objet : RE: Redirecting the output to a log file
 
 Hi,
 
 But the servlet System.out code used to log messages to our 
 application log when using tomcat 3.
 
 With migration to 4.1.24, we are facing this issue.
 
 Thanks,
 Sarika
 
  -Original Message-
  From: Johan Louwers [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, September 17, 2003 3:59 PM
  To: Tomcat Users List; [EMAIL PROTECTED]
  Subject: Re: Redirecting the output to a log file
  
  
  do not use System.out simply make a write to a file routine
  and write to a file :-)
  
  
  Johan.
  
  - Original Message -
  From: Sarika N Inamdar [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Wednesday, September 17, 2003 12:17 PM
  Subject: Redirecting the output to a log file
  
  
   Hi All,
   When my servlets are sending some stack trace or System.out
  messages ,
   all such output is dumped in the catalina.out log. We want the
   System.out messages to go into our application's log file. 
  I am using
   standalone catalina on Solaris and tomcat 4.1.24. Please 
 suggest on
   how to proceed to achieve the same. Thanks in Advance,
   Sarika
  
  
  
   
  
 -
   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]
 
 


-
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 : Redirecting the output to a log file

2003-09-17 Thread Laurent Michenaud
Add a logger to your context and the following attribute :

swallowOutput=true

Your system.out will be redirected to the logger you defined for your context.

Example :

Context path= docBase=/home/adeuza debug=0
 reloadable=true crossContext=true swallowOutput=true
 
Logger className=org.apache.catalina.logger.FileLogger
 directory=/u/logs/ prefix=logfile. suffix=.log
 timestamp=true/
/Context

-Message d'origine-
De : Sarika N Inamdar [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 17 septembre 2003 12:40
À : 'Johan Louwers'; 'Tomcat Users List'
Objet : RE: Redirecting the output to a log file

Hi,

But the servlet System.out code used to log messages to our application
log when using tomcat 3.

With migration to 4.1.24, we are facing this issue.

Thanks,
Sarika

 -Original Message-
 From: Johan Louwers [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, September 17, 2003 3:59 PM
 To: Tomcat Users List; [EMAIL PROTECTED]
 Subject: Re: Redirecting the output to a log file
 
 
 do not use System.out simply make a write to a file routine 
 and write to a file :-)
 
 
 Johan.
 
 - Original Message -
 From: Sarika N Inamdar [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, September 17, 2003 12:17 PM
 Subject: Redirecting the output to a log file
 
 
  Hi All,
  When my servlets are sending some stack trace or System.out 
 messages , 
  all such output is dumped in the catalina.out log. We want the 
  System.out messages to go into our application's log file. 
 I am using 
  standalone catalina on Solaris and tomcat 4.1.24. Please suggest on 
  how to proceed to achieve the same. Thanks in Advance,
  Sarika
 
 
 
  
 -
  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]



Jasper Exception

2003-09-11 Thread Laurent Michenaud
Hi,
 
I've got some classes like this :
 
package com.a2a.util ;
public interface A2aConstantes
{
  java.util.ResourceBundle props =
java.util.ResourceBundle.getBundle(test);
  public static final String SCHEMA = props.getString(SCHEMA);
  public static final String URL_RACINE = props.getString(URL_RACINE);
}
 
If the SCHEMA property doesnot exist in my test.properties, a jasper
exception
is thrown instead of a Missing Ressource Property.
So, when I have a jasper exception, I don't know where it comes from and
it is very annoying.
Are there any solution ?
 
Thanks
 
 


RE : Jasper Exception

2003-09-11 Thread Laurent Michenaud
I just would like to have the real exception and not a jasper
that means nothing for me.

-Message d'origine-
De : Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 11 septembre 2003 16:46
À : Tomcat Users List
Objet : RE: Jasper Exception


Howdy,
I'm not a jasper expert, but you're asking for trouble with this
interface is type design -- there's not much the compiler can do ;(
http://checkstyle.sourceforge.net/config_design.html#InterfaceIsType

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Laurent Michenaud [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 11, 2003 10:39 AM
To: [EMAIL PROTECTED]
Subject: Jasper Exception

Hi,

I've got some classes like this :

package com.a2a.util ;
public interface A2aConstantes
{
  java.util.ResourceBundle props =
java.util.ResourceBundle.getBundle(test);
  public static final String SCHEMA = props.getString(SCHEMA);
  public static final String URL_RACINE =
props.getString(URL_RACINE);
}

If the SCHEMA property doesnot exist in my test.properties, a jasper
exception
is thrown instead of a Missing Ressource Property.
So, when I have a jasper exception, I don't know where it comes from
and
it is very annoying.
Are there any solution ?

Thanks





This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
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]



Getting session list

2002-11-15 Thread Laurent Michenaud
Hi,

I use Tomcat 3.3.1 ( Servlet 2.1 )

I want to create a servlet that lists the sessions.

How can i get all the active sessions ?

Thanks

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Loading properties files

2002-08-27 Thread Laurent Michenaud

Hi,

Could u tell me what is not correct with that :

Before we had that ( the properties files were in WEB-INF/classes ) and that works :

package com.a2a.util ;
public interface A2aConstantes
{
  public static final String SCHEMA = 
java.util.ResourceBundle.getBundle(db).getString(schema);
}


Now we want to have properties files in WEB-INF/config so we change
the file like this :

package com.a2a.util ;
public interface A2aConstantes
{
  public static final String SCHEMA = 
java.util.ResourceBundle.getBundle(/WEB-INF/config/db).getString(schema);
}

But it doesnot work, it can't find the db.properties. I have tried with 
WEB-INF/config/db and /WEB-INF/config/db.properties but
it doesnot work too.

Can u tell me what's wrong ?




Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


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




RE: Loading properties files

2002-08-27 Thread Laurent Michenaud

I can't find the documentation u speak about.

Could u give me the url ?

 -Message d'origine-
 De : Alan Tingley - Iperia [mailto:[EMAIL PROTECTED]]
 Envoyé : mardi 27 août 2002 12:15
 À : Tomcat Users List
 Objet : Re: Loading properties files
 
 
 Your properties file must be in a location that Tomcat knows 
 about via its
 classpath (WEB-INF/classes is on Tomcat's classpath, that's 
 why it worked
 when your file was there).  See the Tomcat docs under 
 Classpath How-to,
 which describes the class loaders in Tomcat.
 Alan Tingley
 
 - Original Message -
 From: Laurent Michenaud [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, August 27, 2002 4:40 AM
 Subject: Loading properties files
 
 
 Hi,
 
 Could u tell me what is not correct with that :
 
 Before we had that ( the properties files were in 
 WEB-INF/classes ) and
 that works :
 
 package com.a2a.util ;
 public interface A2aConstantes
 {
   public static final String SCHEMA =
 java.util.ResourceBundle.getBundle(db).getString(schema);
 }
 
 
 Now we want to have properties files in WEB-INF/config so we change
 the file like this :
 
 package com.a2a.util ;
 public interface A2aConstantes
 {
   public static final String SCHEMA =
 java.util.ResourceBundle.getBundle(/WEB-INF/config/db).getSt
 ring(sche
 ma);
 }
 
 But it doesnot work, it can't find the db.properties. I have 
 tried with
 WEB-INF/config/db and /WEB-INF/config/db.properties but
 it doesnot work too.
 
 Can u tell me what's wrong ?
 
 
 
 
 Michenaud Laurent
 - Adeuza -
 [ Développeur Web - Administrateur Réseau ]
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 

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




RE: Loading properties files

2002-08-27 Thread Laurent Michenaud

So, how can i modify my interface so that it reads
the file properties db in WEB-INF/config ?

 -Message d'origine-
 De : Glenn Nielsen [mailto:[EMAIL PROTECTED]]
 Envoyé : mardi 27 août 2002 15:32
 À : Tomcat Users List
 Objet : Re: Loading properties files
 
 
 java.util.ResourceBundle.getBundle() uses the current 
 ClassLoader to load
 your resource bundle.  That means that your properties have 
 to either be
 located with a jar file in /WEB-INF/lib or in your 
 /WEB-INF/classess directory.
 
 This isn't a limitation of Tomcat, this is how resource bundles work.
 
 Regards,
 
 Glenn
 
 randie ursal wrote:
  why is it tomcat could not locate the property file if i 
 place it on the
  package directory structure of my servlets?...it is still on the 
  WEB-INF/classes
  directory isnt it? just need some more clarifications.
  
  e.g  WEB-INF/classess/com/test/MyProperty.properties
  
  thanks
  
  Alan Tingley - Iperia wrote:
  
  Your properties file must be in a location that Tomcat 
 knows about via 
  its
  classpath (WEB-INF/classes is on Tomcat's classpath, 
 that's why it worked
  when your file was there).  See the Tomcat docs under 
 Classpath How-to,
  which describes the class loaders in Tomcat.
  Alan Tingley
 
  - Original Message -
  From: Laurent Michenaud [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Tuesday, August 27, 2002 4:40 AM
  Subject: Loading properties files
 
 
  Hi,
 
  Could u tell me what is not correct with that :
 
  Before we had that ( the properties files were in 
 WEB-INF/classes ) and
  that works :
 
  package com.a2a.util ;
  public interface A2aConstantes
  {
   public static final String SCHEMA =
  java.util.ResourceBundle.getBundle(db).getString(schema);
  }
 
 
  Now we want to have properties files in WEB-INF/config so we change
  the file like this :
 
  package com.a2a.util ;
  public interface A2aConstantes
  {
   public static final String SCHEMA =
  
 java.util.ResourceBundle.getBundle(/WEB-INF/config/db).getSt
 ring(sche
  ma);
  }
 
  But it doesnot work, it can't find the db.properties. I 
 have tried with
  WEB-INF/config/db and /WEB-INF/config/db.properties but
  it doesnot work too.
 
  Can u tell me what's wrong ?
 
 
 
 
  Michenaud Laurent
  - Adeuza -
  [ Développeur Web - Administrateur Réseau ]
 
 
  -- 
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 
 
  -- 
  To unsubscribe, e-mail:   
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: 
  mailto:[EMAIL PROTECTED]
 
 
 
   
 
  
  
  -- 
  To unsubscribe, e-mail:   
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: 
  mailto:[EMAIL PROTECTED]
 
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 

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




web-inf/classes and eclipse

2002-08-20 Thread Laurent Michenaud

Hi,

I use the editor Eclipse but when i launch
Rebuild all, it deletes all the content of 
the WEB-INF/classes directory.

Inside, there is all my *.properties file.

The idea is to create a WEB-INF/config where i
could put the properties files but i don't know how
to add this directory into the classpath. It would be better
too if the path was a relative path.

Or maybe u have others ideas ?

Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


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




RE: web-inf/classes and eclipse

2002-08-20 Thread Laurent Michenaud

thanks for this idea. I think i will use ant..

But what about adding WEB-INF/config to the CLASSPATH ?
How can i do that automatically for all tomcat projects ?

 -Message d'origine-
 De : Andreas Probst [mailto:[EMAIL PROTECTED]]
 Envoyé : mardi 20 août 2002 09:37
 À : Tomcat Users List
 Objet : Re: web-inf/classes and eclipse
 
 
 Hi Michenaud,
 
 using Ant together with Eclipse might be an option. You can 
 run Ant from inside Eclipse by right-clicking the build.xml 
 file and choosing the right operation (I now don't know how it 
 is called).
 
 Andreas
 
 
  Hi,
  
  I use the editor Eclipse but when i launch
  Rebuild all, it deletes all the content of 
  the WEB-INF/classes directory.
  
  Inside, there is all my *.properties file.
  
  The idea is to create a WEB-INF/config where i
  could put the properties files but i don't know how
  to add this directory into the classpath. It would be better
  too if the path was a relative path.
  
  Or maybe u have others ideas ?
  
  Michenaud Laurent
  - Adeuza -
  [ Développeur Web - Administrateur Réseau ]
  
  
  --
  To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
  
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 

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




unsubscribe does not work

2002-07-19 Thread Laurent Michenaud

I can't unsubscribe from this mailing list.

Please tell me how to do it...

Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


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




RE: unsubscribe does not work

2002-07-19 Thread Laurent Michenaud

I receive a message to confirm that
i want to unsubscribe.
I reply but the reply doesnot work :
i receive this mail :





Hi. This is the qmail-send program at nagoya.betaversion.org.
I'm afraid I wasn't able to deliver your message to the following
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

[EMAIL PROTECTED]:
Sorry, no mailbox here by that name. (#5.1.1)

--- Below this line is a copy of the message.

Return-Path: [EMAIL PROTECTED]
Received: (qmail 10053 invoked by uid 98); 19 Jul 2002 09:48:35 -
Delivered-To: [EMAIL PROTECTED]
X-Antivirus: nagoya (v4198 created Apr 24 2002)
Received: (qmail 10034 invoked from network); 19 Jul 2002 09:48:34 -
Received: from daedalus.apache.org (HELO apache.org) (63.251.56.142)
  by nagoya.betaversion.org with SMTP; 19 Jul 2002 09:48:34 -
Received: (qmail 49922 invoked by uid 500); 19 Jul 2002 09:48:05 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 49915 invoked from network); 19 Jul 2002 09:48:05 -
Received: from unknown (HELO abraracourcix.adeuza.fr) (80.65.236.42)
  by daedalus.apache.org with SMTP; 19 Jul 2002 09:48:05 -
X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: 
Date: Fri, 19 Jul 2002 11:48:16 +0200
Message-ID:
[EMAIL PROTECTED]
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Index: AcIvCWgMYk4rAtTLQEOXZtYbm4uvBA==
From: Laurent Michenaud [EMAIL PROTECTED]
To: tomcat-user-uc.1027072067.lcbonmnbgecebniojnno-lmichenaud=
[EMAIL PROTECTED]
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N






 -Message d'origine-
 De : Eric Leung [mailto:[EMAIL PROTECTED]]
 Envoyé : vendredi 19 juillet 2002 11:37
 À : 'Tomcat Users List'
 Objet : RE: unsubscribe does not work
 
 
 Hi you should just send a empty mail to 
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 
 -Original Message-
 From: Laurent Michenaud [mailto:[EMAIL PROTECTED]]
 Sent: Friday, July 19, 2002 5:36 PM
 To: [EMAIL PROTECTED]
 Subject: unsubscribe does not work
 
 
 I can't unsubscribe from this mailing list.
 
 Please tell me how to do it...
 
 Michenaud Laurent
 - Adeuza -
 [ Développeur Web - Administrateur Réseau ]
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 

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




Taglib with Tomcat 3.3.1

2002-07-18 Thread Laurent Michenaud

Hi,

I'm trying to use taglib with Tomcat 3.3.1 but 
i've got these errors :

Warning: validation was turned on but an org.xml.sax.ErrorHandler was
not
set, which is probably not what is desired.  Parser will use a default
ErrorHandler to print the first 10 errors.  Please call
the 'setErrorHandler' method to fix this.
Error: URI=null Line=8: Element taglib does not allow uri here.
Error: URI=null Line=9: Element taglib does not allow info here.
Error: URI=null Line=10: Element taglib does not allow tag here.
Error: URI=null Line=12: Element tag does not allow tag-class here.
Error: URI=null Line=12: Element type tag-class is not declared.
Error: URI=null Line=13: Element tag does not allow info here.
Error: URI=null Line=14: Element tag does not allow attribute here.
Error: URI=null Line=19: Element tag requires additional elements.
Error: URI=null Line=20: Element taglib does not allow tag here.
Error: URI=null Line=22: Element tag does not allow tag-class here.

In the tld, i use the following header :
?xml version=1.0 encoding=ISO-8859-1 ?
!DOCTYPE taglib
  PUBLIC -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN
  http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd;

And in server.xml, i have these two lines :
WebXmlReader validate=true /
ErrorHandler showDebugInfo=true /

Any ideas ?
Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


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




File Download and then Reloading a page

2002-07-17 Thread Laurent Michenaud

Hi,

I would like to be able within a servlet
to launch a file download and just after reloading
a jsp page( =The servlet generates two response ).

Is it possible ?

Thanks

Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


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




Problem with servlet (download response) under NT 4

2002-07-17 Thread Laurent Michenaud

Hi,

I've got a servlet that launches a download with :
response.setContentType(application/csv);
response.setHeader(Content-Disposition,
attachment;filename=downloadbookings.csv);

It works perfectly with windows 2000 but not with NT4.
In NT4 IE 5.5, the browser asks me for downloading or opening
index.jsp.
When i choose opening index.jsp, then it asks me to download
downloadbookings.csv.

What's the problem with NT 4 ?



Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


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




File Download and then Reloading a page

2002-07-17 Thread Laurent Michenaud

Hi,

I would like to be able within a servlet
to launch a file download and just after reloading
a jsp page( =The servlet generates two response ).

Is it possible ?

Thanks

Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


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




Defining in which servlet method the jsp code will be converted

2002-07-17 Thread Laurent Michenaud

Hi,

I'm reading the Oreilly Java Servlet Programming Guide
and it speaks about a directive for jsp :
%@ method = doPost %

This allows to tell that the jsp code will be converted and inserted
in the servlet method doPost instead of the method service.

Tomcat doesnot reconize this command and i would like to know whether
there is a mean to do that thing.

Thanks

Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


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




Tomcat 3.3.1 and Tag Lib

2002-07-16 Thread Laurent Michenaud

I would like to know whether i can use JSP Tag Library 1.2
with JSP 1.1 and so with Tomcat 3.3.1 ? Or should i use
JSP Tag Library 1.1 instead ?

Thanks

Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


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




Tomcat 4, admin

2002-07-11 Thread Laurent Michenaud

Hi,

Just a stupid question :

What are the login/password for tomcat admin webapps ?

Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


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




RE: Tomcat 4, admin

2002-07-11 Thread Laurent Michenaud

Ok, it works now.
I have used the tomcat installer.

Thanks

 -Message d'origine-
 De : Remy Maucherat [mailto:[EMAIL PROTECTED]]
 Envoyé : jeudi 11 juillet 2002 12:31
 À : Tomcat Users List
 Objet : Re: Tomcat 4, admin
 
 
 Evaristo-Jose Camarero (ECE) wrote:
  Hi Petra:
  
  Do you mean the tomcat role? There is no admin role in 
 tomcat-user.xml file.
 
 You need to add a user with the admin role.
 For the manager webapp, you need someone with the manager role.
 
 If you use the Windows installer, it will prompt you for a 
 login/passowrd and create a user like that for you.
 
 Remy
 
 
 --
 To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


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




Tomcat 4 question

2002-07-11 Thread Laurent Michenaud

Hi,

i was told it was possible to restart one context
in particular without having to restart Tomcat.

How can i do this ?
Is it possible to do it with the admin interface ?



Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


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




RE: Tomcat 3.3.1/Apache Virtual Host and Alias

2002-06-11 Thread Laurent Michenaud

Yes, that was the problem = Alias must begin with a capital 'A' 

Sorry for my vocabulary but that sucks !
because there is no xml parser error and there is
no error telling u that the config file is incorrect.

Thanks a lot.


 -Message d'origine-
 De : Larry Isaacs [mailto:[EMAIL PROTECTED]]
 Envoyé : lundi 10 juin 2002 19:53
 À : 'Tomcat Users List'
 Objet : RE: Tomcat 3.3.1/Apache Virtual Host and Alias
 
 
 It looks like the only way for things not to be working
 is if the www.test.net isn't being added as a host alias
 on the Tomcat side.  Try Alias .../ with a capital 'A',
 i.e:
 
   Alias name=www.test.net / 
 
 I believe this will get it working.
 
 Cheers,
 Larry
 
  -Original Message-
  From: Laurent Michenaud [mailto:[EMAIL PROTECTED]] 
  Sent: Monday, June 10, 2002 1:06 PM
  To: Tomcat Users List
  Subject: RE: Tomcat 3.3.1/Apache Virtual Host and Alias
  
  
  Requesting www.test.net/index.jsp logs :
  
  * In mod_jk.log :
  
  [Mon Jun 10 18:51:00 2002]  [jk_uri_worker_map.c (351)]: Into
  jk_uri_worker_map_t::map_uri_to_worker
  [Mon Jun 10 18:51:00 2002]  [jk_uri_worker_map.c (368)]: 
 Attempting to
  map URI '/index.jsp'
  [Mon Jun 10 18:51:00 2002]  [jk_uri_worker_map.c (416)]:
  jk_uri_worker_map_t::map_uri_to_worker, Found a suffix 
 match ajp13 -
  *.jsp
  [Mon Jun 10 18:51:00 2002]  [jk_worker.c (123)]: Into
  wc_get_worker_for_name ajp13
  [Mon Jun 10 18:51:00 2002]  [jk_worker.c (127)]: 
  wc_get_worker_for_name,
  done  found a worker
  [Mon Jun 10 18:51:00 2002]  [jk_ajp13_worker.c (865)]: Into
  jk_worker_t::get_endpoint
  [Mon Jun 10 18:51:00 2002]  [jk_ajp13_worker.c (775)]: Into
  jk_endpoint_t::service
  [Mon Jun 10 18:51:00 2002]  [jk_ajp13.c (403)]: Into
  ajp13_marshal_into_msgb
  [Mon Jun 10 18:51:00 2002]  [jk_ajp13.c (537)]: 
  ajp13_marshal_into_msgb
  - Done
  [Mon Jun 10 18:51:00 2002]  [jk_ajp13_worker.c (206)]: 
  sending to ajp13
  #334
  [Mon Jun 10 18:51:00 2002]  [jk_ajp13_worker.c (645)]: 
 send_request 2:
  request body to send 0 - request body to resend 0
  [Mon Jun 10 18:51:00 2002]  [jk_ajp13_worker.c (258)]: received from
  ajp13 #47
  [Mon Jun 10 18:51:00 2002]  [jk_ajp13.c (584)]:
  ajp13_unmarshal_response: status = 404
  [Mon Jun 10 18:51:00 2002]  [jk_ajp13.c (591)]:
  ajp13_unmarshal_response: Number of headers is = 2
  [Mon Jun 10 18:51:00 2002]  [jk_ajp13.c (634)]:
  ajp13_unmarshal_response: Header[0] [Content-Type] = [text/html]
  [Mon Jun 10 18:51:00 2002]  [jk_ajp13.c (634)]:
  ajp13_unmarshal_response: Header[1] [Content-Length] = [171]
  [Mon Jun 10 18:51:00 2002]  [jk_ajp13_worker.c (258)]: received from
  ajp13 #175
  [Mon Jun 10 18:51:00 2002]  [jk_ajp13_worker.c (258)]: received from
  ajp13 #2
  [Mon Jun 10 18:51:00 2002]  [jk_ajp13_worker.c (549)]: Into
  jk_endpoint_t::done
  
  * In tc.log
  
  After tomcat load : ( there is no www.test.net, normal ? )
  2002-06-10 19:00:25 - ContextManager: Tomcat configured and 
 in stable
  state 
  2002-06-10 19:00:25 - ContextManager: Adding  www.test.fr:/ROOT
  2002-06-10 19:00:25 - ContextManager: Adding  www.test.com:/ROOT
  
  When i call www.test.net/index.jsp :
  2002-06-10 19:00:53 - ContextManager: Host = www.test.net
  2002-06-10 19:00:53 - ContextManager: Assertion failed: 
  container==null
  (no Default Context?)
  2002-06-10 19:00:53 - Ctx() : Status code:404 request:R( /index.jsp)
  msg:null
  
  
  Any ideas ?
  
  
   -Message d'origine-
   De : Larry Isaacs [mailto:[EMAIL PROTECTED]]
   Envoyé : lundi 10 juin 2002 18:47
   À : 'Tomcat Users List'
   Objet : RE: Tomcat 3.3.1/Apache Virtual Host and Alias
   
   
   Check the mod_jk log and make sure the www.test.net requests
   are being forwarded to Tomcat.  If so, set the debug level
   on SimpleMapper1 in server.xml to 1 and examine the
   Tomcat log to see how the www.test.net requests are being
   handled differently from www.test.com requests.  I currently
   don't see anything in your config files that would cause this
   not to work.
   
   Note that the debug attributes should be set a numeric value
   rather than info.  I would guess this would be equivalent
   to setting it to zero.
   
   Cheers,
   Larry
   
-Original Message-
From: Laurent Michenaud [mailto:[EMAIL PROTECTED]] 
Sent: Monday, June 10, 2002 12:27 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 3.3.1/Apache Virtual Host and Alias


Hi,

I've Tomcat 3.3.1 and Apache running together with mod_jk.

I'm trying to setup alias for VirtualHost in the tomcat 
   configuration
but it doesnot work.

* Here what i have in httpd.conf :

NameVirtualHost 192.168.1.125:80

VirtualHost 192.168.1.125:80
DocumentRoot c:/adeuza/sites/fortunoclic
ServerName www.test.fr
ErrorLog c:\tmp\apache-error-testfr.log
CustomLog c:\tmp\apache-access-testfr.log common
/VirtualHost

VirtualHost 192.168.1.125:80
DocumentRoot c

Tomcat 3.3.1/Apache Virtual Host and Alias

2002-06-10 Thread Laurent Michenaud

Hi,

I've Tomcat 3.3.1 and Apache running together with mod_jk.

I'm trying to setup alias for VirtualHost in the tomcat configuration
but it doesnot work.

* Here what i have in httpd.conf :

NameVirtualHost 192.168.1.125:80

VirtualHost 192.168.1.125:80
DocumentRoot c:/adeuza/sites/fortunoclic
ServerName www.test.fr
ErrorLog c:\tmp\apache-error-testfr.log
CustomLog c:\tmp\apache-access-testfr.log common
/VirtualHost

VirtualHost 192.168.1.125:80
DocumentRoot c:/adeuza/sites/test
ServerName www.test.com
ServerAlias www.test.net
ErrorLog c:\tmp\apache-error-testcom.log
CustomLog c:\tmp\apache-error-testcom.log common
/VirtualHost

* And my apps-testfr.xml 

?xml version=1.0 encoding=ISO-8859-1?
webapps
  Host name=www.test.fr address=192.168.1.125:80
Context path=/ 
 docBase=c:/adeuza/sites/fortunoclic 
 debug=info 
/Context  
  /Host
/webapps

* And my apps-testcom.xml

?xml version=1.0 encoding=ISO-8859-1?
webapps
  Host name=www.test.com address=192.168.1.125:80
alias name=www.test.net /
Context path=/ 
 docBase=c:/adeuza/sites/test 
 debug=info 
/Context
  /Host
/webapps


www.test.fr and www.test.com are ok.
www.test.net can display the correct html files but it cannot find the
jsp and servlet



Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


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




RE: Tomcat 3.3.1/Apache Virtual Host and Alias

2002-06-10 Thread Laurent Michenaud

Requesting www.test.net/index.jsp logs :

* In mod_jk.log :

[Mon Jun 10 18:51:00 2002]  [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Mon Jun 10 18:51:00 2002]  [jk_uri_worker_map.c (368)]: Attempting to
map URI '/index.jsp'
[Mon Jun 10 18:51:00 2002]  [jk_uri_worker_map.c (416)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 -
*.jsp
[Mon Jun 10 18:51:00 2002]  [jk_worker.c (123)]: Into
wc_get_worker_for_name ajp13
[Mon Jun 10 18:51:00 2002]  [jk_worker.c (127)]: wc_get_worker_for_name,
done  found a worker
[Mon Jun 10 18:51:00 2002]  [jk_ajp13_worker.c (865)]: Into
jk_worker_t::get_endpoint
[Mon Jun 10 18:51:00 2002]  [jk_ajp13_worker.c (775)]: Into
jk_endpoint_t::service
[Mon Jun 10 18:51:00 2002]  [jk_ajp13.c (403)]: Into
ajp13_marshal_into_msgb
[Mon Jun 10 18:51:00 2002]  [jk_ajp13.c (537)]: ajp13_marshal_into_msgb
- Done
[Mon Jun 10 18:51:00 2002]  [jk_ajp13_worker.c (206)]: sending to ajp13
#334
[Mon Jun 10 18:51:00 2002]  [jk_ajp13_worker.c (645)]: send_request 2:
request body to send 0 - request body to resend 0
[Mon Jun 10 18:51:00 2002]  [jk_ajp13_worker.c (258)]: received from
ajp13 #47
[Mon Jun 10 18:51:00 2002]  [jk_ajp13.c (584)]:
ajp13_unmarshal_response: status = 404
[Mon Jun 10 18:51:00 2002]  [jk_ajp13.c (591)]:
ajp13_unmarshal_response: Number of headers is = 2
[Mon Jun 10 18:51:00 2002]  [jk_ajp13.c (634)]:
ajp13_unmarshal_response: Header[0] [Content-Type] = [text/html]
[Mon Jun 10 18:51:00 2002]  [jk_ajp13.c (634)]:
ajp13_unmarshal_response: Header[1] [Content-Length] = [171]
[Mon Jun 10 18:51:00 2002]  [jk_ajp13_worker.c (258)]: received from
ajp13 #175
[Mon Jun 10 18:51:00 2002]  [jk_ajp13_worker.c (258)]: received from
ajp13 #2
[Mon Jun 10 18:51:00 2002]  [jk_ajp13_worker.c (549)]: Into
jk_endpoint_t::done

* In tc.log

After tomcat load : ( there is no www.test.net, normal ? )
2002-06-10 19:00:25 - ContextManager: Tomcat configured and in stable
state 
2002-06-10 19:00:25 - ContextManager: Adding  www.test.fr:/ROOT
2002-06-10 19:00:25 - ContextManager: Adding  www.test.com:/ROOT

When i call www.test.net/index.jsp :
2002-06-10 19:00:53 - ContextManager: Host = www.test.net
2002-06-10 19:00:53 - ContextManager: Assertion failed: container==null
(no Default Context?)
2002-06-10 19:00:53 - Ctx() : Status code:404 request:R( /index.jsp)
msg:null


Any ideas ?


 -Message d'origine-
 De : Larry Isaacs [mailto:[EMAIL PROTECTED]]
 Envoyé : lundi 10 juin 2002 18:47
 À : 'Tomcat Users List'
 Objet : RE: Tomcat 3.3.1/Apache Virtual Host and Alias
 
 
 Check the mod_jk log and make sure the www.test.net requests
 are being forwarded to Tomcat.  If so, set the debug level
 on SimpleMapper1 in server.xml to 1 and examine the
 Tomcat log to see how the www.test.net requests are being
 handled differently from www.test.com requests.  I currently
 don't see anything in your config files that would cause this
 not to work.
 
 Note that the debug attributes should be set a numeric value
 rather than info.  I would guess this would be equivalent
 to setting it to zero.
 
 Cheers,
 Larry
 
  -Original Message-
  From: Laurent Michenaud [mailto:[EMAIL PROTECTED]] 
  Sent: Monday, June 10, 2002 12:27 PM
  To: [EMAIL PROTECTED]
  Subject: Tomcat 3.3.1/Apache Virtual Host and Alias
  
  
  Hi,
  
  I've Tomcat 3.3.1 and Apache running together with mod_jk.
  
  I'm trying to setup alias for VirtualHost in the tomcat 
 configuration
  but it doesnot work.
  
  * Here what i have in httpd.conf :
  
  NameVirtualHost 192.168.1.125:80
  
  VirtualHost 192.168.1.125:80
  DocumentRoot c:/adeuza/sites/fortunoclic
  ServerName www.test.fr
  ErrorLog c:\tmp\apache-error-testfr.log
  CustomLog c:\tmp\apache-access-testfr.log common
  /VirtualHost
  
  VirtualHost 192.168.1.125:80
  DocumentRoot c:/adeuza/sites/test
  ServerName www.test.com
  ServerAlias www.test.net
  ErrorLog c:\tmp\apache-error-testcom.log
  CustomLog c:\tmp\apache-error-testcom.log common
  /VirtualHost
  
  * And my apps-testfr.xml 
  
  ?xml version=1.0 encoding=ISO-8859-1?
  webapps
Host name=www.test.fr address=192.168.1.125:80
  Context path=/ 
   docBase=c:/adeuza/sites/fortunoclic 
   debug=info 
  /Context  
/Host
  /webapps
  
  * And my apps-testcom.xml
  
  ?xml version=1.0 encoding=ISO-8859-1?
  webapps
Host name=www.test.com address=192.168.1.125:80
  alias name=www.test.net /
  Context path=/ 
   docBase=c:/adeuza/sites/test 
   debug=info 
  /Context
/Host
  /webapps
  
  
 www.test.fr and www.test.com are ok.
 www.test.net can display the correct html files but it cannot find the
 jsp and servlet
 
 
 
 Michenaud Laurent
 - Adeuza -
 [ Développeur Web - Administrateur Réseau ]
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:   
 mailto

jvm monitoring

2002-04-12 Thread Laurent Michenaud

Hi,

We 've got problems with our application running under Tomcat-3.3.1
with IBM JDK 1.3.1.
Memory is growing until it crashes( not enough memory exception ).
We have modified the parameter -Xms and -Xmx but it has not changed
anything.

We think the problem comes from our application.

We are searching for a mean of monitoring the objects, instances, heap
size, 
garbage collector, in the JVM.

Do u know any tools to do that ?

We have tried jprofiler but it does not show the objects created in the
different
context.

Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Integrating Tomcat 3.3 in Jbuilder 6

2002-03-26 Thread Laurent Michenaud

Hi,

Does anyone know how to integrate Tomcat 3.3
with JBuilder 6 ?

Bye

Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Integrating Tomcat 3.3 in Jbuilder 6

2002-03-26 Thread Laurent Michenaud

Yes, i want to integrate the version 3.3.

I don't want to use the 3.2.3 and 4.0.1 versions installed by jbuilder.

-Message d'origine-
De : Serhiy Brytskyy [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 26 mars 2002 18:37
À : Tomcat Users List
Objet : Re: Integrating Tomcat 3.3 in Jbuilder 6


Laurent Michenaud wrote:

Hi,

Does anyone know how to integrate Tomcat 3.3
with JBuilder 6 ?

Bye

Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




It is integrated into JBuilder 6. Just run as a web-app. Or would like 
integrate exactly 3.3 version?

-- 
Best regards,
 Serhiy Brytskyymailto:[EMAIL PROTECTED]
 ICQ: 78708314






--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Tomcat 4.0.2 and Apache

2002-02-12 Thread Laurent Michenaud

Hi,

I have read that Tomcat 4.0.1 and Apache was not a good
choice ( bad performance ).

What about Tomcat 4.0.2 and Apache ?

If it is the same state, when is it planned to upgrade
the performance Tomcat4/Apache ? in which version ?

Thanks

Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Tomcat 4.0.2 and Apache

2002-02-12 Thread Laurent Michenaud

That's what i've read before in the mailing list.

Tomcat3.3/Apache offers better performance.



-Message d'origine-
De : Amol Umate [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 12 février 2002 13:33
À : Tomcat Users List
Objet : Re: Tomcat 4.0.2 and Apache


Hi,
So do u mean to say that we should not use tomcat
4.0.x and apache 1.3.x in combination 
as i was in search of connection between both

Amol


--- Laurent Michenaud [EMAIL PROTECTED] wrote:
 Hi,
 
 I have read that Tomcat 4.0.1 and Apache was not a
 good
 choice ( bad performance ).
 
 What about Tomcat 4.0.2 and Apache ?
 
 If it is the same state, when is it planned to
 upgrade
 the performance Tomcat4/Apache ? in which version ?
 
 Thanks
 
 Michenaud Laurent
 - Adeuza -
 [ Développeur Web - Administrateur Réseau ]
 
 
 --
 To unsubscribe:  
 mailto:[EMAIL PROTECTED]
 For additional commands:
 mailto:[EMAIL PROTECTED]
 Troubles with the list:
 mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Tomcat on hpux

2002-01-29 Thread Laurent Michenaud

Hi,

Does Tomcat work on hpux ?
Which version should i use ?

thx

Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




bug management

2001-12-28 Thread Laurent Michenaud

I would like to use a tool to reference the bugs
i'got on my differents projects.

I've heard about bugzilla but i would prefer a
french interface.

Do u know what could i use ?
Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




tag

2001-12-21 Thread Laurent Michenaud

Hi,

Do u use tag for your web developpment ?
What's the advantages ?
In which situation do u use them ? examples maybe ?

thanks

Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Force TC standalone to use 40 bit SSL symetric encryption only

2001-12-17 Thread Laurent Michenaud

how do u force 40bit SSL with Tomcat ?
Is it possible to do the same with Apache and mod_ssl ?

Thanks

-Message d'origine-
De : Lauer, Oliver [mailto:[EMAIL PROTECTED]]
Envoyé : lundi 17 décembre 2001 07:27
À : Tomcat Users List (E-Mail)
Objet : Force TC standalone to use 40 bit SSL symetric encryption only


Hi all, 

If you run TC40 standalone with SSL and you don't need that much
secruity
and prefer speed over total secruity you can force TC40 to encrypt with
40
bit only. 
This enables IE50 (128) to work with TC, too, due to IE50 is forced to
encrypt with 40 bit only. 

You have to change the factory class of the ssl connector. If somebody
is
interested in I have one factory that forces the TC/browsers to use 40
bit
only. 

Oliver 

 AXA eSolutions GmbH
 AXA Konzern AG Germany
 Oliver Lauer 
 Web Architect
 Wörthstraße 34
 D-50668 Köln
 Germany
 Tel.: +49 221 148 31277
 Fax: +49 221 148 43963
 Mobil: +49 179 59 064 59
 e-Mail: [EMAIL PROTECTED]
 _
 
 


Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene
Information nicht rechtsverbindlich. Eine rechtsverbindliche
Bestaetigung reichen wir Ihnen gerne auf Anforderung in schriftlicher
Form nach. Beachten Sie bitte, dass jede Form der unautorisierten
Nutzung, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des
Inhalts dieser E-Mail nicht gestattet ist.Diese Nachricht  ist
ausschliesslich fuer den bezeichneten Adressaten oder dessen Vertreter
bestimmt. Sollten Sie nicht der vorgesehene Adressat dieser E-Mail oder
dessen Vertreter sein, so bitten wir Sie, sich mit dem Absender der
E-Mail in Verbindung zu setzen.

For legal and security reasons the information provided in this e-mail
is not legally binding. Upon request we would be pleased to provide you
with a legally binding confirmation in written form. Any form of
unauthorised use, publication, reproduction, copying or disclosure of
the content of this e-mail is not permitted. This message is exclusively
for the person addressed or their representative. If you are not the
intended recipient of this message and its contents, please notify the
sender immediately.
---



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




web developpment

2001-12-17 Thread Laurent Michenaud

I would like to know what tools you are 
using with Tomcat...

I mean :
ide
versioning
unit tests
benchmark
...


Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: web developpment

2001-12-17 Thread Laurent Michenaud

 I don't know who you are asking but we are using: 
all of u

- jBuilder4-5
- CVS
- WebLoad
- jUnit

What about jUnit ?
we are searching about a test unit mechanism.
Can u explain me how it works ?
Is it simple to use ?

Thanks


Oliver 

 AXA eSolutions GmbH
 AXA Konzern AG Germany
 Oliver Lauer 
 Web Architect
 Wörthstraße 34
 D-50668 Köln
 Germany
 Tel.: +49 221 148 31277
 Fax: +49 221 148 43963
 Mobil: +49 179 59 064 59
 e-Mail: [EMAIL PROTECTED]
 _
 


-Ursprüngliche Nachricht-
Von: Laurent Michenaud [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 17. Dezember 2001 09:46
An: [EMAIL PROTECTED]
Betreff: web developpment


I would like to know what tools you are 
using with Tomcat...

I mean :
ide
versioning
unit tests
benchmark
...


Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene
Information nicht rechtsverbindlich. Eine rechtsverbindliche
Bestaetigung reichen wir Ihnen gerne auf Anforderung in schriftlicher
Form nach. Beachten Sie bitte, dass jede Form der unautorisierten
Nutzung, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des
Inhalts dieser E-Mail nicht gestattet ist.Diese Nachricht  ist
ausschliesslich fuer den bezeichneten Adressaten oder dessen Vertreter
bestimmt. Sollten Sie nicht der vorgesehene Adressat dieser E-Mail oder
dessen Vertreter sein, so bitten wir Sie, sich mit dem Absender der
E-Mail in Verbindung zu setzen.

For legal and security reasons the information provided in this e-mail
is not legally binding. Upon request we would be pleased to provide you
with a legally binding confirmation in written form. Any form of
unauthorised use, publication, reproduction, copying or disclosure of
the content of this e-mail is not permitted. This message is exclusively
for the person addressed or their representative. If you are not the
intended recipient of this message and its contents, please notify the
sender immediately.
---



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Tomcat Compilation

2001-12-05 Thread Laurent Michenaud

Hi,

I've compiled Tomcat 3.3.
Quite easy, with the options debug=false and optimize=true

Do we get better performance compiling Tomcat ?

Are there any other flags to increase the optimization level ?

Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




% in url

2001-12-05 Thread Laurent Michenaud

When i want to get a parameter from an url and the parameter value is
%, the
getParameter(variablename) in my jsp page returns null.

It was working with Tomcat-3.2.3 but not with Tomcat-3.3.

It got that in my server.xml :
DecodeInterceptor
   useSessionEncoding=true
   defaultEncoding=ISO-8859-1
   charsetAttribute=charset
   normalize=true
   safe=false
/

What's the problem ?




Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




trying to shutdown via 8009

2001-11-30 Thread Laurent Michenaud

Hi

I'm trying to shutdown Tomcat via port 8009 with Tomcat 3.3.

I have commented Ajp12Connector  in server.xml
and i have put shutDownEnable=true for the
Ajp13Connector.

But when i run shutdown.bat, it is still trying to shutdown
via port 8007


Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




how to define the / context

2001-11-30 Thread Laurent Michenaud

With Tomcat 3.3, i'm trying to define a context as the default one : /

I have deleted all the examples( i don't need them )

I have a context  in a file ( app-myapp.xml ) with path=/ 
but in the tc.log, i've got always that :
2001-11-30 11:49:02 - ContextManager: Adding  DEFAULT:/ROOT

How to define the DEFAULT one ?


Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




problem with classpath

2001-11-30 Thread Laurent Michenaud

Hi,

I got the following problem :
Tomcat is not able to found classes111.zip which is in WEB-INF/lib.

I've got tomcat in c:/adeuza/prog/tomcat-3.3
My webapp is in c:/adeuza/sites/mywebsite
Classes111.zip is in c:/adeuza/sites/mywebsite/WEB-INF/lib

Classes111.zip is used by a servlet that is launched at startup.

In server.xml, i've got no autodeploy, no autowebapp.
I've got a apps-mywebapps.xml that defined the virtual host and
the context for mywebsite.

What's the problem ?

Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




servlet invoker

2001-11-30 Thread Laurent Michenaud

With Tomcat 3.3, we can see that in the default server.xml

  !-- Non-standard invoker, for backward compat. ( /servlet/* ) 
   Provides support for the /servlet/class name legacy method
of invoking servlets
  --
  InvokerInterceptor /

if i comment this invoker, my servlet doesnot work anymore.

It tells about backward compat... what's the new standard ?
and how to use servlet with this new one ?



Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




major upgrade for our developpement and production environnment

2001-11-29 Thread Laurent Michenaud

Hi,

We would like to do some upgrades on our web servers :
jdk1.2.2_rev9 === Sun JDK 1.3.1_01 or IBM JDK 1.3
tomcat 3.2.3 === Tomcat 3.2.4 or Tomcat 3.3 ( we think 4.0.1 is not
enough stable )

We ould like to hear about your experiences ?

Are there knownimportant bugs in these releases ?
Is the behavior between Tomcat 3.3 and IBMDK 1.3 ok ?
What about the combination between the others ?
Which one offers best stability/performances ?

We've seen AJP 2.0 too with Tomcat 3.3 ? is it stable, better ?

Others comments ?

Thanks


Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Best JDK For Tomcat ?

2001-11-29 Thread Laurent Michenaud

We use :
- Linux Redhat 6.2 on production environnment.
- The web server has 1 giga RAM

We do not use Java Bean.
Tomcat and Apache run on the same server so
i don't think the volcano network bench is 
revelent for us. 

You talk about the stability/number of bugs..
which jdk is supposed to be better ?



-Message d'origine-
De : Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 29 novembre 2001 07:53
À : Tomcat Users List
Objet : AW: Best JDK For Tomcat ?


This kind of test doesn't tell anything.

Better have a look a at somebody who nows what he does:
http://www.volano.com/report/index.html

But these test won't show which JDK is the fastest
for a specific application, because the performance
differences are not the same in every aspect of the
VM.

To find the 'best' VM for a specific application needs
much more than just speed. 
- Which operating system do you use
- Stability 
  (Have a look at the detail link of the Network Scalability chart)
- Number of Bugs
- Memory usage

Our impression:
  We have several sites that are implemeted with the same 
  application. One site simply doesn't run stable with the
  IBM JDK (all kind of core dumps), all others do.
  Although the volano benchmark shows that the IBM JDK is 
  in general much faster than the Sun JDK, we didn't 
  recognise any slowdown or speedup when we switch from 
  one JDK to the other.

 -Ursprüngliche Nachricht-
 Von: Laurent Michenaud [mailto:[EMAIL PROTECTED]]
 Gesendet: Mittwoch, 28. November 2001 18:55
 An: [EMAIL PROTECTED]
 Betreff: Best JDK For Tomcat ?
 
 
 Hi,
 
 I would like you to comment these results, tell me about your
 experiences, and tell me about which jdk is best for a Tomcat...
 
 I'm testing the different jdk with a litte Test.java
 
 Here's the following execution time :
 
 sun jdk1.2.2_rev9 = 16 seconds
 sun jdk1.3.1_01 = 2 seconds
 ibm jdk1.1.8 = more than 2 minutes, it didnot finish.
 ibm jdk1.3 = 3 seconds
 
 
 
 Here the Test.java i've done :
 ( u may think about revelent instructions to add in it, please
 tell me about ):
 
 public class Test
 {
 
 public static void main( String args[] )
 {
Integer i ;
String t ;
for( int cpt = 0 ; cpt  50 ; cpt++ )
{
   cpt++ ;
   cpt-- ;
   t = new String(12345);
   i = new Integer(12345);
   i.toString();
}
 }
 }
 
 
 
 
 
 
 Michenaud Laurent
 - Adeuza -
 [ Développeur Web - Administrateur Réseau 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: major upgrade for our developpement and production environnment

2001-11-29 Thread Laurent Michenaud

We use Tomcat with Apache and we need good performance
so it will be Tomcat 3.X.

-Message d'origine-
De : Arnaud Héritier [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 29 novembre 2001 15:13
À : 'Tomcat Users List'
Objet : RE: major upgrade for our developpement and production
environnment


TC 4.0.1 is enough stable if is running in stand-alone mode.
Performance are better.
If you need to use Apache web server (From now it's not improving
performances with TC 4.0.1) you can use AJP 1.3 (Stable also).
The only problem is if you want to use the load-balancing which is the
only one feature not yet implemented in mod_jk with TC 4.0 (AFIK)

It depends of your use of Apache !!
If you really need it and you need also the load-balancing, forgot TC
4.0.1.
On the contrary you really can use it.

arno

 -Message d'origine-
 De:   Laurent Michenaud [SMTP:[EMAIL PROTECTED]]
 Date: jeudi 29 novembre 2001 15:02
 À:[EMAIL PROTECTED]
 Objet:major upgrade for our developpement and production
environnment
 
 Hi,
 
 We would like to do some upgrades on our web servers :
 jdk1.2.2_rev9 === Sun JDK 1.3.1_01 or IBM JDK 1.3
 tomcat 3.2.3 === Tomcat 3.2.4 or Tomcat 3.3 ( we think 4.0.1 is not
 enough stable )
 
 We ould like to hear about your experiences ?
 
 Are there knownimportant bugs in these releases ?
 Is the behavior between Tomcat 3.3 and IBMDK 1.3 ok ?
 What about the combination between the others ?
 Which one offers best stability/performances ?
 
 We've seen AJP 2.0 too with Tomcat 3.3 ? is it stable, better ?
 
 Others comments ?
 
 Thanks
 
 
 Michenaud Laurent
 - Adeuza -
 [ Développeur Web - Administrateur Réseau ]
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Best JDK For Tomcat ?

2001-11-28 Thread Laurent Michenaud

Hi,

I would like you to comment these results, tell me about your
experiences, and tell me about which jdk is best for a Tomcat...

I'm testing the different jdk with a litte Test.java

Here's the following execution time :

sun jdk1.2.2_rev9 = 16 seconds
sun jdk1.3.1_01 = 2 seconds
ibm jdk1.1.8 = more than 2 minutes, it didnot finish.
ibm jdk1.3 = 3 seconds



Here the Test.java i've done :
( u may think about revelent instructions to add in it, please
tell me about ):

public class Test
{

public static void main( String args[] )
{
   Integer i ;
   String t ;
   for( int cpt = 0 ; cpt  50 ; cpt++ )
   {
  cpt++ ;
  cpt-- ;
  t = new String(12345);
  i = new Integer(12345);
  i.toString();
   }
}
}






Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




stdout and stderr redirection

2001-11-21 Thread Laurent Michenaud

Hi,

Is it possible to redirect the stdout and stderr into log files
with tomcat-3.2.3 ?
For the moment, we have done it within the tomcat.sh script
but it is not very good.

We would like to have a log files per context or virtual host.
I know it is possible with tomcat-4.0.1 but we don't want
to update yet.


Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




mod_webapp

2001-11-20 Thread Laurent Michenaud

What is mod_webapp ?

- is it a replacement of mod_jk or jserv ?
- does it offer good performance ( comparing this others ) ?
- Where can we download it ?
- Can we use it with tomcat-3.2.3 ?

Thanks


Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




poolman

2001-11-20 Thread Laurent Michenaud

Hi,

I'm searching for a good pool manager.
Is poolman good for a production environnment ? on high load server ?
Please tell me which pool you use and why.

Thanks

Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




CVS

2001-11-20 Thread Laurent Michenaud

Hi,

I work in a web agency and we are studying the use of CVS.
We are 3-4 developpers per project.
We have a linux web server with tomcat/apache.
For the moment, we are working on shared sources via samba.

Would be CVS a good thing for our environnment ?
Are there any model of organisation that we would use ?

Please tell me about your organisation if u use cvs, what benefits

Thanks

Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: CVS

2001-11-20 Thread Laurent Michenaud

Ok, but i've got a lot of question about the organisation.
Here how i would see the cvs server for our case :
- There would be a cvs server with different branches( stable,
developpement... )
- Each developper would get a version, work it on local and then update
it( i don't have
  any ideas about the times per day of update ).
- Each developper would have a local tomcat on his machine( not very
good i think ).
- Our web server would check the cvs server for the latest stable enough
sources.
  The tomcat on the web server would be used only for global testing.
Am i right ?

Do u see others points ?
We have no experience at all about cvs in our enterprise and it's quite
worrying.

a+




De : Samuel Rochas [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 20 novembre 2001 15:26
À : Tomcat Users List
Objet : Re: CVS


Bonjour, 

Laurent Michenaud wrote:
 
 Would be CVS a good thing for our environnment ?
CVS, or any other configuration management tool is a must while having a
team working on a project. You can use some free tools, like the CVS
with clients like WinCVS. You can use some (mostly quite expensive)
commercial tools if you like.

 Are there any model of organisation that we would use ?
all what you need is a file system and a network connection between the
users.
Take a look at http://www.gnu.org/manual/cvs-1.9/cvs.html and
http://www.cvshome.org/

Slts
Samuel Rochas
-- 
SWIPe Software Engineering  Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: CVS

2001-11-20 Thread Laurent Michenaud

We prefer to use cvs rather than Ms SafeSource.

I was asking still questions :
- What's better ? a repository for each project or a module for
each project ?
- Is it a good idea to use CVS for binary files ? i was thinking 
about class files, and all the jpeg/gif files...
- What would do the site construction script ? pre-compile the jsp and
the servlet maybe ? Have u got examples of script that i could see ?
- I think we will need differents branches :
- one for each stable release
- one for a beta developpement but fonctionnal, few bugs.
- one for an alpha developpment, used to backup the progress
works( i am hesitating
here with a branch for each developper ).

For example, a developper that has not finished a work at the
end
of the day will update the alpha branch.
A developper will update the beta branch when he thinks his
source
is quite ok.
The stable release will be built after hard testing of the
global
application.
- Last question : which utils do u use for cvs ? there is wincvs, i've
seen webcvs too.
Are there any others ?

Thanks



-Message d'origine-
De : John M. Corro [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 20 novembre 2001 17:47
À : Tomcat Users List
Objet : Re: CVS


- How the CVS server gets organized is based on preference, in my
experience.  Usually, I've seen a branch for each individual project
and
then another one for your organization's library of known stable code
(connection mgr, XML utilities maybe, etc)

- When you say that each developer would get a version, I'm assuming
you're saying each developer would get their own version of CVS which is
true...sort of.  They'd get their own CVS client, but not necessarily
their
own CVS repository.  Everyone gets access to a shared CVS repository.

- I disagree that it's bad to have a Tomcat instance on each workstation
(unless your workstations are incredibly underpowered).  Giving each
app.
developer their own private development environemnt is common practice.
It
allows me as the developer to play w/ things that may reduce the
efficiency
of the entire team.  For instance, say I need to bounce Tomcat alot
throughout the day for whatever reason.  If I do this, people who are
testing their changes may be constantly interrupted by me bouncing
Tomcat.

The challenge to this development paradigm is that creating a new
developer
environment is always a hassle (setting up Tomcat, db connections, db
layout, etc so that it's perfectly aligned to the staging/production
environment).  Keeping everyone's code in sync can be a challenge as
well...Ant can come in handy in this situation.

- Depending on how it's setup, I would recommend against having the
webserver automatically deploy the most recent code in CVS.  The
process, to
me, just seems too error prone.  There could be exceptions based on the
environment, but in general I believe that code should only find it's
way to
the production environment when it's been specifically requested by the
appropriate person/people.

- Tomcat could be a great tool for testing.  I'd recommend for a Staging
and
separate Production environment.  A Production environment is where the
code
sits when it's in day-to-day use.  A Staging environment is (or at least
should be) identical to your Production environment, but is specifically
intended for testing purposes - not daily usage.

I may get flamed for this, but if you're organization is small you may
want
to consider M$'s Sourcesafe.  It's concepts may be a little bit easier
to
adapt to if you have no experience w/ CVS.  CVS is a great and powerful
tool, but if you have no experience w/ it, you could run into some
serious
migration problems.

- Original Message -
From: Laurent Michenaud [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, November 20, 2001 6:21 AM
Subject: RE: CVS


Ok, but i've got a lot of question about the organisation.
Here how i would see the cvs server for our case :
- There would be a cvs server with different branches( stable,
developpement... )
- Each developper would get a version, work it on local and then update
it( i don't have
  any ideas about the times per day of update ).
- Each developper would have a local tomcat on his machine( not very
good i think ).
- Our web server would check the cvs server for the latest stable enough
sources.
  The tomcat on the web server would be used only for global testing.
Am i right ?

Do u see others points ?
We have no experience at all about cvs in our enterprise and it's quite
worrying.

a+




De : Samuel Rochas [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 20 novembre 2001 15:26
À : Tomcat Users List
Objet : Re: CVS


Bonjour,

Laurent Michenaud wrote:

 Would be CVS a good thing for our environnment ?
CVS, or any other configuration management tool is a must while having a
team working on a project. You can use some free tools, like the CVS
with clients like WinCVS. You can

Benchmark

2001-11-15 Thread Laurent Michenaud

Hi,

I would like to bench my web server( apache/tomcat )
What's the best ?

I would like to indicate a list of urls( with somes params in it )
and that it takes care of sessions.

Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Security question

2001-11-15 Thread Laurent Michenaud

Hi,

It is possible de verify that a servlet has been called by a specific
servlet or jsp
and that it can't be called by another one.


Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Session

2001-11-15 Thread Laurent Michenaud

Hi,

Is it possible to see the active session ?
Is it possible to see what there is in a session ?
Is it possible to know which ip is assigned to each session ?
Are they stored in memory ? files ?

Thanks


Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Number of processes growing.

2001-11-14 Thread Laurent Michenaud

Hi,

Our web server :
Apache 1.3.14
Tomcat 3.2.3
Oracle 8.1.6 with Jdbc Thin drivers

We've got the following problem ( appearing about 10 times per day )
- The number of request on port 80 is stable( between 15-25 )
- The number of apache threads suddenly grows ( from 30 to 100 )
- The number of request on port 8009 suddently grows too ( from 50 to
190 )
- Our pool connection suddendly grows too ( from 3-4 connections to 80
max connections )

It cannot be an extern attack because the number of requests on port 80
is stable.
It seems that there is a bug somewhere.
Connections to database are not released( Pool is filled ). 
Tomcat and Apache processes are not released too even if the client
disconnected.

We only restart Tomcat to return to a stable status.

In attachment, a jpeg picture that shows a crash ( lines represent the
number of request on
port 80, on port 8009 and the number of process httpd ).

Can u help ?
 crash.gif 

Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]




crash.gif
Description: crash.gif

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


RE: Number of processes growing.

2001-11-14 Thread Laurent Michenaud

Hi,

Code already checked.
Debug information in our pool.log is ok too.

Note that the server is able to run ok during 4-5 hours without any
problems.

a+


-Message d'origine-
De : Thomas Rickal, IOP Unternehmensberatung GmbH
[mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 14 novembre 2001 15:23
À : 'Tomcat Users List'
Objet : AW: Number of processes growing.


Hi Michenaud,

maybe not all of your connections are freed so that users open new
connections although there are should be free connections in your
connection pool. Check your code.

Thomas

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Java and double

2001-11-14 Thread Laurent Michenaud

Hi,

Excuse me... this mail shouldnot be on this mailing list but
it is an hurry.

public class TestDouble
{
  static public void main(String args[]) {

double val = 0.5055 * 1000 ;
System.out.println( val );
  }
}

This program gives me the following results :
505.44

I've tried with Sun Jdk 1.2.2rev9, Sun jdk1.3.1 and Ibm Jdk 1.3.1.

Have u got informations about this ?
Can u try too ?

Thanks a lot and sorry again

Bye

Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]