Re: Opinions

2003-11-01 Thread Bill Barker
The recent port of the 3.3 variable-substitution to Tomcat 5 may very well solve your problems here :). The ports are supposed to move to commons-digester, so should be available in 4.1.30 as well. Francois JEANMOUGIN [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hu! It's in early

HOW CAN I USE THREADS IN TOMCAT

2003-11-01 Thread Prince
Hi, I need to send a mail automatically at 10 minutes interval. how can i do this? how can i activate threads in tomcat? regards Prince - Original Message - From: Bill Barker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 01, 2003 1:00 PM Subject: Re: Opinions The

Can use Ant to deploy to localhost

2003-11-01 Thread Steven Woody
I'v not managed to deploy an application to Tomcat using Ant's deploy task. It always reports a UnknownHostNameException. I'v checked the 'url' property, that is 'http://localhost:8080/manager', and be sure that is right. What do I do? -- Steven Woody [EMAIL PROTECTED]

Re: HOW CAN I USE THREADS IN TOMCAT

2003-11-01 Thread Eric C
Use cron under unix and/or a java app that would use Javamail classes. Of course you can do it inside a servlet. - Original Message - From: Prince [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, November 01, 2003 8:51 AM Subject: HOW CAN I USE THREADS IN TOMCAT

Re: Which version of xerces, Tomcat 4.1.24 is using?

2003-11-01 Thread Adam Hardy
On 10/31/2003 06:41 PM Jon Wingfield wrote: What does the invocation of this static java method return? org.apache.xerces.impl.Version.getVersion(); http://xml.apache.org/xerces2-j/javadocs/xerces2/index.html This will help too: java -cp xercesImpl.jar org.apache.xerces.impl.Version soapboxI

Re: Can use Ant to deploy to localhost

2003-11-01 Thread Mike Klein
Steven Woody wrote: I'v not managed to deploy an application to Tomcat using Ant's deploy task. It always reports a UnknownHostNameException. I'v checked the 'url' property, that is 'http://localhost:8080/manager', and be sure that is right. What do I do? -- Steven Woody [EMAIL PROTECTED]

Re: HOW CAN I USE THREADS IN TOMCAT

2003-11-01 Thread Erik Wright
A servlet is just a Java class. You can do anything you can do with the java language, including start threads. The following starts a thread that runs some task every 10 minutes. The thread is started in the servlet init method. I choose to set the thread to daemon mode, meaning that when the

Re: Which version of xerces, Tomcat 4.1.24 is using?

2003-11-01 Thread Florian Ebeling
soapboxI would like to see the java community begin naming their jars with the version, the same way the linux community labels their tarballs. Thank you/soapbox That's what I thought so manny times! The ecplise guys do it already. -Florian

loss of session from http to https

2003-11-01 Thread Peter T. Abplanalp
hi all, i have a tomcat 4.1.27 instance fronted by an instance of apache 2.0.40, using jk2. it is a commerce site and at the point of credit card information collection goes from http to https. the first time a user goes from http to https, the session information is lost (i.e. the order

Tomcat 5.0.14 Beta

2003-11-01 Thread Matt Raible
I just upgraded from Tomcat 5.0.12 Beta to 5.0.14 yesterday. Everything's been running fine for the last 12 hours, and then I got the following error this morning: No Java compiler was found to compile the generated source for the JSP. This can usually be solved by copying manually

Apache/Tomcat Tieing Issue Still Exists

2003-11-01 Thread mtorgler
Hi Again All Thought I'd give this one more try. I've tried a few more config changes, but went back to these original ones because nothing seems to work. I'm still getting the shm.init error in my logs, and the apache and tomcat still aren't tieing together. Does the shm.init error stop

Re: Tomcat 5.0.14 Beta

2003-11-01 Thread Eric C
I had the same error with 5.0.12 a bracket was missing in my code and it throwed this weird message. - Original Message - From: Matt Raible [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 01, 2003 7:17 PM Subject: Tomcat 5.0.14 Beta I just upgraded from Tomcat 5.0.12

RE: HOW CAN I USE THREADS IN TOMCAT

2003-11-01 Thread Fred Whipple
I would also add that unless you have a particular need to embed this in a specific Servlet, it might make more sense to add this thread to a context listener handler. For example, if I wanted to send out email to 1000 people (not Spam, of course! ;-) and I initiated this from within a Servlet,

Re: Tomcat 5.0.14 Beta

2003-11-01 Thread Remy Maucherat
Matt Raible wrote: I just upgraded from Tomcat 5.0.12 Beta to 5.0.14 yesterday. Everything's been running fine for the last 12 hours, and then I got the following error this morning: No Java compiler was found to compile the generated source for the JSP. This can usually be solved by copying

Re: Opinions

2003-11-01 Thread Vincent Aumont
No, you're right. You can make Apache listen on port 80 while running as root because it'll change the process' ownership when it opens a new connection. There is no portable way of doing this in Java; therefore, Hey! And they call it an advanced language? P.S.: One or two trolls are

Re: JNDI problem using 4.1.27

2003-11-01 Thread Vincent Aumont
Could you post your server.xml file? You attachment did not make it to the list. -Vincent. Anderson, James H [IT] wrote: I can't seem to get JNDI working. I'm trying to access an MySQL database via JNDI and it's not working. catalina.out contains this msg: DBCP borrowObject failed: ...,

Re: Redirecting request.

2003-11-01 Thread Vincent Aumont
Have you considered Apache's mod_rewrite? IvanLatysh wrote: Hello, All! How I can redirect incoming request from one virtual host to another. For example I have : host.dm, www.host.dm, www1.host.dm I need to redirect all incoming requests to host.dm Alias doesn't work for me, because we have

Where to get JMS for Tomcat?

2003-11-01 Thread tblanchard
I'm porting an app from WebLogic 7 to Tomcat. The thing is mostly servlets and uses its own database access stuff - no ejb. OTOH, there seems to be some JMS stuff in it and it doesn't look like there's a JMS implementation bundled with Tomcat so I guess I need to find one. Any pointers to such

Re: Where to get JMS for Tomcat?

2003-11-01 Thread Tim Funk
JBOSS. -Tim [EMAIL PROTECTED] wrote: I'm porting an app from WebLogic 7 to Tomcat. The thing is mostly servlets and uses its own database access stuff - no ejb. OTOH, there seems to be some JMS stuff in it and it doesn't look like there's a JMS implementation bundled with Tomcat so I guess I

Re: Tomcat 5.0.14 Beta

2003-11-01 Thread Matt Raible
The same code ran fine on 4.1.27 and 5.0.12 - all I've ever done is mv 4.1.27/webapps/* 5.0.14/. Probably a fluke and I'll never see it again. Matt On Nov 1, 2003, at 2:30 PM, Eric C wrote: I had the same error with 5.0.12 a bracket was missing in my code and it throwed this weird message.

Re: loss of session from http to https

2003-11-01 Thread Bill Barker
URL rewriting doesn't work http-https (blame the Servlet spec :). However, cookie sessions should be preserved (unless it is the browser that is choosing to not send the cookie). If it was my app, the first thing that I would try is to enable the RequestDumperValve to see if the cookie is

Re: [ANN] Apache Tomcat 4.1.29 Stable and Apache Tomcat 5.0.14 Beta released

2003-11-01 Thread Luigi Bai
Sriram, It took me a while to figure out where you were going with your question. No, I did not download a tar-gzip distribution; I built 4.1.29 from the (tagged) CVS source (which right there may be part of the problem). I used the versions of commons-* etc from the 4.1.27 distribution that

Configure tomcat-5 + Apache-2+jk2 on Solaris 9

2003-11-01 Thread Mike Nguyen
Hi, I've read many sources and have tried to configure but it seems not fully working properly. Could anyone help me to configure it or point me to place(s) where I can learn to configure this. I appreciate it. Mike IncrediMail -