Re: tomcat 7.0.27 HTTP Status 404 - /manager/status

2012-09-13 Thread Vishwanath Washimkar
Fawad,

I tried to reproduce the issue following the steps you had provided. Did
the same. Could not reproduce the issue. You definitely had done something
other which may have just deleted the manager app from webapps directory so
double check that.

I confirm that for the manager app to start or deploy you do not need the
tomcat-users.xml. So I am sure just renaming it did not cause tomcat to
give '404' error. 404 means either the webapplication has not been deployed
( for any exception occurring) OR its deleted. So for this do the following
:

i) check if /webapps directory and see if you have the manager
directory with all its content
ii) If Yes, Check the server.log and startup.log in the server log.

Anyway, I suggest you just install a fresh copy of the tomcat taking all
the backup of your existing webapplication if thats possible . For me it
seems the best solution.

Best of luck
Vishwanath

On Tue, Sep 11, 2012 at 10:45 PM, Pid *  wrote:

> On 10 Sep 2012, at 07:53, "Ch. Fawad Nazir"  wrote:
>
> > Yes Tomcat run with Root.
>
> That's not usually a good thing.
> How are you starting Tomcat?
>
>
> p
>
> > I made a copy of tomcat-users.xml to tomcat-users.xml-old before make any
> > changes to original file. Did some changes in tomcat-users.xml ... and
> after
> > that delete the tomcat-users.xml. And again rename the
> tomcat-users.xml-old
> > to tomcat-users.xml again and restart the Tomcat.
> >
> >
> >
> > Ch. Fawad Nazir
> >
> > -Original Message-
> > From: André Warnier [mailto:a...@ice-sa.com]
> > Sent: Monday, September 10, 2012 11:40 AM
> > To: Tomcat Users List
> > Subject: Re: tomcat 7.0.27 HTTP Status 404 - /manager/status
> >
> >
> >
> > And does Tomcat run as user "root" ?
> >
> >
> > I am going by your own explanation above.  It was working; you only did
> > something to tomcat-users.xml, and it isn't working anymore.  Logically
> > thus, it is something that you did to tomcat-users.xml that is the cause.
> > Unless your explanation above is incomplete.
> > It is strange that you would get a "404 not found" status as a result of
> > messing about with tomcat-users.xml, but hey that's what you're saying.
> >
> > -
> > 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
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


Re: tomcat 7.0.27 HTTP Status 404 - /manager/status

2012-09-11 Thread Pid *
On 10 Sep 2012, at 07:53, "Ch. Fawad Nazir"  wrote:

> Yes Tomcat run with Root.

That's not usually a good thing.
How are you starting Tomcat?


p

> I made a copy of tomcat-users.xml to tomcat-users.xml-old before make any
> changes to original file. Did some changes in tomcat-users.xml ... and after
> that delete the tomcat-users.xml. And again rename the tomcat-users.xml-old
> to tomcat-users.xml again and restart the Tomcat.
>
>
>
> Ch. Fawad Nazir
>
> -Original Message-
> From: André Warnier [mailto:a...@ice-sa.com]
> Sent: Monday, September 10, 2012 11:40 AM
> To: Tomcat Users List
> Subject: Re: tomcat 7.0.27 HTTP Status 404 - /manager/status
>
>
>
> And does Tomcat run as user "root" ?
>
>
> I am going by your own explanation above.  It was working; you only did
> something to tomcat-users.xml, and it isn't working anymore.  Logically
> thus, it is something that you did to tomcat-users.xml that is the cause.
> Unless your explanation above is incomplete.
> It is strange that you would get a "404 not found" status as a result of
> messing about with tomcat-users.xml, but hey that's what you're saying.
>
> -
> 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
>

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



Re: tomcat 7.0.27 HTTP Status 404 - /manager/status

2012-09-10 Thread André Warnier

Ch. Fawad Nazir wrote:

Yes Tomcat run with Root.
I made a copy of tomcat-users.xml to tomcat-users.xml-old before make any
changes to original file. Did some changes in tomcat-users.xml ... and after
that delete the tomcat-users.xml. And again rename the tomcat-users.xml-old
to tomcat-users.xml again and restart the Tomcat.



You are repeating yourself, without providing any additional information that would allow 
anyone to help you.
If you had done exactly what you write above - and nothing else - and if Tomcat was 
"working" before, then it should be "working" afterward also.

Or else, you also did something else which you are not telling us.

Further tip : look at the Tomcat logfiles, to see if any error message appears 
there.

And, are you sure that before the changes, you could actually access 
/manager/status ?
Or did you just try this for the first time after your changes ?
In other words, is the manager application really installed ?


Please reply *below* the previous message, not on top of the email.

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



RE: tomcat 7.0.27 HTTP Status 404 - /manager/status

2012-09-09 Thread Ch. Fawad Nazir
Yes Tomcat run with Root.
I made a copy of tomcat-users.xml to tomcat-users.xml-old before make any
changes to original file. Did some changes in tomcat-users.xml ... and after
that delete the tomcat-users.xml. And again rename the tomcat-users.xml-old
to tomcat-users.xml again and restart the Tomcat.



Ch. Fawad Nazir

-Original Message-
From: André Warnier [mailto:a...@ice-sa.com] 
Sent: Monday, September 10, 2012 11:40 AM
To: Tomcat Users List
Subject: Re: tomcat 7.0.27 HTTP Status 404 - /manager/status



And does Tomcat run as user "root" ?


I am going by your own explanation above.  It was working; you only did
something to tomcat-users.xml, and it isn't working anymore.  Logically
thus, it is something that you did to tomcat-users.xml that is the cause.
Unless your explanation above is incomplete.
It is strange that you would get a "404 not found" status as a result of
messing about with tomcat-users.xml, but hey that's what you're saying.

-
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: tomcat 7.0.27 HTTP Status 404 - /manager/status

2012-09-09 Thread André Warnier

Please do not "top-post".

Ch. Fawad Nazir wrote:



-Original Message-
From: André Warnier [mailto:a...@ice-sa.com] 
Sent: Monday, September 10, 2012 12:09 AM

To: Tomcat Users List
Subject: Re: tomcat 7.0.27 HTTP Status 404 - /manager/status

Ch. Fawad Nazir wrote:

Hi

I have installed tomcat 7.0.27 on CentOS. When access http://IP:8080 
it works fine. When click on any option "Server Status , Manager Apps, 
Host Manger" it shows  HTTP Status 404 - /manager/status.


IT was working fine, I want To make changes in tomcat-users.xml,  So I 
make backup of this file tomcat-users.xml-old. I did some changes in 
tomcat-users.xml and after that I delete the tomcat-users.xml file and 
rename the tomcat-users.xml-old to tomcat-users.xml. After that it 
stop working and give error tomcat 7.0.27 HTTP Status 404 -

/manager/status.

Need help to resolve this issue.



Owner/Permissions of tomcat-users.xml ?

It is same as it was when it was working.
-rw--- 1 root root   1625 Sep  8 04:45 tomcat-users.xml



And does Tomcat run as user "root" ?


I am going by your own explanation above.  It was working; you only did something to 
tomcat-users.xml, and it isn't working anymore.  Logically thus, it is something that you 
did to tomcat-users.xml that is the cause.  Unless your explanation above is incomplete.
It is strange that you would get a "404 not found" status as a result of messing about 
with tomcat-users.xml, but hey that's what you're saying.


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



RE: tomcat 7.0.27 HTTP Status 404 - /manager/status

2012-09-09 Thread Ch. Fawad Nazir
It is same as it was when it was working.
-rw--- 1 root root   1625 Sep  8 04:45 tomcat-users.xml



Ch. Fawad Nazir
Email: fa...@biome.io
+92-321-5167532
Skype: fawad1n

Disclaimer:
“This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to which they are addressed.
If you have received this email in error please notify the system manager.
Please note that any views or opinions presented in this email are solely
those of the author and do not necessarily represent those of the company.
Finally, the recipient should check this email and any attachments for the
presence of viruses. The company accepts no liability for any damage caused
by any virus transmitted by this email

-Original Message-
From: André Warnier [mailto:a...@ice-sa.com] 
Sent: Monday, September 10, 2012 12:09 AM
To: Tomcat Users List
Subject: Re: tomcat 7.0.27 HTTP Status 404 - /manager/status

Ch. Fawad Nazir wrote:
> Hi
> 
> I have installed tomcat 7.0.27 on CentOS. When access http://IP:8080 
> it works fine. When click on any option "Server Status , Manager Apps, 
> Host Manger" it shows  HTTP Status 404 - /manager/status.
> 
> IT was working fine, I want To make changes in tomcat-users.xml,  So I 
> make backup of this file tomcat-users.xml-old. I did some changes in 
> tomcat-users.xml and after that I delete the tomcat-users.xml file and 
> rename the tomcat-users.xml-old to tomcat-users.xml. After that it 
> stop working and give error tomcat 7.0.27 HTTP Status 404 -
/manager/status.
> 
> Need help to resolve this issue.
> 

Owner/Permissions of tomcat-users.xml ?

-
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: tomcat 7.0.27 HTTP Status 404 - /manager/status

2012-09-09 Thread André Warnier

Ch. Fawad Nazir wrote:

Hi

I have installed tomcat 7.0.27 on CentOS. When access http://IP:8080 it
works fine. When click on any option "Server Status , Manager Apps, Host
Manger" it shows  HTTP Status 404 - /manager/status.

IT was working fine, I want To make changes in tomcat-users.xml,  So I make
backup of this file tomcat-users.xml-old. I did some changes in
tomcat-users.xml and after that I delete the tomcat-users.xml file and
rename the tomcat-users.xml-old to tomcat-users.xml. After that it stop
working and give error tomcat 7.0.27 HTTP Status 404 - /manager/status.

Need help to resolve this issue.



Owner/Permissions of tomcat-users.xml ?

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