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: [OT] SCWCD Exam 1.4

2004-11-24 Thread Januski, Ken
I'm part way through the Head First book. I really didn't like Head First Java though it got rave reviews when it came out. And I did like the first version of the Manning SCWCD book. That said I'm finding the Head First Servlets and JSP book enjoyable, though I've only read the first 150 pages

Tomcat 5.5.4, JDK1.5.0 and JSP compile error

2004-11-24 Thread Pat Osterday
We recently tried to upgrade from Tomcat 5.0.25 and JDK 1.4.1 to Tomcat 5.5.4 and JDK 1.5.0 (aka 5.0) and have been successful except for our JSPs. Even a simple test HelloWorld JSP generates the following error: -- org.apache.jasper.JasperException: Unable to compile class for JSP Generated

Re: Tomcat 5.5.4, JDK1.5.0 and JSP compile error

2004-11-24 Thread Ben Souther
Just a wild stab here but did you accidentally copy over any of the old jars from TC4x.. like servlet.jar, jasper-runtime.jar, or jasper-compiler.jar? On Wed, 2004-11-24 at 18:15, Pat Osterday wrote: We recently tried to upgrade from Tomcat 5.0.25 and JDK 1.4.1 to Tomcat 5.5.4 and JDK 1.5.0

Lots of seemingly dead tomcat processes

2004-11-24 Thread Andrew Garrett
Hi All. I've got a bit of an issue with a tomcat installation - I have an ever increasing number of processes, and the system users complain of intermittant slow performance. When a particular request is taking a long time (generally not responding at all - timing out after a couple of minutes)

Test

2004-11-24 Thread Janet Ciavarelli
Just testing to see if this gets to list - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat - problem starting service

2004-11-24 Thread Janet Ciavarelli
Hello All, I just installed Tomcat 5.0.28. The service won't start. See the contents of the log file below. Why is it trying to access C:\Program Files\Oracle\jre\1.1.7? In the install I specified for it to use \D:\Sun\AppServer\jdk\jre. Where is it picking up this value C:\Program

Re: Tomcat - problem starting service

2004-11-24 Thread Ben Souther
Yep, the installer picked up the wrong JRE. If you installed the Start Menu items you can change that by clicking Start - Programs - Apache Tomcat - Config. then click the Java tab. If not, you'll either have to uninstall/reinstall or change the value in the registry using regedit. On Wed,

Re: Tomcat 5.5.4, JDK1.5.0 and JSP compile error

2004-11-24 Thread wasted
Nope. It's a clean install - and I just looked at the common/lib on both directories (5.0 and 5.5) and they are different. - Original Message - From: Ben Souther [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 6:39 PM Subject: Re: Tomcat

Re: Tomcat 5.5.4, JDK1.5.0 and JSP compile error

2004-11-24 Thread Ben Souther
On Wed, 2004-11-24 at 20:17, wasted wrote: Nope. It's a clean install - and I just looked at the common/lib on both directories (5.0 and 5.5) and they are different. And you don't have any of those libraries in your app? WEB-INF/lib

Re: Tomcat 5.5.4, JDK1.5.0 and JSP compile error

2004-11-24 Thread wasted
We have commons-logging and xerces, but nothing from the 5.5 common/lib and definitely nothing related to jasper/jsp compilation that I'm aware of. - Original Message - From: Ben Souther [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 8:37 PM

Re: Tomcat 5.5.4, JDK1.5.0 and JSP compile error

2004-11-24 Thread Ben Souther
Have you tried compiling a helloworld.jsp with a fresh install (before deploying your app) to make certain that the problem is not with Tocmat? It sounds to me like it's finding the wrong jasper classes somewhere. On Wed, 2004-11-24 at 21:10, wasted wrote: We have commons-logging and xerces,

RE: org.apache.commons.digester.Digester error

2004-11-24 Thread akki
hi... thanks for ur reply i m not finding any malformation in web.xml this is my web.xml file.. ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app !--

Re: Tomcat 5.5.4, JDK1.5.0 and JSP compile error

2004-11-24 Thread wasted
I don't think I tried that yet. I'll do that when I get back from the Thanksgiving holiday. Thanks for the suggestions! - Original Message - From: Ben Souther [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 9:42 PM Subject: Re: Tomcat 5.5.4,

RE: org.apache.commons.digester.Digester error

2004-11-24 Thread Ben Souther
On Wed, 2004-11-24 at 22:04, akki wrote: hi... thanks for ur reply i m not finding any malformation in web.xml this is my web.xml file.. This is the default webapp from CATALINA_HOME/conf Check your app's web.xml file CATALINA_HOME/webapps/yourAppName/WEB-INF/web.xml

RE: org.apache.commons.digester.Digester error

2004-11-24 Thread Ben Souther
This is the default webapp from CATALINA_HOME/conf Check your app's web.xml file CATALINA_HOME/webapps/yourAppName/WEB-INF/web.xml default web.xml, I mean - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

java.lang.OutOfMemoryError: Java heap space

2004-11-24 Thread Lee Chin Khiong
ERROR : java.lang.OutOfMemoryError: Java heap space. What is this ?

Re: java.lang.OutOfMemoryError: Java heap space

2004-11-24 Thread Ben Souther
It's an error message telling you that your JVM has run out of memory. On Wed, 2004-11-24 at 22:34, Lee Chin Khiong wrote: ERROR : java.lang.OutOfMemoryError: Java heap space. What is this ? - To unsubscribe, e-mail: [EMAIL

RE: java.lang.OutOfMemoryError: Java heap space

2004-11-24 Thread Lee Chin Khiong
How to solve this ? -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, November 25, 2004 11:39 AM To: Tomcat Users List Subject: Re: java.lang.OutOfMemoryError: Java heap space It's an error message telling you that your JVM has run out of memory. On Wed,

Clustering in Tomcat

2004-11-24 Thread Gaurav Vaish
Hi, I am facing an issue with Tomcat Clustering. With the details provided on the website, I implemented it. The session (session-ID) is not lost when the machine serving it goes down however all session-data (attributes in session) is lost. What can be the issues? To start with, I

RE: java.lang.OutOfMemoryError: Java heap space

2004-11-24 Thread Ben Souther
You're not giving us much to work with. What version of Tomcat are you running? What JVM are you using? What OS are you running on? Does this happen at startup, after an hour, after a month? Have you configured the memory settings for tomcat? If so, what are they? Is there more to this stack

Re: java.lang.OutOfMemoryError: Java heap space

2004-11-24 Thread Quinton Delpeche
On Thursday 25 November 2004 06:01, Lee Chin Khiong wrote: How to solve this ? Add this line to your catalina.sh for unix: JAVA_OPTS=-Xms128m -Xmx256m Add this line to you catalina.bat for Windows: set JAVA_OPTS=-Xms128m -Xmx256m I normally add this line under the one that start JAVADIR. This

Re: Tomcat 5 and Mail...

2004-11-24 Thread Quinton Delpeche
On Tuesday 23 November 2004 16:55, Phillip Qin wrote: Okay, I have set the policies and I have built a basic mailer form, now when I try and send an e-mail I get this error: ERROR javax.mail.NoSuchProviderException: smtp at javax.mail.Session.getService(Session.java:611) at

RE: java.lang.OutOfMemoryError: Java heap space

2004-11-24 Thread Lee Chin Khiong
I'm using Tomcat 5, jdk1.5, running XP. This happen after a while and I didn't configure the memory, it's default. -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, November 25, 2004 12:09 PM To: Tomcat Users List Subject: RE: java.lang.OutOfMemoryError:

Re: java.lang.OutOfMemoryError: Java heap space

2004-11-24 Thread Quinton Delpeche
On Thursday 25 November 2004 07:23, Lee Chin Khiong wrote: I'm using Tomcat 5, jdk1.5, running XP. By default Tomcat only allocates 64MB of memory to the compiler. You also make sure that you don't have a memory leak in your code. Power up the manager/html application and go to server status.

[FIXED] Tomcat 5 and Mail...

2004-11-24 Thread Quinton Delpeche
Hi everybody, Sorry for being a pain but I have fixed this problem. I had the incorrection versions on the mail.jar and activation.jar files on my server. I downloaded the latest from SUN and all is well in the land again. :) Thanks again for all those that offered advice. Regards Q --

Tomcat 5.5.4 fails to recompile JSPs

2004-11-24 Thread Carlos A. Carnero Delgado
Hello, I just upgraded my test development box to Tomcat 5.5.4 and Sun's JDK 1.5.0. I just created a simple (the simplest?) web application to test things out. I always go the Ant route (with Tomcat's documentation sample build.xml) and everything went smoothly. Except reloading JSPs. In the

accessing files within webapps

2004-11-24 Thread Kantartzis Vasilis
Hi all, i have build a small form that sends e-mail messages containig an attachment. i have tested the application in 2 separate environments 1 in on a win200 environment 2.the other in a suse linux . i am able to send the message with the attached content on win200. The linux tests have

<    1   2