Can't run servlets

2003-12-26 Thread X V Jay
Hi, I have been unable to run servelets using my tomacat. I have put the class file in WEB-INF\classes. Please tell me where did I go wrong ? Thank you X V Jay Here is the source = import javax.servlet.*; import javax.servlet.http.*;

RE: Problem....Hangs up

2003-12-26 Thread Zsolt Koppany
If you use Redhat-9 you might need export LD_ASSUME_KERNEL=2.4.1 before you start tomcat. Zsolt -Original Message- From: Chelisant Pavel [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 24, 2003 2:10 PM To: [EMAIL PROTECTED] Subject: ProblemHangs up Good day! Ive got

Applet in jsp

2003-12-26 Thread dhayalan
hi all currently i calling the java applet in jsp page in tomcat while running the page it gives the applet loading finelly it gives the following error pls give me the solution Dhayalan.G [EMAIL PROTECTED] Html]# appletviewer -J-Djava.security.policy=mypolicy testtimer.htm Exception in thread

Re: Problem....Hangs up

2003-12-26 Thread Remy Maucherat
Chelisant Pavel wrote: Good day! Ive got Tomcat running as stand-alone web server + Java Tomcat configured with SSL connector on port 443. Its all ok.. and working properly.. But after three - four days of working it quits process user requests.. and hangs-up.. Good. You included everything that

Re: Can't run servlets

2003-12-26 Thread Antony Paul
You have to declare the url mappings for servlets. Do this after all servlet declarations. Like this servlet servlet-nameTestingServlet/servlet-name servlet-classTestingServlet/servlet-class /servlet servlet-mapping servlet-nameTestingServlet/servlet-name

Re[2]: Problem....Hangs up

2003-12-26 Thread Chelisant Pavel
Hello Remy, Friday, December 26, 2003, 11:38:15 AM, you wrote: RM Chelisant Pavel wrote: Good day! Ive got Tomcat running as stand-alone web server + Java Tomcat configured with SSL connector on port 443. Its all ok.. and working properly.. But after three - four days of working it quits

Re: How to: Tomcat 5.0.16 as Windows Service

2003-12-26 Thread Merrill Cornish
Bill, Thanks for the information. I was worried about the command line length. Where can I find documentation for the various //?// commands? Thanks again, Merrill - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Problem....Hangs up

2003-12-26 Thread Remy Maucherat
Chelisant Pavel wrote: Hello Remy, Friday, December 26, 2003, 11:38:15 AM, you wrote: RM Chelisant Pavel wrote: Good day! Ive got Tomcat running as stand-alone web server + Java Tomcat configured with SSL connector on port 443. Its all ok.. and working properly.. But after three - four days of

tomcat cache problem

2003-12-26 Thread BaÂșak
Hi, I am new in the list, I tried to make a search on the subject in the previous mails of the list, however I could not find where to do it. So, apologies if the problem is addressed before. I have a cahce problem in the following working environment: redhat linux 9.0 jakarta tomcat 4.1.27

Re: taglibs moving from 4.X to 5.X !!! lots of text

2003-12-26 Thread daniel
ok here goes tld then jsp at bottom TLD-- ?xml version=1.0 encoding=UTF-8 ? !DOCTYPE taglib PUBLIC -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd; taglib tlib-version1.0/tlib-version

Re[2]: Problem....Hangs up

2003-12-26 Thread Chelisant Pavel
Hello Remy, Friday, December 26, 2003, 2:32:21 PM, you wrote: RM Chelisant Pavel wrote: Hello Remy, Friday, December 26, 2003, 11:38:15 AM, you wrote: RM Chelisant Pavel wrote: Good day! Ive got Tomcat running as stand-alone web server + Java Tomcat configured with SSL connector on

is it planned to support EAR files in Tomcat?

2003-12-26 Thread Alexey Skorokhodov
hi! as I know, Tomcat does not support EAR modules. so, how can I communicate between two WAR-files ? I need to have something like 'gate', when java code from one WAR sends a message and a class from second WAR receives this message. I can create additional JAR file to store such 'gate', but

RE: java.lang.OutOfMemoryError

2003-12-26 Thread Lam Chee Choong
hm..i see...but I am working on a server with 4GB of RAM,I think it should have more than enough??anyway u did mention about closing connection, what connection u mean? -Original Message- From: akki [mailto:[EMAIL PROTECTED] Sent: 26 December 2003 10:51 AM To: Tomcat Users List Subject:

RE: tomcat cache problem

2003-12-26 Thread Lam Chee Choong
I also encounter the problem b4, but what i did is just add some comment to my java source file and compile it again to increase the file size. eventually Tomcat detect the changes of file size and reload the class. This also work with JSP file. -Original Message- From: Ba:ak Aksan

Regarding the Errors Generated While Accessing the JSP's using the tomcat 4.1

2003-12-26 Thread salla srinivas
Hi , I am Tomcat 4.1 user . I have actually Integrated Apache2.0 server with Tomcat 4.1 server for working with the project . So, when you say http://localhost it should display my home page of the project . My Home page consist of two JSP's called top.jsp and main.jsp the top.jsp is

Re: java.lang.OutOfMemoryError

2003-12-26 Thread Antony Paul
Please specify the OS version. A similar thread is there . Antony Paul - Original Message - From: Lam Chee Choong [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, December 26, 2003 8:11 PM Subject: RE: java.lang.OutOfMemoryError hm..i see...but I am working on a

servlets marked as unavailable

2003-12-26 Thread Thomas Goorden
Hi, We're using tomcat 4.0.3 on our production server and there seems to be some odd behaviour with the automatic reloading of contexts. This is what happens: 1. A reload of the context is triggered because of an update of the code on the server (via ftp upload). 2. A servlet gets marked as

Re: MOD_JK2 and MOD_JK on SuSE

2003-12-26 Thread Hari Om
Thanks Jerry I tried to delete the MOD_JK2.SO from my APACHE/MODULESA Directory...but still my CATALINA.OUT files hsows reference of it wonder why. From: Jerry Ford [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] CC: [EMAIL PROTECTED], [EMAIL

Re: MOD_JK2 and MOD_JK on SuSE

2003-12-26 Thread Jerry Ford
do you still have the Coyote connector defined in the tomcat server.xml? Hari Om wrote: Thanks Jerry I tried to delete the MOD_JK2.SO from my APACHE/MODULESA Directory...but still my CATALINA.OUT files hsows reference of it wonder why. From: Jerry Ford [EMAIL PROTECTED] Reply-To:

Re: MOD_JK2 and MOD_JK on SuSE

2003-12-26 Thread Hari Om
Thanks! These are the ONLY things I added to my SERVER.XML: Listener className=org.apache.ajp.tomcat4.config.ApacheConfig modJk=/usr/local/apache2/modules/mod_jk.so jkDebug=info workersConfig=/usr/local/tomcat4/conf/jk/workers.properties jkLog=/usr/local/tomcat4/logs/mod_jk.log/

Re: Problem....Hangs up

2003-12-26 Thread Remy Maucherat
Chelisant Pavel wrote: RM pulling_teeth RM 4.1.what ? RM /pulling_teeth Sorry a made a mistake Tomcat 4.0 (release/v4.0-b7/) Your stack traces indiate you're using Tomcat 4.1.x, definitely not 4.0 b7. I don't know which release exactly though. As I said, you need TC 4.1.x = 4.1.24 to have no

Need Help - Apache 2.0.48 + Tomcat 4.1.29 + Mod_jk2 + Windows 2000 Server ( No IIS)

2003-12-26 Thread Lenny Sorey
I've got problems with Apache 2.0.48 + Tomcat 4.1.29 + Mod_jk + Windows 2000 Server. I keep getting errors started Apache 2.0.48 when I have JKMount /mysite/ * .jsp within VirtualHost section of http.conf. I've used mod_jk with past versions of Tomcat, Apache and Windows 2000 without any

Re: Need Help - Apache 2.0.48 + Tomcat 4.1.29 + Mod_jk2 + Windows 2000 Server ( No IIS)

2003-12-26 Thread Mark Eggers
Check http://nagoya.apache.org/wiki/apachewiki.cgi?TomcatWeb and see if that information helps. /mde/ just my two cents . . . . __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/

Help with configuring

2003-12-26 Thread Vinny
Hello. I just installed Apache 2.0.48 and Tomcat 5.0.16 (using a Java 2 1.4 SDK) on Windows XP Home (It's a development environment, on my laptop). I'm having a bit of trouble getting the two to play together. I installed both of them using the provided binaries off the Apache project servers,

Memory comsuption

2003-12-26 Thread Luis Daniel Alvarez
Hi list I'm having problem with my memory, as you can see from my top command I get this: Mem: 2323420K av, 2239036K used, 84384K free, 0K shrd, 330720K buff Swap: 2097096K av, 19176K used, 2077920K free 1576784K cached PID USER PRI NI SIZE RSS SHARE STAT %CPU

Re: MOD_JK2 and MOD_JK on SuSE

2003-12-26 Thread Hari Om
Any update son the following: Thanks! These are the ONLY things I added to my SERVER.XML: Listener className=org.apache.ajp.tomcat4.config.ApacheConfig modJk=/usr/local/apache2/modules/mod_jk.so jkDebug=info workersConfig=/usr/local/tomcat4/conf/jk/workers.properties

Re: MOD_JK2 and MOD_JK on SuSE

2003-12-26 Thread Jerry Ford
Hari: Not sure what you are looking for at this point. As I recall, after you removed mod_jk2.so from your $APACHE_HOME/libexec directory and removed references to mod_jk2 from httpd.conf, you were still seeing JK2 references in catalina.out. Is that what you are still wondering about? The

RE: Memory comsuption

2003-12-26 Thread George Sexton
I don't understand why you think you have a problem. You have a machine with 2GB of memory installed. 84MB is free RAM, and the OS is using 330MB of ram for cache buffers. Tomcat is using some 50MB of RAM. The machine is clearly not under any kind of memory stress FWIW, the memory options

Re: Memory comsuption

2003-12-26 Thread Luis Daniel Alvarez
What about the others 50 or 70 java process with 50M of memory comsuption too? Daniel Alvarez ISP-InfoCom - Original Message - From: George Sexton [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, December 26, 2003 3:30 PM Subject: RE: Memory comsuption I

RE: Memory comsuption

2003-12-26 Thread George Sexton
They are threads in the same process. You may also want to search the web for linux java ps threads -Original Message- From: Luis Daniel Alvarez [mailto:[EMAIL PROTECTED] Sent: Friday, December 26, 2003 1:42 PM To: Tomcat Users List Subject: Re: Memory comsuption What about the

Re: Memory comsuption

2003-12-26 Thread Luis Daniel Alvarez
Thank you so much for your atention Daniel Alvarez ISP-InfoCom - Original Message - From: George Sexton [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, December 26, 2003 4:05 PM Subject: RE: Memory comsuption They are threads in the same process. You may

Starting tomcat

2003-12-26 Thread Java User
Hi, I am newbie for tomcat 5.0.16. I installed tomcat 5.0.16. When I am starting the server, the window appears but it closes by itself. I looked at the error and the very first error states that: [ERROR] Digester - -Begin event threw error

Tomcat 5.0 Windows service memory configuration

2003-12-26 Thread David Frankson
How do I increase the JVM max heap size for the windows service for Tomcat 5.0? The faqs and documentation only mention Tomcat 4.x, and the registry settings look different than the Tomcat 4 service. Dave - To unsubscribe,

Re: Help with configuring

2003-12-26 Thread Vinny
Thank you for the link. I managed to get everything set up (I used mod_jk). Without the link, I wouldn't have known mod_jk was even needed... Although, I have a few tiny questions: When I navigate to http://localhost, I get a Tomcat home page (not the Apache default one). http://localhost/admin

To LAM JEE RE: java.lang.OutOfMemoryError

2003-12-26 Thread akki
connection i mean any database connection or smtp etc. On 26 Dec 2003 20:09 IST you wrote: hm..i see...but I am working on a server with 4GB of RAM,I think it should have more than enough??anyway u did mention about closing connection, what connection u mean? -Original Message-

Re: Help with configuring

2003-12-26 Thread akki
hello vinny if u want to see tomcat default page u have to write http;//localhost:8080/ and in order to make tomcat serve as engine to apache u have to use mod_jk as connector in b/w bye On 27 Dec 2003 00:26 IST you wrote: Hello. I just installed Apache 2.0.48 and Tomcat 5.0.16 (using a

admin app is forbidden

2003-12-26 Thread Jerry Ford
I have Tomcat 4.1.27 running with Apache 1.3.27, using mod_jk, on a Linux box (Red Hat 9.0, but custom-installed Apache and Tomcat in /usr/local). I am able to run Tomcat's example servlets, as well as my own custom servlets (installed as a webapp), and the Manager webapp, but when I try to

Fw: Re: Can't run servlets

2003-12-26 Thread X V Jay
Hi, I did what was told bt Antony. But the problem persists. Looking forward for help Regards X V Jay---BeginMessage--- declarations. Like this servlet servlet-nameTestingServlet/servlet-name servlet-classTestingServlet/servlet-class /servlet You have to declare the url mappings for servlets.