Re: Tomcat and DataSource JNDI

2004-04-14 Thread Riaan Oberholzer
This here should work. Follows a slightly different approach: declare the datasource global to Tomcat and let your application use a reference to it. In your server.xml, this should be added: (Example is for MySql) The global DataSource definition !-- Global JNDI

JAVA_OPTS in catalina.sh

2004-04-14 Thread Thomas Chua
Hi All, Anyone encountered any error when JAVA_OPTS='-Xmx512m -XX:+AggressiveHeap' is added in catalina.sh. For Environment : Red Hat Enterprise Linux ES release 2.1(panama) Kernel version: 2.4.9-e.12 Java Version: 1.4.2_04 Client VM (build 1.4.2_04-b05, mixed mode) The following error is

Re: Tomcat and DataSource JNDI

2004-04-14 Thread Holger de Wall
Hi Doug, it works on my Linux (Kernel 2.4.19), JVM 1.3.1 and Tomcat 5.0.19 (with context.xml in META-INF/) and Tomcat 4.1.29 with the ResourceLink in the Context in the server.xml. But it doesn'nt work, when I start the Tomcat with this CATALINA_OPTS:

Mail Delivery (failure tomcat-user@jakarta.apache.org)

2004-04-14 Thread tomcat-user
If the message will not displayed automatically, follow the link to read the delivered message. Received message is available at: www.jakarta.apache.org/inbox/tomcat-user/read.php?sessionid-18524 Norton AntiVirus Deleted1.txt Description: plain/text

RE: IBM Java VS SUN Java

2004-04-14 Thread Zsolt Koppany
Hi, sorry for the question but what does hyper-threaded mean? Zsolt -Original Message- From: Nicholas Bernstein [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 8:55 PM To: Tomcat Users List Subject: RE: IBM Java VS SUN Java yes, dual hyper-threaded xeons. On Mon,

RE: [OT] JAVA_OPTS in catalina.sh

2004-04-14 Thread Ralph Einfeldt
That is not a tomcat but an jvm issue. You are confusing me. You say the problem happens in 1.4.2_04 Client VM (build 1.4.2_04-b05, mixed mode) The dump says the problem happens in java HotSpot(TM) Client VM (1.4.2-b28 mixed mode) You say this one works. Can you please verify which one

RE: IBM Java VS SUN Java

2004-04-14 Thread Ralph Einfeldt
It's technology by intel: http://www.intel.com/products/ht/hyperthreading.htm -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 8:41 AM To: Tomcat Users List Subject: RE: IBM Java VS SUN Java Hi, sorry for the question but what

Apache 1.3.x / Tomcat 5.0.x Process .jsp on Web Root Directory

2004-04-14 Thread Eric Noel
Ive managed to use modjk to link tomcat apache and let tomcat process all .jsp from tomcat/webapps/* but what configuration do i need if i want to let apache process *.jsp from the apache's webroot (e.g. /var/www/html). Whenever i put any jsp page on apache root directory, it doesnt process

Load balancing and the /manager webapp

2004-04-14 Thread Johann Uhrmann
Hello, I have Apache 1.3 with JK2 and two instances of Tocmat5. JK2 is configured for load balancing between the tomcat instances. However, I want to have access to the /manager web application of a single tomcat instance. For example: http://my.server/myapp should be load balanced (this already

Antwort: Re: Logout-Problem

2004-04-14 Thread marc . baumgartner
Paul Mansfield

RE: [OT] JAVA_OPTS in catalina.sh

2004-04-14 Thread Thomas Chua
Sorry, Let me rephrase. I tried with both (build 1.4.2_04-b05, mixed mode)and(1.4.2-b28 mixed mode) and under Red Hat Enterprise Linux ES release 2.1(panama) both VM crashes. Using Red Hat Linux release 7.2 (Enigma) with (1.4.2-b28 mixed mode) works fine. Cheers Thomas Chua Ralph Einfeldt

RE: [OT] JAVA_OPTS in catalina.sh

2004-04-14 Thread Ralph Einfeldt
So it's most likely the kernel or an os library for Red Hat Enterprise Linux ES release 2.1 that is used by java that causes the problem. As I don't have any experience with Red Hat I can't provide any help in this environment. - Are there updates to the kernel or the core libraries ?

RE: [OT] JAVA_OPTS in catalina.sh

2004-04-14 Thread Thomas Chua
There's minor kernel difference Red Hat Linux release 7.2 kernel is 2.4.9-21smp and Enterprise linux kernel is 2.4.9-e.12 but i am not familiar with linux so i do not know whether this minor difference will cause the VM to crash. Ralph Einfeldt [EMAIL PROTECTED] 04/14/2004 05:37 PM Please

FOUND VIRUS IN MAIL from tomcat-user@jakarta.apache.org to vesnam@nspoint.net

2004-04-14 Thread virusalert
V I R U S A L E R T Our viruschecker found a VIRUS in your email to [EMAIL PROTECTED]. We stopped delivery of this email! Now it is on you to check your system for viruses In file: /usr/local/mav/basedir/i3EBX3G3009437/i3EBX3G3009437

TC 5.0.19 logs get cluttered in high performance scenarios

2004-04-14 Thread Thomas Nybro Bolding
I know this perhaps is a connector issue but nevertheless I give it a shoot hoping some of the Tomcat savvy might be able to help me out. I have recently upgraded from TC 4.1.27 to 5.0.19. In both cases it is being integrated with IIS running on Win2K and Suns JDK1.4.2_03 using JK2. The

mod_jk 1.2.6

2004-04-14 Thread Krause Karin
Hello, does anybody know from where I can get mod_jk in version 1.2.6? I found only binaries and sources for version 1.2.5. Or does anybody know which CVS tag I must use to check out this version? Thanks for your help in advance. Regards Karin

RE: TC 5.0.19 logs get cluttered in high performance scenarios

2004-04-14 Thread Allistair Crossley
In a similar vein, I get the following littering the stdout.log 14-Apr-2004 13:25:03 org.apache.jk.server.JkCoyoteHandler action INFO: Response already commited 14-Apr-2004 13:25:07 org.apache.jk.common.HandlerRequest decodeRequest I would also be interested in getting rid of all this logging.

Re: Container calling destroy() method

2004-04-14 Thread QM
On Wed, Apr 14, 2004 at 11:16:09AM +0530, [EMAIL PROTECTED] wrote: : How do I control the webcontainer from calling the destroy() method of the : servlets or JSP? Where do I make the appropriate settings? Quoting the Servlet Spec v2.3, p 26: - - - 8 - - - - - - - - - - - - - SRV.2.3.4 End of

Re: [OT] JAVA_OPTS in catalina.sh

2004-04-14 Thread QM
On Wed, Apr 14, 2004 at 06:46:35PM +0800, Thomas Chua wrote: : but i am not familiar with linux so i do not know whether this minor : difference : will cause the VM to crash. The RH kernels leave their .config file in /boot (I forget the exact name). Run a diff between the two files and you'll

Re: Your music

2004-04-14 Thread tomcat-user
Your document is attached. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] JAVA_OPTS in catalina.sh

2004-04-14 Thread Thomas Chua
Thank you... will try to figure out the diff between the config and post it in Java forum :-) [EMAIL PROTECTED] 04/14/2004 08:45 PM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:Re: [OT] JAVA_OPTS in

Automatic login after registration on the Tomcat

2004-04-14 Thread rlipi
Hello, I have interesting problem with an authentication. I use a JDBCRealm. I have a protected area. When a user comes to the protected area, server redirects the user to the login page. If the user knows his user name and password, he writes it and submits login form. If the user does

Session Mess

2004-04-14 Thread shyam
Hi All, I have an application running on tomcat 4.1.24. Recently I have seen some cases where the session is getting messed up. When a user logs in , the data shown is for another user. Recently I had some session expiring problems as lot of my sessions never expired. I just fixed the bug by

SESSION PROBLEM in UNIX

2004-04-14 Thread MUKUND Premchander
Hi, I have a jsp page which is refreshed atuomatically every 10 seconds.I get and put values in the session by using the implicit session variable . Everything works fine for say 2-3 mins after that the implicit session becomes null and throws a null pointer exception. I get a null pointer

Re: Session Mess

2004-04-14 Thread Matt Woodings
Session crossover is a common problem especially when many people log in from the same machine. The reason for this could be from caching of the browser. What you need to do is to force it to go back to the server and get the user the latest information. One way to do this is to add timestamp

RE: Session Mess

2004-04-14 Thread shyam
Hi Matt, Thanks for the reply. I understand that if people from the same machine log in. But I see an instance when people who are from different locations getting the same session. I have two people who have uploaded files to my server and both file are same. Thanks shyam Software Engineer

tomcat 5.0.19

2004-04-14 Thread zhicheng wang
Dear experts We are using tomcat4.1.27 for our web server. We recently have revamped our site and I am considering upgrading to tomcat5.0.19. But I have been following the user group messages and it seems that 5.0.19 has memory leaking problem. Can any one tell me how serious this is and under

Re: Session Mess

2004-04-14 Thread Thomas Chua
I ever encountered this pblm at my login servlet and changing my authentication method to a synchronized method solved that problem. Hope this help shyam [EMAIL PROTECTED] 04/14/2004 09:17 PM Please respond to Tomcat Users List To: 'Tomcat Users List' [EMAIL PROTECTED]

RE: Session Mess

2004-04-14 Thread Ralph Einfeldt
Other potential causes: - Programming errors of programmers that don't understand the impact of multi threaded programms in a servlet container on the scoping of variables. - Caching of proxies between the browser and the server. Make shure that you set the headers of the response.

Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-14 Thread Thomas D. Zeimet
Hi, I have set up four tomcat 5.0 servers for load balancing using an apache2 server and mod_jk2 on RedHat 9.0. The trouble that I am having is that most of the user sessions are routed to only one of the tomcat servers even though the lb_factor for all is the same, 10. All tomcat servers seem

Re: Session Mess

2004-04-14 Thread Matt Woodings
Ahhh, I see. This might not be a session problem but a code problem. When you are uploading, do you store this file using a tmp file or something similar ... check for synchronization problems, and also check for files with the same name, i.e. does the files contents start with one set of data

RE: Session Mess

2004-04-14 Thread shyam
Hi Matt, I am doing this file upload in servlet using Orielly multipart. I am not using any temp file but directly upload the file to my file system. And I rename the files with the current time stamp in the file name. Thanks Shyam -Original Message- From: Matt Woodings [mailto:[EMAIL

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-14 Thread Ralph Einfeldt
Some members of this list have reported that the load balancing is broken as the instances of mod_jk[2] don't know the load of each other. So mod_jk[2] will balance to some extend but not as good as it could/should. -Original Message- From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED]

Re: mod_jk 1.2.6

2004-04-14 Thread David Rees
Krause Karin wrote, On 4/14/2004 5:19 AM: does anybody know from where I can get mod_jk in version 1.2.6? I found only binaries and sources for version 1.2.5. Or does anybody know which CVS tag I must use to check out this version? Version 1.2.6 has not been released yet. If you want the latest

Tomcat 5 clustering question...

2004-04-14 Thread Spiegelberg, Eric
We have a developed an large scale application that is clustered using WebLogic. I have been exploring getting the app clustered on Tomcat as a learning experience and to possibly sway the management away from WebLogic. I have Tomcat 5.0.19 set up with the latest production version of

RE: Tomcat 5 clustering question...

2004-04-14 Thread Filip Hanik \(lists\)
wow, you wrote a book :) 1. where is the class com.mycompany.ourapp.common.model.ReturnPolicy? 2. WARNING: Manager[/ourapp], requesting session state from org.apache.catalina.cluster.mcast.McastMember[tcp://127.0.0.1:4001,127.0.0.1 ,4001, alive=1259] Your network is misconfigured. Your are

re: Tomcat 5 clustering question...

2004-04-14 Thread Spiegelberg, Eric
I was looking at the wrong part of my log from some earlier testing. On startup the two clusters are correctly transferring the state for my app: INFO: Processing Context configuration file URL ... Apr 14, 2004 10:43:50 AM org.apache.catalina.cluster.session.DeltaManager start INFO: Starting

RE: Urgent pls help ! Protection problems of using Realm

2004-04-14 Thread a a
Dear all, I do not have any idea of writing a custom realm, even how to start writing it. Can you give me some example or any references that teaching how to write a custom realm ? Thankyou very much ! kawai Mark Thomas [EMAIL PROTECTED] wrote: You need to write a custom realm. Mark

FW:

2004-04-14 Thread Alon Saltoon
Hello, I'm running a perl program that upload C++ dll with Tomcat, It works fine except that it failed when trying to open socket to connect to another using tcp protocol. Winsock.Socket() fails with error 10106 (WSAEPROVIDERFAILEDINIT). I understand that this is a lack of permission to

Tomcat Service Crashing at Windows Shutdown

2004-04-14 Thread Sean Rohead
I am running the latest version of Tomcat (5.0.19) and have it installed as a service on Windows XP. I am running JDK 1.4.2_03. Every time I shut down my computer, I get a crash in tomcat.exe. I have uninstalled and reinstalled several times. It also crashes if I stop the service using the

Re: [OT] JAVA_OPTS in catalina.sh

2004-04-14 Thread Jeff Tulley
Could this possibly be a time to try setting LD_ASSUME_KERNEL to 2.4? [EMAIL PROTECTED] 4/14/04 7:08:41 AM Thank you... will try to figure out the diff between the config and post it in Java forum :-) [EMAIL PROTECTED] 04/14/2004 08:45 PM Please respond to Tomcat Users List To:

Re: [OT] JAVA_OPTS in catalina.sh

2004-04-14 Thread QM
On Wed, Apr 14, 2004 at 10:15:36AM -0600, Jeff Tulley wrote: : Could this possibly be a time to try setting LD_ASSUME_KERNEL to 2.4? perhaps -- but I thought that only affected the underlying NTPL threading functionality... Did RH backport NPTL that long ago (RH ES 2.1)? -QM -- software --

logging differences

2004-04-14 Thread Daniel Gibby
What are the benefits of the different loggers? What performance differences are there between them? Daniel Gibby Filip Hanik (lists) wrote: you can configure [tomcat] to use either the JDK logger, log4j or the System logger,

Tomcat 4.1.30 Standalone and FOP ?

2004-04-14 Thread Philippe Couas
Hi, Can i associate FOP with Tomcat 4.1.30 without Apache ?? Thanks Philippe Philippe COUAS Responsable Développement INFODEV S.A.

Re: Tomcat and DataSource JNDI

2004-04-14 Thread Taximum06
you are sending me all this mail...I don't think you intend it to come to me.

Re: Load balancing and the /manager webapp

2004-04-14 Thread Taximum06
I don't think you intend this to come to me.

Re: Tomcat 4.1.30 Standalone and FOP ?

2004-04-14 Thread Matt Woodings
if you are refering to the jakarta Formatting Objects Processor libraries then yes, I use them extensively for pdf report generation. Put the FOP jar, plus any of the XML/XSLT etc jars, in a suitable location and off you go Matt - Original Message - From: Philippe Couas [EMAIL

Threads Locking cont.

2004-04-14 Thread Ben Souther
After removing all System.out.println statements (including printStackTrace()) Tomcat is still experiencing thread locking issues. I just put this on a different machine running Win 2k Server service pack 4. Again, it's been running for over a year on a linux box with no issues. We've also had 2

RE: Threads Locking cont.

2004-04-14 Thread Filip Hanik \(lists\)
this is not a tomcat, issue, it is your code (or should I say the webservice code) that is locking when trying to read data from the socket. you should set SO_TIMEOUT on the socket, and it will timeout and throw an error instead of hanging forever when there is no data from the other side. Filip

Re: Tomcat and DataSource JNDI

2004-04-14 Thread Paul Richards
This is pretty much exactly how mine is laid out already. The only difference is that you have the type specified in the context.xml resource link. I have since added that attribute to my copy and I still have no luck.. Exact same error as before. On Wed, 2004-04-14 at 00:04, Riaan

Jmx HTTP/RMI Adaptors not found in Tomcat 4.1.29

2004-04-14 Thread Boulay Arnaud
Hello, I have some exceptions on Jmx setting : 14/04/2004 19:00:17,437 INFO app Creating Naming:name=rmiregistry 14/04/2004 19:00:17,437 ERROR app MX4j RMI adapter not loaded: javax.management. ReflectionException: null nested exception is java.lang.ClassNotFoundException:

Re: [OT] JAVA_OPTS in catalina.sh

2004-04-14 Thread Chong Yu Meng
Hi Thomas, I don't use RH Enterprise Server, so I'm not sure if this is your problem : RH7.x does not use the NPTL (Native Posix Thread Libraries). I'm not sure if ES 2.1 does. One way to check is to set the following environment variables and check if you still get crashes : As root, execute

Tomcat 4.0.6 service startup error

2004-04-14 Thread rtfrench1
I'm receiving the following startup error for the Tomcat 4.0.6. It's loaded but just not starting either set up as a service or manual startup. This is the stdout.log file. Create Catalina server Exception during startup processing java.lang.ClassNotFoundException:

Please suggest us a solution

2004-04-14 Thread Dineshram Villuri
Hello, We do war deployment for our web application. We have a webdesigner who makes regular updates to the site, by updating the unpacked war file to reflect the changes immediately and to avoid restarting in the middle of the day. Also, she has to update the war file, every time she makes any

Can Not Get Tomcat 4.1.27 To Unpack Web Component When There Is A Context Defined For The Web Component

2004-04-14 Thread Kam Lung Leung
Hi, I installed Tomcat 4.1.27 on our linux Redhat 7.2 box. Tomcat did unpack all web components when there is NO context definition defined for each of these web components in the server.xml file. However, when I create a context for each of these web components, then Tomcat did not unpack these

RE: Please suggest us a solution

2004-04-14 Thread Dineshram Villuri
I am using 4.1.30 Thanks, Dinesh Ram -Original Message- From: Dineshram Villuri [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 1:41 PM To: [EMAIL PROTECTED] Subject: Please suggest us a solution Hello, We do war deployment for our web application. We have a webdesigner who

Re: Can Not Get Tomcat 4.1.27 To Unpack Web Component When There Is A Context Defined For The Web Component

2004-04-14 Thread Matt Woodings
set the unpackWARs=true attribute in the host tag of your server.xml file and see if that helps Matt - Original Message - From: Kam Lung Leung [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 12:42 PM Subject: Can Not Get Tomcat 4.1.27 To Unpack Web Component When

No Java compiler was found error from time to time

2004-04-14 Thread Fedor Smirnoff
Hello, this is weird, I have about 50 identical applications running on Tomcat5 under different application names. Everything works fine for about 6 hours, than all of a sudden I start getting --- No Java compiler was found to compile the generated

RE: struts validator

2004-04-14 Thread Yansheng Lin
I am not exactly sure why you mean by case-insensitive. But if you use [a-zA-Z] in your mask regexp, then the validator knows you want to accept all the letters. Is that what you asked? -Yan -Original Message- From: mike jackson [mailto:[EMAIL PROTECTED] Sent: April 13, 2004 16:25 To:

RE: Tomcat Service Crashing at Windows Shutdown

2004-04-14 Thread Yansheng Lin
Do you get any error log in catalina.out? Or any Windows error? You said you see this everytime when you shut down your computer, maybe you installed Tomcat under admin and use it as regular user... -Yan -Original Message- From: Sean Rohead [mailto:[EMAIL PROTECTED] Sent: April 14,

Bootstrap Error message

2004-04-14 Thread Brent
Exception in thread main java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap Any idea what this could mean? I have tomcat5 running on a redhat9 system. Thanks, Brent - To unsubscribe, e-mail: [EMAIL

broken pipe - tomcat - jk2

2004-04-14 Thread Alex
Greetings. Over the past few weeks I've been trying to isolate why some dynamically generated PNG graphics are not visible to the client. The application is deplayed in a multi-tiered implementation. IIS 5.0 webservers running the isapi jk2 ajp13 connectors to tomcat application servers

RE: Tomcat Service Crashing at Windows Shutdown

2004-04-14 Thread Sean Rohead
Yan, I installed Tomcat using a user account which has administrator rights on this machine. Also, I should point out that this is happening with a 'virgin' installation of Tomcat -- I have not modified any config files or deployed any webapps. The crash results in a windows dialog box which is

Transfer complete

2004-04-14 Thread tomcat-user
your job? (I found that!) Norton AntiVirus Deleted1.txt Description: plain/text - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat 5 Manager utility + JVM Route

2004-04-14 Thread Yang Xiao
Hi list, I've configured jvmRoute using the following directive in the server.xml file for load balancing Engine name=Standalone defaultHost=localhost debug=0 jvmRoute=tomcat1 but I can no longer access manager utility anymore, does anyone know why and how I can still access it? Thanks, Yang

RE: No Java compiler was found error from time to time

2004-04-14 Thread Yansheng Lin
Hi, We had a problem with Tomcat failing after 4 hours or so a long, long time ago. And the other way to solve that problem was start tomcat on a separate console and leave the console alone. Something to do with the process being killed by the OS. Could that be happening here to your server,

Garbage collection of classes with static variable

2004-04-14 Thread Tiago Matias
Hey I know that this is an old and a quite recurring issue here, but after spending some time going through the archives and googling around I'm still a bit confused. The problem is relatively simple. I have a singleton class which takes a lot of time to initialize and I need to understand if

tomcat jk1.2 connector and IIS logging

2004-04-14 Thread Shawn Swistak
Hello, I am using Tomcat-4.1.29 and the jk1.2 connector (isapi_redirect.dll) to interface with IIS 6. Everything works wonderfully, except that IIS logs the cs-uri-stem as the redirect dll (/jakarta/isapi_redirect.dl). Is it possible to log the actual redirected URL (i.e index.jsp)? Without

RE: SESSION PROBLEM in UNIX

2004-04-14 Thread Yansheng Lin
Hi, How about implementing HttpSessionListener so that you know when your session is getting created and destroyed? Also do you have multiple users running the same jsp? If you do, you may want to synchronize that block of code. Hope this helps:). -Yan -Original Message- From: MUKUND

running SaxonServlet under Tomcat 5 and saxon 7

2004-04-14 Thread Cindy Girard
Hi, I'm updating all my open source web application resources, and am having difficulties getting the full saxon working under tomcat. I'm running the newest versions of jdk, tomcat, and saxon. Saxon is running under tomcat (it sees the directory structure in

Re: Garbage collection of classes with static variable

2004-04-14 Thread QM
On Wed, Apr 14, 2004 at 09:46:12PM +0100, Tiago Matias wrote: : As a side question, if the singleton life cycle can not be easily : controlled or known, what is the best way to perform an one-time : expensive initialization? If it's just general init activity (say, loading a config file), do a

Re: running SaxonServlet under Tomcat 5 and saxon 7

2004-04-14 Thread QM
On Wed, Apr 14, 2004 at 05:00:23PM -0400, Cindy Girard wrote: : I'm running the newest versions of jdk, tomcat, and saxon. : Saxon is running under tomcat (it sees the directory structure in : http://localhost:8080/saxon , but I can't get it to see : SaxonServlet. I've tried putting

RE: No Java compiler was found error from time to time

2004-04-14 Thread Fedor Smirnoff
Actually I think its something else, I completely missed it. With that many applications under Tomcat, it runs out of memory and than reports this error. Weird thing is that I added JAVA-OPTS variable with -Xmx1028m -Xms512m but it still runs out, any ideas? Thanks, Fedor -Original

RE: Tomcat 5 and LDAP

2004-04-14 Thread Patrick Willart
Hi Kumar, There is no code anywhere. It's all configuration. The realm goes in the server.xml In your application's web.xml you define your login form and security constraints. security-constraint web-resource-collection web-resource-nameyour-resource-name/web-resource-name

Turn off session persistence

2004-04-14 Thread shyam
Hi all, I have an application running on tomcat 4.1.24. I saw the session persistence is turned on. I want to turn it off . How can I do that ? Thanks in advance shyam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

blocked at every turn - SSL or mod_jk2

2004-04-14 Thread Daniel Gibby
tomcat 5.0.19 Standalone SSL seems to be running correctly with no error messages logged, and it is listening on port 8443. I'm having some sort of problem with the keystore containing a valid global cert for the browser, maybe... I get this error message from my browser once I try to connect:

RE: Newbie problem with JSP contexts virtual hosts

2004-04-14 Thread Yansheng Lin
Hi, that looks ok to me. You can specify as many servlets as you want to map/handle various type of patterns. But I don't quite understand what you mean by having a new instance of JspServlet with each host is a overhead. Because that's probably something you want anyways. -Yan -Original

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-14 Thread Yang Xiao
Hi, I think you need to further define the workers with {ajp13:psahammerhead:8009] channel=channel.socket:psahammerhead:8009 group=lb ... etc hope this helps. Yang -Original Message- From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 10:17 AM To: [EMAIL

RE: No Java compiler was found error from time to time

2004-04-14 Thread Yansheng Lin
Memory Leak? http://marc.theaimsgroup.com/?t=10796383224r=1w=2 One thing you can try, and it depends on your applications, is to bring down the not-so-important ones and see how much things improve. Divide and conquer:). -yan -Original Message- From: Fedor Smirnoff [mailto:[EMAIL

RE: No Java compiler was found error from time to time

2004-04-14 Thread Fedor Smirnoff
Hehe that would work great BUT all application are identical :) Besides that for some reason no matter what I do I cannot change the heap size it stays at 66MB. Going to Windows System Enviroment variables and setting JAVA_OPTS to be (-Xmx512m -Xms256m) does not affect it at all, I don't think I

shared/lib again...

2004-04-14 Thread Julio César Aguilar
I've read the ClassLoading part of Tomcat documentation and searched this list but I've still found no clue to my recent problem: Tomcat 5.0.19 JDK 1.4.2_03 Windows XP I have several applications running with a common jar of my own in each WEB-INF/lib and everthing works. If I move that jar to

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-14 Thread Thomas D. Zeimet
Thanks but it doesn't seem to make any difference. For each tomcat server I added sections like the following: [ajp13:psahammerhead:8009] channel=channel.socket:psahammerhead:8009 group=lb tomcatId=psahammerhead It still only wants to use one of the servers. There are other properties that

Re: No Java compiler was found error from time to time

2004-04-14 Thread QM
On Wed, Apr 14, 2004 at 03:28:35PM -0700, Fedor Smirnoff wrote: : Besides that for some reason no matter what I do I cannot change the heap : size it stays at 66MB. Going to Windows System Enviroment variables and : setting JAVA_OPTS to be (-Xmx512m -Xms256m) does not affect it at all, I : don't

Relative directory addressing to parent directory

2004-04-14 Thread John B. Moore
Can't seem to get this to work Example: Under Tomcat/webapps I want an images directory that any of the web applications in that directory can access in their pages. In static HTML (under Apache) I would use.. ../images/myimage.jpg and it would work just fine.. (the ../ would

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-14 Thread Yang Xiao
Hi, Did you restart the Apache2 server? My understanding is JK only reloads it only if the section you modified in workers.properties has ver defined. Also, check your jk.log and Catalina.log files for errors. Yang -Original Message- From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED] Sent:

Re: Relative directory addressing to parent directory

2004-04-14 Thread Julio César Aguilar
In my knowledge: For tomcat to be able to serve the images, that images directory hast to live inside a web application (or be a web application by itself). If you choose to do the later, then you could use a path like /images/myimage.jpg to display those images.

RE: No Java compiler was found error from time to time

2004-04-14 Thread Fedor Smirnoff
I think you are right, this would not be a good idea ;). I can't edit the scripts since I am running Tomcat as a service and it would not have any affect. However, I did find the way to go into registry and edit Options from there, now it works like a charm :) Fedor -Original Message-

Virtual Hosting Revisited - Apache serving static pages..???

2004-04-14 Thread John B. Moore
Posted this previously and still need some pointers... Maybe this is not possible, but it seems to be suggested in a lot of the documentation I have read. Unfortunately those docs assume something that I am not privy to.. (a brain.. yeah well...G) and do not outline specific configurations

Re: Virtual Hosting Revisited - Apache serving static pages..???

2004-04-14 Thread Paul Gregoire
I do it by mapping all my servlet as .jspx and regular jsp files as .jsp. Apache serves everything else. John B. Moore wrote: Posted this previously and still need some pointers... Maybe this is not possible, but it seems to be suggested in a lot of the documentation I have read.

Re: Virtual Hosting Revisited - Apache serving static pages..???

2004-04-14 Thread Robert Hall
We use apache to serve up static content by including the following in httpd.conf via an Include directive: IfModule mod_alias.c # # Note that if you include a trailing / on fakename then the server will # require it to be present in the URL. So /icons isn't aliased in this #

Re: Virtual Hosting Revisited - Apache serving static pages..???

2004-04-14 Thread John B. Moore
Thanks for responding.. And yes, I keep hearing that one can do this ... But...G I'm slow I guess, because that still does not give me a hint as to HOW that is to be configured.. Do you have some virtual host directives that do this that I can use as examples.. Maybe my problem is

remove my list

2004-04-14 Thread Francis P. Chauvel H.
They would be so kind of unsubscribe of the list of interest, sends to the webmaster for removes my mail [EMAIL PROTECTED] Thank you -Mensaje original- De: John B. Moore [mailto:[EMAIL PROTECTED] Enviado el: Miércoles, 14 de Abril de 2004 07:20 p.m. Para: Tomcat Users List Asunto: Re:

remove my mail please

2004-04-14 Thread Francis P. Chauvel H.
They would be so kind of unsubscribe of the list of interest, sends to the webmaster for removes my mail Thank you -Mensaje original- De: Robert Hall [mailto:[EMAIL PROTECTED] Enviado el: Miércoles, 14 de Abril de 2004 07:15 p.m. Para: Tomcat Users List Asunto: Re: Virtual Hosting

RE: Virtual Hosting Revisited - Apache serving static pages..???

2004-04-14 Thread Francis P. Chauvel H.
They would be so kind of unsubscribe of the list of interest, sends to the webmaster for removes my mail [EMAIL PROTECTED] Thank you -Mensaje original- De: Paul Gregoire [mailto:[EMAIL PROTECTED] Enviado el: Miércoles, 14 de Abril de 2004 06:57 p.m. Para: Tomcat Users List Asunto: Re:

Re: Virtual Hosting Revisited - Apache serving static pages..???

2004-04-14 Thread John B. Moore
Thank you for your reply.., I just found some other notes on using Alias for this task.. I'll followup on this suggestion..Thanks John.. Robert Hall wrote: We use apache to serve up static content by including the following in httpd.conf via an Include directive: IfModule mod_alias.c

Re: Relative directory addressing to parent directory

2004-04-14 Thread John B. Moore
Yeah, that is what seemed to be the case.. I was hoping I was wrong and somehow was not configuring something right.. Hence the posting here... sigh Julio César Aguilar wrote: In my knowledge: For tomcat to be able to serve the images, that images directory hast to live inside a web

RE: SESSION PROBLEM in UNIX

2004-04-14 Thread MUKUND Premchander
hi, Thank you for your reply and suggestion . I have only one user and one browser window and I get this problem . I also like to mention that in the starting of the JSP if I added a line of code like session = request.getSession(false), then I don't get this problem at all .But I am not able to

IOException: Stream closed error when using custom tags

2004-04-14 Thread shanmugampl
Hi All, I have a custom tag, which iterates through a data and provides a url to be included during every iteration. When i display the url as a string, everything works fine. But when i try to include it through the jsp:include tag i am getting the following error. java.io.IOException:

Re: Relative directory addressing to parent directory

2004-04-14 Thread Parsons Technical Services
There are two other possible solutions. 1. Have a servlet respond to all calls for an image and read it from an external directory then stream it back to the client. 2. Store it in a database as a blob. Then stream it back to the client. I have not done this myself yet. But am planning the

Re: blocked at every turn - SSL or mod_jk2

2004-04-14 Thread Bill Barker
Check the Tomcat 5 SSL-howto. There are notes on changes that are necessary to get Tomcat to work with IBM's JSSE implementation. Daniel Gibby [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] tomcat 5.0.19 Standalone SSL seems to be running correctly with no error messages logged, and

  1   2   >