RE: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error -HELP-ME-PLEASE

2002-03-28 Thread Randy Layman
A few questions to remove the obvious: 1. Have you restarted Tomcat after copying the jco.jar file? 2. Does the jco.jar file really have a file /com//jco.class? 3. Does Tomcat have permissions to read this file (more of an issue on Unix, but possible on wind

RE: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error -HELP-ME-PLEASE

2002-03-28 Thread Randy Layman
> -Original Message- > From: Korakaki Stella [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 28, 2002 7:39 AM > To: Tomcat Users List > Subject: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error > -HELP-ME-PLEASE > > > > java.lang.NoClassDefFoundError > at Login

RE: Who use Tomcat as a stand-alone server in production environment ?

2002-03-27 Thread Randy Layman
> -Original Message- > From: Laurent Comte [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 27, 2002 11:17 AM > To: Tomcat Users List > Subject: RE: Who use Tomcat as a stand-alone server in production > environment ? > > > Hmm hmm ... Not so hard, but look at the messages of this

RE: strange error..

2002-03-27 Thread Randy Layman
Am I correct that your "servlet" doesn't extend javax.servlet.Servlet or javax.servlet.http.HttpServlet? If so, that is your problem - servlets must extend Servlet or one of its subclasses. Randy > -Original Message- > From: Shashank [mailto:[EMAIL PROTECTED]] > Sent: W

RE: Does redirect stop processing of originally-targeted jsp?

2002-03-25 Thread Randy Layman
> -Original Message- > From: Marc Elliott [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 25, 2002 8:43 AM > To: [EMAIL PROTECTED] > Subject: Does redirect stop processing of originally-targeted jsp? > > > In a nutshell: I have a process the runs in a javabean/jsp > that takes a lon

RE: JSP on IIS 5.0

2002-03-22 Thread Randy Layman
This error message indicates one of: 1. isapi_redirect.dll is not at the file path listed 2. the user trying to start IIS (the System Account usually) doesn't have permissions to access the dll 3. There is some configuration that is very wrong making isapi_redir

RE: JSP on IIS 5.0

2002-03-22 Thread Randy Layman
What errors are you getting (500 Internal Server Error, 404 Page Not Found, 403 Permission Denied, etc) and what is generating them (Tomcat, IIS)? You probably want to look at your log files (IIS, isapi_redirect.log, and Tomcat's) and you will probably be able to determine the pr

RE: Servlet Deploy Problem Help

2002-03-21 Thread Randy Layman
To make /search/hello work just set the URL pattern to "/help" (without quotes). This will match the literal (and only the literal) /help within your webapp (which is /seach, apparently). Randy > -Original Message- > From: Lance Smith [mailto:[EMAIL PROTECTED]] > Sent:

RE: Servlet Deploy Problem Help

2002-03-21 Thread Randy Layman
gt; import java.io.*; > import java.text.*; > import java.util.*; > import javax.servlet.*; > import javax.servlet.http.*; > I would easily suppose these should be available to > Tomcat. If not what do I do. > Thanks > Sanjay > --- Randy Layman <[EMAIL PROTECTED]>

RE: Servlet Deploy Problem Help

2002-03-21 Thread Randy Layman
The stack trace you included indicates that you are running the servlet, but its throwing an exception. > -Original Message- > From: Sanjay Bahal [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 21, 2002 9:21 AM > To: [EMAIL PROTECTED] > Subject: Servlet Deploy Problem Help >

RE: petstore 1.3 on Tomcat 4 as J2EE server

2002-03-21 Thread Randy Layman
> -Original Message- > From: robert rowntree [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 21, 2002 12:17 AM > To: [EMAIL PROTECTED] > Subject: petstore 1.3 on Tomcat 4 as J2EE server > > > without running the J2EE server that comes with the > "J2SDKEE1.3" download, I tried deplo

RE: RE: newbie jsp question

2002-03-20 Thread Randy Layman
>From the Javadocs for java.lang.VerifyError (great source of information, by the way): Thrown when the "verifier" detects that a class file, though well formed, contains some sort of internal inconsistency or security problem. So I would say that somehow your JDBC drivers are corrupt. I have

RE: Tomcat 3.2.1, 3.2.3, 3.2.4a

2002-03-20 Thread Randy Layman
The Tomcat 3.2 series had a number of issues with indirect loading of classes - the servlet or class would call one of Sun's classes to load a class (like JNDI). The problem was that the web app's class loader wasn't visible to the system classes. In Tomcat 3.2 you can put all your clas

RE: problems connecting to MS Access when Tomca3.2 runs as service

2002-03-20 Thread Randy Layman
The cause of your error message is that you have the file open (probably in Access) and the System Account is trying to read the file. The JET engine doesn't allow this. Your more significant and potentially more dangerous problem is that you are using the JDBC-ODBC bridge. Thi

RE: bug JDK 1.3

2002-03-20 Thread Randy Layman
You need to pass the flag -Xrs to the Sun implementations on startup. For Tomcat 3.3 this means setting the environment variable TOMCAT_OPTS to -Xrs. Randy > -Original Message- > From: vmfa [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 19, 2002 1:51 PM > To: [EMAIL

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

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: Dep

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 dev

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: 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: 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 complete

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 quest

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 T

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 refe

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\\Configuration. You can add new JVM Option Number X (and make sure to increment the JVM Option Count key) to contain the additional parameters. Randy

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: Does anyone know of a Tomcat 3.2.4 Memory Leak Problem?

2002-03-07 Thread Randy Layman
loaded into memory when they > are accessed > and never get released. 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-

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

2002-03-07 Thread Randy Layman
ed. The problem remains, unmodified. > > Is it possible that some of my jar files need updating? > > Thanks, > Scott > > > -Original Message- > > From: Randy Layman [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, March 07, 2002 8:42

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 othe

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 [mailto:[EM

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

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. Ap

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]] > Sen

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: 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. > > > > gizmoservlet > gizmoservlet I'm pretty sure this should be /gizmoserv

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] [mailto:

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: 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: 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]>

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 sign

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 : > > >

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 t

RE: TOMCAT 4.0.2 server crash

2002-03-04 Thread Randy Layman
t about other drivers? > > which is thread > > safe and which is not? > > I also realise i do have many problems regarding database access. > > Im using MSSQL 2000 btw. whcih driver do u recommend? > > > > > > -Original Message- > > From: Ran

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 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 load-

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 objec

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

2002-03-01 Thread Randy Layman
t; > 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 PROTECT

RE: [Dim Question] Redirecting GET http://blah.com/ resource -> GET /resource - Tomcat 4

2002-03-01 Thread Randy Layman
The HTTP Protocol says requests must be formatted as: GET /resource and you are sending: GET http://server/ and you want to know if these should be reformatted before they get to Tomcat? The should be reformatted before they are sent! I would guess that your proxy can't deal w

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 ... > > > root cause java.lang.NoClassDefFoundError: > sun/tools/javac/Main . > any ideas ... ? >

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: To

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

2002-03-01 Thread Randy Layman
Basically, Tomcat will create a separate instance for each unique URL that the servlet responses to. (Technically, every time you define the servlet in the web.xml there is a separate instance, and another instance is created when you use the ServletInvoker to invoke the servlet

RE: JSP programming under Tomcat 4.0.2

2002-02-28 Thread Randy Layman
ml directory. > > 4. And I have a source directory in $HOME/local/src/ and put > all my java source > files there. > > I'm a beginner for JSP programming (and JAVA programming) and > would like to > start the right way. Can you give me some suggestions on this?

RE: JSP programming under Tomcat 4.0.2

2002-02-28 Thread Randy Layman
x27;t work until I > put a line <%@ > page import="jcrypt" %>at the beginning. I've put my > jcrypt.class file in > WEB-INF/classes and under $CATALINA_HOME/classes as well and > restart the > tomcat and apache. Still seems not working. > > I j

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,

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- > Fr

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 oth

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: 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 interacte

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 trou

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: 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, > > > > > when it is run I get the following. > > org.apache.jasper.JasperException: Un

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 t

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: 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 conne

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: 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: 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.

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, 200

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: 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 > T

RE: oracle/TC4.0.2/linux

2002-02-22 Thread Randy Layman
em.out.println("DataSource="+ds );//DataSource=Enabled >Connection conn = ds.getConnection(); > }catch (Exception e) { > System.out.println("erreur"+e.getMessage() ); //No Suitable Driver > > Have you any idea ?? > > P.S : The same configuaration and same

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: 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: To

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"). Doub

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: 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 packag

RE: Forwarding requests to other Services?

2002-02-21 Thread Randy Layman
s I realized that the > other servlet > then tries to forward back 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 &g

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: 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, Febr

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= > > wrapper.java_home= It these are the exact lines then t

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 wi

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 HttpS

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 JAVA_

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 th

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 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!!! > >

RE: Tomcat as a service...

2002-02-19 Thread Randy Layman
ct if Apache is present > or not and set it up for the user. > Questions, questions... > -Kevin > > > > > > Randy Layman <[EMAIL PROTECTED]> on 02/19/2002 08:36:17 AM > > Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> > > To:

RE: Tomcat as a service...

2002-02-19 Thread Randy Layman
ary 19, 2002 9:16 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 t

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 ar

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: 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: 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: 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: 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: 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 Message

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 dir

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 cha

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: To

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 th

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 any

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 j

  1   2   3   4   5   6   7   8   9   >