You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Russ Michaels <ru...@michaels.me.uk> on 2011/09/08 17:44:46 UTC

tomcat manager not working

ok I have an Apache Tomcat installed via  the Railo installer from
www.getrailo.org

sometimes when I install it  the Tomcat admin pages (status, tomcat
manager) do not work, only the main page is working.

I have compared it to working installs and everything seems the same.

any ideas ?

I am running on windows and have this on both IIS6 and IIS7 btw

-- 
--

Russ Michaels

www.bluethunderinternet.com  : Business hosting services & solutions
www.cfmldeveloper.com        : ColdFusion developer community
www.michaels.me.uk           : my blog
www.cfsearch.com             : ColdFusion search engine

skype me                     : russmichaels

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


Re: tomcat manager not working

Posted by Pid <pi...@pidster.com>.
On 08/09/2011 21:06, Jordan Michaels wrote:
> 
> Make sure the "localhost" server.xml mapping points to the tomcat
> webapps/ROOT/ directory and you should be set to use the Tomcat webapps.

What does that mean in terms of the XML elements & attributes in server.xml?


p


Re: tomcat manager not working

Posted by Russ Michaels <ru...@michaels.me.uk>.
thanks for your advice so far, I will be giving your suggestion a try
as soon as I have a spare, the issue is not urgent right now, so i;m
in no hurry.


On Fri, Sep 9, 2011 at 11:35 PM, Russ Michaels <ru...@michaels.me.uk> wrote:
> no Andre, I did mean the Railo list, that was not directed at you or
> anyone else here, you have been perfectly helpful so far.
>
>
>
> On Fri, Sep 9, 2011 at 10:57 PM, André Warnier <aw...@ice-sa.com> wrote:
>> Russ Michaels wrote:
>>>
>>> For some reason some of the folks on the Railo list seem to have got
>>> quite aggressive toward me due to my wording in my original post where
>>> I said.
>>
>> ...
>>
>> I suppose that above, you mean the Tomcat list.
>> And I regret if I in particular may have sounded aggressive, that was not
>> the purpose of my "sermon".
>>
>> I was only trying to explain that, this being a Tomcat list, most of the
>> people may not know anything about Railo (I certainly don't), and not have
>> any idea about what it does to Tomcat or its configuration files, and hence
>> not have any initial idea what the real source of the problem could be.
>> We also have no direct access to your Tomcat host, so we cannot just browse
>> around and try to figure out what's wrong by ourselves.
>>
>> In other words, we are really trying to help, but from a difficult starting
>> point.
>> We are blind and paralytic, and you are our eyes and hands. If you want us
>> to be able to help, you have to do precisely what we tell you to do, and
>> tell us precisely what you see.  Otherwise there is no way we can figure it
>> out, and we will have to send you back to the Railo list. (Not because we
>> are mean or unhelpful, but because we have no clue).
>>
>> What we should normally tell you to do, is to install another Tomcat from
>> the Tomcat website, try it and see if the manager app works.  Then if it
>> does, let you compare /these/ two configurations and figure out the
>> differences by yourself.
>> But we are not going to do that quite yet because we like challenges, so
>>
>> We would like you to start from a point which we may know about a bit better
>> (a "more standard" Tomcat configuration), without asking you to undo
>> everything and start clean. Then we will see if with such a configuration
>> the manager works (like it does in the "real standard" configuration which
>> the normal Tomcat installer sets up). And then, gradually, get back to your
>> current configuration where it /seems/ not to work.
>> We are hoping to be able to spot what change makes it suddenly not work as
>> expected, or even if with this more basic configuration it does not work.
>>
>> Right now :
>> - we don't know which version of Tomcat you are running
>> - we don't know if the Railo installer installs a full Tomcat, including a
>> manager app or not, and we don't know what configuration changes it makes
>> compared to a standard Tomcat.
>> - we are supposing that when you issue your URL calls, it is from a browser
>> running on the same host as the one where you have Tomcat and Railo
>> installed
>> - we are supposing that on your host, the name "localhost" is really
>> equivalent to the IP address 127.0.0.1
>> - after your 10th post or so, we have learned that you had 2 <Host> tags in
>> the server.xml, sharing apparently the same "webapps" dir. We don't really
>> know where that comes from (the standard Tomcat install configures just one
>> Host), not if it matters here.
>> - we also know that after you ran the Railo installer, you also ran
>> something else which we do not know either, and then you made some more
>> changes back and forth manually to the configuration.  That does not clarify
>> the situation for us.
>> - we do not know the top path of your Tomcat installation (thus we do not
>> know really where the "webapps" dir is located)
>>
>> But
>>
>> - We know that you are getting an HTTP error 404 when you try to access
>> "http://localhost:8888/manager/html". So we know that a Tomcat is running,
>> but it is not finding that page where it expects to find it.
>>
>> At some point you have told us that, under your "webapps" directory, you
>> have the following sub-directories :
>> docs
>> host-manager
>> manager
>> root
>>
>> The sub-directory "root" above should be "ROOT" uppercase.  It matters
>> greatly, even under Windows.
>> Because if it is really "root" like you wrote, then in principle the URL
>> which you say is working (http://localhost:8888/index.jsp), should not be
>> working.
>> And if it is really "root", then it means that either the Railo installer is
>> broken, or you have somehow renamed that directory, or copied it from
>> somewhere else without paying attention to case.
>>
>> So please :
>> 1) tell us the full path of the top Tomcat installation directory, amd its
>> version if you know it
>> 2) stop Tomcat (telling us how you do that)
>> 3) rename the above "webapps/root" directory to "webapps/ROOT" if necessary
>> 4) in your (tomcat_dir)/conf/server.xml, delete or comment out the second
>> <Host>...</Host> section, leaving only the Host named "localhost"
>> 5) restart Tomcat (telling us how you do that) and wait 10 sec.
>> 6) from a browser on the same host, access "http://localhost:8888", and then
>> redo the same again while pressing "shift" and the "reload" icon.
>> If what you see is a page with a Tomcat logo and a menu on the left, then
>> it's fine. Otherwise, tell us what page you do see.
>> 7) if the page above worked fine, then click on the "Tomcat Manager" link in
>> that menu and tell us what happens. (You should normally get an
>> authentication dialog).
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
>
>
> --
> --
>
> Russ Michaels
>
> www.bluethunderinternet.com  : Business hosting services & solutions
> www.cfmldeveloper.com        : ColdFusion developer community
> www.michaels.me.uk           : my blog
> www.cfsearch.com             : ColdFusion search engine
>
> skype me                     : russmichaels
>



-- 
--

Russ Michaels

www.bluethunderinternet.com  : Business hosting services & solutions
www.cfmldeveloper.com        : ColdFusion developer community
www.michaels.me.uk           : my blog
www.cfsearch.com             : ColdFusion search engine

skype me                     : russmichaels

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


Re: tomcat manager not working

Posted by Russ Michaels <ru...@michaels.me.uk>.
no Andre, I did mean the Railo list, that was not directed at you or
anyone else here, you have been perfectly helpful so far.



On Fri, Sep 9, 2011 at 10:57 PM, André Warnier <aw...@ice-sa.com> wrote:
> Russ Michaels wrote:
>>
>> For some reason some of the folks on the Railo list seem to have got
>> quite aggressive toward me due to my wording in my original post where
>> I said.
>
> ...
>
> I suppose that above, you mean the Tomcat list.
> And I regret if I in particular may have sounded aggressive, that was not
> the purpose of my "sermon".
>
> I was only trying to explain that, this being a Tomcat list, most of the
> people may not know anything about Railo (I certainly don't), and not have
> any idea about what it does to Tomcat or its configuration files, and hence
> not have any initial idea what the real source of the problem could be.
> We also have no direct access to your Tomcat host, so we cannot just browse
> around and try to figure out what's wrong by ourselves.
>
> In other words, we are really trying to help, but from a difficult starting
> point.
> We are blind and paralytic, and you are our eyes and hands. If you want us
> to be able to help, you have to do precisely what we tell you to do, and
> tell us precisely what you see.  Otherwise there is no way we can figure it
> out, and we will have to send you back to the Railo list. (Not because we
> are mean or unhelpful, but because we have no clue).
>
> What we should normally tell you to do, is to install another Tomcat from
> the Tomcat website, try it and see if the manager app works.  Then if it
> does, let you compare /these/ two configurations and figure out the
> differences by yourself.
> But we are not going to do that quite yet because we like challenges, so
>
> We would like you to start from a point which we may know about a bit better
> (a "more standard" Tomcat configuration), without asking you to undo
> everything and start clean. Then we will see if with such a configuration
> the manager works (like it does in the "real standard" configuration which
> the normal Tomcat installer sets up). And then, gradually, get back to your
> current configuration where it /seems/ not to work.
> We are hoping to be able to spot what change makes it suddenly not work as
> expected, or even if with this more basic configuration it does not work.
>
> Right now :
> - we don't know which version of Tomcat you are running
> - we don't know if the Railo installer installs a full Tomcat, including a
> manager app or not, and we don't know what configuration changes it makes
> compared to a standard Tomcat.
> - we are supposing that when you issue your URL calls, it is from a browser
> running on the same host as the one where you have Tomcat and Railo
> installed
> - we are supposing that on your host, the name "localhost" is really
> equivalent to the IP address 127.0.0.1
> - after your 10th post or so, we have learned that you had 2 <Host> tags in
> the server.xml, sharing apparently the same "webapps" dir. We don't really
> know where that comes from (the standard Tomcat install configures just one
> Host), not if it matters here.
> - we also know that after you ran the Railo installer, you also ran
> something else which we do not know either, and then you made some more
> changes back and forth manually to the configuration.  That does not clarify
> the situation for us.
> - we do not know the top path of your Tomcat installation (thus we do not
> know really where the "webapps" dir is located)
>
> But
>
> - We know that you are getting an HTTP error 404 when you try to access
> "http://localhost:8888/manager/html". So we know that a Tomcat is running,
> but it is not finding that page where it expects to find it.
>
> At some point you have told us that, under your "webapps" directory, you
> have the following sub-directories :
> docs
> host-manager
> manager
> root
>
> The sub-directory "root" above should be "ROOT" uppercase.  It matters
> greatly, even under Windows.
> Because if it is really "root" like you wrote, then in principle the URL
> which you say is working (http://localhost:8888/index.jsp), should not be
> working.
> And if it is really "root", then it means that either the Railo installer is
> broken, or you have somehow renamed that directory, or copied it from
> somewhere else without paying attention to case.
>
> So please :
> 1) tell us the full path of the top Tomcat installation directory, amd its
> version if you know it
> 2) stop Tomcat (telling us how you do that)
> 3) rename the above "webapps/root" directory to "webapps/ROOT" if necessary
> 4) in your (tomcat_dir)/conf/server.xml, delete or comment out the second
> <Host>...</Host> section, leaving only the Host named "localhost"
> 5) restart Tomcat (telling us how you do that) and wait 10 sec.
> 6) from a browser on the same host, access "http://localhost:8888", and then
> redo the same again while pressing "shift" and the "reload" icon.
> If what you see is a page with a Tomcat logo and a menu on the left, then
> it's fine. Otherwise, tell us what page you do see.
> 7) if the page above worked fine, then click on the "Tomcat Manager" link in
> that menu and tell us what happens. (You should normally get an
> authentication dialog).
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>



-- 
--

Russ Michaels

www.bluethunderinternet.com  : Business hosting services & solutions
www.cfmldeveloper.com        : ColdFusion developer community
www.michaels.me.uk           : my blog
www.cfsearch.com             : ColdFusion search engine

skype me                     : russmichaels

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


Re: tomcat manager not working

Posted by André Warnier <aw...@ice-sa.com>.
Russ Michaels wrote:
> For some reason some of the folks on the Railo list seem to have got
> quite aggressive toward me due to my wording in my original post where
> I said.
...

I suppose that above, you mean the Tomcat list.
And I regret if I in particular may have sounded aggressive, that was not the purpose of 
my "sermon".

I was only trying to explain that, this being a Tomcat list, most of the people may not 
know anything about Railo (I certainly don't), and not have any idea about what it does to 
Tomcat or its configuration files, and hence not have any initial idea what the real 
source of the problem could be.
We also have no direct access to your Tomcat host, so we cannot just browse around and try 
to figure out what's wrong by ourselves.

In other words, we are really trying to help, but from a difficult starting point.
We are blind and paralytic, and you are our eyes and hands. If you want us to be able to 
help, you have to do precisely what we tell you to do, and tell us precisely what you see. 
  Otherwise there is no way we can figure it out, and we will have to send you back to the 
Railo list. (Not because we are mean or unhelpful, but because we have no clue).

What we should normally tell you to do, is to install another Tomcat from the Tomcat 
website, try it and see if the manager app works.  Then if it does, let you compare 
/these/ two configurations and figure out the differences by yourself.
But we are not going to do that quite yet because we like challenges, so

We would like you to start from a point which we may know about a bit better (a "more 
standard" Tomcat configuration), without asking you to undo everything and start clean. 
Then we will see if with such a configuration the manager works (like it does in the "real 
standard" configuration which the normal Tomcat installer sets up). And then, gradually, 
get back to your current configuration where it /seems/ not to work.
We are hoping to be able to spot what change makes it suddenly not work as expected, or 
even if with this more basic configuration it does not work.

Right now :
- we don't know which version of Tomcat you are running
- we don't know if the Railo installer installs a full Tomcat, including a manager app or 
not, and we don't know what configuration changes it makes compared to a standard Tomcat.
- we are supposing that when you issue your URL calls, it is from a browser running on the 
same host as the one where you have Tomcat and Railo installed
- we are supposing that on your host, the name "localhost" is really equivalent to the IP 
address 127.0.0.1
- after your 10th post or so, we have learned that you had 2 <Host> tags in the 
server.xml, sharing apparently the same "webapps" dir. We don't really know where that 
comes from (the standard Tomcat install configures just one Host), not if it matters here.
- we also know that after you ran the Railo installer, you also ran something else which 
we do not know either, and then you made some more changes back and forth manually to the 
configuration.  That does not clarify the situation for us.
- we do not know the top path of your Tomcat installation (thus we do not know really 
where the "webapps" dir is located)

But

- We know that you are getting an HTTP error 404 when you try to access 
"http://localhost:8888/manager/html". So we know that a Tomcat is running, but it is not 
finding that page where it expects to find it.

At some point you have told us that, under your "webapps" directory, you have the 
following sub-directories :
docs
host-manager
manager
root

The sub-directory "root" above should be "ROOT" uppercase.  It matters greatly, even under 
Windows.
Because if it is really "root" like you wrote, then in principle the URL which you say is 
working (http://localhost:8888/index.jsp), should not be working.
And if it is really "root", then it means that either the Railo installer is broken, or 
you have somehow renamed that directory, or copied it from somewhere else without paying 
attention to case.

So please :
1) tell us the full path of the top Tomcat installation directory, amd its version if you 
know it
2) stop Tomcat (telling us how you do that)
3) rename the above "webapps/root" directory to "webapps/ROOT" if necessary
4) in your (tomcat_dir)/conf/server.xml, delete or comment out the second <Host>...</Host> 
section, leaving only the Host named "localhost"
5) restart Tomcat (telling us how you do that) and wait 10 sec.
6) from a browser on the same host, access "http://localhost:8888", and then redo the same 
again while pressing "shift" and the "reload" icon.
If what you see is a page with a Tomcat logo and a menu on the left, then it's fine. 
Otherwise, tell us what page you do see.
7) if the page above worked fine, then click on the "Tomcat Manager" link in that menu and 
tell us what happens. (You should normally get an authentication dialog).



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


Re: tomcat manager not working

Posted by Russ Michaels <ru...@michaels.me.uk>.
For some reason some of the folks on the Railo list seem to have got
quite aggressive toward me due to my wording in my original post where
I said.

"I have already tried the Railo forums and been told to come here as
it is a problem with Tomcat and not Railo. "

Jordan seems to think this was directed at him, which it is not as no
name was mentioned, and certain others seem to think this
"misrepresents" the Railo list.

So I would like to  clarify this to avoid any overspill of the abuse
on to  this list, which no-one wants.
All I meant by this is that I was referred to the Tomcat list to try
and resolve a Tomcat problem, which seems perfectly normal and
acceptable to me and I have no issues with it.
In fact I am not even saying that it was anyone on the Railo list that
referred me, simply that I was referred by someone, I was posting my
issue on skype and twitter as well as the Railo list, so it could have
come from any of those sources.
Now while I can see that the statement could easily be misinterpreted
that i', saying that it was the Railo list who told me to come here,
regardless of where it came from, I have no issue issue with it at all
as I do not think there is anything wrong with referring someone to a
more appropriate list, and I am quite dumbfounded as to why anyone
else would have an issue with this, but there you go.

I hope that is now cleared up.

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


Re: tomcat manager not working

Posted by Russ Michaels <ru...@michaels.me.uk>.
ok I have completely deleted the maxyexpress vhost as it is not needed anyway.
restarted Apache
still the same issue i'm afraid.

I think all the vhosts need webapps as the appbase for Railo, as this
is how it is on all my other installs as well.


here is the exact error if it helps.

HTTP Status 404 - /manager/html

--------------------------------------------------------------------------------

type Status report

message /manager/html

description The requested resource (/manager/html) is not available.


--------------------------------------------------------------------------------

Apache Tomcat/6.0.32



On Fri, Sep 9, 2011 at 12:32 PM, André Warnier <aw...@ice-sa.com> wrote:
> Russ Michaels wrote:
>>
>> thanks for the replies guys.
>>
>> just to clarify I do not have any issues with virtual hosts they work
>> fine, my only problem is getting the Tomcat Admin running on
>> localhost:8888, this is the only thing not working right now.
>>
>> As I mentioned before
>> under webapps I have 4 folders
>> docs
>> host-manager
>> manager
>> root
>>
>> and I have compared the contents of these folders to other working
>> installs and they are the same.
>>
>> C:\Railo\tomcat\conf\Catalina\localhost
>> also exists and also contains the same files as other working installs
>> and as per mark's email
>>
>> so just to confirm
>> localhost:8888/index.jsp works
>> I get the tomcat homepage
>> but the manager and status pages give a 404
>>
>
> Allright, but what I meant was this :
> In your original configuration, you have 2 <Host> tags, thus 2 VirtualHosts,
> both sharing the same (tomcat_dir)/webapps application directory.
> If the configuration of these 2 <Host> tags were identical, both with the
> "autoDeploy" attribute true, then when starting, Tomcat would deploy each
> application under (tomcat_dir)/webapps twice (once for each Host).
> But, in your original configuration, it seems that the second Host does not
> have this attribute set (nor "unpackWars"). Thus for this Host, the
> applications under webapps (including the manager) may not be auto-deployed,
> and not be available.
>
> In any case, you are trying to debug an issue, and for that a usual strategy
> is to try to simplify the configuration, to make it easier to find the real
> issue and not being sidetracked.
>
> So what I would do in this case, unless you have a real use for a separate
> "localhost" Host, is this :
> - comment out the second virtual Host.
> - optionally(*), in the first "localhost" virtual Host, add 2 Alias tags :
>  <Alias>www.maxyexpress.co.uk</Alias>
>  <Alias>maxyexpress.co.uk</Alias>
> So now the same Host will be used, no matter if you access the server via
> http://localhost or http://(one of the above), and the applications will be
> started (or not) only once.
>
> then restart Tomcat and let's see what happens.
>
> Then if that works, you can try to re-introduce the second Host and its
> manager app step-by-step and see at what point it stops working.
>
>
> (*) optionally in this case, because the Host "localhost" is the default one
> anyway, and will server all requests if there are no other Host.
> The Alias-es here just make things clearer documentation-wise.
>
> The point is : the standard Apache Tomcat, downloaded and installed from the
> standard Apache Tomcat website, works, including the manager application.
> Now you have a configuration created by "railo" (which I do not know), and
> in that version something is not working.
> So railo does something to the configuration, that makes it not work.
> So this is basically a railo problem, not a Tomcat problem.
> And we can't possibly look onto your system, to find out what else railo may
> be doing that makes it not work.
> People on this list are nevertheless willing to help find out, but let's
> start from as close as possible to a standard Tomcat config, so that we
> could gain a clue.
> Yes ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>



-- 
--

Russ Michaels

www.bluethunderinternet.com  : Business hosting services & solutions
www.cfmldeveloper.com        : ColdFusion developer community
www.michaels.me.uk           : my blog
www.cfsearch.com             : ColdFusion search engine

skype me                     : russmichaels

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


Re: tomcat manager not working

Posted by André Warnier <aw...@ice-sa.com>.
Russ Michaels wrote:
> thanks for the replies guys.
> 
> just to clarify I do not have any issues with virtual hosts they work
> fine, my only problem is getting the Tomcat Admin running on
> localhost:8888, this is the only thing not working right now.
> 
> As I mentioned before
> under webapps I have 4 folders
> docs
> host-manager
> manager
> root
> 
> and I have compared the contents of these folders to other working
> installs and they are the same.
> 
> C:\Railo\tomcat\conf\Catalina\localhost
> also exists and also contains the same files as other working installs
> and as per mark's email
> 
> so just to confirm
> localhost:8888/index.jsp works
> I get the tomcat homepage
> but the manager and status pages give a 404
> 

Allright, but what I meant was this :
In your original configuration, you have 2 <Host> tags, thus 2 VirtualHosts, both sharing 
the same (tomcat_dir)/webapps application directory.
If the configuration of these 2 <Host> tags were identical, both with the "autoDeploy" 
attribute true, then when starting, Tomcat would deploy each application under 
(tomcat_dir)/webapps twice (once for each Host).
But, in your original configuration, it seems that the second Host does not have this 
attribute set (nor "unpackWars"). Thus for this Host, the applications under webapps 
(including the manager) may not be auto-deployed, and not be available.

In any case, you are trying to debug an issue, and for that a usual strategy is to try to 
simplify the configuration, to make it easier to find the real issue and not being 
sidetracked.

So what I would do in this case, unless you have a real use for a separate "localhost" 
Host, is this :
- comment out the second virtual Host.
- optionally(*), in the first "localhost" virtual Host, add 2 Alias tags :
  <Alias>www.maxyexpress.co.uk</Alias>
  <Alias>maxyexpress.co.uk</Alias>
So now the same Host will be used, no matter if you access the server via http://localhost 
or http://(one of the above), and the applications will be started (or not) only once.

then restart Tomcat and let's see what happens.

Then if that works, you can try to re-introduce the second Host and its manager app 
step-by-step and see at what point it stops working.


(*) optionally in this case, because the Host "localhost" is the default one anyway, and 
will server all requests if there are no other Host.
The Alias-es here just make things clearer documentation-wise.

The point is : the standard Apache Tomcat, downloaded and installed from the standard 
Apache Tomcat website, works, including the manager application.
Now you have a configuration created by "railo" (which I do not know), and in that version 
something is not working.
So railo does something to the configuration, that makes it not work.
So this is basically a railo problem, not a Tomcat problem.
And we can't possibly look onto your system, to find out what else railo may be doing that 
makes it not work.
People on this list are nevertheless willing to help find out, but let's start from as 
close as possible to a standard Tomcat config, so that we could gain a clue.
Yes ?

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


Re: tomcat manager not working

Posted by Russ Michaels <ru...@michaels.me.uk>.
thanks for the replies guys.

just to clarify I do not have any issues with virtual hosts they work
fine, my only problem is getting the Tomcat Admin running on
localhost:8888, this is the only thing not working right now.

As I mentioned before
under webapps I have 4 folders
docs
host-manager
manager
root

and I have compared the contents of these folders to other working
installs and they are the same.

C:\Railo\tomcat\conf\Catalina\localhost
also exists and also contains the same files as other working installs
and as per mark's email

so just to confirm
localhost:8888/index.jsp works
I get the tomcat homepage
but the manager and status pages give a 404

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


Re: tomcat manager not working

Posted by André Warnier <aw...@ice-sa.com>.
I don't want to confuse things even more, but the OP in his configuration has :

     <Engine name="Catalina" defaultHost="localhost">

and

       <Host name="localhost"  appBase="webapps"
             unpackWARs="true" autoDeploy="true"
             xmlValidation="false" xmlNamespaceAware="false">
	
       </Host>

and

   <Host name="www.maxyexpress.co.uk" appBase="webapps">
              <Context path="" docBase="d:\wwwroot\maxyexpress.co.uk\wwwroot" />
			 <Alias>maxyexpress.co.uk</Alias>
         </Host>

so that makes 2 Virtual Hosts with the same appBase, and a non-recommended <Context> in 
the server.xml file.


Mark Eggers wrote:
> ----- Original Message -----
> 
>> From: "Caldarale, Charles R" <Ch...@unisys.com>
>> To: Tomcat Users List <us...@tomcat.apache.org>
>> Cc: 
>> Sent: Thursday, September 8, 2011 8:15 PM
>> Subject: RE: tomcat manager not working
>>
>>>  From: Mark Eggers [mailto:its_toasted@yahoo.com] 
>>>  Subject: Re: tomcat manager not working
>>>  You have the following virtual host:
>>>  <Host name="www.maxyexpress.co.uk" 
>> appBase="webapps">
>>>     <Context path="" 
>> docBase="d:\wwwroot\maxyexpress.co.uk\wwwroot" />
>>>     <Alias>maxyexpress.co.uk</Alias>
>>>  </Host>
>>>  This means that the actual docBase may end up to be:
>>>
>> %CATALINA_HOME%\webapps\d:\wwwroot\maxyexpress.co.uk\wwwroot
>>
>> Don't think so.  On Windows, a leading forward or backward slash after the 
>> drive prefix (d:, in this case) indicates an absolute path.  The JVM will figure 
>> that out properly.
>>  
> 
> OK. I should have booted into Windows and checked this out. So while not along the lines of current Tomcat good practices, the above will actually work?
> 
> It just looks a bit unpleasant.
> 
>>>  I suggest following the Wiki entry above and setting your 
>>>  virtual host up as follows:
>>>  <Host name="www.maxyexpress.co.uk"
>>>       appBase="D:/wwwroot/maxyexpress.co.uk/wwwroot"
>>>       unpackWARs="true" autoDeploy="true"
>>>       xmlValidation="false" 
>> xmlNamespaceAware="false">
>>>     <Alias>maxyexpress.co.uk</Alias>
>>>  </Host>
>> The above appBase setting should probably be 
>> "D:/wwwroot/maxyexpress.co.uk", coupled with naming the default 
>> webapp's .war file or directory ROOT (case sensitive) rather than wwwroot, 
>> located under the appBase directory.  Much more along the lines of current 
>> Tomcat good practice.
>>
> 
> Agreed. I was just trying to create minimal amount of change.
> 
>>>  the slashes are / not \ (even on Windows).
>> That part shouldn't matter, but forward slashes certainly avoid confusion 
>> with regular expression escapes that might appear elsewhere in .xml files.
>>  
> 
> Again, I should have booted into Windows and played a bit. Thanks for the clarification.
> 
> So if the above virtual host is legal (if not "clean"), and the rest of his server.xml file looks OK, what in the world is going on?
> 
> 
> . . . . somewhat confused
> /mde/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 


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


Re: tomcat manager not working

Posted by Mark Eggers <it...@yahoo.com>.
----- Original Message -----

> From: "Caldarale, Charles R" <Ch...@unisys.com>
> To: Tomcat Users List <us...@tomcat.apache.org>
> Cc: 
> Sent: Thursday, September 8, 2011 8:15 PM
> Subject: RE: tomcat manager not working
> 
>>  From: Mark Eggers [mailto:its_toasted@yahoo.com] 
>>  Subject: Re: tomcat manager not working
> 
>>  You have the following virtual host:
>>  <Host name="www.maxyexpress.co.uk" 
> appBase="webapps">
>>     <Context path="" 
> docBase="d:\wwwroot\maxyexpress.co.uk\wwwroot" />
>>     <Alias>maxyexpress.co.uk</Alias>
>>  </Host>
> 
>>  This means that the actual docBase may end up to be:
>> 
> %CATALINA_HOME%\webapps\d:\wwwroot\maxyexpress.co.uk\wwwroot
> 
> Don't think so.  On Windows, a leading forward or backward slash after the 
> drive prefix (d:, in this case) indicates an absolute path.  The JVM will figure 
> that out properly.
> 

OK. I should have booted into Windows and checked this out. So while not along the lines of current Tomcat good practices, the above will actually work?

It just looks a bit unpleasant.

>>  I suggest following the Wiki entry above and setting your 
>>  virtual host up as follows:
>>  <Host name="www.maxyexpress.co.uk"
>>       appBase="D:/wwwroot/maxyexpress.co.uk/wwwroot"
>>       unpackWARs="true" autoDeploy="true"
>>       xmlValidation="false" 
> xmlNamespaceAware="false">
>>     <Alias>maxyexpress.co.uk</Alias>
>>  </Host>
> 
> The above appBase setting should probably be 
> "D:/wwwroot/maxyexpress.co.uk", coupled with naming the default 
> webapp's .war file or directory ROOT (case sensitive) rather than wwwroot, 
> located under the appBase directory.  Much more along the lines of current 
> Tomcat good practice.
>

Agreed. I was just trying to create minimal amount of change.

>>  the slashes are / not \ (even on Windows).
> 
> That part shouldn't matter, but forward slashes certainly avoid confusion 
> with regular expression escapes that might appear elsewhere in .xml files.
> 

Again, I should have booted into Windows and played a bit. Thanks for the clarification.

So if the above virtual host is legal (if not "clean"), and the rest of his server.xml file looks OK, what in the world is going on?


. . . . somewhat confused
/mde/

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


RE: tomcat manager not working

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Mark Eggers [mailto:its_toasted@yahoo.com] 
> Subject: Re: tomcat manager not working

> You have the following virtual host:
> <Host name="www.maxyexpress.co.uk" appBase="webapps">
>    <Context path="" docBase="d:\wwwroot\maxyexpress.co.uk\wwwroot" />
>    <Alias>maxyexpress.co.uk</Alias>
> </Host>

> This means that the actual docBase may end up to be:
> %CATALINA_HOME%\webapps\d:\wwwroot\maxyexpress.co.uk\wwwroot

Don't think so.  On Windows, a leading forward or backward slash after the drive prefix (d:, in this case) indicates an absolute path.  The JVM will figure that out properly.

> I suggest following the Wiki entry above and setting your 
> virtual host up as follows:
> <Host name="www.maxyexpress.co.uk"
>      appBase="D:/wwwroot/maxyexpress.co.uk/wwwroot"
>      unpackWARs="true" autoDeploy="true"
>      xmlValidation="false" xmlNamespaceAware="false">
>    <Alias>maxyexpress.co.uk</Alias>
> </Host>

The above appBase setting should probably be "D:/wwwroot/maxyexpress.co.uk", coupled with naming the default webapp's .war file or directory ROOT (case sensitive) rather than wwwroot, located under the appBase directory.  Much more along the lines of current Tomcat good practice.

> the slashes are / not \ (even on Windows).

That part shouldn't matter, but forward slashes certainly avoid confusion with regular expression escapes that might appear elsewhere in .xml files.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


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


Re: tomcat manager not working

Posted by Mark Eggers <it...@yahoo.com>.
----- Original Message -----

> From: Russ Michaels <ru...@michaels.me.uk>
> To: Tomcat Users List <us...@tomcat.apache.org>
> Cc: 
> Sent: Thursday, September 8, 2011 4:11 PM
> Subject: Re: tomcat manager not working
> 
> it was broke before using the vhost copier, and I have already undone
> all the changes it made to the server.xml and put it back to how it
> was oriignally.
> 
> here is now it looks now
> 
> <?xml version='1.0' encoding='utf-8'?>
> <!--
>   Licensed to the Apache Software Foundation (ASF) under one or more
>   contributor license agreements.  See the NOTICE file distributed with
>   this work for additional information regarding copyright ownership.
>   The ASF licenses this file to You under the Apache License, Version 2.0
>   (the "License"); you may not use this file except in compliance with
>   the License.  You may obtain a copy of the License at
> 
>       http://www.apache.org/licenses/LICENSE-2.0
> 
>   Unless required by applicable law or agreed to in writing, software
>   distributed under the License is distributed on an "AS IS" BASIS,
>   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>   See the License for the specific language governing permissions and
>   limitations under the License.
> -->
> <!-- Note:  A "Server" is not itself a "Container", so 
> you may not
>      define subcomponents such as "Valves" at this level.
>      Documentation at /docs/config/server.html
> -->
> <Server port="8005" shutdown="SHUTDOWN">
> 
>   <!--APR library loader. Documentation at /docs/apr.html -->
>   <Listener 
> className="org.apache.catalina.core.AprLifecycleListener"
> SSLEngine="on" />
>   <!--Initialize Jasper prior to webapps are loaded. Documentation at
> /docs/jasper-howto.html -->
>   <Listener className="org.apache.catalina.core.JasperListener" 
> />
>   <!-- JMX Support for the Tomcat server. Documentation at
> /docs/non-existent.html -->
>   <Listener 
> className="org.apache.catalina.mbeans.ServerLifecycleListener" />
>   <Listener 
> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
> />
> 
>   <!-- Global JNDI resources
>        Documentation at /docs/jndi-resources-howto.html
>   -->
>   <GlobalNamingResources>
>     <!-- Editable user database that can also be used by
>          UserDatabaseRealm to authenticate users
>     -->
>     <Resource name="UserDatabase" auth="Container"
>               type="org.apache.catalina.UserDatabase"
>               description="User database that can be updated and 
> saved"
>               
> factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
>               pathname="conf/tomcat-users.xml" />
>   </GlobalNamingResources>
> 
>   <!-- A "Service" is a collection of one or more 
> "Connectors" that share
>        a single "Container" Note:  A "Service" is not itself 
> a "Container",
>        so you may not define subcomponents such as "Valves" at this 
> level.
>        Documentation at /docs/config/service.html
>    -->
>   <Service name="Catalina">
> 
>     <!--The connectors can use a shared executor, you can define one
> or more named thread pools-->
>     <!--
>     <Executor name="tomcatThreadPool" 
> namePrefix="catalina-exec-"
>         maxThreads="150" minSpareThreads="4"/>
>     -->
> 
> 
>     <!-- A "Connector" represents an endpoint by which requests are 
> received
>          and responses are returned. Documentation at :
>          Java HTTP Connector: /docs/config/http.html (blocking & 
> non-blocking)
>          Java AJP  Connector: /docs/config/ajp.html
>          APR (HTTP/AJP) Connector: /docs/apr.html
>          Define a non-SSL HTTP/1.1 Connector on port 8080
>     -->
>     <Connector port="8888" protocol="HTTP/1.1"
>                connectionTimeout="20000"
>                redirectPort="8443" />
>     <!-- A "Connector" using the shared thread pool-->
>     <!--
>     <Connector executor="tomcatThreadPool"
>                port="8080" protocol="HTTP/1.1"
>                connectionTimeout="20000"
>                redirectPort="8443" />
>     -->
>     <!-- Define a SSL HTTP/1.1 Connector on port 8443
>          This connector uses the JSSE configuration, when using APR, the
>          connector should be using the OpenSSL style configuration
>          described in the APR documentation -->
>     <!--
>     <Connector port="8443" protocol="HTTP/1.1" 
> SSLEnabled="true"
>                maxThreads="150" scheme="https" 
> secure="true"
>                clientAuth="false" sslProtocol="TLS" />
>     -->
> 
>     <!-- Define an AJP 1.3 Connector on port 8009 -->
>     <Connector port="8009" protocol="AJP/1.3" 
> redirectPort="8443" />
> 
> 
>     <!-- An Engine represents the entry point (within Catalina) that 
> processes
>          every request.  The Engine implementation for Tomcat stand alone
>          analyzes the HTTP headers included with the request, and passes them
>          on to the appropriate Host (virtual host).
>          Documentation at /docs/config/engine.html -->
> 
>     <!-- You should set jvmRoute to support load-balancing via AJP ie :
>     <Engine name="Standalone" defaultHost="localhost" 
> jvmRoute="jvm1">
>     -->
>     <Engine name="Catalina" defaultHost="localhost">
> 
>       <!--For clustering, please take a look at documentation at:
>           /docs/cluster-howto.html  (simple how to)
>           /docs/config/cluster.html (reference documentation) -->
>       <!--
>       <Cluster 
> className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
>       -->
> 
>       <!-- The request dumper valve dumps useful debugging information about
>            the request and response data received and sent by Tomcat.
>            Documentation at: /docs/config/valve.html -->
>       <!--
>       <Valve 
> className="org.apache.catalina.valves.RequestDumperValve"/>
>       -->
> 
>       <!-- This Realm uses the UserDatabase configured in the global JNDI
>            resources under the key "UserDatabase".  Any edits
>            that are performed against this UserDatabase are immediately
>            available for use by the Realm.  -->
>       <Realm 
> className="org.apache.catalina.realm.UserDatabaseRealm"
>              resourceName="UserDatabase"/>
> 
>       <!-- Define the default virtual host
>            Note: XML Schema validation will not work with Xerces 2.2.
>        -->
> 
> 
>       <Host name="localhost"  appBase="webapps"
>             unpackWARs="true" autoDeploy="true"
>             xmlValidation="false" 
> xmlNamespaceAware="false">
>     
>       </Host>
> 
>       <!--
>         Add additional VIRTUALHOSTS by copying the following example config:
>         REPLACE:
>         [ENTER DOMAIN NAME] with a domain, IE: www.mysite.com
>         [ENTER SYSTEM PATH] with your web site's base directory. IE:
> /home/user/public_html/ or C:\websites\www.mysite.com\ etc...
>         Don't forget to remove comments! ;)
>       -->
>       <!--
>         <Host name="[ENTER DOMAIN NAME]" 
> appBase="webapps">
>              <Context path="" docBase="[ENTER SYSTEM 
> PATH]" />
>         </Host>
>       -->
>       <Host name="www.maxyexpress.co.uk" 
> appBase="webapps">
>              <Context path="" 
> docBase="d:\wwwroot\maxyexpress.co.uk\wwwroot" />
>              <Alias>maxyexpress.co.uk</Alias>
>         </Host>
> 
>     </Engine>
>   </Service>
> </Server>
> 
> 
> On Thu, Sep 8, 2011 at 11:52 PM, Jordan Michaels <jo...@viviotech.net> 
> wrote:
>>  IIS version doesn't matter as you're working directly with 
> Tomcat's web
>>  server.
>> 
>>  Tested on w2k3 and it works for me.
>> 
>>  Try it without the VHost Copier and see if you get better results.
>> 
>>  -JM
>> 
>>  On 09/08/2011 02:58 PM, Russ Michaels wrote:
>>> 
>>>  yes 100%, no other version of the installer has ever been downloaded
>>>  in this server.
>>>  The localhost entry was changed the vhost copier plugin, but it
>>>  already didn't work before I installed this.
>>> 
>>>  the server we have been discussing is windows 2003 IIS6.
>> 

Caveat - I have not worked with Railo. Take the following with a grain of salt.

OK, some things to check.

1. Make sure that localhost on this server points to 127.0.0.1 and not the IP address of the virtual host.

2. Make sure that %CATALINA_HOME%\conf\Catalina\localhost\manager.xml exists and has the following content:

<Context antiResourceLocking="false" privileged="true" />

I've stripped out the comments that come with the default installation

3. Make sure that %CATALINA_HOME%\webapps\manager exists
I don't know if you have a reference installation of Tomcat available to check if the contents are the same, but that would be a good idea.

This should get the localhost:8888/ manager web application running.

It will NOT get a manager application running for your virtual host. You'll need to set that up separately, so that http://www.maxyexpress.co.uk:8888/manager/html works as expected.

See the following for an example on how to set multiple managers up with virtual hosts:

http://wiki.apache.org/tomcat/TomcatDevelopmentVirtualHosts


In short, there are three things you'll probably have to do.

1. Create a %CATALINA_HOME%\conf\Catalina\www.maxyexpress.co.uk directory
2. Copy %CATALINA_HOME%\conf\Catalina\localhost\manager.xml to that directory
3. Copy %CATALINA_HOME%\webapps\manager to the virtual host's appBase

You're virtual host configuration is a bit broken from how I understand the Tomcat documentation.

From:

http://tomcat.apache.org/tomcat-6.0-doc/config/context.html


The docBase must either an absolute path to the directory or war file, or a relative path from the owning Host's appBase.

You have the following virtual host:

<Host name="www.maxyexpress.co.uk" appBase="webapps">

    <Context path="" docBase="d:\wwwroot\maxyexpress.co.uk\wwwroot" />
    <Alias>maxyexpress.co.uk</Alias>
</Host>

This means that the actual docBase may end up to be:

%CATALINA_HOME%\webapps\d:\wwwroot\maxyexpress.co.uk\wwwroot

???

I suggest following the Wiki entry above and setting your virtual host up as follows:

<Host name="www.maxyexpress.co.uk"
      appBase="D:/wwwroot/maxyexpress.co.uk/wwwroot"
      unpackWARs="true" autoDeploy="true"
      xmlValidation="false" xmlNamespaceAware="false">
    <Alias>maxyexpress.co.uk</Alias>
</Host>

Also, note that the information is case sensitive, and the slashes are / not \ (even on Windows).

I don't know how Railo sets up a ROOT application, but the best bet is to follow Tomcat guidelines which is:


1. Name your www.maxyexpress.co.uk default application ROOT.war
2. Deploy it in the virtual host's appBase

If you don't construct a WAR file, then copy the application files into a directory called ROOT in the virtual host's appBase.

One last thing - if the CFML application uses WEB-INF or META-INF as protected directories (have not used ColdFusion since its conversion to Java), then placing the Tomcat appBase as the IIS document root is potentially dangerous. Tomcat won't serve content under WEB-INF/ or META-INF/. I don't think IIS has those same protections.

. . . . just my two cents.
/mde/

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


Re: tomcat manager not working

Posted by Russ Michaels <ru...@michaels.me.uk>.
it was broke before using the vhost copier, and I have already undone
all the changes it made to the server.xml and put it back to how it
was oriignally.

here is now it looks now

<?xml version='1.0' encoding='utf-8'?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<!-- Note:  A "Server" is not itself a "Container", so you may not
     define subcomponents such as "Valves" at this level.
     Documentation at /docs/config/server.html
 -->
<Server port="8005" shutdown="SHUTDOWN">

  <!--APR library loader. Documentation at /docs/apr.html -->
  <Listener className="org.apache.catalina.core.AprLifecycleListener"
SSLEngine="on" />
  <!--Initialize Jasper prior to webapps are loaded. Documentation at
/docs/jasper-howto.html -->
  <Listener className="org.apache.catalina.core.JasperListener" />
  <!-- JMX Support for the Tomcat server. Documentation at
/docs/non-existent.html -->
  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
  <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
/>

  <!-- Global JNDI resources
       Documentation at /docs/jndi-resources-howto.html
  -->
  <GlobalNamingResources>
    <!-- Editable user database that can also be used by
         UserDatabaseRealm to authenticate users
    -->
    <Resource name="UserDatabase" auth="Container"
              type="org.apache.catalina.UserDatabase"
              description="User database that can be updated and saved"
              factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
              pathname="conf/tomcat-users.xml" />
  </GlobalNamingResources>

  <!-- A "Service" is a collection of one or more "Connectors" that share
       a single "Container" Note:  A "Service" is not itself a "Container",
       so you may not define subcomponents such as "Valves" at this level.
       Documentation at /docs/config/service.html
   -->
  <Service name="Catalina">

    <!--The connectors can use a shared executor, you can define one
or more named thread pools-->
    <!--
    <Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
        maxThreads="150" minSpareThreads="4"/>
    -->


    <!-- A "Connector" represents an endpoint by which requests are received
         and responses are returned. Documentation at :
         Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
         Java AJP  Connector: /docs/config/ajp.html
         APR (HTTP/AJP) Connector: /docs/apr.html
         Define a non-SSL HTTP/1.1 Connector on port 8080
    -->
    <Connector port="8888" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />
    <!-- A "Connector" using the shared thread pool-->
    <!--
    <Connector executor="tomcatThreadPool"
               port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />
    -->
    <!-- Define a SSL HTTP/1.1 Connector on port 8443
         This connector uses the JSSE configuration, when using APR, the
         connector should be using the OpenSSL style configuration
         described in the APR documentation -->
    <!--
    <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
               maxThreads="150" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" />
    -->

    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />


    <!-- An Engine represents the entry point (within Catalina) that processes
         every request.  The Engine implementation for Tomcat stand alone
         analyzes the HTTP headers included with the request, and passes them
         on to the appropriate Host (virtual host).
         Documentation at /docs/config/engine.html -->

    <!-- You should set jvmRoute to support load-balancing via AJP ie :
    <Engine name="Standalone" defaultHost="localhost" jvmRoute="jvm1">
    -->
    <Engine name="Catalina" defaultHost="localhost">

      <!--For clustering, please take a look at documentation at:
          /docs/cluster-howto.html  (simple how to)
          /docs/config/cluster.html (reference documentation) -->
      <!--
      <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
      -->

      <!-- The request dumper valve dumps useful debugging information about
           the request and response data received and sent by Tomcat.
           Documentation at: /docs/config/valve.html -->
      <!--
      <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
      -->

      <!-- This Realm uses the UserDatabase configured in the global JNDI
           resources under the key "UserDatabase".  Any edits
           that are performed against this UserDatabase are immediately
           available for use by the Realm.  -->
      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
             resourceName="UserDatabase"/>

      <!-- Define the default virtual host
           Note: XML Schema validation will not work with Xerces 2.2.
       -->


      <Host name="localhost"  appBase="webapps"
            unpackWARs="true" autoDeploy="true"
            xmlValidation="false" xmlNamespaceAware="false">
	
      </Host>

      <!--
        Add additional VIRTUALHOSTS by copying the following example config:
        REPLACE:
        [ENTER DOMAIN NAME] with a domain, IE: www.mysite.com
        [ENTER SYSTEM PATH] with your web site's base directory. IE:
/home/user/public_html/ or C:\websites\www.mysite.com\ etc...
        Don't forget to remove comments! ;)
      -->
      <!--
        <Host name="[ENTER DOMAIN NAME]" appBase="webapps">
             <Context path="" docBase="[ENTER SYSTEM PATH]" />
        </Host>
      -->
	  <Host name="www.maxyexpress.co.uk" appBase="webapps">
             <Context path="" docBase="d:\wwwroot\maxyexpress.co.uk\wwwroot" />
			 <Alias>maxyexpress.co.uk</Alias>
        </Host>

    </Engine>
  </Service>
</Server>


On Thu, Sep 8, 2011 at 11:52 PM, Jordan Michaels <jo...@viviotech.net> wrote:
> IIS version doesn't matter as you're working directly with Tomcat's web
> server.
>
> Tested on w2k3 and it works for me.
>
> Try it without the VHost Copier and see if you get better results.
>
> -JM
>
> On 09/08/2011 02:58 PM, Russ Michaels wrote:
>>
>> yes 100%, no other version of the installer has ever been downloaded
>> in this server.
>> The localhost entry was changed the vhost copier plugin, but it
>> already didn't work before I installed this.
>>
>> the server we have been discussing is windows 2003 IIS6.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>



-- 
--

Russ Michaels

www.bluethunderinternet.com  : Business hosting services & solutions
www.cfmldeveloper.com        : ColdFusion developer community
www.michaels.me.uk           : my blog
www.cfsearch.com             : ColdFusion search engine

skype me                     : russmichaels

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


Re: tomcat manager not working

Posted by Jordan Michaels <jo...@viviotech.net>.
IIS version doesn't matter as you're working directly with Tomcat's web 
server.

Tested on w2k3 and it works for me.

Try it without the VHost Copier and see if you get better results.

-JM

On 09/08/2011 02:58 PM, Russ Michaels wrote:
> yes 100%, no other version of the installer has ever been downloaded
> in this server.
> The localhost entry was changed the vhost copier plugin, but it
> already didn't work before I installed this.
>
> the server we have been discussing is windows 2003 IIS6.

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


Re: tomcat manager not working

Posted by Russ Michaels <ru...@michaels.me.uk>.
yes 100%, no other version of the installer has ever been downloaded
in this server.
The localhost entry was changed the vhost copier plugin, but it
already didn't work before I installed this.

the server we have been discussing is windows 2003 IIS6.

On Thu, Sep 8, 2011 at 10:20 PM, Jordan Michaels <jo...@viviotech.net> wrote:
> Are you certain?
>
> That version of the installer doesn't update the Tomcat localhost entry. If
> your localhost entry was modified, that's not the version you used.
>
> Further, that version works for me using the URL's you specified.
>
> Which OS (be specific) are you having the trouble on?
>
> Warm regards,
> Jordan Michaels
>
> On 09/08/2011 02:05 PM, Russ Michaels wrote:
>>
>> railo-3.2.3.000-pl0-windows-installer.exe
>>
>>
>>
>> On Thu, Sep 8, 2011 at 10:03 PM, Jordan Michaels<jo...@viviotech.net>
>>  wrote:
>>>
>>> what version of the installer are you using?
>>>
>>> Warm regards,
>>> Jordan Michaels
>>>
>>> On 09/08/2011 01:59 PM, Russ Michaels wrote:
>>>>
>>>> service has been restart
>>>> cache has been cleared
>>>> the pages giving 404 are
>>>>
>>>> http://localhost:8888/manager/html
>>>> http://localhost:8888/manager/status
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>



-- 
--

Russ Michaels

www.bluethunderinternet.com  : Business hosting services & solutions
www.cfmldeveloper.com        : ColdFusion developer community
www.michaels.me.uk           : my blog
www.cfsearch.com             : ColdFusion search engine

skype me                     : russmichaels

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


Re: tomcat manager not working

Posted by Jordan Michaels <jo...@viviotech.net>.
Are you certain?

That version of the installer doesn't update the Tomcat localhost entry. 
If your localhost entry was modified, that's not the version you used.

Further, that version works for me using the URL's you specified.

Which OS (be specific) are you having the trouble on?

Warm regards,
Jordan Michaels

On 09/08/2011 02:05 PM, Russ Michaels wrote:
> railo-3.2.3.000-pl0-windows-installer.exe
>
>
>
> On Thu, Sep 8, 2011 at 10:03 PM, Jordan Michaels<jo...@viviotech.net>  wrote:
>> what version of the installer are you using?
>>
>> Warm regards,
>> Jordan Michaels
>>
>> On 09/08/2011 01:59 PM, Russ Michaels wrote:
>>>
>>> service has been restart
>>> cache has been cleared
>>> the pages giving 404 are
>>>
>>> http://localhost:8888/manager/html
>>> http://localhost:8888/manager/status
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
>
>

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


Re: tomcat manager not working

Posted by Russ Michaels <ru...@michaels.me.uk>.
railo-3.2.3.000-pl0-windows-installer.exe



On Thu, Sep 8, 2011 at 10:03 PM, Jordan Michaels <jo...@viviotech.net> wrote:
> what version of the installer are you using?
>
> Warm regards,
> Jordan Michaels
>
> On 09/08/2011 01:59 PM, Russ Michaels wrote:
>>
>> service has been restart
>> cache has been cleared
>> the pages giving 404 are
>>
>> http://localhost:8888/manager/html
>> http://localhost:8888/manager/status
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>



-- 
--

Russ Michaels

www.bluethunderinternet.com  : Business hosting services & solutions
www.cfmldeveloper.com        : ColdFusion developer community
www.michaels.me.uk           : my blog
www.cfsearch.com             : ColdFusion search engine

skype me                     : russmichaels

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


Re: tomcat manager not working

Posted by Jordan Michaels <jo...@viviotech.net>.
what version of the installer are you using?

Warm regards,
Jordan Michaels

On 09/08/2011 01:59 PM, Russ Michaels wrote:
> service has been restart
> cache has been cleared
> the pages giving 404 are
>
> http://localhost:8888/manager/html
> http://localhost:8888/manager/status

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


Re: tomcat manager not working

Posted by Russ Michaels <ru...@michaels.me.uk>.
service has been restart
cache has been cleared
the pages giving 404 are

http://localhost:8888/manager/html
http://localhost:8888/manager/status


On Thu, Sep 8, 2011 at 9:56 PM, Jordan Michaels <jo...@viviotech.net> wrote:
> Restart the service? Clear browser cache? What URL are you using?
>
> More information would be extremely helpful here.
>
> Warm regards,
> Jordan Michaels
>
> On 09/08/2011 01:54 PM, Russ Michaels wrote:
>>
>> that's how it was originally, I have changed it back to that and still
>> the same problem.
>> index.jsp works, but nothing else does, tomcat 404 error
>>
>>
>>
>> On Thu, Sep 8, 2011 at 9:49 PM, Jordan Michaels<jo...@viviotech.net>
>>  wrote:
>>>
>>> Don't use context at all in there. Your localhost entry should be:
>>>
>>>      <Host name="localhost"  appBase="webapps"
>>>            unpackWARs="true" autoDeploy="true"
>>>            xmlValidation="false" xmlNamespaceAware="false">
>>>      </Host>
>>>
>>> .. and that's it. Unless you deliberately want your default site to be
>>> the
>>> same as your IIS default site.
>>>
>>> Restart the tomcat service after you update the server.xml with the
>>> default
>>> loclahost entry, then hit your server at localhost:8888/index.jsp to get
>>> the
>>> default tomcat home page. You will be able to reach the rest of the
>>> tomcat
>>> apps from there.
>>>
>>> Warm regards,
>>> Jordan Michaels
>>>
>>> On 09/08/2011 01:40 PM, Russ Michaels wrote:
>>>>
>>>> tried that didn.t work.
>>>>
>>>> On a working server, my localhost entry is
>>>>
>>>> <Context docBase="%SystemDrive%/inetpub/wwwroot">
>>>>     <WatchedResource>WEB-INF/web.xml</WatchedResource>
>>>> </Context>
>>>>
>>>> and lochost:8888 gets me into the tomcat admin and it all works
>>>>
>>>> the non working server had the exact same entry, and I tried changing
>>>> it to point to the c:\railo\tomcat\webapps\root
>>>>
>>>>
>>>>
>>>> On Thu, Sep 8, 2011 at 9:06 PM, Jordan Michaels<jo...@viviotech.net>
>>>>  wrote:
>>>>>>
>>>>>> I have already tried the Railo forums and been told to come here as it
>>>>>> is a problem with Tomcat and not Railo.
>>>>>
>>>>> What? Link it, or it didn't happen.
>>>>>
>>>>> Check your localhost mapping in the Tomcat server.xml file. Make sure
>>>>> it's
>>>>> pointing to the Tomcat webapps/ROOT/ folder. Some earlier Railo builds
>>>>> update the default to point to the IIS root. The idea was to not
>>>>> confuse
>>>>> the
>>>>> IIS folks because their IIS webroot didn't match their Tomcat webroot,
>>>>> but
>>>>> that practice ended up causing just as much confusion as it solved -
>>>>> like
>>>>> in
>>>>> your case.
>>>>>
>>>>> Make sure the "localhost" server.xml mapping points to the tomcat
>>>>> webapps/ROOT/ directory and you should be set to use the Tomcat
>>>>> webapps.
>>>>>
>>>>> Warm regards,
>>>>> Jordan Michaels
>>>>>
>>>>> On 09/08/2011 12:57 PM, Russ Michaels wrote:
>>>>>>
>>>>>> I have already tried the Railo forums and been told to come here as it
>>>>>> is a problem with Tomcat and not Railo.
>>>>>> I think the only difference is the install path, it is put in
>>>>>> c:\railo\tomcat rather than c:\tomcat, so lets just work on that
>>>>>> assumption, i'm sure i'll find out pretty quick if that is not the
>>>>>> case.
>>>>>>
>>>>>> On Thu, Sep 8, 2011 at 8:31 PM,<ma...@apache.org>      wrote:
>>>>>>>
>>>>>>> Russ Michaels<ru...@michaels.me.uk>      wrote:
>>>>>>>
>>>>>>>> On Thu, Sep 8, 2011 at 7:08 PM, Christopher Schultz<
>>>>>>>> chris@christopherschultz.net>      wrote:
>>>>>>>>
>>>>>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>>>>>> Hash: SHA1
>>>>>>>>>
>>>>>>>>> Russ,
>>>>>>>>>
>>>>>>>>> On 9/8/2011 11:44 AM, Russ Michaels wrote:
>>>>>>>>>>
>>>>>>>>>> ok I have an Apache Tomcat installed via  the Railo installer from
>>>>>>>>>> www.getrailo.org
>>>>>>>>>
>>>>>>>>> Why not download directly from apache.org?
>>>>>>>>>
>>>>>>>> I use the railo installer so we have a standard configuration and
>>>>>>>> setup
>>>>>>>> across all server that is officially supported.
>>>>>>>
>>>>>>> Time to make use of that official support then as we have no idea
>>>>>>> what
>>>>>>> changes Railo may have made to the standard Tomcat distribution from
>>>>>>> the
>>>>>>> ASF.
>>>>>>>
>>>>>>> Mark
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>



-- 
--

Russ Michaels

www.bluethunderinternet.com  : Business hosting services & solutions
www.cfmldeveloper.com        : ColdFusion developer community
www.michaels.me.uk           : my blog
www.cfsearch.com             : ColdFusion search engine

skype me                     : russmichaels

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


Re: tomcat manager not working

Posted by Jordan Michaels <jo...@viviotech.net>.
Restart the service? Clear browser cache? What URL are you using?

More information would be extremely helpful here.

Warm regards,
Jordan Michaels

On 09/08/2011 01:54 PM, Russ Michaels wrote:
> that's how it was originally, I have changed it back to that and still
> the same problem.
> index.jsp works, but nothing else does, tomcat 404 error
>
>
>
> On Thu, Sep 8, 2011 at 9:49 PM, Jordan Michaels<jo...@viviotech.net>  wrote:
>> Don't use context at all in there. Your localhost entry should be:
>>
>>       <Host name="localhost"  appBase="webapps"
>>             unpackWARs="true" autoDeploy="true"
>>             xmlValidation="false" xmlNamespaceAware="false">
>>       </Host>
>>
>> .. and that's it. Unless you deliberately want your default site to be the
>> same as your IIS default site.
>>
>> Restart the tomcat service after you update the server.xml with the default
>> loclahost entry, then hit your server at localhost:8888/index.jsp to get the
>> default tomcat home page. You will be able to reach the rest of the tomcat
>> apps from there.
>>
>> Warm regards,
>> Jordan Michaels
>>
>> On 09/08/2011 01:40 PM, Russ Michaels wrote:
>>>
>>> tried that didn.t work.
>>>
>>> On a working server, my localhost entry is
>>>
>>> <Context docBase="%SystemDrive%/inetpub/wwwroot">
>>>      <WatchedResource>WEB-INF/web.xml</WatchedResource>
>>> </Context>
>>>
>>> and lochost:8888 gets me into the tomcat admin and it all works
>>>
>>> the non working server had the exact same entry, and I tried changing
>>> it to point to the c:\railo\tomcat\webapps\root
>>>
>>>
>>>
>>> On Thu, Sep 8, 2011 at 9:06 PM, Jordan Michaels<jo...@viviotech.net>
>>>   wrote:
>>>>>
>>>>> I have already tried the Railo forums and been told to come here as it
>>>>> is a problem with Tomcat and not Railo.
>>>>
>>>> What? Link it, or it didn't happen.
>>>>
>>>> Check your localhost mapping in the Tomcat server.xml file. Make sure
>>>> it's
>>>> pointing to the Tomcat webapps/ROOT/ folder. Some earlier Railo builds
>>>> update the default to point to the IIS root. The idea was to not confuse
>>>> the
>>>> IIS folks because their IIS webroot didn't match their Tomcat webroot,
>>>> but
>>>> that practice ended up causing just as much confusion as it solved - like
>>>> in
>>>> your case.
>>>>
>>>> Make sure the "localhost" server.xml mapping points to the tomcat
>>>> webapps/ROOT/ directory and you should be set to use the Tomcat webapps.
>>>>
>>>> Warm regards,
>>>> Jordan Michaels
>>>>
>>>> On 09/08/2011 12:57 PM, Russ Michaels wrote:
>>>>>
>>>>> I have already tried the Railo forums and been told to come here as it
>>>>> is a problem with Tomcat and not Railo.
>>>>> I think the only difference is the install path, it is put in
>>>>> c:\railo\tomcat rather than c:\tomcat, so lets just work on that
>>>>> assumption, i'm sure i'll find out pretty quick if that is not the
>>>>> case.
>>>>>
>>>>> On Thu, Sep 8, 2011 at 8:31 PM,<ma...@apache.org>      wrote:
>>>>>>
>>>>>> Russ Michaels<ru...@michaels.me.uk>      wrote:
>>>>>>
>>>>>>> On Thu, Sep 8, 2011 at 7:08 PM, Christopher Schultz<
>>>>>>> chris@christopherschultz.net>      wrote:
>>>>>>>
>>>>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>>>>> Hash: SHA1
>>>>>>>>
>>>>>>>> Russ,
>>>>>>>>
>>>>>>>> On 9/8/2011 11:44 AM, Russ Michaels wrote:
>>>>>>>>>
>>>>>>>>> ok I have an Apache Tomcat installed via  the Railo installer from
>>>>>>>>> www.getrailo.org
>>>>>>>>
>>>>>>>> Why not download directly from apache.org?
>>>>>>>>
>>>>>>> I use the railo installer so we have a standard configuration and
>>>>>>> setup
>>>>>>> across all server that is officially supported.
>>>>>>
>>>>>> Time to make use of that official support then as we have no idea what
>>>>>> changes Railo may have made to the standard Tomcat distribution from
>>>>>> the
>>>>>> ASF.
>>>>>>
>>>>>> Mark
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>
>>>>
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
>
>

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


Re: tomcat manager not working

Posted by Russ Michaels <ru...@michaels.me.uk>.
that's how it was originally, I have changed it back to that and still
the same problem.
index.jsp works, but nothing else does, tomcat 404 error



On Thu, Sep 8, 2011 at 9:49 PM, Jordan Michaels <jo...@viviotech.net> wrote:
> Don't use context at all in there. Your localhost entry should be:
>
>      <Host name="localhost"  appBase="webapps"
>            unpackWARs="true" autoDeploy="true"
>            xmlValidation="false" xmlNamespaceAware="false">
>      </Host>
>
> .. and that's it. Unless you deliberately want your default site to be the
> same as your IIS default site.
>
> Restart the tomcat service after you update the server.xml with the default
> loclahost entry, then hit your server at localhost:8888/index.jsp to get the
> default tomcat home page. You will be able to reach the rest of the tomcat
> apps from there.
>
> Warm regards,
> Jordan Michaels
>
> On 09/08/2011 01:40 PM, Russ Michaels wrote:
>>
>> tried that didn.t work.
>>
>> On a working server, my localhost entry is
>>
>> <Context docBase="%SystemDrive%/inetpub/wwwroot">
>>     <WatchedResource>WEB-INF/web.xml</WatchedResource>
>> </Context>
>>
>> and lochost:8888 gets me into the tomcat admin and it all works
>>
>> the non working server had the exact same entry, and I tried changing
>> it to point to the c:\railo\tomcat\webapps\root
>>
>>
>>
>> On Thu, Sep 8, 2011 at 9:06 PM, Jordan Michaels<jo...@viviotech.net>
>>  wrote:
>>>>
>>>> I have already tried the Railo forums and been told to come here as it
>>>> is a problem with Tomcat and not Railo.
>>>
>>> What? Link it, or it didn't happen.
>>>
>>> Check your localhost mapping in the Tomcat server.xml file. Make sure
>>> it's
>>> pointing to the Tomcat webapps/ROOT/ folder. Some earlier Railo builds
>>> update the default to point to the IIS root. The idea was to not confuse
>>> the
>>> IIS folks because their IIS webroot didn't match their Tomcat webroot,
>>> but
>>> that practice ended up causing just as much confusion as it solved - like
>>> in
>>> your case.
>>>
>>> Make sure the "localhost" server.xml mapping points to the tomcat
>>> webapps/ROOT/ directory and you should be set to use the Tomcat webapps.
>>>
>>> Warm regards,
>>> Jordan Michaels
>>>
>>> On 09/08/2011 12:57 PM, Russ Michaels wrote:
>>>>
>>>> I have already tried the Railo forums and been told to come here as it
>>>> is a problem with Tomcat and not Railo.
>>>> I think the only difference is the install path, it is put in
>>>> c:\railo\tomcat rather than c:\tomcat, so lets just work on that
>>>> assumption, i'm sure i'll find out pretty quick if that is not the
>>>> case.
>>>>
>>>> On Thu, Sep 8, 2011 at 8:31 PM,<ma...@apache.org>    wrote:
>>>>>
>>>>> Russ Michaels<ru...@michaels.me.uk>    wrote:
>>>>>
>>>>>> On Thu, Sep 8, 2011 at 7:08 PM, Christopher Schultz<
>>>>>> chris@christopherschultz.net>    wrote:
>>>>>>
>>>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>>>> Hash: SHA1
>>>>>>>
>>>>>>> Russ,
>>>>>>>
>>>>>>> On 9/8/2011 11:44 AM, Russ Michaels wrote:
>>>>>>>>
>>>>>>>> ok I have an Apache Tomcat installed via  the Railo installer from
>>>>>>>> www.getrailo.org
>>>>>>>
>>>>>>> Why not download directly from apache.org?
>>>>>>>
>>>>>> I use the railo installer so we have a standard configuration and
>>>>>> setup
>>>>>> across all server that is officially supported.
>>>>>
>>>>> Time to make use of that official support then as we have no idea what
>>>>> changes Railo may have made to the standard Tomcat distribution from
>>>>> the
>>>>> ASF.
>>>>>
>>>>> Mark
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>



-- 
--

Russ Michaels

www.bluethunderinternet.com  : Business hosting services & solutions
www.cfmldeveloper.com        : ColdFusion developer community
www.michaels.me.uk           : my blog
www.cfsearch.com             : ColdFusion search engine

skype me                     : russmichaels

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


Re: tomcat manager not working

Posted by Jordan Michaels <jo...@viviotech.net>.
Don't use context at all in there. Your localhost entry should be:

       <Host name="localhost"  appBase="webapps"
             unpackWARs="true" autoDeploy="true"
             xmlValidation="false" xmlNamespaceAware="false">
       </Host>

.. and that's it. Unless you deliberately want your default site to be 
the same as your IIS default site.

Restart the tomcat service after you update the server.xml with the 
default loclahost entry, then hit your server at 
localhost:8888/index.jsp to get the default tomcat home page. You will 
be able to reach the rest of the tomcat apps from there.

Warm regards,
Jordan Michaels

On 09/08/2011 01:40 PM, Russ Michaels wrote:
> tried that didn.t work.
>
> On a working server, my localhost entry is
>
> <Context docBase="%SystemDrive%/inetpub/wwwroot">
>      <WatchedResource>WEB-INF/web.xml</WatchedResource>
> </Context>
>
> and lochost:8888 gets me into the tomcat admin and it all works
>
> the non working server had the exact same entry, and I tried changing
> it to point to the c:\railo\tomcat\webapps\root
>
>
>
> On Thu, Sep 8, 2011 at 9:06 PM, Jordan Michaels<jo...@viviotech.net>  wrote:
>>> I have already tried the Railo forums and been told to come here as it
>>> is a problem with Tomcat and not Railo.
>>
>> What? Link it, or it didn't happen.
>>
>> Check your localhost mapping in the Tomcat server.xml file. Make sure it's
>> pointing to the Tomcat webapps/ROOT/ folder. Some earlier Railo builds
>> update the default to point to the IIS root. The idea was to not confuse the
>> IIS folks because their IIS webroot didn't match their Tomcat webroot, but
>> that practice ended up causing just as much confusion as it solved - like in
>> your case.
>>
>> Make sure the "localhost" server.xml mapping points to the tomcat
>> webapps/ROOT/ directory and you should be set to use the Tomcat webapps.
>>
>> Warm regards,
>> Jordan Michaels
>>
>> On 09/08/2011 12:57 PM, Russ Michaels wrote:
>>>
>>> I have already tried the Railo forums and been told to come here as it
>>> is a problem with Tomcat and not Railo.
>>> I think the only difference is the install path, it is put in
>>> c:\railo\tomcat rather than c:\tomcat, so lets just work on that
>>> assumption, i'm sure i'll find out pretty quick if that is not the
>>> case.
>>>
>>> On Thu, Sep 8, 2011 at 8:31 PM,<ma...@apache.org>    wrote:
>>>>
>>>> Russ Michaels<ru...@michaels.me.uk>    wrote:
>>>>
>>>>> On Thu, Sep 8, 2011 at 7:08 PM, Christopher Schultz<
>>>>> chris@christopherschultz.net>    wrote:
>>>>>
>>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>>> Hash: SHA1
>>>>>>
>>>>>> Russ,
>>>>>>
>>>>>> On 9/8/2011 11:44 AM, Russ Michaels wrote:
>>>>>>>
>>>>>>> ok I have an Apache Tomcat installed via  the Railo installer from
>>>>>>> www.getrailo.org
>>>>>>
>>>>>> Why not download directly from apache.org?
>>>>>>
>>>>> I use the railo installer so we have a standard configuration and setup
>>>>> across all server that is officially supported.
>>>>
>>>> Time to make use of that official support then as we have no idea what
>>>> changes Railo may have made to the standard Tomcat distribution from the
>>>> ASF.
>>>>
>>>> Mark
>>>>
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>
>>>>
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
>
>

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


Re: tomcat manager not working

Posted by Russ Michaels <ru...@michaels.me.uk>.
tried that didn.t work.

On a working server, my localhost entry is

<Context docBase="%SystemDrive%/inetpub/wwwroot">
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
</Context>

and lochost:8888 gets me into the tomcat admin and it all works

the non working server had the exact same entry, and I tried changing
it to point to the c:\railo\tomcat\webapps\root



On Thu, Sep 8, 2011 at 9:06 PM, Jordan Michaels <jo...@viviotech.net> wrote:
>> I have already tried the Railo forums and been told to come here as it
>> is a problem with Tomcat and not Railo.
>
> What? Link it, or it didn't happen.
>
> Check your localhost mapping in the Tomcat server.xml file. Make sure it's
> pointing to the Tomcat webapps/ROOT/ folder. Some earlier Railo builds
> update the default to point to the IIS root. The idea was to not confuse the
> IIS folks because their IIS webroot didn't match their Tomcat webroot, but
> that practice ended up causing just as much confusion as it solved - like in
> your case.
>
> Make sure the "localhost" server.xml mapping points to the tomcat
> webapps/ROOT/ directory and you should be set to use the Tomcat webapps.
>
> Warm regards,
> Jordan Michaels
>
> On 09/08/2011 12:57 PM, Russ Michaels wrote:
>>
>> I have already tried the Railo forums and been told to come here as it
>> is a problem with Tomcat and not Railo.
>> I think the only difference is the install path, it is put in
>> c:\railo\tomcat rather than c:\tomcat, so lets just work on that
>> assumption, i'm sure i'll find out pretty quick if that is not the
>> case.
>>
>> On Thu, Sep 8, 2011 at 8:31 PM,<ma...@apache.org>  wrote:
>>>
>>> Russ Michaels<ru...@michaels.me.uk>  wrote:
>>>
>>>> On Thu, Sep 8, 2011 at 7:08 PM, Christopher Schultz<
>>>> chris@christopherschultz.net>  wrote:
>>>>
>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>> Hash: SHA1
>>>>>
>>>>> Russ,
>>>>>
>>>>> On 9/8/2011 11:44 AM, Russ Michaels wrote:
>>>>>>
>>>>>> ok I have an Apache Tomcat installed via  the Railo installer from
>>>>>> www.getrailo.org
>>>>>
>>>>> Why not download directly from apache.org?
>>>>>
>>>> I use the railo installer so we have a standard configuration and setup
>>>> across all server that is officially supported.
>>>
>>> Time to make use of that official support then as we have no idea what
>>> changes Railo may have made to the standard Tomcat distribution from the
>>> ASF.
>>>
>>> Mark
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>



-- 
--

Russ Michaels

www.bluethunderinternet.com  : Business hosting services & solutions
www.cfmldeveloper.com        : ColdFusion developer community
www.michaels.me.uk           : my blog
www.cfsearch.com             : ColdFusion search engine

skype me                     : russmichaels

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


Re: tomcat manager not working

Posted by Jordan Michaels <jo...@viviotech.net>.
 > I have already tried the Railo forums and been told to come here as it
 > is a problem with Tomcat and not Railo.

What? Link it, or it didn't happen.

Check your localhost mapping in the Tomcat server.xml file. Make sure 
it's pointing to the Tomcat webapps/ROOT/ folder. Some earlier Railo 
builds update the default to point to the IIS root. The idea was to not 
confuse the IIS folks because their IIS webroot didn't match their 
Tomcat webroot, but that practice ended up causing just as much 
confusion as it solved - like in your case.

Make sure the "localhost" server.xml mapping points to the tomcat 
webapps/ROOT/ directory and you should be set to use the Tomcat webapps.

Warm regards,
Jordan Michaels

On 09/08/2011 12:57 PM, Russ Michaels wrote:
> I have already tried the Railo forums and been told to come here as it
> is a problem with Tomcat and not Railo.
> I think the only difference is the install path, it is put in
> c:\railo\tomcat rather than c:\tomcat, so lets just work on that
> assumption, i'm sure i'll find out pretty quick if that is not the
> case.
>
> On Thu, Sep 8, 2011 at 8:31 PM,<ma...@apache.org>  wrote:
>> Russ Michaels<ru...@michaels.me.uk>  wrote:
>>
>>> On Thu, Sep 8, 2011 at 7:08 PM, Christopher Schultz<
>>> chris@christopherschultz.net>  wrote:
>>>
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>> Hash: SHA1
>>>>
>>>> Russ,
>>>>
>>>> On 9/8/2011 11:44 AM, Russ Michaels wrote:
>>>>> ok I have an Apache Tomcat installed via  the Railo installer from
>>>>> www.getrailo.org
>>>>
>>>> Why not download directly from apache.org?
>>>>
>>> I use the railo installer so we have a standard configuration and setup
>>> across all server that is officially supported.
>>
>> Time to make use of that official support then as we have no idea what changes Railo may have made to the standard Tomcat distribution from the ASF.
>>
>> Mark
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
>
>

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


Re: tomcat manager not working

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Russ,

On 9/8/2011 3:57 PM, Russ Michaels wrote:
> I have already tried the Railo forums and been told to come here as
> it is a problem with Tomcat and not Railo.

So, their out-of-the-box configuration doesn't work and it's a Tomcat
problem? :(

> I think the only difference is the install path, it is put in 
> c:\railo\tomcat rather than c:\tomcat, so lets just work on that 
> assumption, i'm sure i'll find out pretty quick if that is not the 
> case.

Are you using any kind of proxy out front, or straight-to-Tomcat?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5pJgsACgkQ9CaO5/Lv0PBbPQCeK7uzkAY09nrYhrG5IY9d9WTP
IUgAoK3UblzxuzdeafKZLvOT4eUp8JpT
=k+0K
-----END PGP SIGNATURE-----

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


Re: tomcat manager not working

Posted by Russ Michaels <ru...@michaels.me.uk>.
I have already tried the Railo forums and been told to come here as it
is a problem with Tomcat and not Railo.
I think the only difference is the install path, it is put in
c:\railo\tomcat rather than c:\tomcat, so lets just work on that
assumption, i'm sure i'll find out pretty quick if that is not the
case.

On Thu, Sep 8, 2011 at 8:31 PM,  <ma...@apache.org> wrote:
> Russ Michaels <ru...@michaels.me.uk> wrote:
>
>>On Thu, Sep 8, 2011 at 7:08 PM, Christopher Schultz <
>>chris@christopherschultz.net> wrote:
>>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Russ,
>>>
>>> On 9/8/2011 11:44 AM, Russ Michaels wrote:
>>> > ok I have an Apache Tomcat installed via  the Railo installer from
>>> > www.getrailo.org
>>>
>>> Why not download directly from apache.org?
>>>
>>I use the railo installer so we have a standard configuration and setup
>>across all server that is officially supported.
>
> Time to make use of that official support then as we have no idea what changes Railo may have made to the standard Tomcat distribution from the ASF.
>
> Mark
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>



-- 
--

Russ Michaels

www.bluethunderinternet.com  : Business hosting services & solutions
www.cfmldeveloper.com        : ColdFusion developer community
www.michaels.me.uk           : my blog
www.cfsearch.com             : ColdFusion search engine

skype me                     : russmichaels

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


Re: tomcat manager not working

Posted by ma...@apache.org.
Russ Michaels <ru...@michaels.me.uk> wrote:

>On Thu, Sep 8, 2011 at 7:08 PM, Christopher Schultz <
>chris@christopherschultz.net> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Russ,
>>
>> On 9/8/2011 11:44 AM, Russ Michaels wrote:
>> > ok I have an Apache Tomcat installed via  the Railo installer from
>> > www.getrailo.org
>>
>> Why not download directly from apache.org?
>>
>I use the railo installer so we have a standard configuration and setup
>across all server that is officially supported.

Time to make use of that official support then as we have no idea what changes Railo may have made to the standard Tomcat distribution from the ASF.

Mark




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


Re: tomcat manager not working

Posted by Russ Michaels <ru...@michaels.me.uk>.
On Thu, Sep 8, 2011 at 7:08 PM, Christopher Schultz <
chris@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Russ,
>
> On 9/8/2011 11:44 AM, Russ Michaels wrote:
> > ok I have an Apache Tomcat installed via  the Railo installer from
> > www.getrailo.org
>
> Why not download directly from apache.org?
>
I use the railo installer so we have a standard configuration and setup
across all server that is officially supported. I also don;t have any
previous experience with tomcat so this is also easier.

>
> > sometimes when I install it  the Tomcat admin pages (status,
> > tomcat manager) do not work, only the main page is working.
>
> Have those webapps been installed?
>
I presume so, under tomcat/webapps I have
root
docs
host-manager
manager


>
> Have you properly configured Tomcat to allow the manager app to work
> with proper user permissions?
>
I have not had to do anything special on other servers, it just worked out
of the box.

>
> What happens when you try to access, say, the manager webapp? 404?
> 403? Server crash? Power outage?I get a 404.on those pages.


404

>
> > I have compared it to working installs and everything seems the
> > same.
>
> Specifically, what have you checked?
>
on the servers I compared I have checked the config files are the same, the
same files and folders exist on both servers, the handle rmappings are there
etc.
Railo app works, so tomcat itself is working.

>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk5pBKsACgkQ9CaO5/Lv0PDyqwCfYg1V7CLKFnJcIckq7h1C0cUE
> aKQAoKD9ibJV75grPXzMK4L8/rfCsVCi
> =/qOk
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Russ

Re: tomcat manager not working

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Russ,

On 9/8/2011 11:44 AM, Russ Michaels wrote:
> ok I have an Apache Tomcat installed via  the Railo installer from 
> www.getrailo.org

Why not download directly from apache.org?

> sometimes when I install it  the Tomcat admin pages (status,
> tomcat manager) do not work, only the main page is working.

Have those webapps been installed?

Have you properly configured Tomcat to allow the manager app to work
with proper user permissions?

What happens when you try to access, say, the manager webapp? 404?
403? Server crash? Power outage?

> I have compared it to working installs and everything seems the
> same.

Specifically, what have you checked?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5pBKsACgkQ9CaO5/Lv0PDyqwCfYg1V7CLKFnJcIckq7h1C0cUE
aKQAoKD9ibJV75grPXzMK4L8/rfCsVCi
=/qOk
-----END PGP SIGNATURE-----

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