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? Whenever I browse
 http://localhost:8080/the_second_app/ Tomcat thinks I will access
 /the_second_app part in the first app.


Did the second one deploy successfully?  Sounds like it didn't.  Maybe try
just deploying the second app and see what happens.

Dan



 Patcharee

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




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 access /the_second_app part in the first app.


What makes you think that?

Did you preprely deployed context the_second_app? How do you know you did?

Did you try to access http://localhost:8080/the_second_app/? What happens?

-Ognjen

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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


Did the second one deploy successfully?  Sounds like it didn't.  Maybe try
just deploying the second app and see what happens.

Dan



Patcharee

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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


What makes you think that?

Did you preprely deployed context the_second_app? How do you know you 
did?


Did you try to access http://localhost:8080/the_second_app/? What 
happens?


-Ognjen

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org