RE: Cant get 4.1.10 to run on Win2K

2002-09-13 Thread Miguel Angel Mulero Martinez
I have put some similar messages. Are you trying to execute Tomcat as a Service? This problem only happens to me when I start it like a service. Try to start it from the console with catalina start and tell to us. -Mensaje original- De: Mike Warne [mailto:[EMAIL PROTECTED]] Enviado el:

Tomcat4-4.1.10 Startup Issue (LINUX)

2002-09-13 Thread Ben Hamilton
Installation: I've loaded java from the binary install application for j2sdk from the java.sun.com site. I've modified the /etc/profile to include the CLASSPATH listed below. In a directory with three rpms: tomcat4-4.1.10-full.1jpp.noarch.rpm tomcat4-admin-webapps-4.1.10-full.1jpp.noarch.rpm

need help with IOException: Cannot recover key

2002-09-13 Thread Nikolay Kabadzhov
Can enybody help, please? i am trying to setup SSL for tomcat following up the SSL Configuration HOW-TO everything seems to be ok but when i start it there is an error log: Catalina.start: LifecycleException: Protocol handler start failed: java.io.IOException: Cannot recover key

another sql error

2002-09-13 Thread Halil AKINCI
Hi all , When I want to run following sql statement in a servlet, I receive following error message in tomcat's DOS console [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1. In this sql statement, the vno variable is read from a HTML form by using following

Ref Http Session

2002-09-13 Thread Stephane . RAULT
OK, thanks for your response. My main problem is now solved. I want just two little add-on : - Is it possible to force Tomcat to delete de SESSION.ser (or all the work dir) on shutdown ? - I f I understand the session, Tomcat try firts to work with Cookie and then if, cookie are deactivated,

Re: Setting thread prority in Tomcat

2002-09-13 Thread Rodrigo Ruiz
See inlines :) - Original Message - From: Tim Funk [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, September 12, 2002 7:15 PM Subject: Re: Setting thread prority in Tomcat Nope. A servlet may run in any thread. The servlet itself may adjust its priority (if

BUG: Try please

2002-09-13 Thread Miguel Angel Mulero Martinez
After try myself a lot of things, and make the question in this group, and see others with the same problem, I think this is a bug. If someone could try it and confirms, I will post it to bugzilla: - Windows 2000, SP3, JDK 1.4.0_01, Tomcat 4.1.10 - Install tomcat 4.1.10 (not LE). Install like a

Re: Running XML-parsing servlets on Tomcat, using JAXP ?

2002-09-13 Thread Soefara Redzuan
My oh my, Jake, thank you so much for this most incredible explanation of the Endorsed mechanism, the differences between the various versions of Tomcat as well as JDK1.3/1.4. This is such a valuable body of knowledge, and so well explained, that I hope it will be archived by many for future

RE: Try please

2002-09-13 Thread Nikolay Kabadzhov
it works for me! the same configuration -Original Message- From: Miguel Angel Mulero Martinez [mailto:[EMAIL PROTECTED]] Sent: 13 September 2002 10:40 To: Lista correo Tomcat Subject: BUG: Try please After try myself a lot of things, and make the question in this group, and see others

Re: Running XML-parsing servlets on Tomcat, using JAXP ?

2002-09-13 Thread Soefara Redzuan
I'd still like to keep jaxp installed on my machine for other java applications. This won't affect Tomcat at all, will it ? NO, It should not, I recommend you do not place the jar file in your classpath. We never know... I tried removing the jars from the classpath but it made no difference,

RE: another sql error

2002-09-13 Thread Galbayar
try use Statement String vno = request.getParameter(vergino); String Query=Select malik.VerginNo From ParselMalik Where Malik.VergiNo=?; PreparedStatement st=mysql.prepareStatement(Query); st.setString(1,vno); -Original Message- From: Halil AKINCI [mailto:[EMAIL PROTECTED]] Sent:

AW: Running XML-parsing servlets on Tomcat, using JAXP ?

2002-09-13 Thread Ralph Einfeldt
Jasper is the code generator for the jsp's. It parses the jsp's and generates the java code for the servlet. So as long as you don't wont to run tomcat without jsp's or just with precompiled jsp's it's not an option to remove jasper. -Ursprüngliche Nachricht- Von: Soefara Redzuan

Antw: BUG: Try please

2002-09-13 Thread Andre Schild
Open regedit and look at HKEY_LOCAL_MASCHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat 4.1\Parameters In the key JVM Library there should be the path to the J2SDK jvm.dll, like: C:\j2sdk1.4.0\jre\bin\server\jvm.dll André [EMAIL PROTECTED] 13.09.2002 09:40:12 After try myself a lot of

ServletContext object

2002-09-13 Thread Santosh Kulkarni
Are the objects put in ServletConext synchronized? Say I have a ServletContext ctx. If I do, ctx.setAttribute(MYOBJECT, hashTableObject); where hashTableObject is a Hashtable (or any other instantiated object) then is the object hashTableObject synchronized both for reads and writes? TIA Santosh

RE: Ref Http Session

2002-09-13 Thread Vikramjit Singh
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September 13, 2002 12:27 AM To: Tomcat Users List Subject: Ref Http Session OK, thanks for your response. My main problem is now solved. I want just two little add-on : - Is it possible

Re: Running XML-parsing servlets on Tomcat, using JAXP ?

2002-09-13 Thread Kwok Peng Tuck
Hmm, how did you get a jasper directory under the tomcat root ? I checked my tomcat installation in Win2K I didn't see anything like this. Your /common/lib seems to have a lot more than the standard libraries that shipped with it, I 've got : a) activation.jar b)

RE: Ref Http Session

2002-09-13 Thread Drinkwater, GJ (Glen)
in the server.xml file. add this tag inside you context path Manager className=org.apache.catalina.session.PersistentManager debug=0 saveOnRestart=false maxActiveSessions=-1 minIdleSwap=-1 maxIdleSwap=-1

Réf. : RE: Ref Http Session

2002-09-13 Thread Stephane . RAULT
Thanks a lot ! I will try that now. And for my cookie ? Does anyone know where I can see them ? -- A++ Stéphane Drinkwater, GJ

Servlet doesn't executes with load-on-startup option on JDK 1.4.01

2002-09-13 Thread Dev Zero G Ltd team
Everything was OK on FreeBSD 4.6.2 with linux-sun-jdk1.4 and Tomcat 4.1.9 But after installing linux-sun-jdk1.4.01 servlet doesn't starts -- Best regards, Dev Zero G Ltd team http://devzerog.com mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Hi all.

2002-09-13 Thread sumeet . s
Hello, I am using Apache Tomcat 4.1.10(full version) server on windows2000. It is a strange error that I have encountered. When I edit the catalina.bat or the setClasspath.bat for adding another directory to the classpath, I get an error on the jsp Page which cannot find the ServletContext in

RE: Tomcat4-4.1.10 Startup Issue (LINUX)Tomcat4-4.1.10 Startup Issue(LINUX)

2002-09-13 Thread Henri Gomez
The RPM release 3 is just out and should take a look at it it should fix your permission problems. My advice uninstall tomcat4, then clean up /var/tomcat4 (rm -rf /var/tomcat4) before installing rpm rel 3. NB: scripts will need /etc/java/java.conf instead of /etc/java.conf. BTW, you should

RE: Antw: BUG: Try please

2002-09-13 Thread Miguel Angel Mulero Martinez
Thanks for your help, but I've got this registry key ok and the problem remains. There are more people with this problem, but it seems there are other without. I've tried tomcat 3.2, 3.3, 4.0.3, 4.0.4 and all worked perfectly. I don't know why this problem, but I think I know something about

tomcat 4.1.10 rpm available

2002-09-13 Thread Henri Gomez
At the usual location : http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.10/rpms/ --- Tomcat 4 RPM info the RPM will be named tomcat4 to allow coexistence with the actual tomcat 3.x RPM (3.2.x and 3.3) Here is the release notes for the tomcat4.0.x RPM builds. o Starting with

Re: another sql error

2002-09-13 Thread Halil AKINCI
I correct sql statement. My servlet is running now. thanks... - Original Message - From: Halil AKINCI To: Tomcat Users List ; servlet-interest group ; jakarta-tomcat yahoo groups Sent: Friday, September 13, 2002 10:14 AM Subject: another sql error Hi all , When I want

RE: Réf. : RE: Ref Http Session

2002-09-13 Thread Drinkwater, GJ (Glen)
session cookies id's are not saved to you hard drive. they are stored in you memory until the browser is closed. session attributes are stored on the server and have not contact with he browser. The session id sent from your browser is used by the server to id you session object on the server,

Problem Loading Servlet on Server startup

2002-09-13 Thread info
Hi, below is my current web.xml listed. As the first Servlet I am loading the InitAppServlet. The init(cfg ServletConfig) Methode lookes like: public void init(ServletConfig cfg) throws ServletException { this.cfg = cfg; this.ctx = cfg.getServletContext();

TOMCAT 4.1.0 and JIKES

2002-09-13 Thread christophe . baroin
Hello, I would like to use Jikes with Tomcat. There is in the documentation of Tomcat: If you wish to use Jikes to compile JSP pages: Download and install jikes. Set the init parameter compiler to jikes. Define the property -Dbuild.compiler.emacs=true when starting Tomcat. If you get an

RE: Ref Http Session

2002-09-13 Thread Drinkwater, GJ (Glen)
session cookies id's are not saved to you hard drive. they are stored in you memory until the browser is closed. session attributes are stored on the server and have not contact with he browser. The session id sent from your browser is used by the server to id you session object on the

RE: ServletContext object

2002-09-13 Thread Vikramjit Singh
-Original Message- From: Santosh Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Friday, September 13, 2002 2:13 AM To: [EMAIL PROTECTED] Subject: ServletContext object Are the objects put in ServletConext synchronized? No they are not synchronized. Many users can concurrently

URL Filtering

2002-09-13 Thread apache-tomcat-user-subscriber
Does Tomcat provide a mechanism similar to URL rewriting or ISAPI filtering? Thanks, Alex -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

TOMCAT 4.10 with JIKES ??

2002-09-13 Thread christophe . baroin
Hello, I would like to use Jikes with Tomcat. There is in the documentation of Tomcat: If you wish to use Jikes to compile JSP pages: Download and install jikes. Set the init parameter compiler to jikes. Define the property -Dbuild.compiler.emacs=true when starting Tomcat. If you get an

Re: TOMCAT 4.1.0 and JIKES

2002-09-13 Thread Glenn Nielsen
[EMAIL PROTECTED] wrote: Hello, I would like to use Jikes with Tomcat. There is in the documentation of Tomcat: If you wish to use Jikes to compile JSP pages: Download and install jikes. Set the init parameter compiler to jikes. Define the property -Dbuild.compiler.emacs=true

Réf. : RE: Ref Http Session

2002-09-13 Thread Stephane . RAULT
Thanks a lot for all your responses... -- A++ Stéphane Drinkwater, GJ

RE: Antw: BUG: Try please

2002-09-13 Thread Wycliffe Slingsby
It's the same for me. Same set-up except for NT4 SP4. Tomcat works fine when run from the startup.bat file but fails to compile previously uncompiled files when run as a service. My registry key is also fine. Still looking Regards Wyc -Original Message- From: Miguel Angel Mulero

RE: Antw: BUG: Try please

2002-09-13 Thread Miguel Angel Mulero Martinez
Ok! So I'm not the only one. If you have some idea of what installed component outside tomcat may cause this, tell it to me to compare with my system. Anyone more? -Mensaje original- De: Wycliffe Slingsby [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 13 de septiembre de 2002 13:56

Re: Help Deploying Servlet

2002-09-13 Thread Mauro Daniel Ardolino
It may be your servlet is on a package. If so, then you have to put your servlet in: $TOMCAT_HOME/webapps/ROOT/WEB-INF/classes/nameOfThePackage/AddNewsItem.class Then in web.xml: web-app servlet servlet-nameAddNewsItem/servlet-name

RE: apache error?

2002-09-13 Thread Turner, John
What mod_jk.so are you using? Where did you get it, how did you get it? Did you build it from source? If so, how? John -Original Message- From: hari hari [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 8:26 PM To: [EMAIL PROTECTED] Subject: Re: apache error?

Re: Does Tomcat require restart when chaning classes?

2002-09-13 Thread Mauro Daniel Ardolino
I think you have to restart Tomcat for changes like this. Do someone know another way to do it? Mauro On Thu, 12 Sep 2002, Chuck Carson wrote: I had the following class: $TOMCAT_HOME/webapps/ROOT/WEB-INF/classes/MyClass.class If I modify this class (ie recompile) how can I make it

Re: Does Tomcat require restart when chaning classes?

2002-09-13 Thread Michael Nicholson
I've never used it (I'm lazy and restarting is easy...), but the manager app can unload apps and then deploy them... that might do it... - Original Message - From: Mauro Daniel Ardolino [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, September 13, 2002 9:31 AM

JMX??

2002-09-13 Thread Adam Greene
I saw that Tomcat 4.1.X has JMX in it, is it possible to add our own MBeans to Tomcat?? I am working on a work flow server and would like to implement support services as MBeans. Adam Greene ROMulin Group Inc 885 Main St, Suite 16 Moncton, NB E1C 1G5 Ph: (506) 863-1014 x4 Fx: (506) 854-6886

RE: Does Tomcat require restart when chaning classes?

2002-09-13 Thread Miguel Angel Mulero Martinez
In the context of the application, put the reloadable=true attribute. If you don't have a context for this application, you can put a: DefaultContext reloadable=true / Bye... -Mensaje original- De: Mauro Daniel Ardolino [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 13 de

RE: Does Tomcat require restart when chaning classes?

2002-09-13 Thread Mauro Daniel Ardolino
Sorry for the next question, but... Do I have to put this line in the web.xml? How can I declare a context for my app? Thanks. Mauro On Fri, 13 Sep 2002, Miguel Angel Mulero Martinez wrote: In the context of the application, put the reloadable=true attribute. If you don't have a context

Did anyone know a good Apache newsgroup?

2002-09-13 Thread Alexander Schmidt
Hi! Did anyone know a good apache newsgroup? Thanks A. Schmidt

RE: Does Tomcat require restart when chaning classes?

2002-09-13 Thread Miguel Angel Mulero Martinez
Make a backup of tour server.xml file. Open your server.xml file. Inside the host.../host you will see some context Make another similar. To create a context for your webapp, put something like this: Context path=/ceeieuropa docBase=D:/Mulero/Mis documentos/forte/miproyecto reloadable=true /

__USING COYOTE JK__

2002-09-13 Thread Datllr
Does anyone know of a good tutorial telling how to link an apache server (1.3.26) and tomcat 4.1 on either/both linux/windows using coyote jk? I've searched the internet and the tomcat documentation, and all I learned is that coyote comes by default with tomcat 4.1. -- To unsubscribe, e-mail:

RE: Problem Loading Servlet on Server startup

2002-09-13 Thread Shapira, Yoav
HI, For starters, you should override the init() method with no args, as that's provided for your convenience. It gets call from the one with the ServletConfig arg. Then, instead of saving a reference to the ServletConfig passed to init, get a new one in your destroy method: in destroy, just

RE: Does Tomcat require restart when chaning classes?

2002-09-13 Thread Mauro Daniel Ardolino
Very helpfull! Specially when you are developing. Thank you. Mauro On Fri, 13 Sep 2002, Miguel Angel Mulero Martinez wrote: Make a backup of tour server.xml file. Open your server.xml file. Inside the host.../host you will see some context Make another similar. To create a context for

Re: Does Tomcat require restart when chaning classes?

2002-09-13 Thread Ronald Klop
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Why not just enable the manager webapp and call: http://localhost/manager/reload?path=/webapp You don't need to enable 'reloadable' for this. Greetings, Ronald. Mauro Daniel Ardolino wrote: | I think you have to restart Tomcat for changes like

RE: __USING COYOTE JK__

2002-09-13 Thread Turner, John
There's quite a bit more than that in the Tomcat docs: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html Also, you can try my HOWTOs: http://www.johnturner.com/howto John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September

Re: Using A Directory Server for a Realm??

2002-09-13 Thread John Holman
Should be possible using JNDIRealm. See the realm how-to. John. Nicholas Orr wrote: Hi, Has anyone tried using a Novel or Active Directory for a Realm. Would this even be possible? Nicholas Orr ** The information

RE: Does Tomcat require restart when chaning classes?

2002-09-13 Thread Felipe Schnack
This actually works for you? Never did for me. Maybe because the files arent' JARed? On Fri, 2002-09-13 at 09:37, Miguel Angel Mulero Martinez wrote: In the context of the application, put the reloadable=true attribute. If you don't have a context for this application, you can put a:

No Context configured to process this request

2002-09-13 Thread William Wragg
Hi, I am using tomcat 4.0.4 on sco openserver 5.0.5a with JDK1.3_02. I have installed the exact same setup and webapps on many machines (linux and windows as well as sco), and they have all worked fine. I have just installed on another machine and the client gets the following error message