Problem encounter during setup Virtual Hosting and Tomcat 6.0

2009-11-15 Thread Henry Loke
Below is a setup according according to tutorial http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html I plan to setup 2 virtual host ie : 1. ren 2. stimpy ( Please refer to the link above for more detail ) Both Virtual Host No War file. Both of them only have the index.jsp ( The

Re: Problem encounter during setup Virtual Hosting and Tomcat 6.0

2009-11-15 Thread Peter Crowther
2009/11/15 Henry Loke fsl...@yahoo.com: Browser: http://ren:8080/ [IMG]http://i861.photobucket.com/albums/ab175/fsloke/pagenoFound.jpg[/IMG] Server not found Tomcat cannot and does not change your computer's or network's idea of what names map to what IP addresses. Have you changed your

Re: Problem encounter during setup Virtual Hosting and Tomcat 6.0

2009-11-15 Thread Henry Loke
Hi Peter I edited the hosts file as below: == 127.0.0.1 localhost 127.0.0.1 ren 127.0.0.1 stimpy == It works. But the Tomcat manager webapp not working. How to enable Tomcat manager webapp for

RE: Problem encounter during setup Virtual Hosting and Tomcat 6.0

2009-11-15 Thread Caldarale, Charles R
From: Henry Loke [mailto:fsl...@yahoo.com] Subject: Re: Problem encounter during setup Virtual Hosting and Tomcat 6.0 For context.xml I follow approach 1. Context crossContext=true WatchedResourceWEB-INF/web.xml/WatchedResource /Context It's not clear where you have made the above

Re: SSL Configuration Question

2009-11-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Liav, On 11/14/2009 4:32 AM, Liav Ezer wrote: The section about importing a certificate issued by a CA begins with: Download a Chain Certificate from the Certificate Authority you obtained the Certificate from. [snip] What is a Chain

Re: Tomcat common/lib

2009-11-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ziggy, On 11/14/2009 12:52 PM, Ziggy wrote: Because of this i couldnt really use the connection object provided via JNDI. Sure you can: just use the getInnermostDelegate method to get the real Connection object. You ought to be able to cast that

Customizing Default Error page when Webapp stopped Or not loaded

2009-11-15 Thread Arunkumar Janarthanan
I am having problem when thew webapp stopped or not loaded for some reason tomcat shows the default error page though I have error page configured in web.xml under application root. Do I have to modify *org.apache.catalina.valves.ErrorDispatcherValve* class file ? Could anyone please advice if

Re: connection Timeout

2009-11-15 Thread Arunkumar Janarthanan
Have you tried *removeAbandonedTimeout* in connection pool settings ? this will help to get the connectionb closed if your DB connection waiting more than a specific amount of time. On Thu, Nov 12, 2009 at 4:02 AM, André Warnier a...@ice-sa.com wrote: vichi wrote: i want to close a connection

Re: Customizing Default Error page when Webapp stopped Or not loaded

2009-11-15 Thread Konstantin Kolinko
2009/11/15 Arunkumar Janarthanan arunkumar.webad...@gmail.com: I am having problem when thew webapp stopped or not loaded for some reason tomcat shows the default error page though I have error page configured in web.xml under application root. Do I have to modify

servlet exception when processing TLD

2009-11-15 Thread MilleBii
I have Tomcat 5.5 fresh install (apt-get) on ubuntu and just trying to deploy the standard distribution of nutch-1.0... and I'm getting the following errors. Of course the taglibs-i18n.tld file is present. After searching on the net I have found little help... suspecting something wrong with my

RE: servlet exception when processing TLD

2009-11-15 Thread Caldarale, Charles R
From: MilleBii [mailto:mille...@gmail.com] Subject: servlet exception when processing TLD SEVERE: Error reading tld listeners javax.servlet.ServletException: Exception when processing TLD at the ressource path /WEB-INF/taglibs-i18n.tld dans le contexte /nutch-1.0

Re: servlet exception when processing TLD

2009-11-15 Thread MilleBii
Nothing... is there a way to get more details actually ? Did another trial I installed Tomcat 6 and deployed the same app, still a problem but I get another issue probably more meaning full SEVERE: Exception sending initialized context event (context initialized) at listener class instance

Re: servlet exception when processing TLD

2009-11-15 Thread Pid
On 15/11/2009 19:33, MilleBii wrote: Nothing... is there a way to get more details actually ? Did another trial I installed Tomcat 6 and deployed the same app, still a problem but I get another issue probably more meaning full You're running Tomcat with the Security Manager enabled.

RE: Tomcat common/lib

2009-11-15 Thread Gerwood Stewart
Ziggy These days I'm more familiar with Maven (which solves this simply) however from the days of Ant I think the following might help a little: From memory most ant scripts are custom. You have to add the command to copy libraries etc. You will probably need to add an extra set of commands

Re: servlet exception when processing TLD

2009-11-15 Thread MilleBii
Not sure how to fully disable security but I added the following which I understand should grand all rights to classes under my webapp: 1. grant codeBase file:${catalina.home}/webapps/nutch-1.0/- { permission java.security.AllPermission; }; in conf/catalina.policy 2. /etc/init.d/tomcat6

Re: servlet exception when processing TLD

2009-11-15 Thread MilleBii
Found where to disable security ie in /etc/init.d/tomcat6 ... now it works. Not sure why the specific grant didn't work though ? 2009/11/15 MilleBii mille...@gmail.com tried also by modifying conf/policy.d/50local.policy ... same results strange. Total stack is always the following

Deployment of war file into a common locatiion

2009-11-15 Thread ajaypal
Hi , My name is Ajay and I have one web application which my whole team wants to access . My problem is that all my team is scattered on different places (at onsite and offshore) on different networks , So if I deploy that web application on my system , all team members cant access it . Also I