Host & Context - Unpacking of WARs

2002-11-27 Thread Andoni
Hello,

I have two configurations: 1st one works 2nd doesn't. I want to get the 2nd
to work though as it stops .war files unpacking.  Can anyone tell me how to
make the 2nd one work?  The error I get is:

Forbidden
You don't have permission to access / on this server.

But I think that's coming from the Apache server so it isn't even getting to
tomcat?

Thanks,
Andoni.

 
 andoni.[mydomain].ie
 
 
 

 
 andoni.[mydomain].ie
 
 
 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Host & Context - Unpacking of WARs

2002-11-27 Thread David Brown
Andoni writes: 

Hello, 

I have two configurations: 1st one works 2nd doesn't. I want to get the 2nd
to work though as it stops .war files unpacking.  Can anyone tell me how to
make the 2nd one work?  The error I get is: 

Forbidden
You don't have permission to access / on this server. 

But I think that's coming from the Apache server so it isn't even getting to
tomcat? 

Thanks,
Andoni. 

 
  appBase="webapps/animo"
  unpackWARs="true">
 andoni.[mydomain].ie
 
  docBase=""
  debug="0"
  workDir="[disk_name]/apache/jakarta/tomcat/work/animo"
  reloadable="false">
 
  

 
  appBase="webapps/animo.war"
  unpackWARs="false">
 andoni.[mydomain].ie
 
  docBase=""
  debug="0"
  workDir="[disk_name]/apache/jakarta/tomcat/work/animo"
  reloadable="false">
 
  


--
To unsubscribe, e-mail:   
For additional commands, e-mail:  




Hello Andoni, so did u look at ur httpd.conf directives:  where  is the web 
app u have defined 4 tc to unpack. i don't see how the web app can execute 
if unpackWARS="false". r u defining a web.xml at all or r u only interested 
in configuring server.xml? thanx, david. 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 



Re: Host & Context - Unpacking of WARs

2002-11-27 Thread Andoni
unpackwars="false" should only mean that the app runs from the packed .war
file, or so the Tomcat documentation seems to say.

I do also have a web.xml but I don't see where this comes in to the
configuration of the  elements?

Andoni.
- Original Message -
From: "David Brown" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 27, 2002 11:47 AM
Subject: Re: Host & Context - Unpacking of WARs


> Andoni writes:
>
> > Hello,
> >
> > I have two configurations: 1st one works 2nd doesn't. I want to get the
2nd
> > to work though as it stops .war files unpacking.  Can anyone tell me how
to
> > make the 2nd one work?  The error I get is:
> >
> > Forbidden
> > You don't have permission to access / on this server.
> >
> > But I think that's coming from the Apache server so it isn't even
getting to
> > tomcat?
> >
> > Thanks,
> > Andoni.
> >
> >   >   appBase="webapps/animo"
> >   unpackWARs="true">
> >  andoni.[mydomain].ie
> >   >   docBase=""
> >   debug="0"
> >   workDir="[disk_name]/apache/jakarta/tomcat/work/animo"
> >   reloadable="false">
> >  
> >  
> >
> >   >   appBase="webapps/animo.war"
> >   unpackWARs="false">
> >  andoni.[mydomain].ie
> >   >   docBase=""
> >   debug="0"
> >   workDir="[disk_name]/apache/jakarta/tomcat/work/animo"
> >   reloadable="false">
> >  
> >  
> >
> >
> > --
> > To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> >
>
>
>
> Hello Andoni, so did u look at ur httpd.conf directives:   apache. tc looks at "/" as docbase or appbase root so what u have in ur
war
> file becomes / where  is the web
> app u have defined 4 tc to unpack. i don't see how the web app can execute
> if unpackWARS="false". r u defining a web.xml at all or r u only
interested
> in configuring server.xml? thanx, david.
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Host & Context - Unpacking of WARs

2002-11-27 Thread Glenn Nielsen
Your second  config sets the appBase to a war file, this is not valid,
it has to be a directory.

Glenn

Andoni wrote:

Hello,

I have two configurations: 1st one works 2nd doesn't. I want to get the 2nd
to work though as it stops .war files unpacking.  Can anyone tell me how to
make the 2nd one work?  The error I get is:

Forbidden
You don't have permission to access / on this server.

But I think that's coming from the Apache server so it isn't even getting to
tomcat?

Thanks,
Andoni.

 
 andoni.[mydomain].ie
 
 
 

 
 andoni.[mydomain].ie
 
 
 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 





--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Host & Context - Unpacking of WARs

2002-11-27 Thread David Brown
Andoni writes: 

unpackwars="false" should only mean that the app runs from the packed .war
file, or so the Tomcat documentation seems to say. 

I do also have a web.xml but I don't see where this comes in to the
configuration of the  elements? 

Andoni.
- Original Message -
From: "David Brown" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 27, 2002 11:47 AM
Subject: Re: Host & Context - Unpacking of WARs 


Andoni writes: 

> Hello,
>
> I have two configurations: 1st one works 2nd doesn't. I want to get the
2nd

> to work though as it stops .war files unpacking.  Can anyone tell me how

to

> make the 2nd one work?  The error I get is:
>
> Forbidden
> You don't have permission to access / on this server.
>
> But I think that's coming from the Apache server so it isn't even

getting to

> tomcat?
>
> Thanks,
> Andoni.
>
> appBase="webapps/animo"
>   unpackWARs="true">
>  andoni.[mydomain].ie
> docBase=""
>   debug="0"
>   workDir="[disk_name]/apache/jakarta/tomcat/work/animo"
>   reloadable="false">
>  
>  
>
> appBase="webapps/animo.war"
>   unpackWARs="false">
>  andoni.[mydomain].ie
> docBase=""
>   debug="0"
>   workDir="[disk_name]/apache/jakarta/tomcat/work/animo"
>   reloadable="false">
>  
>  
>
>
> --
> To unsubscribe, e-mail:

<mailto:[EMAIL PROTECTED]>

> For additional commands, e-mail:

<mailto:[EMAIL PROTECTED]>

> 



Hello Andoni, so did u look at ur httpd.conf directives: 

apache. tc looks at "/" as docbase or appbase root so what u have in ur
war

file becomes / where  is the web
app u have defined 4 tc to unpack. i don't see how the web app can execute
if unpackWARS="false". r u defining a web.xml at all or r u only

interested

in configuring server.xml? thanx, david. 

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>

For additional commands, e-mail:

<mailto:[EMAIL PROTECTED]>




 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> 




Hello Andoni, for sake of experimentation or argument try a minimally 
uncommented server.xml and go w/ ur web.xml (below WEB-INF not 
$CATALINE_HOME/conf/web.xml). in fact this begs the question: WEB-INF is 
created when the .war file is unpacked. this is the whole beauty of .ear, 
.war, .jar techonoly namely one word: deployment. i have 4 domains running 
and a lot of servlets and jsp running over the range of tc services running 
both http and https. i can make any number of reasonable changes, update and 
redeploy w/o a user so much as noticing a hiccup. all of dev is more or less 
directly from tc docs reflected in books, online how-to's and ml's such as 
this one. follow the instructions of these resource and u should succeed. 
that's my $0.02, david.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Re: Host & Context - Unpacking of WARs

2002-11-27 Thread Andoni
Unfortunately I have followed all the instructions to the letter and things
are not well.

I can get my whole config to work but I can't get the perks I was really
looking forward to having.
1. I have to manually unzip .war files into the webapps directory
2. I can't have webapps work directly from the unpacked war files.

Ah well, I'll plod along the inconvenient way.  It must at this stage be a
bug in the porting of Tomcat to OpenVMS as I cannot see any config that
works.

Later,
Andoni.

- Original Message -
From: "David Brown" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 27, 2002 1:58 PM
Subject: Re: Host & Context - Unpacking of WARs


> Andoni writes:
>
> > unpackwars="false" should only mean that the app runs from the packed
.war
> > file, or so the Tomcat documentation seems to say.
> >
> > I do also have a web.xml but I don't see where this comes in to the
> > configuration of the  elements?
> >
> > Andoni.
> > - Original Message -
> > From: "David Brown" <[EMAIL PROTECTED]>
> > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > Sent: Wednesday, November 27, 2002 11:47 AM
> > Subject: Re: Host & Context - Unpacking of WARs
> >
> >
> >> Andoni writes:
> >>
> >> > Hello,
> >> >
> >> > I have two configurations: 1st one works 2nd doesn't. I want to get
the
> > 2nd
> >> > to work though as it stops .war files unpacking.  Can anyone tell me
how
> > to
> >> > make the 2nd one work?  The error I get is:
> >> >
> >> > Forbidden
> >> > You don't have permission to access / on this server.
> >> >
> >> > But I think that's coming from the Apache server so it isn't even
> > getting to
> >> > tomcat?
> >> >
> >> > Thanks,
> >> > Andoni.
> >> >
> >> >   >> >   appBase="webapps/animo"
> >> >   unpackWARs="true">
> >> >  andoni.[mydomain].ie
> >> >   >> >   docBase=""
> >> >   debug="0"
> >> >   workDir="[disk_name]/apache/jakarta/tomcat/work/animo"
> >> >   reloadable="false">
> >> >  
> >> >  
> >> >
> >> >   >> >   appBase="webapps/animo.war"
> >> >   unpackWARs="false">
> >> >  andoni.[mydomain].ie
> >> >   >> >   docBase=""
> >> >   debug="0"
> >> >   workDir="[disk_name]/apache/jakarta/tomcat/work/animo"
> >> >   reloadable="false">
> >> >  
> >> >  
> >> >
> >> >
> >> > --
> >> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >> >
> >>
> >>
> >>
> >> Hello Andoni, so did u look at ur httpd.conf directives:  >>  >> apache. tc looks at "/" as docbase or appbase root so what u have in ur
> > war
> >> file becomes / where  is the
web
> >> app u have defined 4 tc to unpack. i don't see how the web app can
execute
> >> if unpackWARS="false". r u defining a web.xml at all or r u only
> > interested
> >> in configuring server.xml? thanx, david.
> >>
> >> --
> >> To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >> For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >>
> >>
> >
> >
> > --
> > To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> >
>
>
>
> Hello Andoni, for sake of experimentation or argument try a minimally
> uncommented server.xml and go w/ ur web.xml (below WEB-INF not
> $CATALINE_HOME/conf/web.xml). in fact this begs the question: WEB-INF is
> created when the .war file is unpacked. this is the whole beauty of .ear,
> .war, .jar techonoly namely one word: deployment. i have 4 domains running
> and a lot of servlets and jsp running over the range of tc services
running
> both http and https. i can make any number of reasonable changes, update
and
> redeploy w/o a user so much as noticing a hiccup. all of dev is more or
less
> directly from tc docs reflected in books, online how-to's and ml's such as
> this one. follow the instructions of these resource and u should succeed.
> that's my $0.02, david.
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Host & Context - Unpacking of WARs

2002-11-28 Thread RXZ JLo
For the applications deployed through WAR files, where
do I specify attributes like reloadable?

thanks.
rf

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Host & Context - Unpacking of WARs

2002-11-28 Thread Kwok Peng Tuck
For the context of the webapp in the server.xml .


RXZ JLo wrote:


For the applications deployed through WAR files, where
do I specify attributes like reloadable?

thanks.
rf

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


 




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Host & Context - Unpacking of WARs

2002-11-29 Thread RXZ JLo
On linux, for tomcat 4.0.6, even without a context in
server.xml, my classes got reloaded (ie., the webapp
restarted) - no reloadable=true in server.xml

Is this correct?



--- Kwok Peng Tuck <[EMAIL PROTECTED]> wrote:
> For the context of the webapp in the server.xml .
> 
> 
> RXZ JLo wrote:
> 
> >For the applications deployed through WAR files,
> where
> >do I specify attributes like reloadable?
> >
> >thanks.
> >rf
> >
> >__
> >Do you Yahoo!?
> >Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> >http://mailplus.yahoo.com
> >
> >--
> >To unsubscribe, e-mail:  
> 
> >For additional commands, e-mail:
> 
> >
> >
> >  
> >
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Host & Context - Unpacking of WARs

2002-11-29 Thread David Brown
Kwok Peng Tuck writes: 

For the context of the webapp in the server.xml . 


RXZ JLo wrote: 

For the applications deployed through WAR files, where
do I specify attributes like reloadable? 

thanks.
rf 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com 

--
To unsubscribe, e-mail:   

For additional commands, e-mail: 
 


  

 


--
To unsubscribe, e-mail:   

For additional commands, e-mail: 
 




Hello rf, try server.xml. david. 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: