Re: server push with GWT and Tomcat

2007-09-17 Thread Achim Abeling
Hi, I started to implement a solution (I hope so) which is discussed in http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/5e851d1b960e303e Best regards Achim - To start a new topic, e-mail:

any limitation with Tomcat4 on AIX 6.1

2007-09-17 Thread Hitesh Raghav
Hi, Is there any limitation for Tomcat4 on IBM AIX 6.1 platform? I'm trying to deploy Tomcat4 on AIX 6.1 using IBM JDK 1.4.2 (SR7). It's giving core dump. Thanks, -Hitesh

Re: any limitation with Tomcat4 on AIX 6.1

2007-09-17 Thread Phi-Long LE
hi, more informations would be welcomed.. Le 17/09/2007 09:04, Hitesh Raghav a écrit : Hi, Is there any limitation for Tomcat4 on IBM AIX 6.1 platform? I'm trying to deploy Tomcat4 on AIX 6.1 using IBM JDK 1.4.2 (SR7). It's giving core dump. Thanks, -Hitesh

Re: PHP Security Vulnerability???

2007-09-17 Thread Arend P. van der Veen
Wade Chandler wrote: --- Arend P. van der Veen [EMAIL PROTECTED] wrote: ... Hi, This turned out to be a false positive. I use /cgi-bin as a url-pattern for a servlet mapping: servlet-mapping servlet-nameProxyServlet/servlet-name url-pattern/cgi-bin/*/url-pattern

RE: RE : RE: deployement of application uising trinidad

2007-09-17 Thread aj1m
i am using myface 1.2 and trinidad 1.2.2 i remove myface jar from trinidad-demo-1.2.2 and i search listenerin the web.xml but i didnt found it so i just removed that file and i tried to deploy but it didnt work and i get this error: ERROR [STDERR] java.lang.ClassCastException:

Re: Server Identity

2007-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arend, Arend P. van der Veen wrote: Thanks for your feedback. I am already overriding all of the error pages and java exception page. I did not realize that server tag in the HTTP connector was referring to this. I guess I should have tried

Re: is jsvc not used here? Re: slow shutdown with jsvc

2007-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charly, charly wrote: 2007/9/14, Christopher Schultz Does anyone use it on Solaris? Again, you ought to ask about this on the jakarta-commons forum, where the jsvc project lives. Ok I have understood that But my original question was are

Re: any limitation with Tomcat4 on AIX 6.1

2007-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hitesh, Hitesh Raghav wrote: Is there any limitation for Tomcat4 on IBM AIX 6.1 platform? I'm trying to deploy Tomcat4 on AIX 6.1 using IBM JDK 1.4.2 (SR7). It's giving core dump. Core dump? D'oh. Tomcat is unlikely to be doing that: it's your

2 Tomcat instances

2007-09-17 Thread Andrew Hole
Hello! I've two tomcat instantes and an apache web server with mod_jk. Mod_jk balance request to each tomcat. Think on following situation; - TomcatA and TomcatB up - I make a request to Apache that redirects to TomcatA. I'm editing text on JSP (lot of input texts). In this moment TomcatA

RE: 2 Tomcat instances

2007-09-17 Thread Gerhardus.Geldenhuis
Hi Andrew, I would suggest increasing log level for Tomcat, mod_jk and apache. Have a look at catalina.out to see if it logged why your application crashed. It would also help if you could define crash a bit more clearly, state the exact behaviour. If the tomcat/java have not completely died you

RE: Tomcat 4.1 SSL Question [Broadcast]

2007-09-17 Thread Velurethu, Abi J
Thank your for all the replies. The full version of Tomcat 4.1 is installed on port 80. I did switch Tomcat 1 (the one that I am attempting to make SSL) to port 80 and redirect port to 8443 still the same problem. My configurations has Tomcat one using files in Tomcat 4.1 folder, therefore

RE: Tomcat 4.1 SSL Question [Broadcast]

2007-09-17 Thread Caldarale, Charles R
From: Velurethu, Abi J [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat 4.1 SSL Question [Broadcast] I will setup SSL on Tomcat 4.1 on port 80 and give it try. Don't do that. The standard HTTPS port is 443; enabling SSL on 80 will create a real mess. - Chuck THIS COMMUNICATION MAY CONTAIN

Re: 2 Tomcat instances

2007-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew Hole wrote: I've two tomcat instantes and an apache web server with mod_jk. Mod_jk balance request to each tomcat. Think on following situation; - TomcatA and TomcatB up - I make a request to Apache that redirects to TomcatA. I'm

RE: Tomcat 4.1 SSL Question [Broadcast] [Broadcast]

2007-09-17 Thread Velurethu, Abi J
Sorry for the confusion. I meant I will set the non-ssl on port 80 and ssl on 8443. Thanks. | Abi J. Velurethu | Infrastructure Mgmt Analyst | ECCM | -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Monday, September 17, 2007 10:13 AM To: Tomcat

RE: Tomcat 4.1 SSL Question [Broadcast] [Broadcast]

2007-09-17 Thread Caldarale, Charles R
From: Velurethu, Abi J [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat 4.1 SSL Question [Broadcast] [Broadcast] Sorry for the confusion. I meant I will set the non-ssl on port 80 and ssl on 8443. If you are encountering the IE problem, you'll need to put SSL on 443 to get around the bug.

grant codeBase not working for my jar

2007-09-17 Thread Sam Halliday
Hello all, I have a Servlet running on tomcat-5.5.20, Ubuntu Feisty Fawn, which is accessing some hardware through a shell script. The following provides adequate permissions for everything to work grant { permission java.io.FilePermission /bin/sh, execute; permission

Re: grant codeBase not working for my jar

2007-09-17 Thread Mark Thomas
Sam Halliday wrote: Does anyone have any ideas? Start Tomcat with -Djava.security.debug=access,failure That should tell you what permissions you are missing. Mark - To start a new topic, e-mail: users@tomcat.apache.org To

With JK 1.2.x using route causes problems with redirect?

2007-09-17 Thread Brian.Horblit
All, Good day! For a little background, I'm working on implementing sub-clusters with the new connector. That is, I will cluster my Tomcats in paris to keep network traffic/memory usage down. The connector would preferrentially fail-over between sub-cluster Tomcat pairs. But if both elements

Error 12 for sso token ID when tomcat is secured

2007-09-17 Thread Hazem . Daoud
Hello, Here is the configuration i am trying to deploy: - Apache server 2.0.55 secured with ssl - Tomcat 6.0.14 also secured with ssl - An fam-samples.war configured as IdP on tomcat - Web agent installed on apache server Now if a non authenticated user tries to access a resource on apache,

Re: With JK 1.2.x using route causes problems with redirect?

2007-09-17 Thread Rainer Jung
hi Brian, [EMAIL PROTECTED] wrote: All, Good day! For a little background, I'm working on implementing sub-clusters with the new connector. That is, I will cluster my Tomcats in paris to keep network traffic/memory usage down. The connector would preferrentially fail-over between

Re: grant codeBase not working for my jar

2007-09-17 Thread Sam Halliday
Hello Mark, That doesn't give me any additional input... I already know which permissions I need, I just want to restrict them to the one Servlet. If you really want to know the exception, I'll print it here but I don't think it's relevant... Caused by:

Re: PHP Security Vulnerability???

2007-09-17 Thread Wade Chandler
- Original Message From: Arend P. van der Veen [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, September 17, 2007 7:43:36 AM Subject: Re: PHP Security Vulnerability??? Wade Chandler wrote: --- Arend P. van der Veen [EMAIL PROTECTED] wrote: ... Hi, This

Re: grant codeBase not working for my jar

2007-09-17 Thread Mark Thomas
Sam Halliday wrote: Hello Mark, That doesn't give me any additional input... I already know which permissions I need, I just want to restrict them to the one Servlet. The debug output should tell you what coedbase is requesting what permission. I can't tell where, but you are missing at

Re: grant codeBase not working for my jar

2007-09-17 Thread Sam Halliday
Hmm, where should I expect to see the extra debugging output. It isn't in any of the log files. The permissions are perfectly fine... it is in the assignation of the permissions to the correct jar file/servlet that things are getting messed up. Will the debugging output really point to

Tomcat 6 Exception Language

2007-09-17 Thread Fredy Provoste
Hi, i'm new in Tomcat 6, i've installed JSTL, and the exceptions thatserver throws is in spanish language, i wish this exception were in english language, so i can go to google searching for the answers to that exceptions, ehhh i've looking in google about this topic, and i've found nothinh so,

RE: With JK 1.2.x using route causes problems with redirect?

2007-09-17 Thread Brian.Horblit
Rainer, Thanks very much for the quick response! You guys are awesome. So, as I now understand it, the domain mechanism is compatable with (and independent of) the route. And even if domains are used, the stickyness of sticky sessions is at the server level since the route is used to find

Re: grant codeBase not working for my jar

2007-09-17 Thread Mark Thomas
Sam Halliday wrote: Hmm, where should I expect to see the extra debugging output. It isn't in any of the log files. Should be on standard out. The permissions are perfectly fine... it is in the assignation of the permissions to the correct jar file/servlet that things are getting messed up.

Re: Tomcat 6 Exception Language

2007-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fredy, Fredy Provoste wrote: the exceptions that server throws is in Spanish language; I wish this exception were in English You need to change the value of the system property 'user.language' to 'en'. You should be able to do it like this: $

Re: With JK 1.2.x using route causes problems with redirect?

2007-09-17 Thread Rainer Jung
Rainer Jung schrieb: We should note it in the docs though. I improved the worker reference page for the next release a bit: Set to the name of the preferred failover worker. If worker matching SESSION ID is in error state then the redirect worker will be used instead. It will be used even if

Re: With JK 1.2.x using route causes problems with redirect?

2007-09-17 Thread Rainer Jung
Hi Brian, [EMAIL PROTECTED] schrieb: Out of curiosity, is the issue I noted (incorrect redirct failover when route used) a known issue? Even though it is not intended usage should I submit a big report? I think we neither need a bug report, nor a big report :) Quick shot: redirect needs to

Re: grant codeBase not working for my jar

2007-09-17 Thread Sam Halliday
On 17 Sep 2007, at 18:16, Mark Thomas wrote: Sam Halliday wrote: Hmm, where should I expect to see the extra debugging output. It isn't in any of the log files. Should be on standard out. Aah! That's why I wasn't seeing it. There is a pretty bad bug in Ubuntu which puts the output into

Re: HTTP status error 500 in tomcat 4.1.36

2007-09-17 Thread Juha Laiho
On Mon, 17 Sep 2007, bharatp80 wrote: Hello Everyone, I am getting this error while loading the first test.jsp file after a fresh windows 2000 server installation and new tomcat 4.1.36 and iis 5.0 configuration. after installing and configuring tomcat 4.1.36 i tried my sample application

RE: HTTP status error 500 in tomcat 4.1.36

2007-09-17 Thread Propes, Barry L
not a surprise to me...not with the experience I had. Try manually compiling one of your servlets and see what happens. -Original Message- From: bharatp80 [mailto:[EMAIL PROTECTED] Sent: Monday, September 17, 2007 2:31 PM To: users@tomcat.apache.org Subject: Re: HTTP status error 500 in

Re: HTTP status error 500 in tomcat 4.1.36

2007-09-17 Thread bharatp80
Thanks for your quick reply. but i am surprised the same code is working on another server. Actually i am moving the web server from another server where it is working just fine.the only difference between this two configuration is on new server i have tomcat 4.1.36 and jdk 1.6 and on running

HTTP status error 500 in tomcat 4.1.36

2007-09-17 Thread bharatp80
Hello Everyone, I am getting this error while loading the first test.jsp file after a fresh windows 2000 server installation and new tomcat 4.1.36 and iis 5.0 configuration. System configuration. OS: windows 2000 server Java : jdk 1.6.2 tomcat : 4.1.36 IIs : 5.0 all the required path

RE: With JK 1.2.x using route causes problems with redirect?

2007-09-17 Thread Brian.Horblit
Rainer, How about a big bug report? Sorry for the typo ;-) An update. With the route/redirect strategy, I did as you suggested and changed my redirect to the route name rather than the worker name. It now seems to work as I itended: Failovers are between redirect partners. I did a good 6 or 7

RE: HTTP status error 500 in tomcat 4.1.36

2007-09-17 Thread Propes, Barry L
Do your files even compile? I had a problem running TC 4.1.31, but it was prior to running files on the server. Since some of the API methods varied slightly, I had several servlets that would not even compile. Of course this was when I tried to upgrade the JVM, which was necessary to run (I

Out of MemoryError upon attempting to load the webapps/ JSP examples

2007-09-17 Thread Chan Lee
Hello, Trying to run Tomcap in Debian, I choose tomcat5 to install. After all tomcat5 related package installed, trying to open the default port, 8180, resulted in JVM OutOfMemoryError - upon when tomcat attempts to load the JSP examples in webapps. Somehow, the JVM heap didn't get allocated

mod_jk and Apache httpd 2.2

2007-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All (especially mod_jk folks), I recently upgraded one of my servers to Apache httpd 2.2 and (predictably) my existing hand-built mod_jk.so library was garbled, requiring me to re-compile. After a re-build (and upgrade from 1.2.23 to 1.2.25), it

RE: Out of MemoryError upon attempting to load the webapps/ JSP examples

2007-09-17 Thread Caldarale, Charles R
From: Chan Lee [mailto:[EMAIL PROTECTED] Subject: Out of MemoryError upon attempting to load the webapps/ JSP examples Trying to run Tomcap in Debian, I choose tomcat5 to install. After all tomcat5 related package installed, trying to open the default port, 8180, resulted in JVM

comet example issues

2007-09-17 Thread Saman Ghodsian
Hi There, I've trying to run the comet example with not success, I have version apache-tomcat-6.0.14. Basically when I hit URL http://localhost:8080/examples/jsp/chat/login.jsp Enter a username and enter, the page takes a long time to redirect. After getting to post.jsp again entering

RE: Out of MemoryError upon attempting to load the webapps/ JSP examples

2007-09-17 Thread Chan Lee
Hi Charles, The tomcat5 package came from the Debian package repository and I guess it was re-packaged for Debian install - but not by the Apache/Tomcat authority. The JVM also came from the Debian source - it's kaffee KJVM. I'll try to replace the JVM first then get the genuine

Re: grant codeBase not working for my jar

2007-09-17 Thread Mark Thomas
Hmm. The output shows that your jar isn't getting the permissions. You are right that the codebase is the problem. I am not sure if my mail client is mangling the urls you are using but it looks like you are using '/' characters after 'file:' Try without these as per the entries in the TC6

Re: HTTP status error 500 in tomcat 4.1.36

2007-09-17 Thread Juha Laiho
On Mon, 17 Sep 2007, bharatp80 wrote: Thanks for your quick reply. but i am surprised the same code is working on another server. Such things do happen. so i guess to doubt on test.jsp is not appropriate. But still, the error message shows that is where the error happens. So, that is the

how to obtain server ip address

2007-09-17 Thread Waseem Azhar
Hi, How do I obtain the IP address of the machine (where the tomcat tomcat server in running) ? My web app is deployed on tomcat server and I want to know the Ip address of the server in my application. Thanks in advance. -Azhar

RE: how to obtain server ip address

2007-09-17 Thread Caldarale, Charles R
From: Waseem Azhar [mailto:[EMAIL PROTECTED] Subject: how to obtain server ip address How do I obtain the IP address of the machine (where the tomcat tomcat server in running) ? If you mean you want to obtain the IP address programmatically, you should read the Servlet API Javadoc (hint:

Re: how to obtain server ip address

2007-09-17 Thread Waseem Azhar
Yes I want to obtain IP address programmatically, Thanks for the quick help. -Azhar On 9/18/07, Lilianne E. Blaze [EMAIL PROTECTED] wrote: Check java.net.NetworkInterface, it lets you enumerate all interfaces and addresses / interface. Discard loopback 127.0.0.1 and private addresses (see

Re: how to obtain server ip address

2007-09-17 Thread Sonal Goyal
Waseem, Have you tried InetAddress.getLocalHost()? Sonal On 9/18/07, Waseem Azhar [EMAIL PROTECTED] wrote: Hi, How do I obtain the IP address of the machine (where the tomcat tomcat server in running) ? My web app is deployed on tomcat server and I want to know the Ip address of the

Re: how to obtain server ip address

2007-09-17 Thread Lilianne E. Blaze
Check java.net.NetworkInterface, it lets you enumerate all interfaces and addresses / interface. Discard loopback 127.0.0.1 and private addresses (see rfc 1918), with any luck there should be one address remaining. Of course, that is assuming your machine is directly exposed to the internet.

Re: how to obtain server ip address

2007-09-17 Thread Waseem Azhar
Yes I have tried InetAddress.getLocalHost() and its working ... Thanks, -Azhar On 9/18/07, Sonal Goyal [EMAIL PROTECTED] wrote: Waseem, Have you tried InetAddress.getLocalHost()? Sonal On 9/18/07, Waseem Azhar [EMAIL PROTECTED] wrote: Hi, How do I obtain the IP address of the