Re: Redirecting to default webapp when domain name is entered

2014-11-25 Thread David kerber
On 11/25/2014 8:52 AM, Kernel freak wrote: Hello, I have already bought the domain name and the domain-id. Its a dedicated hosting, and the plan says its allowed to use Apache tomcat. Can you please tell me what to do to disable the service on port80? If you don't know, we certainly don't, and

Re: Redirecting to default webapp when domain name is entered

2014-11-25 Thread Kernel freak
Hello, I have already bought the domain name and the domain-id. Its a dedicated hosting, and the plan says its allowed to use Apache tomcat. Can you please tell me what to do to disable the service on port80? On Tue, Nov 25, 2014 at 2:43 PM, David kerber wrote: > On 11/25/2014 8:39 AM, Kernel f

Re: Redirecting to default webapp when domain name is entered

2014-11-25 Thread David kerber
On 11/25/2014 8:39 AM, Kernel freak wrote: Hello Andre, Thank you. I did the changes what you told, but I guess there is some service running at port 80. Because now when I click domainname.com:80, it shows me the message by the hosting company as the "Domain name is already booked" and all. How

Re: Redirecting to default webapp when domain name is entered

2014-11-25 Thread Kernel freak
Hello Andre, Thank you. I did the changes what you told, but I guess there is some service running at port 80. Because now when I click domainname.com:80, it shows me the message by the hosting company as the "Domain name is already booked" and all. How can I remove that service which is listening

Re: Redirecting to default webapp when domain name is entered

2014-11-25 Thread André Warnier
Kernel freak wrote: Hello friends, I already have a project ready for deployment. It is in the form of war file. Currently I have renamed the war file to ROOT.war and pasted it inside webapps. I am able to access the webapp by giving domainname.com:8080. Instead of that I would just like to us

Redirecting to default webapp when domain name is entered

2014-11-25 Thread Kernel freak
Hello friends, I already have a project ready for deployment. It is in the form of war file. Currently I have renamed the war file to ROOT.war and pasted it inside webapps. I am able to access the webapp by giving domainname.com:8080. Instead of that I would just like to use domainname.com and i

Re: access non-default webapp

2014-08-11 Thread Patcharee Thongtra
Hi, Actually it is my fault. The second app could not start up because of some lib missing. Now it is up and I can access. Thanks. Patcharee On 08/11/2014 02:21 PM, Ognjen Blagojevic wrote: Patcharee, On 11.8.2014 14:00, Patcharee Thongtra wrote: I have two applications running in Tomcat 6

Re: access non-default webapp

2014-08-11 Thread Patcharee Thongtra
Hi, I use version 6.0.0.37. The second app was already deployed. Patcharee On 08/11/2014 02:17 PM, Daniel Mikusa wrote: On Mon, Aug 11, 2014 at 8:00 AM, Patcharee Thongtra < patcharee.thong...@uni.no> wrote: Hi, I have two applications running in Tomcat 6. What version specifically? I

Re: access non-default webapp

2014-08-11 Thread Ognjen Blagojevic
Patcharee, On 11.8.2014 14:00, Patcharee Thongtra wrote: I have two applications running in Tomcat 6. I made the first app as a default web app by placing it as ROOT.war in webapps/. How can I access the second app? Whenever I browse http://localhost:8080/the_second_app/ Tomcat thinks I will acc

Re: access non-default webapp

2014-08-11 Thread Daniel Mikusa
On Mon, Aug 11, 2014 at 8:00 AM, Patcharee Thongtra < patcharee.thong...@uni.no> wrote: > Hi, > > I have two applications running in Tomcat 6. What version specifically? > I made the first app as a default web app by placing it as ROOT.war in > webapps/. How can I access the second app? Whenev

access non-default webapp

2014-08-11 Thread Patcharee Thongtra
Hi, I have two applications running in Tomcat 6. I made the first app as a default web app by placing it as ROOT.war in webapps/. How can I access the second app? Whenever I browse http://localhost:8080/the_second_app/ Tomcat thinks I will access "/the_second_app" part in the first app. Patc

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread Pid
On 26/08/2010 14:52, André Warnier wrote: > Pid wrote: >> On 26/08/2010 13:40, André Warnier wrote: >>> arnaud icard wrote: >>> ... Yes this is where I made a mistake. The parameters "name" and "defaultHost" must be the FULL name (i.e. hostname.domain) >>> No. I mean no, it is n

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread André Warnier
Pid wrote: On 26/08/2010 13:40, André Warnier wrote: arnaud icard wrote: ... Yes this is where I made a mistake. The parameters "name" and "defaultHost" must be the FULL name (i.e. hostname.domain) No. I mean no, it is not exactly that. For the defaultHost, it does not matter very much, beca

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread Pid
On 26/08/2010 13:40, André Warnier wrote: > arnaud icard wrote: > ... >> >> Yes this is where I made a mistake. >> The parameters "name" and "defaultHost" must be the FULL name (i.e. >> hostname.domain) >> > No. I mean no, it is not exactly that. > > For the defaultHost, it does not matter very mu

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread arnaud icard
I think I understand what you're explaining. I keep that in mind if I encounter in the future some strange behaviours from the non-default applications. Thanks, arnaud. André Warnier a écrit le 26/08/2010 14:40: arnaud icard wrote: ... Yes this is where I made a mistake. The parameters "na

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread André Warnier
arnaud icard wrote: ... Yes this is where I made a mistake. The parameters "name" and "defaultHost" must be the FULL name (i.e. hostname.domain) No. I mean no, it is not exactly that. For the defaultHost, it does not matter very much, because it is the default and anything that does not ma

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread arnaud icard
André Warnier a écrit le 26/08/2010 14:14: arnaud icard wrote: httpd is stopped. Here is what I have done in the /opt/tomcat/conf/server.xml : / ... / When connecting to appli1.test.fr, I am redirected to the default ROOT content (which means to the tomcat00c host).

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread André Warnier
arnaud icard wrote: httpd is stopped. Here is what I have done in the /opt/tomcat/conf/server.xml : / ... / When connecting to appli1.test.fr, I am redirected to the default ROOT content (which means to the tomcat00c host). I am a little l

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread arnaud icard
8/2010 09:21: Ok I will remove apache httpd and use Tomcat's virtual hosts system. thank you all for your response. Caldarale, Charles R a écrit le 25/08/2010 18:31: From: Wesley Acheson [mailto:wesley.ache...@gmail.com] Subject: Re: How to configure different default webapp i

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread Pid
ot; resolveHosts="false"/> > > / > > When connecting to appli1.test.fr, I am redirected to the default ROOT > content (which means to the tomcat00c host). > > I am a little lost now in this tomcat jungle. No black smoke so far > hopefully :) >

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread arnaud icard
l.com] Subject: Re: How to configure different default webapp in function of requested hostname on one tomcat server You can configure the host element as per http://tomcat.apache.org/tomcat-6.0-doc/config/host.html Also look at: http://wiki.apache.org/tomcat/TomcatDevelopmentVirtualHosts (Don

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread Felix Schumacher
Hello, even if you decided to remove httpd and go directly with virtual hosts in tomcat, there are two things in your httpd config, which could be advanced (see inline below). On Wed, 25 Aug 2010 18:13:28 +0200, arnaud icard wrote: > Hello, > > I guess my subject isn't clear at all so here is

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread arnaud icard
Ok I will remove apache httpd and use Tomcat's virtual hosts system. thank you all for your response. Caldarale, Charles R a écrit le 25/08/2010 18:31: From: Wesley Acheson [mailto:wesley.ache...@gmail.com] Subject: Re: How to configure different default webapp in function of requ

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-25 Thread Hassan Schroeder
On Wed, Aug 25, 2010 at 9:13 AM, arnaud icard wrote: > The purpose of this server is to host multiple webapps (this one for > instance : http://www.jasig.org/cas) > For each of these webapps, we will contact the server with different urls : > > cas.domain.fr for the CAS webapp > ent.domain.fr for

RE: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-25 Thread Caldarale, Charles R
> From: Wesley Acheson [mailto:wesley.ache...@gmail.com] > Subject: Re: How to configure different default webapp in function of > requested hostname on one tomcat server > You can configure the host element as per > http://tomcat.apache.org/tomcat-6.0-doc/config/host.html Als

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-25 Thread Wesley Acheson
Hi, You can configure the host element as per http://tomcat.apache.org/tomcat-6.0-doc/config/host.html On Wed, Aug 25, 2010 at 6:13 PM, arnaud icard wrote: > Hello, > > I guess my subject isn't clear at all so here is my problem : > > I have 1 server with Apache2/Tomcat6 installed. > The purpos

How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-25 Thread arnaud icard
Hello, I guess my subject isn't clear at all so here is my problem : I have 1 server with Apache2/Tomcat6 installed. The purpose of this server is to host multiple webapps (this one for instance : http://www.jasig.org/cas) For each of these webapps, we will contact the server with different ur

Re: Changing the Default webapp

2009-08-14 Thread André Warnier
Nick Fielding wrote: (Note by the way that there is a FAQ for that in the Tomcat Wiki, and numerous previous threads on the issue). 1) stop Tomcat 2) make a copy of webapps/ROOT, just in case you want later to revert 3) delete ROOT, and whatever is below it 4) rename webapps/uPortal to webapps

RE: Changing the Default webapp

2009-08-14 Thread Nick Fielding
ugust 2009 11:14 To: Tomcat Users List Subject: Re: Changing the Default webapp Nick Fielding wrote: > I've been trying to figure out how to change the default webapp in > Tomcat 6.0.18 from 'ROOT' to 'uPortal'. > > - The uPortal.war could be renamed to ROOT.

Re: Changing the Default webapp

2009-08-14 Thread Mark Thomas
Nick Fielding wrote: > I've been trying to figure out how to change the default webapp in > Tomcat 6.0.18 from 'ROOT' to 'uPortal'. > > - The uPortal.war could be renamed to ROOT.war, however, I would > rather much prefer to keep uPortal in the 

Changing the Default webapp

2009-08-14 Thread Nick Fielding
Dear Tomcat experts, I've been trying to figure out how to change the default webapp in Tomcat 6.0.18 from 'ROOT' to 'uPortal'. I want it such that, when a user enters http://www.myportal.ac.uk/ into their browser they get uPortal rather than the default out-of-th

RE: setup default webapp in tomcat 6 and apache

2009-01-16 Thread Caldarale, Charles R
> From: johnrock [mailto:johnpi...@yahoo.com] > Subject: RE: setup default webapp in tomcat 6 and apache > > What is the best way to configure/deploy an app so that it > will be accessed from the url: > http://localhost/index.jsp There's nothing wrong with the way you

Re: setup default webapp in tomcat 6 and apache

2009-01-16 Thread Pid
johnrock wrote: > > Caldarale, Charles R wrote: >>> Isn't this a very standard thing to do? >> No; one normally deploys webapps under the appBase. >> - Chuck >> > > Ok, I would like to follow the normal, best practices way. If you will > indulge me one more try: > > What is the best way to con

RE: setup default webapp in tomcat 6 and apache

2009-01-16 Thread johnrock
configure/deploy an app so that it will be accessed from the url: http://localhost/index.jsp -- View this message in context: http://www.nabble.com/setup-default-webapp-in-tomcat-6-and-apache-tp21488197p21505190.html Sent from the Tomcat - User mailing

Re: setup default webapp in tomcat 6 and apache

2009-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, johnrock wrote: > # send all requests ending in .jsp to worker1 > JkMount /*.jsp worker1 > # send all requests ending /servlet to worker1 > JkMount /*/servlet/ worker1 [snip] > What I am trying to do is very simpl

RE: setup default webapp in tomcat 6 and apache

2009-01-16 Thread Caldarale, Charles R
> From: johnrock [mailto:johnpi...@yahoo.com] > Subject: RE: setup default webapp in tomcat 6 and apache > Is that the typical way this should be done? If you're keeping your webapp outside of the appBase directory, it's the only way it can be done. > I can't unde

RE: setup default webapp in tomcat 6 and apache

2009-01-15 Thread johnrock
Caldarale, Charles R wrote: > >> From: johnrock [mailto:johnpi...@yahoo.com] >> Subject: Re: setup default webapp in tomcat 6 and apache >> >> Assuming tomcat is running standalone on port 80, how do I >> set it up so that when I call >> http://localhost/

RE: setup default webapp in tomcat 6 and apache

2009-01-15 Thread Caldarale, Charles R
> From: johnrock [mailto:johnpi...@yahoo.com] > Subject: Re: setup default webapp in tomcat 6 and apache > > Assuming tomcat is running standalone on port 80, how do I > set it up so that when I call > http://localhost/index.jsp > Tomcat defaults to serving my custom app locat

Re: setup default webapp in tomcat 6 and apache

2009-01-15 Thread johnrock
doing now, which is serving: C:\Program Files\Apache Software Foundation\apache-tomcat-6.0.18\webapps\ROOT\index.jsp -- View this message in context: http://www.nabble.com/setup-default-webapp-in-tomcat-6-and-apache-tp21488197p21489815.html Sent from the Tomcat - User mailing list archive at

RE: setup default webapp in tomcat 6 and apache

2009-01-15 Thread Caldarale, Charles R
> From: johnrock [mailto:johnpi...@yahoo.com] > Subject: Re: setup default webapp in tomcat 6 and apache > > However, I fear that my confusion is even more basic - > as I have not set up tomcat before. The easiest thing you can do (assuming you're not trying to use PHP or som

Re: setup default webapp in tomcat 6 and apache

2009-01-15 Thread johnrock
call http://localhost/index.jsp? Thanks again! -- View this message in context: http://www.nabble.com/setup-default-webapp-in-tomcat-6-and-apache-tp21488197p21489523.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: setup default webapp in tomcat 6 and apache

2009-01-15 Thread André Warnier
johnrock wrote: [.. plenty] Just one little trick, which you may have missed in the Apache/Tomcat docs : the JkMount/JkUnMount directives may sometimes be a bit clumsy to handle. You can replace them by something like this in Apache : (or ) SetHandler jakarta-servlet That does about the

setup default webapp in tomcat 6 and apache

2009-01-15 Thread johnrock
tp://localhost/myApp/ ) just to call jsp pages in myApp. Can someone explain to me how to do this? It would be greatly appreciated! Thanks John -- View this message in context: http://www.nabble.com/setup-default-webapp-in-tomcat-6-and-apache-tp21488

RE: Default webapp

2008-11-19 Thread mmocnik
I think I will just install Tomcat 4.x to be happy again ;) Thanks for your comments anyways. -- View this message in context: http://www.nabble.com/Default-webapp-tp20559346p20575773.html Sent from the Tomcat - User mailing list ar

RE: Default webapp

2008-11-18 Thread Caldarale, Charles R
> From: mmocnik [mailto:[EMAIL PROTECTED] > Subject: Default webapp > > Please correct me, if I'm missing an option. I think you've got them all. > So why doesn't it work to set the path in the context def of > a specific webapp to ""? Because that in

Default webapp

2008-11-18 Thread mmocnik
;"? Why is this option - according to the docs - explicitly disabled? (doesn't give a warning though - as specifying a docBase) It's looks like an elegant way to make a webapp the root webapp, so why disable it? Regards, Marko -- View this message in context: http:/

Re: Setting default webapp

2007-10-01 Thread Hassan Schroeder
On 10/1/07, David kerber <[EMAIL PROTECTED]> wrote: > We're not in full production, but have a dozen or so beta-test sites > that we'd rather not jerk around since they have already tolerated some > glitches during testing. A one-time change of bookmarks wouldn't seem that big a deal, considering

Re: Setting default webapp

2007-10-01 Thread Ken Bowen
Would it be enough to replace ROOT/index.jsp with the following?: <% page contentType = "text/html" %> <% String redirectURL = "http://myserver:8081/SiteData/";; response.sendRedirect(redirectURL); %> -- Ken Bowen Pid wrote: David kerber wrote: I want my webapp to be the

Re: Setting default webapp

2007-10-01 Thread David kerber
Hassan Schroeder wrote: On 10/1/07, David kerber <[EMAIL PROTECTED]> wrote: Hassan Schroeder wrote: Can I set the root webapp to ALSO answer under the webapp's original name, so people who use a bookmark to the full app path won't get "not found" errors? I though I had to have the

Re: Setting default webapp

2007-10-01 Thread Markus Schönhaber
David kerber wrote: > Can I set the root webapp to ALSO answer under the webapp's original > name, so people who use a bookmark to the full app path won't get "not > found" errors? I though I had to have the .war in both places: root > and its original place for that to work... Of course. Si

Re: Setting default webapp

2007-10-01 Thread Hassan Schroeder
On 10/1/07, David kerber <[EMAIL PROTECTED]> wrote: > Hassan Schroeder wrote: > Can I set the root webapp to ALSO answer under the webapp's original > name, so people who use a bookmark to the full app path won't get "not > found" errors? I though I had to have the .war in both places: root > an

Re: Setting default webapp

2007-10-01 Thread David kerber
Hassan Schroeder wrote: On 10/1/07, David kerber <[EMAIL PROTECTED]> wrote: Thanks, guys; I like the redirect idea a lot better than a second install that I'm likely to forget to update at some point. What "second install"? Rename the WAR file or directory; what could be simpler?

Re: Setting default webapp

2007-10-01 Thread Hassan Schroeder
On 10/1/07, David kerber <[EMAIL PROTECTED]> wrote: > Thanks, guys; I like the redirect idea a lot better than a second > install that I'm likely to forget to update at some point. What "second install"? Rename the WAR file or directory; what could be simpler? -- Hassan Schroeder --

Re: Setting default webapp

2007-10-01 Thread David kerber
Thanks, guys; I like the redirect idea a lot better than a second install that I'm likely to forget to update at some point. Pid wrote: David kerber wrote: I want my webapp to be the default application on my Tomcat 5.5 server, so that it will go to the app's login page even if they don't

Re: Setting default webapp

2007-10-01 Thread Pid
David kerber wrote: > I want my webapp to be the default application on my Tomcat 5.5 server, > so that it will go to the app's login page even if they don't enter the > app name as part of the url. For example, normally my app is accessed at: > > http://myserver:8081/SiteData/Login.jsp > > I wan

Re: Setting default webapp

2007-10-01 Thread Markus Schönhaber
David kerber schrieb: > I want my webapp to be the default application on my Tomcat 5.5 server, > so that it will go to the app's login page even if they don't enter the > app name as part of the url. For example, normally my app is accessed at: > > http://myserver:8081/SiteData/Login.jsp > >

Setting default webapp

2007-10-01 Thread David kerber
I want my webapp to be the default application on my Tomcat 5.5 server, so that it will go to the app's login page even if they don't enter the app name as part of the url. For example, normally my app is accessed at: http://myserver:8081/SiteData/Login.jsp I want them to get Login.jsp even if

Re: Deploying Default Webapp in Tomcat 6.0

2007-05-03 Thread Orlando Reis
:) I liked this one On 5/3/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: Matthew Inger [mailto:[EMAIL PROTECTED] > Subject: Deploying Default Webapp in Tomcat 6.0 > > I've been trying to figure out how to deploy a .war file as > the root webapp in Tomca

RE: Deploying Default Webapp in Tomcat 6.0

2007-05-03 Thread Caldarale, Charles R
> From: Matthew Inger [mailto:[EMAIL PROTECTED] > Subject: Deploying Default Webapp in Tomcat 6.0 > > I've been trying to figure out how to deploy a .war file as > the root webapp in Tomcat 6.0.10. > > Say I have a "foo.war" file, and create a > conf/C

Deploying Default Webapp in Tomcat 6.0

2007-05-03 Thread Matthew Inger
I've been trying to figure out how to deploy a .war file as the root webapp in Tomcat 6.0.10. Say I have a "foo.war" file, and create a conf/Catalina/localhost/foo.xml file with the following contents: I would expect (as in Tomcat 5), that the url: http://localhost:8080/ would be routed to

RE: default webapp not understanding

2006-02-14 Thread Caldarale, Charles R
> From: Scott Purcell [mailto:[EMAIL PROTECTED] > Subject: RE: default webapp not understanding > > This has been my confusion ... when I put the war file there, > it creates the mywebapp folder structure. Should I of named > the webapp root? The "name" of the we

RE: default webapp not understanding

2006-02-14 Thread Scott Purcell
To: Tomcat Users List Subject: RE: default webapp not understanding > From: Scott Purcell [mailto:[EMAIL PROTECTED] > Subject: RE: default webapp not understanding > > If I deploy the webapp in ROOT, then the structure would look > like this: > $TOMCAT_HOME/webapps/root/myweba

RE: default webapp not understanding

2006-02-14 Thread Caldarale, Charles R
> From: Scott Purcell [mailto:[EMAIL PROTECTED] > Subject: RE: default webapp not understanding > > If I deploy the webapp in ROOT, then the structure would look > like this: > $TOMCAT_HOME/webapps/root/mywebapp. No - get rid of the mywebapp idea. Your app needs to be dep

Re: default webapp not understanding

2006-02-14 Thread Hadraba Petr
confusing. > > > > Thanks, > > -Original Message- > From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 14, 2006 10:46 AM > To: Tomcat Users List > Subject: RE: default webapp not understanding > > > From: Scott Purcell [mailto:[E

RE: default webapp not understanding

2006-02-14 Thread Scott Purcell
ex.html to the mywebapp/index.html correct? This is where it gets confusing. Thanks, -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 10:46 AM To: Tomcat Users List Subject: RE: default webapp not understanding > From: Scott Pu

RE: default webapp not understanding

2006-02-14 Thread Scott Purcell
5.5x on xp. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 10:46 AM To: Tomcat Users List Subject: RE: default webapp not understanding > From: Scott Purcell [mailto:[EMAIL PROTECTED] > Subject: default weba

RE: default webapp not understanding

2006-02-14 Thread Caldarale, Charles R
> From: Scott Purcell [mailto:[EMAIL PROTECTED] > Subject: default webapp not understanding > > I am having trouble understanding what is meant by the default webapp. (It would help if you'd tell us what Tomcat level you're running...) For 5.5.x, the default webapp

default webapp not understanding

2006-02-14 Thread Scott Purcell
Hello, I am having trouble understanding what is meant by the default webapp. Here goes. I have a site which I have a dns entry for. After reading the docs, I put the application under $TOMCAT_HOME/webapps/mywebapp In the server.xml I added this snippet: Now when I hit my site