Re: need help on mod-jk.conf

2007-01-31 Thread Rainer Jung
Hi Maulik, the mod-jk.conf contents you cite from the Wiki are for Apache only. Please have a look at http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html for Netscape/Sun Web server settings. All JK web server plugins (Apache, IIS, Sun) share the same workers.properties format

Re: AW: Return values in wrong sort order

2007-01-31 Thread David Delbecq
En l'instant précis du 01/30/07 16:00, Sascha Wehnert s'exprimait en ces termes: Hi David, thanks for your response. -Ursprüngliche Nachricht- Von: David Delbecq [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 30. Januar 2007 14:43 An: Tomcat Users List Betreff: Re: Return

FW: IE Issues with JSPWiki JCIFS!!

2007-01-31 Thread ICT Department
That's awesome, cheers to everyone that's helped me on this - problem resolved!! :] I added the line -Djcifs.encoding=US-ASCII to 'Java Options' under the 'Java' tab in that configuration utility. Works fabulously now. Hopefully this be of help to others too who encounter similar problems!

mod_jk - more than 15 workers = hang

2007-01-31 Thread James Masson
Hi, I'm working on creating a pair of Apache mod_jk load balancers for an Tomcat web-app farm. Redhat ES4 Server Version: Apache/2.0.52 (Red Hat) JK Version: mod_jk/1.2.20 apache-tomcat-5.5.20-1 Everything works fine, until I exceed 15 load balancing workers on mod_jk, then I get a

Re: mod_jk - more than 15 workers = hang

2007-01-31 Thread Rainer Jung
Hi James, I guess, the size of the shared memory is not big enough. You can increase it using the JkShmSize directive for Apache. The value is an integer value which is the provided shared memory size in Kilobytes. During startup with JkLogLevel debug you get messages like: ...

Re: mod_jk - more than 15 workers = hang

2007-01-31 Thread Mladen Turk
James Masson wrote: Hi, I'm working on creating a pair of Apache mod_jk load balancers for an Tomcat web-app farm. Redhat ES4 Server Version:Apache/2.0.52 (Red Hat) JK Version:mod_jk/1.2.20 apache-tomcat-5.5.20-1 Everything works fine, until I exceed 15 load balancing workers on

Re: mod_jk - more than 15 workers = hang

2007-01-31 Thread James Masson
JkShmSize 256 That solved the problem - Thanks to all who replied! Note that the 16th worker config works fine, if specified as part of the 15. I don't understand, what you mean by specifying a worker as part of another worker. I was just saying that the problem wasn't a specific

Tomcat and Java6

2007-01-31 Thread news
Hello List! is it possible to run Tomcat with Java6 ? I've just tried Tomcat 5.5.20 and it did not start with Java 6. Is there a Version that is compatible with Java 6 allready? Thanks! - To start a new topic, e-mail:

Re: Tomcat and Java6

2007-01-31 Thread Kristian Rink
[EMAIL PROTECTED] @ Wed, 31 Jan 2007 13:58:05 +0100] Hello List! is it possible to run Tomcat with Java6 ? I've just tried Tomcat 5.5.20 and it did not start with Java 6. Could you be more verbose about the meaning of it did not start with Java 6? I am running several tomcat machines (both

Re: Tomcat and Java6

2007-01-31 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Hello List! is it possible to run Tomcat with Java6 ? I've just tried Tomcat 5.5.20 and it did not start with Java 6. Is there a Version that is compatible with Java 6 allready? 5.5.20 works happily for me with Java 6. Mark

RE: Tomcat and Java6

2007-01-31 Thread Per Johnsson
Hi! Are you sure it's tomcat which fails, in my case it was the Tomcat Service which hangs, and I have no clue why. I got it working on one machine but not on all other with the same setup. I tried updated the Tomcat.exe service files without luck. Another person on the list said it will work

RE: Tomcat and Java6

2007-01-31 Thread Per Johnsson
Hi! Do you run on windows with the Tomcat Service? Did you do a clean install of tomcat after installing java 6? I have tried both the server and client jvm.dll in both the jre and jdk withouit luck. Then on the other hand we had both jdk5 and jdk6 installed and we did not reinstalled tomcat.

Visual Web Pack + Hibernate + MySQL + Tomcat

2007-01-31 Thread Luiz Siqueira
I'm having problems in deploy time with Visual Web Pack + Hibernate + MySQL + Tomcat. I can put the Hibernate and MySQL to work without problem, but wen I add Visual Web Pack I become with deploy problems even with bundled Tomcat. I don't know too what is the Visual Web Pack jar dependencies,

Disable servlet runtime

2007-01-31 Thread Subscriber
Hi, I would like to know if it is possible to disable a servlet within a web application while it is running. My scenario is, that I would like to turn on/off different features in my webapplication. These features are implemented as servlets and therefore be able to turn them on and off

Re: Tomcat and Java6

2007-01-31 Thread Kristian Rink
[Per Johnsson [EMAIL PROTECTED] @ Wed, 31 Jan 2007 14:20:13 +0100] Do you run on windows with the Tomcat Service? Did you do a clean install of tomcat after installing java 6? I have tried both the server and client jvm.dll in both the jre and jdk withouit luck. Ahh, no, our production

AW: datasource-realm troubles

2007-01-31 Thread Walter, Oliver (BR/ICI3)
Hello, i have a funny problem, maybe someone can bring a bit light into this: I`m using DataSourceRealm for security and thanks to the list this is working fine now. Right now i want to access the principal inside the application with Principal principal = request.getUserPrincipal();

RE: Disable servlet runtime

2007-01-31 Thread Peter Crowther
From: Subscriber [mailto:[EMAIL PROTECTED] I would like to know if it is possible to disable a servlet within a web application while it is running. My scenario is, that I would like to turn on/off different features in my webapplication. These features are implemented as servlets and

Re: Tomcat and Java6

2007-01-31 Thread Dhaval Patel
Hi, I am running Tomcat 5.5.20 with JDK 6.0 on Windows XP perfectly fine. I am running it as service and it works as it suppose it. Would you provide log file or catalina.out so that we can see what's going on? Thanks. Regards, D - Original Message From: Kristian Rink [EMAIL

Re: Disable servlet runtime

2007-01-31 Thread Subscriber
Peter Crowther wrote: A Tomcat-specific solution: Implement a Valve that intercepts all incoming requests (it has to be a tomcat-specific Valve rather than a Filter, because Filters are per-webapp). In that Valve, examine the request URL, determine which servlet it maps to, check whether then

tomcat 5.5.16 cache problem

2007-01-31 Thread Raj Mettai
Hi, I am running tomcat 5.5.16 on Redhat, tomcat seems to be doing some kind of caching on servlets, I have deleted a servlet from WEB-INF/classes and I have restarted the tomcat, still I am able to access the servlet, I have checked every where on the box for the class file, couldn't find it. I

Re: Session timeout during method execution

2007-01-31 Thread Bryan Basham
Did you know that you have programmatic control over the session timeout. Simply call the setMaxInactiveInterval method on the HttpSession object with a value in seconds. So if you know that a given request will take 10 minutes you can say: session.setMaxInactiveInterval(600); at the beginning

Re: Session timeout during method execution

2007-01-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bryan, Bryan Basham wrote: Did you know that you have programmatic control over the session timeout[?] Simply call the setMaxInactiveInterval method on the HttpSession object with a value in seconds. This is the method the OP is already using,

Re: tomcat 5.5.16 cache problem

2007-01-31 Thread Stefan Negrea
Try to delete /tomcat/work/Catalina/localhost/Name of the web-app folder. That is the folder where tomcat caches everything. I have almost the same problem on the jsp's (even if I set the application to reload stuff every time it detects changes). Also, you might want to configure the

Re: Disable servlet runtime

2007-01-31 Thread Tim Funk
You should be able to do this via Servlet Filter. -Tim Subscriber wrote: Hi, I would like to know if it is possible to disable a servlet within a web application while it is running. My scenario is, that I would like to turn on/off different features in my webapplication. These features

Re: tomcat 5.5.16 cache problem

2007-01-31 Thread Raj Mettai
I have already tried both, deleted the application folder under work directory and also changed the application context setting reload=true, none of them seems to resolve the issue, it looks like as if the tomcat is storing the class files in other remote place, I have been using tomcat 4 for

request.getServerPort() returns wrong port when using tcpmon

2007-01-31 Thread Alessandro Vernet
When the request I send to Tomcat go through tcpmon, calls to httpServletRequest.getServerPort() in my code always return 80. This is incorrect, as Tomcat is listening in fact to port 8080. I don't have this problem when request don't do through tcpmon. I am having this issue with Tomcat 5.5.16,

RE: problem when using log4j within a Tomcat web app

2007-01-31 Thread Tim Lucia
I seem to remember I had to upgrade to 1.3 of log4j in order to have the locator information appear, at least in Chainsaw. I'm not 100% certain of this. But, if you have a newer log4j*.jar in Eclipse, then that might explain things. Tim -Original Message- From: Eqbal [mailto:[EMAIL

error-page with exception-type still causes log message with level=ERROR

2007-01-31 Thread Simon Kitching
Hi All, I would like to have my servlet throw an exception when a certain problem occurs, and use an error-page definition to display an appropriate error page: error-page exception-type au.com.nti.tns.workbench.error.WebappInternalError /exception-type

Compiling mod-jk plugin for SunOne on Solaris

2007-01-31 Thread Kamalakar Vuggumudi
I am trying to compile mod-jk plugin for SunOne on Solaris platform from source tomcat-connectors-1.2.20-src.tar.gz. When I run the configure script, I am getting the following error.. checking whether to use SO_RCVTIMEO with setsockopt()... no checking whether to use SO_SNDTIMEO with

Re: Compiling mod-jk plugin for SunOne on Solaris

2007-01-31 Thread Rainer Jung
The configure script is only fot the apache module. Try to use the files in the netscape sub directory. They might be outdated, so let us know, if you needed to make adjustments. Regards, Rainer Kamalakar Vuggumudi wrote: I am trying to compile mod-jk plugin for SunOne on Solaris platform

Re: Session timeout during method execution

2007-01-31 Thread Jacob Rhoden
Christopher Schultz wrote: This was already pointed out (by me, in fact). Sometimes, you can trick the browser into keeping the connection open by sending data back little by little. For instance, I think you might be able to keep the connection open by sending HTML comments like !-- still

Re: Compiling mod-jk plugin for SunOne on Solaris

2007-01-31 Thread Kamalakar Vuggumudi
Rainer, Thank you very much for your response.. When I try to do a make using Makefile.solaris located in native/netscape directory, I got the following error. gcc -DNET_SSL -DSOLARIS -D_REENTRANT -DXP_UNIX -DMCC_HTTPD -DSPAPI20 -fPIC -I../common -I/opt/netscape/server6/plugins/include

Re: Compiling mod-jk plugin for SunOne on Solaris

2007-01-31 Thread Rainer Jung
Are you trying to build on SPARC or X86 (or AMD64)? Kamalakar Vuggumudi wrote: Rainer, Thank you very much for your response.. When I try to do a make using Makefile.solaris located in native/netscape directory, I got the following error. gcc -DNET_SSL -DSOLARIS -D_REENTRANT -DXP_UNIX

Re: Compiling mod-jk plugin for SunOne on Solaris

2007-01-31 Thread Kamalakar Vuggumudi
SPARC - Original Message From: Rainer Jung [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, January 31, 2007 6:06:00 PM Subject: Re: Compiling mod-jk plugin for SunOne on Solaris Are you trying to build on SPARC or X86 (or AMD64)? Kamalakar Vuggumudi

Re: Compiling mod-jk plugin for SunOne on Solaris

2007-01-31 Thread Rainer Jung
Try the following two files to compile. If this will work, we can find out how to automate them. common/jk_types.h: #ifndef JK_TYPES_H #define JK_TYPES_H #ifdef __cplusplus extern C { #endif /* __cplusplus */ /* jk_uint32_t defines a four byte word */ typedef

How about comet in TomCat

2007-01-31 Thread Le Phuoc Canh
Dear all, I don't know does tomcat support comet, if anybody know, please show me how to use it in tomcat. Thanks Best regard.

Re: How about comet in TomCat

2007-01-31 Thread Mark Thomas
Le Phuoc Canh wrote: Dear all, I don't know does tomcat support comet, if anybody know, please show me how to use it in tomcat. http://tomcat.apache.org/tomcat-6.0-doc/aio.html - To start a new topic, e-mail:

APR installation Question

2007-01-31 Thread Andre Prasetya
I got this : The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: I already compiled the tcnative, where can i add the path to java.library.path ? -- -Andre- People see things the way they are and say why ? I see

Re: Compiling mod-jk plugin for SunOne on Solaris

2007-01-31 Thread Kamalakar Vuggumudi
Thanks Rainer, the compilation was successful. Now I am getting the following error during the sunone server startup.. [31/Jan/2007:17:06:36] failure ( 5751): Configuration initialization failed: Error running init function load-modules: dlopen of

Re: Compiling mod-jk plugin for SunOne on Solaris

2007-01-31 Thread Rainer Jung
Your GCC compiler comes with a dynamic library libgcc_s.so. Unfortunately gcc by default links dynamically against libgcc_s, so the resulting binary needs this gcc lib on the target system. If it is not installed in the system default library location, you need to add its directory to