Re: Having tomcat as an OSGi bundle

2009-04-27 Thread Saminda Wijeratne
thanx Mark I will look at the dm server. I'm pressuming that the mail thread [1] is infact a dead end for the tomcat osgi bundle. Thank you, Saminda [1] http://marc.info/?l=tomcat-dev&m=120966097004938&w=2 On Mon, Apr 27, 2009 at 5:59 PM, Mark Thomas wrote: > Saminda Wijeratne wrote: > > I saw

RE: Scheduling tasks in Tomcat

2009-04-27 Thread Karthik Nanjangude
Hi I would suggest u to use the Listener tag instead of Load on startup org.quartz.ee.servlet.QuartzInitializerListener As per "Quartz Enterprise Job Scheduler API (1.6.2)" org.quartz.ee.servlet.QuartzInitializerServlet is deprecated with regards Karthik -Original Message-

RE: Scheduling tasks in Tomcat

2009-04-27 Thread Aden Jones
mgainty wrote: > > > javac .\org\quartz\ee\servlet\QuartzInitializerServlet.java > place .\org\quartz\ee\servlet\QuartzInitializerServlet.class to > WEB-INF/classes > > Okay so QuatzInitializerServlet.java is the class that I create for > scheduling the events. > > your web.xml will need to

Re: How do I host multiple websites with Apache2 and Tomcat Cluster ??

2009-04-27 Thread nohacks
Hi Chris, Thanks for your very detailed response!! I will try that out Tues Morning and get back to you with any questions. I do have one. Currently I have my app deployed as ROOT in Tomcat. How do I change this for multiple apps? I am new to Apache and Tomcat deployments... For example I

Re: Browser shows source of .jsp file. Why?

2009-04-27 Thread Andre-John Mas
On 27-Apr-2009, at 22:05, David Rush wrote: Andre-John: Actually it was the original poster who was using a hosting company. I'm using machines that I have full control of. My problem was resolved by calling setContentType("text/html") in the controller servlet before it used include()

Re: Browser shows source of .jsp file. Why?

2009-04-27 Thread David Rush
Andre-John: Actually it was the original poster who was using a hosting company. I'm using machines that I have full control of. My problem was resolved by calling setContentType("text/html") in the controller servlet before it used include() to send control to some .jsp files. David Andre-J

RE: Scheduling tasks in Tomcat

2009-04-27 Thread Martin Gainty
javac .\org\quartz\ee\servlet\QuartzInitializerServlet.java place .\org\quartz\ee\servlet\QuartzInitializerServlet.class to WEB-INF/classes your web.xml will need to associate the Servlet class with url-pattern as in this configuration: Servlet org.quartz.ee.servlet.QuartzInitializerSe

Re: Scheduling tasks in Tomcat

2009-04-27 Thread Aden Jones
I will probably use quartz to schedule the actual task and add it to my webapp as my teacher would prefer that the servlet contains everything. What I don't understand is how or if (after I create my class that contains the scheduling code) Tomcat actually runs the code. Do I need to add somethin

Re: Session Replication problems

2009-04-27 Thread Filip Hanik - Dev Lists
we'd need the entire stacktrace, not just a snippet for it to be helpful to us. Filip Mohamedin wrote: Dear All, I use these configuration to enable session replication: Master server:

RE: Why we need two servers (httpd and tomcat)

2009-04-27 Thread Robin Wilson
I'll agree with you - this provided a fair and thorough examination of the reasons some people run httpd and tomcat, and why others don't - which was my original intention... To stimulate that very discussion. BTW, I hope none of you got the idea that I supported _either_ approach, only describ

Re: Why we need two servers (httpd and tomcat)

2009-04-27 Thread André Warnier
Jeff Allison wrote: Don't you need to run apache etc in front of tomcat because unless you run tomcat as root it cannot listen on port 80??? No. Since you're talking about root, I will assume Unix/Linux. For that, you can run Tomcat under jsvc, which will open port 80 for you, and allow Tomc

Re: Why we need two servers (httpd and tomcat)

2009-04-27 Thread Jeff Allison
> Hello Group, > > Can someone explain to me the basic difference between httpd and tomacat > serer. What one can do so the other can not do. And why do we need these > two servers in the first place. > > I will appreciate this. > > -- > Thanks > > Nagrik > Don't you need to run apache etc in fro

Re: Why we need two servers (httpd and tomcat)

2009-04-27 Thread André Warnier
Robin Wilson wrote: For the record, my answer was neither stupid or reflexive. And for the record, I personally did not think it was either. I agree with Leon when he says that some people just automatically put an Apache in front of a Tomcat when they don't really need to, just by habit or

Re: OT: GoDaddy Hosting and Tomcat

2009-04-27 Thread Jonathan Mast
Well, you get what you pay for. My GoDaddy account costs $6.99 per month and I quickly found it inadequate for hosting serious Tomcat applications, just for the reasons you listed: very unintuitive control panels, 1-day lag in servlet (non)-deployment. I'm canceling the hosting portion of my GoDa

Re: Tomcat and Apache HTTPD modules?

2009-04-27 Thread Hassan Schroeder
On Mon, Apr 27, 2009 at 3:41 PM, Andre-John Mas wrote: > If Apache HTTPD is dropped for a pure Tomcat solution, which standard > modules have Tomcat equivalent solutions? For example: >  - Mod Rewrite http://tuckey.org/urlrewrite/ -- it's Close To A Standard :-) >  - HTTPS >  - Virtual Hosts

Re: Why we need two servers (httpd and tomcat)

2009-04-27 Thread Andre-John Mas
On 27-Apr-2009, at 13:59, Leon Rosenberg wrote: In addition to more granular security (as described above), having isolated the web layer from the application layer allows you to independently adjust the performance >of each. If you are finding that your system serves a lot more static c

Tomcat and Apache HTTPD modules?

2009-04-27 Thread Andre-John Mas
Hi, If Apache HTTPD is dropped for a pure Tomcat solution, which standard modules have Tomcat equivalent solutions? For example: - Mod Rewrite - HTTPS - Virtual Hosts It may be interesting to get some of this into the official Tomcat documentation. André-John ---

Re: Why we need two servers (httpd and tomcat)

2009-04-27 Thread Leon Rosenberg
On Mon, Apr 27, 2009 at 11:53 PM, Robin Wilson wrote: > For the record, my answer was neither stupid or reflexive. I simply pointed > out why someone might want 2 layers of servers (httpd and tomcat). And > certainly, my rationale is both sound and arguable at the same time. I never ment to ins

Re: Browser shows source of .jsp file. Why?

2009-04-27 Thread Andre-John Mas
On 27-Apr-2009, at 18:15, Andre-John Mas wrote: On 27-Apr-2009, at 09:04, Pid wrote: David Rush wrote: I checked my web.xml, and found no mime-mapping elements at all. I tried adding one explicitly mapping the jsp extension to text/ html, but it had no effect. I'm still getting HTML mar

Re: Why we need two servers (httpd and tomcat)

2009-04-27 Thread Jess Holle
Jess Holle wrote: Robin Wilson wrote: For the record, my answer was neither stupid or reflexive. I simply pointed out why someone might want 2 layers of servers (httpd and tomcat). And certainly, my rationale is both sound and arguable at the same time. As for your assertion that 2 layers of

Re: Why we need two servers (httpd and tomcat)

2009-04-27 Thread Jess Holle
Robin Wilson wrote: For the record, my answer was neither stupid or reflexive. I simply pointed out why someone might want 2 layers of servers (httpd and tomcat). And certainly, my rationale is both sound and arguable at the same time. As for your assertion that 2 layers of security is just co

Re: Browser shows source of .jsp file. Why?

2009-04-27 Thread Andre-John Mas
On 27-Apr-2009, at 09:04, Pid wrote: David Rush wrote: I checked my web.xml, and found no mime-mapping elements at all. I tried adding one explicitly mapping the jsp extension to text/html, but it had no effect. I'm still getting HTML markup in the browser window with Firefox. David

RE: Why we need two servers (httpd and tomcat)

2009-04-27 Thread Robin Wilson
For the record, my answer was neither stupid or reflexive. I simply pointed out why someone might want 2 layers of servers (httpd and tomcat). And certainly, my rationale is both sound and arguable at the same time. As for your assertion that 2 layers of security is just complexity and not more

Re: adding files to classpath

2009-04-27 Thread Leon Rosenberg
On Mon, Apr 27, 2009 at 11:06 PM, Caldarale, Charles R wrote: >> From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] >> Subject: Re: adding files to classpath >> >> Why should I restart tomcat to change the config in this case? > > If you're using ClassLoader.getResourceAsStream() each tim

Re: Why we need two servers (httpd and tomcat)

2009-04-27 Thread Joseph Millet
What's then common use where the two are required ? On Mon, Apr 27, 2009 at 11:21 PM, Pid wrote: > Leon Rosenberg wrote: > > On Mon, Apr 27, 2009 at 9:21 PM, André Warnier wrote: > >> Leon Rosenberg wrote: > >>> I'm sorry, I can't shut up my mouth on this, but you are telling myths > :-) > >>>

Re: Why we need two servers (httpd and tomcat)

2009-04-27 Thread Pid
Leon Rosenberg wrote: > On Mon, Apr 27, 2009 at 9:21 PM, André Warnier wrote: >> Leon Rosenberg wrote: >>> I'm sorry, I can't shut up my mouth on this, but you are telling myths :-) >>> >> And anyway, you just all forget this Java nonsense, and use Perl, as Real >> Programmers do. >> >> That's jus

RE: Send tomcat logs to syslog-ng

2009-04-27 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Send tomcat logs to syslog-ng > > The OP is under Windows, so probably running Tomcat under the > commons-daemon stuff (tomcatxx.exe). Does that also work as such in > that case ? Yes, it makes no difference if it's running as a servic

RE: adding files to classpath

2009-04-27 Thread Caldarale, Charles R
> From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] > Subject: Re: adding files to classpath > > Why should I restart tomcat to change the config in this case? If you're using ClassLoader.getResourceAsStream() each time you check the config, it should be o.k. without a restart. Howeve

RE: Browser shows source of .jsp file. Why?

2009-04-27 Thread Caldarale, Charles R
> From: David Rush [mailto:da...@rushtone.com] > Subject: Re: Browser shows source of .jsp file. Why? > > It also appears that Tomcat (rather than Apache httpd) is initially > responding to my http://myserver/Construction URL with a 302 (Moved > Temporarily) and a suggestion that the browser try >

Using encoded slashes safely

2009-04-27 Thread Bill Higgins
We have a servlet that acts as a proxy to other URLs from different origins. E.g. via your web app you could get to the Google home page via a URL like: http://localhost/myapp/proxy/http%3A%2F%2Fwww.google.com%2F Using this URL pattern, we immediately hit the Tomcat "noSlash" restriction (Directo

Re: Why we need two servers (httpd and tomcat)

2009-04-27 Thread Leon Rosenberg
On Mon, Apr 27, 2009 at 9:21 PM, André Warnier wrote: > Leon Rosenberg wrote: >> >> I'm sorry, I can't shut up my mouth on this, but you are telling myths :-) >> > And anyway, you just all forget this Java nonsense, and use Perl, as Real > Programmers do. > > That's just kidding of course, but let

Re: Why we need two servers (httpd and tomcat)

2009-04-27 Thread André Warnier
Leon Rosenberg wrote: I'm sorry, I can't shut up my mouth on this, but you are telling myths :-) And anyway, you just all forget this Java nonsense, and use Perl, as Real Programmers do. That's just kidding of course, but let's keep a sense of perspective. If you just want to run jsp pages a

Re: Filtering URL via tomcat

2009-04-27 Thread Ravi Sharma
adding to previoius mail. http://www.mysite.com/audio/abc.html is a html being served by httpd correctly then when i try to access http://www.mysite.com/app/audio/download/abc.htmli get following error on browser *Type* Status report *message* */app/audio/download/abc.html **description* *The req

Re: Why we need two servers (httpd and tomcat)

2009-04-27 Thread Leon Rosenberg
I'm sorry, I can't shut up my mouth on this, but you are telling myths :-) On Mon, Apr 27, 2009 at 6:46 PM, Robin Wilson wrote: > I can't answer for others - but one of the big values in a 'production' > environment is to separate concerns. The apache servers can sit in a > different DMZ area,

Re: Filtering URL via tomcat

2009-04-27 Thread André Warnier
Ravi, First : > so basically if i try to access any thing with > http://www.mysite.com/app/audio, it should be served from audio dir in > webapps which in turn audio dir from appache httpd. > > But its not working. :( > "its not working" is not something that allows anyone to help you. HOW is i

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: Why we need two servers (httpd and tomcat)

2009-04-27 Thread Robin Wilson
I can't answer for others - but one of the big values in a 'production' environment is to separate concerns. The apache servers can sit in a different DMZ area, and have only static (and unprotected) content on them. The tomcat servers have another firewall between them and the apache servers -

Re: Why we need two servers (httpd and tomcat)

2009-04-27 Thread Elmar Haneke
> And why do we need these two servers in the first place. Running tomcat in stand-alone-mode might be sufficient for an website not depending on modules available in httpd only (as PHP, mod_rewrite or server-side-includes). Elmar -

Re: what is mod_jk parameter "connection_pool_timeout" in mod_proxy / mod_proxy_ajp / apache httpd?

2009-04-27 Thread Rainer Jung
On 27.04.2009 17:39, Arne Riecken wrote: > Thanks, I did that bevore posting but did not understand id clearly. There > is written: > > "Any connections above smax are subject to a time to live or ttl. Apache > will never create more than the Hard Maximum or max connections to the > backend server

Re: web interface for tomcat service

2009-04-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Venky, On 4/27/2009 10:12 AM, Venky Vasant wrote: > Its windows.. the reasons are one of our deployment server is also > some kind of network server where i cant login and depend on some one > else to do this for me everytime i have restart. You will

Re: customize HTTP Status 401 error page

2009-04-27 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 4/24/2009 11:35 AM, Caldarale, Charles R wrote: I'm not sure what you're trying to accomplish by defining an error page for a 401 status; my understanding is that a 401 just triggers the login dialog for the bro

Re: what is mod_jk parameter "connection_pool_timeout" in mod_proxy / mod_proxy_ajp / apache httpd?

2009-04-27 Thread Arne Riecken
Thanks, I did that bevore posting but did not understand id clearly. There is written: "Any connections above smax are subject to a time to live or ttl. Apache will never create more than the Hard Maximum or max connections to the backend server." "smax [...] Upto the Soft Maximum number of conne

RE: Why we need two servers (httpd and tomcat)

2009-04-27 Thread Peter Crowther
> From: Vinay Nagrik [mailto:vnag...@gmail.com] > Can someone explain to me the basic difference between httpd > and tomacat serer. What one can do so the other can not do. Apache httpd can serve static content over HTTP. It can have modules plugged in (CGI, perl, PHP) to serve various kinds of

Re: Why we need two servers (httpd and tomcat)

2009-04-27 Thread David kerber
Vinay Nagrik wrote: Hello Group, Can someone explain to me the basic difference between httpd and tomacat serer. What one can do so the other can not do. And why do we need these two servers in the first place. I will appreciate this. While there is some overlap in their functionality, th

Re: Scheduling tasks in Tomcat

2009-04-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aden, On 4/27/2009 4:18 AM, Aden Jones wrote: > Ive got everything else working but have two tasks > that need to be run at a certain time of the week. Dan suggests using Java's Timer class. Lots of folks also use Quartz (http://www.opensymphony.com/

Re: Why we need two servers (httpd and tomcat)

2009-04-27 Thread Mihamina Rakotomandimby (R12y)
George Sexton wrote: You really don't need to have Apache httpd running. Vinay didn't talk about Apache as HTTP ;-) It could have been LightHTTPd or something else :-P I think Vinay should know that Tomcat embeds an HTTP server. -- Chef de projet chez Vectoris

Re: Why we need two servers (httpd and tomcat)

2009-04-27 Thread George Sexton
You really don't need to have Apache httpd running. OTOH, if you want things like PHP, Perl CGI, etc, then you need httpd. For our application, we run Tomcat on port 80 and do not use Apache/mod_jk. Vinay Nagrik wrote: Hello Group, Can someone explain to me the basic difference between httpd

Re: Dynamic Aliases and db connections?

2009-04-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ray, On 4/26/2009 10:00 PM, Raymond Kleijngeld wrote: > I'm writing an application to support multiple clients using the same > tomcat application. For security purposes I want each client to have > there own database schema and subsequently their own

Re: How do I host multiple websites with Apache2 and Tomcat Cluster ??

2009-04-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Phil, On 4/26/2009 2:47 AM, nohacks wrote: > How you host multiple websites with Apache2 and Tomcat Cluster ?? When you say "multiple websites" do you mean "multiple webapps"? Serving multiple web applications should not be a problem at all: >

Why we need two servers (httpd and tomcat)

2009-04-27 Thread Vinay Nagrik
Hello Group, Can someone explain to me the basic difference between httpd and tomacat serer. What one can do so the other can not do. And why do we need these two servers in the first place. I will appreciate this. -- Thanks Nagrik

OT: GoDaddy Hosting and Tomcat

2009-04-27 Thread George Sexton
I thought I'd write up my experiences trying to get a servlet application running on GoDaddy. Perhaps it will save someone else some pain. I have a Java Servlet calendar application. It's a stable app and I've got at least a thousand of running copies. I was attempting to install it on GoDaddy's

Re: #include'ing property files into conf/catalina.properties

2009-04-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Uma, On 4/26/2009 11:46 AM, uma...@comcast.net wrote: > I am looking for a mechanism that would do the inclusion > at runtime (as in when Tomcat starts up). Hence I am unable > to use gcc. I assumed that the Java property files intrinsically > support

Re: customize HTTP Status 401 error page

2009-04-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 4/24/2009 11:35 AM, Caldarale, Charles R wrote: > I'm not sure what you're trying to accomplish by defining an error > page for a 401 status; my understanding is that a 401 just triggers > the login dialog for the browser - there's no HTML o

Re: Browser shows source of .jsp file. Why?

2009-04-27 Thread David Rush
Martin: I'm aware that Apache httpd will do that for its pages. But in my case it appears the reverse proxy forwarding is happening before httpd would try to add the index.html, indicated by Tomcat access log showing a request to /Construction/ without the index.html. It also appears that Tom

Re: customize HTTP Status 401 error page

2009-04-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jill, On 4/24/2009 10:55 AM, Jill Han wrote: > At this point, I just explored the options between basic and form-based > authentication. > No real webapp is build yet. The displayed name is just directory name, app1, > under webapps. I think it wou

Re: tomcat shutdown problem

2009-04-27 Thread Pid
S Arvind wrote: > Pid very thanks for guiding me .. one more help alone... can u please tell > me how to check which thread it is runnin by quartz other then checking code > ... i am centos, jvm 5, tomcat 5 and tomcat 6.. i think i am disturbin u > lot, but ... As Dan said, "kill -QUIT ", and

Re: web interface for tomcat service

2009-04-27 Thread Venky Vasant
Its windows.. the reasons are one of our deployment server is also some kind of network server where i cant login and depend on some one else to do this for me everytime i have restart.    Regards Venkat From: André Warnier To: Tomcat Users List Sent: Monday,

Re: Browser shows source of .jsp file. Why?

2009-04-27 Thread David Rush
The URL http://myserver/Construction/ (with trailing slash) yields the same results as http://myserver/Construction (without trailing slash). I think I may have solved the problem. I didn't write this webapp, but have inherited it so I'm still learning it's inner workings. The controller servl

Re: web interface for tomcat service

2009-04-27 Thread André Warnier
Venky Vasant wrote: Is there a way i can start/stop tomcat service through a web interface which is right now setup as a service .. Maybe. Now if you were as kind as indicating which Tomcat you are talking about, under which kind of platform, you may get better answers. Maybe also a word or

Re: web interface for tomcat service

2009-04-27 Thread Venky Vasant
Actually not . i generally start/stop on windows services utility but wanted know if it can be done on web interface like tomcat manager . Regards Venkat From: Martin Gainty To: Tomcat Users List Sent: Monday, April 27, 2009 7:14:57 PM Subject: RE: web inter

Re: Scheduling tasks in Tomcat

2009-04-27 Thread Dan Armbrust
The simplest way to do this is to learn the Timer API: http://java.sun.com/j2se/1.4.2/docs/api/java/util/Timer.html Then put your timer code into a new servlet that you add to your webapp. Or add your code to an existing servlet in your webapp. There are plenty of other open source scheduling A

RE: Browser shows source of .jsp file. Why?

2009-04-27 Thread Martin Gainty
David Apache will automaticly append index.html to requested folder via http://httpd.apache.org/docs/1.3/mod/mod_dir.html#directoryindex Does this help? Martin __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et

Re: tomcat shutdown problem

2009-04-27 Thread S Arvind
Pid very thanks for guiding me .. one more help alone... can u please tell me how to check which thread it is runnin by quartz other then checking code ... i am centos, jvm 5, tomcat 5 and tomcat 6.. i think i am disturbin u lot, but ... -Arvind S * "Many of lifes failure are people who did n

Re: tomcat shutdown problem

2009-04-27 Thread Dan Armbrust
> Did you write your application? >>> there are team of 200 Engineers wrote that application so i dont know > where the problem is One (or more) of them made a mistake, and has left a non-daemon thread running. You need to find out what thread is running. One way to do this is to get a thread du

Re: web interface for tomcat service

2009-04-27 Thread S Arvind
Martin , Venkat is not aking about IDE , he is asking such as webmin or tomcat manager kind... so that he can restart the remote tomcat service.. -Arvind S * "Many of lifes failure are people who did not realize how close they were to success when they gave up." -Thomas Edison* On Mon, Apr 27,

Re: tomcat shutdown problem

2009-04-27 Thread Pid
S Arvind wrote: > Is the application completely unchanged for deployment on Tomcat 6? >>> yes it is completely *unchanged*... is anything must be changed for > quartz? okay, then your best bet is to explore what the JVM is doing after shutdown and check which threads are still running. p > --A

Re: Browser shows source of .jsp file. Why?

2009-04-27 Thread Pid
David Rush wrote: > Pid: > > Yes, I've removed the explicit mapping. > > "Sometimes" because when I use the URL http://myserver:8080/Construction > (direct to Tomcat listening port) it works fine (HTML is rendered). > When I use http://myserver/Construction (via reverse proxy forwarding through

RE: web interface for tomcat service

2009-04-27 Thread Martin Gainty
I'm assuming you want to start TC from within your IDE? Eclipse IDE http://www.ibm.com/developerworks/library/os-ectom/ and Netbeans http://www.theserverside.com/discussions/thread.tss?thread_id=19934 Either option allows you to start TC within IDE is this what your'e looking for? Martin __

Re: tomcat shutdown problem

2009-04-27 Thread S Arvind
Is the application completely unchanged for deployment on Tomcat 6? >> yes it is completely *unchanged*... is anything must be changed for quartz? --Arvind S * "Many of lifes failure are people who did not realize how close they were to success when they gave up." -Thomas Edison * On Sat, Apr 25

Re: Browser shows source of .jsp file. Why?

2009-04-27 Thread David Rush
Pid: Yes, I've removed the explicit mapping. "Sometimes" because when I use the URL http://myserver:8080/Construction (direct to Tomcat listening port) it works fine (HTML is rendered). When I use http://myserver/Construction (via reverse proxy forwarding through Apache httpd) it fails (I get H

web interface for tomcat service

2009-04-27 Thread Venky Vasant
Is there a way i can start/stop tomcat service  through a web interface which is right now setup as a service .. Thanks Venkat

Re: Browser shows source of .jsp file. Why?

2009-04-27 Thread Pid
David Rush wrote: > I checked my web.xml, and found no mime-mapping elements at all. I tried > adding one explicitly mapping the jsp extension to text/html, but it had no > effect. I'm still getting HTML markup in the browser window with Firefox. > > David Ignore that, it's a red herring, you

Re: Browser shows source of .jsp file. Why?

2009-04-27 Thread David Rush
I checked my web.xml, and found no mime-mapping elements at all. I tried adding one explicitly mapping the jsp extension to text/html, but it had no effect. I'm still getting HTML markup in the browser window with Firefox. David Martin Gainty wrote: > David > > did you check your mime-mappin

RE: AW: Permanent Redirect?

2009-04-27 Thread Martin Gainty
Alex- you can use tuckey to rewrite the URL to redirect to your SSL enabled site http://tuckey.org/urlrewrite any ContextPath of / will direct to ROOT.war for that Tomcat http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html Viel Gluck/Good Luck Martin

Re: Having tomcat as an OSGi bundle

2009-04-27 Thread Mark Thomas
Saminda Wijeratne wrote: > I saw a mail thread talking abt osgifying tomcat. but couldn't really > determine at the end whether it worked out or not. Nothing happened in the Tomcat project. Try Googling for "dm Server" (full disclosure: I work for Spring) Mark > > On Mon, Apr 27, 2009 at 5:25

Re: Having tomcat as an OSGi bundle

2009-04-27 Thread Saminda Wijeratne
I saw a mail thread talking abt osgifying tomcat. but couldn't really determine at the end whether it worked out or not. On Mon, Apr 27, 2009 at 5:25 PM, Pid wrote: > Saminda Wijeratne wrote: > > Hi, > > > > Is there an OSGI bundle available embedding tomcat? I want to start > tomcat > > inside

AW: Permanent Redirect?

2009-04-27 Thread Alexander Diedler
I think the ways seems to be right. It has to be a safe procedure, that a http://www.websiteA.de/index.cfm?uuid=230942iwpofiswfksdsdf has to be redirected with the same URL Parameters to the http://www.websiteB.de/index.cfm?uuid=230942iwpofiswfksdsdf in Tomcat. We have to implement a new SSL Certi

Re: Having tomcat as an OSGi bundle

2009-04-27 Thread Pid
Saminda Wijeratne wrote: > Hi, > > Is there an OSGI bundle available embedding tomcat? I want to start tomcat > inside an OSGI environment. Not that I've heard of. p > Thank you, > Saminda > - To unsubscribe, e-mail: users-

Having tomcat as an OSGi bundle

2009-04-27 Thread Saminda Wijeratne
Hi, Is there an OSGI bundle available embedding tomcat? I want to start tomcat inside an OSGI environment. Thank you, Saminda

Session Replication problems

2009-04-27 Thread Mohamedin
Dear All, I use these configuration to enable session replication: Master server:

Re: adding files to classpath

2009-04-27 Thread Leon Rosenberg
On Mon, Apr 27, 2009 at 11:19 AM, Leon Rosenberg wrote: > On Mon, Apr 27, 2009 at 10:59 AM, Caldarale, Charles R >> >> This is one of those rare instances where you actually could extend the >> Tomcat classpath with a reference to your config directory, as long as you >> don't mind sharing >thos

Re: Send tomcat logs to syslog-ng

2009-04-27 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Send tomcat logs to syslog-ng You may want to have a look here : http://blog.the-mitchells.org/archives/2004/09/21/tomcat-on-windows- and-swallowoutput/ That's a bit out of date for current versions of Tomcat

Re: adding files to classpath

2009-04-27 Thread Leon Rosenberg
On Mon, Apr 27, 2009 at 10:59 AM, Caldarale, Charles R wrote: >> From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] >> Subject: adding files to classpath >> >> Is there any other possibility to add something to the classpath >> without screwing up my tomcat installation completely? Someth

RE: Permanent Redirect?

2009-04-27 Thread Caldarale, Charles R
> From: Pid [mailto:p...@pidster.com] > Subject: Re: Permanent Redirect? > > A small webapp deployed in websiteA.de/ROOT that contains a servlet > Filter which is coded to issue an appropriate redirect to the new URL. Since this is over SSL, will there be certificate problems in trying to do the

Re: Permanent Redirect?

2009-04-27 Thread Pid
Alexander Diedler wrote: > Hello everybody, > > I have a question to implement a permanent redirect for an old domain to > a new domain on the Tomcat 6.0.16 Server. > > It is definied in the server.xml as it own connector (for SSL) and now > we want, that if we fill-in www.websiteA.de

Re: Scheduling tasks in Tomcat

2009-04-27 Thread Pid
Aden Jones wrote: > Okay Iam new to Tomcat so please go easy on me. > > Basically I've been given an assignment that employs JSF, Hibernate and > Tomcat as the servlet. Tomcat is the "Servlet Container". You write or add Servlets to it. > Ive got everything else working but have two tasks > tha

RE: Send tomcat logs to syslog-ng

2009-04-27 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Send tomcat logs to syslog-ng > > You may want to have a look here : > http://blog.the-mitchells.org/archives/2004/09/21/tomcat-on-windows- > and-swallowoutput/ That's a bit out of date for current versions of Tomcat (but the OP didn't

Permanent Redirect?

2009-04-27 Thread Alexander Diedler
Hello everybody, I have a question to implement a permanent redirect for an old domain to a new domain on the Tomcat 6.0.16 Server. It is definied in the server.xml as it own connector (for SSL) and now we want, that if we fill-in www.websiteA.de we will be redirected to www.websiteB.de automatic

Re: Installing problem : Tomcat

2009-04-27 Thread Pid
André Warnier wrote: > parin123 wrote: >> Hello Everyone, >> >> I am trying to install Tomcat on Ubuntu Linux and here is the problem > ... > Hi. > > I am taking advantage of the fact that Chuck is on holiday, and maybe > not watching this forum with his accustomed eagle eye. > > Considering

RE: adding files to classpath

2009-04-27 Thread Caldarale, Charles R
> From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] > Subject: adding files to classpath > > Is there any other possibility to add something to the classpath > without screwing up my tomcat installation completely? Something > similar to common/endorsed prior to 6.x? This is one of thos

Re: Send tomcat logs to syslog-ng

2009-04-27 Thread André Warnier
Julien Vermet wrote: Hello I'm running an apache/tomcat server under Windows Server 2003. I would like to send tomcat logs to syslog-ng server under Debian. I tried with log4j, but I receive only application log, no tomcat logs. Do you have a solution? You may want to have a look here : http:/

Scheduling tasks in Tomcat

2009-04-27 Thread Aden Jones
Okay Iam new to Tomcat so please go easy on me. Basically I've been given an assignment that employs JSF, Hibernate and Tomcat as the servlet. Ive got everything else working but have two tasks that need to be run at a certain time of the week. Searching online I've had a lot of trouble finding a

Send tomcat logs to syslog-ng

2009-04-27 Thread Julien Vermet
Hello I'm running an apache/tomcat server under Windows Server 2003. I would like to send tomcat logs to syslog-ng server under Debian. I tried with log4j, but I receive only application log, no tomcat logs. Do you have a solution? Thnaks

adding files to classpath

2009-04-27 Thread Leon Rosenberg
Hello, we are at the moment migrating to new configuration framework (http://configureme.dev.java.net) which is working with plain json files reading them from classpath. We don't want the configuration files to be part of application anymore. Instead we want them to be located under $HOME/etc/con