Re: How does Prefork work?

2009-05-28 Thread Rainer Jung
On 28.05.2009 06:34, steve rieger wrote: I think you meant to post that to the httpd/apache list Yes, see: http://httpd.apache.org/lists.html#http-users --Original Message-- From: CrystalCracker To: users@tomcat.apache.org ReplyTo: Tomcat Users List Subject: How does Prefork work?

Re: Apache, Tomcat, Mod_JK Configurations

2009-05-28 Thread Rainer Jung
On 28.05.2009 00:25, CrystalCracker wrote: Apache 2.2 Tomcat 6 Mod_jk 1.2.21 All of them are running on the same box. I have at any given time around 300 active sessions using the site, and upto 450 at max. Each user on average logs on to the site for around 15 minutes, and the calls

ProxyPass and client ip

2009-05-28 Thread topcoder1
I have an servlet application that requires to be know what the user's ip address is. However since it has an apache http proxy sitting in front of it, the client's ip is always 127.0.0.1(localhost) when it reaches the servlet. How do I resolve this issue? ProxyPass /myApp

Re: Load balancer (proxy?) problem.

2009-05-28 Thread Rainer Jung
On 28.05.2009 01:42, Bill Davidson wrote: André Warnier wrote: Bill Davidson wrote: ... Our application switches between them [HTTP or HTTPS] based upon whether there is sensitive data in the page or not. So I guess that if you did not do that, you would not be having this issue. Feasible

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

2009-05-28 Thread Rainer Jung
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 look at it. - Chuck Problem

Re: ProxyPass and client ip

2009-05-28 Thread Rainer Jung
On 28.05.2009 08:35, topcoder1 wrote: I have an servlet application that requires to be know what the user's ip address is. However since it has an apache http proxy sitting in front of it, the client's ip is always 127.0.0.1(localhost) when it reaches the servlet. How do I resolve this

Re: RE: tomcat connector manipulation

2009-05-28 Thread xaliasos
Thanks for the advice chuck. I am changing i bit the question. Can i monitor requests to a web service in a queue of my own that will keep which clients are trying to hit a web service and pass through a connector? If so, how can i implement that queue(what to keep inside it) and where should

RE: MaxPermSize, Tomcat startup trouble

2009-05-28 Thread Henjo
Caldarale, Charles R wrote: It's also irrelevant. The heap size (-Xmx + -XX:MaxPermSize) must fit in a contiguous area of virtual memory within the process. On a 32-bit Windows system, the process space is 2 GB, unfortunately very fragmented by DLLs that Windows insists on scattering

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

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: 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: 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 with a

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: 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 guyinthec...@gmail.com: 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

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

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 v.kri...@gmail.com wrote: How to configure Hello.html in Tomcat?

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 http://hostname.com/mywebapp/mypage.jsp?jsp_precompile or try this

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

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. SCRIPT language=JavaScript function directSubmit(_form,value) { if (value == Login)_form.action = *!--:$servletpath--/*XYZ/login else _form.action =

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

Re: Centos 5 OS not releasing memory Tomcat6

2009-05-28 Thread Maurizio Rottin
2009/5/28 msweeney whiterockbi...@gmail.com: 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

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

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

Re: retrive Arabic data

2009-05-28 Thread Youssef Mohammed
On Thu, May 28, 2009 at 4:23 PM, abdul razack sh_abd...@yahoo.com 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

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 set a

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

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

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

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

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

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 sh_abd...@yahoo.com wrote: Hi Mark, As

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 really a

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

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 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 they were to success when they gave up.

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

2009-05-28 Thread Maurizio Rottin
2009/5/28 Caldarale, Charles R chuck.caldar...@unisys.com: 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

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:* servlet servlet-nameABC/servlet-name servlet-classcom.abc.servlet.MyServlet/servlet-class init-param param-nameabc.dir/param-name param-valuepath/config/param-value /init-param init-param

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:

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 for

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

2009-05-28 Thread Maurizio Rottin
2009/5/28 Caldarale, Charles R chuck.caldar...@unisys.com: 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

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 !-- The mapping for the SSI servlet -- servlet-mapping servlet-namessi/servlet-name url-pattern*.shtml/url-pattern /servlet-mapping !-- IMPORTANT: To use the SSI servlet, you also need to rename the -- (mv/rename)

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 mgai...@hotmail.com enable the

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 mgai...@hotmail.com

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

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

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.

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,

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 !-- The mapping for the SSI servlet -- servlet-mapping servlet-namessi/servlet-name

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?

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

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: 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 servlet-mapping servlet-nameABC/servlet-name *url-pattern/XYZ/login/url-pattern* /servlet-mapping What do you expect the above mapping to do? As

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

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

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

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

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 mgai...@hotmail.com ... i was following TC SSI 5.5 doc.. the TC6 SSIServlet classes are now in $CATALINA_HOME/lib/catalina.jar Martin Gainty

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 mgai...@hotmail.com ... i was following TC SSI 5.5 doc.. the TC6 SSIServlet classes are now in $CATALINA_HOME/lib/catalina.jar Martin Gainty __

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 intended

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 THIS

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 applicationcontext.xml NOTA BENE: All mappings for SSI code should not have * or whitespace characters

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

2009-05-28 Thread john S
*web.xml:* servlet servlet-nameABC/servlet-name servlet-classcom.abc.servlet.MyServlet/servlet-class init-param param-nameabc.dir/param-name param-valuepath/config/param-value /init-param init-param param-nameabc.props/param-name param-valuexyz.props/param-value

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

2009-05-28 Thread Martin Gainty
servlet-mapping servlet-namessi/servlet-name url-pattern*.html/url-pattern /servlet-mappingchange to servlet-mapping servlet-namessi/servlet-name url-pattern*.shtml/url-pattern /servlet-mapping change the name of your input file.html to file.shtml !-- now

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

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 the

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: 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.

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: 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 ...which

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 chuck.caldar...@unisys.com: 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

Re: retrive Arabic data

2009-05-28 Thread Len Popp
On Thu, May 28, 2009 at 15:35, André Warnier a...@ice-sa.com 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

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

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

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

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

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

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

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: 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 cum...@gmail.com wrote: Tomcat installed from apache-tomcat-6.0.18.exe in WXP SP2 +

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

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 of

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 is

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

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

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 is

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

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

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 interface a REAL tech has vi and a bash shell Martin Gainty __ Verzicht und Vertraulichkeitanmerkung Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene

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

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: 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 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 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 or

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

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

Re: Windows x64 Installer

2009-05-28 Thread will trillich
On Thu, May 28, 2009 at 6:18 PM, Caldarale, Charles R chuck.caldar...@unisys.com 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

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

  1   2   >