Tomcat 5.5 and RMI

2008-10-26 Thread Sven A
Hi, I'm looking at options in running our standalone RMI application within a servlet container since we're planning to build support for http. I'm currently testing our app on Tomcat 5.5 and my question is if Tomcat by default actually dispatch incoming RMI calls to different threads. Looking

Re: Tomcat 5.5 and RMI

2008-10-26 Thread Gregor Schneider
got the same scenario here: - RMI-app (server) - Servlet connecting to the RMI-server However, that's not a Tomcat-issue: Just code the RMI-calls within your servlet. Hope I understood your problem correctly. Cheers Gregor -- what's puzzlin' you, is the nature of my game gpgp-fp:

Tomcat Cluster and NFS mounted webapp

2008-10-26 Thread forum123
We're setting up a simple Tomcat cluster using Tomcat 5.5.12. There will be initially 2 Tomcat instances on 2 physical Linux servers in this cluster. Is mounting a shared NFS folder appropriate for this? NFS will allow us to deploy updates a single time and have all Tomcat's in the cluster

Tomcat Server .pac Script configuration for outgoing connection.

2008-10-26 Thread Eswaramoorthy Ramesh
All, Tomcat - 5.0.28, Java - 1.4.2, OS - Windows XP We have a web application that sets up a local tomcat server with an application deployed into the client machine. To complete the setup, the application on Tomcat needs to access the internet from the client machine and verify with the source

Re: Tomcat Server .pac Script configuration for outgoing connection.

2008-10-26 Thread Hassan Schroeder
On Sun, Oct 26, 2008 at 2:12 PM, Eswaramoorthy Ramesh We have a web application that sets up a local tomcat server with an application deployed into the client machine. To complete the setup, the application on Tomcat needs to access the internet from the client machine and verify with the

Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread Wayne Bragg
my setup: WinXP Home Wed-Dev install of: Apache/2.2.3 (Win32) Tomcat 5 PHP 5.2.0 I have mod_jk connector set up the following way according to instructions: Alias /dwr-examples /www/tomcat5/webapps/dwr-examples/ Directory /www/tomcat5/webapps/dwr-examples/ Options

RE: Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread Martin Gainty
Please confirm this parameter in $APACHE_HOME/conf/httpd.conf Listen 80 Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential

Re: Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread Wayne Bragg
Confirmed! - Original Message - From: Martin Gainty [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, October 26, 2008 5:41 PM Subject: RE: Apache mod_jk and Tomcat not working correctly Please confirm this parameter in $APACHE_HOME/conf/httpd.conf

Re: Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread Wayne Bragg
I guess I need to add, going through http port 80 works with no errors for everything except .jsp to tomcat - Original Message - From: Martin Gainty [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, October 26, 2008 5:41 PM Subject: RE: Apache mod_jk and

RE: Tomcat Server .pac Script configuration for outgoing connection.

2008-10-26 Thread Martin Gainty
I agree this has nothing to do with tomcat but a misconfiguration by the admin on Proxy Server if you want a working solution you'll have to bypass the admin's configuration and try it with a 'clean' tomcat install Martin __ Disclaimer and

Re: Tomcat Server .pac Script configuration for outgoing connection.

2008-10-26 Thread Wayne Bragg
Can anyone tell me where to find the rule causing this problem? INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com],

Re: Tomcat Server .pac Script configuration for outgoing connection.

2008-10-26 Thread Wayne Bragg
I guess you lost me with if you want a working solution you'll have to bypass the admin's configuration and try it with a 'clean' tomcat install what will that do for me? I could get the application to work on tomcat alone with the native php setup on tomcat, but I have not been able to

Re: Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread Wayne Bragg
I accidentally hijacked another thread with the following question that applies to this thread, SORRY! I think when I fried my hard drive it also got me! Can anyone tell me where to find the rule causing this problem? INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain:

Re: Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread André Warnier
I think your Alias at the beginning has more priority than your JkMount later. Not that the order in the config file matters, that's not what I mean. What I mean is : Alias /dwr-examples /www/tomcat5/webapps/dwr-examples/ also covers URLs like /dwr-examples/dwr, and so it is Apache trying to

Re: Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread André Warnier
It's maybe your own fault if you get lost : do not post new messages with the subject of another thread. It is confusing to everyone, not just to you. Re: Tomcat Server .pac Script configuration for outgoing connection. Wayne Bragg wrote: I guess you lost me with if you want a working

FW: Tomcat 6

2008-10-26 Thread Chris Lenart
Can someone help please? -Original Message- From: Chris Lenart [mailto:[EMAIL PROTECTED] Sent: Saturday, October 25, 2008 9:05 PM To: 'Tomcat Users List' Subject: RE: Tomcat 6 I put it by web.xml Am I right? Same error occurs. Wait, I am not using faces just tags from core.

RE: Tomcat 6

2008-10-26 Thread Martin Gainty
yes that right location in your web.xml can you validate faces-config.xml e.g.? (we should see what is failing and where) web.xml: context-param description Set this flag to true if you want the JavaServer Faces Reference Implementation to validate the XML in

Re: Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread Wayne Bragg
Apache is suppose to serve /dwr-examples and /dwr-examples/dwr just not any jsp or jspx that is called for Alias /dwr-examples /www/tomcat5/webapps/dwr-examples/ also covers URLs like /dwr-examples/dwr, and so it is Apache trying to serve it, it is never re-directed to Tomcat by mod_jk, it

RE: Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread Martin Gainty
you cant use php from the tomcat main distro..but there is a workaround it would be easier if you implemented php on Apache with the mod_php module.. feel free to ping me offline as php implementations are off/topic for the Tomcat list.. Martin __

RE: Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread Martin Gainty
no problem as long as you can be extremely specific on what you have and where it will be implemented (DWR is a Bean Server technology from Joe Walker but probably wont help for this implementation...) start with the php part..if you want to use the php binary start with a Handler

Re: Tomcat 5.5 and RMI

2008-10-26 Thread Leon Rosenberg
Hello Sven, as mentioned before this has nothing to do with tomcat, your rmi servant inside tomcat will manage its threads by himself without tomcat manager having a chance to notice. For the second question, I highly doubt there is a servlet container there which cares for RMI, but why should

WARNING: Servlet.service() for servlet php threw exception

2008-10-26 Thread Wayne Bragg
my setup: WinXP Home Wed-Dev install of: Apache/2.2.3 (Win32) Tomcat 5 PHP 5.2.0 As a work around to another thread, (mod_tk connector), I'm trying to setup native php on tomcat. I installed all the pieces according to

RE: Tomcat 6

2008-10-26 Thread Chris Lenart
Oct 26, 2008 8:27:00 PM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:PhotographyShop' did not find a matching property. Oct 26, 2008 8:27:00 PM

Re: executor does not work with AJP connector

2008-10-26 Thread Joe Reger, Jr.
Kinda late to this party but I've gotten the same NPE issue when adding an Executor to an AJP Connector on 6.0.14 (Win2000Server). But, I've also gotten it to work on 6.0.14 on a different machine (Windows XP)... same server.xml. Experimenting with the problem server I found that I could keep

RE: Tomcat 6

2008-10-26 Thread Martin Gainty
this is contextConfig.java line 365 if(log.isDebugEnabled()) { log.debug(Parsing application web.xml file at + url.toExternalForm()); } please display web.xml.. also please display application.xml.. thanks Martin

RE: Tomcat 6

2008-10-26 Thread Chris Lenart
I don't have APPLICATION.XML ?xml version=1.0 encoding=UTF-8? web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:javaee=http://java.sun.com/xml/ns/javaee; xmlns:web=http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd;

RE: Tomcat 6

2008-10-26 Thread Martin Gainty
use this web.xml (same as old xml with 3 corrections validated to http://www.w3schools.com/XML/xml_validator.asp) ?xml version=1.0 encoding=UTF-8? web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:javaee=http://java.sun.com/xml/ns/javaee;

RE: Tomcat 6

2008-10-26 Thread Chris Lenart
I am using Oracle db :) I copied your web.xml and got this Oct 26, 2008 9:38:41 PM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:PhotographyShop' did not find a

Re: Tomcat 6

2008-10-26 Thread David Smith
Your web.xml does not appear to conform to the servlet spec (2.4 or 2.5) and you appear to have references to both in the web-app ... root element. You might want to take a look at the current spec and make some corrections to your web.xml. For starters, don't use the javaee: namespace in

Re: Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread Rainer Jung
Wayne Bragg schrieb: my setup: WinXP Home Wed-Dev install of: Apache/2.2.3 (Win32) Tomcat 5 PHP 5.2.0 Before proceeding consider taking more recent minor versions, like 2.2.10, PHP 5.2.6 and you didn't tell us your Tomcat version. Your mod_jk below is 1.2.19,