tomcat 5.0.29 and request.getScheme

2004-12-05 Thread Luis Fernando Pardo
Hello, I have just upgraded my tomcat version from 5.0.16 to 5.0.29 and I have found a problem with the request.getScheme method. I have set apache server to listen on 443 port (SSL) and proxypass to Tomcat on local address (127.0.0.1) and port 9080. This is the connector configuration in

Re: webapps ROOT folder significance

2004-12-05 Thread Remy Maucherat
On Sat, 4 Dec 2004 19:32:13 -, Allistair Crossley [EMAIL PROTECTED] wrote: lol, i wasn't having a dig Remy don't be so cynical, I am just interested, and you didn't answer my question either ;) I mean, it's not difficult of course to redeploy on another server and rename the WAR, I don't

Re: tomcat 5.0.29 and request.getScheme

2004-12-05 Thread Luis Fernando Pardo
Thanks for your response. I have test Tomcat with secure=trust and I have got a proxy error response. This is the configuration directives from apache where proxypass is done: ... ProxyPassReverse /formae http://127.0.0.1:9080/formae RewriteRule ^/formae(.*) http://127.0.0.1:9080/formae$1 [P,L]

user-unsubscribe@struts.apache.org

2004-12-05 Thread Erez Efrati

tomcat-user-unsubscribe@jakarta.apache.org

2004-12-05 Thread Erez Efrati

Tomcat diagnostic tools

2004-12-05 Thread wegorkie
Hi, I have a problem with my application which is running on Tomcat Struts. I am begginer so my question can maybe lame. My Tomcat is running on port 8080 and there I can see manager and my application sessions and so on. But from time to time the server stops reacting on HTTP requests. And I

Re: Tomcat diagnostic tools

2004-12-05 Thread Eric Rotick
You could use 'netstat -an' to see if there is a process listening on your chosen ports and 'tcpdump port ' to see the packets going to and from the port. You could also use ethereal to capture the packets and then use the 'follow TCP stream' option to see inside the packets. On 05 Dec 2004

Re: Tomcat diagnostic tools

2004-12-05 Thread sven morales
Hi, The Apache Axis project has a tcpmon tool that basically sits between your browser and Tomcat. It is nice in a sense that HTTP is nicely formatted. Its an applet based. I think most of the IDE's have similar tool integrated but like me who does not use an IDE, its adequate. This is just

Re: jk_uri_worker_map_t::map_uri_to_worker, done without a match

2004-12-05 Thread Thomas Charles Robinson
Ok, so since nobody else knows this: If I take the auto/mod_jk.conf auto generated from ApacheConfig and make some manual edits to include: JkMount / ajp13 JkMount /* ajp13 It all seems to work. Of course, the next question is how to get this auto generated! (why do I feel like I'm talking to

RE: tomcat-user-unsubscribe@jakarta.apache.org

2004-12-05 Thread Dale, Matt
I think you've misunderstood, you need to send an email to that address, not to the list with that address in the title. Ta Matt -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: 05 December 2004 12:15 To: Tomcat User Mailing List Subject: [EMAIL PROTECTED] Any

Why some variables and methods have leading _ in the servlet compiled from JSP?

2004-12-05 Thread zerol tib
Howdy, When I am reading the servlet compiled from JSPs, I find that There are some variables and methods have leading _ while others not: _jspxFactory _jspx_out _jspx_includes Why these identities have the leading underline? Is there a naming rule? Best Regards

Re: Why some variables and methods have leading _ in the servlet compiled from JSP?

2004-12-05 Thread Rhino
- Original Message - From: zerol tib [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, December 05, 2004 9:30 AM Subject: Why some variables and methods have leading _ in the servlet compiled from JSP? Howdy, When I am reading the servlet compiled from JSPs, I find that There

Why it is better to call response.isCommitted() before calling sendRedirect()?

2004-12-05 Thread zerol tib
Howdy, When reading source codes of JSP/JavaBeans , I always meet with such codes : if (response.isCommitted() == false) { // ... response.sendRedirect(ConstTable.ERROR_MENU); } else { // some action } then I am wondering Why it is better to call response.isCommitted() before calling

Re: Why some variables and methods have leading _ in the servlet compiled from JSP?

2004-12-05 Thread Eric Rotick
I think the variables defined by the JSP compiler are named with the leading underscore to avoid any naming clashes with names you may have used yourself. Of course, if you've used leading underscores yourself On Sun, 5 Dec 2004 10:11:01 -0500, Rhino [EMAIL PROTECTED] wrote: -

Re: Why it is better to call response.isCommitted() before calling sendRedirect()?

2004-12-05 Thread Eric Rotick
If the response has already committed then you cannot send a redirect. The various header details contain the redirect information and the response is said to be committed if these headers have already been sent back to the client. On Sun, 5 Dec 2004 23:21:34 +0800, zerol tib [EMAIL PROTECTED]

url rewritting: appended ;jsessionid break webapp + appended in wrong places!

2004-12-05 Thread Jerome Lacoste
Hi, Yesterday I had a rewriting problem on a tomcat server hosting one of my applications. When one went for the first time on a page of the app, the resulting page was rewritten in a way that broke the application: many ;jsessionid= were appended, not only to the URLs but also to some plain

Re: url rewritting: appended ;jsessionid break webapp + appended in wrong places!

2004-12-05 Thread Mark Lowe
Its a general container thing.. Choices. 1. You can use relative links for images and such like (img src=../images/foo.gif /) 2. Write a filter that strips the session id off any request that isn't a .jsp,servlet or .do or whatever you need the session ids for. 3. use mod_rewrite and strip the

Re: Tomcat 5.0.27-r4 java.net.BindException

2004-12-05 Thread Chris Stratton
Doug, You did it! You put me on the track. It was the local loopback. I had lost the local loopback somehow in upgrading the kernel etc. Got the config files straightened out and restarted the service viola! On Sat, 4 Dec 2004 22:51:04 -0500, Parsons Technical Services [EMAIL PROTECTED] wrote:

Re: url rewritting: appended ;jsessionid break webapp + appended in wrong places!

2004-12-05 Thread Mark Lowe
Sorry I forgot. urlrewrite will give you a ready made configureable filter that could do what you want. http://tuckey.org/urlrewrite/ On Sun, 5 Dec 2004 18:51:15 +0100, Mark Lowe [EMAIL PROTECTED] wrote: Its a general container thing.. Choices. 1. You can use relative links for images

Re: url rewritting: appended ;jsessionid break webapp + appended in wrong places!

2004-12-05 Thread Jerome Lacoste
On Sun, 2004-12-05 at 18:51 +0100, Mark Lowe wrote: Its a general container thing.. Thanks for your help. Question: - why do I get jsessionid appended to text ? Look at the attachment. The message is generated with a c:out tag and the jsessionid is appended to it! Choices. 1. You can use

Re: url rewritting: appended ;jsessionid break webapp + appended in wrong places!

2004-12-05 Thread Jerome Lacoste
On Sun, 2004-12-05 at 21:15 +0100, Mark Lowe wrote: Thats strange, it must think its a url. You your its not c:url rather than c:out? Or is there something with the c:out variable name also defined in the same page? Mark, shame shame shame on me. I was looking at the wrong jsp. Both have a

Binding tomcat http connector to ANY_PORT?

2004-12-05 Thread Henrique Gomes
Hello! We are using embedded tomcat so we can ran a webapp directly from CD. A small Java app presents a GUI and starts tomcat. A button on the GUI opens the system's browser on http//localhost:port and the user can use the webapp. Even works on windows and Mac :-) The not so prefect thing

Re: Why some variables and methods have leading _ in the servlet compiled from JSP?

2004-12-05 Thread Tim Funk
Because the jsp spec says so. -Tim zerol tib wrote: Howdy, When I am reading the servlet compiled from JSPs, I find that There are some variables and methods have leading _ while others not: _jspxFactory _jspx_out _jspx_includes Why these identities have the leading underline? Is there a naming

Re: Tomcat 5.0.28 - How to stop Jasper JSP compiler from evaluting JSTL expressions

2004-12-05 Thread Bill Barker
Jerry Rodgers [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Oh so close : I thought you had it. Now my Tomcat JSP generated code looks a bit more like I would expect: _jspx_th_core_forEach_0.setItems(new String(${topnav})); However by setting that variable now the jstl

Re: jk_uri_worker_map_t::map_uri_to_worker, done without a match

2004-12-05 Thread Bill Barker
Context path= docBase=ROOT Listener className=org.apache.ajp.tomcat4.config.ApacheConfig noRoot=false forwardAll=true / /Context Thomas Charles Robinson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Ok, so since nobody else knows this: If I take the

FactoryConfigurationError...SAXParserImpl not found

2004-12-05 Thread Allen Williams
When I try to start Tomcat, I get this error. The classes seem to be in the right paths, and I checked and found the SAXParserImpl in a jar file in the paths. Help, please? TIA, -- Allen - To

Tomcat 5 notably slower than tomcat 4...more info

2004-12-05 Thread Dan Foreman
Hi, I've learned more since my last questions about tomcat 5 vs 4 performance. The reason that it seems so much slower is that there are more than twice as many packets being returned from the application server...most of which are SYN/SYN-ACK packets (no exaggeration, from 300 packets in

Tomcat 5 vs 4 vs 3notably slower than tomcat 4...more info

2004-12-05 Thread Cary Conover
Dan Foreman [EMAIL PROTECTED] wrote:Hi, I've learned more since my last questions about tomcat 5 vs 4 performance. The reason that it seems so much slower is that there are more than twice as many packets being returned from the application server...most of which are SYN/SYN-ACK packets (no

Tomcat 4.1.27+ vs 4.0.6 vs 3.2.4 - Looking for some Experience with this comparison.

2004-12-05 Thread Cary Conover
Sorry Folks on the last one. What I am looking for is experiences in the community in robustness of Tomcat 3.2.4 vs Tomcat 4.0.6 vs Tomcat 4.1.30. Which is the most robust straight out of the box? Which release seems to be the most reliable? I know there is load leveling. What I am

Tomcat 4.1.27+ vs 4.0.6 vs 3.2.4 - Looking for some Experience with this comparison.

2004-12-05 Thread Cary Conover
Sorry Folks on the last one. What I am looking for is experiences in the community in robustness of Tomcat 3.2.4 vs Tomcat 4.0.6 vs Tomcat 4.1.30. Which is the most robust straight out of the box? Which release seems to be the most reliable? I know there is load leveling. What I am

FW: Help: Windows Server on Linux Client

2004-12-05 Thread Aris Javier
Please Help! thanks very much! aris _ From: Aris Javier Sent: Friday, December 03, 2004 4:48 PM To: 'Tomcat Users List' Subject: Help: Windows Server on Linux Client Good Afternoon! I have this problem on linux clients... My web apps simply won't run on linux client... http:

RE: Help: Windows Server on Linux Client

2004-12-05 Thread Brad Cobb
Hi, The server is Windows 2k (development pc) running tomcat 5.0.27 using jk2 connector to run on IIS... my web apps don't have problems on windows client... I would be looking at your IIS permissions. Are you using 'Anonymous Access' in IIS? It sounds like your Windows clients are

RE: Help: Windows Server on Linux Client

2004-12-05 Thread Aris Javier
Thanks for your reply Brad! Inside IIS (myApp virtual directory), I have disabled Anonymous access and checked integrated windows authentication... myApp gets the user domain login name first and verify in active directory if the user exists... if the user exists, then myApp will work.. if in

RE: Help: Windows Server on Linux Client

2004-12-05 Thread Brad Cobb
-Original Message- From: Aris Javier [mailto:[EMAIL PROTECTED] Sent: Monday, 6 December 2004 10:20 AM To: Tomcat Users List Subject: RE: Help: Windows Server on Linux Client Thanks for your reply Brad! no problems. Hope it helps. Inside IIS (myApp virtual directory), I have

Re: Tomcat 4.1.27+ vs 4.0.6 vs 3.2.4 - Looking for some Experience with this comparison.

2004-12-05 Thread QM
On Sun, Dec 05, 2004 at 04:52:32PM -0800, Cary Conover wrote: : What I am looking for is experiences in the community in robustness of Tomcat 3.2.4 vs Tomcat 4.0.6 vs Tomcat 4.1.30. Please consider this: Tomcat v3.x and 4.0.x are no longer under active development. Should you encounter a

Re: FW: Help: Windows Server on Linux Client

2004-12-05 Thread QM
On Mon, Dec 06, 2004 at 09:20:26AM +0800, Aris Javier wrote: : http: 401 authorization problem always shows up on mozilla in linux. : : The server is Windows 2k (development pc) running tomcat 5.0.27 : using jk2 connector to run on IIS... my web apps don't have problems : on windows client...

Re: Help: Windows Server on Linux Client

2004-12-05 Thread Parsons Technical Services
Aris, Do want the only people that use the app to be domain users? If so, then you will need to implement a different security system if users will be on non windows machines. One option is the authentication roles in Tomcat. Down side is that the database of users will have to be maintained

Must restart tomcat after putting a jar into common/endorsed?

2004-12-05 Thread Kent Tong
Hi, I am using Tomcat 5.0.30 with JDK 1.4.2_05. I notice that if I copy a jar file into CATALINA_HOME/common/endorsed, I have to restart Tomcat for it to take effect. Why? Thanks in advance! - To unsubscribe, e-mail: [EMAIL

Re: Must restart tomcat after putting a jar into common/endorsed?

2004-12-05 Thread Jacob Kjome
At 12:34 PM 12/6/2004 +0800, you wrote: Hi, I am using Tomcat 5.0.30 with JDK 1.4.2_05. I notice that if I copy a jar file into CATALINA_HOME/common/endorsed, I have to restart Tomcat for it to take effect. Why? Because classes are loaded once, and only once in a running classloader. Keep in

apachephp4.0---Permission denied error

2004-12-05 Thread vishal nalwa
HI Folks, Once again i need your help. Actually i am using apache php 4.0 an d3 bsd unix as OS. Now i am trying to run a shell script and i am getting the error of permission denied. This script is all about to spawn a new process. I am keenly waiting for the responses. Thanks in advance

RE: Tomcat 5.0.28 - How to stop Jasper JSP compiler from evaluting JSTL expressions

2004-12-05 Thread Jerry Rodgers
Geez, after 10 hours on a Sunday I finally figured this out. It has to do with Tomcat 5.0.28 - or rather the Servlet 2.4 spec JSP 1.2 vs 2.0. I found this on the internet which led me to the answer: This is about the isELIgnored page attribute. If your web.xml specifies servlets 2.3

RE: apachephp4.0---Permission denied error

2004-12-05 Thread Caldarale, Charles R
From: vishal nalwa [mailto:[EMAIL PROTECTED] Subject: apachephp4.0---Permission denied error Actually i am using apache php 4.0 an d3 bsd unix as OS. Now i am trying to run a shell script and i am getting the error of permission denied. This script is all about to spawn a new process.

Service Not Starting Up with Start bar icon but only with a reboot

2004-12-05 Thread Dakota Jack
I built an application running in Tomcat 5.0 which starts up as a service. I built it on my laptop and it runs fine. When I shutdown Tomcat, I can just hit the icon on the Start menu and things start right up again. However, when I move this to a standalone machine it works when I start up the

Re: Migrating from Apache2/JK2 to Tomcat standalone

2004-12-05 Thread Trond G. Ziarkowski
Hi! What's your hardware? In development I have a Dell PowerEdge something 2.4 Xeon, 512MB RAM, for production I have an IBM something 2.8 Xeon, 1GB RAM Trond - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional