Problems with Tomcat 5.5.9 SSL

2006-08-29 Thread Stefan-Michael. Guenther (in-put GbR)
Hello, I'm having a strange problem running Tomcat 5.5.9 together with SSL. The system is a RedHat Enterprise Server 4.0 Update 3 and Tomcat is running fine, Port 8080 is accessable. I have setup the SSL configuration following the documentation on

Problems configuring the RequestDumperValve

2006-08-29 Thread Santosh Puranshettiwar
Here is my config file: - Context path=/mcs docBase=mcs debug=0 reloadable=false Logger className=org.apache.catalina.logger.SystemOutLogger/ Valve className=org.apache.catalina.valves.RequestDumperValve/ Resource name=jdbc/mcs scope=Shareable type=javax.sql.DataSource/ ResourceParams

Re: mod_jk and Tomcat

2006-08-29 Thread Eugeny N Dzhurinsky
Thank you all for helping, I found the issue was related to SELinux, which simply needs to be disabled or altered (I just disabled it - and everything started to work) -- Eugene N Dzhurinsky - To start a new topic, e-mail:

Re: Can Tomcat expose original HTTP request?

2006-08-29 Thread Andrés González
Can ethereal be executed without a screen? (automated on the server sniffing). I use tcpdump for that matter. If you are using https you may also try ssldump. On 8/29/06, Santosh Puranshettiwar [EMAIL PROTECTED] wrote: A sniffer may help in that matter. I used Ethreal. Its a pain to use it on

Re: configuring Tomcat for protocols other than http/s

2006-08-29 Thread Viraj Turakhia
Hey Bill, Thanks alot for this help of yours. I will get back to you if I face problems in it. :) Viraj K. Turakhia On 8/29/06, Bill Barker [EMAIL PROTECTED] wrote: Viraj Turakhia [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, I am starting to work with Tomcat's code

Re: configuring Tomcat for protocols other than http/s

2006-08-29 Thread Zohar
Is there anything more about this, other than the (very poor) javadocs, or is the only option is looking in the code? Viraj Turakhia [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, I am starting to work with Tomcat's code and have no clue where to start from. Any pointers

[OT] RE: IIS vs Tomcat

2006-08-29 Thread Peter Crowther
From: Propes, Barry L [mailto:[EMAIL PROTECTED] Leon is correct...IIS -- without help from something like Tomcat -- cannot host web apps in Java, only ASP (or in Win2003 and above, ASP.NET). Just so as not to spread misinformation: IIS5 (in Windows 2000) can quite happily handle ASP.Net.

RE: IIS vs Tomcat

2006-08-29 Thread Peter Crowther
From: gurusamy.senthil [mailto:[EMAIL PROTECTED] I am trying to learn some web technologies and I choosen Tomcat with jsp/servlet to develop small application. If you're learning a new technology for your own interest, Java plus J2EE is considerably smaller than .Net Framework (although the

Re: Tomcat, accents and form fields

2006-08-29 Thread Andrea Bondi
Il giorno lun, 28/08/2006 alle 20.40 +0200, Markus Schönhaber ha scritto: Andrea Bondi wrote: The problem is that when I submit a form, accented letters I insert into text fields aren't managed well. For example, if I have a form field named saySomething, if I write into the field cioè I

Re: IIS 6.0 working with Tomcat (via isapi)?

2006-08-29 Thread Reynir Hubner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, What do you get in your ISAPI logs ? you can browse down to the registry entrie with regedit, and review the paths, etc. one thing comes to mind, that is that the directories pointed at (for example the log file directory) must have been made on

Re: manager/status data

2006-08-29 Thread Andrés González
OK. jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/RequestInfo.java Provides the description of erroCount: (...) // number of response codes = 400 private int errorCount; (...) On 8/29/06, Andrés González [EMAIL PROTECTED] wrote: Hi. I'm searching a way to understand

Re: manager/status data

2006-08-29 Thread Mark Thomas
Andrés González wrote: Hi. I'm searching a way to understand every detail of the manager/status page. I've tried the doc, the source code... but can't answer something like: - why is jvm-free-memory != jvm-max-memory - jvm-total-memory Because the initial memory java requests (-Xms

Re: DataSource variables in replicated objects in a Tomcat cluster

2006-08-29 Thread Dag Bjerkeli
Tanks for your reply. You are quite right, there must be better ways to do this than the approach that I've been following. But the application evolved from running on a single computer to a cluster, and things was not so straight forward as I thought getting a application in a cluster

Re: manager/status data

2006-08-29 Thread Andrés González
On 8/29/06, Mark Thomas [EMAIL PROTECTED] wrote: Andrés González wrote: Hi. I'm searching a way to understand every detail of the manager/status page. I've tried the doc, the source code... but can't answer something like: - why is jvm-free-memory != jvm-max-memory - jvm-total-memory

Re: manager/status data

2006-08-29 Thread Mark Thomas
Andrés González wrote: Mmmm... i've been investigating. I think what you say iw the reason for jvm-max-memory != jvm-total-memory The reason of free memory being != max-memory - total-memory i think is that free memory does not mean size of aditional memory that can be allocated by the

Re: Problems configuring the RequestDumperValve

2006-08-29 Thread Santosh Puranshettiwar
Any ideas? Santosh Puranshettiwar wrote: Here is my config file: - Context path=/mcs docBase=mcs debug=0 reloadable=false Logger className=org.apache.catalina.logger.SystemOutLogger/ Valve className=org.apache.catalina.valves.RequestDumperValve/ Resource name=jdbc/mcs scope=Shareable

Re: Problems configuring the RequestDumperValve

2006-08-29 Thread Mark Thomas
Santosh Puranshettiwar wrote: Any ideas? Logger className=org.apache.catalina.logger.SystemOutLogger/ Valve className=org.apache.catalina.valves.RequestDumperValve/ snip/ The above lines are in a file named mcs.xml inside webapps/mcs/WEB-INF But still the RequestDumperValue does not print

Apache2.048/Tomcat4.1.29 config problem for ArcIMS install

2006-08-29 Thread Andy Wohlsperger
Hi everyone, I'm trying to install and configure Apache 2.048 and Tomcat4.1.29 in order to Install ArcIMS. After installation in order to configure the two I downloaded two files. A module mod_ssl.so and copied it to my apache2/module directory A config file workers2.properties and

Re: Problems configuring the RequestDumperValve

2006-08-29 Thread David Smith
Yes... in 4.1, the context definition is supposed to be in $CATALINA_HOME/conf/server.xml, not on it's own under WEB-INF. Santosh Puranshettiwar wrote: Any ideas? Santosh Puranshettiwar wrote: Here is my config file: - Context path=/mcs docBase=mcs debug=0 reloadable=false Logger

Re: What is mcastBindAddr for??

2006-08-29 Thread Filip Hanik - Dev Lists
on a multihomed machine, you might only want to bind your multicast socket to one interface, hence you use the bind address Filip Patrick Wang wrote: Hi, I am currently setting up 2 linux server and enabled the clustering and multicast for these 2 servers. I verified using the cat

Re: Problems configuring the RequestDumperValve

2006-08-29 Thread Santosh Puranshettiwar
In windows, I am able to see all output on console. It must be the case in Linux where the output goes in logs/catalina.out. Mark Thomas wrote: Santosh Puranshettiwar wrote: Any ideas? Logger className=org.apache.catalina.logger.SystemOutLogger/ Valve

Re: Problems configuring the RequestDumperValve

2006-08-29 Thread Santosh Puranshettiwar
That did it. Thank you so much. David Smith wrote: Yes... in 4.1, the context definition is supposed to be in $CATALINA_HOME/conf/server.xml, not on it's own under WEB-INF. Santosh Puranshettiwar wrote: Any ideas? Santosh Puranshettiwar wrote: Here is my config file: - Context path=/mcs

Re: configuring Tomcat for protocols other than http/s

2006-08-29 Thread Zohar
Is there anything more about this (ProtocolHandler, Adapter, etc...), other than the (very poor) javadocs, or is the only option is looking in the code?

revision 227023 commons-discovery

2006-08-29 Thread Martin Gainty
Good Morning Luis and Dims- I am following up on a nasty bug (which I am experiencing) which Luis reported and dims fixed Aug 2005 in commons-discovery Here is the link

Re: Using tomcat auto configure

2006-08-29 Thread Jim Weir
From: Bill Barker [EMAIL PROTECTED] Reply-To: Tomcat Users List users@tomcat.apache.org To: users@tomcat.apache.org Subject: Re: Using tomcat auto configure Date: Mon, 28 Aug 2006 19:54:01 -0700 Tomcat version? Older versions didn't support ApacheConfig under Engine. Jim Weir [EMAIL PROTECTED]

SSL Keystore - help

2006-08-29 Thread TomcatED
I have IIS 6.0 and Tomcat 5.5.17 on separate servers. When using the keystore to import a certificate on the Tomcat server, do I: 1. Import the SSL cert that exists on the separate web server? OR 2. Import a server certificate created specifically for the Tomcat server? OR 3. or…??? --

Fwd: Shared session with clustering (SSO)

2006-08-29 Thread Paulo Cheque
Hello, I am with a big problem! I have two applications and I want to use Single Sign-ON... What is the best approach? Is it possible? Share session with clustering? Is it possible clustering two differente applications in 2 different machines? Thanks in advance Paulo

Eclipse: Deploying To Tomcat

2006-08-29 Thread Douglas Ferguson
Anybody know of a good guide to using WTP to deploy to tomcat? I'm current replacing my ant scripts with maven and have lost the ability to do a file deploy, i.e. just jsps and not entire war file. - To start a new topic,

Re: Eclipse: Deploying To Tomcat

2006-08-29 Thread Ingmar Loetzsch
I don't now a guide and I'm not using Maven. You may try 1st way: Preferences - Server - Installed Runtimes - Add ... project node - right click - Debug On Server Every time a file changes, Tomcat reloads the app. Temporary location of deployed files is

Re: Handling huge amount data

2006-08-29 Thread Christopher Schultz
José, Looking Windows Task Manager I perceived the natural memory increase. I noticed that when I call my logout method (It calls session.invalidate()) or my user session expieres the memory is still in use, in other words, the memory is not cleaned. Windows only reports the size of the

RE: Handling huge amount data

2006-08-29 Thread Robert Harper
I've seen the memory rise and fall so if the GC releases memory, it should be returned to the OS. It would be my guess that you may not be handling removing all references to an object the way you think you are. You can test this out by adding a log in the finalize() method of your object and see

RE: Handling huge amount data

2006-08-29 Thread Peter Crowther
From: Robert Harper [mailto:[EMAIL PROTECTED] I've seen the memory rise and fall so if the GC releases memory, it should be returned to the OS. ... at some point, assuming the GC is capable of compacting the heap to give an entirely free block of memory that can be returned to the OS, and

Re: Handling huge amount data

2006-08-29 Thread anjan bacchu
Hi Jose, Are you using Java 5.x(1.5.x) ? If so, you can watch your JVM's runtime behavior using the JConsole( in the JAVA_HOME/bin directory) ? It has helped me earlier on to debug OOM situations. You need to restart your tomcat so that you can add the required parameters in your

Re: Using tomcat auto configure

2006-08-29 Thread Jim Weir
From: Bill Barker [EMAIL PROTECTED] Reply-To: Tomcat Users List users@tomcat.apache.org To: users@tomcat.apache.org Subject: Re: Using tomcat auto configure Date: Mon, 28 Aug 2006 19:54:01 -0700 Tomcat version? Older versions didn't support ApacheConfig under Engine. Jim Weir [EMAIL PROTECTED]

Re: Using tomcat auto configure

2006-08-29 Thread Steve Ochani
On 29 Aug 2006 at 13:20, Jim Weir wrote: Tomcat 5.5.14 Apache 2.2.3 JK-1.2.18 released compiled from source This is the latest server.xml setting I tried, Engine name=Catalina defaultHost=www.myserver.com Listener className=org.apache.jk.config.ApacheConfig

Apache Tomcat native library

2006-08-29 Thread Marcos Glas
When starting Apache Tomcat I receive the following info: *INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path*. Then when using a deployed application, it fails. Do you think that the message and the later

Encrypting the mod_jk/ajp connection?

2006-08-29 Thread HORSTMAN, MARK A \(SBCSI\)
Assuming Apache HTTPD is compiled with SSL support, does the mod_jk/ajp connection between Apache mod_jk and the Tomcat AJP connector support encryption without employing an 'external' tool like stunnel? Mark Horstman - To

Re: Does using Kerberos with Tomcat reduce my security?

2006-08-29 Thread David Smith
I know this is a later response, but better late than never. Strictly and technically speaking, your Kerberos JAAS realm is weakening the the intense security offered by kerberos. Depending on the real risk of a username and password release, this may be acceptable if the exchange only

Re: Apache Tomcat native library

2006-08-29 Thread David Smith
Chances are, no. The message you site is only and INFO level log event. Tomcat is continuing using it's standard Coyote connectors. Send us some details of the failure and we might be able to help. --David Marcos Glas wrote: When starting Apache Tomcat I receive the following info: *INFO:

Re: Encrypting the mod_jk/ajp connection?

2006-08-29 Thread David Smith
Not that I know of. --David HORSTMAN, MARK A (SBCSI) wrote: Assuming Apache HTTPD is compiled with SSL support, does the mod_jk/ajp connection between Apache mod_jk and the Tomcat AJP connector support encryption without employing an 'external' tool like stunnel? Mark Horstman

Re: Does using Kerberos with Tomcat reduce my security?

2006-08-29 Thread Wendy Smoak
On 8/29/06, David Smith [EMAIL PROTECTED] wrote: I know this is a later response, but better late than never. Strictly and technically speaking, your Kerberos JAAS realm is weakening the the intense security offered by kerberos. ... and whatever you do, DO NOT turn the realm debug level up

Re: Using tomcat auto configure

2006-08-29 Thread Jim Weir
From: Steve Ochani [EMAIL PROTECTED] To: Jim Weir [EMAIL PROTECTED], Tomcat Users List users@tomcat.apache.org Subject: Re: Using tomcat auto configure Date: Tue, 29 Aug 2006 14:02:58 -0400 On 29 Aug 2006 at 13:20, Jim Weir wrote: Tomcat 5.5.14 Apache 2.2.3 JK-1.2.18 released

SSO + CLustering

2006-08-29 Thread Paulo Cheque
Hi, I have two distincts applications in different machines, both using Tomcat 5.5.x. I want to make a single sign-on. Is it possible? What is the best approach? Thanks in advance Paulo - To start a new topic, e-mail:

SSL - IIS OR both IIS/Tomcat

2006-08-29 Thread TomcatED
Hello Everyone, I'm looking for some SSL guidance. I have IIS 6.0 and Tomcat 5.5.17 setup on 2 seperate Windows 2003 servers. Currently I have IIS setup with an SSL certificate. Should I expect IIS to handle ALL HTTPS requests or should I ALSO setup SSL/HTTPS for Tomcat on the seperate server?

SSO + CLustering

2006-08-29 Thread Paulo Cheque
Thank you Ben! One people in IRC tell me about SSO + Clustering, do you know if this is possible? On 8/29/06, Ben K. [EMAIL PROTECTED] wrote: I have two distincts applications in different machines, both using Tomcat 5.5.x. I want to make a single sign-on. Is it possible? What is the best

XSQL

2006-08-29 Thread David Salisbury
I'm not sure if I have a tomcat configuration problem or some other problem. I'm try to get Oracle's XSQLServer application up and working under tomcat... but something's amiss. In trying to get a proof of concept going, I'm installing under servlets-examples under the tomcat installation

JOSSO or CAS

2006-08-29 Thread Paulo Cheque
What is the best? JOSSO or CAS? Anyone has experimented them? Thanks in advance Paulo - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: SSL - IIS OR both IIS/Tomcat

2006-08-29 Thread Propes, Barry L
I would think SSL/HTTPS on the Tomcat server, unless it's running at port 80, too. -Original Message- From: TomcatED [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 29, 2006 3:06 PM To: users@tomcat.apache.org Subject: SSL - IIS OR both IIS/Tomcat Hello Everyone, I'm looking for some

Re: XSQL

2006-08-29 Thread David Smith
The servlet spec would offer a world of insight into the proper places of files. But let's take all this one step at a time. My comments are intermixed. David Salisbury wrote: I'm not sure if I have a tomcat configuration problem or some other problem. I'm try to get Oracle's XSQLServer

Re: Webapps loading sequence

2006-08-29 Thread Shankar Unni
Raju Balugu wrote: So,On which basis it will load that?(For example Alphabetical ..etc) What MarkT said. Tomcat will load the webapps in whatever order it gets them from File.listFiles() (which is *not* guaranteed alphabetical!), and then during shutdown, it unloads them in some internal

Re: revision 227023 commons-discovery

2006-08-29 Thread Martin Gainty
Dims and Luigi-- I ran into this bug today and applied dims fix of Aug 2005 to all affected source files to fix and rebuilt the jar.. I have a strange feeling that we should be submitting this patch to someone higher up on the food chain (but I dont know who that is?) Thanks, Martin --

RE: SSO - 2 applications in 2 Tomcats - Realm

2006-08-29 Thread Richard Mixon
Concerning the questions on Realm ... I think if you re-read the section http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html#JDBCRealm you will find the answer. The names of the tables are not important, they can be specified using the XML attributes userTable and userRoleTable on the Real

Re: Webapps loading sequence

2006-08-29 Thread David Smith
Shankar Unni wrote: Raju Balugu wrote: So,On which basis it will load that?(For example Alphabetical ..etc) What MarkT said. Tomcat will load the webapps in whatever order it gets them from File.listFiles() (which is *not* guaranteed alphabetical!), and then during shutdown, it unloads

Re: browser sending extra get/post call after redirect

2006-08-29 Thread Mark Thomas
rache wrote: This is also related to the missing request parameters thread. After looking on the logs, it seems like the browser is calling an extra get/post call after a redirect. This would cause my application to get a url without any request parameters. What may cause the browser to

Re: SSL Keystore - help

2006-08-29 Thread Pulkit Singhal
Hello, I'm going to assume that you want server authN to function between the two machines, in which case you should exchange the certificates between IIS and Tomcat. These certificates that you exchange between IIS and Tomcat will ofcourse be the certificates that you export from the keypairs

Re: SSO + CLustering

2006-08-29 Thread Ben K.
One people in IRC tell me about SSO + Clustering, do you know if this is possible? Sorry I don't have a firsthand experience but I wonder if clustering and SSO are two orthogonal issues... except for scalability ... I found a somewhat rlevant discussion.

Re: revision 227023 commons-discovery

2006-08-29 Thread Luis Rivera
Dear Martin, I am not sure where that would be. I found that bug more than a year ago when trying to run an axis client inside an applet. Dims fixed it and somehow the fix is included in commons jar file included with the Axis release since the version 1.3, allowing Axis to work inside

Re: browser sending extra get/post call after redirect

2006-08-29 Thread rache
I am using both the RequestDumperValve and LiveHTTpHeaders plus other tools to monitor the request. I know that I am am missing request parameters intermittently. I was able to monitor also that am getting an extra call to get/post - which shouldn't. Mark Thomas-11 wrote: rache wrote: This

Need Help w. Null Pointer Exception.

2006-08-29 Thread Steve R Burrus
I need some pretty immediate help/assistance with always getting a NullPointerException Java exception when I try to view a particular image in my favorite web browser!!! The line of text in my servlet file which is, I think, problemmatic is a while loop. Well here is my entire servlet file