RE: Principal Cast Exception

2002-02-04 Thread Randy Layman
The problem does have to do with the class loaders. From what you are trying, I guess that you have a copy of the Principal in the lib/container jar and in lib/apps or WEB-INF. The problem is that classes loaded by two different class loaders are not equal and the same class from two

RE: restarting tomcat by calling runtime.exec on a .bat file (tc 3.2.4)

2002-02-04 Thread Randy Layman
If you call net stop tomcat (which effectively does a System.exit), how will the Java process be around to call net start tomcat? (Answer, it won't). Randy -Original Message- From: Matt Egyhazy [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 02, 2002 6:24 PM

RE: Tomcat as an NT service

2002-02-06 Thread Randy Layman
This would indicate that Tomcat can't read the server.xml file because its missing the XML parser. Check your wrapper.properties file and make sure that all the TOMCAT_HOME\lib jar files are mentioned where it builds the classpath. Randy -Original Message- From: Ken

RE: Init method of servlet called twice?

2002-02-06 Thread Randy Layman
Craig posted a technical explanation of this about two weeks ago, so search the archives for that, but the short version is that for every unique address that your servlet responds to the init method will be called. Having an alias for your servlet (so you can pass parameters) and using

RE: Init method of servlet called twice?

2002-02-06 Thread Randy Layman
only receive this list by mail and have just deleted last weeks list. Thanks for the help Donie -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: February 06, 2002 19:11 To: 'Tomcat Users List' Subject: RE: Init method of servlet called twice

RE: Question about tomcat.bat

2002-02-07 Thread Randy Layman
Its normal. Older versions of Tomcat that used the system classpath caused enormous headaches on this mailing list because people didn't understand how it interacted with the other class loaders. If you want to add jar files to Tomcat either place them in your web application's

RE: Tomcat 3.3a IIS JDBC

2002-02-07 Thread Randy Layman
TOMCAT_HOME\lib\common -Original Message- From: Martin Jussel [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 12:42 PM To: [EMAIL PROTECTED] Subject: Tomcat 3.3a IIS JDBC Hi, I'm a newbie: I installed Tomcat and the IIS redirector successfully and found the

RE: Tomcat and JSP

2002-02-08 Thread Randy Layman
Are you perhaps storing some information in some page variable? When you recompile the JSP the previous state is lost and it would appear from the error message that perhaps some variable is now null that wasn't previously null. Randy -Original Message- From: James

RE: TomCat Issues

2002-02-08 Thread Randy Layman
We were close - IIS 4, Tomcat 3 and SQL Server 7 using INetSoftware.de's drivers. No problems and no stability issues. It was a fairly small user base (20-30), but the users were very active (6-8 hours a day 5 days a week). We shared the hardware with another system and never received

RE: java.lang.StackOverflowError

2002-02-08 Thread Randy Layman
StackOverflowError Java Doc states: Thrown when a stack overflow occurs because an application recurses too deeply So I would suggest that you look at your application at the point of when the error is thrown. If you don't see anything, post the stack trace with the exception

RE: Tomcat IIS Servlets

2002-02-08 Thread Randy Layman
When you want to run servlets, you do need to modify your mapping. However, people don't generally call servlets from /servlet/className any more. Its more typical that you would have some specific URLs. There are two places where you might be having problems: 1. IIS

RE: Tomcat IIS Servlets

2002-02-08 Thread Randy Layman
) is also working fine for JSP pages. Is it not possible to do stuff like this for servlets? Martin -Ursprüngliche Nachricht- Von: Randy Layman [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 08. Februar 2002 13:50 An: 'Tomcat Users List' Betreff: RE: Tomcat IIS Servlets

RE: Tomcat IIS optional packages

2002-02-08 Thread Randy Layman
Tomcat ignores the Classpath (for good reason). You need to add JAR files to either WEB-INF/lib or TOMCAT_HOME/lib as appropriate. Randy -Original Message- From: Martin Jussel [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 11:20 AM To: Tomcat Users List

RE: Tomcat and j2se1.4 with headless support

2002-02-08 Thread Randy Layman
I haven't tried it, but this should work. The -D option is just like the -X options that people use for setting the heap memory. Add it to CATALINA_OPTS (or TOMCAT_OPTS for those running TC3), restart and you should be running just fine. Randy -Original Message-

RE: Manage the garbage collector in tomcat

2002-02-08 Thread Randy Layman
In Tomcat 3 you set TOMCAT_OPTS, Tomcat 4 CATALINA_OPTS. On Windows this would be something like: SET TOMCAT_OPTS=-Xms128M -Xmx2048M and these will get passed to the JVM at Tomcat startup. Randy -Original Message- From: Emilio Miranda [mailto:[EMAIL PROTECTED]]

RE: Manage the garbage collector in tomcat

2002-02-08 Thread Randy Layman
variable with TOMCAT_OPTS ? or CATALINA_OPTS Really apreciate if you could help in that. -Mensaje original- De: Randy Layman [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 08 de febrero de 2002 12:11 Para: 'Tomcat Users List' Asunto: RE: Manage the garbage collector in tomcat

RE: Tomcat and j2se1.4 with headless support

2002-02-08 Thread Randy Layman
Randy Layman randy.layman@asweTo: 'Tomcat Users List' think.com [EMAIL PROTECTED

RE: Re: jdbc driver deployment problem.

2002-02-11 Thread Randy Layman
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 8:16 PM To: [EMAIL PROTECTED] Subject: RE: Re: jdbc driver deployment problem. Paul DuBois [EMAIL PROTECTED] wrote: Q: How can I get Tomcat to see 3 specific jar files?

RE: Can't get IIS and tomcat to work PLEASE HELP !!!

2002-02-11 Thread Randy Layman
-Original Message- From: Scott Adamson [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 10:28 AM To: Tomcat Users List Subject: Can't get IIS and tomcat to work PLEASE HELP !!! Can someone PLEASE help, I have been working on this for the best part of a week, without making

RE: Loading property files using ClassLoader.getSystemResource()

2002-02-13 Thread Randy Layman
First, you could use getResource instead of getSystemResource. System Resource doesn't use the class loader delegation and only uses the root class loader. Second, if you don't want to change your code, you need to modify the wrapper.properties file. In there it builds up a classpath

RE: Application in Tomcat 3.2.2 wun work in J2EE?

2002-02-14 Thread Randy Layman
It looks like J2EE can't find the class user.UserBean. I would suggest you move that class into the WEB-INF/classes/user directory and try again. Randy -Original Message- From: Keith Ng [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 9:26 AM To:

RE: changing a user's password on linux using jsp exec.

2002-02-14 Thread Randy Layman
1. I believe that you want a PrintWriter or add \n to the end of the passwords (the user presses enter when running passwd). This is probably causing your symptom of nothing happening (passwd waiting for you, you waiting for passwd). 2. Only some users (maybe just root) can

RE: Error Executing JSPs

2002-02-14 Thread Randy Layman
Without modifying the startup script I don't believe this will help - Tomcat ignores any CLASSPATH variable you might have set. Instead, the JAVA_HOME must be set so that JAVA_HOME/lib/tools.jar is valid, or tools.jar needs to be copied (or symlinked) to the TOMCAT_HOME/lib/container

RE: Starting server during boot with access to X-Windows

2002-02-15 Thread Randy Layman
Another option for this is to upgrade to JDK 1.4 and then use the headless option (check Java's docs for more info on how to do this). Then you can create images without the need for X. (This doesn't work if you are using GUI objects like Frame). Randy -Original

RE: Problem with SendMailServlet examples application

2002-02-18 Thread Randy Layman
Tomcat doesn't compile .java files into .class files. As far as I know, this is only a feature of Resin and none of the other servlet containers. You will need to use javac to convert your .java into a .class and put that file into the WEB-INF/classes directory. Randy

RE: Trouble with my web.xml?

2002-02-18 Thread Randy Layman
You have a servlet-mapping before the last servlet. With Tomcat 4 (and maybe 3.3) you have to have the elements in the right order. Randy -Original Message- From: Greer, Darren (MED) [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 1:09 PM To: '[EMAIL

RE: org.apache.jasper.JasperException: Unable to compile class for JSP

2002-02-18 Thread Randy Layman
Open up the generated Java file, but I believe that you will see some extra stuff before the imports from something at the top of your JSP file that shouldn't be there. Randy -Original Message- From: john bell [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18,

RE: jsp and tomcat4

2002-02-18 Thread Randy Layman
This message actually showed up before your other one (at least in my mail box). The source of this problem is an improperly set JAVA_HOME. You must set JAVA_HOME such that JAVA_HOME/lib/tools.jar is a valid file. Randy -Original Message- From: Jolet, John

RE: No suitable driver Datasource Problem

2002-02-19 Thread Randy Layman
I'm would guess that your JDBC driver is not available to the correct class loader. Try moving the JDBC driver up to the TOMCAT_HOME/lib/common directory, restart Tomcat, and see if that works. Randy -Original Message- From: remy.menetrieux [mailto:[EMAIL PROTECTED]]

RE: Tomcat as a service...

2002-02-19 Thread Randy Layman
The reason that you get the message is because the only errors that can be reported are those detected by 2000 (like missing binary, improper permissions, etc). I would suggest that you look at the jvm.stderr and jvm.stdout for more information about what the error is that you

RE: Tomcat as a service...

2002-02-19 Thread Randy Layman
AM To: Tomcat Users List Subject: RE: Tomcat as a service... Where can I find jvm.stderr and jvm.stdout? I dont see them in the log dir??? Sorry if I seem stupid, but I am a SUN Certified Programmer, not a system admin type guy. -Kevin Randy Layman [EMAIL PROTECTED

RE: Tomcat as a service...

2002-02-19 Thread Randy Layman
a restart once you load up Tomcat. Will the order of the services booting affect it? If so, it seems to me that the installer should detect if Apache is present or not and set it up for the user. Questions, questions... -Kevin Randy Layman [EMAIL PROTECTED] on 02/19

RE: Tomcat as a service...

2002-02-19 Thread Randy Layman
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 11:24 AM To: Tomcat Users List Subject: RE: Tomcat as a service... BTW... Someone should fix it so that it works under ANY installed path!!! I don't know

RE: Tomcat as an NT service again...

2002-02-20 Thread Randy Layman
This probably won't come as a surprise to you, but the problem is your classpath. The error you posted indicates that Tomcat can't load the XML parser. I would check the JavaService syntax for setting the classpath and then verify that jaxp and parser are at the path indicated.

RE: Tomcat in an academic development enviroment

2002-02-20 Thread Randy Layman
-Original Message- From: Zoko, Anthony [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 8:32 PM To: [EMAIL PROTECTED] Subject: Tomcat in an academic development enviroment 1) How do I isolate student applications into there own process space to prevent them from

RE: cannot compile JSP in tomcat 4.02 + JSDK 1.4

2002-02-20 Thread Randy Layman
It would seem that you are running Java with a 1.3 or before version of the JVM, but using 1.4 version of the classes. If possible, I would remove all versions of Java that are not 1.4, or at least get them out of your PATH environment variable. Double check your

RE: URGENT!!!! encodeURL()

2002-02-20 Thread Randy Layman
java.net.URLEncoder/java.net.URLDecoder -Original Message- From: Emerson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 1:44 PM To: Tomcat Users List Subject: URGENT encodeURL() Please, these is really urgent... How do I encode a URL without

RE: Tomcat 4.0 crash

2002-02-21 Thread Randy Layman
Are you using 1. The JDBC-ODBC Bridge 2. Native Code these are the most common source of crashes. The JDBC-ODBC bridge is not thread safe and concurrent access will crash the JVM. Native code can have similar problems (and other memory-related problems) that

RE: Jakarta Tomcat 3.2.3 Windows NT Service Problem

2002-02-21 Thread Randy Layman
-Original Message- From: MARSHALL,John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 7:27 PM To: [EMAIL PROTECTED] Subject: Jakarta Tomcat 3.2.3 Windows NT Service Problem wrapper.tomcat_home=c:\jakarta-tomcat-3.2.4 wrapper.java_home=c:\jdk1.3.1 It these

RE: application object size.

2002-02-21 Thread Randy Layman
I don't know of a recommendation, but there is no maximum. The Application object is stored as a map in the JVM process so you are only limited by the memory available to the JVM. Randy -Original Message- From: rob [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

RE: Forwarding requests to other Services?

2002-02-21 Thread Randy Layman
You could either use response.sendRedirect to the servlet or jva.net.URLConnection to call the other servlet and then stream the output from the servlet to your response.getOutputStream. Randy -Original Message- From: Scott Shorter [mailto:[EMAIL PROTECTED]] Sent:

RE: Forwarding requests to other Services?

2002-02-21 Thread Randy Layman
to the first after it's done its thing. I'll try redirects instead and see how that works. Will the redirect maintain request attributes like forward will? Thanks, Scott -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 9:31 AM

RE: HELP PLEASE!!!: JSP/Tomcat/MySQL

2002-02-21 Thread Randy Layman
First, you probably want to send messages in plain text and not HTML - a number of the people who can answer your question have mail readers that make it difficult to view HTML messages. Second, you need to add import statements to the top of your JSP page for the java.sql

RE: web.xml in Tomcat 4.0 -- HELP

2002-02-21 Thread Randy Layman
Your question is missing what the Tomcat logs are saying. If I had to make a blind guess, you have the parameters in web.xml out of order, which is causing Tomcat to not load the web.xml file (and thus causing the 404 error). Randy -Original Message- From:

RE: Running Tomcat 4.0.2 on a Sun 1.4.0 JVM?

2002-02-22 Thread Randy Layman
This error message indicates that you are not running Catalina in JDK 1.4 because the JDK produces file in format 48, but the previous versions of the JDK/JRE are not able to read the file format (which is indicated by the version is to recent for this tool to understand).

RE: Strange javabean problem

2002-02-22 Thread Randy Layman
You are not creating a bean named emp for the jsp:getProperty. You need to use jsp:useBean first (I believe) or use %=emp.getFirstName()%. Randy -Original Message- From: Rich Sneiderman [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 11:39 AM To: Tomcat

RE: oracle/TC4.0.2/linux

2002-02-22 Thread Randy Layman
The most common problem is not renaming classesXXX.zip to classesXXX.jar. (Tomcat doesn't automatically see ZIP files, but it does JAR). Randy -Original Message- From: remy.menetrieux [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 1:00 PM To: Tomcat

RE: oracle/TC4.0.2/linux

2002-02-22 Thread Randy Layman
you any idea ?? P.S : The same configuaration and same code under WinNT works Randy Layman wrote: The most common problem is not renaming classesXXX.zip to classesXXX.jar. (Tomcat doesn't automatically see ZIP files, but it does JAR). Randy -Original Message

RE: war files

2002-02-22 Thread Randy Layman
Is tomcat running at root? (Hint, if your files are being unpacked as part of Tomcat's execution, then they are owned by the user running Tomcat.) Randy -Original Message- From: chad kellerman [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 3:23 PM To:

RE: Create a log file under my application directory

2002-02-25 Thread Randy Layman
Tomcat doesn't support .zip on any platform, and its because of the spec, not the developer's preference. Simply rename your .zip to .jar (they are the same structure, just different names). Randy -Original Message- From: Bing Zhang [mailto:[EMAIL PROTECTED]] Sent:

RE: HOW to Configure Tomcat on IIS and deploy our own web Application .

2002-02-25 Thread Randy Layman
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-iis-howto.html epically the section labeled Adding additional Contexts. Aren't manuals really useful? Randy -Original Message- From: Vishal Mukherjee [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 24, 2002

RE: General questions about Tomcat-Apache

2002-02-25 Thread Randy Layman
-Original Message- From: Thomas Stiller [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 24, 2002 8:01 PM To: [EMAIL PROTECTED] Subject: General questions about Tomcat-Apache After having worked with some other servers I am currently evaluating Apache and Tomcat. The

RE: Path error in Tomcat startup scripts on Linux

2002-02-25 Thread Randy Layman
Is it possible that in your Context definition in either server.xml or apps-XXX.xml you are specifying an absolute path instead of a relative one? Randy -Original Message- From: Luke Studley [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 11:24 AM To:

RE: Ho can I make my URL shorter?

2002-02-25 Thread Randy Layman
/adminContact/* indicates that the servlet should only respond if the trailing slash is present. What you probably want is /adminConcact (respond to one specific URL). Randy -Original Message- From: C Cayetano [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25,

RE: Servlet POST results in 404 error

2002-02-26 Thread Randy Layman
Is it possible that your servlet is seeing the POST, processing it, and then sending a redirect to a non-existent page? You might want to check the Tomcat and IIS/Apache/iPlanet logs to find out what URL is being used to get the 404, that way you will know how Tomcat or the

RE: Servlet POST results in 404 error

2002-02-26 Thread Randy Layman
It sounds like the servlet is trying to use PathInfo (extra characters beyond the real servlet's name for parameters). In your web.xml you probably want to make your URL mapping something like /servletname/* so that every URL that starts with servletname is called for that servlet.

RE: ClassNotFoundException

2002-02-27 Thread Randy Layman
I don't' believe what you are trying to do is possible. Class loaders are created in a hierarchical manner with the children knowing about their parents, but not the parents knowing about the children. This makes it impossible for the current class loader (using Class.forName) to find

RE: Unable to compile class for JSP

2002-02-27 Thread Randy Layman
-Original Message- From: Andrew Rodwell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 11:31 AM To: Tomcat Users List Subject: Unable to compile class for JSP Hi, jsp:useBean id='lineB' scope='page' class='fwLine' type=fwLine / when it is run I get the

RE: REPOST: Please HELP!: URL Mapping Problems in servlet

2002-02-27 Thread Randy Layman
I think that this approach is very close to what you want. Instead of lastIndexOf(/) you could do lastIndexOf (or indexOf) getServletName. Another alternative would be to use lastIndexOf(getPathInfo()) on the request URI. As to why the methods return what they do, its because

RE: trouble in untar tomcat binary file.

2002-02-27 Thread Randy Layman
You need GNU tar, not the TAR that comes from Sun. Randy -Original Message- From: Cheng Yan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 4:23 PM To: [EMAIL PROTECTED] Subject: trouble in untar tomcat binary file. Hi, there, I am having trouble in

RE: JSP programming under Tomcat 4.0.2

2002-02-28 Thread Randy Layman
All versions of Tomcat (and all JSP containers for that matter) require you to add %@ page import=% to your JSP files. Also, Tomcat versions 3.3 and beyond ignore your system's classpath variable - it causes to may problems with people not understanding how this interacted

RE: [TC402] Manager Context in IIS 5 is access denied

2002-02-28 Thread Randy Layman
Check the permissions for the redirector dll and the virtual directory. Also, if you want Tomcat to handle authentication (which you need for the manager app), IIS must be configured to allow anonymous access to the virtual directory. Randy -Original Message- From:

RE: Why localhost:8080 NOT expanded to http://localhost:8080

2002-02-28 Thread Randy Layman
ICANN assigned HTTP traffic (that for the web) to port 80. Consequently, web browsers assume that web traffic will occur over port 80. They also handle other protocols (like FTP on 21). Since 8080 is no an assigned number for a protocol the web browser doesn't know how to talk to the

RE: Why localhost:8080 NOT expanded to http://localhost:8080

2002-02-28 Thread Randy Layman
Not quite - A fully qualified URL is formatted like: procotol://hostname:port/path The hostname is immediately follows // and is terminated by the next element. This allows the : to unambiguous, even if the optional elements are left out. Randy -Original Message-

RE: Scope / Instantiation of JSP pages / declarations

2002-02-28 Thread Randy Layman
see intermixed -Original Message- From: Thorsten Barth [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 9:55 AM To: Tomcat Users List Subject: Scope / Instantiation of JSP pages / declarations If two requests are accessing the same page at the same time, this

RE: JSP programming under Tomcat 4.0.2

2002-02-28 Thread Randy Layman
the CLASSPATH variable. But my question is, my older version tomcat is 3.3 and new one is 4.0.2. Why does this script work under the older one and not the new one? Thanks a lot for your help. Ming Randy Layman wrote: All versions of Tomcat (and all JSP containers

RE: JSP programming under Tomcat 4.0.2

2002-02-28 Thread Randy Layman
(and JAVA programming) and would like to start the right way. Can you give me some suggestions on this? Thanks a lot and really appreciate your help. Ming Randy Layman wrote: I believe that this is one of the ambiguities of the JSP/Servlet spec. You old version

RE: TOMCAT 4.0.2 server crash

2002-03-01 Thread Randy Layman
Stop using the JDBC-ODBC bridge. Its not thread safe and will crash Tomcat (or any other JVM for that matter) that attempts concurrent database access. Randy -Original Message- From: Keith Ng [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 4:19 AM To:

RE: Tomcat 4.0.2 exception triying to access a Jsp ...

2002-03-01 Thread Randy Layman
-Original Message- From: Julien OIX [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 4:25 AM To: Tomcat list Subject: Tomcat 4.0.2 exception triying to access a Jsp ... /pre/ppbroot cause/b prejava.lang.NoClassDefFoundError: sun/tools/javac/Main . any ideas ...

RE: Getting multiple instances of my servlet, although it doesn't implement SingleThreadModel

2002-03-01 Thread Randy Layman
? I don't think that's the case, because I can comment out the mapping and still get the same results. Thanks, though. I'll keep working at it. - Scott -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 6:38 AM To: 'Tomcat Users

RE: Problem with Tomcat or Servlet?

2002-03-01 Thread Randy Layman
Since Tomcat knows nothing about MySQL (or your database in particular), I would be willing to be that you have a problem in your code. You probably want to look at the line where the NullPointer is being thrown. A random guess - you only create your Connection or Statement

RE: jspInit and load-on-startup

2002-03-01 Thread Randy Layman
What does your web.xml file look like for this tag? (Please include the entire servlet declaration.) Randy -Original Message- From: Mark Lines-Davies [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 10:21 AM To: [EMAIL PROTECTED] Subject: FW: jspInit and

RE: TOMCAT 4.0.2 server crash

2002-03-04 Thread Randy Layman
: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 7:43 PM To: 'Tomcat Users List' Subject: RE: TOMCAT 4.0.2 server crash Stop using the JDBC-ODBC bridge. Its not thread safe and will crash Tomcat (or any other JVM for that matter) that attempts concurrent

RE: Unable to run examples

2002-03-04 Thread Randy Layman
-Original Message- From: KC Berg [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 10:42 AM To: 'Tomcat Users List' Subject: RE: Unable to run examples Do you have your JAVA_HOME sys var pointed at your JDK or your JRE? It needs to point at your JDK so that the jsp

RE: runaway process in java while using tomcat

2002-03-05 Thread Randy Layman
-Original Message- From: Halfmann, Klaus [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 05, 2002 2:45 AM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: RE: runaway process in java while using tomcat [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] wrote : I am hoping

RE: How to log shutting down of tomcat

2002-03-05 Thread Randy Layman
Are you running Tomcat as a service and it happens to shutdown every time you log off the machine? If so then you are having a problem with one of Sun's feature enhancements to the JVM. You need to pass the JVM -Xrs when it starts up so that it doesn't pay attention to the logoff

RE: Tomcat 4.02 stalling?

2002-03-05 Thread Randy Layman
The developers hang out on [EMAIL PROTECTED] -Original Message- From: GCS [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 05, 2002 8:08 AM To: Tomcat Users List Subject: Re: Tomcat 4.02 stalling? On Tue, Mar 05, 2002 at 03:45:39PM +0800, Keith Ng [EMAIL PROTECTED] wrote:

RE: Using errorPage

2002-03-05 Thread Randy Layman
I only ask because you don't mention it - are you throwing the error? JSPs only route to the error page if the exception is thrown and not caught during the execution of your page. If you don't throw it, or you throw it and catch it, JSP will never see the error. Randy

RE: How to use swing classes without X-server

2002-03-05 Thread Randy Layman
1. Use JDK1.4 with its new headless command line option 2. Use one of the psuedo-X servers (search the list archives, this has been discussed numerous times and names of options and installation directions should be listed). Randy -Original Message- From:

RE: Tomcat 4.0 NT Service and OutOfMemory

2002-03-05 Thread Randy Layman
In the registry, the Tomcat service has a JVM Option Number X string value key (and a corresponding JVM Option Count). You will want to increment the count by 2 and create separate entries for -Xms and -Xmx. Randy -Original Message- From: [EMAIL PROTECTED]

RE: Need guidance with servlet deployment.

2002-03-05 Thread Randy Layman
-Original Message- From: Carver, Christopher [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 05, 2002 10:56 AM To: [EMAIL PROTECTED] Subject: Need guidance with servlet deployment. servlet-mapping servlet-namegizmoservlet/servlet-name

RE: Apache Tomcat/4.0.3 - HTTP Status 503 - Servlet SendMailServlet is currently unavailable

2002-03-05 Thread Randy Layman
There is/was apparently a build problem with Tomcat before 4.04, which causes SendMailServlet to not be build. You can build it yourself using javac, or download the Tomcat 4.04 beta. Randy -Original Message- From: Hostmaster of the day [mailto:[EMAIL PROTECTED]]

RE: Problems with SendMailServlet

2002-03-06 Thread Randy Layman
You will need to compile the SendMailServlet yourself for Tomcat versions 4 through 4.0.3. There was apparently a problem with the build script that has been resolved with Tomcat 4.0.4 B1. Randy -Original Message- From: Gustavo Souza [mailto:[EMAIL PROTECTED]] Sent:

RE: Does anyone know of a Tomcat 3.2.4 Memory Leak Problem?

2002-03-07 Thread Randy Layman
80MB is definitely possible (our application generally runs at about 130MB with peaks into the 300MB range for users, some nightly processing can push that to more than 500MB), it really depends on your application. Places where you could be loosing memory: 1. JavaC.

RE: why do i get this error?

2002-03-07 Thread Randy Layman
For all classes without a package you need to import them explicitly. (i.e. %@ page import=Course % Randy -Original Message- From: Peter Choe [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 8:08 AM To: [EMAIL PROTECTED] Subject: why do i get this error?

RE: Upgrade to JDK1.4 -- unable to compile JSPs

2002-03-07 Thread Randy Layman
Double (and triple check) that you are really running Tomcat with JDK 1.4. This error message is only generated by older JVMs when presented with newer JAR files (i.e. a 1.3 JVM trying to read a 1.4 JAR file). Randy -Original Message- From: Scott Shorter

RE: Upgrade to JDK1.4 -- unable to compile JSPs

2002-03-07 Thread Randy Layman
I believe that your problem might stem from a problem in the catalina.bat file. First, from a command prompt, type java -fullversion and I believe that you will see a response indicating JVM 1.3 or before (not 1.4). Edit your path statement so that the 1.4 JDK is before the

RE: Upgrade to JDK1.4 -- unable to compile JSPs

2002-03-07 Thread Randy Layman
files need updating? Thanks, Scott -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 8:42 AM To: 'Tomcat Users List' Subject: RE: Upgrade to JDK1.4 -- unable to compile JSPs Double (and triple check) that you

RE: Does anyone know of a Tomcat 3.2.4 Memory Leak Problem?

2002-03-07 Thread Randy Layman
. Is there any truth to this? I have seen a lot of questons in the list about this same topic, so either way, I'll post whatever information I find. Brandon -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 5:43 AM To: 'Tomcat Users List

RE: Moving to windows from linux ? bug ?

2002-03-07 Thread Randy Layman
You need to make sure that the directory names are the correct case. The only way I know to do this is using a command prompt (Windows Explorer assumes that the first character is upper case and all others are lower). The only way to fix it is to remove the directory (delete, not rename)

RE: tuning tomcat!!

2002-03-07 Thread Randy Layman
For Tomcat on NT as a service, you can set the -Xms and -Xmx in the registry. Its HKEY_LOCAL_MACHINE\Service\CurrentControlSet\Name of Service\Configuration. You can add new JVM Option Number X (and make sure to increment the JVM Option Count key) to contain the additional parameters.

RE: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Randy Layman
I haven't been following this thread but it seems like you are saying that Tomcat should be modified to work correctly with IE 5. The problem with that is that Tomcat is an reference implementation of a particular spec (JSP/Servlet) which dictates how things have to work - it is the

RE: checksum errors

2002-03-11 Thread Randy Layman
You need to use GNU TAR, not the TAR that comes with Solaris. Randy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 9:43 AM To: Tomcat Users List Subject: checksum errors I have been trying to install Tomcat

RE: Tomcat tools error

2002-03-11 Thread Randy Layman
Tomcat can't find the Java Compiler. This is generally due to an incorrect JAVA_HOME setting (JAVA_HOME/lib/tools.jar must be valid). You can create a symbolic link from the TOMCAT_HOME/lib/container to tools.jar if you think you set the variable correctly. Randy PS This

RE: Large pages not completely displayed with IE 5.x and Tomcat 4.0.x

2002-03-12 Thread Randy Layman
I think an obvious first couple of questions: 1. Is the page competing execution or is it throwing an exception or perhaps hanging up due to deadlock? 2. Are you ever clicking the stop button in IE (perhaps causing the browser to give up before the connection is

RE: Novice here! Classpath issue...Tomcat 3.3/IIS5.0/Win2k/Oracle

2002-03-15 Thread Randy Layman
You are calling Long.parseLong with a string parameter that is null (either equal to null or is a literal null - I can't remember how this message is structured right now). You are making the call from line 77 of the generated .java file for the JSP page. Randy

RE: Charts in Jsp doesn't work [urgent!]

2002-03-15 Thread Randy Layman
For Tomcat 3.3 change CATALINA_OPTS to TOMCAT_OPTS. Otherwise the directions quoted are correct. If you insist on modifying the .sh file then add this command as the second line of the sh file. Randy -Original Message- From: Nancy Crisostomo Martinez [mailto:[EMAIL

RE: exception.getMessage() returns null?

2002-03-18 Thread Randy Layman
Two possibilities: 1. The exception that you are catching is a NullPointerException (which has null as its message). You can check this by adding exception.getClass().getName() to your output. 2. The exception that you are catching is not one provided by Sun and the

RE: Deployment from directories not under webapps

2002-03-19 Thread Randy Layman
You need to rename classesXXX.zip to classesXXX.jar and put it in the WEB-INF/lib directory of your webapp. Randy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 10:54 AM To: Tomcat Users List Subject: RE:

RE: newbie jsp question

2002-03-19 Thread Randy Layman
You will need to learn how to use JDBC to access databases. I would suggest either going to Sun's JDBC site or looking at Interbase. Once you know how to execute the stored procedure from regular Java, JSP is trivial. Randy -Original Message- From: Magnus Jansson

  1   2   3   4   5   6   7   8   >