Apachecon 2001 paper

2002-08-12 Thread Mark Gordon

Does anyone know where I can get a copy of the paper Tomcat Server and
Application
Security delivered at Apachecon 2001

with thanks

Mark


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




Re: web hosting

2002-02-08 Thread Mark Gordon

I am new to the apache/tomcat environment.  I have been developing 
web-apps using resin as http and servlet containerso

from what I have seen we have to add an entry to the httpd.conf file 
denoting the web-app.  so you can't auto-deploy.  Is this correct?

The apache/tomcat environment seems to be more easily hosed up (to use 
a technical term) by the users apps.  When using just tomcat the users 
can remove their webapps and redeploy them without shutting down tomcat. 
 I can't get the manager app to deploy and remove webapps from 
tomcat when using apache as the http and tomcat as the servlet container.

The manager will start and stop web apps but not install and remove 
them.  It seems to work... but the web app does not work.   I posted a 
message about this but didn't get a response.

Thanks
Mark


Micael Padraig Og mac Grene wrote:

 Why does the use of Apache preclude installing and so on web apps?
 
 At 12:54 PM 2/6/02 -0700, you wrote:
 
 I have a friend that is hosting a apache/tomcat machine for a couple 
 of people.

 We are running apache and tomcat 4.0.1

 Does anyone know a resource for information on how to set this 
 environment up so that each user can manage his/her webapps within 
 tomcat.  We cannot restart tomcat (no password) and it is a pain to 
 email our friend and have him do it all the time.  Plus restarting 
 tomcat shuts everyone else down :-(

 We are using manager but we can't redeploy because of apache as the 
 web server.  We can't add new web apps for this reason also.

 Thanks
 Mark


 -- 
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

 
 
 
 -- 
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




web hosting

2002-02-06 Thread Mark Gordon


I have a friend that is hosting a apache/tomcat machine for a couple of 
people.

We are running apache and tomcat 4.0.1

Does anyone know a resource for information on how to set this 
environment up so that each user can manage his/her webapps within 
tomcat.  We cannot restart tomcat (no password) and it is a pain to 
email our friend and have him do it all the time.  Plus restarting 
tomcat shuts everyone else down :-(

We are using manager but we can't redeploy because of apache as the web 
server.  We can't add new web apps for this reason also.

Thanks
Mark


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




tomcat apache mod_webapp and manager

2002-01-31 Thread Mark Gordon


I have a simple set up where I am using tomcat 4.0.1 and apache with 
mod_webapp.

I have a couple of webapps and I am trying to use the manage web app to 
start/stop install/remove them.

Everything works great if I am just using tomcat  (for both http and 
servlet/jsp)

When I use mod_webapp (apache  tomcat) I can do everything but install 
the webapp.   I can start/stop/remove.  Install looks like it works and 
when I list the web apps it is installed. but when I try to access the 
webapp I get the following error in my log file:

Thanks,

mark

2002-01-31 18:14:59 WarpEngine[Apache]: Mapping request
2002-01-31 18:14:59 [org.apache.catalina.connector.warp.WarpRequestHandler]
java.lang.NullPointerException
 at 
org.apache.catalina.connector.warp.WarpEngine.map(WarpEngine.java)
 at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java)
 at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java)
 at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java)
 at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java)
 at 
org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHandler.java)
 at 
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java)
 at java.lang.Thread.run(Thread.java:484)



Host section of my server.xml

   !-- Define the default virtual host --
   Host reloadable=true name=mark debug=0 
appBase=webapps-deploy unpackWARs=true

 Valve className=org.apache.catalina.valves.AccessLogValve
  directory=logs  prefix=localhost_access_log. 
suffix=.txt
  pattern=common/

 !-- Tomcat Manager Context --
 Context path=/manager docBase=manager
  debug=0 privileged=true/

 Context docBase=registration path=/registration 
reloadable=true debug=0

 Logger className=org.apache.catalina.logger.FileLogger
 directory=logs  prefix=regstration_log. suffix=.txt
 timestamp=true/

 /Context

 Context docBase=Gallery path=/Gallery reloadable=true 
debug=0

 Logger className=org.apache.catalina.logger.FileLogger
 directory=logs  prefix=Gallery_log. suffix=.txt
 timestamp=true/


 /Context

   /Host



httpd.conf webapp secion

VirtualHost *
 ServerName mark
 DocumentRoot /home/mcgordon/pws/webroot
 WebAppConnection conn warp localhost:8008
#WebAppDeploy   struts-example  conn/struts-example
 WebAppDeployGallery conn/Gallery
 WebAppDeployregistrationconn/registration
 WebAppDeploymanager conn/manager
/VirtualHost







--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]