Running schduled jobs

2009-07-10 Thread Ravi Sharma
Hi All, I need to run some threads at particular time during the day, does Tomcat provide any such facility? If not then whats the other best way to go for it. Basically i recalculate my site's visitor data every 30 minute and keep in cahce and then display to users, 30 minute delay for my data

Filtering URL via tomcat

2009-04-27 Thread Ravi Sharma
Hi All, Please help me for this problem, i am not able to get to the root of the problem. My site have few open/free pages which can be accessed by anyone/guests and few only for registered users. So you can access those pages only by login to the site http://www.mysiste.com/audio/abc.html

Re: Filtering URL via tomcat

2009-04-27 Thread Ravi Sharma
, enter the URL http://www.mysiste.com:8080/app/audio/download/abc.html (that goes to Tomcat directly, without going through Apache). What happens then ? Don't be afraid to add some details. Ravi Sharma wrote: Hi All, Please help me for this problem, i am not able to get to the root

Re: Restarting Tomcat from Ant

2009-04-02 Thread Ravi Sharma
try sshexec task http://ant.apache.org/manual/OptionalTasks/sshexec.html On Thu, Apr 2, 2009 at 6:23 PM, Mighty Tornado mighty.torn...@gmail.comwrote: Hi, I currently copy the Application files to CATALINA_HOME/webapps from Ant, and then run shutdown and startup. Is there a way to also

Re: Servlet Memory Leak

2008-08-29 Thread Ravi Sharma
try this http://java.sun.com/j2se/1.5.0/docs/tooldocs/index.html On Fri, Aug 29, 2008 at 6:56 PM, Pierre Goupil [EMAIL PROTECTED]wrote: Hello, Interesting thread, indeed. But I've googled around and can't find JMap homepage, I'm afraid. It seems like some other programs has the same name.

Redirection

2008-08-15 Thread Ravi Sharma
Hi, I have the following scenerio. I have a site which provide music online. Now for hosting the actual song i have purchased another site with better band widthm but no tomcat. So my webserver(tomcat) is running on one server(say domain1) and files are hosted on another (with different domain

Re: configure tomcat

2008-08-03 Thread Ravi Sharma
i guess u need to write localhost*:*8080 and not localhost*/*8080(See the : and / , and if its typo then may be some other problem) Ravi. On Sun, Aug 3, 2008 at 4:21 PM, Nadun Herath [EMAIL PROTECTED] wrote: Thanks a lot Alessandro When I type that command. this appeared tcp6

Re: receiving 404 page not found from godaddy.com

2008-07-30 Thread Ravi Sharma
Hi I have tried godaddy's Shared hosting and i had the sme problem and they gave me the same answer that upgrade to dedicated server, so then i though i will try something. first of all they are still using tomcat 4.4.x something and java 1.4(or may be 1.3 i dont remember properly), so first

Re: Multiple websites in tomcat

2008-07-23 Thread Ravi Sharma
-read the hosts file) - try the following URL : http://jaatmusic/servlets-examples Do you still get the Not Found ? (By the above, I am trying to see if we are really accessing the server we think we are accessing). Ravi Sharma wrote: STEP 1

Re: Multiple websites in tomcat

2008-07-22 Thread Ravi Sharma
be : JkMount /servlets-examples ajp13w JkMount /servlets-examples/* ajp13w (I forgot an s in the second one) Ravi Sharma wrote: Hi Andre, Thanks for reply and sorry for my incomplete reply. So here is what i have done now. First i have reinstalled everything again,So i have fresh

Re: Multiple websites in tomcat

2008-07-21 Thread Ravi Sharma
Hi Andre, Thanks for reply and sorry for my incomplete reply. So here is what i have done now. First i have reinstalled everything again,So i have fresh environment with apache (version 2.2.3) and tomcat (version 5.5). JK module(1.2.26 ) is already installed in apache, so i don't need to

Re: Multiple websites in tomcat

2008-07-20 Thread Ravi Sharma
servlet-mapping servlet-nameHelloWorldExample/servlet-name url-pattern*/servlet/HelloWorldExample*/url-pattern /servlet-mapping Please help. Thanks, Ravi. On Sat, Jul 19, 2008 at 8:25 PM, André Warnier [EMAIL PROTECTED] wrote: Ravi Sharma wrote: [...] I'm not as competent

Re: Multiple websites in tomcat

2008-07-20 Thread Ravi Sharma
missing... please help. On Sun, Jul 20, 2008 at 2:44 PM, André Warnier [EMAIL PROTECTED] wrote: The good news is that you will learn more by encountering problems and solving them, than if everything worked correctly on the first pass. Ravi Sharma wrote: [...] Alias /ex /usr/java/tomcat

Re: Multiple websites in tomcat

2008-07-20 Thread Ravi Sharma
that this time you are *not* entering the port , because you want to connect through Apache, not go directly to Tomcat). Do you see the same Tomcat examples menu page as before ? If not, what do you see ? an error page of Apache, or one of Tomcat ? André Ravi Sharma wrote: ya thats true

Re: Multiple websites in tomcat

2008-07-19 Thread Ravi Sharma
Hi, I have a server running apache on port 80, and tomcat on 9080. Now apache has setting that when i enter my domain www.mydomain.com, it point sto a particular directoty on my server and shows the index.html from that dir. And now i have created one java application which i want to use for

Re: Multiple websites in tomcat

2008-07-19 Thread Ravi Sharma
] wrote: Hi Ravi, You need to proxy Tomcat with Apache by using mod_jk or mod_proxy (preferred) Some pertinent links: http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html http://marc.info/?l=tomcat-userm=121286145508630w=2 Ravi Sharma wrote: Hi, I have a server running

Re: Multiple websites in tomcat

2008-07-19 Thread Ravi Sharma
its two times only in the mail. i was just explaining it. In actual httpd.conf its only once. On Sat, Jul 19, 2008 at 5:12 PM, Rainer Jung [EMAIL PROTECTED] wrote: Ravi Sharma schrieb: Thanks a lot Gabe, Now i have very small problem. I have configured as per the follwoing link

Re: Multiple websites in tomcat

2008-07-19 Thread Ravi Sharma
Hi Rainer, Thanks, i checked in included files and found that it was already declared in one of included conf file. Thanks for pointing me that.Now i have corrected it and server is starting properly with following warnings which i am skipping as of now. [Sat Jul 19 10:59:41 2008] [warn]