Tomcat CGI and HTTP status codes

2005-06-08 Thread Chris Picton
Hi all I am trying to get squivi2 running under tomcat cgi, but I am having a problem with redirects. Code I am testing generates a redirect as follows: - my $tempout = $q->header( -nph=>1, -status=>"302 Moved Temporarily", -location=>$dest, ); open F, ">/tmp/f"; print F $tempout; c

Re: Fwd: deployment with a different context than war name - tomcat 5.5.7

2005-02-24 Thread Chris Picton
> > >Hi, > > > > > >Can anyone point me to a working example of of using a context xml > > >fragment file to deploy an war at a different context than the war > > >name? In other words, I don't want to define it in the global config > > >file. > > > I am using TC 5.0.27, and am able to deploy to

Deployment Issues

2005-02-23 Thread Chris Picton
Hi all I am trying to implement an easy way to update my webapp, running on tomcat 5.0.27 I need to be able to reload the webapp, after updating the war file on the server. My webapp has to run unpacked due to certain file access methods which have been used. I am also using a webapp.xml in /et

Redeployment of a webapp without restarting tomcat

2005-01-31 Thread Chris Picton
o not want to install it. Are there any other ways around my problem? -- Chris Picton <[EMAIL PROTECTED]> Tangent Systems - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

URLClassLoader problems

2004-09-04 Thread Chris Picton
Hi I am trying to use the following code to load a class from a jar file which is outside of my webapp directory. The classes are loaded on demand and dynamically. ... public class JarClassLoader extends URLClassLoader { public JarClassLoader(File jar) throws MalformedURLException { su

RE: Sessions and clients

2004-01-15 Thread Chris Picton
hought that I should set a cookie containing the JSESSIONID in the client request, but cannot find any examples of how to do this. Can anybody help here? Regards Chris > > > -Original Message- > > From: Chris Picton [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, Janu

Sessions and clients

2004-01-14 Thread Chris Picton
the first one has? Regards Chris -- -+-- Chris Picton | PGP Key ID: 9D28A988 (wwwkeys.pgp.net) Solutions Developer | PGP Key Fingerprint: Tangent Systems | 2B46 29EA D530 79EC D9EA 3ED0 229D 6DD6 9D28 A988 [EMAIL