Re: Centos 5 OS not releasing memory Tomcat6

2009-05-28 Thread Maurizio Rottin
2009/5/28 André Warnier : > 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 a try at Cent

Re: Service fails to start

2009-05-28 Thread cum.nex
This works fine. Thanks. cum Len Popp wrote: > > This error occurs when it can't find the Microsoft C runtime library. > Try copying the file msvcr71.dll from the Java bin directory to the > Tomcat bin directory. > -- > Len > > > > On Thu, May 28, 2009 at 16:39, cum.nex wrote: >> >> Tomcat

Re: Service fails to start

2009-05-28 Thread cum.nex
This works fine. Thanks. cum Len Popp wrote: > > This error occurs when it can't find the Microsoft C runtime library. > Try copying the file msvcr71.dll from the Java bin directory to the > Tomcat bin directory. > -- > Len > > > > On Thu, May 28, 2009 at 16:39, cum.nex wrote: >> >> Tomcat

Re: retrive Arabic data

2009-05-28 Thread Andre-John Mas
On 28-May-2009, at 15:59, 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 defaults to ISO-8859-1. A few other things to

RE: Tomcat relative path

2009-05-28 Thread tcwarrior
Isn't it 2 per domain? Nothing stops image1.domain.com for being a cname for a subdomain. I must have not worded or phrased my question well. Why wouldn't you want your site to be the most responsive and allow for parallel downloads? No the consultant guy wasn't brought in for this, it was more of

Potential connection leakage

2009-05-28 Thread Johnny Lui
Dear all Just hit this error yesterday, but found no clues from google. Description on the web application: It is running on j2sdk1.4.2_11 and Apache Tomcat/4.1.39-LE-jdk14 It uses exploded deploy approach. Only root application present. It connects to an Oracle database in another IP. It uses or

RE: Tomcat relative path

2009-05-28 Thread Caldarale, Charles R
> From: tcwarrior [mailto:sr_s...@yahoo.com] > Subject: Tomcat relative path > > Our tomcat servers are front ended by apache. The apache servers > do serve the static content. The img source is something like > /imagedir/pic.jpg which tomcat controls. Not quite sure what you mean by "controls";

Re: retrive Arabic data

2009-05-28 Thread Stevo Slavić
True. If I understood well, problem is not in submitting requests, but in rendering response, data fetched from database aren't displayed well on one machine, but do get displayed well on the other. Abdul didn't mention details about client side where was he opening problematic page. Let's assume h

Re: Windows x64 Installer

2009-05-28 Thread will trillich
On Thu, May 28, 2009 at 6:18 PM, Caldarale, Charles R wrote: >> I installed them on Windows 2008 x64, and could not get a >> response from Tomcat, if coming from the net.  The local >> browser would pull it up just fine. > > Tomcat (with or without APR) doesn't care if the request > came via loopb

Re: Apache 2.2 to Tomcat 6 via proxy_ajp

2009-05-28 Thread J. Zimmerman
Thanks for all of the replies. I had tried most of the suggestions previously, but things were still not working the way I wanted. Specifically I could get it to work if I was willing to using http://domain.com/appname, but not just http://domain.com/. I had seen the Tomcat virtual hosting docume

Tomcat relative path

2009-05-28 Thread tcwarrior
First off I'm very new to Tomcat so I'll apologize if the question seems entirely dumb. Here is our scenario: Our tomcat servers are front ended by apache. The apache servers do serve the static content. The img source is something like /imagedir/pic.jpg which tomcat controls. We had a consultant

RE: Windows x64 Installer

2009-05-28 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: Windows x64 Installer > > They may need some work. > I installed them on Windows 2008 x64, and could not get a > response from Tomcat, if coming from the net. The local > browser would pull it up just fine. Tomcat (with

Re: retrive Arabic data

2009-05-28 Thread Andre-John Mas
On 28-May-2009, at 10:00, Stevo Slavić wrote: Or Tomcat installations are configured differently on each of the environments, e.g. Connector URIEncoding attribute. URIEncoding only effects how the query URL is interpretted, AFAIK. It effects nothing else. André-John --

RE: Windows x64 Installer

2009-05-28 Thread Jeffrey Janner
Mark - They may need some work. I installed them on Windows 2008 x64, and could not get a response from Tomcat, if coming from the net. The local browser would pull it up just fine. They worked fine on a Windows 2003 x64 box I have, and I got it to work with the 32-bit library that was downloaded

Re: retrive Arabic data

2009-05-28 Thread Andre-John Mas
On 28-May-2009, at 09:23, abdul razack wrote: Hi Mark, As you suggested, I have tested sample JSP in the FAQ as you pointed. I could see Arabic in the output. This is OK. I am not able to view Arabic data when tomcat application running on winodws 2003 server OR windows 2000 professional.

RE: Debian Tomcat Fail

2009-05-28 Thread Martin Gainty
post the code and we'll walk you thru it no sweat Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine

RE: Service fails to start

2009-05-28 Thread Martin Gainty
guis are for non-tech people who are are more concerned with a pretty face a REAL tech has vi and a bash shell Martin Gainty __ Verzicht und Vertraulichkeitanmerkung Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger se

RE: retrive Arabic data

2009-05-28 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: retrive Arabic data > > By the way, does anyone know for sure /where/ the Sun Windows JVM picks > up the default "locale" settings ? Via a couple of proprietary Windows APIs: GetUserDefaultLCID http://msdn.microsoft.com/en-us/library/

Re: Centos 5 OS not releasing memory Tomcat6

2009-05-28 Thread André Warnier
msweeney wrote: Hi, Thank you for your reply. Yes we did a custom install on Tomcat6. No there wasn't any java processes running when we stopped Tomcat, so it appears from the OS level to be shutting down, but it's not releasing the memory space back to the OS. If a non-existent process

RE: Debian Tomcat Fail

2009-05-28 Thread trojansnake12
Sorry, this code was provided to me by a graduate student (I'm a lowly freshman). Still very new to all of this, I'll look into that. Caldarale, Charles R wrote: > >> From: trojansnake12 [mailto:boppn...@swbell.net] >> Subject: RE: Debian Tomcat Fail >> >> File myGifImage = new File("../webap

RE: Debian Tomcat Fail

2009-05-28 Thread Caldarale, Charles R
> From: trojansnake12 [mailto:boppn...@swbell.net] > Subject: RE: Debian Tomcat Fail > > File myGifImage = new File("../webapps/geosim/WEB-INF/images/test.jpg"); Very bad form. The servlet container (Tomcat) is under no obligation to provide *any* access to the underlying file system (if there

Re: retrive Arabic data

2009-05-28 Thread André Warnier
For Len : I agree with what George writes below. I also agree with the point that a webapp /can/ handle any charset properly, if it is properly programmed to do so. The point here is that probably, some webapp is /not/ properly programmed for that, and just uses the default charset of the JVM A

RE: Debian Tomcat Fail

2009-05-28 Thread trojansnake12
I'm trying to access a file to read the image. It is in my original post at the top of this thread: File myGifImage = new File("../webapps/geosim/WEB-INF/images/test.jpg"); It's very strange, using that relative path works fine on my Windows install of Tomcat6. But on my Debian machine, that s

Re: Windows x64 Installer

2009-05-28 Thread André Warnier
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 view, it may be a lot less than a millisecond.. --

RE: Service fails to start

2009-05-28 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:mgai...@hotmail.com] > Subject: RE: Service fails to start > > correct > HKLM\Software\JavaSoft\Java Runtime Engine\1.6\RuntimeLib > to point to server jvm.dll (should be located at) > D:\Programmi\Java\jre6\bin\server\jvm.dll Don't do that!!! Editing the registry i

RE: Debian Tomcat Fail

2009-05-28 Thread Caldarale, Charles R
> From: trojansnake12 [mailto:boppn...@swbell.net] > Subject: Re: Debian Tomcat Fail > > The > "../webapps/geosim/WEB-INF/classes/Project.java" > does not work correctly. When used from where? What's the action being performed? > What is the default relative path starting point? For what kind

RE: Debian Tomcat Fail

2009-05-28 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Debian Tomcat Fail > > ...which isn't in a package, violating the servlet specification. Not true. Only JSPs are required to be in a package, servlets are not. Regardless, it's still a good idea to use some meanin

Re: Service fails to start

2009-05-28 Thread Len Popp
This error occurs when it can't find the Microsoft C runtime library. Try copying the file msvcr71.dll from the Java bin directory to the Tomcat bin directory. -- Len On Thu, May 28, 2009 at 16:39, cum.nex wrote: > > Tomcat installed from apache-tomcat-6.0.18.exe in WXP SP2 + Java from > jre-6

RE: Service fails to start

2009-05-28 Thread Martin Gainty
correct HKLM\Software\JavaSoft\Java Runtime Engine\1.6\RuntimeLib to point to server jvm.dll (should be located at) D:\Programmi\Java\jre6\bin\server\jvm.dll http://www.mail-archive.com/d...@tomcat.apache.org/msg29292.html (solution provided by George Sexton) Martin ___

Re: Centos 5 OS not releasing memory Tomcat6

2009-05-28 Thread msweeney
Hi, Thank you for your reply. Yes we did a custom install on Tomcat6. No there wasn't any java processes running when we stopped Tomcat, so it appears from the OS level to be shutting down, but it's not releasing the memory space back to the OS. running the free command after stopping Tomc

Re: Apache, Tomcat, Mod_JK Configurations

2009-05-28 Thread Rainer Jung
On 28.05.2009 22:05, CrystalCracker wrote: > The problem has always occured at the oddest hours for me to do a thread > dump. I have done jmeter load test and tried to recreate the problem in > test, but have never able. > I will upgrade to the latest version and then play with the connection > ti

Service fails to start

2009-05-28 Thread cum.nex
Tomcat installed from apache-tomcat-6.0.18.exe in WXP SP2 + Java from jre-6u13-windows-i586-p-s.exe. Installation seem fine, but Tomcat service fails to start, giving the following log: [2009-05-28 22:13:14] [info] Procrun (2.0.4.0) started [2009-05-28 22:13:14] [info] Running Service... [2009-05

Re: Debian Tomcat Fail

2009-05-28 Thread trojansnake12
Thanks Chris, I was really just messing around with some stuff to see if I could get the page working at all, I was really unconcerned with the file types I was using. In the end, as I said, I got this thing working, my only question now is the relative file pathing. The "../webapps/geosim/WEB-I

Re: Apache, Tomcat, Mod_JK Configurations

2009-05-28 Thread CrystalCracker
The problem has always occured at the oddest hours for me to do a thread dump. I have done jmeter load test and tried to recreate the problem in test, but have never able. I will upgrade to the latest version and then play with the connection timeouts. CrystalCracker wrote: > > Apache 2.2 > T

Re: retrive Arabic data

2009-05-28 Thread George Sexton
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 defaults to ISO-8859-1. I'm sure the same issue is happening here. It's defaulting to Windows-125

Re: retrive Arabic data

2009-05-28 Thread Len Popp
On Thu, May 28, 2009 at 15:35, André Warnier wrote: > Hi. > My knowledge of java and Tomcat is limited, so I may be off-base here. > But I have also has occasional issues with Tomcat and non-US character sets > on various Windows platforms. > Just for information, what is the basic Windows languag

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

2009-05-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maurizio, On 5/28/2009 11:04 AM, Maurizio Rottin wrote: > 2009/5/28 Caldarale, Charles R : >> Your code may be dependent on a bug in 4.1 that was fixed in later Tomcat >> levels. > > this can be the error! > but i don't know if this is the right mai

Re: Debian Tomcat Fail

2009-05-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 5/26/2009 10:22 PM, trojansnake12 wrote: > I am about at my wits' end here with Tomcat on Debian. With one exception, I think all your problems are self-inflicted. Let's see... > I have an app called > Project.java ...whi

Re: retrive Arabic data

2009-05-28 Thread André Warnier
Youssef Mohammed wrote: I am not able to view Arabic data when tomcat application running on winodws 2003 server OR windows 2000 professional. But I am surprised to see Arabic data when I run application on windows XP professional. Hi. My knowledge of java and Tomcat is limited, so I

Re: Load balancer (proxy?) problem.

2009-05-28 Thread Bill Davidson
Rainer Jung wrote: To simplify your research a little bit: you mentioned you switched cookies off in order to use the jsessionid URL parameter to log the session IDs. If you keep cookies on, then you can also log the value of the JSESSIONID cookie by using the %C syntax of Apache's CustomLog. L

Re: NIO Connector: "Possible key leak"

2009-05-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, On 5/27/2009 10:03 AM, Filip Hanik - Dev Lists wrote: > the warning would only print when a GC happens and there are some keys > that haven't been cancelled but dereferenced. > I will work on this, but it should not cause any problems since the

Re: Tomcat Server can't load himself (without using localhost)

2009-05-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Giorgio, On 5/27/2009 3:19 AM, Sibil87 wrote: > I haven't touch default installation configuration. > > So the engine is: > > > > Should I change it to something else? No! You should leave it the way it is. David's suggestion that DNS (or a fire

Re: HTTP/HTTPS sessions

2009-05-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vikrant, On 5/27/2009 12:48 AM, Jain, Vikrant wrote: > In my application HttpSession is getting created on a SSL Login page, > subsequently it redirects to HTTP page, but the HTTPS session is lost. > > How do I maintain the same HttpSession across th

Re: Has anyone created a WSDL for the Manager Application

2009-05-28 Thread André Warnier
Martin Gainty wrote: Andre could you explain how mod_perl would handle routing capability to pass to tc instances?..could mod_perl accomplish the functionality of a load-balancer? It certainly could, but you don't have to go that far. A mod_perl module could handle the original request (be it

RE: HELP ME PLEASEEEEE--------------->first login page SSI is not getting enabled

2009-05-28 Thread Martin Gainty
ssi *.html change to ssi *.shtml change the name of your input file.html to file.shtml > > > > > Login > > > > function directSubmit(_form,value) > { >if (value == "Login")_form.action = "/XYZ/login" > else _form.act

Re: HELP ME PLEASEEEEE--------------->first login page SSI is not getting enabled

2009-05-28 Thread john S
*web.xml:* ABC com.abc.servlet.MyServlet abc.dir path/config abc.props xyz.props abc.log xyz.log 1 ABC /XYZ/login DataBase jdbc/my jdbc javax.sql.DataSource Container com/xyz/abc/servlet/login.html

RE: HELP ME PLEASEEEEE--------------->first login page SSI is not getting enabled

2009-05-28 Thread Martin Gainty
dealing with partial questions and answers is problematic so could you 1)post your web.xml (i did'nt get the last iteration) 2)post any relevant jsp (even if it is only index.jsp) 3)post any context.xml NOTA BENE: All mappings for SSI code should not have * or whitespace characters e.g. web.xml

RE: HELP ME PLEASEEEEE--------------->first login page SSI is not getting enabled

2009-05-28 Thread Caldarale, Charles R
> From: john S [mailto:email2jo...@gmail.com] > Subject: Re: HELP ME PLEASE--->first login page SSI is > not getting enabled > > I also included that jar file in the lib What do you mean by that? You must not copy or move Tomcat-supplied jars to any other locations. - Chuck

RE: Windows x64 Installer

2009-05-28 Thread Caldarale, Charles R
> 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... - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the inten

Re: HELP ME PLEASEEEEE--------------->first login page SSI is not getting enabled

2009-05-28 Thread john S
I also included that jar file in the lib, but still I am getting same error. 2009/5/28 Martin Gainty > > ... i was following TC SSI 5.5 doc.. > > the TC6 SSIServlet classes are now in $CATALINA_HOME/lib/catalina.jar > > Martin Gainty > __ > Verzicht un

Re: HELP ME PLEASEEEEE--------------->first login page SSI is not getting enabled

2009-05-28 Thread john S
I also included that jar file in the lib, but still I am getting same error. 2009/5/28 Martin Gainty > > ... i was following TC SSI 5.5 doc.. > > the TC6 SSIServlet classes are now in $CATALINA_HOME/lib/catalina.jar > > Martin Gainty > __ > Verzicht

Re: HELP ME PLEASEEEEE--------------->first login page SSI is not getting enabled

2009-05-28 Thread john S
Thanks for your all responses. The main thing is when i click login button ie., *onclick* function in html, the controller class is going to get path informtaion ie..*getPathInfo*() in Controller class and is going to check with LDAP settings and pass to the index.html(home page). but when i m cli

RE: HELP ME PLEASEEEEE--------------->first login page SSI is not getting enabled

2009-05-28 Thread Martin Gainty
... i was following TC SSI 5.5 doc.. the TC6 SSIServlet classes are now in $CATALINA_HOME/lib/catalina.jar Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht

Re: HELP ME PLEASEEEEE--------------->first login page SSI is not getting enabled

2009-05-28 Thread john S
Thanks for your all responses. The main thing is when i click login button iee., onclick function in html, the controller class is going to get path informtaion ie..getPathInfo() in Controller class and is going to check with LDAP settings and pass to the index.html(home page). but when i m click

Re: HELP ME PLEASEEEEE--------------->first login page SSI is not getting enabled

2009-05-28 Thread john S
* Thanks for your all responses. The main thing is when i click login button iee., onclick function in html, the controller class is going to get path informtaion ie..*getPathInfo() in Controller class and is going to check with LDAP settings and pass to the index.html(home page). but when i m c

Re: Windows x64 Installer

2009-05-28 Thread Mladen Turk
Caldarale, Charles R wrote: From: Debbie Shapiro [mailto:dshap...@cardiacscience.com] Subject: RE: Windows x64 Installer I just did the 64-bit windows installation for Tomcat 6, but I was not aware that there is a tcnative-1.dll that needed to be replaced. Where do I find the 64-bit version of t

RE: HELP ME PLEASEEEEE--------------->first login page SSI is not getting enabled

2009-05-28 Thread Caldarale, Charles R
> From: john S [mailto:email2jo...@gmail.com] > Subject: Re: HELP ME PLEASE--->first login page SSI is > not getting enabled > > > ABC > */XYZ/login* > What do you expect the above mapping to do? As you have it, the ABC servlet will only be invoked for the URL http://my

RE: HELP ME PLEASEEEEE--------------->first login page SSI is not getting enabled

2009-05-28 Thread Caldarale, Charles R
> From: john S [mailto:email2jo...@gmail.com] > Subject: Re: HELP ME PLEASE--->first login page SSI is > not getting enabled > > whether I also need to change all the *.html to .shtml files.* If you're willing to suffer the overhead of running every HTML file through the SSI

Re: Windows x64 Installer

2009-05-28 Thread Mladen Turk
Debbie Shapiro wrote: I just did the 64-bit windows installation for Tomcat 6, but I was not aware that there is a tcnative-1.dll that needed to be replaced. Where do I find the 64-bit version of this file? Or is that just for Tomcat 5? The regular place. tcnative-1 is the same for all Tomcat v

RE: Windows x64 Installer

2009-05-28 Thread Caldarale, Charles R
> From: Debbie Shapiro [mailto:dshap...@cardiacscience.com] > Subject: RE: Windows x64 Installer > > I just did the 64-bit windows installation for Tomcat 6, but I was not > aware that there is a tcnative-1.dll that needed to be replaced. Where > do I find the 64-bit version of this file? http://

RE: HELP ME PLEASEEEEE--------------->first login page SSI is not getting enabled

2009-05-28 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:mgai...@hotmail.com] > Subject: RE: HELP ME PLEASE--->first login page SSI is > not getting enabled > > enable the see servlet-mapping in your web.xml > > > ssi > *.shtml > The OP clearly already enabled appropriate serv

RE: MaxPermSize, Tomcat startup trouble

2009-05-28 Thread Jeffrey Janner
-XX:MaxPermSize=128m Since it's an XX option, you need to verify that it is available with your version of Java. Jeff -Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Thursday, May 28, 2009 10:58 AM To: Tomcat Users List Subject: RE: MaxPermSize, Tomcat

RE: Windows x64 Installer

2009-05-28 Thread Jeffrey Janner
To be honest, I forgot where I got it from. Somewhere in the Apache.org FTP site. It's in the normal place you would get the latest version. I think I found it using Google. You only need it if you are running with (i.e. installed) the Native Library support. Otherwise, you can ignore it. -Or

RE: MaxPermSize, Tomcat startup trouble

2009-05-28 Thread Jeffrey Janner
I know I increased the PermGen size. I'll see if I can find it -- later. The max -Xmx was specifically meant for Windows 32-bit. Sorry that I wasn't clear. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, May 28, 2009 9:09 AM To: Tomcat U

RE: Windows x64 Installer

2009-05-28 Thread Debbie Shapiro
I just did the 64-bit windows installation for Tomcat 6, but I was not aware that there is a tcnative-1.dll that needed to be replaced. Where do I find the 64-bit version of this file? Or is that just for Tomcat 5? I'm not that terribly familiar with the inner workings of Tomcat, so this is all ne

Re: HELP ME PLEASEEEEE--------------->first login page SSI is not getting enabled

2009-05-28 Thread john S
Actually in the tomcat 6.0, i did not even find this servlets-ssi.renametojar file and also in the documentation of tomcat 6 , they did not even mention about the jar file. whether I also need to change all the *.html to .shtml files..* ** 2009/5/28 Martin Gainty > > enable the see servle

Re: HELP ME PLEASEEEEE--------------->first login page SSI is not getting enabled

2009-05-28 Thread john S
Actually in the tomcat 6.0, i did not even find this servlets-ssi.renametojar file and also in the documentation of tomcat 6 , they did not even mention about the jar file. whether I also need to change all the *.html to .shtml files.* 2009/5/28 Martin Gainty > > enable the see servlet-mappi

RE: HELP ME PLEASEEEEE--------------->first login page SSI is not getting enabled

2009-05-28 Thread Martin Gainty
enable the see servlet-mapping in your web.xml ssi *.shtml (mv/rename) $CATALINA_HOME/server/lib/servlets-ssi.renametojar file $CATALINA_HOME/server/lib/servlets-ssi.jar please read directive syntax (config,echo,include) directive information di

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

2009-05-28 Thread Maurizio Rottin
2009/5/28 Caldarale, Charles R : > Your code may be dependent on a bug in 4.1 that was fixed in later Tomcat > levels. this can be the error! but i don't know if this is the right mailinglist to post the code that generate the error! May I put the code here? (i think it's very little and simple t

RE: Tomcat does not respond

2009-05-28 Thread Caldarale, Charles R
> From: Diego Castorina [mailto:di...@quince.nl] > Subject: RE: Tomcat does not respond > > How can I write this wrapper? I don't know Spring, but perhaps it already offers this capability. Otherwise, Chris S recently posted a wrapper that, IIRC, will do this. Will need to search the archives

RE: Tomcat does not respond

2009-05-28 Thread Diego Castorina
Thanks for the tip. How can I write this wrapper? I can have different kind of client so I cannot encode the binary as string and decoding it on the client side. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: giovedì 28 maggio 2009 16.12 To: Tomca

Re: HELP ME PLEASEEEEE--------------->first login page SSI is not getting enabled

2009-05-28 Thread john S
Thanks for your response ..I m doing it through the servlet. *WEB.XML:* ABC com.abc.servlet.MyServlet abc.dir path/config abc.props xyz.props abc.log xyz.log 1 ABC */XYZ/login * DataBase jdbc/my jdbc javax.sql.DataSour

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

2009-05-28 Thread Maurizio Rottin
2009/5/28 Caldarale, Charles R : >> From: Maurizio Rottin [mailto:maurizio.rot...@gmail.com] >> Subject: how to convert struts based apps from tomcat4 to tomcat5.5? >> >> the error from catalina.out is: >> "ERROR [TP-Processor40] - Servlet.service() for servlet jsp threw >> exception >> javax.servl

Re: hello world

2009-05-28 Thread veena pandit
http://localhost:8080/webapps/Hello.htm l -Veena On Thu, May 28, 2009 at 6:07 AM, S Arvind 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 they were > to > success when they gave up." > -Thomas Edison

RE: Tomcat does not respond

2009-05-28 Thread Caldarale, Charles R
> From: Diego Castorina [mailto:di...@quince.nl] > Subject: RE: Tomcat does not respond > > I use the ServletOutputStream because I need to write binary directly > in the response while with the PrintWriter I can only write character > text to the client. Then you may need to resort to your own w

RE: MaxPermSize, Tomcat startup trouble

2009-05-28 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: MaxPermSize, Tomcat startup trouble > > I believe there are some java options that control how the memory is > divided between the different generations. Not for PermGen - its size is controlled explicitly. It's not reall

Re: retrive Arabic data

2009-05-28 Thread Stevo Slavić
Or Tomcat installations are configured differently on each of the environments, e.g. Connector URIEncoding attribute. On Thu, May 28, 2009 at 3:28 PM, Youssef Mohammed < youssef.moham...@gmail.com> wrote: > On Thu, May 28, 2009 at 4:23 PM, abdul razack wrote: > > Hi Mark, > > > > As you suggest

RE: HELP ME PLEASEEEEE--------------->first login page SSI is not getting enabled

2009-05-28 Thread Martin Gainty
are you implementing SSI via SSIServlet or SSIFilter? please display web.xml Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so b

RE: MaxPermSize, Tomcat startup trouble

2009-05-28 Thread Jeffrey Janner
> Any ideas how we can get a much larger PermSpace going? I believe there are some java options that control how the memory is divided between the different generations. I seem to remember a ratio option that you could look into. I had to do this for one implementation. Check the java documentati

RE: Tomcat does not respond

2009-05-28 Thread Diego Castorina
I use the ServletOutputStream because I need to write binary directly in the response while with the PrintWriter I can only write character text to the client. I don't understand the reason for this exception since I don't use the JsonView class for the requests that return a binary as output.

RE: MaxPermSize, Tomcat startup trouble

2009-05-28 Thread Jeffrey Janner
Peter's option is a valid one. I use this approach myself to limit the size of PermGen. Of course, I may have more control over the apps than you do. If you do need to load different version, you should be able to put the alternate version in the apps WEB-INF/lib directory and the app's loader wi

RE: Compile JSP before the first request arrives

2009-05-28 Thread Martin Gainty
the example jar is catalina-root.jar whose contents consist of: Index.list whose contents consist of JarIndex-Version: 1.0 catalina-root.jar org org/apache org/apache/jsp Manifest.mf NameOfJsp_jsp.class (packaged as org\apache\jsp\NameOfJsp_jsp.class) place your compiled class from *.jsp into w

RE: Windows x64 Installer

2009-05-28 Thread Jeffrey Janner
Will - Based on our empirical testing, the tcnative-1.dll offers noticeable performance improvement. It also offers an improved and probably more secure SSL environment as it incorporates OpenSSL versus the built-in java SSL implementation. If you are using SSL, you will need to alter your SSL conn

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

2009-05-28 Thread Caldarale, Charles R
> From: Maurizio Rottin [mailto:maurizio.rot...@gmail.com] > Subject: how to convert struts based apps from tomcat4 to tomcat5.5? > > the error from catalina.out is: > "ERROR [TP-Processor40] - Servlet.service() for servlet jsp threw > exception > javax.servlet.jsp.JspException: Define tag cannot

Re: retrive Arabic data

2009-05-28 Thread Youssef Mohammed
On Thu, May 28, 2009 at 4:23 PM, abdul razack wrote: > Hi Mark, > >  As you suggested, I have tested sample JSP in the FAQ as you pointed. > I could see Arabic in the output. This is OK. > I am not able to view Arabic data when tomcat application running on winodws > 2003 server OR windows 2000

Re: retrive Arabic data

2009-05-28 Thread abdul razack
Hi Mark,    As you suggested, I have tested sample JSP in the FAQ as you pointed. I could see Arabic in the output. This is OK.   I am not able to view Arabic data when tomcat application running on winodws 2003 server OR windows 2000 professional.   But I am surprised to see Arabic data when I ru

RE: Tomcat does not respond

2009-05-28 Thread Caldarale, Charles R
> From: Diego Castorina [mailto:di...@quince.nl] > Subject: RE: Tomcat does not respond > > SEVERE: Servlet.service() for servlet springapp threw exception > java.lang.IllegalStateException: getOutputStream() has already been > called for this response > at org.apache.catalina.connector.Response.g

Re: Centos 5 OS not releasing memory Tomcat6

2009-05-28 Thread Maurizio Rottin
2009/5/28 msweeney : > > Tomcat version 6 > Apache 2.2.3 > Centos 5.2 > VMware 2.5 > 2 VPU's > 4G Memory > > Guest Memory usage is on a avg 122 MB and Host Memory is at 3.31 G so we > know it's not the balloon driver. > > Problem statement: > > I understand as a SysAdmin that the JVM loves to grab

Centos 5 OS not releasing memory Tomcat6

2009-05-28 Thread msweeney
Tomcat version 6 Apache 2.2.3 Centos 5.2 VMware 2.5 2 VPU's 4G Memory Guest Memory usage is on a avg 122 MB and Host Memory is at 3.31 G so we know it's not the balloon driver. Problem statement: I understand as a SysAdmin that the JVM loves to grab all the memory resources as it can, sort of l

HELP ME PLEASEEEEE--------------->first login page SSI is not getting enabled

2009-05-28 Thread john S
Hi All this is my login in which Server Side Include is placed and it is the initial page of my web application.

Re: Compile JSP before the first request arrives

2009-05-28 Thread S Arvind
Hi Ghufran, The problem is not in that, problem is in http://www.rgagnon.com/javadetails/java-0414.html that u provide in previous post if i run that jsp file i am getting that stack trace... I am in tomcat 5.5 -Arvind S * "Many of lifes failure are people who did not realize how close they wer

RE: Compile JSP before the first request arrives

2009-05-28 Thread Ghufran
Hi If your jsp can be successfully invoked at this url http://hostname.com/mywebapp/mypage.jsp Then it should also get pre compiled by invoking this url http://hostname.com/mywebapp/mypage.jsp?jsp_precompile or try this http:/

Re: hello world

2009-05-28 Thread S Arvind
What path you gave to get that html in browser? -Arvind S * "Many of lifes failure are people who did not realize how close they were to success when they gave up." -Thomas Edison * On Wed, May 27, 2009 at 5:48 AM, veena pandit wrote: > How to configure Hello.html in Tomcat? > > Where do I pla

Re: Compile JSP before the first request arrives

2009-05-28 Thread S Arvind
Hi Ghufran, if i ran the below mentioned jsp file to compile all jsp i am getting error with this stacktrace java.lang.ClassNotFoundException: org.apache.jsp.jsp.precompile_jsp at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(

Re: problems with mod_proxy (apache 2.2.9) and tomcat ajp connector (6.0.18)

2009-05-28 Thread Michael Biebl
2009/5/27 Guy Cube : > > Any found clue for this issue? We are also having similar issue with JBoss > 4.2.3/Apache 2.2.9 and mod_proxy_ajp. I haven't found a solution yet. On the other hand, I haven't seen those issues for some time now. I tried to do some load tests but it seems I wasn't able to

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

2009-05-28 Thread Maurizio Rottin
Hi all, i am in the process to move an application from tomcat 4.1.29(source from tomcat website) to tomcat 5.5.23 with struts 1.2.9 from redhat. It seems that everything works but one single page so far. the error from catalina.out is: "ERROR [TP-Processor40] - Servlet.service() for servlet jsp

RE: MaxPermSize, Tomcat startup trouble

2009-05-28 Thread Peter Crowther
> From: Henjo [mailto:henj...@gmail.com] > Thank you both for replying. The architecture is indeed x86 > (Windows 2003 > server) and changing OS is not an option right now (going live soon). The alternative view: You can go live with a known-unreliable system, or you can change OS and go live wit

Re: Debian Tomcat Fail

2009-05-28 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 trojansnake12 wrote: > I am about at my wits' end here with Tomcat on Debian. I have an app > called Project.java, and all it should do is grab a file from the file > system, Debian's Tomcat runs with the security manager enabled by default. You need

Re: retrive Arabic data

2009-05-28 Thread abdul razack
Hi,    I have tested java application with the same setup as I mentioned on  windows XP professional PC, windows 2000 professional and Windows Server 2003 Enterprise edition SP1.  The regional settings for Arabic in all three environments were configured.    I could able to retrieve Arabic data

Re: Tomcat 6 - not started AJP/NIO on CentOS

2009-05-28 Thread Dmitriy Repin
Rainer Jung wrote: Please share your solution, so that other people looking for help do not need to ask the same question again. On 28.05.2009 06:41, Dmitriy Repin wrote: Dmitriy Repin wrote: Caldarale, Charles R wrote: Post the server.xml from your CentOS attempt so we can loo

  1   2   >