manager not unpacking war files

2005-08-22 Thread erh
I'm trying to get the Tomcat manager app to unpack war files when I install them. (using "Deploy directory or WAR file located on server") The only setting I found that is supposed to control this is unpackWARs, so I have this in my server.xml: Nothing I tried caused the war to ge

Re: using shared objects from tomcat

2005-02-08 Thread erh
On Tue, Feb 08, 2005 at 10:53:37PM +0100, Andreas Andersson wrote: > This is a debian suggesting strace to be the one for me. Can I attach > strace to my .so-file or do I have to start tomcat via strace? I'm not certain about debian, but under NetBSD you can turn on tracing for an already

Re: [OT] Request an app test (free beer!)

2004-12-21 Thread erh
NetBSD(native jre): NetBSD NetBSD(using linux binaries): Linux > >Sent: Monday, December 20, 2004 2:26 PM > >To: Commons User; Struts User; Tomcat User > >Subject: [OT] Request an app test (free beer!) > > > > > >I was informed last OT post I made that the subject should always > >include the wor

Re: What's the defaukt Admin user id/password

2004-11-30 Thread erh
On Tue, Nov 30, 2004 at 03:25:27PM -0600, Ron Day wrote: > sorry, but some people are too important to send helpful replies. Have you even looked at the URL that Yoav mentioned? It describes _EXACTLY_ what you need to do and why you need to do it. It even gives an example of a line to add

Re: [OT] Re: JavaScript/JSP Question

2004-11-24 Thread erh
On Wed, Nov 24, 2004 at 07:11:31AM -0500, Ben Souther wrote: > This question is not tomcat specific so I'm marking [OT]. > > I believe Javascript has the same startsWith/endsWith string > functionality that Java has. > You should be able to simulate that pretty easily. js also has full

Re: OFF TOPIC: Merging data into a PDF form

2004-11-23 Thread erh
> On Tuesday 23 November 2004 18:29, David Wall wrote: > > I have an existing PDF form (actually lots of them) and my webapp is > > querying a user for the "missing data" on the HTML form. I'd like to merge > > the POST data into the PDF document and end up with a new filled out PDF > > document.

Re: SSL and form-based login

2004-11-23 Thread erh
On Tue, Nov 23, 2004 at 01:20:16PM -0800, footh wrote: > > However, if the original page is http and the login > > form is submitted > > with https then it works fine. That seems like an > > explicit constraint that > > tomcat enforces, but I can't find where in the > > authentication code it

Re: SSL and form-based login

2004-11-22 Thread erh
On Mon, Nov 22, 2004 at 08:21:11AM -0800, footh wrote: > On another note, once I'm in a page that is set to use > SSL all relative links within that page continue to > use SSL even though I would rather they be non-SSL. > Is there an easy way to prevent that other than > hardcoding absolute URLs i

Re: SSL and form-based login

2004-11-22 Thread erh
On Sun, Nov 21, 2004 at 10:53:52AM -0800, footh wrote: > The URL in the browser is the URL of the protected > page I'm trying to access. So, for example if > /test/test.jsp is protected by forms-login and I click > a link to that page, /test/test.jsp will be the URL in > the browser, but the login

Re: SSL and form-based login

2004-11-21 Thread erh
On Sat, Nov 20, 2004 at 04:59:31PM -0800, footh wrote: > SSL seems to be working fine, however, I don't believe > the login page is using SSL. The reason being is, > when I try to hit any other page on the site with SSL, > my browser invokes the certificate dialog box. > However, when the form-ba

Re: Rotating catalina.out with Webmin

2004-11-15 Thread erh
On Mon, Nov 15, 2004 at 03:39:01PM -0600, Filip Hanik - Dev wrote: > this was not the case when using a java.io.FileOutputStream(), so I assume > you tried and verified this :) You are confused. It _is_ the case with FileOutputStream. The only way it could be otherwise is if the output

Re: Rotating catalina.out with Webmin

2004-11-15 Thread erh
On Mon, Nov 15, 2004 at 02:36:57PM -0600, Filip Hanik - Dev wrote: > nope, the moment you execute the mv the file handle has moved. switch to > cronolog to save you some time, > cronolog might recreate the file for you to, so no handle is ever lost, try > it before you come back to the list :) >

Re: Signals sent by Tomcat to web applications during shutdown.

2004-10-29 Thread erh
On Fri, Oct 29, 2004 at 10:20:49AM -0400, Shapira, Yoav wrote: > >Should have remembered that, I've used it before ::blush:: . I didn't > >consider it as the thread I'm looking at is deep within the business > >logic and doesn't have access to the Context. > > That it gets trickier. You can use

Re: [Somewhat OT] Content vs. Programming

2004-10-22 Thread erh
On Fri, Oct 22, 2004 at 01:24:00PM -0400, Anthony E. Carlos wrote: > I've thought of having them upload to a alternate directory and then > running some ant script to copy new and changed files into the Tomcat > directories, but that still won't help with the merging process. To > make things ev

Re: How to make Tomcat write its server config to server.xml ...

2004-10-12 Thread erh
On Tue, Oct 12, 2004 at 11:21:29AM +0200, Krist van Besien wrote: > Hello all, > (This is a repost, as I had no anwers last time. I still hope there is an > answer though, as this issue just bit me again). > > Around here we install webapps in non standard locations from the command > line. > We

Re: Multiple arguments in a GET URL

2004-10-01 Thread erh
On Fri, Oct 01, 2004 at 05:10:22PM -0400, [EMAIL PROTECTED] wrote: > it sees "hello" as expected > > -Original Message- > From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > http://ndsc.eng.vzwcorp.com/index.jsp?mainFrame=blahblah.jsp?arg1=hello&arg2 > =helloagain > > > > In this scen

Re: Multiple arguments in a GET URL

2004-10-01 Thread erh
On Fri, Oct 01, 2004 at 04:51:47PM -0400, [EMAIL PROTECTED] wrote: > For example, my index.jsp is the frameset that takes an argument "mainFrame" > specifying the JSP/HTML to use as the center frame of the frameset. > > So for example I would have > http://ndsc.eng.vzwcorp.com/index.jsp?mainFrame=

Re: method level synchronization doesn't work

2004-10-01 Thread erh
On Fri, Oct 01, 2004 at 04:05:53PM +1200, [EMAIL PROTECTED] wrote: > Is your primary key generated automatically? > If so, the combined insert/query is: > >String stmt="INSERT INTO SOMEFILE (FLD1,FLD2,FLD3) > VALUES(?,?,?)"; >PreparedStatement sql = > conn.prepareStatement(

Re: ant build remote java.net.MalformedURLException (newbie Q)

2004-09-22 Thread erh
On Wed, Sep 22, 2004 at 12:11:20PM -0400, Harry Hartley wrote: > Thanks for the reply, but I am not sure what to do with the information you > gave me. My objective is to use my ant build file to deploy. I have > experimented with combinations of the information u gave me in my build.xml > below, b

Re: seperate development spaces on same server/tomcat

2004-09-21 Thread erh
On Tue, Sep 21, 2004 at 02:10:42PM -0400, Shapira, Yoav wrote: > For development, drop Apache httpd, drop the connectors, drop the notion > of CATALINA_BASE. Simply install Tomcat x separate times to x separate > directories, with nothing in common. That's it. or, if your developers can

Re: Why tomcat 4 or even 3?

2004-09-15 Thread erh
On Wed, Sep 15, 2004 at 04:07:52PM -0400, John Villar wrote: > A question to everyone out there. why does anyone use nowadays > Tomcat 4 branch?. isn't tomcat 5 branch more bug free, featurefull > and backwards compatible? Perhaps because the tomcat home page seems to encourage t

Re: Help - Newbie questions - where are the uploaded files stored ?

2004-09-10 Thread erh
On Fri, Sep 10, 2004 at 10:57:18AM -0400, Shapira, Yoav wrote: > Isn't that "crap" self-evident? ;) Most companies attach such footers > and related disclaimers or legal notices to all outgoing mail, and most > users can't control it. well then you shouldn't be using a work email address

Re: Help - Newbie questions - where are the uploaded files stored ?

2004-09-10 Thread erh
On Fri, Sep 10, 2004 at 12:00:45PM +0200, MATHOT Jacques wrote: > I am implementing an upload function for my web applications using Tomcat 4.0.14 > server. I was expecting the files to be stored on the root directory of my > application and not in one of the own Tomcat directories. > How can I s

Re: 'referer' header contains Servlet path, not referrer

2004-09-10 Thread erh
On Fri, Sep 10, 2004 at 12:58:30PM +0200, Bedrijven.nl wrote: > I think you should use struts. How would that help? Struts is completely useless for figuring out which page a user came from. > -Oorspronkelijk bericht- > Van: Keith Hankin [mailto:[EMAIL PROTECTED] > Verzonden: Frid

Re: ssl certs

2004-08-24 Thread erh
On Tue, Aug 24, 2004 at 04:14:19PM +, Didier McGillis wrote: > The site is all Java, tomcat is the app and web server, I have never dealt > with Tomcat as a web server so is it easy to setup tomcat to handle ssl > certs and https requests. Any thing I have to watch out for? One thing

Re: application path/docBase property

2004-07-29 Thread erh
On Thu, Jul 29, 2004 at 01:16:48PM -0400, Shapira, Yoav wrote: > See Jacob Kjome's contributions to the log4j sandbox at > http://cvs.apache.org/viewcvs.cgi/logging-log4j-sandbox/src/java/org/apa > che/log4j/ (servlet and selector packages). People have been using them > in production for a long t

application path/docBase property

2004-07-29 Thread erh
I'm trying to find the property that corresponds to either the application path (i.e. the path attribute of the Context element), or the installed path (i.e. the docBase attribute). I haven't had any luck finding it. Is there such a property? Specifically, what I am trying to do

application path/docBase property

2004-07-22 Thread erh
I'm trying to find the property that corresponds to either the application path (i.e. the path attribute of the Context element), or the installed path (i.e. the docBase attribute). I haven't had any luck finding it. Is there such a property? Specifically, what I am trying to do