RE: How to find what encryption algorithm tomcat is using?

2006-01-24 Thread Shirode, Sangita \(Sangita\)
Thanks vineesh for your immediate reply. I'm using RSA while generationg a key. But I think it is for certificate keystore as given in the link http://tomcat.apache.org/tomcat-5.0-doc/ssl-howto.html. Does the same algorithm is used for data encryption also? If yes I think I can get complete deta

Re: How can I take a webapp "temporarily out of service" using mod_jk?

2006-01-24 Thread Mladen Turk
Prout John - jprout wrote: I think this is the trick: If you need only to remove particular mappings then use JkMount directive and prefix each mapping with '-'. Within 60 seconds, mod_jk will disable the mappings. Looking at documentation at the link you sent, it describes this behavi

Re: How to find what encryption algorithm tomcat is using?

2006-01-24 Thread vineesh kumar
sorry, ur own algorithm means any standard cryptographic algorithm,supported by java On 1/25/06, vineesh kumar <[EMAIL PROTECTED]> wrote: > the default key generation algorithm is DSA > try man keytool if u are on a linux machine > but u can specify ur own algoithm when u generating a key like >

Re: How to find what encryption algorithm tomcat is using?

2006-01-24 Thread vineesh kumar
the default key generation algorithm is DSA try man keytool if u are on a linux machine but u can specify ur own algoithm when u generating a key like %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows) $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix) regard

How to find what encryption algorithm tomcat is using?

2006-01-24 Thread Shirode, Sangita \(Sangita\)
Hi, I need the info about what encryption algorithm tomcat is using when it sends/receives data to /from client via SSL. I need this info for export compliance. When I enabled SSL in tomcat I just followed the normal procedure given in Tomcat docs. I'm generating a self signed certificate with ja

Re: Do idle servlets get unloaded/reloaded?

2006-01-24 Thread Bill Barker
"Blair Cooper" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I have a servlet running on Tomcat 5.5. If it sits idle for a while and >then > I hit it, the init() method gets called again. "autoDeploy" is set to > false. > Is this expected behavior? > > It isn't unless your servl

Problem in tomcat configuration...

2006-01-24 Thread Bharat Soni
Hi, I have RH9, apache 2.0.40,tomcat 4.3.11 jdk 1.3.1_11. with mysql 3.23.54. I am installing a server with apache+mod jk + tomcat + mysql. The problem is that after writing Include /usr/local/tomcat/conf/auto/mod_jk.so in my httpd.conf file and trying to start the httpd server i got error as Syn

Re: From Java to C#, ASP.NET [Off Topic]

2006-01-24 Thread Richard Schilling
You're right Tony, this posting is painfully off-topic for this list. Perhaps along with your new C# programming skills you can get work as an advertising writer for Microsoft. But, having said that, I would like to point out that Microsoft dumps a lot of money into researching and developing

Re: mod_jk vs. mod_proxy_ajp

2006-01-24 Thread Bill Barker
"Greg Bobak" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > After trying to get mod_jk to work on Solaris 9 unsuccessfully, I > switched to mod_proxy_ajp. Functionally, it seems to be working fine. > Does anyone know of any advantages of jk vs. proxy_ajp? > Their are a couple

Re: Are servlet name and class name required in web.xml for tomcat 5.5?

2006-01-24 Thread vnug
Please look into "pre-compiling" sources. You could look into - http://tomcat.apache.org/tomcat-5.5-doc/appdev/build.xml.txt and http://tomcat.apache.org/tomcat-5.5-doc/appdev/web.xml.txt When you "pre-compile" sources, it automatically generates a stub file that can be copied into "web.xml". HT

From Java to C#, ASP.NET [Off Topic]

2006-01-24 Thread Tony LaPaso
Hi all, I should mention that this post is a bit off topic. If you hate Microsoft then stop reading now and I'm sorry for wasting your time. I don't own stock in Microsoft, I don't know Bill Gates and nobody paid me or asked me to say the things I wrote below. These are just my opinions based

Memory leaking: WebappClassLoader isn't GC'ed

2006-01-24 Thread Endre Stølsvik
Hi! I have a memory-leak. That is, I can't start my full application and have unload-capability. If I "comment out" (by adding 'if (false) { ... }') large chuncks of the system, I manage to get it up, _and_ get it down again! Currently, pretty much the whole application have to be commented

Apache does not override errors coming from Tomcat

2006-01-24 Thread Akoulov, Alexandre
Hi all, I'd appreciate if you could help with the following problem. In our environment apache 1.3.33 acts as a web server that dispatches certain requests to tomcat 5.5. What we're currently trying to achieve is to make apache handle errors that come from tomcat (eg, if tomcat throws 404 Not F

TomcatProbe: Tomcat management and monitoring

2006-01-24 Thread Vlad.Ilyschenko
Hi everyone, I've been using Tomcat for years and it is a great server, - that is why I'm still using it ;-) However I thought that Tomcat could benefit from some transparency and user-friendly interfaces to its features. Four weeks ago I decided to have a go at building an interface to monitor u

mod_jk / 503 Error

2006-01-24 Thread Neal Whitley
I have mod_jk / tomcat and apache somewhat working together but I am getting an error when displaying pages via the connector. Tomcat is set up and works. I can hit: http://www.site.com:8080/examples/ or http://www.site.com:8009/examples/ However, when I try: http://www.site.com/examples/ I g

Are servlet name and class name required in web.xml for tomcat 5.5?

2006-01-24 Thread Alla Winter
For Tomcat 4.x I didn't have to set up anything in web.xml. But it seems that I have to define each servlet name and corresponding class name in web.xml in order to make it to work for Tomcat 5.5. Is that right statement? I have a lot of servlets, it seems like it is a lot of work. Can not find

Re: Postgresql and JNDI Datasource

2006-01-24 Thread torben
Edoardo Panfili wrote: torben ha scritto: I am trying to define a global JDBC datasource, where the database is Postgresql (version 7.3) ni Tomcat version 5.5.15. I have strictly followed the example in http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html, but it do

Re: Postgresql and JNDI Datasource

2006-01-24 Thread Edoardo Panfili
torben ha scritto: I am trying to define a global JDBC datasource, where the database is Postgresql (version 7.3) ni Tomcat version 5.5.15. I have strictly followed the example in http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html, but it does not work if I define th

Postgresql and JNDI Datasource

2006-01-24 Thread torben
I am trying to define a global JDBC datasource, where the database is Postgresql (version 7.3) ni Tomcat version 5.5.15. I have strictly followed the example in http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html, but it does not work if I define the datasource in $CATA

mod_jk vs. mod_proxy_ajp

2006-01-24 Thread Greg Bobak
After trying to get mod_jk to work on Solaris 9 unsuccessfully, I switched to mod_proxy_ajp. Functionally, it seems to be working fine. Does anyone know of any advantages of jk vs. proxy_ajp? G. __ Do You Yahoo!? Tired of spam? Yahoo! Mail

Re: Static mod_jk buil & implementation issues(was mod_jk with httpd & tomcat)

2006-01-24 Thread Greg Bobak
I give up -- I have upgrade to Apache 2.2 and I am using mod_proxy_ajp. Works great so far --any risks? Greg Bobak <[EMAIL PROTECTED]> wrote: Found some info that indicates that a perl script is looking for strict.pm. It is on my system. Ihave even copied it to a path that is indicated in th

Re: J2EE Security roles

2006-01-24 Thread Warren Pace
> > From: "Venkat Reddy Valluri" <[EMAIL PROTECTED]> > Date: 2006/01/24 Tue AM 11:08:24 EST > To: > Subject: J2EE Security roles > > Hi, >I am using catalina-4.0.4 and Form based authentication with JDBCRealm. >I would like to get the roles of a user from session object in which I

Re: Do idle servlets get unloaded/reloaded?

2006-01-24 Thread Frank W. Zammetti
Hi Blair, On Tue, January 24, 2006 2:41 pm, Blair Cooper said: > I have a servlet running on Tomcat 5.5. If it sits idle for a while and > then > I hit it, the init() method gets called again. "autoDeploy" is set to > false. > Is this expected behavior? As per the servlet spec, the container can

tomcat log to syslog

2006-01-24 Thread Mark F
5.0.19 (SLES 9 SP3) How can I modify Tomcat configuration to log to syslog (syslog-ng). Could it be as simple as changing the Logger to use SyslogAppender? Thanks, -Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Do idle servlets get unloaded/reloaded?

2006-01-24 Thread Blair Cooper
I have a servlet running on Tomcat 5.5. If it sits idle for a while and then I hit it, the init() method gets called again. "autoDeploy" is set to false. Is this expected behavior? If this is expected, shouldn't destroy() get called at some point prior to the init()? The problem I'm having

RE: How can I take a webapp "temporarily out of service" using mod_jk?

2006-01-24 Thread Prout John - jprout
I think this is the trick: If you need only to remove particular mappings then use JkMount directive and prefix each mapping with '-'. Within 60 seconds, mod_jk will disable the mappings. Looking at documentation at the link you sent, it describes this behavior for the JkMountFi

Spam:RE: Spam:RE: stdout/logging

2006-01-24 Thread Duan, Nick
The redirection operator should work, but with one more detail: You need to modify the catalina.bat file to enable the redirection. ND -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 24, 2006 10:04 AM To: Tomcat Users List Subject: Spam:RE:

RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-24 Thread Monica Wu
Thank you for your attention, Glen! These 2 (good and buggy) production tomcat servers run different web applications on different physical machines. Their hardware and operation systems including Windows service packs are same. Tomcat configuration is very similar. The good tomcat server was b

Re: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-24 Thread Glen Mazza
Monica Wu wrote: First of all, upgraded to the version I have ever tested. Tomcat 5.0 has been running well on my another production server about one year. At that installation time, Tomcat 5.0 was the latest. Moreover, having all productions share the same Java + tomcat versions is one of m

Re: Static mod_jk buil & implementation issues(was mod_jk with httpd & tomcat)

2006-01-24 Thread Greg Bobak
Found some info that indicates that a perl script is looking for strict.pm. It is on my system. Ihave even copied it to a path that is indicated in the error below: bash-2.05# find / -name strict.pm /usr/perl5/5.6.1/lib/strict.pm /usr/perl5/5.00503/strict.pm /usr/local/lib/perl5/5.6.1/lib/stri

Re: Static mod_jk buil & implementation issues(was mod_jk with httpd & tomcat)

2006-01-24 Thread Greg Bobak
Still trying to bind mod_jk statically to httpd. I found that I had to install the whole libtool package. Do the following errors mean that I must buiild from the CVS source only? bash-2.05# ./buildconf rebuilding srclib/apr/configure buildconf: checking installation... buildconf: autoconf vers

RE: tomcat and 64 bit processors

2006-01-24 Thread Didier McGillis
Thanks for the heads up on the JRE stability issues. I will check on that. From: "Caldarale, Charles R" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: "Tomcat Users List" Subject: RE: tomcat and 64 bit processors Date: Tue, 24 Jan 2006 12:20:27 -0600 > From: Didier McGillis [mailto:[

RE: tomcat and 64 bit processors

2006-01-24 Thread Caldarale, Charles R
> From: Didier McGillis [mailto:[EMAIL PROTECTED] > Subject: tomcat and 64 bit processors > > Hopefully I wont bore anyone. Any special considerations > with tomcat 5.5 and a 64 bit processor, can I grab the > binaries from the download site or should I grab the source? Outside of the optiona

tomcat and 64 bit processors

2006-01-24 Thread Didier McGillis
Hopefully I wont bore anyone. Any special considerations with tomcat 5.5 and a 64 bit processor, can I grab the binaries from the download site or should I grab the source? - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: Static mod_jk buil & implementation issues(was mod_jk with httpd & tomcat)

2006-01-24 Thread Greg Bobak
After installing autoconf, I get this error: bash-2.05# ./buildconf rebuilding srclib/apr/configure buildconf: checking installation... buildconf: autoconf version 2.59 (ok) buildconf: libtool version 1.5.20 (ok) libtoolize not found in path ./buildconf failed for apr How do I ge libtoolize in my

Re: Problems with Tomcat 5.5 build.xml

2006-01-24 Thread Markus Schönhaber
Andre Kammerl wrote: > for a case study concerning AspectJ, I need a compilable version of the > Tomcat 5.5 source. I tried the instruction on > http://tomcat.apache.org/tomcat-5.5-doc/building.html , but the build.xml > linked on this page is not working. If somebody could help me I would be > ver

RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-24 Thread Monica Wu
Thank you Glen for your concern! Please read through the whole thread including the subject line, I got problems on tomcat 5.0.28, rather than 5.5.x. There are plenty of reasons to adopt the latest release. However, in reality, there are lots of perfect execuses to do a halfway upgrade as well.

Re: Static mod_jk buil & implementation issues(was mod_jk with httpd & tomcat)

2006-01-24 Thread Greg Bobak
Found autoconf (did not realize it was a Unix utility): http://www.sunfreeware.com/programlistsparc9.html#autoconf Greg Bobak <[EMAIL PROTECTED]> wrote: I've found documentation for building mod_jk as a static module in apache here: http://tomcat.apache.org/connectors-doc/howto/apache.html (at

Re: mod_proxy_balancer: how to define failover (only)/hot standby behavior?

2006-01-24 Thread Mladen Turk
[EMAIL PROTECTED] wrote: Hello, using Apache 2.2.0/mod_proxy_balancer, is it possible to configure a proxy balancer with two balancer members, where one of the two only gets the requests, if the other one fails? Sure, use status="disabled" and redirect="xxx". So... BalancerMember ajp://xxx

Re: mod_proxy_balancer: how to define failover (only)/hot standby behavior?

2006-01-24 Thread Jim Jagielski
Actually, dev@httpd.apache.org is best, since that is where the development of this module is being done. I have changed the email headers accordingly. A sort of "warm standby" is something that I had planned to work into the balancer code post 2.2.1. On Jan 24, 2006, at 11:14 AM, <[EMAIL PROTEC

Static mod_jk buil & implementation issues(was mod_jk with httpd & tomcat)

2006-01-24 Thread Greg Bobak
I've found documentation for building mod_jk as a static module in apache here: http://tomcat.apache.org/connectors-doc/howto/apache.html (at the bottom of page). On this step, I get this: bash-2.05# ./buildconf rebuilding srclib/apr/configure buildconf: checking installation... build/buildchec

mod_proxy_balancer: how to define failover (only)/hot standby behavior?

2006-01-24 Thread andreas.wieczorek
Hello, using Apache 2.2.0/mod_proxy_balancer, is it possible to configure a proxy balancer with two balancer members, where one of the two only gets the requests, if the other one fails? In mod_jk that was possible using "local_worker_only", but with mod_proxy_balancer I have not yet understood

J2EE Security roles

2006-01-24 Thread Venkat Reddy Valluri
Hi, I am using catalina-4.0.4 and Form based authentication with JDBCRealm. I would like to get the roles of a user from session object in which I thinkroles must have been stored by j2ee secuirity realm when user is authenticated Can you please let me know thru which ses

Calling Web Services From Tomcat On AIX

2006-01-24 Thread Jeba Bhaskaran
I am trying to call a web service using tomcat as a client. I am able to do this on a windows box, but when I run the app on tomcat running on IBM AIX, I am getting a connection time out error. Initially I thought this was firewall issue and checked with the network folks who informed that the fire

Re: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-24 Thread Glen Mazza
Monica Wu wrote: About updating to Tomcat 5.5. Since the cause is not unclear, and some Tomcat 5.5 hangups were reported as well, I don't think simply upgrading to 5.5 would fix my problem. Perhaps not. But you *might* get more responses and additional concern from the users and develope

Re: mod_jk with httpd & tomcat

2006-01-24 Thread Mike Sabroff
Yeh, I remember getting that too and I too had the right path, but just could not get it to work. Must be some environment variable like LD_LIBRARY_PATH on sun boxes or some unresolved piece of extraneous information. When you compile it into apache, that problem does not exist as it becomes

Tomcat nightly builds

2006-01-24 Thread Dave Colasurdo
It seems that the Tomcat nightly build *binaries* are invalid.. I'm looking at the the page: http://cvs.apache.org/builds/jakarta-tomcat-5/nightly/ and the two binary images each contain only 45 bytes. Ultimately, I am looking for the most recent changes to the jsp-examples in *binary or war*

RE: Log4J output to SYSLOG

2006-01-24 Thread Bachler, Elisabeth (Elisabeth)
I have modified the log4j.properties file to send the output to SYSLOG and I think it is working Thank you for your help -Original Message- From: Bachler, Elisabeth (Elisabeth) [mailto:[EMAIL PROTECTED] Sent: martes, 24 de enero de 2006 16:28 To: 'Tomcat Users List' Subject: RE: Log4J ou

Re: Manually setting up Tomcat5.0 as service on Windows server 2003 : some questions [SOLVED]

2006-01-24 Thread ZedroS Schwart
Hi Charles and other Thanks a lot for your answer. The tip about the service.bat was most helpful. It's really to set up Tomcat as a service even after the installation. Good job Tomcat Team ! Thanks again Cheers, ZedroS On 1/23/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > From:

RE: Log4J output to SYSLOG

2006-01-24 Thread Bachler, Elisabeth (Elisabeth)
I am sorry I am a newbee in this sort of thing. I looked at the html file but I still don't really know where/how I am supposed to put the SyslogAppender. I don't want to change (if I can) the source files I would only like to modify the log4j.properties file COuld you be so kind to tell me

Problems with Tomcat 5.5 build.xml

2006-01-24 Thread Andre Kammerl
Hello, for a case study concerning AspectJ, I need a compilable version of the Tomcat 5.5 source. I tried the instruction on http://tomcat.apache.org/tomcat-5.5-doc/building.html , but the build.xml linked on this page is not working. If somebody could help me I would be very pleased. With ki

RE: Log4J output to SYSLOG

2006-01-24 Thread Tim Lucia
http://logging.apache.org/log4j/docs/api/org/apache/log4j/net/SyslogAppender .html -Original Message- From: Bachler, Elisabeth (Elisabeth) [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 24, 2006 10:04 AM To: 'Tomcat Users List' Subject: Log4J output to SYSLOG Hello, I am using "Apache

Log4J output to SYSLOG

2006-01-24 Thread Bachler, Elisabeth (Elisabeth)
Hello, I am using "Apache Tomcat Version 5.5.12". I have designed a web application. I am using log4j to output messages in a log. But now, I would like to output the log4j message to the SYSLOG. What should I do? THanks The log4j.properties file is as follows: log4j.rootLogger=debug, R log4j

RE: stdout/logging

2006-01-24 Thread Caldarale, Charles R
> From: Samuel B. Quiring [mailto:[EMAIL PROTECTED] > Subject: stdout/logging > > Is there any way to accomplish this exact same redirection > without running tomcat as a service? Is there something wrong with the standard Windows redirection operator (>)? - Chuck THIS COMMUNICATION MAY CON

RE: Cannot access external resources from a webapp when upgrading Tomcat above 5.5.9 version.

2006-01-24 Thread Caldarale, Charles R
> From: Gema Berdasco [mailto:[EMAIL PROTECTED] > Subject: Re: Cannot access external resources from a webapp > when upgrading Tomcat above 5.5.9 version. > > The situation is just you`ve said. Do you know any other way > to access to external resources? You can configure a path for your webap

stdout/logging

2006-01-24 Thread Samuel B. Quiring
On Windows you can set up tomcat as a service. The program that does this (http://tomcat.apache.org/tomcat-5.5-doc/windows-service-howto.html) lets you redirect stdout and stderror to files (see -StdOutput and -StdError options). Is there any way to accomplish this exact same redirection withou

Re: writing files with a web application

2006-01-24 Thread David Smith
Glen Mazza wrote: > Peter Crowther wrote: > >>> From: SOA Work [mailto:[EMAIL PROTECTED] >> >> >> >> Check the Servlet Spec (version 2.4 is at >> http://www.jcp.org/aboutJava/communityprocess/final/jsr154/ >> ) for questions of this kind. >> >>> From memory in both cases (so treat with caution):

RE: XML parser advice

2006-01-24 Thread Dhaval Patel
Hi, I don't know what features you want but if I will suggest, you try to look into dom4j (http://www.dom4j.org). It is very easy to use and pretty fast too. Regards, D --- Marco Tedone <[EMAIL PROTECTED]> wrote: > If you've got an XML schema defined, use Castor (xsl to Java and > viceversa)

RE: (newb) Tomcat servlet mapping problem

2006-01-24 Thread Darren Hall
> Hmm, you're mixing up that "/servlet" story. > Better remove everything named "servlet" from > your environment... It is only confusing. > > Create app.xml, put the Context path "/" > or "/app", and then "/FCLxyzServlet" or > "/app/FCLxyzServlet" are the correct URLs. > > Does that make any se

Re: How can I take a webapp "temporarily out of service" using mod_jk?

2006-01-24 Thread David Smith
Prout John - jprout wrote: >Hi > > > >I am running a JBoss cluster, using tomcat as the Servlet engine. Apache >and mod_jk provide load-balancing of requests over the machines in the >cluster > > > >I need to be able to replace all the URLs in the webapp with a >"Temporarily out of service" page

RE: XML parser advice

2006-01-24 Thread Marco Tedone
If you've got an XML schema defined, use Castor (xsl to Java and viceversa). It perfoms all validations for you and reading/writing to input/output streams. HTH, Marco -Original Message- From: Adam Lipscombe [mailto:[EMAIL PROTECTED] Sent: 24 January 2006 13:43 To: 'Tomcat Users List'

XML parser advice

2006-01-24 Thread Adam Lipscombe
Hi Folks We have a webapp running within Tomcat 5.0. I need to develop some XML functionality - basically output the contents of a number of db tables, adhering to an XML schema that I have developed. It's 2 1/2 years since I have done any XML work and I am sure that things have moved on apace

Problems with custom Realm and class loading (long)

2006-01-24 Thread Marco Tedone
Hi, I hope someone will help with this. I'm running Tomcat 5.5 on the front-end and Jboss 4.0.3 in the back end, running with Java 5. We designed our security module, so I wrote a custom Realm by extending RealmBase. I put the Realm under server/lib. The realm uses a Business Delegate, which in

Re: Why do I need to run IIS6 in IIS5 Isolation Mode

2006-01-24 Thread Mladen Turk
Powell, Richard wrote: All, I'm a bit confused on why I need to set my IIS6 installation into IIS5 Isolation mode. You don't. It works perfectly on 2K3 under IIS6 mode. However, in that case it can be loaded couple of times if you have vhost process separation. Regards, Mladen. -

RE: problem with tomcat 5.5.9

2006-01-24 Thread Tim Lucia
I seem to recall that on RH, all files are mmap'd and that can occupy seemingly huge amounts of memory, when in fact it is all buffer cache and will be collected by the OS if actually needed for something else. Could it be logging in your app (or Tomcat) is writing a lot of data to files? Tim --

Why do I need to run IIS6 in IIS5 Isolation Mode

2006-01-24 Thread Powell, Richard
All, I'm a bit confused on why I need to set my IIS6 installation into IIS5 Isolation mode. I have installed the isapi_redirect.dll file as a Filter and Extension in standard IIS6 mode and it all works fine. The version of the dll is 1.2.15 on a Windows 2003 server, connecting to the Embedded