problem with Tomcat and port 8080

2003-02-17 Thread Michael Harrison
I'm running (or trying to) Tomcat 4.0.6 on RedHat 8.0 for PC. I installed Tomcat from a binary (ie. I just unpacked it and moved it into /usr/local. I ultimately hope to run it connected to Apache (2.0.44) through an ajp13 connector, but for now I just want the server to run by itself on port

A problem with Tomcat and port 8080

2003-02-17 Thread Michael Harrison
I'm running (or trying to) Tomcat 4.0.6 on RedHat 8.0 for PC. I installed Tomcat from a binary (ie. I just unpacked it and moved it into /usr/local. I ultimately hope to run it connected to Apache (2.0.44) through an ajp13 connector, but for now I just want the server to run by itself on port

Problem with servlets in Tomcat 4.1.18

2003-02-17 Thread David . T . Clark
Hello, I have recently downloaded Tomcat 4.1.18 and I am having a little problem getting servlets to work. After installing a Tomcat 4.1.18 I created a directory called test under the webapps directory. I then created directory WEB-INF under test and classes under WEB-INF. I placed a single

applet

2003-02-17 Thread Cédric Grun
I must use an applet in my webapp, but this applet uses library which are in directory WEB-INF/lib. If I copy this library in same directory the jsp page, the applet works. But if I put my packed applet in directory WEB-INF/lib, the jsp page can't found it. How can I do to not copy library,

Re: A problem with Tomcat and port 8080

2003-02-17 Thread Peng Tuck Kwok
Something is running on port 8080, it looks like the old tomcat is running. You could try and kill all java processes in your machine to be sure then start up your new copy. Michael Harrison wrote: I'm running (or trying to) Tomcat 4.0.6 on RedHat 8.0 for PC. I installed Tomcat from a binary

ArrayIndexOutOfBoundsException in Tomcat 4.0.6

2003-02-17 Thread Vincenzo Marchese
Hello Tomcat users, We are encountering a problem in a site running tomcat 4.0.6. Every now and then (at least once a week) the server crashes complaining of an ArrayIndexOutOfBoundsException in SocketInputStream, logs following (IPs masked for privacy :) ) 2003-02-14 11:02:23

Re: Problem with servlets in Tomcat 4.1.18

2003-02-17 Thread Holger Klawitter
Am Montag, 17. Februar 2003 01:14 schrieb [EMAIL PROTECTED]: Hello, I have recently downloaded Tomcat 4.1.18 and I am having a little problem getting servlets to work. After installing a Tomcat 4.1.18 I created a directory called test under the webapps directory. I then created directory

R: R: Startup/shutdown script

2003-02-17 Thread Simone Chiaretta
Yeah, I already did this test I put an echo in both starting side and stopping side of tomcat script I'm not looking at any files, I just looking at the console connected directly on the server... I saw (on the screen) the echoed string during startup but I don't see them during shutdown...

R: R: Startup/shutdown script

2003-02-17 Thread Simone Chiaretta
Hello Oscar, when I /etc/rc.d/init.d/tomcat stop manually the service is stopped btw... what does the chkconfig is? Thank you Simone PS: I saw your script on the page and (restart and status options apart) it's like mine... -Messaggio originale- Da: Oscar Carrillo [mailto:[EMAIL

Reading large log files with a servlet.

2003-02-17 Thread Peng Tuck Kwok
I've noticed that app servers like Sun One allows a administrator to view the contents of the log file in the administrative interface. Has anyone have any experience in doing that with a servlet in tomcat ? Could you share you experience please ? Thanks.

RE: Log4J and tomcat using Commons logging

2003-02-17 Thread Collins, Jim
Hi Larry, In my myapp/WEB-INF/lib I have: log4j-1.2.6.jar In myapp/WEB-INF/classes I have: log4j.properties In common/lib I have: commons-logging-api.jar commons-logging.jar log4j-1.2.6.jar And in server/lib I have no logging files. I intend to use log4j anyway so it is not a major

Castor doclet and ArrayList

2003-02-17 Thread PALLUEL Sylvie
Hello, I'm a newbie in Castor. And I'm using castor doclet to generate my mapping file. The databases used are mySql and Oracle8i/9i. In the doclet's documentation I've found One to One Relationship example, but nothing about One to N. My class scapin.donnees.assures.Assure has an attribute

RE : Castor doclet and ArrayList

2003-02-17 Thread PALLUEL Sylvie
Oups ... sorry ... I 'm not in the right list !!! ___ CREDI RA Sylvie Palluel [EMAIL PROTECTED] ___ -Message d'origine- De : PALLUEL Sylvie [mailto:[EMAIL PROTECTED]] Envoyé : lundi 17 février 2003 10:49 À : 'Tomcat Users List' Objet : Castor doclet

Question about workers2.properties

2003-02-17 Thread Ben, heart wanderer
Hi All, I downloaded and installed Tomcat 4.1.18 with IIS 5.0 on Win2k. I'm using an example workers2.prop file: -- # Define the communication channel [channel.socket:localhost:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009

Tomcat 3.2.1: Basic authentication and Win 2000

2003-02-17 Thread Thomas Muller
Hi, When I try to apply basic authentication to an area, Win 2000 pops up with a login dialog that requires windows credentials (or something). It seems like Windows refuses do allow Tomcat to do authentication alone. Without any knowledge of Tomcat internals, I guess it's the AccessInterceptor

Issues with IISConfig inTomcat 4.1.18

2003-02-17 Thread Ben, heart wanderer
Hi, The IISConfig Listener in Tomcat 4.1.18 generates configuration data for jk, even though 4.1.18 ships with jk2. I just thought to bring it to people's attention. Thanks, Ben Schleimer = The competent programmer is fully aware of the strictly limited size of his own skull; therefore

help need with mod_webbapp.so

2003-02-17 Thread Dan O'Callaghan
Hi I'm trying to install Tomcat for the firat time. I've got the basic tomcat working, but I'm struggling with the mod_webapp.so. I've downloaded the jakarta-tomcat-connectors source code but cannot get the mod_webapp.so to compile. All i get is the mod_webapp.c file. I've pasted below a copy of

/manager does not work on Tomat 4.0.3

2003-02-17 Thread Alex K.
Hello, How is everyone ? I get this error when I try to access manager app: java.lang.NullPointerException at org.apache.catalina.realm.MemoryRealm.authenticate(MemoryRealm.java:216) I am running Tomcat 4.0.3 tomcat-users.xml has an entry with user that uses role manager Any thoughts?

Error while running JSP's on tomcat 3.2.4

2003-02-17 Thread Gupta, Ashish (CORP, Consultant)
Hello All, I have an installation of Tomcat 3.2.4 on a windows 2000 professional box. The server parses the HTML pages fine, however on parsing the JSP pages i get the following error: Error: 500 Location: /examples/jsp/dates/date.jsp Internal Servlet Error:

RE: Apache 2 and Tomcat 4.1.12 on W2K

2003-02-17 Thread Turner, John
See my Win2K/WinXP HOWTO: http://www.johnturner.com/howto It uses 4.1.18, but the setup is exactly the same. It details the setup of the atuo-config option for Apache, though the file is now called mod_jk.conf, not tomcat-auto.conf. Also, regarding the AddModule statement...it's required for

RE: webpage servlets !

2003-02-17 Thread Turner, John
I think you've got your terminology a little mixed up. Accessing them through the HTML tags inside the servlet itself isn't possible. If you mean that your servlet generates HTML text that is sent to the browser, and some of that HTML text refers to the page you are looking for, then the URL

RE: R: Startup/shutdown script

2003-02-17 Thread Turner, John
man chkconfig chkconfig provides a simple command-line tool for maintaining the /etc/rc[0-6].d directory hierarchy by relieving system administrators of the task of directly manipulating the numerous symbolic links in those directories. John -Original Message- From: Simone Chiaretta

RE: why can't i use jsp:useBean

2003-02-17 Thread Edson Alves Pereira
Make sure that your package is in webapps´s CLASSPATH, here´s the way to do that. servlet servlet-nameMy_Blah_Project/servlet-name servlet-classMy_Blah_MainServlet/servlet-class

RE: Simple WAR on Apache + Tomcat + JBoss

2003-02-17 Thread Dennis Cartier
Hi Manjo, Your web.xml is fine. Accessing http://servername/mig/HelloWorldExample should work. The error you are getting sounds like it is coming from Apache. This is most likely due to the positioning of the JkMount statement that Jeff mentioned. Make sure is within your main directory section

RE: applet

2003-02-17 Thread Edson Alves Pereira
First you must put the package in /WEB-INF/lib, for instance we could use blah.jar. Following the new Applet specification you must put the archive param in your object or applet tag like: archive=blah.jar and call the full applet name as code=com.blah.JSuperApplet. This solve all,

R: R: Startup/shutdown script

2003-02-17 Thread Simone Chiaretta
ThanX I manage linux at home becuase when I'm at work I cannot access the linux box (due to firewall restrictions where I work) I run a linux box on my own, not for my principal job Simo -Messaggio originale- Da: Turner, John [mailto:[EMAIL PROTECTED]] Inviato: lunedì 17 febbraio

RE: Problem with servlets in Tomcat 4.1.18

2003-02-17 Thread Turner, John
In recent versions of Tomcat, the default Invoker servlet is disabled by default for security reasons. You either have to enable the Invoker servlet in your web application's web.xml file (not recommended), or explicitly map your servlet to a URL in your web application's web.xml. If you decide

Re: Basic Auth with Apache+Tomcat

2003-02-17 Thread Erik Price
Jake Robb wrote: Seems to me that if Tomcat had that information, it would be in the Session variable, not the Request variable. See if maybe it's available via Session.getAttribute(). The variables (sometimes called cgi variables since CGI is what they are historically used with) sent by

Re: [OT] question about killfile

2003-02-17 Thread Erik Price
Denise Mangano wrote: Hey all :) Sorry for the dumb question... But I keep seeing people talk about a killfile. Seeing as how this is the first list I've ever subscribed to, I had to ask - what exactly is a killfile? You guessed it -- a file of email addresses whose email you don't want to

DataSource connection problem

2003-02-17 Thread meissa . Sakho
Hi all, This problem has has been posted before. But I've searched the list to find the solution in vain. I'm trying to migrate my web applications from tomcat 4.0 to 4.1.18 My database connnections are handled within declaration in the server.xml (see the default context definition below)

Re: webpage servlets !

2003-02-17 Thread Chong Yu Meng
Swapneel Dange wrote: java.io.FileNotFoundException: C:\tomcat\jakarta-tomcat-3.1.1a\jakarta-tomcat-3.1.1a\webapps\ROOT\dange\frame0.html (The system cannot find the path specified) Arrgh! Swapneel ! Look at the directory ! Unless you have a jakarta-tomcat directory under ANOTHER

RE: [OT] question about killfile

2003-02-17 Thread Turner, John
That Outlook rule is the exact rule I use for some of the folks on this list. ;) Works like a charm. I think the problem with Outlook rules is that there are server rules and client rules, and the two sometimes conflict. I've found that if I stick with 100% server rules, I do OK, Outlook's many

Re: An easy one... Default Config in conf/web.xml

2003-02-17 Thread Erik Price
Andoni wrote: Thanks for that. I think I'll look up your other recommendations first. I don't know ant at all so I'll start with the other one. Ant is worth learning -- you can figure it out in a couple of hours. It will make all of your webapp deployment a lot easier. There is a decent

RE: Log4J and tomcat using Commons logging

2003-02-17 Thread Larry Meadors
Hey Jim, I think Yoav's answer is very practical, and in spite of the fact that it would require a code change if you change loggers down the road, it is only a few lines in one place. You should think about it, because it is pretty low-cost, compared to the amount of time we have already spent.

AElfred parser error

2003-02-17 Thread Marcelino Cruz
Hello: Trying to startup Tomcat I get the following error: ... Feb 14,2003 2:03:19 PM org.apache.comons.digester.Digester getParser SEVERE: Digester.getParser: javax.xml.parsers.ParserConfigurationException: AElfred parser is non-validaing at com.icl.saxon.aelfred.SAXParserFactoryImpl... ...

Re: RTFM and Ettiquette was: MY ATTITUDE

2003-02-17 Thread Erik Price
Paul Brinkley wrote: The solution that causes the least amount of distress to all parties (that I can think of) is to teach netiquette to Internet newcomers in some hard-to-avoid location. [...] Unfortunately, this is a culture change, and hence it will take a while, possibly as much as a

Re: AElfred parser error

2003-02-17 Thread Jacob Kjome
1. Do you have the Alfred parser in CATALINA_HOME/common/endorsed or common/lib? 2. Do you have the Alfred parser somewhere on your classpath? 3. Are you setting an environment variable for the sax parser to be Alfred? In cases 1 and 2, getting rid of Alfred and the problem should go away.

RE: Log4J and tomcat using Commons logging

2003-02-17 Thread Collins, Jim
Hi Larry, Thanks for your help on this. I did have commons-logging.jar in myapp/WEB-INF/lib and also in server/lib but I had to move them because this was causing Tomcat to crash. I have found an email from Remy where he states it is a Tomcat classloader problem which will not be fixed until

Re: Tomcat as a production server?

2003-02-17 Thread Ben Ricker
You want to put a profiler on that box and see what threads are racing away. You can also tell the JVM to throw a traceback of all the threads being used, but I for got how exactly :( Anyway, look at the code. You definately have something going on there. Ben Ricker On Sat, 2003-02-15 at 18:47,

RE: Simple WAR on Apache + Tomcat + JBoss

2003-02-17 Thread Dennis Cartier
Hi Manjo, I just spotted your post in the JBoss forums. You showed more of your httpd.conf in that one. The problem is definitely in the placement of your JkMount directives. You have to move them inside either a directory directive or a virtual host directive. As well the alias and the

How to configure Tomcat to follow symbolic links.

2003-02-17 Thread guykaisin
Hi!, I have a problem with symlinks. As I want to host many web applications with different host definition, I just define my server.xml file as follow: !-- WWW.E-MONTAIGNE.COM -- Host name=www.e-montaigne.com appBase=webapps.montaigne Logger className=org.apache.catalina.logger.FileLogger

jsp:setProperty

2003-02-17 Thread Curley, Thomas
Hi all, using 4.1.12 - is there any issues with setProperty() I have a simple form with 3 textfields (1 shown in example below for clarity) and a java bean class (again cut down 1 method). problem - the bean does not get populated when I hit submit (ie) when I call getFname() from

authentication fails at first

2003-02-17 Thread Udo Benz
Hi all I am having a strange problem with authentication. If a user tries to login to the web site access is sometimes denied at first (this is not a mis-typed password). Going back to the login page and typing the same username + password again works?? Did anyone have a similar problem? Any

How to get web server to see updated classes?

2003-02-17 Thread Jim Cobban
I am running a servlet on a Tomcat server. However users access that application through an Apache web server. When I use the manager application to redeploy the servlet context the behavior of the updated classes does not appear to users coming through the Apache web server. How do I make

Tomcat 3.x / JDK1.4

2003-02-17 Thread Thomas Colin de Verdière
Hi there any troubles with Tomcat 3.x under JDK1.4? I did not see anything except an obscur performance problem with SSL. But are there any other problem we can encounter. Thanks Thomas Colin de Verdière - To unsubscribe,

LDAP connection pool suggestions?

2003-02-17 Thread White, Joshua A (CASD, IT)
Hello all, I finally got MSSQL 2000 to work with DBCP. (I am putting together my lessons learned now) I am looking for a similar facility for LDAP connections. Can anyone suggest a similar solution? I am using JDK 1.3.x. Regards, Joshua This communication, including attachments, is for

tomcat 4.1.12 root

2003-02-17 Thread Lynn Young
Hello, I am new to tomcat 4. I used to work on tomcat 3.3. If I want to read a text file under my application_folder\data\ through a java bean program which is under my application_folder\web-inf\classes\myBean, how can I specify the path in the bean program? In 3.3, the root is

RE: Error while running JSP's on tomcat 3.2.4

2003-02-17 Thread Paul Bothma
Hi, Could you please post the JSP file. The problem appears to be with a MessageFormat.format() call in your code somewhere. Paul -Original Message- From: Gupta, Ashish (CORP, Consultant) [mailto:[EMAIL PROTECTED]] Sent: 17 February 2003 15:24 To: [EMAIL PROTECTED] Subject: Error while

RE: Error while running JSP's on tomcat 3.2.4

2003-02-17 Thread Gupta, Ashish (CORP, Consultant)
Hi Paul, The Code is as follows :- html !-- Copyright (c) 1999 The Apache Software Foundation. All rights reserved. -- %@ page session=false% body bgcolor=white jsp:useBean id='clock' scope='page' class='dates.JspCalendar' type=dates.JspCalendar / font size=4 ul liDay of month:

quick jspc question

2003-02-17 Thread Felipe Schnack
If you use -webinc JSP command-line option, jspc creates a xml file with servlet declaration for each JSP file you just compiled. My doubt is how I do include these declarations in my web.xml? There is something like a include directive in this file? I tried to look into its DTD file but no

Re: webpage servlets !

2003-02-17 Thread Swapneel Dange
yeah, there is the servlet code as an attachment to this mail. and ther hierarchy for the servlet classes are as folllows : webapps ROOT dange frame0.txt frame0.html frame1.html WEB-INF classes ranade SubmitServlet.java SubmitServlet.class and

Doubts about How can I set up the TomCat to run with IIS?

2003-02-17 Thread Edemilson Aguiar
Hello, We are having some problems when we try to set up the IIS to run with TomCat. We are using the following documentations. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html http://www.onjava.com/lpt/a/2829 How can I set up the TomCat with the IIS and if somebody has

Re: webpage servlets !

2003-02-17 Thread Swapneel Dange
hey CHONG ! ur right man, its kind of weird but i do have a jakarta directory under a jakarta directory. i am not at all mistaken in the directory path description i guess. anyway thanx for reminding to take a look at the directory stucture i have defined. Swapneel Dange 505-642-4126

RE: webpage servlets !

2003-02-17 Thread Filip Hanik
your servlet should also be under classes, not under WEB-INF Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect www.filip.net -Original Message- From: Swapneel Dange [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 10:12 AM To: [EMAIL PROTECTED]

Local/Internet access problem

2003-02-17 Thread Todd Paridon
I am still feeling my way through the setup and operation of these applications so please be gentle and explicit if you could. I have tomcat 4.1.18 running with Apache 2.0.43 and mod_jk2.0.43 running on Mandrake-Linux 8.2. I can run the supplied tomcat examples from within my local network

RE: webpage servlets !

2003-02-17 Thread Swapneel Dange
hey filip ! ur right that my servlets should be inside classes, but my classes are under WEB-INF, and i guess thats what the documentation on the servlet says in the book ADVANCED JAVA PROGRAMMING - by Dietel Dietel. Anyway i will be glad if u could explain to me after seeing my directory

RE: webpage servlets !

2003-02-17 Thread Swapneel Dange
john ! i think that the first thing u referred to the fact that i am generating a .txt and .html file , which eventually gets fed to the browser to view the webpage i want. Exactly thats what i am trying to do but i think that i have somewhere in keeping the proper directory stucture. And

Tomcat 4.1.8 and httpd-2.0.40-11

2003-02-17 Thread Xue-Feng Yang
Hi all, I tried to connect Tomcat 4.1.8 and Apache2(httpd-2.0.40-11 ) with jk2 on my redhat 8.0 box, where apach2 was installed when I installed Redhat 8.0. I use JDK 1.4.1. When I used ant to build native, I met some errors. I fixed one error: [so]

UTF-8 Sending to Database.

2003-02-17 Thread Andoni
Hello, I am trying to send a Euro symbol ( € ) to my database but it keeps being corrupted on the way to the servlet from the form on my page. When I replace the SQL string in my servlet with one which has a Euro symbol hard-coded it works fine and displays in my .jsp fine as the Euro symbol

Where is the 3.3.x .exe for Tomcat (Microsoft installation exe)?

2003-02-17 Thread daemeonr
A few days ago, I downloaded the Tomcat .exe's (MS Windows environment install) for 3.3.x and 4.x. Now I am trying to repeat the process to document it. ... I no longer can find 3.3.x's .exe ... only 4.x tree has the .exe (under the appropriate 586 branch). I need to install 3.3.x on Windoze

RE: Local/Internet access problem

2003-02-17 Thread Turner, John
Apache and Tomcat have to be configured to answer to the server name and URL that you enter into your browser. Typically, something like http://localhost/examples is a default, so it works. However, something like http://my.server.com/myApp does not. If you're using the auto-config option of

Re: UTF-8 Sending to Database.

2003-02-17 Thread THG
It could be, that the form data is double encoded or the jdbc driver automatically encoding the data on the fly. do u use prepared statements (setString())? what is the encoding of your dbms? On Mon, 17 Feb 2003 19:22:55 Andoni wrote: Hello, I am trying to send a Euro symbol ( € ) to my

Re: UTF-8 Sending to Database.

2003-02-17 Thread Andoni
The dbms stores UTF-8 fine and I can see them in the same JSP with has the text box for inputting characters to my test app. I don't use prepared statements but I could if you think that may have an effect? I'll try that. The fact that the browser can receive Euro symbols should mean that the

Re: UTF-8 Sending Euro symbol to Servlet in Form data.

2003-02-17 Thread Andoni
Actually the prepared statements couldn't help as I can get the Euro symbol into the database fine by hard-coding it into my statement. It is only getting the information **from the form to the servlet** that is having a problem. Andoni. - Original Message - From: THG [EMAIL

RE: webpage servlets !

2003-02-17 Thread Wendy Smoak
i think that the first thing u referred to the fact that i am generating a .txt and .html file , which eventually gets fed to the browser to view the webpage i want. Exactly thats what i am trying to do but i think that i have somewhere in keeping the proper directory stucture. Do you

Re: UTF-8 Sending Euro symbol to Servlet in Form data.

2003-02-17 Thread jeff . guttadauro
Hi, Andoni. I'm not 100% sure how this all works, but I think there's a default system encoding on the system where your Tomcat is running. This encoding determines how the form request parameters come across. I think when I ran into a similar problem a while back I got around it by

Re: UTF-8 Sending Euro symbol to Servlet in Form data.

2003-02-17 Thread THG
try the following code snippet: String value = String from your form; try { value = new String(value.getBytes(ISO-8859-1), UTF-8) } catch (Exception ex) {} Then write the value (i. e. with a PreparedStatement) to the db. On Mon, 17 Feb 2003 19:56:54 Andoni wrote: Actually the prepared

Re: jsp:setProperty

2003-02-17 Thread Pascal Nicolas
On Mon, 17 Feb 2003, Curley, Thomas wrote: .. problem - the bean does not get populated when I hit submit (ie) when I call getFname() from addUserA.jsp its null. When I reload the html the form also resets (ie) fields do not retain their value .. jsp:useBean id='form'

Re: UTF-8 Sending Euro symbol to Servlet in Form data. - SOLVED!! ;-)

2003-02-17 Thread Andoni
Thank you all VERY much with this. It is 8:30pm here and I'm close to another 12 hour day trying at this problem. I don't understand why the browser still insists on sending the data as ISO-8859-1 if the header of the page and the accept-encoding tag on the form both explicitly specify UTF-8 ??

RE: webpage servlets !

2003-02-17 Thread Swapneel Dange
Wendy ! i am creating a webpage using the HTML ags inside the servlets, and why i am using the .txt file becuase i find its easy to update my webpage using the .txt file whenever needed. but if i use straight away the HTML tags inside the servlet to access in the BROWSER the relevant webpage

Re: UTF-8 Sending Euro symbol to Servlet in Form data. - SOLVED!!;-)

2003-02-17 Thread Jon Roberts
Andoni wrote: I don't understand why the browser still insists on sending the data as ISO-8859-1 if the header of the page and the accept-encoding tag on the form both explicitly specify UTF-8 ?? Bizarre ;-8 If it helps... for Servlet API 2.0+, you can use the ServletRequest method

Tomcat NT Service with IIS issues.

2003-02-17 Thread Haytham Samad
Hi, I had Tomcat 4.1.8 and IIS configured with the isapi redirector dll working fine. When I uninstalled tomcat using tomcat.exe and reinstalled it with a modified configuration (just added some jvm arguments to better handle garbage collection) the redirectory stopped working with the following

Compiling tomcat.exe?

2003-02-17 Thread Alex Cruise
Hi folks, I've been trying to find the source code for tomcat.exe (distributed with the Windows Tomcat 4.0.x installer), because I want to compile a customized version of it. The source for jk_nt_service.exe is easy to find, but I need that of tomcat.exe because I want to load the JVM via its

Re: Local/Internet access problem

2003-02-17 Thread Todd Paridon
Sorry for the dumb question, as I said I'm just learning this stuff... This was installed a while ago and I don't remember the method I used. Is there any way to tell if the auto-config option is being used? Thanks for your patience Todd Paridon === If

RE: Local/Internet access problem

2003-02-17 Thread Turner, John
Best indicator is if a file called mod_jk.conf is created in CATALINA_HOME/conf/auto when Tomcat is started. Also look for Listeners that call ApacheConfig in server.xml. John -Original Message- From: Todd Paridon [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 4:21 PM

RE: UTF-8 Sending Euro symbol to Servlet in Form data.

2003-02-17 Thread Arnold Shore
From a lurker: Maybe it's simply the form's default charset value that's the pblm. I've been able to get all UTF8 stuff (into an ASP app'n) by casting the charset as utf8 wherever it applies, including page and form. Arnold Shore Annapolis, MD USA -Original Message- From: THG

RE: Unanswered questions

2003-02-17 Thread Wouter Boers
1. Is there a way to hup the tomcat server or otherwise reload files from the commandline? The Tomcat Ant plug-in knows how to reload / load/ remove applications. So yes it is possible. You can use ant for that or figure out yourselv how that is done. Wouter

R: R: Startup/shutdown script

2003-02-17 Thread Simone Chiaretta
Hello, I just got home from work I tried your start/shutdown script but I never see during shutdown a row Stopping Tomcat [OK] coming out in the console nor in the /var/log/boot and /var/log/messages I cannot figure out what the problem could be Simo -Messaggio originale- Da: Oscar

RE: R: Startup/shutdown script

2003-02-17 Thread Turner, John
In the script you posted, you aren't doing things the way that a RH-installed script would do them. For example, you aren't sourcing /etc/rc.d/init.d/functions, you aren't calling daemon() or killproc(), etc. etc. etc. I'm not sure what you want to see...are you saying that your script does not

RE: R: Startup/shutdown script

2003-02-17 Thread Turner, John
And use chkconfig, or do all the symlinking and other administration by hand. John -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 4:58 PM To: 'Tomcat Users List' Subject: RE: R: Startup/shutdown script In the script you

R: R: Startup/shutdown script

2003-02-17 Thread Simone Chiaretta
I'm saying that the shutdown script is not executing.. I tried putting a debug line in the script but I don't get it on the console... In the catalina.out I don't get a line saying that Tomcat was stopped... anyway... Simone -Messaggio originale- Da: Turner, John [mailto:[EMAIL

RE: R: Startup/shutdown script

2003-02-17 Thread Turner, John
Where do you have it? What run level? What is the entry for it? Is it a K entry or a S entry? What happens if you remove the cd $CATALINA_HOME/bin entries, and instead call the scripts directly, like this: $CATALINA_HOME/bin/shutdown.sh John -Original Message- From: Simone

RE: Where is the 3.3.x .exe for Tomcat (Microsoft installation exe)?

2003-02-17 Thread Larry Isaacs
Tomcat 3.3.x doesn't have an equivalent to the .exe that Tomcat 4 provides. To install, unzip the distribution and create the short-cuts you want. It may not be as simple as using the installer, but you will have more control over which JDK(s) you use to run Tomcat and can have multiple versions

R: R: Startup/shutdown script

2003-02-17 Thread Simone Chiaretta
I installed it also with chkconfig after u told me... so now it's with K11tomact in rc0.d I tried calling the file directly, too... and when I call the script manually the server stops... -Messaggio originale- Da: Turner, John [mailto:[EMAIL PROTECTED]] Inviato: lunedì 17 febbraio

Re: R: R: Startup/shutdown script

2003-02-17 Thread Oscar Carrillo
Why don't you try my script and substitute your environment variables? http://daydream.stanford.edu/tomcat/install_web_services.html Go down to the bottom and click on tomcatd. Save it to /etc/rc.d/init.d/tomcatd Then /sbin/chkconfig --del tomcatd #to be safe /sbin/chkconfig --add tomcatd If

R: R: R: Startup/shutdown script

2003-02-17 Thread Simone Chiaretta
Alreay done nothing changed Simo -Messaggio originale- Da: Oscar Carrillo [mailto:[EMAIL PROTECTED]] Inviato: lunedì 17 febbraio 2003 12.05 A: Tomcat Users List Oggetto: Re: R: R: Startup/shutdown script Why don't you try my script and substitute your environment variables?

RE: R: Startup/shutdown script

2003-02-17 Thread Turner, John
Just to make sure...you are testing this with a shutdown? Or a reboot? Reboot kills go in rc6.d. John -Original Message- From: Simone Chiaretta [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 5:31 PM To: Tomcat Users List Subject: R: R: Startup/shutdown script I

Re: R: R: R: Startup/shutdown script

2003-02-17 Thread Oscar Carrillo
H. What does this output?: /sbin/chkconfig --list tomcatd It should output this: tomcatd 0:off 1:off 2:off 3:on4:on5:on6:off Are you doing this all as root? I guess I haven't really looked at my boot process when shutting down. I'll try it. Oscar On Mon, 17 Feb

Problem starting services

2003-02-17 Thread McClure, Timothy J(IndSys, GE Interlogix)
On some machines the Main class of our service is not called and Tomcat appears to start the service twice. We only experience this situation on some machines, other work fine. Is there some type of debugging we can turn on to evalute the problem. Tim McClure

R: R: Startup/shutdown script

2003-02-17 Thread Simone Chiaretta
During shutdown anyway, there is a K11tomcat in rc6.d too... Simo -Messaggio originale- Da: Turner, John [mailto:[EMAIL PROTECTED]] Inviato: lunedì 17 febbraio 2003 23.35 A: 'Tomcat Users List' Oggetto: RE: R: Startup/shutdown script Just to make sure...you are testing this

Context from webapps

2003-02-17 Thread Christian Stenvik
Hey al! Tomcat 5 on RH 8 Each time you start Tomcat, after it loads Contexts (both from the server.xml and automatically from $TOMCAT_HOME/webapps) .. This doesnt happen for me. Had the same problem in Tomcat 4. On windows it does though. Had to add: Context path= docBase=root debug=0

Sessions Lost ?

2003-02-17 Thread Eddie Fung
Not sure if this is an Apache, Tomcat or Struts issue but here goes ! Has anyone experienced any problems with Sessions being lost between actions ? We have a situation where we place an object into Session Context and then forward to another Action (we are using Struts). We can clearly see

R: R: R: R: Startup/shutdown script

2003-02-17 Thread Simone Chiaretta
exactly, I have this line and I'm doing everything as root... I noticed the problem because in catalina.out I just saw Starting service Tomcat-Standalone Apache Tomcat/4.0.4 but saw Stopping service Tomcat-Standalone only when shuting down manually the server Bye Simone -Messaggio

Cookie Handling Question

2003-02-17 Thread Ben Ricker
We have some strange behavior going on, probably due to the strange setup one of our customers use. Before I get into it, some facts: Running Apache 1.3.27 with mod_jk 1.2.1 on two Redhat Linux servers talking to 4 Tomcat 4.0.5 instances. The Tomcats are running 2 per server on Sun Solaris 8

Re: R: R: R: R: Startup/shutdown script

2003-02-17 Thread Oscar Carrillo
Ok. I think I have this problem too. It may be that tomcat is getting heldup on shutdown and never gets outputted in time. Not sure. I will have to look into it further. Please stand by... Unless John has some more insight? I'll try to get back in a little while with some more info. Oscar

R: R: R: R: R: Startup/shutdown script

2003-02-17 Thread Simone Chiaretta
uhuh.. happy not to be a white fly :-) Infact one thing I noticed is that tomcat take a few seconds to stop... a probably the system is halted before it gets to write something to the catalina.out and to the console I thought the script was run sincronously, so the other waiting the previous to

Re: Compiling tomcat.exe?

2003-02-17 Thread Jacob Kjome
Hello Alex, You won't find it in Tomcat's source. It is simply a renamed JavaService. Find the source here: http://www.alexandriasc.com/software/JavaService/ Jake Monday, February 17, 2003, 3:00:56 PM, you wrote: AC Hi folks, AC I've been trying to find the source code for tomcat.exe

Re: R: R: R: R: R: Startup/shutdown script

2003-02-17 Thread Oscar Carrillo
I'm not sure exactly what's going on, but the I see tomcat is trying to shutdown but the network is already down, so it throws an exception. I had my network script wait for 10 seconds first, but that didn't help. It seems like there may also be something with using daemon/killproc, instead of

Re: Tomcat as a production server?

2003-02-17 Thread Arcadius A.
Hello! Ben Ricker [EMAIL PROTECTED] wrote in message 1045494425.1758.7.camel@localhost">news:1045494425.1758.7.camel@localhost... You want to put a profiler on that box and see what threads are racing away. You can also tell the JVM to throw a traceback of all the threads being used, but I for

JK2 mess

2003-02-17 Thread Carlos Cajina
Hi. I've been trying to configure Apache 2.0.44 and Tomcat 4.1.18 to work together under WinXP Pro with no success. Maybe somebody on the list allready did this and can point out the things I'm missing or doing wrong. Here's what I've done so far: 1. Added the LoadModule jk2_module

  1   2   >