RE: "Exception handling Container property change"

2008-03-03 Thread uma_rk
Thanks! It looks like this is related to the long conversation we had about using VirtualWebappClassLoader a couple of months ago. I needed to use VirtualWebappLoader and hence chose to extend WebappLoader ("CustomWebappClassLoader) and install the class in ${CATALINA_BASE}/lib. This classloader

RE: "Exception handling Container property change"

2008-03-03 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: "Exception handling Container property change" > > Everytime I load my app context, the log yields the following > MBean exception. > Mar 3, 2008 9:12:30 PM > org.apache.catalina.mbeans.ServerLifecycleListener propertyChange > SEVER

"Exception handling Container property change"

2008-03-03 Thread uma_rk
Env: Tomcat 6.0.14, Jre 1.6 Everytime I load my app context, the log yields the following MBean exception. What does this error indicate? Regards /U Mar 3, 2008 9:12:30 PM org.apache.catalina.mbeans.ServerLifecycleListener propertyChange SEVERE: Exception handling Container property change ja

RE: APR-https failed (the server.xml is correct definitely)

2008-03-03 Thread Hanks Wang (hanwan)
Hi guys, [ISSUE RESOLVED] I change back to Tomcat5.5 and everything works well now. write it here in case someone meet same issue in future. B.R Han -Original Message- From: Hanks Wang (hanwan) Sent: Tuesday, March 04, 2008 9:04 AM To: Tomcat Users List Subject: APR-https failed (the

Re: mod_jk or mod_proxy_ajp - encryption benefits?

2008-03-03 Thread David Rees
On Mon, Mar 3, 2008 at 9:26 AM, James Ellis <[EMAIL PROTECTED]> wrote: > Do you think that little hollow voice can clarify how IPSec would solve this > problem by giving an example of a software that I could implement to > accomplish this? Google IPSec and VPN and you will find your answer. -Dav

APR-https failed (the server.xml is correct definitely)

2008-03-03 Thread Hanks Wang (hanwan)
Hi all, Anyone meets such issue before? Tomcat console shows: Mar 4, 2008 8:53:23 AM org.apache.coyote.http11.Http11AprProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Mar 4, 2008 8:53:23 AM org.apache.coyote.http11.Http11AprProtocol start INFO: Starting Coyote HTTP/1.1 on http-443

Re: mod_jk, lb cluster, multiple web servers

2008-03-03 Thread Rainer Jung
Tim Alberts schrieb: By cluster here we mean a farm (i.e. multiple nodes carrying the same apps) but not session replication? Well I use the setting for 'sticky_session' in the load balancer. As I understand, it doesn't 'replicate' sessions on multiple servers, but checks the request URL to se

RE: Request.getContextPath() after RequestDispatcher.forward()

2008-03-03 Thread Caldarale, Charles R
> On Mon, Mar 3, 2008 at 11:49 AM, ciAnd7 <[EMAIL PROTECTED]> wrote: > > No. I mean ' path="/" '. The real problem is refusal to do things the recommended way, which is to name your default webapp ROOT (case sensitive). If you'd simply done that, you wouldn't have to mess around trying to emula

Re: mod_jk, lb cluster, multiple web servers

2008-03-03 Thread Tim Alberts
Rainer Jung wrote: Hi Tim, Tim Alberts schrieb: I have 3 physical servers, all 3 running tomcat6 and the 2 web applications (one for local, one for www) just fine. Two of these have apache web servers (local and www), both configured and running static content by themselves just fine. Idea

Re: Tomcat and HugeTLB best practices for a 16GB machine

2008-03-03 Thread Rainer Jung
Google with java tlb gives an interesting first hit, a recent presentation from an Intel guy about joint Sun/Intel work: http://guermonprez.eu/paul/blog/public/images/voyage/sun_tech_days_2007/intel_java_sun_tech_days.pdf From what he writes, I guess he's mostly talking about Java 6. So don't

Re: mod_jk, lb cluster, multiple web servers

2008-03-03 Thread Rainer Jung
Hi Tim, Tim Alberts schrieb: I have 3 physical servers, all 3 running tomcat6 and the 2 web applications (one for local, one for www) just fine. Two of these have apache web servers (local and www), both configured and running static content by themselves just fine. Ideally, I want the 3 to

Re: Request.getContextPath() after RequestDispatcher.forward()

2008-03-03 Thread Hassan Schroeder
On Mon, Mar 3, 2008 at 11:49 AM, ciAnd7 <[EMAIL PROTECTED]> wrote: > No. I mean ' path="/" '. Then that's the problem -- it's wrong. The path of the default webapp is the empty string "". :-) -- Hassan Schroeder [EMAIL PROTECTED] -

Re: mod_jk ERR/FRC

2008-03-03 Thread Rainer Jung
Hi Tim, [EMAIL PROTECTED] schrieb: Setup: TC 4.1.18, IIS5, mod_jk 1.2.25, JDK 1.3.1, Windows 2000 1 LB pointing to 1 worker TC, same server as IIS. Because of 3rd party license issues, we're stuck with using 1 TC only. Usually the tomcat runs with ~ 280 threads, but soon after a bounce its gett

Re: Configuring DataSourceRealm using Oracle

2008-03-03 Thread Jason Ling
Thank you Mark for your clue! Jason On Mon, Mar 3, 2008 at 4:14 PM, Mark Thomas <[EMAIL PROTECTED]> wrote: > Jason Ling wrote: > > What is the the sub-element of for in the > > application's web.xml file, when and how is it used? Suppose I > configure > > more than one in server.xml, is tha

Re: Configuring DataSourceRealm using Oracle

2008-03-03 Thread Jason Ling
I got what you way: the and the are not the same thing and not related in the security configuration I am trying to learn. I will try to find time to do some reading on http to understand that realm. My next goal is a JNDIRealm (LDAP). Thank you very much for your kind help, David! Jason

Logging individual web applications

2008-03-03 Thread Neha Agrawal
Hello i have configured log4j for system logging in Tomcat5.5 .Als othe log is rotating.. Now iwant to configure my individual web-apps using log4j i have copied log4j.jar and common-logging.jar and the Date-File-appender.jar files in the web-apps lib directory and also created log4j.propert

Re: Configuring DataSourceRealm using Oracle

2008-03-03 Thread Mark Thomas
Jason Ling wrote: What is the the sub-element of for in the application's web.xml file, when and how is it used? Suppose I configure more than one in server.xml, is that the scenario where I need to use the tag to specify which Realm to use? In that case, what is the name for the realm?

Re: Configuring DataSourceRealm using Oracle

2008-03-03 Thread david delbecq
What is in the web.xml is not tomcat specific. The "realm" you see in web.xml is related to the notion of realm used by http protocol, that is a string showed to user when the login with http basic authentification, and which server for browser to seperate login in different "realms" for a same

Getting the URL of a DataSource

2008-03-03 Thread Katilie, John
All, this may be a dumb question but I've exhausted my research and just wondering what other users out there are doing. I would like to get the URL for a DataSource to display for debugging and/or Informational reasons. I know I can get the URL after I get the DataSource and get a connection from

Re: Configuring DataSourceRealm using Oracle

2008-03-03 Thread Jason Ling
Thank you, David. Now it works! I looked back into the documentation for DataSource, and then configured one in the server.xml file as a JNDI . It seems to me that the gets associated with the by jdbc/webappDB, and that tells tomcat server where to find the Oracle server. Nevertheless, I stil

mod_jk ERR/FRC

2008-03-03 Thread tim.fulcher
Hi I posted to the list our woes back around Christmas, today they seemed to get worse! Our site seems to have been pushed over today and fails to get back running smoothly after multiple restarts of Tomcat and the IIS in front of it. We are expecting a peak of traffic today, but nothing horrendo

Re: Configuring DataSourceRealm using Oracle

2008-03-03 Thread david delbecq
And, actually, you didn't do the part where you configure the datasource that your realm will use, information that is provided in the link i pointed you to. If you did actually configure the datasource (which is separate from the datasourcerealm), you wouldn't say I still wonder how Tomcat w

Re: Configuring DataSourceRealm using Oracle

2008-03-03 Thread Jason Ling
Thank you, David. Sorry, I sent this message two times, each time only the quoted message was sent, but not my reply. This is another try. Actually I did read the document you provided the link to. In that document (The Realm Component) the following attributes are listed for the DataSourceReal

Re: Configuring DataSourceRealm using Oracle

2008-03-03 Thread Jason Ling
On Mon, Mar 3, 2008 at 1:11 PM, David Delbecq <[EMAIL PROTECTED]> wrote: > Jason Ling a écrit : > > > > I changed the element in the server.xml file, and it became: > > > >> dataSourceName="jdbc/webappDB" > > driverName="oracle.jdbc.OracleDriver" > > connec

Re: Request.getContextPath() after RequestDispatcher.forward()

2008-03-03 Thread ciAnd7
Christopher Schultz-2 wrote: > > ciAnd7 wrote: > | > > Perhaps you meant: > > > > - -chris > > > No. I mean ' path="/" '. I try empty string putting in server.xml, and in app.war/META-INF/context.xml but without success: ROOT application from default host directory executed for '/' p

Re: Configuring DataSourceRealm using Oracle

2008-03-03 Thread Jason Ling
On Mon, Mar 3, 2008 at 1:11 PM, David Delbecq <[EMAIL PROTECTED]> wrote: > Jason Ling a écrit : > > > > I changed the element in the server.xml file, and it became: > > > >> dataSourceName="jdbc/webappDB" > > driverName="oracle.jdbc.OracleDriver" > > connec

Tomcat and HugeTLB best practices for a 16GB machine

2008-03-03 Thread Derek Fedel
Hi all, I was wondering if anyone has played around with Tomcat and HugeTLB support on anything similar to the following hardware/software setup: * 2x Dual Core Xeon * 16 GB Ram * ISCSI attached root disks (Gentoo Linux based) If so, does anyone have any recommendations on how to go about tuning

mod_jk, lb cluster, multiple web servers

2008-03-03 Thread Tim Alberts
I have 3 physical servers, all 3 running tomcat6 and the 2 web applications (one for local, one for www) just fine. Two of these have apache web servers (local and www), both configured and running static content by themselves just fine. Ideally, I want the 3 tomcat6 instances to be a lb clus

Re: Configuring DataSourceRealm using Oracle

2008-03-03 Thread David Delbecq
Jason Ling a écrit : I changed the element in the server.xml file, and it became: your are using the datasourcerealm with parameters from the jdbcrealm, those are two separate realms. For datasource realm, you need to define a datasource that matches the one specified in dataSou

Configuring DataSourceRealm using Oracle

2008-03-03 Thread Jason Ling
Hi, everybody: I was trying out the DataSourceRealm configuration by following the documentation included in the installation of Tomcat 5.5.23 on my machine but could not make it work. It would be very much appreciated if Tomcat gurus and veterans can spare some time reading my message and help m

RE: mod_jk or mod_proxy_ajp - encryption benefits?

2008-03-03 Thread James Ellis
Mark, Do you think that little hollow voice can clarify how IPSec would solve this problem by giving an example of a software that I could implement to accomplish this?Thanks,Jim > Date: Mon, 3 Mar 2008 12:03:28 -0500> From: [EMAIL PROTECTED]> To: > users@tomcat.apache.org> Subject: Re: mod

View Servlets and JSP Examples

2008-03-03 Thread Richard Dunne
I have tomcat 6 installed on my machine. My localhost variable is c:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ROOT When I type http://localhost, instead of getting the Tomcat Homepage "index", I get the "It Works" page. I am wondering why this page renders when there is only on

Re: Request.getContextPath() after RequestDispatcher.forward()

2008-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, ciAnd7 wrote: | Perhaps you meant: - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkfML38ACgkQ9CaO5/Lv0PCHoACeI3d+Ch7reoz

Re: mod_jk or mod_proxy_ajp - encryption benefits?

2008-03-03 Thread Mark H. Wood
A hollow voice whispers, "IPSec". -- Mark H. Wood, Lead System Programmer [EMAIL PROTECTED] Typically when a software vendor says that a product is "intuitive" he means the exact opposite. pgpXHb0gRtjuo.pgp Description: PGP signature

Request.getContextPath() after RequestDispatcher.forward()

2008-03-03 Thread ciAnd7
Hi! I am using tomcat 6.0.13 on linux. I try to deploy my application in to the root context. I.e. it should be available as root application on one of virtual host (http://vhost1/). So, I add into the server.xml (I know, it is not recommended to do it in server.xml, but it is simple and I just

RE: Compilation issue on solaris 10

2008-03-03 Thread Caldarale, Charles R
> From: Partha Goswami [mailto:[EMAIL PROTECTED] > Subject: Re: Compilation issue on solaris 10 > > You can install coolstack package. You can, but don't come here for help if you do. The first piece of advice given to anyone using any 3rd-party repackaged version of Tomcat is to throw it a

Re: Compilation issue on solaris 10

2008-03-03 Thread Martin Gainty
Ed I see yaml, mysql and BerkeleyDB distro's listed at http://www.blastwave.org/cronlist/index.html could you enumerate the benefits of using blastwave over the originator's distros? feel free to ping me offline.. Thanks M- - Original Message - From: "Edd" <[EMAIL PROTECTED]> To: "Tomcat

Re: Compilation issue on solaris 10

2008-03-03 Thread Partha Goswami
You can install coolstack package. On Mon, Mar 3, 2008 at 9:55 PM, Caldarale, Charles R < [EMAIL PROTECTED]> wrote: > > From: Edd [mailto:[EMAIL PROTECTED] > > Subject: Re: Compilation issue on solaris 10 > > > > My initial trail of thought was that I did not want to > > install blastwave a

RE: Compilation issue on solaris 10

2008-03-03 Thread Caldarale, Charles R
> From: Edd [mailto:[EMAIL PROTECTED] > Subject: Re: Compilation issue on solaris 10 > > My initial trail of thought was that I did not want to > install blastwave and all of the dependant packages. In fact, you probably never want to install Tomcat from a 3rd-party repackaging; they're notorio

Re: Compilation issue on solaris 10

2008-03-03 Thread Edd
On Mon, Mar 03, 2008 at 09:42:44AM -0600, Caldarale, Charles R wrote: > > From: Edd [mailto:[EMAIL PROTECTED] > > Subject: Compilation issue on solaris 10 > > > > I require a custom build from source this time. > > Why do you think that? Tomcat is pure Java (other than the APR bit, > which you

Re: Compilation issue on solaris 10

2008-03-03 Thread Partha Goswami
although JVM comes, with Solaris 10, you need, to set, JAVA_HOME , for that go to, open your, /etc/profiles files, ( as a root ), with any editor, then, add follwing, lines,there JAVA_HOME=/usr/java export JAVA_HOME and save, it, & log out & log in.. On Mon, Mar 3, 2008 at 9:12 PM, Caldarale, Ch

Re: Tomcat on Windows in India and Poland

2008-03-03 Thread Adam Gordon
Chris- Great, now you tell me - after I went through all the trouble of replying to his first (of three) posts, which all turned out to be on the same topic... :-) --adam Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, Peter Crowther wrote: |> From: Raghuv

Re: encoding - web.xml,struts struts-config.xml

2008-03-03 Thread Adam Gordon
Just a stab in the dark here since I don't know where Polish alphabet characters lie in the code charts, but you will probably want to use UTF-8 instead of ISO-8859. We've had plenty of issues with users cutting and pasting text from RTF applications (e.g. MS Word) into our web app's text area

RE: Compilation issue on solaris 10

2008-03-03 Thread Caldarale, Charles R
> From: Edd [mailto:[EMAIL PROTECTED] > Subject: Compilation issue on solaris 10 > > I require a custom build from source this time. Why do you think that? Tomcat is pure Java (other than the APR bit, which you don't need), so the binary distribution runs on any platform with a viable JVM. The

Compilation issue on solaris 10

2008-03-03 Thread Edd
Hi, I am completely new to tomcat, so excuse my st00pid questions. I have successfully installed tomcat using blastwave packages before, however I require a custom build from source this time. I have hit a problem. I downloaded a source tarball from the website (version 5.5.26) and initiated the

Re: post data lost when redirecting from http to https

2008-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, Peter Crowther wrote: |> From: Christopher Schultz [mailto:[EMAIL PROTECTED] |> |> Tomcat goes out of its way to save the POST body. Here's the code |> from FormAuthenticator | | [elided] | |> This method is called before the login form is sho

RE: post data lost when redirecting from http to https

2008-03-03 Thread Peter Crowther
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Peter Crowther wrote: > |> From: J. Zach [mailto:[EMAIL PROTECTED] > |> > |> When page2.jsp is secured in web.xml via security-constraint > |> - transport > |> confidential, the posted data from page1.jsp is lost on > |> submit (it's simply mi

Re: Realms and Remote Address

2008-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kerrin, Kerrin Hardy wrote: | And I thought I was just missing something obvious. :) | Using the code from CVS and changing my authentication code to | implement the FlexibleRealmInterface has worked. Excellent. | I hope there are no bugs in the

Re: post data lost when redirecting from http to https

2008-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, Peter Crowther wrote: |> From: J. Zach [mailto:[EMAIL PROTECTED] |> |> When page2.jsp is secured in web.xml via security-constraint |> - transport |> confidential, the posted data from page1.jsp is lost on |> submit (it's simply missing missin

Re: Realms and Remote Address

2008-03-03 Thread Kerrin Hardy
And I thought I was just missing something obvious. Using the code from CVS and changing my authentication code to implement the FlexibleRealmInterface has worked. I hope there are no bugs in the version of code I have. Thanks again. Kerrin >>> On 28/02/2008 at 20:12, in message <[EMAIL PR

Re: Tomcat on Windows in India and Poland

2008-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, Peter Crowther wrote: |> From: Raghuveer [mailto:[EMAIL PROTECTED] |> I have deployed a struts web application on Windows 2003 |> Server in Poland and India. |> |> Application needs to display Polish language coming from SAP. |> |> This is wor

Re: Encoding at server level - apache-tomcat-5.5.23\conf\web.xml

2008-03-03 Thread David Delbecq
First, that's the encoding used *only* for reading that specific xml file. All xml files have such processor directive. Second, ISO-8859-2 is not a standard java provided encoding. As such, you will most probably need to find third party libraries that provide that encoding to your jvm (see h

Encoding at server level - apache-tomcat-5.5.23\conf\web.xml

2008-03-03 Thread Raghuveer
I need to setup tomcat operating in central European region. All my Windows Systems Operate on "Polish" /PL language Default encoding Modified encoding Clarification 1 Does there will be any impact on my other applications if I change default encoding from "ISO-8859-1" to

RE: Tomcat on Windows in India and Poland

2008-03-03 Thread Peter Crowther
> From: Raghuveer [mailto:[EMAIL PROTECTED] > I have deployed a struts web application on Windows 2003 > Server in Poland and India. > > Application needs to display Polish language coming from SAP. > > This is working in India on Windows 2003 Servers. > > But Messages are coming Question marks fro

Tomcat on Windows in India and Poland

2008-03-03 Thread Raghuveer
I have deployed a struts web application on Windows 2003 Server in Poland and India. Application needs to display Polish language coming from SAP. This is working in India on Windows 2003 Servers. But Messages are coming Question marks from Similar Configuration Server(language is polish) in

encoding - web.xml,struts struts-config.xml

2008-03-03 Thread Raghuveer
I am working on i18n application that needs to be worked in English and Polish language. This application is working on Tomcat Servers on windows system In India, But getting Question Marks Polish language in Poland Windows System. Is there anything that needs to be handled in "web.xml"

Re: Can pl anybody help me with org.apache.jasper.JasperException: /jsp/ballmember/Test.jsp(5,34) equal symbol expected

2008-03-03 Thread Sameer Acharya
Open the jsp code in a programmers editor and check the syntax , specifically on the line number mentioned by the compiler. This looks like a syntax issue. -Sameer --- Sneha Manohar <[EMAIL PROTECTED]> wrote: > > org.apache.jasper.JasperException: > /jsp/ballmember/Test.jsp(5,34) equal symbol

Re: post data lost when redirecting from http to https

2008-03-03 Thread David Smith
I would add if you are serious about customer confidence in your site, the form should be encrypted on SSL in addition to the form's target. I for one would simply go somewhere else if I was asked to enter payment info and the form page wasn't encrypted. --David Peter Crowther wrote: From:

RE: post data lost when redirecting from http to https

2008-03-03 Thread Chad Lehman
Yeah, like Peter says. The original form is what should be under SSL, presumably. Chad > From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > Date: Mon, 3 Mar 2008 09:17:31 + > Subject: RE: post data lost when redirecting from http to https > > > From: J. Zach [mailto:[EMAIL PROTECTED]

RE: post data lost when redirecting from http to https

2008-03-03 Thread Peter Crowther
> From: J. Zach [mailto:[EMAIL PROTECTED] > I have an jsp page page1.jsp with a form > > ... > > When page2.jsp is secured in web.xml via security-constraint > - transport > confidential, the posted data from page1.jsp is lost on > submit (it's simply missing missing in the request). That's expect

post data lost when redirecting from http to https

2008-03-03 Thread J. Zach
Hi, I have an jsp page page1.jsp with a form ... When page2.jsp is secured in web.xml via security-constraint - transport confidential, the posted data from page1.jsp is lost on submit (it's simply missing missing in the request). Without the constraint everything works, when changing action to