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 is

Re: Filtering URL via tomcat

2009-05-01 Thread Ravi Sharma
dio/download > > > > in my httpd conf i have something like this > > JkMount /app/audio/download/* ajp13w > > You have JkMounted /app/audio/download but your URLs above suggest this > should be /audio/app/download/abc.html. That's strange. > > You have your webapp

Re: Filtering URL via tomcat

2009-04-27 Thread Ravi Sharma
at listens on port 8080 for example (you can see > that in the conf/server.xml, tags), try the following : > - turn off Apache httpd > - in the browser, enter the URL > http://www.mysiste.com:8080/app/audio/download/abc.html > (that goes to Tomcat directly, without going through Apac

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 (anyon

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 wrote: > 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 restart the > server > from

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 n

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 name

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 cre

Re: Multiple websites in tomcat

2008-07-23 Thread Ravi Sharma
(where xxx.xxx.xxx.xxx is the IP address you noted earlier) > - save the hosts file > - close and re-open your browser (important, to force it to re-read the > hosts file) > - try the following URL : > http://jaatmusic/servlets-examples > > Do you still get the "Not Fo

Re: Multiple websites in tomcat

2008-07-22 Thread Ravi Sharma
Mount lines should 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. >>

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 get

Re: Multiple websites in tomcat

2008-07-20 Thread Ravi Sharma
tWorker > JkMount /examples/* testWorker > and restart Apache > > 8) enter > http://www.jaatmusic.com/examples > (notice 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 exa

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: > [...

Re: Multiple websites in tomcat

2008-07-20 Thread Ravi Sharma
efined like this HelloWorldExample HelloWorldExample HelloWorldExample */servlet/HelloWorldExample* Please help. Thanks, Ravi. On Sat, Jul 19, 2008 at 8:25 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Ravi Sharma wrote: > [...] > > I'm not a

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] modul

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 configu

Re: Multiple websites in tomcat

2008-07-19 Thread Ravi Sharma
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-user&m=121286145508630&w=2 > > > Ravi Sharma wrote: > >>

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 tha