Is Tomcat still the reference implementation for Servlets and JSP?

2007-01-09 Thread Jon Miller

Hi all,

Does anyone know if Tomcat is still the reference implementation for 
Servlets and JSP? I thought the Servlets 2.5 spec was finalized in May. Why 
is it taking so long for a release version of Tomcat that implements 
Servlets 2.5? Also, I don't understand how Glassfish can support the new 
specs when it embeds Tomcat.


Jon


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



System path being ignored when using Tomcat Windows service?

2006-12-22 Thread Jon Miller

Hi all,

I have a web application that uses Runtime.exec() to start a process. The 
process that I'm starting is in the system path. The application works fine 
if I'm running the Tomcat platform independent package. However, if I use 
the Tomcat Windows service, it appears that the process can't be created 
because it can't be found. It works if I specify the fully qualified path 
the the executable, but, I want to use only a relative path. I'm wondering 
if the fact that it appears to be ignoring the system path has to do with 
the fact that it's a Windows service, or, if it's an issue with Tomcat?


I'm running Tomcat 5.5.20 with Sun JDK 1.5.0_10 and Windows XP SP2. Also, I 
noticed that if I change the user account that the Tomcat service is 
supposed to run as using the system tray applet, it doesn't change the 
settings, it just keep reverting back to LocalSystem.


Has anyone else ran into either of these issues. As far as I can tell, the 
second issue looks like a bug.


Also, I tried setting java.library.path using the applet, but, that didn't 
seem to help.


Jon


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: System path being ignored when using Tomcat Windows service?

2006-12-22 Thread Jon Miller
I think it must have been a permissions problem. I switched to using a 
different account and now it works. The systray applet doesn't work. I had 
to change it using the normal Services application that's built into 
Windows.


Jon

- Original Message - 
From: Jon Miller [EMAIL PROTECTED]

To: Tomcat User List tomcat-user@jakarta.apache.org
Sent: Friday, December 22, 2006 2:56 PM
Subject: System path being ignored when using Tomcat Windows service?



Hi all,

I have a web application that uses Runtime.exec() to start a process. The 
process that I'm starting is in the system path. The application works 
fine if I'm running the Tomcat platform independent package. However, if I 
use the Tomcat Windows service, it appears that the process can't be 
created because it can't be found. It works if I specify the fully 
qualified path the the executable, but, I want to use only a relative 
path. I'm wondering if the fact that it appears to be ignoring the system 
path has to do with the fact that it's a Windows service, or, if it's an 
issue with Tomcat?


I'm running Tomcat 5.5.20 with Sun JDK 1.5.0_10 and Windows XP SP2. Also, 
I noticed that if I change the user account that the Tomcat service is 
supposed to run as using the system tray applet, it doesn't change the 
settings, it just keep reverting back to LocalSystem.


Has anyone else ran into either of these issues. As far as I can tell, the 
second issue looks like a bug.


Also, I tried setting java.library.path using the applet, but, that didn't 
seem to help.


Jon


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat w/o commercial crap

2006-12-05 Thread Jon Miller
Sounds like you might want to switch to Windows. Maybe that's more your 
speed.


Jon

- Original Message - 
From: Enrico Weigelt [EMAIL PROTECTED]

To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, December 05, 2006 12:33 PM
Subject: Re: tomcat w/o commercial crap



* Christopher Schultz [EMAIL PROTECTED] wrote:

snip


Just in case it's not clear, Enrico is asking about Tomcat on Gentoo
specifically, and it looks like he'd prefer to use the package manager
which is called portage.


ACK.
I've now spent the second day with trying to get it running.

Seems the related ebuilds are totally broken. the gentoo devs of
course claim evrytings perfect ;-o

*gmpf*

Very frustrating.


cu
--
-
Enrico Weigelt==   metux IT service

 phone: +49 36207 519931 www:   http://www.metux.de/
 fax:   +49 36207 519932 email: [EMAIL PROTECTED]
 cellphone: +49 174 7066481
-
-- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Memory leaks on webapp redeploy

2006-11-28 Thread Jon Miller
Currently I'm using 5.5.17, but, it's happened with every other version that 
I've used for the past several years as well.


Jon

- Original Message - 
From: Mark Thomas [EMAIL PROTECTED]

To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, November 27, 2006 7:37 PM
Subject: Re: Memory leaks on webapp redeploy



Jon Miller wrote:

Hi all,

Is anyone running into issues with memory leaks occuring whenever a
webapp is redeployed?


Tomcat version? There have been issues with older releases.


I think I read in a FAQ that even using a singleton in your app will
cause memory leaks? Does anyone know if this is true?


It depends on how careful you are using it. There are lots of ways to
write code that leaks memory.

Rather than try guessing where the leak is, get yourself a profiler
and find it.

Mark

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Memory leaks on webapp redeploy

2006-11-28 Thread Jon Miller
I'm getting ready to try NetBeans profiler right now. I tried it awhile back 
before it was released, but, there was something wrong with the Solaris 
library, so, I couldn't get it to work. I'm hoping I'll have better luck now 
that it's been released officially.


Jon

- Original Message - 
From: anjan bacchu [EMAIL PROTECTED]

To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, November 27, 2006 8:08 PM
Subject: Re: Memory leaks on webapp redeploy



Hi Mark,

 Does anyone on the tomcat dev list use Netbeans profiler at all ? OR do
you guys
exclusively use YourKit ?

Thank you,

BR,
~A

On 11/27/06, Mark Thomas [EMAIL PROTECTED] wrote:


Jon Miller wrote:
 Hi all,

 Is anyone running into issues with memory leaks occuring whenever a
 webapp is redeployed?

Tomcat version? There have been issues with older releases.

 I think I read in a FAQ that even using a singleton in your app will
 cause memory leaks? Does anyone know if this is true?

It depends on how careful you are using it. There are lots of ways to
write code that leaks memory.

Rather than try guessing where the leak is, get yourself a profiler
and find it.

Mark

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
BR,
Anjan Bacchu
Summit Information Systems




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Memory leaks on webapp redeploy

2006-11-28 Thread Jon Miller
Thanks for the info Remy. I've been using Sun's JVM, but, I think I'm going 
to try IBM's to see if that makes a difference.


Jon

- Original Message - 
From: [EMAIL PROTECTED]

To: users@tomcat.apache.org
Sent: Tuesday, November 28, 2006 3:30 AM
Subject: RE: Memory leaks on webapp redeploy



Is anyone running into issues with memory leaks occuring
whenever a webapp is redeployed? I've been having a lot of
problems with this. I think what's exacerbating the problem
is that I'm using Hibernate and JAX-WS which I have bundled
with my application which use a lot of memory.


Yes, we experience same problems with Tomcat 5.5.17

We did a lot of tests and profiling instrumentations (Jprofiler powered) 
on many environments : Win32/Linux,  JDK1.4.2_12, JDL 1.5, Tomcat 
5.5.17/5.5.20
Same problem: many redeployments (or reload) of a webapp throw an 
OutOfMemory for the PermGenspace. If you monitor your Jvm with Jvmstat 
tools you would see this non-heap memory never been released...


The problems seems to be located with Cglib classloaders referencing 
policy. There is a lot of topic on the Net, which may be interessing to 
read, but noone seems to have found a valuable solution. (Increasing the 
PermGenspace is NOT a reasonable solution)


The only way we found to fix it is to change the JVM. Indeed if we use the 
BEA Jrockit 1.4 JVM, the application can be deployed as many times you 
want...


Please give some news, if you find something useful

RC



-Message d'origine-
De : Jon Miller [mailto:[EMAIL PROTECTED]
Envoyé : mardi 28 novembre 2006 01:38
À : Tomcat User List
Objet : Memory leaks on webapp redeploy

Hi all,


I think I read in a FAQ that even using a singleton in your
app will cause memory leaks? Does anyone know if this is true?

Jon


-
To start a new topic, e-mail: users@tomcat.apache.org To
unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---
Cette communication (y compris les pieces jointes) est reservee a l'usage 
exclusif du destinataire (des destinataires) et peut contenir des 
informations privilegiees, confidentielles, exemptees de divulgation selon 
la loi ou protegees par les droits d'auteur. Si vous n'etes pas un 
destinataire, toute utilisation, divulgation, distribution, reproduction, 
examen ou copie (totale ou partielle) est non-autorisee et peut etre 
illegale. Tout message electronique est susceptible d'alteration et son 
integrite ne peut etre assuree. Sanofi Pasteur decline toute 
responsabilite au titre de ce message s'il a ete modifie ou falsifie. Si 
vous n'etes pas destinataire de ce message, merci de le detruire 
immediatement et d'avertir l'expediteur de l'erreur de distribution et de 
la destruction du message. Merci.
This transmission (including any attachments) is intended solely for the 
use of the addressee(s) and may contain confidential information including 
trade secrets which are privileged, confidential, exempt from disclosure 
under applicable law and/or subject to copyright. If you are not an 
intended recipient, any use, disclosure, distribution, reproduction, 
review or copying (either whole or partial) is unauthorized and may be 
unlawful. E-mails are susceptible to alteration and their integrity cannot 
be guaranteed.Sanofi Pasteur shall not be liable for this e-mail if 
modified or falsified. If you are not the intended recipient of this 
e-mail, please delete it immediately from your system and notify the 
sender of the wrong delivery and the mail deletion. Thank you.

**


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JSP alternative to ASP.NET

2006-11-28 Thread Jon Miller
JavaServer Faces is basically the Java equivalent of ASP.NET. JSF lags 
sufficiently behind ASP.NET IMHO though. I noticed that NetBeans has a new 
add on called Visual Web Pack that might be worth checking out. It's only a 
preview though.


http://www.netbeans.org/products/visualweb/

Jon

- Original Message - 
From: Dima Retov [EMAIL PROTECTED]

To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, November 28, 2006 10:01 AM
Subject: JSP alternative to ASP.NET



Is there alternative to ASP.NET/Visual Studio

What I mean is there is something good as ASP.NET not just set of
controls. RAD tools like Visual Studio. May be commercial.



--
Best regards,
Dima  mailto:[EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Memory leaks on webapp redeploy

2006-11-28 Thread Jon Miller


- Original Message - 
From: Christopher Schultz [EMAIL PROTECTED]

To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, November 28, 2006 11:46 AM
Subject: Re: Memory leaks on webapp redeploy



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jon,

Jon Miller wrote:

I'm getting ready to try NetBeans profiler right now. I tried it awhile
back before it was released, but, there was something wrong with the
Solaris library, so, I couldn't get it to work. I'm hoping I'll have
better luck now that it's been released officially.


I downloaded the Linux version of JProbe's profiler, and I can't figure
out how to start it. The only binary that makes any sense is
jpprofiler, and that gives me a DISPLAY is inaccessible error, even
though I can run xterm and xclock and stuff no problem. :(

Let me know how it goes with the NetBeans profiler. Also, let me know if
it was easy to get going. I'd love to use something that I can attach to
a running process -- sorta like Sun's jconsole.


I'm not sure I would recommend NetBeans profiler. I ran into a few different 
issues. It's pretty easy to install and the interface seems pretty 
intuitive. I was able to kind of get it to work running NetBeans on a 
Windows XP system (1.5Ghz Pentium IV) and remotely debugging Tomcat on a 
Solaris system. However, I received some errors in the log about it not 
being able to load some class files. It looked like it might have had to do 
with classes that were generated dynamically (probably Hibernate proxies). 
For some reason, I couldn't find my applications classes. I could see 
Hibernate and JAX-WS related classes, but, mine weren't there. Then, it 
locked up. It did that twice. Then, I switched to trying to profile it on a 
local installation of Tomcat. I found that it kind of worked albeit 
extremely slowly if I selected the Analyze Memory Usage option and only 
Record object creation only. If I tried Record both object creation and 
garbage collection or Record Stack Trace for Allocations options, it ran 
so slow that my mouse cursor wouldn't even move.


I think what I may end up having to do is simply restart Tomcat everytime I 
do a redeploy. Strange how I haven't run into these issues with the ASP.NET 
apps that I've developed. Also strange how a problem like this could go on 
for YEARS without being fixed.


Jon


- -chris

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFbHXp9CaO5/Lv0PARAot6AJ4rVIkv4lKHpDXm18gzCQky4FBOgACfa+Hl
alSevcwHO7SLhpblRcOKm8I=
=DVpu
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Memory leaks on webapp redeploy

2006-11-27 Thread Jon Miller

Hi all,

Is anyone running into issues with memory leaks occuring whenever a webapp 
is redeployed? I've been having a lot of problems with this. I think what's 
exacerbating the problem is that I'm using Hibernate and JAX-WS which I have 
bundled with my application which use a lot of memory.


I think I read in a FAQ that even using a singleton in your app will cause 
memory leaks? Does anyone know if this is true?


Jon


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]