RE: mod_jk replacement?

2007-02-02 Thread David Rodríguez Fernández
You can do an configuration too easy with all versions of mod_proxy, but an exaustive analisys of the application and an advanced configuration in apache can speed up the service. With the example I mentioned in an previous post I'm serving all static content with apache and only pass to tomcat

RE: multiple requests from the same client (only 2 threads are activated!)

2007-02-02 Thread David Rodríguez Fernández
Are you using firefox as web client? There's an issue of firefox (i don't know what is) what only 2 downloads are performed as same time. -Mensaje original- De: Debora Desideri [mailto:[EMAIL PROTECTED] Enviado el: jueves, 25 de enero de 2007 19:49 Para: users@tomcat.apache.org Asunto:

RE: multiple requests from the same client (only 2 threads are activated!)

2007-02-02 Thread Mike Quilleash
I believe the HTTP 1.1 spec specifies that a maximum of two simultaneous connections should be allowed by a remote client to a server. HTTP 1.0 allowed four connections. Any additional connections will be blocked until one of the others is terminated. I believe these restrictions are

RE: authentication using active directory

2007-02-02 Thread David Rodríguez Fernández
Can tomcat read the file login.html? I think this is a permissions problem. -Mensaje original- De: Deepan [mailto:[EMAIL PROTECTED] Enviado el: viernes, 26 de enero de 2007 8:22 Para: Tomcat Users List Asunto: authentication using active directory Hi, I am trying to authenticate using

RE: authentication using active directory

2007-02-02 Thread Deepan
On Fri, 2007-02-02 at 09:37 +0100, David Rodríguez Fernández wrote: Can tomcat read the file login.html? I think this is a permissions problem. I am using BASIC mode of authentication. It works. -Mensaje original- De: Deepan [mailto:[EMAIL PROTECTED] Enviado el: viernes, 26 de

segmentation fault

2007-02-02 Thread pratapkm
Dear sir/madam, I am using httpd-2.0.59 and apache-tomcat-5.5.20 connected using mod_jk connector. If i try to access any jsp page thru apache using port 80. Its giving segmentation fault and tomcat is not able to find process to read at the other end of the pipe. But both apache

Re: segmentation fault

2007-02-02 Thread David Delbecq
Check the mod_jk you installed on your apache matches the apache httpd version and distribution your are using. If you can't find a match, compile yourself a version of mod_jk suitable for your paltform http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html En l'instant précis du

Re: Context.INITIAL_CONTEXT_FACTORY

2007-02-02 Thread Pid
Fran Varin wrote: Well, let me see if I can paint an accurate picture...The application as it is currently running in WAS uses a properties file to externalize everything we need to connect to a datasource. The code itself will add the initial context class name to the properties file that is

Issues in Win2K with Wiki!

2007-02-02 Thread ICT Department
Unfortunatly, for some reason our wiki only displays correctly if Windows XP is installed on the client machine..but in 2000, parts of the text (including links) are missing - however, sometimes dragging over them will make them reappear. Any ideas on how to fix this bug? Cheers! Chris

[OT] Re: Issues in Win2K with Wiki!

2007-02-02 Thread Pid
Sounds like an IE CSS bug to me. Are the versions of IE different too, including patches? ICT Department wrote: Unfortunatly, for some reason our wiki only displays correctly if Windows XP is installed on the client machine..but in 2000, parts of the text (including links) are missing -

Problems wits Tomcat security manager when connecting to Firebird using Jaybird

2007-02-02 Thread Balanyi Zsolt
Hello! I am using Tomcat 4.1 on Debian. With SecurityManager turned off, my app works perfectly. However, if I turn it on, I get some errors. I already corrected some of them by adding permissions, but this one is unclear to me: java.lang.ExceptionInInitializerError at

Re: noClassDefFound error for class in [webapp]/WEB-INF/lib jar file

2007-02-02 Thread David Delbecq
Also note that, for some reason, confusing error message can be sent by classloader. In the past i tried to find out why tomcat was unable to load a class, this all loks like ti couldn't find the definition. In fact, what i didn't notice, it's that, earlier in the logs, an error occured during

how to add a library path in build.xml?

2007-02-02 Thread compuin5y313
Dear all, I want to run an application which requires a special native libray as the following error shows: There was 1 error: [java] 1) testQuery(its.prolog.Test)java.lang.UnsatisfiedLinkError: no jpl in java.library.path [java] at

FW: [OT] Re: Issues in Win2K with Wiki!

2007-02-02 Thread ICT Department
Well the server the wiki is on runs Windows Server 2003, with IE7..this would explain it I guess as all the other machines in the network are on 6.0 SP1. I tried to downgrade IE7 to IE6 on the server, but now the text just displays incorrectly on there too along with the others! Is there any way

Re: how to add a library path in build.xml?

2007-02-02 Thread Mohsen Saboorian
-Djava.library.path=yourpath On 2/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Dear all, I want to run an application which requires a special native libray as the following error shows: There was 1 error: [java] 1) testQuery(its.prolog.Test)java.lang.UnsatisfiedLinkError: no jpl in

Re: how to add a library path in build.xml?

2007-02-02 Thread David Delbecq
For execution classpath: http://ant.apache.org/manual/CoreTasks/java.html For compilation classpath: http://ant.apache.org/manual/CoreTasks/javac.html En l'instant précis du 02/02/07 12:43, [EMAIL PROTECTED] s'exprimait en ces termes: Dear all, I want to run an application which requires a

Re: how to add a library path in build.xml?

2007-02-02 Thread compuin5y313
I specify the -Djava.library.path as follows: target name=runtest depends=compile echo message=Loading libraries1: ${java.library.path}/ java classname=its.prolog.Test sysproperty key=java.library.path value=/opt/pkg/pl/lib/pl-5.6.6/lib/i686-linux/

Re: how to add a library path in build.xml?

2007-02-02 Thread David Delbecq
Your questions regarding use of ant should go to ant mailing list. This has nothing to do with tomcat. En l'instant précis du 02/02/07 13:35, [EMAIL PROTECTED] s'exprimait en ces termes: I specify the -Djava.library.path as follows: target name=runtest depends=compile echo

Re: [OT] how to make a scheduled event on tomcat

2007-02-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jacob, Jacob Rhoden wrote: Christopher Schultz wrote: You're better off not using Tomcat for this kind of thing. That's what cron and other system software packages are for. I am curious, I find that moving the cron activities into the war

Problem with the valve configuration

2007-02-02 Thread Maulik S
Hi All, In our production we want Sun One Web server 6.1 and Tomcat combination. Almost all things are done. But I got one problem which i want to discuss. Basically, I have enabled Single Sign On for web server and through web server App server got connected. The problem is if i know the ip

Tomcat Clustring Problem- Session issue?

2007-02-02 Thread rasool.asal
Gents, I have successfully installed Apache 2.2.3 in front of a couple of Tomcat server using the mod_jk (1.2.20). I have configured the system to perform round-robin load balancing based on sticky session principle. The problem I have is that the Apache is trying to cross the same session

RE: mod_jk replacement?

2007-02-02 Thread JNeuhoff
The same here. Most of the static content (such as *.png) is being served by the Apache frontend, and only requests for to our web service are configured with the ProxPass directives. I had to use the ProxyPassReverse, too: ProxyPreserveHost On ProxyPass /ohpr/ http://localhost:8080/ohpr/

Re: FW: [OT] Re: Issues in Win2K with Wiki!

2007-02-02 Thread Hassan Schroeder
On 2/2/07, ICT Department [EMAIL PROTECTED] wrote: Well the server the wiki is on runs Windows Server 2003, with IE7..this would explain it I guess as all the other machines in the network are on 6.0 SP1. I tried to downgrade IE7 to IE6 on the server, but now the text just displays incorrectly

Re: mod_jk replacement?

2007-02-02 Thread Mladen Turk
JNeuhoff wrote: The same here. Most of the static content (such as *.png) is being served by the Apache frontend, and only requests for to our web service are configured with the ProxPass directives. I had to use the ProxyPassReverse, too: ProxyPreserveHost On ProxyPass /ohpr/

Re: meanings of -lapr-0 -lgcc -lc -lsocket -lnsl in Makefile while building nsapi_redirector.so

2007-02-02 Thread Jim Jagielski
On Jan 31, 2007, at 1:36 AM, Zack Grafton wrote: Maulik, In the line: LD_SHAREDCMD=ld -G -fPIC -lapr-0 -lgcc -lc -lsocket -lnsl I can't tell which one is bold, but anyway, that line specifies which linker command to use, and the -l options specify the loading of a library. You should

Re: Compiling mod-jk plugin for SunOne on Solaris

2007-02-02 Thread Jim Jagielski
On Jan 31, 2007, at 7:30 PM, Rainer Jung wrote: Try the following two files to compile. If this will work, we can find out how to automate them. common/jk_types.h: common/portable.h: All done. Fixed on trunk, I added --enable-netscape which allows configure to continue without requiring

Re: FW: [OT] Re: Issues in Win2K with Wiki!

2007-02-02 Thread Pid
ICT Department wrote: Well the server the wiki is on runs Windows Server 2003, with IE7..this would explain it I guess as all the other machines in the network are on 6.0 SP1. I tried to downgrade IE7 to IE6 on the server, but now the text just displays incorrectly on there too along with the

Re: Compiling mod-jk plugin for SunOne on Solaris

2007-02-02 Thread Maulik S
How can we put entry in obj.conf of sun one web server so that it knows to refer mod_jk.conf file like we put the similar entry in httpd.conf ? Thanks Maulik Jim Jagielski [EMAIL PROTECTED] 02/02/2007 09:28 PM Please respond to Tomcat Users List users@tomcat.apache.org To Tomcat Users

RE: Tomcat and Java6

2007-02-02 Thread Per Johnsson
Hi Again.. I tried to look at the sources: http://svn.apache.org/viewvc/jakarta/commons/proper/daemon/trunk/src/nat ive/nt/procrun/src/ I'm not a really into C but someone here could maybe see whats wrong, I have come to the conclusion that the method: serviceStart() Is failing on row (~946):

RE: multiple requests from the same client (only 2 threads areactivated!)

2007-02-02 Thread Caldarale, Charles R
From: Mike Quilleash [mailto:[EMAIL PROTECTED] Subject: RE: multiple requests from the same client (only 2 threads areactivated!) I believe the HTTP 1.1 spec specifies that a maximum of two simultaneous connections should be allowed by a remote client to a server. The spec defines the

Re: Context.INITIAL_CONTEXT_FACTORY

2007-02-02 Thread Fran Varin
Christopher Pid-2: I actually have something working although I'm not entirely sure I have a complete understanding; there are still some gaps. I found this article -- http://wiki.apache.org/tomcat/UsingDataSourcesand it helped a great deal. Here is what I have done: Step 1 - Using

Re: Compiling mod-jk plugin for SunOne on Solaris

2007-02-02 Thread Jim Jagielski
mod_jk.conf is an Apache-specific config file (it contains the various mod_jk Apache directives) and is therefore not usable under SunONE. On Feb 2, 2007, at 11:38 AM, Maulik S wrote: How can we put entry in obj.conf of sun one web server so that it knows to refer mod_jk.conf file like we

Re: Compiling mod-jk plugin for SunOne on Solaris

2007-02-02 Thread Rainer Jung
Helo, mod_jk.conf is usually associated with apache configuration. For the nsapi plugin, the configuration is explained in http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html Not all features of the apache or IIS plugins are available for the nsapi plugin. You can use a worker

tomcat administration data sources/jndi

2007-02-02 Thread Aljosa Mohorovic
i created jndi datasource in tomcat administration (Resources Data Sources JNDI Name=test) and failed to access it in code: CODE: InitialContext initialContext = new InitialContext(); DataSource ds = (DataSource) initialContext.lookup(java:comp/env/jdbc/zbi); i get this exception:

Re: Compiling mod-jk plugin for SunOne on Solaris

2007-02-02 Thread Maulik S
Thanks Rainer, Basically my main aim for using mod-jk plugin is to use feature like uriworkermap.properties. But i think you had correctly specify that it is not implemented for nsapi. we can find some way to make it happen.in magnus.conf we can specify worker_file. What i feel is we can also

Configuring JSF in the TOMCAT/conf/web.xml for all webapps

2007-02-02 Thread Bryan Basham
Hello, I am developing a system in which every webapp deployed to Tomcat uses JSF. So, I decided to move the common JSF configuration from each webapp/WEB-INF/web.xml into the TOMCAT/conf/web.xml file. At startup time everything looks fine. Here's an example of the output I see for each

mod_jk load balancing problem

2007-02-02 Thread Chris Egolf
We currently have the following setup: Two Tomcat servers and two Apache web servers using the JK connector to load balance the Tomcat servers. There is a Cisco PIX firewall between the Apache servers and the Tomcat servers, but we are using the keepalive option (see config below). Apache

Re: Context.INITIAL_CONTEXT_FACTORY

2007-02-02 Thread Pid
Fran Varin wrote: Christopher Pid-2: I actually have something working although I'm not entirely sure I have a complete understanding; there are still some gaps. I found this article -- http://wiki.apache.org/tomcat/UsingDataSourcesand it helped a great deal. Here is what I have done:

DB2/Tomcat Connection pooling problem

2007-02-02 Thread Pete
Hello all, I am currently working on getting Tomcat and DB2 to work together here and have been having a heck of a time. I'm at a point where I'm able to reference the JNDI resource in my test servlet (finally), and now am getting a connection pool issue: Cannot create PoolableConnectionFactory

RE: DB2/Tomcat Connection pooling problem

2007-02-02 Thread Tim Lucia
Also in V6, it seems to be using a version of dbcp associated with tomcat as opposed to commons. (org.apache.tomcat.dbcp.*) Has some underlying behavior changed as well here? This is the standard behavior with 5.5.x -- DBCP is repackaged under the Tomcat package (presumably) to avoid conflicts

Tomcat and JSP Issue

2007-02-02 Thread Jason Friedman
My tomcat works perfectly normal before today. I did nothing to it, but now even the simplest JSP code gives errors: whatswrong.jsp === %@ pagelanguage=java contentType=text/html import= java.util.*,java.io.*,java.sql.*% %

RE: Tomcat and JSP Issue

2007-02-02 Thread Pitre, Russell
You have the myname variable declared inside the try/catch statement. Try declaring it outside of the try/catch. %@ pagelanguage=java contentType=text/html import= java.util.*,java.io.*,java.sql.*% % String myname: try{ myname = Jason;

RE: Configuring JSF in the TOMCAT/conf/web.xml for all webapps

2007-02-02 Thread Tim Lucia
This is almost certainly caused by the involvement of two different classloaders. For example, if you place a driver jar such as Oracle's classes12.jar in both places, then you'll find you cannot cast from a com.oracle...BlobXXX to a com.oracle...BlobXXX, as the class you can see comes from the

Re: Tomcat and JSP Issue

2007-02-02 Thread Jason Friedman
Russell, I tried that but seems the same problem is still there. I used to define lots of variables inside try/catch and it works for all JSP pages. Honestly I dont think there is a problem with the code. My machine is Linux btw. On 2/2/07, Pitre, Russell [EMAIL PROTECTED] wrote: You have

Re: DB2/Tomcat Connection pooling problem

2007-02-02 Thread Pete
Thanks Tim. More information to my intial question: -I have also installed Websphere App Server on this machine and configured the application to work correctly there. -Shutdown WAS to run Tomcat -I have Tomcat working on my home server with a mysql database, so I do have something

Re: Configuring JSF in the TOMCAT/conf/web.xml for all webapps

2007-02-02 Thread Bryan Basham
Hello Tim, OK, but if the JSF jar files are *only* in TOMCAT/common/lib/ directory and *never* in the WEBAPP/WEB-INF/lib/ directory? Thanks, Bryan This is almost certainly caused by the involvement of two different classloaders. For example, if you place a driver jar such as Oracle's

Re: Tomcat and JSP Issue

2007-02-02 Thread Pid
can you provide another test case, or an example of a real exception? variables defined inside the try/catch aren't available outside of it, so maybe you're using them inside it normally. Jason Friedman wrote: Russell, I tried that but seems the same problem is still there. I used to

RE: Configuring JSF in the TOMCAT/conf/web.xml for all webapps

2007-02-02 Thread Tim Lucia
-Original Message- From: Bryan Basham [mailto:[EMAIL PROTECTED] Sent: Friday, February 02, 2007 3:52 PM To: Tomcat Users List Subject: Re: Configuring JSF in the TOMCAT/conf/web.xml for all webapps Hello Tim, OK, but if the JSF jar files are *only* in TOMCAT/common/lib/

Re: tomcat administration data sources/jndi

2007-02-02 Thread Aljosa Mohorovic
line DataSource ds = (DataSource) initialContext.lookup(java:comp/env/jdbc/zbi); is DataSource ds = (DataSource) initialContext.lookup(java:comp/env/jdbc/test); On 2/2/07, Aljosa Mohorovic [EMAIL PROTECTED] wrote: i created jndi datasource in tomcat administration (Resources Data Sources

Password encryption for JNDI settings

2007-02-02 Thread Ravi116
Is there anyway we can encrypt password for JNDI Data source in context.xml ? Ravi -- View this message in context: http://www.nabble.com/Password-encryption-for-JNDI-settings-tf3164186.html#a8777619 Sent from the Tomcat - User mailing list archive at Nabble.com.

log4j and CLASSPATH problems on linux

2007-02-02 Thread Oren Livne
Dear All: I'm running tomcat 6.0.7 beta on a linux redhat 8 system. Here are my questions: 1. I tried to set up some useful libraries in directories outside $tomcat_home/lib but they were not recognized. I did that by setting:

Re: log4j and CLASSPATH problems on linux

2007-02-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oren, Oren Livne wrote: 1. I tried to set up some useful libraries in directories outside $tomcat_home/lib but they were not recognized. This isn't surprising. Tomcat expects to have full control over its own classpath. You're better-off putting

Re: Tomcat Clustring Problem- Session issue?

2007-02-02 Thread Mark Thomas
[EMAIL PROTECTED] wrote: I have looked at the Tomcat Apache documents and it appears that the jvmRoute has been depreciated and replaced by route since the release of mod_jk 1.2.20, so I have replaced the jvmRoute with route on the server.xml configuration files to reflect this change but the

Re: Password encryption for JNDI settings

2007-02-02 Thread Darren
Is there anyway we can encrypt password for JNDI Data source in context.xml ? Ravi Take a look at the very final section in this article http:// www.owasp.org/index.php/Securing_tomcat The short answer, no. - To start a

Tomcat launch problem

2007-02-02 Thread Steve Vanspall
Hi, I know this probably doesn't belong here, but a lack of other forums is causing an issue. I have tomcat 5.5.20 set up and it runs without a hitch in standalone mode. I use the sydeo tomcat plugin for eclipse, and it doesn't run claiming a 'The markup declarations contained or pointed to