RE: Tomcat Hung!!! Help needed

2004-05-25 Thread Zsolt Koppany
Did you try: export LD_ASSUME_KERNEL=2.2.5 ... start tomcat now Zsolt -Original Message- From: Innovest Ken [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 6:08 AM To: [EMAIL PROTECTED] Subject: Tomcat Hung!!! Help needed hello all, Currently, I have Tomcat 4.1.30

Re: apache -tomcat problem

2004-05-25 Thread Bill Barker
The session bug can cause two different requests to start using the same session. Most people that reported the bug simply saw information leaks between the two requests. Of course, what happens to the app depends on what it is doing with the session information. Dirk Slootmaekers [EMAIL

All threads (150) are currently busy....

2004-05-25 Thread Pavle
After several days of good woking my Tomcat 5.0.16 on RedHat 9.0 box stops accepting connection on SSL connector. In catalina.out I am recieving this message: SEVERE: All threads (150) are currently busy My server.xml file for SSL connector is the following: Connector port=8443

RE: Tomcat Hung!!! Help needed

2004-05-25 Thread Innovest Ken
Yes, I did put in the export command... Thanks for your input Innovest --- Zsolt Koppany [EMAIL PROTECTED] wrote: Did you try: export LD_ASSUME_KERNEL=2.2.5 ... start tomcat now Zsolt -Original Message- From: Innovest Ken [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 25,

RE: All threads (150) are currently busy....

2004-05-25 Thread rlipi
Hi, it means that all threads are currently performing some request. It can have two reasons: 1) High load of the server - requests come quicker than they are finished. You can increase maxThreads or you can look into your app why it takes so long time. 2) Some requests are not finished due to

RE: RE: All threads (150) are currently busy....

2004-05-25 Thread Pavle
The main problem is that there is no load on the serever when this occurs. Everything works perfectly during the normal working week. The message and the hunging occurs during weekends, when there is low traffic. Pavle -Original Message- From: rlipi [mailto:[EMAIL PROTECTED] Sent:

Thread stuck at get database connection!

2004-05-25 Thread Innovest Ken
hello, I found from my thread dump that 80% of my thread are at the following stage, waiting to lock PoolableConnectionFactory. This is the cause of my Tomcat hanging! Do I need to reconfigure my server.xml? parameter namemaxIdle/name

RMI Problem

2004-05-25 Thread Christoph Mangold
I am trying to run an rmi registry as part of a servlet context in tomcat 5.0.19. When I startup tomcat the first time everything works fine. However, if I redeploy my application using tomcat's ant-reload-target I get the following exception (server side) when trying to connect from the (RMI)

RE: RE: All threads (150) are currently busy....

2004-05-25 Thread rlipi
I had a bit similar problem - see How to limit time for Connector threads? tread in this mailing list. In the end I found that my thread is in java.net.SocketOutputStream.socketWrite0(Native Method) method. Probably reason was that server waited for timeout because client had broken connection.

Inconsistent path to files

2004-05-25 Thread Julie McCabe
Hello, My setup is Tomcat 4.1.27, Java 1.4.2_02, Red Hat Linux 9.0. I have a JSP located in the webapps directory I would like it to read a file in the WEB-INF directory using a custom tag, eg, File f = new File(WEB-INF/fileToRead.txt); depending on which directory I start tomcat from the

Re: JSP Compiling - painted in a corner?

2004-05-25 Thread Illya Kysil
Jason Palmatier wrote: I'm trying to precompile JSPs and have run into some trouble with the mappings. First off I CANNOT use the Ant build method as specified in http://jakarta.apache.org/tomcat/tomcat-5.0-doc/printer/jasper-howto.html#Web%20Application%20Compilation; due to a lack of certain

RE: RE: RE: All threads (150) are currently busy....

2004-05-25 Thread Pavle
-Original Message- From: rlipi [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 9:40 AM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: RE: All threads (150) are currently busy I had a bit similar problem - see How to limit time for Connector threads? tread in this

RE: RE: RE: All threads (150) are currently busy....

2004-05-25 Thread Pavle
Really sorry for the previous mail. I have sent it by mistake. How did you resolve the problem. I have visited the thread you have suggested, but however I was unable to find the solution. Pavle - To unsubscribe, e-mail:

JK2 connector binary for solaris8

2004-05-25 Thread Kommuru, Bhaskar
Hi there, I have been strugling to compile Mod_jk2 2.0.4 for solaris8. I have never worked with solaris and compiling C packages. Can any body please help me finding a binary version of Mod_jk2.0.4-SPARK-Solaris8-Apache2.0.49 or proper documentation? I have had already spent 2 weeks for this

Re: Creating a bean for the session on login

2004-05-25 Thread Digby
I created a filter that checked to see whether the request.getRemoteUser() was set, and if so, did a lookup on the DB to get the first and last names. Digby Tim Penhey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] In a web-app I have a JDBCRealm and most requests are secure

Setting -Xmx parameter to Tomcat as a Window Service

2004-05-25 Thread Enrico Drusiani
Hi everybody I've a Windows XP box and I've installed tomcat 4.1 as a window service. I'm in need to set JAVA_OPTS or CATALINA_OPTS to -server -Xmx1024m -Xms128m but setting it as environment variables doesn't work at all, any help? Please keep in mind that it is mandatory for me to use it

Help: Catalina Authentication

2004-05-25 Thread ben.hill
I've been looking into Catalina's source to try to understand what happens when a user is authenticated via the j_security_check. As far as I can see, there is a FormAuthenticator that extends AuthenticatorBase that calls .getRealm() then .authenticate(...) on that realm. From here the realm

RE: JK2 connector binary for solaris8

2004-05-25 Thread Dale, Matt
Try following the instructions below, these are what I use when building the connector. cd jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2 ./configure --with-apxs2=/usr/local/apache2.0.49/bin/apxs --with-tomcat-41=/usr/local/jakarta-tomcat-5.0.25 \ --with-apr-lib=/usr/local/apache2.0.49/lib

RequestDispatcher.forward() forgets requestUri

2004-05-25 Thread Nitschke Michael
I use RequestDispatcher.forward(path) and the original requestUri get lost. If it is suppoused to do so, is there a way to get the original requestUri after the forward? Mit freundlichen Grüßen Michael Nitschke MBI Institut für Marketingberatung AG Hietzinger

RE: How to limit time for Connector threads?

2004-05-25 Thread rlipi
Hi all, I would like to finish this mailing thread and public results. In the end I found that some thread waits in java.net.SocketOutputStream.socketWrite0(Native Method) method. Probably reason was that server waited for timeout because client had broken connection. Because I have main entry

RE: RE: RE: All threads (150) are currently busy....

2004-05-25 Thread rlipi
I have made tests of my solution. It runs more then week without problems. So, I have posted it now to the original mailing thread. But it solves only my particular situation. I am not sure if the solution can help you. I think that more usefull for you is the way I found the problem. I used

JAAS question ??

2004-05-25 Thread Eric Chow
Hello, Is there any example to use JAAS as the login mechanism in Tomcat? In the web.xml, I set some security-constraints or roles to some specific folder or page, if I use the Tomcat's UserDatabaseRealm, with j_security_check, in the JSP form, it works fine. Is it possible to use JAAS (client

RE: JAAS question ??

2004-05-25 Thread ben.hill
An example is here: http://www.kopz.org/public/documents/tomcat/jaasintomcat.html Albeit using a servlet filter. HTH Ben -Original Message- From: Eric Chow [mailto:[EMAIL PROTECTED] Sent: 25 May 2004 10:04 To: Tomcat Users List Subject: JAAS question ?? Hello, Is there

RE: Use of SNMP to monitor Tomcat

2004-05-25 Thread Boland, Dave
(Here's hoping that this response gets delivered in under 24hours this time!) I've spent a fair bit of time looking into Java and SNMP. It depends on whether you want to pay for the priviledge... We need something that can be used easily and quickly as we have a lot of commitment to older

Re: java.lang.ClassCircularityError

2004-05-25 Thread Viktor Matic
On Mon, 2004-05-24 at 20:58, Filip Hanik - Dev wrote: glad you got it working!! the class loaders were referencing each other in a cirular way. Does it means that I have done some thing wrong or it is bug which will be resolved? If it is a bug, do you know when it will be resolved (in which

Tomcat 5.0.24 startup errors

2004-05-25 Thread Carl Olivier
Greetings. I recently upgraded to TC 5.0.24 on Windows XP Pro, using the packaged tomcat5.exe and service.bat to install the TC service. On startup I am noticing the following errors in the logs (note that everything does still seem to work fine though): SEVERE: Error registering

Re: HTTP Servlet - getparameter returns NULL for % character

2004-05-25 Thread tiago_mendonca
The % is a control character which needs to be urlEncoded. Browsers do this automatically for you and HttpServlet automatically un-encodes these characters for you when you use the getParameter method. If your other apps are not encoding the data properly, then this is not really a

Error stating Tomcat5

2004-05-25 Thread Java Techie
Hi, I got a problem while starting tomcat5 on Win2k, jre1.3. Unsuported JNI version 65537 [2004-05-23 19:09:58] [770 prunsrv.c] [error] Failed initializing java c:\tomcat\tomcat5\bin\bootstrap.jar [2004-05-23 19:09:58] and therefore it will also not run as a service. can anyone

Re: HTTP Servlet - getparameter returns NULL for % character

2004-05-25 Thread tiago_mendonca
Thanks Ben for your help! In fact my users told me that their using URL encondig on their programs before posting to my HTTP Servlet, which makes me confused. So far the only solution I found was to ask them to treat the char % on their text so they can force to send %25 (which represents the

HTTP Servlet - How to use the same connection for GET URL?

2004-05-25 Thread tiago_mendonca
Hi dear all, I supose I've a simple question about HTTPServlet but my I'm really stucked. I hope Tomcat mailing list can help me!! I'm using Tomcat V5. Is it possible to have an HTTP Servlet GET a URL using the same URL connection always (I mean the same socket connected). Maybe it's better

Re: Error using taglibs - unable to find setter

2004-05-25 Thread M.Hockings
Is the settter for dType setdType(String value) or setDType(String value)? I think that it will need to be the latter. Mike Ravi Mutyala wrote: Hi, I created a tag which extends from the html:text tag. I'm using tomcat 4.1.30. when I use this tag, I get the following error.

Re: Error using taglibs - unable to find setter

2004-05-25 Thread Ravi Mutyala
M.Hockings wrote: Is the settter for dType setdType(String value) or setDType(String value)? I think that it will need to be the latter. Mike Mike, the setter for dType is this. public void setDType(String dType) { this.dType = dType; } Ravi Mutyala wrote: Hi, I created a tag which extends

admin login problem with tomcat5-slide bundle

2004-05-25 Thread Miklos Nyiri
I guess it is a somewhat peculiar problem. I tried using a binary distributon of Tomcat 4 by Serverlogistics together with Slide and it worked fine. Also I could easily log in to both the admin and the manager pages. Then I installed the offical tomcat 5 with Slide bundle and since the login

Strusts' classloader could not find my servlets

2004-05-25 Thread Chris Wahl
Howdy, (B (BI am using Eclipse 2.1.3, Lomboz 2.1.3 and TC4.1.27 developing webapp based (Bon (BStruts1.1. I created a Eclipse project under f:\strutsdemo, and a webmod (Bunder directory f:\strutsdemo\demo. (B (BAll my servlets and JavaBeans were created under directory f:\strutsdemo, (Band

Found a racing condition?

2004-05-25 Thread Ronald Klop
Today I got this when doing a request during Tomcat startup. Can it be a racing condition? Greetings, Ronald. INFO: Starting Coyote HTTP/1.1 on port 8080 May 25, 2004 1:37:14 PM org.apache.coyote.tomcat5.CoyoteAdapter service SEVERE: An exception or error occurred in the container during the

RE: Error using taglibs - unable to find setter

2004-05-25 Thread Larry Isaacs
The following comes from the Tomcat 3.3.x faq file, which I assume would apply in your situation: Q. I have a bean with a property whose second letter is capitalized. Why won't my JSP page that uses this bean compile? A. This may not happen often, but can be difficult to determine why.

Database launching failure in runtime

2004-05-25 Thread Zeev Lazarev
Hi everybody, I'm using HSQLDB database with Tomcal in my webapp. In a development environment with JBuilder and built-in Tomcat 4.0 everything works fine. But when I deploy my web appl. to local standalone Tomcat 5.0 (I tryed with Tomcat 4.0 too) I fail to launch the db engine. Implementation

Re: admin login problem with tomcat5-slide bundle

2004-05-25 Thread Victor Anyakin
Miklos Nyiri wrote: I guess it is a somewhat peculiar problem. I tried using a binary distributon of Tomcat 4 by Serverlogistics together with Slide and it worked fine. Also I could easily log in to both the admin and the manager pages. Then I installed the offical tomcat 5 with Slide bundle

Re: admin login problem with tomcat5-slide bundle

2004-05-25 Thread Miklos Nyiri
Well, I certainly did that. That's how it worked with Tomcat 4 and I have exactly the same xml file now and it does not work. Also, sorry for bombarding you all with the return receipt request. Victor Anyakin wrote: Miklos Nyiri wrote: I guess it is a somewhat peculiar problem. I tried using a

Re: Setting -Xmx parameter to Tomcat as a Window Service

2004-05-25 Thread Jacob Kjome
For Tomcat5, look at service.bat in the bin directory. Add to the following line... %EXECUTABLE% //US//%SERVICE_NAME% ++JvmOptions -Djava.io.tmpdir=%CATALINA_BASE%\temp Something such as... %EXECUTABLE% //US//%SERVICE_NAME% ++JvmOptions

tomcat -install SERVICE-NAME problem with tomcat-5.0.19

2004-05-25 Thread Zsolt Koppany
Hi, in tomcat-4.1.30, I could use tomcat -install (and -uninstall) SERVICE-NAME to install/deinstall a service. The same command seems to do nothing with tomcat-5.0.19. Has the syntax changed or what is the problem? Zsolt -

RE: Found a racing condition?

2004-05-25 Thread Shapira, Yoav
Hi, I don't think that's a race condition (it's race, not racing, by the way ;)). But I'm curious to hear your reasoning as to why you suspect that? Yoav Shapira Millennium Research Informatics -Original Message- From: Ronald Klop [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 25, 2004

RE: Inconsistent path to files

2004-05-25 Thread Shapira, Yoav
Hi, One idea would be to search the archives for this question is asked very frequently. Frequently enough that we put it (or a close relation thereof) in our FAQ: http://jakarta.apache.org/tomcat/faq/misc.html#getResourceAsStream. In short, don't depend on the File I/O API from a Servlet

RE: not getting debugging info out

2004-05-25 Thread Shapira, Yoav
Hi, http://jakarta.apache.org/tomcat/faq/misc.html#commonsLoggingLog4j Yoav Shapira Millennium Research Informatics -Original Message- From: Asya [mailto:[EMAIL PROTECTED] Sent: Monday, May 24, 2004 7:06 PM To: [EMAIL PROTECTED] Subject: not getting debugging info out Tomcat 5.0.16

RE: RequestDispatcher.forward() forgets requestUri

2004-05-25 Thread Shapira, Yoav
Hi, I strongly suggest (to anyone on the list not having done so) reading the Servlet Specification: SRV.8.3.1 Included Request Parameters Except for servlets obtained by using the getNamedDispatcher method, a servlet that has been invoked by another servlet using the include method of

RE: RMI Problem

2004-05-25 Thread Shapira, Yoav
Hi, You have to shutdown your RMI registery properly during the webapp's shutdown (the first part of the reload is a shutdown). Use a ServletContextListener's contextDestroyed method for this. Yoav Shapira Millennium Research Informatics -Original Message- From: Christoph Mangold

Re: The tomcat not accept more connections

2004-05-25 Thread Software
Hi, again i had the same message error in the log file of the tomcat 4.0.3 and i've been asking to the devlopers people about the this commands Connection conn = dbClass.getConnection() and conn.close() and they are using these commands in the software, it means any database connection has

RE: Strusts' classloader could not find my servlets

2004-05-25 Thread Shapira, Yoav
Hi, I personally don't know. As an FYI, you are not likely to get as much help on this list for IDE-specific (or in this case, IDE-plugin-specific, which is even worse as far as getting support) problems. Check out the Struts, Eclipse, Lomboz, general Java lists as well. Yoav Shapira

RE: Tomcat 5.0.24 startup errors

2004-05-25 Thread Shapira, Yoav
Hi, You did a clean install to a new directory, right? There's no chance of an old configuration file (e.g. server.xml) sneaking into your new installation from the older one? Yoav Shapira Millennium Research Informatics -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED]

Re: Inconsistent path to files

2004-05-25 Thread Tim Funk
Never use java.io.File to do file reading in a webapp. Since the file you wish to read is in your webapp (good!) - you can use ServletContext.getResource(..) or ServletContext.getResourceAsStream(..). Of course if you need to upload files - then you'll need to rely on the tmpdir as defined in

Re: Tomcat virtualhost bug?

2004-05-25 Thread QM
On Tue, May 25, 2004 at 07:16:29AM +0200, Trond Hersl?v wrote: : I thought everything was fine, BUT then I realized that I could access app2 : like this: http://test1.athome.no/test2 http://test1.athome.no/test2 . : What am I doing wrong? Perhaps autodeploy is enabled? If not, read on: : Host

RE: Tomcat 5.0.24 startup errors

2004-05-25 Thread Carl Olivier
Hi Yoav. Clean install yes - into a new directory yes. My server XML is a custom VERy minimal one - looks as follows: server.xml == Server port=8005 shutdown=SHUTDOWN Service name=Platform Connector port=8080 maxPostSize=0 /

RE: Tomcat 5.0.24 startup errors

2004-05-25 Thread Shapira, Yoav
Hi, Add to your server.xml the MBean declaration from the default one that ships with tomcat (they're right near the top of the file, under Server and above Service), restart tomcat, and let us know what happens. Yoav Shapira Millennium Research Informatics -Original Message- From:

Re: HTTP Servlet - How to use the same connection for GET URL?

2004-05-25 Thread QM
On Tue, May 25, 2004 at 12:28:04PM +0100, [EMAIL PROTECTED] wrote: : I have an HTTP Servlet that treats somes information and then make a : GET URL with that information, the problem is that everytime the HTTP Servlet : is requested to treat the information and then do a GET URL I'm opening a

RE: Tomcat 5.0.24 startup errors

2004-05-25 Thread Carl Olivier
Hi. Ok, added them, same errors in the logs. Lines added (below Server and above Service) were: Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0/ Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener debug=0/ Carl -Original

PrintWriter performance

2004-05-25 Thread Rostislav Svoboda
Hi all I'd like to ask you if there's a significant difference in performance between: PrintWriter out = response.getWriter(); String ret = ; for (count = 0; rs.next(); count++) ret += rs.getString(column_name); // result of db query out.print(ret); out.close();

Re: PrintWriter performance

2004-05-25 Thread Tim Funk
The second has a better chance at being faster. Way number 1 can create one huge memory wasting buffer. Evern worse - an extra String (and StringBuffer) is created on every loop iteration resulting lots of potential/wasted gc work. -Tim Rostislav Svoboda wrote: Hi all I'd like to ask you if

RE: PrintWriter performance

2004-05-25 Thread Carl Olivier
I would definitely use the second option. If you wanted the first I would also change it to be: PrintWriter out = response.getWriter(); StringBuffer ret = ; for (count = 0; rs.next(); count++) ret.append(rs.getString(column_name)); // result of db query

Re: PrintWriter performance

2004-05-25 Thread Jacob Kjome
At 03:39 PM 5/25/2004 +0200, you wrote: Hi all I'd like to ask you if there's a significant difference in performance between: PrintWriter out = response.getWriter(); String ret = ; for (count = 0; rs.next(); count++) ret += rs.getString(column_name); // result of db

RE: PrintWriter performance

2004-05-25 Thread Shapira, Yoav
Hi, Probably a negligible performance difference. But the first one is a bad design because it mixes the result set processing with the presentation very closely. The getString, like most ResultSet calls, can throw a SQLException, and you'd have to handle that. That means your out.println

RE: PrintWriter performance

2004-05-25 Thread Carl Olivier
Oops: StringBuffer ret = new StringBuffer(); ;) -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: 25 May 2004 03:43 PM To: 'Tomcat Users List' Subject: RE: PrintWriter performance I would definitely use the second option. If you wanted the first I would also

Re: PrintWriter performance

2004-05-25 Thread QM
On Tue, May 25, 2004 at 03:39:31PM +0200, Rostislav Svoboda wrote: : I'd like to ask you if there's a significant difference in performance : between: : :String ret = ; :for (count = 0; rs.next(); count++) :ret += rs.getString(column_name); // result of db query :

Error starting tomcat5

2004-05-25 Thread Yuri
Hi, I got a problem while starting tomcat5 on Win2k, jre1.3. Unsuported JNI version 65537 [2004-05-23 19:09:58] [770 prunsrv.c] [error] Failed initializing java c:\tomcat\tomcat5\bin\bootstrap.jar [2004-05-23 19:09:58] and therefore it will also not run as a service. can anyone

RE: Error starting tomcat5

2004-05-25 Thread Shapira, Yoav
Hi, We saw your original message ;) Use the JDK, not the JRE, and make sure it's installed properly and JAVA_HOME is set correctly. This doesn't look like an error internal to tomcat. Yoav Shapira Millennium Research Informatics -Original Message- From: Yuri [mailto:[EMAIL PROTECTED]

RE: RequestDispatcher.forward() forgets requestUri

2004-05-25 Thread Nitschke Michael
But in the API is written that this Abbributes are reset between requests. (Interface ServletRequest.setAttribute()) And if I use the names you provided below the values get overwritten with the values from the requestDispatcher. Isn't it supposed that the RequestDispatcher forwards the Request

RE: RequestDispatcher.forward() forgets requestUri

2004-05-25 Thread Shapira, Yoav
Hi, Isn't it supposed that the RequestDispatcher forwards the Request as it was the initial request from the client? No: that's one key distinction between the RequestDispatcher and HttpServletResponse#sendRedirect. Yoav This e-mail, including any attachments, is a confidential business

RE: RequestDispatcher.forward() forgets requestUri

2004-05-25 Thread Nitschke Michael
Im using the Invokerservlet. mfg Michael Nitschke -Original Message- From: Nitschke Michael Sent: Tuesday, May 25, 2004 3:54 PM To: Tomcat Users List Subject: RE: RequestDispatcher.forward() forgets requestUri But in the API is written that this Abbributes are reset between requests.

Apache 2.0.43 on solaris start-up errors

2004-05-25 Thread Kommuru, Bhaskar
When i startup Apache 2.0.43 on Solaris2.8 (after installed just now), I have got these errors. [Tue May 25 15:45:50 2004] [notice] Digest: generating secret for digest authentication ... [Tue May 25 15:45:50 2004] [crit] (2)No such file or directory: Digest: error generating secret: No such file

TEI and custom tag class - Classloading issues

2004-05-25 Thread Carl Olivier
Greetings. I have sent a number of posts on an issue I have been experiencing in TC 5 (5.0.19 and now 5.0.24) regarding classloading of TEI classes (one in one or two instances custom tag classes). Yoav asked me to try and create a WAR with the problem existing within the WAR. I have failed to

RE: JK2 connector binary for solaris8

2004-05-25 Thread Igor Galperin
Try the following instructions: 1. Download and open mod_jk2. Because binary mod_jk2 is not available for solaris2 OS , we need to download source code (jakarta-tomcat-connectors-jk2-2.0.4-src.tar.gz) and compile it. You can download it from

RE: TEI and custom tag class - Classloading issues

2004-05-25 Thread Carl Olivier
Sigh. Sorry the error stack trace mentioned (and ommitted) below looks like: StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: /logon.jsp(1,1) Failed to load or instantiate TagExtraInfo class:

RE: Error starting tomcat5

2004-05-25 Thread Yuri
Hi, thx. I do have the JDK1.3 in place and checked JAVA_HOME too. and besides, i am getting faliure delivery messg. for my posting. Regards. Yuri --- Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, We saw your original message ;) Use the JDK, not the JRE, and make sure it's installed

How can I access JMS server on a remote machine in Tomcat

2004-05-25 Thread stan
Hi, all This is my problem: Now , I have build a web application with Tomcat. But, I have to add some new function , so I want to use JMS to communicate with a remote machine(there is a message-driven bean on it) The JMS server is JBoss. Is it possible? and How to solve

ljk2 logger

2004-05-25 Thread meissa . Sakho
I'm running Tomcat 4.1.29 with apache2 under linux. I'm using jk2 and everything works(almost) fine. When I start tomcat, I've some logging instruction from org.apache.jk.server.JkMain and org.apache.jk.common.ChannelSocket both a DEBUG level. I would like to configure the logger for log

RE: How can I access JMS server on a remote machine in Tomcat

2004-05-25 Thread Shapira, Yoav
Hi, Yes, it's possible. You'll need the JMS API jar (downloadable from sun: don't get the whole j2ee jar) as well as the client JMS jar for your selected server. You will find more detailed advice, troubleshooting, etc in our archives, e.g.

Re: iframe - dynamicaly generated pages

2004-05-25 Thread Rostislav Svoboda
Hi Antonio it took me a while to turn the ideas to a real - that's why i answer so late If you *really* need to generate the files statically, yes i think i need to .. see below - You can simply use the session ID as identifier, you do not need the user name. i do use session id as the identifier

Tomcat service.bat %SERVICE_NAME% variable length

2004-05-25 Thread Asif Chowdhary
Hi, Can you tell me what is the maximum string length that %SERVICE_NAME% variable can accept. Does it allow spaces in the name? I am creating a install nt service bat file and whenever I have the service name exceed beyond a certain length it gives me a error. Thanks AC

Custom component with MBean

2004-05-25 Thread Aravind Kumar
Hi! I need to read the log file of each context from a monitoring tool. The FileLogger component that ships with tomcat doesn't expose the content of the log file. So I've written an MBean which reads the Log file. I did as was written here

RE: Tomcat service.bat %SERVICE_NAME% variable length

2004-05-25 Thread Mladen Turk
Has nothing to do with service.bat or procrun (tomcat.exe) WINNT has a maximum length of 256 chars for service name and service display name. No spaces allowed in the service name, description and display name can have spaces. MT. -Original Message- From: Asif Chowdhary

How does Tomcat manage sesssions ?

2004-05-25 Thread Xavier MOGHRABI
Hello, I'm instested to know how does Tomcat manage user sessions. I'd like to build a robust application that can survive after server's crashes. Thereby, I'd like that the application is able to recover the session to allow users to go on their work where they were. I've searched information

Re: PrintWriter performance

2004-05-25 Thread Jacob Kjome
Quoting QM [EMAIL PROTECTED]: On Tue, May 25, 2004 at 03:39:31PM +0200, Rostislav Svoboda wrote: : I'd like to ask you if there's a significant difference in performance : between: : :String ret = ; :for (count = 0; rs.next(); count++) :ret += rs.getString(column_name);

Re: How does Tomcat manage sesssions ?

2004-05-25 Thread Filip Hanik - Dev
look into the PersistanceManager, that will store the session in a DB for you http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/manager.html Filip - Original Message - From: Xavier MOGHRABI [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 10:29

RE: How does Tomcat manage sesssions ?

2004-05-25 Thread Shapira, Yoav
Hi, http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/manager.html http://jakarta.apache.org/tomcat/faq/misc.html#persist Yoav Shapira Millennium Research Informatics -Original Message- From: Xavier MOGHRABI [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 11:29 AM To: Tomcat

Re: admin login problem with tomcat5-slide bundle

2004-05-25 Thread Peter Rossbach
Which Version you used ? The Tomcat 5.0.24 has a bug with Cookie and Auth Handling. Please, test with 5.0.25 alpha again. http://archive.apache.org/dist/jakarta/tomcat-5/v5.0.25-alpha/bin/ Regards Peter Miklos Nyiri schrieb: Well, I certainly did that. That's how it worked with Tomcat 4 and I

RE: admin login problem with tomcat5-slide bundle

2004-05-25 Thread Shapira, Yoav
Hi, Please don't provide links to the archive.apache.org site unless absolutely necessary ;) Use the normal Apache or Jakarta download pages. Yoav Shapira Millennium Research Informatics -Original Message- From: Peter Rossbach [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 25, 2004

SV: Tomcat virtualhost bug?

2004-05-25 Thread Trond Hersløv
Sorry about that. I'm a freshman and just tried to keep it short and simple (as I thought I was supposed to). Anyway - my server.xml: Have no idea what those listeners and Global naming resourses are doing, but I'll deal with it later ( I hope) Turning autodeploy off didn't help :-( Thanks for

RE: admin login problem with tomcat5-slide bundle

2004-05-25 Thread Shapira, Yoav
Hi, 5.0.25-alpha is available via most mirrors and download sites. If you are unlucky enough to pick a particular mirror that doesn't have it, try a different one, I just did about 15 and they all have it. If you're interested in release plans, subscribe to the dev list and follow votes and so

Re: PrintWriter performance

2004-05-25 Thread QM
On Tue, May 25, 2004 at 03:44:51PM +, Jacob Kjome wrote: : This is a common psuedo-misconception. Compilers can't do anything with strings : that have a paramter of which the value can only be realized at runtime. I'm aware of the static-content optimization =) I was referring to the notion

Re: JSP Compiling - painted in a corner?

2004-05-25 Thread Jason Palmatier
Hello Illya, Thank you for your reply. I need the JSPs precompiled for performance and security reasons. Performanace because we don't want the end user to have a bad first impression when attempting to access our application the first time and having to wait for each page to compile first.

Apache startup errors

2004-05-25 Thread Kommuru, Bhaskar
Guys, Any one has any idea on these errors When i startup Apache 2.0.43 on Solaris2.8, I have got these errors. [Tue May 25 15:45:50 2004] [notice] Digest: generating secret for digest authentication ... [Tue May 25 15:45:50 2004] [crit] (2)No such file or directory: Digest: error generating

RE: Apache startup errors

2004-05-25 Thread Shapira, Yoav
Hi, Maybe ask on the Apache httpd mailing list? Yoav Shapira Millennium Research Informatics -Original Message- From: Kommuru, Bhaskar [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 12:17 PM To: Tomcat Users List Subject: Apache startup errors Guys, Any one has any idea on

Re: JSP Compiling - painted in a corner?

2004-05-25 Thread QM
On Tue, May 25, 2004 at 09:12:58AM -0700, Jason Palmatier wrote: : Is having the subdirectories in the package : statement the crucial step I need to solve this? Sort of. =) As long as you can: 1/ produce unique .class file names for each compiled JSP (i.e. so /x/here.jsp and /y/here.jsp)

Re: Tomcat Hung!!! Help needed

2004-05-25 Thread Emerson Cargnin
my kernel is 2.4.21-99, does help using this export? :) Zsolt Koppany wrote: Did you try: export LD_ASSUME_KERNEL=2.2.5 ... start tomcat now Zsolt -Original Message- From: Innovest Ken [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 6:08 AM To: [EMAIL PROTECTED] Subject: Tomcat

Re: JSP Compiling - painted in a corner?

2004-05-25 Thread Filip Hanik - Dev
you couldn't use this one either? http://cvs.apache.org/~fhanik/precompile.html. You can very easily translate my XML file into actual Java commands, hence it eliminates the need for ANT. It will take a little work. The neat thing with my script is that it requires no mapping in web.xml since

Re: SV: Tomcat virtualhost bug?

2004-05-25 Thread QM
On Tue, May 25, 2004 at 05:48:52PM +0200, Trond Hersl?v wrote: : Sorry about that. I'm a freshman and just tried to keep it short and simple : (as I thought I was supposed to). It helps to follow the list for a day or two before posting. =) The first thing that strikes me: disable

RE: Tomcat Hung!!! Help needed

2004-05-25 Thread Ryan Lissack
Hi, Yes it will more than likely fix your problem. It is a problem with RedHat 9 and NPTL. Search the archives for further information. Also you are probably better off using the following: export LD_ASSUME_KERNEL=2.4.1 Ryan. -Original Message- From: Emerson Cargnin [mailto:[EMAIL

Tomcat 5 going to sleep

2004-05-25 Thread Mark Lowe
Hello Sorry for the subject title but didn't know how better to put it. Tomcat throws an outofmemory exception when left for a day or so depending on how much ram i've assigned to an application and how much traffic there has been. I've seen various postings on this and a lot of clever

Re: Error using taglibs - unable to find setter

2004-05-25 Thread Jack Lauman
I have a similar problem with a simpler situation. I have a simple JSTL tag and bean that alternate the colors in a table. If delpoyed under JBoss 3.0.7 with Tomcat 4.1.24 it works. If I deploy it under JBoss 3.2.3RC2 with Tomcat 5.0.24 I get the same Unable to find setter method for

Re: JSP Compiling - painted in a corner?

2004-05-25 Thread Jason Palmatier
Hello QM, Thank you very much for replying. Unfortunately the web.xml excerpt was a copy/paste. The full file is VERY large (4000 lines) so I won't post it here but I'll give you a larger sample. I did notice late yesterday that there are duplicate file names among the subdirectories so I

Re: Tomcat 5 going to sleep

2004-05-25 Thread Filip Hanik - Dev
java.lang.OutOfMemoryError after this you are pretty much SOL and have to restart the server. Look for other threads with the subject memory leak Filip - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 11:47 AM

  1   2   >