tomcat4.1.24 not compiling jsp page

2003-12-24 Thread N.B.Bopanna
hi all, when i put a new .js file in tomcat-4.1.24 and try to call it i get the following error. can any body throw some light on this problem? regds Bopanna type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request.

Re: tomcat4.1.24 not compiling jsp page

2003-12-24 Thread Antony Paul
Possibly some class file is corrupted or it may be due to a version mismatch between JDK and JVM or an older version of class files in class path. What versions of JDK and and JVM is in your machine ?. Antony Paul - Original Message - From: N.B.Bopanna [EMAIL PROTECTED] To: [EMAIL

Re: setting opts to avoid OutOfMemory errors

2003-12-24 Thread Kagi (sm)
X-Kagi-AutoReply:r2db Hello, You sent an email that does not contain the formated purchase data that this email account is able to parse. So that we may be able to assist you, we offer the following suggestions. If you are writing to ask a question about a payment made to Kagi, you might be

RE: HowTo: Link Tomcat 5 with IIS 6 on Windows 2003 Server using the JK2 ajp13 connector

2003-12-24 Thread TJ
Hi Daniel, happy holidays to you... what are we fools doing 'working' !? You can get binary and source code at: http://www.shiftomat.com/opensource/index.html I've added an update to my guide making people aware of your distribution. Since 1.4.2 and Tomcat 5.0.16 it is sufficient to download

jsp compilation error

2003-12-24 Thread dhayalan
Hi all, i Set up every thing for tomcat and postgresql and now i created a jsp file and accessing a bean in that by using useBean tag ,by opening the jsp file i am getting the following error org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line:

RE: Not Redirecting (IIS6.0 - JWSDP1.3 with Tomcat5.0).

2003-12-24 Thread Christopher Watson
Charles I've only been able to get jk2 iis-tomcat working with a isapi_redirector2.dll version 2.0.1 which I can no longer find on jakarta.apache.org The latest seems to be 2.0.1 whichi I've never got to work. If you like I can email it to you direct outside of this list. I tried sending it

RE: Not Redirecting (IIS6.0 - JWSDP1.3 with Tomcat5.0).

2003-12-24 Thread TJ
Hi Christopher, You might like to check out my guide How To Link Tomcat 5 with IIS 6 on Windows 2003 Server using the JK2 ajp13 connector http://virtualict.net/support/kb/iis6-Tomcat5-JK2.html that I wrote yesterday to solve this problem for us. In your case you might want to undo some of the

Re: jsp compilation error

2003-12-24 Thread Antony Paul
Where is the java bean class file residing. It must be in WEB-INF\classes or WEB-INF\lib(as jar file). Antony Paul - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 24, 2003 2:31 PM Subject: jsp compilation error Hi all, i Set up

how to link tomcat 5 with apache

2003-12-24 Thread akki
happy holidays plz guiude me On Wed, 24 Dec 2003, TJ wrote: Hi Daniel, happy holidays to you... what are we fools doing 'working' !? You can get binary and source code at: http://www.shiftomat.com/opensource/index.html I've added an update to my guide making people aware of your

Rejecting connections: empty http header if maxProcessors reached

2003-12-24 Thread Bernd Bartke
Hi, what is the desired behaviour if tomcat 4.1.29 rejects incoming requests because of maxProcessors reached? Should tomcat return an empty http header? To simulate the expected load on tomcat 4.1.29 I wrote a java client which starts conurrent threads accessing the web resource: ...

RE: Restart automatically Tomcat

2003-12-24 Thread Slimane Amar
Hi Shapira, Now, i use Tomcat 5.0.16 and after it fails it does not restart automatically. Apparently, this version does not yet include this feature. Is it scheduled for another version ? Thanks. -- Debut du message initial --- De : Shapira, Yoav [EMAIL PROTECTED] A

Re: JSP not reloading

2003-12-24 Thread Riaan Oberholzer
Why not move to the more traditional way and deploy your application as a .war and not as an expanded directory with classes and jsp's in it. In your ant build script (assuming you are using ant), you can build your .war which also includes precompiling your JSP's with jasper. Then use the

Re: Problem with database updates using DBCP

2003-12-24 Thread Riaan Oberholzer
Create 2 datasources and configure one to do auto commit and one not. If you need the auto-commit ('single' insert, delete or updates calls), use that datasource... if you want to do batch queries, use the other and do the commit manually. --- [EMAIL PROTECTED] wrote:Creat I was about to

threads in TC 4.1.29

2003-12-24 Thread Maksimenko Alexander
Hi! I need organize in my web application sending emails in nonblocking way. So I'll create a message queue and thread that will pop messages from the queue and send them. But I have doubt about it is safe to create my own threads in web application? and if not how can I organize nonblocking

Re: X.509 DN's in tomcat-users.xml / MalformedObjectNameException

2003-12-24 Thread Miguel A Paraz
On Tue, Dec 23, 2003 at 10:17:27PM -0800, Bill Barker wrote: Read again: At the moment, only MemoryRealm supports CLIENT-CERT auth. What part of this don't you understand? OK, my typo. When I said: But UserRealm doesn't like it. I tried URL-escaping the '=' to '%3D' but I meant

RE: NoClassDefFoundError: Digester

2003-12-24 Thread 29djeo
apparently I have several. It looks like two came with redhat linux. one in /usr/share/java/commons-digester-1.5/ and 1 in usr/local/commons-digester-1.5 ---Original Message--- From: Shapira, Yoav [EMAIL PROTECTED] Subject: RE: NoClassDefFoundError: Digester Sent: 22

Need tomcat-javagroups.jar

2003-12-24 Thread B Ramesh Kumar
Hi All, I need source files http://www.filip.net/tomcat/tomcat-javagroups.jar and http://www.filip.net/tomcat/javagroups.jar, but not avaliable in site. http://www.filip.net. I am trying for in Memory Session Replication with Tomcat . Can you sent to me? Thanks in advance. Regards

Problem....Hangs up

2003-12-24 Thread Chelisant Pavel
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..

RE: How to get the Context lists when the server is started

2003-12-24 Thread Shapira, Yoav
Howdy, The ServletContextListener is notified when a context is started (and shut down). As the servlet specification intends for your application to be self-contained and not know about other webapps on the server, there's no API-standard way to get a list of contexts on the server. You can do

RE: NoClassDefFoundError: Digester

2003-12-24 Thread Shapira, Yoav
Howdy, apparently I have several. It looks like two came with redhat linux. one in /usr/share/java/commons-digester-1.5/ and 1 in usr/local/commons-digester-1.5 But these aren't part of your tomcat installation. What digester jars do you have under $CATALINA_HOME? Yoav Shapira

RE: Restart automatically Tomcat

2003-12-24 Thread Shapira, Yoav
Howdy, Nope, it's not implemented yet and not on our radar screen at this point, as we're all (I mean the core tomcat developers) very busy with other stuff at the moment. Feel free to implement it yourself and send in a patch ;) Yoav Shapira Millennium ChemInformatics -Original

Re: Problem with database updates using DBCP

2003-12-24 Thread frank . zammetti
Well, some days you just miss the obvious I guess, this is one of those days for me :) Actually though, because of the way this app is architected, that won't work without a fairly significant redesign, which can't be done at this point. We use a single database connection manager class (a

RE: threads in TC 4.1.29

2003-12-24 Thread Shapira, Yoav
Howdy, Don't worry about it, just make sure your threads terminate gracefully on server shutdown. As an aside, consider log4j's SMTPAppender (perhaps via an AsyncAppender to make the mail sending operation non-blocking). Questions on this approach should be posted to the log4j-user list. Yoav

RE: Tomcat 4.1.18 MailSession Problem

2003-12-24 Thread Shapira, Yoav
Howdy, Looks good. Yoav Shapira Millennium ChemInformatics -Original Message- From: Cord Awtry [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 24, 2003 12:10 AM To: 'Tomcat Users List' Subject: RE: Tomcat 4.1.18 MailSession Problem Yoav, Resource name=mail/MyMail

Re: Problem with database updates using DBCP

2003-12-24 Thread frank . zammetti
Just wanted to let everyone know that I convinced the powers that be here at work to upgrade to 5.0.16 for this project, and lo and behold all my problems went away! Not a single line of code was changed, only two configuration parameters changed (username became user and driverName became url in

Re: How to: Tomcat 5.0.16 as Windows Service

2003-12-24 Thread Merrill Cornish
Bill, Here's the Dr. Watson log for the failure of the install of Tomcat as a service. Application exception occurred: App: E:\Program Files\Apache Group\Tomcat 5.0.16\bin\tomcat.exe (pid=2032) When: 12/24/2003 @ 10:01:13.045 Exception number: c005 (access violation)

Apache + Tomcat + MOD_JK

2003-12-24 Thread Hari Om
Hello, I am using Apache 2.0.47 and Tomcat 4.1.27 on SuSE 8.0 box on same machine. I am trying to make use of MOD_JK.SO (jk connector)which I build it from source. I have 2 different Users to the system httpd and jakarta with respective directories as /usr/local/httpd and /usr/local/jakarta

Tomcat 5 - Tag Lib Error

2003-12-24 Thread Chakravarthy, Sundar
Hi, I just installed Windows version of Tomcat 5.x and get the following error while try to run tag library examples.. Others work fine. HTTP Status 500 - _ type Exception report message description The server encountered an internal error () that prevented it from

RE: Tomcat 5 - Tag Lib Error

2003-12-24 Thread Shapira, Yoav
Howdy, What pageContext calls are you making in your JSP page? Yoav Shapira Millennium ChemInformatics -Original Message- From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 24, 2003 11:12 AM To: [EMAIL PROTECTED] Subject: Tomcat 5 - Tag Lib Error Hi, I

Re: Apache + Tomcat + MOD_JK

2003-12-24 Thread Ben Ricker
On Wed, 2003-12-24 at 10:05, Hari Om wrote: Hello, I am using Apache 2.0.47 and Tomcat 4.1.27 on SuSE 8.0 box on same machine. I am trying to make use of MOD_JK.SO (jk connector)which I build it from source. I have 2 different Users to the system httpd and jakarta with respective

RE: Tomcat 5 - Tag Lib Error

2003-12-24 Thread Chakravarthy, Sundar
I am running BasicArithmetic example found in the base distribution - http://localhost:8080/jsp-examples/ Here is the source code. Actually , none of the tag library examples work. html head titleJSP 2.0 Expression Language - Basic Arithmetic/title /head body h1JSP 2.0 Expression

RE: Tomcat 5 - Tag Lib Error

2003-12-24 Thread Shapira, Yoav
Howdy, Do you have a version of the JSP API other than that provided with tomcat? (Needless to say, the JSP examples work out of the box for me and everyone else I know who's using tomcat 5) ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Chakravarthy, Sundar

Classloader exception :jdk1.4.1_01 on Apache 1.3.20 and Tomcat 4 .0.4

2003-12-24 Thread Sachdeva, Devinder
Hi All I have classloader exception for jdk1.4.1_01 on Apache 1.3.20 and Tomcat 4.0.4 Bootstrap: Class loader creation threw exception java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: error in opening zip file at

RE: Tomcat 5 - Tag Lib Error

2003-12-24 Thread Chakravarthy, Sundar
Hi, Not really. I un-installed Tomcat 4.1 , re-started ,extracted the contents of 5.x zip file and moved it under c:\Program Files . How do I check for any other JSP API ? Thanks -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 24, 2003 11:30

Re: Classloader exception :jdk1.4.1_01 on Apache 1.3.20 and Tomcat 4 .0.4

2003-12-24 Thread Mohammed Javed P
Hi Sachdeva, Some code snippet would be helpful in getting an idea why this happens Regards, ~Javed Sachdeva, Devinder wrote: Hi All I have classloader exception for jdk1.4.1_01 on Apache 1.3.20 and Tomcat 4.0.4 Bootstrap: Class loader creation threw exception

RE: Classloader exception :jdk1.4.1_01 on Apache 1.3.20 and Tomca t 4 .0.4

2003-12-24 Thread Sachdeva, Devinder
Javed - May be this helpful for you? java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at

RE: Tomcat 5 - Tag Lib Error

2003-12-24 Thread Chakravarthy, Sundar
Actually, none of the JSP 2.0 examples work. I can only browse their source code. Tried installing via Windows exe as well as zip. Merry Xmas! -Original Message- From: Chakravarthy, Sundar Sent: Wednesday, December 24, 2003 11:42 AM To: Tomcat Users List Subject: RE: Tomcat 5 - Tag Lib

Hashtable Object Factory for JNDI

2003-12-24 Thread srinath narasimhan
Hi I want to store a hashtable in Tomcat's JNDI context. Is there a default object factory for hashtable ? I want to manipulate the JNDI from the application. Tomcat's JNDI is read only. So I am trying to put a hashtable, which I can manipulate. Is there a different way to do this. Thanks

Re: mod_jk2/2.0.2 failure in Tomcat 5.0.16 / Apache 2.0.48

2003-12-24 Thread Jeremy Barth
I eventually solved this problem. In addition to the first two entries, you also need the 'shm' entry. # workers2.properties # [channel.socket:localhost:8009] tomcatId=localhost:8009 [uri:/jsp-examples/*] [shm] file=/usr/local/apache/logs/shm.file size=1048576 Even if

All threads (150) are currently busy, waiting. Increase maxThreads (150) or check the servlet status

2003-12-24 Thread alan sparago
I am using Tomcat 5.0.16 standalone serving as both an http/https web server and servlet container. This error occurred in our QA environment and has caused Tomcat to hang and not service any requests. This error seemed to occur when no users were using the site at the time, but about 4 DAYS

RE: Need tomcat-javagroups.jar

2003-12-24 Thread Filip Hanik
http://cvs.apache.org/~fhanik/ tomcat-replication.jar is the name of it now :) Filip -Original Message- From: B Ramesh Kumar [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 24, 2003 4:41 AM To: [EMAIL PROTECTED] Subject: Need tomcat-javagroups.jar Hi All, I need source files

getting Server.XML properties in servlets?

2003-12-24 Thread David Erickson
Hi I am working on an app that relies on an address to a mail server.. and the mail server's address is different inside our network due to proxy stuff than it is from outside, and our app will be deployed in both places. Is it possible for me to set some kind of property inside my server.xml

RE: getting Server.XML properties in servlets?

2003-12-24 Thread Shapira, Yoav
Howdy, You can use env-entry-ref for this (read the servlet specification on this web.xml property and tomcat's JNDI How-To document for the server.xml Environment element). Yoav Shapira Millennium ChemInformatics -Original Message- From: David Erickson [mailto:[EMAIL PROTECTED] Sent:

Re: getting Server.XML properties in servlets?

2003-12-24 Thread David Erickson
Thanks! -David - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, December 24, 2003 1:05 PM Subject: RE: getting Server.XML properties in servlets? Howdy, You can use env-entry-ref for this (read the servlet specification

taglibs moving from 4.X to 5.X

2003-12-24 Thread daniel
I have a large group of tag libs that have been working fine on tomcat 4.X versions. I needed to upgrade to tomcat 5.X versions do to new features. Well to make this short my tag libs no longer work on 5.X versions. When i try to run them i get... org.apache.jasper.JasperException:

Re: getting Server.XML properties in servlets?

2003-12-24 Thread David Erickson
Ok I'm having some problems getting this value from my app.. here's what I have put into my server.xml: GlobalNamingResources Environment name=mailServer type=java.lang.String value=192.168.0.23/ Environment name=mailUser type=java.lang.String value=[EMAIL PROTECTED]/ /GlobalNamingResources

MOD_JK2 and MOD_JK on SuSE

2003-12-24 Thread Hari Om
I am using Apache 2.0.47 and Tomcat 4.1.27 and JDK 1.4 on SuSE Linux 8.0. I would like to use Connector for integrating Apache Tomcat. I have installed MOD_JK2 and want to get rid of it. How can I uninstall it? WHen I run my Tomcat it still refers to JK2 settings. I wanted to use JK instead.

Re: MOD_JK2 and MOD_JK on SuSE

2003-12-24 Thread Jerry Ford
Hari: To remove mod_jk2, just delete mod_jk2.so from your apache/libexec directory and delete the references to it from your Apache config (httpd.conf). As for tomcat continuing to listen, that's because you have a mod_jk2 connector defined in tomcat's server.xml. Just because tomcat is

RE: Not Redirecting (IIS6.0 - JWSDP1.3 with Tomcat5.0).

2003-12-24 Thread charles doweary
I finally got it to work!!! After adding the .jsp extension with mime type application/octet-stream to IIS 6.0 under the web site properties, http headers tab, my jsp-exapmles were processed successfully by Tomcat 5.0. This needs to be added to all of the HOW TO documentation that out there

RE: unit testing when application level scoping used

2003-12-24 Thread James Black
-Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, December 22, 2003 10:03 AM To: Tomcat Users List Subject: RE: unit testing when application level scoping used Cactus works beautifully with regards to servlet context and general environment setup.