How to set the correct windows path for tomcat webapps configuration
up vote
0
down vote
favorite
I am planning to change the webapps folder in tomcat server to use another folder.
I got to know that to do this we need to change appBase attribute in server.xml file, but how to give the full path in windows environment?
It is not detecting if I give something like below
<Host name="localhost" appBase="C:Userswebapps"
unpackWARs="true" autoDeploy="true">
Could you please suggest how to do it. I am new to using tomcat
java apache tomcat java-6
add a comment |
up vote
0
down vote
favorite
I am planning to change the webapps folder in tomcat server to use another folder.
I got to know that to do this we need to change appBase attribute in server.xml file, but how to give the full path in windows environment?
It is not detecting if I give something like below
<Host name="localhost" appBase="C:Userswebapps"
unpackWARs="true" autoDeploy="true">
Could you please suggest how to do it. I am new to using tomcat
java apache tomcat java-6
Try using/
instead of, since the
is sometimes used as an escape character.
– Andreas
Nov 8 at 23:02
You mean 'C:/Users/webapps'? I tried it but no use
– Kalyan Kumar
Nov 8 at 23:05
Yes, that's what I meant. StackOverflow messed up my comment, because it also treatsas an escape character.
– Andreas
Nov 8 at 23:08
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am planning to change the webapps folder in tomcat server to use another folder.
I got to know that to do this we need to change appBase attribute in server.xml file, but how to give the full path in windows environment?
It is not detecting if I give something like below
<Host name="localhost" appBase="C:Userswebapps"
unpackWARs="true" autoDeploy="true">
Could you please suggest how to do it. I am new to using tomcat
java apache tomcat java-6
I am planning to change the webapps folder in tomcat server to use another folder.
I got to know that to do this we need to change appBase attribute in server.xml file, but how to give the full path in windows environment?
It is not detecting if I give something like below
<Host name="localhost" appBase="C:Userswebapps"
unpackWARs="true" autoDeploy="true">
Could you please suggest how to do it. I am new to using tomcat
java apache tomcat java-6
java apache tomcat java-6
asked Nov 8 at 22:47
Kalyan Kumar
15
15
Try using/
instead of, since the
is sometimes used as an escape character.
– Andreas
Nov 8 at 23:02
You mean 'C:/Users/webapps'? I tried it but no use
– Kalyan Kumar
Nov 8 at 23:05
Yes, that's what I meant. StackOverflow messed up my comment, because it also treatsas an escape character.
– Andreas
Nov 8 at 23:08
add a comment |
Try using/
instead of, since the
is sometimes used as an escape character.
– Andreas
Nov 8 at 23:02
You mean 'C:/Users/webapps'? I tried it but no use
– Kalyan Kumar
Nov 8 at 23:05
Yes, that's what I meant. StackOverflow messed up my comment, because it also treatsas an escape character.
– Andreas
Nov 8 at 23:08
Try using
/
instead of
, since the
is sometimes used as an escape character.– Andreas
Nov 8 at 23:02
Try using
/
instead of
, since the
is sometimes used as an escape character.– Andreas
Nov 8 at 23:02
You mean 'C:/Users/webapps'? I tried it but no use
– Kalyan Kumar
Nov 8 at 23:05
You mean 'C:/Users/webapps'? I tried it but no use
– Kalyan Kumar
Nov 8 at 23:05
Yes, that's what I meant. StackOverflow messed up my comment, because it also treats
as an escape character.– Andreas
Nov 8 at 23:08
Yes, that's what I meant. StackOverflow messed up my comment, because it also treats
as an escape character.– Andreas
Nov 8 at 23:08
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
It's probably escaping your backslashes. Try this:
appBase="C:\Users\webapps"
Tried that also
– Kalyan Kumar
Nov 8 at 23:04
can you try appBase="file:C:/Users/webapps" Also check your permissions on that folder to make sure tomcat can acces it.
– Justin
Nov 8 at 23:14
Hi, I tired using that, but no use
– Kalyan Kumar
Nov 8 at 23:33
did you try the solutions from this post? stackoverflow.com/questions/495457/…
– Justin
Nov 9 at 0:15
Yes I tried all of them, but my doubt is why different ways are working for different people even from the link that you shared?
– Kalyan Kumar
Nov 9 at 0:44
|
show 1 more comment
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
It's probably escaping your backslashes. Try this:
appBase="C:\Users\webapps"
Tried that also
– Kalyan Kumar
Nov 8 at 23:04
can you try appBase="file:C:/Users/webapps" Also check your permissions on that folder to make sure tomcat can acces it.
– Justin
Nov 8 at 23:14
Hi, I tired using that, but no use
– Kalyan Kumar
Nov 8 at 23:33
did you try the solutions from this post? stackoverflow.com/questions/495457/…
– Justin
Nov 9 at 0:15
Yes I tried all of them, but my doubt is why different ways are working for different people even from the link that you shared?
– Kalyan Kumar
Nov 9 at 0:44
|
show 1 more comment
up vote
0
down vote
It's probably escaping your backslashes. Try this:
appBase="C:\Users\webapps"
Tried that also
– Kalyan Kumar
Nov 8 at 23:04
can you try appBase="file:C:/Users/webapps" Also check your permissions on that folder to make sure tomcat can acces it.
– Justin
Nov 8 at 23:14
Hi, I tired using that, but no use
– Kalyan Kumar
Nov 8 at 23:33
did you try the solutions from this post? stackoverflow.com/questions/495457/…
– Justin
Nov 9 at 0:15
Yes I tried all of them, but my doubt is why different ways are working for different people even from the link that you shared?
– Kalyan Kumar
Nov 9 at 0:44
|
show 1 more comment
up vote
0
down vote
up vote
0
down vote
It's probably escaping your backslashes. Try this:
appBase="C:\Users\webapps"
It's probably escaping your backslashes. Try this:
appBase="C:\Users\webapps"
answered Nov 8 at 23:03
Justin
37618
37618
Tried that also
– Kalyan Kumar
Nov 8 at 23:04
can you try appBase="file:C:/Users/webapps" Also check your permissions on that folder to make sure tomcat can acces it.
– Justin
Nov 8 at 23:14
Hi, I tired using that, but no use
– Kalyan Kumar
Nov 8 at 23:33
did you try the solutions from this post? stackoverflow.com/questions/495457/…
– Justin
Nov 9 at 0:15
Yes I tried all of them, but my doubt is why different ways are working for different people even from the link that you shared?
– Kalyan Kumar
Nov 9 at 0:44
|
show 1 more comment
Tried that also
– Kalyan Kumar
Nov 8 at 23:04
can you try appBase="file:C:/Users/webapps" Also check your permissions on that folder to make sure tomcat can acces it.
– Justin
Nov 8 at 23:14
Hi, I tired using that, but no use
– Kalyan Kumar
Nov 8 at 23:33
did you try the solutions from this post? stackoverflow.com/questions/495457/…
– Justin
Nov 9 at 0:15
Yes I tried all of them, but my doubt is why different ways are working for different people even from the link that you shared?
– Kalyan Kumar
Nov 9 at 0:44
Tried that also
– Kalyan Kumar
Nov 8 at 23:04
Tried that also
– Kalyan Kumar
Nov 8 at 23:04
can you try appBase="file:C:/Users/webapps" Also check your permissions on that folder to make sure tomcat can acces it.
– Justin
Nov 8 at 23:14
can you try appBase="file:C:/Users/webapps" Also check your permissions on that folder to make sure tomcat can acces it.
– Justin
Nov 8 at 23:14
Hi, I tired using that, but no use
– Kalyan Kumar
Nov 8 at 23:33
Hi, I tired using that, but no use
– Kalyan Kumar
Nov 8 at 23:33
did you try the solutions from this post? stackoverflow.com/questions/495457/…
– Justin
Nov 9 at 0:15
did you try the solutions from this post? stackoverflow.com/questions/495457/…
– Justin
Nov 9 at 0:15
Yes I tried all of them, but my doubt is why different ways are working for different people even from the link that you shared?
– Kalyan Kumar
Nov 9 at 0:44
Yes I tried all of them, but my doubt is why different ways are working for different people even from the link that you shared?
– Kalyan Kumar
Nov 9 at 0:44
|
show 1 more comment
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53217312%2fhow-to-set-the-correct-windows-path-for-tomcat-webapps-configuration%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Try using
/
instead of, since the
is sometimes used as an escape character.
– Andreas
Nov 8 at 23:02
You mean 'C:/Users/webapps'? I tried it but no use
– Kalyan Kumar
Nov 8 at 23:05
Yes, that's what I meant. StackOverflow messed up my comment, because it also treats
as an escape character.
– Andreas
Nov 8 at 23:08