Re: Centos 5 OS not releasing memory Tomcat6

2009-05-29 Thread Maurizio Rottin
2009/5/28 André Warnier a...@ice-sa.com: If a non-existent process is able to hold on to some memory and not return it to the OS, doesn't that indicate an OS problem ? i think so! but i do not remeber any kernel problem related to memory caching in Centos kernel releases. Maybe you should give

Re: how to convert struts based apps from tomcat4 to tomcat5.5?

2009-05-29 Thread Maurizio Rottin
2009/5/28 Christopher Schultz ch...@christopherschultz.net: May I put the code here? (i think it's very little and simple to read) Sure. Post what you've got and we'll take a look. !--BEGIN CODE %@ taglib uri=/tags/struts-bean prefix=bean % %@ taglib uri=/tags/struts-html prefix=html % %@

Re: Compile JSP before the first request arrives

2009-05-29 Thread S Arvind
Thanks Martin, Solved, i pointed the different folder, so it took my entire webapps instead of my jsp content alone... * Many of lifes failure are people who did not realize how close they were to success when they gave up. -Thomas Edison * On Thu, May 28, 2009 at 7:11 PM, Martin Gainty

Re: Tomcat relative path

2009-05-29 Thread Tim Funk
I would create a custom tag to replace the image jsp tag. Then at configuration time, the custom image tag would write out the full url with whatever hostname you need so you can split your requests across domains. Splitting requests across domains may speed up the requests on legacy

Apache Tomcat hangs

2009-05-29 Thread Raquel Hernández Martinez
Hello I am using apache Tomcat 5.5 which is set up on a hp-ux machine. my application uses jaspert-reports At times during we use jaspert-rerpot for generate to a pdf, get an error as shown below, and this causes the servers hangs and can not log on the tomcat console and application . After

Context failed to load due to previous error

2009-05-29 Thread S Arvind
Recently in our Tomcat 6 , when we restart the tomcat we are getting the problem such as *Context[/] failed to load due to previous error. * listenerstart cannot be loaded , something like that. after many restarts its finally loading all the context. We are having around 100 differnt context

Tomcat 5.5 and fop

2009-05-29 Thread ezzakrem
Hello, i'm using Apache Fop to create PDF file from a xml and xsl files in debian lenny, in command line every thing is ok but when i try to make fop work under tomcat i have a problem : i have already build Fop project with Ant, i have deployed the Fop.war file into tomcat when i go to

RE: Apache Tomcat hangs

2009-05-29 Thread Martin Gainty
unwinding the stack org.apache.jasper.runtime.PageContextImpl private void _initialize(Servlet servlet, ServletRequest request, 127 ServletResponse response, String errorPageURL, 128 boolean needsSession, int bufferSize, boolean autoFlush)

RE: Tomcat 5.5 and fop

2009-05-29 Thread Martin Gainty
$CATALINA_HOME/conf/catalina.policy contenu grant { permission java.util.PropertyPermission user.home, read; } ? Bon Chance Martin Etats Unis (GMT+5) cette semaine __ Note de déni et de confidentialité ce message est confidentiel et peut

Re: hello world

2009-05-29 Thread veena pandit
It was actually: http://localhost:8080/webapps/Hello/Hello.html. Sorry for the misprint. Veena On Thu, May 28, 2009 at 6:07 AM, S Arvind arvindw...@gmail.com wrote: What path you gave to get that html in browser? -Arvind S * Many of lifes failure are people who did not realize how close

Re: how to convert struts based apps from tomcat4 to tomcat5.5?

2009-05-29 Thread Maurizio Rottin
2009/5/29 Maurizio Rottin maurizio.rot...@gmail.com: 2009/5/28 Christopher Schultz ch...@christopherschultz.net:        logic:empty name=limitNewsList                myScroller.addMessage(Prossimamente news);        /logic:empty        logic:notEmpty name=limitNewsList //the problem should

Re: hello world

2009-05-29 Thread André Warnier
veena pandit wrote: It was actually: http://localhost:8080/webapps/Hello/Hello.html. Sorry for the misprint. This must be the longest-running thread about a Hello World application ever, in any programming language. :-) -

Re: hello world

2009-05-29 Thread Serge Fonville
http://localhost:8080/webapps/Hello/Hello.html.  Sorry for the misprint. This must be the longest-running thread about a Hello World application ever, in any programming language. :-) It looks to me that you should remove the webapps from the url. What is your local path What is the

RE: Tomcat relative path

2009-05-29 Thread Caldarale, Charles R
From: tcwarrior [mailto:sr_s...@yahoo.com] Subject: RE: Tomcat relative path Isn't it 2 per domain? Maybe; I didn't realize your intent was to have a separate domain for each image. If the client keeps track of connections by domain name, then putting pairs of images in separate

Re: hello world

2009-05-29 Thread veena pandit
Well I had to know, because it was chapter 1 in a web based tutorial for JSP. :-) Thanks, Veena On Fri, May 29, 2009 at 9:15 AM, André Warnier a...@ice-sa.com wrote: veena pandit wrote: It was actually: http://localhost:8080/webapps/Hello/Hello.html. Sorry for the misprint. This must

Re: Centos 5 OS not releasing memory Tomcat6

2009-05-29 Thread msweeney
Here's the /etc/sysctl.conf parameters that I've started with: vm.dirty_writeback_centisecs = 100 vm.dirty_expire_centisecs = 100 vm.pagecache = 1 10 30 Since this server is taking Production traffic, we'll need to what for a window to test this. I'll let you know how it works out. If the two

RE: hello world

2009-05-29 Thread Caldarale, Charles R
From: veena pandit [mailto:v.kri...@gmail.com] Subject: Re: hello world it was chapter 1 in a web based tutorial for JSP. :-) Can you provide a link to the tutorial? I'd like to see what it says. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL

tomcat virtual host or directory

2009-05-29 Thread gnix infosoft noida
How tio configure virtual host in tomcat 5.5 -- View this message in context: http://www.nabble.com/tomcat-virtual-host-or-directory-tp23780270p23780270.html Sent from the Tomcat - User mailing list archive at Nabble.com. -

Re: hello world

2009-05-29 Thread veena pandit
http://www.jsptut.com/ On Fri, May 29, 2009 at 9:39 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: veena pandit [mailto:v.kri...@gmail.com] Subject: Re: hello world it was chapter 1 in a web based tutorial for JSP. :-) Can you provide a link to the tutorial? I'd

RE: tomcat virtual host or directory

2009-05-29 Thread Caldarale, Charles R
From: gnix infosoft noida [mailto:garg.may...@gmail.com] Subject: tomcat virtual host or directory How tio configure virtual host in tomcat 5.5 Did you try to look at the Tomcat doc before posting? http://tomcat.apache.org/tomcat-5.5-doc/virtual-hosting-howto.html - Chuck THIS

Re: Windows x64 Installer

2009-05-29 Thread János Löbb
On May 28, 2009, at 5:36 PM, André Warnier wrote: Caldarale, Charles R wrote: From: Mladen Turk [mailto:mt...@apache.org] Subject: Re: Windows x64 Installer You've beet me by a millisecond ;) Yeah, but that's 300 km for an electron... And please note that from the electron's point of

RE: Windows x64 Installer

2009-05-29 Thread Jeffrey Janner
Tested all those options before I sent the mail. Windows firewall: off. Symantec EP11 firewall: disabled Still no response off the wire. Running 32-bit version worked OK and well as 64-bit with 32-bit APR. Only 64-bit with 64-bit was a problem. Could not connect with telnet nor browser. With

User tracking/monitoring

2009-05-29 Thread Chetan Chheda
All, In our production environment we load balance across 4 tomcats that are split among 2 physical servers. This is a high traffic website and we get calls from users for a number of support issues and for most of these issues the first step is to find out what tomcat instance they ended

Re: User tracking/monitoring

2009-05-29 Thread Tim Funk
Add this to your footer? SESSION ID: ${pageContext.session.id} -Tim Chetan Chheda wrote: All, In our production environment we load balance across 4 tomcats that are split among 2 physical servers. This is a high traffic website and we get calls from users for a number of support issues

RE: Windows x64 Installer

2009-05-29 Thread Caldarale, Charles R
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: Windows x64 Installer Tested all those options before I sent the mail. Let me summarize to see if I understand this properly: 1) 32-bit JVM, 32-bit DLL: works from localhost and from a separate system 2) 32-bit JVM,

RE: User tracking/monitoring

2009-05-29 Thread Caldarale, Charles R
From: Chetan Chheda [mailto:chetan_chh...@yahoo.com] Subject: User tracking/monitoring Is there anyway we can add the tomcat sessionID to their page so that they can tell us where they are? Besides adding it to some common component of each page of the web site as Tim suggested, you could

Php, tomcat, mappings and authentication.

2009-05-29 Thread dfobox
I'm new to this forum and already fan of it :) Here's the story: I have a website hosted on a remote server with private JVM. It consists of two parts - client and admin (which is actually CMS). There is NGASI installed. I enabled wildcard mapping so all request to web server are forwarded to

RE: Php, tomcat, mappings and authentication.

2009-05-29 Thread Caldarale, Charles R
From: dfobox [mailto:dfo...@gmail.com] Subject: Php, tomcat, mappings and authentication. Can I make php work under Tomcat? It can be done, but it's less painful to do with httpd. Can I make apache render php pages, while Tomcat renders jsp? That's probably better. Is it easier to

Re: hello world

2009-05-29 Thread S Arvind
instead of reading that tutorial try reading Head First JSP and SERVLETS. -Arvind S On Fri, May 29, 2009 at 7:14 PM, veena pandit v.kri...@gmail.com wrote: http://www.jsptut.com/ On Fri, May 29, 2009 at 9:39 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: veena pandit

Re: hello world

2009-05-29 Thread veena pandit
I have that book; I am studying for SWCD certification. There are some gaps I am trying to fill. On Fri, May 29, 2009 at 3:03 PM, S Arvind arvindw...@gmail.com wrote: instead of reading that tutorial try reading Head First JSP and SERVLETS. -Arvind S On Fri, May 29, 2009 at 7:14 PM,

Apache Portable Runtime ?

2009-05-29 Thread johnrock
I am running a standalone tomcat 6.0.18 on a centOS 5.3 system. Is it a good idea to install the Apache Portable Runtime? Would I see performance increase? And, are there any drawbacks/cons to doing so? Thanks for any advice you might have on this - John -- View this message in context:

Re: Apache Portable Runtime ?

2009-05-29 Thread johnrock
I wanted to add a little clarity to my question: I am not using SSL or serving any significant amount of static content - just good ol fashioned Jsp/Jstl's with a standalone tomcat (no Apache). A very svelt and simple web app that I am designing for performance. Given that, is it still a

RE: Apache Portable Runtime ?

2009-05-29 Thread Caldarale, Charles R
From: johnrock [mailto:johnpi...@yahoo.com] Subject: Re: Apache Portable Runtime ? Given that, is it still a preferred idea to install APR? Your best bet is to measure the performance of your webapp with and without APR. Since you're not using SSL and have limited static content, I suspect

jk Status not showing errors

2009-05-29 Thread Matthew Laird
Good afternoon, I've been trying to get the jkstatus component of mod_jk running, and I'm not quite sure what I'm doing wrong in trying to have it report dead Tomcat instances. I have two tomcat instances setup in a load balancer, as a test I've taken down one of them. However the jkstatus

Re: Php, tomcat, mappings and authentication.

2009-05-29 Thread André Warnier
Caldarale, Charles R wrote: From: dfobox [mailto:dfo...@gmail.com] Subject: Php, tomcat, mappings and authentication. Can I make php work under Tomcat? It can be done, but it's less painful to do with httpd. Can I make apache render php pages, while Tomcat renders jsp? That's probably

Re: jk Status not showing errors

2009-05-29 Thread André Warnier
Matthew Laird wrote: Good afternoon, I've been trying to get the jkstatus component of mod_jk running, and I'm not quite sure what I'm doing wrong in trying to have it report dead Tomcat instances. I have two tomcat instances setup in a load balancer, as a test I've taken down one of them.

Which listeners required in server.xml?

2009-05-29 Thread johnrock
Running tomcat 6.0.18 server.xml has the following listener's enabled by default: !--APR library loader. Documentation at /docs/apr.html -- Listener className=org.apache.catalina.core.AprLifecycleListener SSLEngine=on / !--Initialize Jasper prior to webapps are loaded. Documentation at

RE: jk Status not showing errors

2009-05-29 Thread Martin Gainty
Bonjour- Then we define a URL, which should be mapped to this worker, i.e. the URL we use to reach the functionality of the status worker. You can use any method mod_jk supports for the web server of your choice. Possibilities are maps inside uriworkermap.properties, an additional mount

RE: Which listeners required in server.xml?

2009-05-29 Thread Martin Gainty
DONT_NEEDdont need with Comment Running tomcat 6.0.18 server.xml has the following listener's enabled by default: !--APR library loader. Documentation at /docs/apr.html -- Listener className=org.apache.catalina.core.AprLifecycleListener SSLEngine=on / DONT_NEEDNO Implementation of

RE: Which listeners required in server.xml?

2009-05-29 Thread johnrock
mgainty wrote: Do I need these listeners or can I remove some/all of them? DONT_NEEDIf No Apr then remove AprLifecycleListener DONT_NEEDIf No Jsp then remove JasperListener DONT_NEEDIf No MBean then remove ServerLifecycleListener DONT_NEEDIf No JNDI then remove

RE: Windows x64 Installer

2009-05-29 Thread Jeffrey Janner
1) Correct 2) Didn't try and agree with you. 3) Correct. Not using APR, just HTTP (HTTPS later, but not tried) 4) Correct. System config: Windows 2008 Standard (64-bit), Tomcat 5.5 standard install running as standalone web server. Copied the 32-bit install and replaced tomcat5.exe,

Re: Windows x64 Installer

2009-05-29 Thread Markus Schönhaber
János Löbb: Because the electron has resting mess, it will never go with speed of light. The info by the way is not supplied by the electron, but rather with electromagnetic waves around the wire who have no resting mess, Oh, what a mess! ;-) -- Regards mks

RE: Which listeners required in server.xml?

2009-05-29 Thread Martin Gainty
Spring and/or DI frameworks do not use either JNDI or MXbean unless specifically configured to do so free to disable those listeners as they are serve no useful purpose Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de

Re: Which listeners required in server.xml?

2009-05-29 Thread Bill Barker
johnrock johnpi...@yahoo.com wrote in message news:23787784.p...@talk.nabble.com... Running tomcat 6.0.18 server.xml has the following listener's enabled by default: !--APR library loader. Documentation at /docs/apr.html -- Listener

Re: Apache Portable Runtime ?

2009-05-29 Thread Bill Barker
Caldarale, Charles R chuck.caldar...@unisys.com wrote in message news:0aae5ab84b013e45a7b61cb66943c17228f1795...@usea-exch7.na.uis.unisys.com... From: johnrock [mailto:johnpi...@yahoo.com] Subject: Re: Apache Portable Runtime ? Given that, is it still a preferred idea to install APR? Your

Re: how to convert struts based apps from tomcat4 to tomcat5.5?

2009-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maurizio, On 5/29/2009 3:05 AM, Maurizio Rottin wrote: bean:define id=abst name=news property=abstr / bean:define id=title name=news property=title/ [snip] ERROR [TP-Processor40] - Servlet.service() for servlet jsp threw exception

Re: retrive Arabic data

2009-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 George, On 5/28/2009 3:59 PM, George Sexton wrote: The issue is the default character set for Java. I've noticed that at least at one point in time, the default character set for Java running under windows was Windows-1252. Running under Linux it

Re: retrive Arabic data

2009-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André-John, On 5/28/2009 7:23 PM, Andre-John Mas wrote: You can specify any encoding you wish, but this is the most universal encoding. If you don't specify the character encoding in the content-type most browsers will default to ISO-8859-1 as the

Re: retrive Arabic data

2009-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André-John, On 5/28/2009 6:59 PM, Andre-John Mas wrote: The ability to display non-latin charactrers depends as much on the client operating system, as on the what the server is providing. For example if you have nothing on your computer that

Re: Potential connection leakage

2009-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johnny, On 5/28/2009 11:53 PM, Johnny Lui wrote: Potential connection leakage:4 Looks like you might be leaking connections. You should fix that! http://blog.christopherschultz.net/?p=68 - -chris -BEGIN PGP SIGNATURE- Version: GnuPG

Re: Which listeners required in server.xml?

2009-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, On 5/29/2009 6:08 PM, johnrock wrote: I am using standalone tomcat (no apache) without SSL, without APR, I am not using any manager or host-manager applications .. Adding the APR library will give you a significant performance improvement

Re: Apache Portable Runtime ?

2009-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, On 5/29/2009 4:38 PM, johnrock wrote: I wanted to add a little clarity to my question: I am not using SSL or serving any significant amount of static content - just good ol fashioned Jsp/Jstl's with a standalone tomcat (no Apache). A very

Re: Apache Tomcat hangs

2009-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raquel, On 5/29/2009 6:35 AM, Raquel Hernández Martinez wrote: I am using apache Tomcat 5.5 which is set up on a hp-ux machine. my application uses jaspert-reports At times during we use jaspert-rerpot for generate to a pdf, get an error as shown

Re: Apache Tomcat hangs

2009-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Wow, you did a lot of work! On 5/29/2009 8:47 AM, Martin Gainty wrote: but none of this *should happen if the jsp execution did'nt double submit* relevant bits of your jsp code located at What does this mean? at

Re: Apache Tomcat hangs

2009-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raquel, On 5/29/2009 6:35 AM, Raquel Hernández Martinez wrote: I am using apache Tomcat 5.5 which is set up on a hp-ux machine. my application uses jaspert-reports At times during we use jaspert-rerpot for generate to a pdf, get an error as shown

Re: Which listeners required in server.xml?

2009-05-29 Thread Bill Barker
Christopher Schultz ch...@christopherschultz.net wrote in message news:4a20aa17.2050...@christopherschultz.net... -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, On 5/29/2009 6:08 PM, johnrock wrote: I am using standalone tomcat (no apache) without SSL, without APR, I am not using