Error starting tomcat 5

2004-08-26 Thread angel cabello
Hello: I have a problem, strange problem. Last month I installed sucesfully tomcat 5.0.24, but this tuesday I tried to upgrate it to tomcat 5.027. I didn't stop the old tomcat, I just killed him (signal 15, I am running linux SUSE 9.1). Now I am not able to start tomcat (nor 5.027 nor 5.0.24,

tomcat startup/shutdown script problem

2004-08-26 Thread Eyup TEKIN
hi i have 2 tomcat instances ( tomcat 4.x modjk apache2.x structure) like cluster1 and cluster2.and rhel3.0 linuxux system has jdk1.3.x when i started tomcat via command /usr/local/tomcat/cluster1/bin/catalina sh start and give ps -efw | grep cluster1 command it returns below output ps

Re: Tomcat Virtual Host

2004-08-26 Thread Peter Huesser
sergio ulloa wrote: Hello Guys, I'm trying to create a new virtual host. but when I test it I get cannot find server. If you know how to do it, please help me. I have spend around two days. Did you make an entry on the DNS server ? Pedro

Access to a connection pool

2004-08-26 Thread Philippe Mathieu
Hi, To obtain a connection from the connection pool i use the following code (described in the tomcat doc) : http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html - First of all i describe the pool in my context.xml as a *localDataSource* - then i make a link in the

Is struts interfering with Runtime.exec() calls?

2004-08-26 Thread Christian Riedel
Hi all, some days ago I posted a problem about not being able to do a chmod on the local file system from withing my webapp via a Runtime.exec() call. To achieve this I tried the following call: /bin/chmod 660 /home/sarek/test/testfile wich did not show any effect. Nor do most of the other

Not serving JSPs

2004-08-26 Thread Daron
Hi, I set up Tomcat a few months ago and have just been able to start looking at it again. It is serving up my html documents but with jsps it complains. The error page includes: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point

Re: Not serving JSPs

2004-08-26 Thread Nikita
Daron wrote: Hi, I set up Tomcat a few months ago and have just been able to start looking at it again. It is serving up my html documents but with jsps it complains. The error page includes: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does

RE: Not serving JSPs

2004-08-26 Thread Daron
Thanks for responding Nikita, yes I am using XP. My JAVA_HOME is set correctly. This has brought up an issue though. JAVA_HOME is set to: C:\Program Files\Java\j2sdk1.5.0 Will the space cause problem ? Daron. -Original Message- From: Nikita [mailto:[EMAIL PROTECTED] Sent: Thursday, 26

Re: Not serving JSPs

2004-08-26 Thread Nikita
Daron wrote: Thanks for responding Nikita, yes I am using XP. My JAVA_HOME is set correctly. This has brought up an issue though. JAVA_HOME is set to: C:\Program Files\Java\j2sdk1.5.0 likely. try: '%JAVA_HOME%/bin/javac' from console. if that fails to find javac, then enclose the above path

RE: Not serving JSPs

2004-08-26 Thread Daron
thanx -Original Message- From: Nikita [mailto:[EMAIL PROTECTED] Sent: Thursday, 26 August 2004 6:19 PM To: Tomcat Users List Subject: Re: Not serving JSPs Daron wrote: Thanks for responding Nikita, yes I am using XP. My JAVA_HOME is set correctly. This has brought up an issue though.

Problem deploying WAR with META-INF/context.xml file (probably a bug) with Tomcat 5 (for W2K)

2004-08-26 Thread Daniel CAMPI
Hi, I'm just discovering Tomcat 5, and I've been spending almost all day trying to find a solution to deploy a WAR packaged servlet that has to connect itself to a global data source resource (ORACLE database). To set up the connections, I first did the things manually. From within the web

Deployment to a cluster

2004-08-26 Thread Anthony Colebourne
Hi, I have a deployment problem with a Tomcat 5 cluster. 1) The Farming functionality does not exist yet so I want to use a networked file system (AFS) for the appBase. 2) When unpackWARs=true and autoDeploy=true, newly deployed WARs become available from all machines. However when you update

Re: Adding a web-app which is not automaticly started on start of tomcat.

2004-08-26 Thread Michiel Meeuwissen
Shapira, Yoav [EMAIL PROTECTED] wrote: The server either starts all webapps on startup or none of them. See the Host configuration reference for details. But you can't toggle this option for one webapp only (unless you put it on its own Host of course, which is trivial). Do you mean the

JAVA_OPTS in catalina.bat (Tomcat 5.0.27)

2004-08-26 Thread Chris Ward
Hi, I've added set JAVA_OPTS= -Xms128m -Xmx128m to my catalina.bat file and Tomcat no longer starts. Same happens if I set JAVA_OPT as an environment variable (Windows XP). Anyone hit this? It works on my Tomcat 4.x catalina.bat file. Best regards Chris

RE: JAVA_OPTS in catalina.bat (Tomcat 5.0.27)

2004-08-26 Thread Dale, Matt
There must be an error message somewhere. Either in catalina.out or on the console. Put a pause in at the end of catalina.bat so it stays on screen when you try to start tomcat. -Original Message- From: Chris Ward [mailto:[EMAIL PROTECTED] Sent: 26 August 2004 11:17 To: [EMAIL

RE: JAVA_OPTS in catalina.bat (Tomcat 5.0.27)

2004-08-26 Thread Chris Ward
Thanks Matt, I've since found that it just didn't like the version of the command in catalina.bat (or setclasspath.bat) Fails = set JAVA_OPTS= -Xms128m -Xmx128m Succeeds = set JAVA_OPTS=-Xms128m -Xmx128m I'd seen some mailing list posting the other day that recommended putting the

Servlet and .htaccess

2004-08-26 Thread Emmanuel.Leguy
Hello, My config: apache 1.3, mod_ssl 2.8, mod_jk 1.2, Tomcat 5.0, Solaris 9 I want to protect servlet by a .htaccess file. Here is the url of my servlet: https://www.myserver.fr/servlet/secure/servlet/myservlet Config files: httpd.conf JkMount /servlet/servlet/secure/* lamoral

RE: JAVA_OPTS in catalina.bat (Tomcat 5.0.27)

2004-08-26 Thread Dale, Matt
It works fine on my XP machine and in 2K, what version of windows are you running? -Original Message- From: Chris Ward [mailto:[EMAIL PROTECTED] Sent: 26 August 2004 11:46 To: Tomcat Users List Subject: RE: JAVA_OPTS in catalina.bat (Tomcat 5.0.27) Thanks Matt, I've since found that

RE: JAVA_OPTS in catalina.bat (Tomcat 5.0.27)

2004-08-26 Thread Chris Ward
I'm on 2K in this case. I've just double checked that I'm not talking rubbish and find that having the double-quoted version, with leading an trailing spaced still blows up. However, simply removing the double-quotes works fine. I only used the quotes to ensure the spaces were there (see my

Tomcat 4 vs Tomcat 5

2004-08-26 Thread Didier McGillis
While I dont want a feature breakdown I am looking to see if it would be a good idea to movet from Tomcat 4.1-29 to Tomcat 5. Currently Tomcat is being used also as a standalone web server and servlet container, and I would like to move the web servering to apache, is Tomcat 5 easier to

Re: Tomcat 4 vs Tomcat 5

2004-08-26 Thread Tim Funk
No. But tomcat5 is faster than 4. So you probably won't need apache. -Tim Didier McGillis wrote: While I dont want a feature breakdown I am looking to see if it would be a good idea to movet from Tomcat 4.1-29 to Tomcat 5. Currently Tomcat is being used also as a standalone web server and

e-Mails with executable attachments are not accepted here

2004-08-26 Thread Postmaster
From : [EMAIL PROTECTED] To : [EMAIL PROTECTED] Subject : Mail Delivery (failure [EMAIL PROTECTED]) (X-FILE ??? ) : message.scr TYPE : audio/x-wav SUSPECT FILES : 1 An e-Mail with the above particulars was received here and was

Problem in Tomcat

2004-08-26 Thread Jitesh Sinha
Hello All, We get the following error every now and then.Any ideas why it will occur? RequestHandler daemon prio=5 tid=0x000e5d18 nid=0xd9d runnable [0..0] Thread-13 prio=5 tid=0x006cf248 nid=0xd9c waiting on condition [0..e9afbba8] SocketListener daemon prio=5 tid=0x00753a28 nid=0x29

access logs

2004-08-26 Thread Didier McGillis
I am having problems locating the access logs for tomcat, the ones that I think are defined in server.xml seem to point to a file where there are only java exceptioins and error logging, no access logs to determine traffic, etc. _

RE: access logs

2004-08-26 Thread Dale, Matt
There aren't any by default, you have to create an access log valve in your server.xml. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html -Original Message- From: Didier McGillis [mailto:[EMAIL PROTECTED] Sent: 26 August 2004 13:42 To: [EMAIL PROTECTED] Subject: access

MessageResources in Model

2004-08-26 Thread Honza Spurn
Hi there, I know this is not request for Tomcat mailing list, but since I could not connect to struts mailing list, I've tried last chance here :o) Thanks for understanding. I have my own class called CountrySeparator: public class CountrySeparator { ... } I'd like to use messageResources here

RE: Problem in Tomcat

2004-08-26 Thread Shakeel Ahmad
Actually this is not an error, when you press Ctrl+Break key on Tomcat Console it dumps all the threads in this fashion. By the way this crashing your web app -Original Message- From: Jitesh Sinha [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 4:53 PM To: Tomcat Users List

RE: Access to a connection pool

2004-08-26 Thread Shapira, Yoav
Hi, By the servlet spec, you have to have the name of the pool twice. Once the server administrator defines it, and once the app deployer links to it (this is the web.xml snippet). If you only have one data source, you can iterate through the context naming bindings to find the one that's a

RE: Adding a web-app which is not automaticly started on start of tomcat.

2004-08-26 Thread Shapira, Yoav
Hi, If you don't want them started, don't put them in server.xml and turn off autoDeploy. Then you can manually deploy and start them via the Manager as you wish. This will reduce startup time. Another option if you have many webapps is to separate them into separate tomcat instances. Yoav

RE: Problem deploying WAR with META-INF/context.xml file (probably a bug) with Tomcat 5 (for W2K)

2004-08-26 Thread Shapira, Yoav
Hi, This is a known bug in 5.0.27. You can use 5.0.25 which has correct behavior here. I've also already patched the bug in CVS, and I'll cut out a 5.0.28 release in a few days which will have the fix. Yoav Shapira Millennium Research Informatics -Original Message- From: Daniel CAMPI

RE: Problems deploying an example application

2004-08-26 Thread Shapira, Yoav
Hi, You're doing several things wrong. database via OJB. I successfully built ojb-servlet.war Successfully, perhaps, but incorrectly. - I dropped ojb-servlet.war into Tomcat's webapps directory. When Tomcat starts up, it explodes the WAR into webapps/ojb-servlet. - I added the following

RE: Tomcat 4 vs Tomcat 5

2004-08-26 Thread Shapira, Yoav
Hi, There are other reasons it's a good idea to do this move. As Tim said Tomat 5 is faster, but it's also better in several key areas and more actively supported. As for connecting it to Apache, in addition to our docs make sure to check out the Wiki at

Re: Error starting tomcat 5

2004-08-26 Thread QM
On Thu, Aug 26, 2004 at 09:12:13AM +0200, angel cabello wrote: : Last month I installed sucesfully tomcat 5.0.24, but this tuesday I : tried to upgrate it to tomcat 5.027. : I didn't stop the old tomcat, I just killed him (signal 15, I am running : linux SUSE 9.1). : : Now I am not able to

how to configure log file ?

2004-08-26 Thread Jean-Paul Le Fèvre
I'm not satisfied by the default format used by the FileLogger in Tomcat 5. The documentation explains how to configure the *name* of the log files but not the *content* of the files. Each printed message is prefixed by the full date-time and the context-servlet name : this prefix is more than

Web Service (Axis+Tomcat 5+SSL)

2004-08-26 Thread Daniel Snchez Gmez
Hi, I'm looking for information about how to make a secure WebService. To be exact I would like use SSL in my application, but I don´t know how to configure all the necessary to do it. I have see axis and tomcat web pages, but I'm a bit confused. My first objective is that the client of my web

RE: how to configure log file ?

2004-08-26 Thread Shapira, Yoav
Hi, There are no additional configuration beyond those on the documentation that you've already read. Your options are to extend FileLogger yourself or to stop using it, and pick up a real logging system like log4j. Note that Tomcat 5.5 will eliminate Loggers altogether (it will use

RE: JK2: Partition workers2.properties

2004-08-26 Thread Cox, Charlie
Instead of including all your mappings in the workers2.properties, you can use Location and LocationMatch in httpd.conf to set up your mappings. Charlie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 25, 2004 8:32 AM To: [EMAIL PROTECTED]

AW: JK2: Partition workers2.properties

2004-08-26 Thread Bjoern . Andersen
Hi, Instead of including all your mappings in the workers2.properties, you can use Location and LocationMatch in httpd.conf to set up your mappings. Thanks, but... We got JK2 running as a ISAPI-Filter on IIS6. ... not httpd.conf on

Re: Tomcat causes Apache to hang. Any ideas?

2004-08-26 Thread Sean Finkel
I recall RHEL 3.0 comes with an NPTL-based 2.4, which will require setting LD_KERNEL_ASSUME=2.4 to disable the NPTL functionality for the Java process. That may be it. I am assuming you mean set this as an environment variable? I will give this a try and see what happens! Thank you for the

RE: Tomcat causes Apache to hang. Any ideas?

2004-08-26 Thread Shapira, Yoav
Hi, Perhaps Tomcat standalone would be sufficient for your application requirements? Yoav Shapira Millennium Research Informatics -Original Message- From: Sean Finkel [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 11:17 AM To: Tomcat Users List Subject: Re: Tomcat causes

Re: Tomcat causes Apache to hang. Any ideas?

2004-08-26 Thread Sean Finkel
Shapira, Yoav wrote: Hi, Perhaps Tomcat standalone would be sufficient for your application requirements? No, because the user also wants access to PHP and other related Apache features (htacces, mod_rewrite, etc). -Sean - To

Re: Problem deploying WAR with META-INF/context.xml file (probably a bug) with Tomcat 5 (for W2K)

2004-08-26 Thread Daniel CAMPI
Great ! Thank you very much for your help ! D. Campi Geneva University Hospital (Switzerland) - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, August 26, 2004 2:58 PM Subject: RE: Problem deploying WAR with

Configuring RemoteHostValve

2004-08-26 Thread Sinkinson,Andrew [NCR]
Hi All, I am having difficulty in setting up a RemoteHostValve for my WebApp. I have created a configuration descriptor file named CST_CLIENT.xml with the following Context defined: Context path=/CST_CLIENT Valve className=org.apache.catalina.valves.RemoteHostValve

Re: Tomcat causes Apache to hang. Any ideas?

2004-08-26 Thread Sean Finkel
Sean Finkel wrote: Hello, First a brief background on the setup: We are running Apache 1.3.31 utilizing mod_jk (not jk2). We are running two instances of Tomcat. Previously, both were version 4. Currently, we have one shared instance running the latest 5.x release (just compiled yesterday). We

Exception -- Tomcat 4.1.30

2004-08-26 Thread Sandeep Arshanapally
Hi, I am seeing the following exception happen once in a while. I am using tomcat 4.1.30 and running in standalone mode. Any idea of what the issue is?? Is it fixed in a later version??? Thanks, Sandeep java.util.ConcurrentModificationException at

Loading classes from a WAR file outside of Tomcat

2004-08-26 Thread Steve McWilliams
Hello, I am wondering if anyone can suggest an easy way to reuse WAR files outside of Tomcat. We use Tomcat 5.0.27 and deliver out application bundled up in a WAR file, which we do not explode at runtime. Ideally I would like to be able to reuse some of the classes in our WAR file from a stand

RE: Loading classes from a WAR file outside of Tomcat

2004-08-26 Thread Shapira, Yoav
Hi, A WAR file is just a JAR file with special locations inside it. The Tomcat classloaders all extend java.net.URLClassLoader which can read from JARs. So if you could open a WAR file and create a new URLClassLoader with the URL to the WAR file's WEB-INF/classes directory, for example, you'd

RE: Tomcat causes Apache to hang. Any ideas?

2004-08-26 Thread Shapira, Yoav
Hola, Just a couple of things ;) (Apache hands *everything* off for this domain to Tomcat, including images): And yet you said Tomcat standalone wasn't an option for this installation? Too bad. You can do much of mod_rewrite with the balancer app, you can do much of .htaccess with Servlet

SecurityManager

2004-08-26 Thread Seaman, Sloan
I'm trying to get an application I have to use the SecurityManager object from Tomcat. I've added the -security to my startup so that it is enabled. When I do a System.getSecurityManager() it returns a null object. If I try and create my own SecurityManager and set it via

referencing jsp pages with ../../

2004-08-26 Thread Jeremy C. Reed
This is with Tomcat 5.0.27. When using the tomcat without Apache on jsp files, referencing files with ../../ (dot dot) parent directories works. But when using server, it does not work. But using hard-coded paths does fix the problem. I read about the security issues about the Apache Tomcat 3.0

Re: Tomcat causes Apache to hang. Any ideas?

2004-08-26 Thread Sean Finkel
(Apache hands *everything* off for this domain to Tomcat, including images): And yet you said Tomcat standalone wasn't an option for this installation? Too bad. You can do much of mod_rewrite with the balancer app, you can do much of .htaccess with Servlet security constraints, and if

RE: Tomcat causes Apache to hang. Any ideas?

2004-08-26 Thread Shapira, Yoav
Hola, Sorry, this is a shared server, and he wants his site available on port 80. Tomcat standalone can run on port 80 without running as root by using jsvc (from commons-daemon). There are examples and more information on this configuration at

404 error accessing servlet in Tomcat5

2004-08-26 Thread Preeti Iyer
Hi, I have a simple webapp with 1servler. When I run my webapp in Tomcat5 and try accessing my servlet using http://localhost:8080/HelloServlet/HelloServlet , I get a 404 error page stating -- HTTP Status 404 - /HelloServlet/HelloServlet type Status report message /HelloServlet/HelloServlet

RE: 404 error accessing servlet in Tomcat5

2004-08-26 Thread Shapira, Yoav
Hi, Is your application named HelloServlet also? If so, I suggest changing its name to reduce confusion. Call it myApp or whatever you want. Next, correct the actual code of your servlet. Having an empty service() method means your servlet will do nothing. Take out that method completely so

ssl

2004-08-26 Thread Carey Boldenow
I have just a general question regarding SSL and Tomcat. I have a web application that is currently being deployed entirely through Tomcat (v 5.0.19). I have now been asked to implement SSL. Is there any problem with just configuring Tomcat to use SSL, or is it recommended to use Apache web server

Re: Tomcat causes Apache to hang. Any ideas?

2004-08-26 Thread Sean Finkel
Sorry, this is a shared server, and he wants his site available on port 80. Tomcat standalone can run on port 80 without running as root by using jsvc (from commons-daemon). There are examples and more information on this configuration at

RE: Configuring RemoteHostValve

2004-08-26 Thread Sinkinson,Andrew [NCR]
Has anyone been able to configure a Remote Host Filter for tomcat 5.0.27 that works? -Original Message- From: Sinkinson,Andrew [NCR] Sent: August 26, 2004 1:53 PM To: [EMAIL PROTECTED] Subject: Configuring RemoteHostValve Hi All, I am having difficulty in setting up a

RE: ssl

2004-08-26 Thread Williams, Mark L CIV NSWC-PC
In my extremely limited experience, the SSL in Tomcat is easy to use on its own. I didn't have much luck with requiring client-side certificates and I'm not sure the system's approach (keep your own keystore rather than querying certification authorities) is that great, but for just activating SSL

JSTL VS. JSP

2004-08-26 Thread Williams, Mark L CIV NSWC-PC
Given a web site using FORM-based authentication, I can get the name of the authenticated user to show in my web page with: %= request.getUserPrincipal().getName() % If I use JSTL, I think the equivalent should be: c:out value=${request.getUserPrincipal().getName()} / The first one works; the

Re: JSTL VS. JSP

2004-08-26 Thread Tim Funk
c:out value=${pageContext.request.userPrincipal.name} / -Tim Williams, Mark L CIV NSWC-PC wrote: Given a web site using FORM-based authentication, I can get the name of the authenticated user to show in my web page with: %= request.getUserPrincipal().getName() % If I use JSTL, I think the

Re: Configuring RemoteHostValve

2004-08-26 Thread QM
On Thu, Aug 26, 2004 at 01:53:26PM -0400, Sinkinson,Andrew [NCR] wrote: : I am having difficulty in setting up a RemoteHostValve for my WebApp. : [snip] :Valve className=org.apache.catalina.valves.RemoteHostValve : allow=*.gc.ca/ ^^^ The docs state this should be a

Avoiding double execution of JSP from double posting of request

2004-08-26 Thread Bill Bruns
I believe this is a double-click type of problem, in other words a double post. So the user clicks twice (quickly) and the second click happens before the next page comes from the server. This could be handled by putting javascript in to check for double clicks. But I would rather handle it on the

Re: Avoiding double execution of JSP from double posting of request

2004-08-26 Thread Vy Ho
Yes, Put a unique key on the client computer (cookie) and also on the client's session object. When they click, synchronize the handler and check for the cookie and the session object's key. If they are not matched, then this is a duplicate. Next, remove the key from the session object and

adding root context with admin webapp

2004-08-26 Thread Matt Bathje
Hi all. This message applies to tomcat 5.0.25 and tomcat 5.0.27. Is it possible to add a root context with the admin webapp? I try to add it with a single slash (/) but when I do, my whole site gets messed up with a slash at the front of all style sheets, images and links. You can't add the root

Re: Access JBoss from Tomcat

2004-08-26 Thread Darryl L. Pierce
On Wednesday 25 August 2004 06:50 pm, Robert F. Hall wrote: You could access your JBoss hosted EJBs as web services. Isn't there a bit of overhead involved in accessing them as web services? I don't want to do that. I would rather access them as EJBs. My servlet needs to be more efficient

Re: Access JBoss from Tomcat

2004-08-26 Thread Darryl L. Pierce
On Wednesday 25 August 2004 06:58 pm, Filip Hanik (lists) wrote: just access the EJBs the same way its been done since the spec started. Lookup the EJB through JNDI, then invoke its method. I need a bit more guidance than that; i.e., how do I configure JNDI in Tomcat to tell it what it needs

RE: Access JBoss from Tomcat

2004-08-26 Thread Nelson, Jerry W, Contractor 146CF, SCB
I see you figured out how to send out a question, what e-mail address did you use? Thanx, //SIGNED// Jerry Nelson -Original Message- From: Robert F. Hall [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 3:36 PM To: Tomcat Users List Subject: Re: Access JBoss from Tomcat

Not serving JSPs

2004-08-26 Thread Nelson, Jerry W, Contractor 146CF, SCB
Daron had a similar problem, my situation is the same, but everything is setup correctly. I'm using SDK1.4.02_04, I have the CLASSPATH pointing to this directory. Java programs run just fine on my computer, but Tomcat will not run a JSP. What could be wrong Jerry

Tomcat will not run JSPs

2004-08-26 Thread Nelson, Jerry W, Contractor 146CF, SCB
This is the message I get when I try to run a very simple JSP. The CLASSPATH is set correctly and I am using SDK1.4.2_04. What's wrong??? HTTP Status 500 - _ type Exception report message description The server encountered an internal error () that prevented it from

Re: Access JBoss from Tomcat

2004-08-26 Thread Darryl L. Pierce
On Thursday 26 August 2004 06:36 pm, Robert F. Hall wrote: With web services comm is done over http. With EJBs comm is done using RMI Both have overhead costs. And both can be suprisingly efficient when you consider everything that is involved in a round-trip. Okay, whatever. The point

RE: Access JBoss from Tomcat

2004-08-26 Thread Filip Hanik \(lists\)
there are a gazillion tutorials on how to access EJB on google. this is very simple 1. Place your jboss-client libraries (including the class files for your ejb home and interface) in WEB-INF/lib (as jar files) 2. Get the JNDI context for the JBoss server Properties props = new Properties();

Re: Tomcat will not run JSPs

2004-08-26 Thread Wendy Smoak
From: Nelson, Jerry W The CLASSPATH is set correctly And the error message says: Perhaps JAVA_HOME does not point to the JDK CLASSPATH is not the same thing as JAVA_HOME. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL

RE: Tomcat will not run JSPs

2004-08-26 Thread Nelson, Jerry W, Contractor 146CF, SCB
OK, How do I set JAVA_HOME??? //SIGNED// Jerry Nelson -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 4:15 PM To: Tomcat Users List Subject: Re: Tomcat will not run JSPs From: Nelson, Jerry W The CLASSPATH is set correctly And the

Re: Tomcat will not run JSPs

2004-08-26 Thread Wendy Smoak
From: Nelson, Jerry W OK, How do I set JAVA_HOME??? The same way you set CLASSPATH-- it depends on your operating system. For Windows, I do it in Start-Settings-Control Panel-System-Advanced-Environment Variables and put it under System variables so it stays set. And... set it to the directory

Re: JSTL VS. JSP

2004-08-26 Thread Tim Funk
http://www.manning-source.com/books/bayern/bayern_apxA.pdf http://www.jadecove.com/jstl-quick-reference.pdf and worst case ... the JSTL spec. -Tim Williams, Mark L CIV NSWC-PC wrote: Works. Merci. Is there a reference where I should have been able to find that? VR/m -Original Message-

RE: Tomcat will not run JSPs

2004-08-26 Thread Nelson, Jerry W, Contractor 146CF, SCB
What's the syntax?? JAVA_HOME is nowhere to be found in System Vaiables. //SIGNED// Jerry Nelson -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 4:29 PM To: Tomcat Users List Subject: Re: Tomcat will not run JSPs From: Nelson, Jerry W

RE: Tomcat will not run JSPs

2004-08-26 Thread Nelson, Jerry W, Contractor 146CF, SCB
Everything I see refers to JDK. The only thing I can find is SDK. Are they the same??? //SIGNED// Jerry Nelson -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 4:47 PM To: Tomcat Users List Subject: Re: Tomcat will not run JSPs From:

Re: Tomcat will not run JSPs

2004-08-26 Thread Nikita
yes, SDK stands for Software Development Kit (which is a very general term). JDK is Java SDK. Sun Microsystems, the company that'd created java has a pretty good overview of java, including tutorials at: http://java.sun.com/learning/new2java/index.html if you'd like to learn java programming,

Re: Tomcat will not run JSPs

2004-08-26 Thread Wendy Smoak
From: Nelson, Jerry W Everything I see refers to JDK. The only thing I can find is SDK. Are they the same??? Same thing, I think I'm dating myself. ;) JDK == Java Development Kit and now we have the J2SE SDK - Java 2 Standard Edition [version whatever] Software Development Kit. Just make sure

RE: Tomcat will not run JSPs

2004-08-26 Thread Nelson, Jerry W, Contractor 146CF, SCB
I completely romoved EVERTHING that has anything to do with Java and reinstalled J2SDK1.4.2_05 and JRE1.4.2_05 and reinstalled jakarta-tomcat-5.0.27. When I reinstalled jakarta, all it asked for was a directory for the JVM, nothing for home directory OR the location of javac. I still get an error

Important

2004-08-26 Thread hgomez
-- Virus Warning Message (on uusnwa0p) -- Found virus WORM_NETSKY.Z in file Informations.txt .exe (in Informations.zip) The

RE: Tomcat will not run JSPs

2004-08-26 Thread Nelson, Jerry W, Contractor 146CF, SCB
This is the JSP I'm trying to run: html head titleA Simple JSP/title /head body pcenterThe current Date and time is: %= new java.util.Date()%/center/p /body /html Can't get much simpler than this one. //SIGNED// Jerry Nelson -Original Message- From: Wendy Smoak [mailto:[EMAIL

RE: Tomcat will not run JSPs

2004-08-26 Thread Fredrik Liden
Go to google: Search for setting java_home click the first link in the result link. Follow step-by-step instructions. Once you get passed the step of setting the paths you'll no doubt encounter tons of problems and questions. Make sure to read the basic tutorials and search the archive for the

Please help with jk2/tomcat5

2004-08-26 Thread webmaster
Hello list members, Running Linux Fedora core2, apache2, tomcat5, jk2 In my workers2.properties file, I have the following lines: [channel.socket:tomcat_server:8033] host=hostation.com port=8033 debug=0 [ajp13:tomcat_server:8033] channel=channel.socket:tomcat_server:8033 debug=0

RE: Tomcat will not run JSPs

2004-08-26 Thread Nelson, Jerry W, Contractor 146CF, SCB
OK, I got the instructions and the homes are set as follows: L:\echo %JAVA_HOME% C:\Program Files\Java\j2re1.4.2_05\bin\client L:\ECHO %CATALINA_HOME% D:\Program Files\Apache Software Foundation\Tomcat 5.0 Tomcat STILL can't find javac!!! What's next //SIGNED// Jerry Nelson

RE: adding root context with admin webapp

2004-08-26 Thread SANTOS, DANIEL \(SBCSI\)
Example: Context path= docBase=C:\Projects\myapp\docroot debug=99 /Context Also, I use deployOnStartup=false in my Host. Keep in mind that this used to be called autoDeploy and due to some left-over stuff the setting autoDeploy still pops up in the Host if you use the admin interface (I just

How a JSP file is cached?

2004-08-26 Thread Wei Wei
After I updated a JSP file, I can't see the new version shown up from the TC 5.0.27 no matter what I did. I have made sure the new version is up on the TC; the old corresponding Java, class are removed from the work directory (by hand); recycle the TC. After all of these, the Java and class

help to resolve a problem with XSLT generation

2004-08-26 Thread Eugene
Hi, guys! I have a problem. I am running Apache 2.0.50 + Tomcat5.0.27(mod_jk2) on Windows Server 2003. We have upgraded it from Apache 2.0.46+Tomcat 4.0.27(mod_jk). This combination worked fine but for some reasons we should periodically upgrade it to a newest versions. Anyway, I've started this

Tomcat 5 error -3

2004-08-26 Thread Ng How Sce, Robin
Hi, I am using tomcat 5 and i get this error occasionally in the catalina.out. Anyone has any idea how to solve it? Thanks. [Fri Aug 27 10:16:56 2004] ( info ) [jk_jni_aprImpl.c (431)] jkInvoke() invoke a96681f0 1185789 [TP-Processor2] ERROR: common.JniHandler - nativeDispatch: error -3

Re: How a JSP file is cached?

2004-08-26 Thread QM
On Thu, Aug 26, 2004 at 05:22:40PM -0800, Wei Wei wrote: : After I updated a JSP file, I can't see the new version shown up from the TC 5.0.27 no matter what I did. I have made sure the new version is up on the TC; the old corresponding Java, class are removed from the work directory (by hand);

Re: Tomcat will not run JSPs

2004-08-26 Thread Dennis Dai
You need to set %JAVA_HOME% to the installation directory of JDK, Not JRE. The JDK is installed in C:\j2sdk1.4.2_05 by default. I agree with Fredrik that you need to do some more home work by yourself since this is fairly basic stuff. On 8/26/2004 6:01 PM, Nelson, Jerry W, Contractor 146CF,

java.lang.Thread.run(Thread.java:479)

2004-08-26 Thread Singh, Vishal
All Gurus, I'm new to Tomcat 4.0 and Apache 1.3.27. I have an application (Business Objects) running on these where the report results are converted to XML and then displayed. My server crashed very often with this error. I added -Xms -Xmx parameters in CATALINA.BAT with value of 1024MB

RE: java.lang.Thread.run(Thread.java:479)

2004-08-26 Thread Singh, Vishal
Apologies for missing the actual error message as following root cause java.lang.OutOfMemoryError -Original Message- From: Singh, Vishal Sent: Friday, 27 August 2004 1:23 PM To: Tomcat Users List Subject: java.lang.Thread.run(Thread.java:479) All Gurus, I'm new to

Re: How a JSP file is cached?

2004-08-26 Thread Wei Wei
I guess the web.xml file you mentioned is the one under the conf directry. I don't see anything recomiled. I use the 5.0.27 as what it is without any changes. And since it is a new project, the project web.xml is very simple. Nowhere recomplied is indicated. Anything else? - Original

RE: Tomcat will not run JSPs

2004-08-26 Thread Nelson, Jerry W, Contractor 146CF, SCB
That didn't work either and I have been researching this for a week, some days as many as 10 hours. I've probably spent an entire work week on this problem and I am getting really frustrated. Here are my current envirnment settings: L:\echo %java_home% C:\j2sdk1.4.2_05 L:\echo %catalina_home%

Re: help to resolve a problem with XSLT generation

2004-08-26 Thread Jacob Kjome
What version of the JDK are you using? This is telling... javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found javax.xml.transform.TransformerFactory.newInstance(Unknown Source) Either you are using a JDK less than

RE: Tomcat will not run JSPs

2004-08-26 Thread Jacob Kjome
Ok, start over. Uninstall Tomcat. Grab the .zip file distribution and extract it to a directory *without spaces*. Now, change the value of CATALINA_HOME to the new location of Tomcat. Reboot. The reboot is sometimes not necessary, but many times it is in order for your environment

Re: Tomcat will not run JSPs

2004-08-26 Thread Dennis Dai
Of course it will not work! First, I believe the environment variables need to be CAPITALIZED, as in %JAVA_HOME% and %CATALINA_HOME%. Second, your %CATALINA_HOME% is pointing to the wrong place. It should be the root of tomcat installation (ie., D:\Program Files\Apache Software

RE: Problem in Tomcat

2004-08-26 Thread Jitesh Sinha
Well,this is what we are seeing in our log files...and it can be seen only when we see an error on our web page And yes,our web app is crashing because of the error -Original Message- From: Shakeel Ahmad [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 6:26 PM To: Tomcat

RE: Problem in Tomcat

2004-08-26 Thread Shakeel Ahmad
So I need exact details of the problem. -Original Message- From: Jitesh Sinha [mailto:[EMAIL PROTECTED] Sent: Friday, August 27, 2004 10:23 AM To: Tomcat Users List Subject: RE: Problem in Tomcat Well,this is what we are seeing in our log files...and it can be seen only when we see an

  1   2   >