Re: Configuring mod_jk, and the notion of "webapps"

2006-02-23 Thread Brad O'Hearne
Vanessa, Thanks for the resource. However, as I've been told, in-process/JNI is/will be deprecated and isn't recommended with Tomcat 5.5 and Apache 2.x, and it appears that this particular configuration is trying to do that. Perhaps I've heard wrong. But I guess the confusion underscores the

why use mod_jk?

2006-02-23 Thread Brad O'Hearne
After wasting time trying to configure mod_jk, I thought I'd just wipe my mind free and just play dumb for a moment. If Apache can proxy requests using mod_proxy, what is the benefit of using mod_jk as an integration technique between httpd and tomcat, if integration is *not* in-process, which

Tomcat documentation

2006-02-23 Thread Brad O'Hearne
Suppose I wanted to completely rewrite (or write) 100% of the Tomcat documentation. Other than reading source code, are there any other resources (design docs, diagrams, etc.) available to use as reference or is this information just held inside the heads of developers? Brad -

RE: Java Question

2006-02-23 Thread Ramin Farhanian
http://cruisecontrol.sourceforge.net/ --- Andrew English <[EMAIL PROTECTED]> wrote: > Is there anyway to check this theory? > > Andrew > > -Original Message- > From: Peter Crowther > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 22, 2006 11:22 AM > To: Tomcat Users List > Subj

The bottomless pit of mod_jk

2006-02-23 Thread Brad O'Hearne
Pardon any show of frustration here, but I wanted to know if there is any real definitive reference on configuring mod_jk. I've burned 3 full days Googling, endless configuration file editing, tailing logs, etc., and there just seems to be problem after problem. I've worked off of several appar

2 sessions different instead of one wished !!!

2006-02-23 Thread Vincent Delhommois
Hello, I use JAAS and filter (security-filter) of Tomcat with the j_security_check. So here is the context : - the user try to access to the ActionServlet?action=welcome As the user is not authenticates, it loads the login.jsp page : - login.jsp submit the username and password through the j_secur

Need help with click streams

2006-02-23 Thread S, Ashwath
Hi, I need to extract the click Stream logs from tomcat. Is this possible?? I would like to know who's clicked what, when and how many times. I need these stats for analytic purposes... Regards, Ashwath S - To unsubscribe,

Re: context path ignored in Context.xml

2006-02-23 Thread Sathish Sathyan
Hi Robert, To counter such a problem, try giving the absolute path in the 'appBase' parameter of the HostName tag in server.xml. My server.xml is something like this: After making these changes, the error didn't appear for me. Thanks, Sathish On Thu, 2006-02

Re: exception in tomcat log

2006-02-23 Thread Bill Barker
Upgrade to 5.5.15, where the message has been down-graded to DEBUG level, so you won't normally see it. "James Taylor" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi there, I've just recently got Apache2 and tomcat-5.5.12 working on a solaris10 machine using mod_jk but I see this

Re: Detect expired server certificate

2006-02-23 Thread Bill Barker
"Jihwan Kim" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >Thanks Bill, > >1. My client doesn't throw an exception if the client and server's cert is >identical and both are expired. If only one of them is expired, it thorws >exception. I want to detect the expired situation even

Re: mod_jk on Apache 2.2.x

2006-02-23 Thread Bill Barker
"JupiterHost.Net" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > Sorry for the newbie post but I'm finding conflicting data (or no data ;p) > about this (I'm trying to RTFM and STFW but swimming in a sea of > cluelessness) > > a) Will mod_jk work on Apache 2.2.x ? > I

Re: configuring tomcat 5.5.9+ connector socket factory

2006-02-23 Thread Bill Barker
"Xavier Toth" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I'm trying to provide a socket factory class that overrides the >getKeystorePass method but I can't figure out how to hook it in. What >attribute or subelement (is the Factory element supported in 5.5.x?) do I No, the Fac

Re: Tomcat 4 - Disable low level cipher

2006-02-23 Thread Bill Barker
"Mark Thomas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Chad Joubert wrote: >> I have tried >> several different string combinations using commas and collon dilimiters >> in >> the server.xml file (ciphers=3D"* >> ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM*") but

Re: 5.5.x Connector no className attribute?

2006-02-23 Thread Bill Barker
Yup. You can no longer overload the Connector. In any case, it would be difficult to try (since the core code now knows about the Connector), and there really isn't much of a use-case for it (since the Connector is just there as a bridge between the core Catalina code and the ProtocolHandler,

RE: mod_rewrite losing session

2006-02-23 Thread Tim Lucia
Yes. I posted a similar question not long ago. I wanted to know how to preserve the session under exactly this case (my specific need was to have a version in the Tomcat path, but hide that context / version from the user.) I can tell you why it's NOT preserving it. Tomcat sets the cookie JSESS

Re: Re: Tomcat5.5 init script on FC4 revisited

2006-02-23 Thread Warren Pace
> > From: Warren Pace <[EMAIL PROTECTED]> > Date: 2006/02/23 Thu PM 06:43:49 EST > To: "Tomcat Users List" > Subject: Re: Tomcat5.5 init script on FC4 revisited > > > > > > From: Bob Hartung <[EMAIL PROTECTED]> > > Date: 2006/02/22 Wed PM 05:35:05 EST > > To: TomcatUsers > > Subject: Tomcat5

mod_rewrite losing session

2006-02-23 Thread Pete Lamborne
Hi all, I am having a problem when using mod_rewrite to hide the Tomcat webapp/context name, where it spawns a new session with each request. I am using apache2.2 and mod_proxy_ajp to dispatch the request and tomcat 5.5.9 So if I try to send this URL: http://www.website.com/someServlet to

Re: Tomcat5.5 init script on FC4 revisited

2006-02-23 Thread Warren Pace
> > From: Bob Hartung <[EMAIL PROTECTED]> > Date: 2006/02/22 Wed PM 05:35:05 EST > To: TomcatUsers > Subject: Tomcat5.5 init script on FC4 revisited > > Hi all, >I have modified a file from Warren Pace. After running, I can ps ax > | grep jsvc and have two pids but trying to http://localh

Re: Tomcat native library not found on startup.sh - Solaris

2006-02-23 Thread Mladen Turk
Caldarale, Charles R wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat native library not found on startup.sh - Solaris Can you tell me where the Native Tomcat Library is in the Tomcat installation. For UNIX/Linux and 64-bit Windows, you have to build it fro

RE: Tomcat native library not found on startup.sh - Solaris

2006-02-23 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat native library not found on startup.sh - Solaris > > Can you tell me where the Native Tomcat Library is in > the Tomcat installation. For UNIX/Linux and 64-bit Windows, you have to build it from what's in bin/tomc

5.5.x Connector no className attribute?

2006-02-23 Thread Xavier Toth
I don't see className as an attribute can connector behavior no longer be overloaded?

Re: Tomcat native library not found on startup.sh - Solaris

2006-02-23 Thread Zorro3692
Hi, Can you tell me where the Native Tomcat Library is in the Tomcat installation. Then do I have to set the classpath to it? Thanks in anticipation. Regards, Jimmy Bill, That did it!!! THANK YOU. I added '/usr/local/ssl' to the LD_LIBRARY_PATH and all is well. Regards, Joh

Re: Tomcat 4 - Disable low level cipher

2006-02-23 Thread Mark Thomas
Chad Joubert wrote: > I have tried > several different string combinations using commas and collon dilimiters in > the server.xml file (ciphers=3D"* > ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM*") but nothing seem= > s > to be working. I have searched and found a couple other people a

Tomcat 4 - Disable low level cipher

2006-02-23 Thread Chad Joubert
Hello, I am working at a site and trying to disable the support for low encryption ciphers, while still maintaining Medium and High encryption. This is for a stand-alone Tomcat 4.1. I do not want to change to Tomcat 5. I have tried several different string combinations using commas and collon d

Access permission exceptions when calling RMI from within Tomcat servlet.

2006-02-23 Thread Johnny Tolliver
I have a simple RMI server that I need a Tomcat servlet to access. A very simple command-line app accesses the RMI server just fine with the following code: registry = LocateRegistry.getRegistry (host); xxx = (XXX) registry.lookup (name); But when I move the same code into my servlet I get stran

Re: mod_jk PUT request-method returns 405 Error

2006-02-23 Thread Mladen Turk
Jack J. Coleman wrote: I do not have any Location directives and I am not using auto aliasing. My httpd.conf has a simple VirtualHost directive. Even so, I tried moving the JSP outside of the WEB-INF, but still no luck. The request doesn't seem to be getting to mod_jk at all. In the Apache ac

Re: JSP Compiler error Windows XP Tomcat 5.5.9

2006-02-23 Thread Eric Lee
I get the same thing. I posted a bug about it: http://issues.apache.org/bugzilla/show_bug.cgi?id=38713 No responses so far. On 2/23/06, Paul Sideleau <[EMAIL PROTECTED]> wrote: > I am getting the following JSP compiler error when > running tomcat 5.5.9 with JDK 1.5_05 on Windows XP > Professional

Re: mod_jk PUT request-method returns 405 Error

2006-02-23 Thread Jack J. Coleman
I do not have any Location directives and I am not using auto aliasing. My httpd.conf has a simple VirtualHost directive. Even so, I tried moving the JSP outside of the WEB-INF, but still no luck. The request doesn't seem to be getting to mod_jk at all. In the Apache access_log I can see the 4

Re: where can I find server.xml documentation?

2006-02-23 Thread Mark Thomas
Caldarale, Charles R wrote: > It's here: > http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html > > Near the bottom, in the Troubleshooting section. Thanks. Just fixed it. Will be in next release. Note that except in extreme circumstances (eg security bug) the docs on the website are only updat

RE: where can I find server.xml documentation?

2006-02-23 Thread Caldarale, Charles R
> From: Mark Thomas [mailto:[EMAIL PROTECTED] > Subject: Re: where can I find server.xml documentation? > > Can you provide a URL that references the Factory element. I couldn't > find one when I looked at the 5.5. docs. It's here: http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html Near the

Re: where can I find server.xml documentation?

2006-02-23 Thread Mark Thomas
Xavier Toth wrote: > Unfortunately this documentation seems to be out of date as it makes > reference to the element as a way to specify a keystore password > but I don't think this is valid in 5.5.x. Can you provide a URL that references the Factory element. I couldn't find one when I looked at

RE: where can I find server.xml documentation?

2006-02-23 Thread Caldarale, Charles R
> From: Xavier Toth [mailto:[EMAIL PROTECTED] > Subject: Re: where can I find server.xml documentation? > > Unfortunately this documentation seems to be out of date as it makes > reference to the element as a way to specify a keystore > password but I don't think this is valid in 5.5.x. The doc

java.lang.InstantiationException: demo.TimeSeriesDemo8 -Solaris

2006-02-23 Thread johngbud
Tomcat Users: I'm having trouble connecting to app TimeSeriesDemo8 (JFreechart 1.0.1). Tomcat 5.5.15 is executing ok on my Solaris machine. Receiving this error message: "java.lang.InstantiationException: demo.TimeSeriesDemo8". Can anyone help me get over this last hurdle? I'm fairly new to

JSP Compiler error Windows XP Tomcat 5.5.9

2006-02-23 Thread Paul Sideleau
I am getting the following JSP compiler error when running tomcat 5.5.9 with JDK 1.5_05 on Windows XP Professional Service Pack 1: java.io.IOException: tmpFile.renameTo(classFile) failed at org.apache.jasper.compiler.SmapUtil$SDEInstaller.install(SmapUtil.java:245) at org.apache.ja

Re: where can I find server.xml documentation?

2006-02-23 Thread Xavier Toth
Unfortunately this documentation seems to be out of date as it makes reference to the element as a way to specify a keystore password but I don't think this is valid in 5.5.x. On 2/23/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > From: Brad O'Hearne [mailto:[EMAIL PROTECTED] > > Subje

Re: Tomcat native library not found on startup.sh - Solaris

2006-02-23 Thread johngbud
Bill, That did it!!! THANK YOU. I added '/usr/local/ssl' to the LD_LIBRARY_PATH and all is well. Regards, John Bill Barker wrote: "johngbud" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Tomcat users: I installed APR and Tomcat native library and placed in LD_LIBRARY_

Re: mod_jk PUT request-method returns 405 Error

2006-02-23 Thread Mladen Turk
Jack J. Coleman wrote: Apache. Then you must have some config value that forbids PUTs. See if you have some Location directive that contains a path prefix of JkMount. Also try to put your .jsp files outside WEB-INF. mod_jk explicitly denies the access to WEB-INF and META-INF locations (if you

Re: mod_jk PUT request-method returns 405 Error

2006-02-23 Thread Jack J. Coleman
Apache. BTW, is 405 issued by Apache or Tomcat? Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -

Re: mod_jk PUT request-method returns 405 Error

2006-02-23 Thread Mladen Turk
Jack J. Coleman wrote: Thanks for the response Mladen. My config file has the following: JKMount /accounts/account/* wrkr Well, that's certainly a better solution. BTW, is 405 issued by Apache or Tomcat? Regards, Mladen. -

RE: first jdbc tomcat application

2006-02-23 Thread Wang, Hansen
If you are using tomcat5, do not use ResourceParams. Instead, define those params as attribute of , as this: -Original Message- From: David McMinn [mailto:[EMAIL PROTECTED] Sent: Thursday, February 23, 2006 9:20 AM To: users@tomcat.apache.org Subject: first jdbc tomcat application I'

Re: mod_jk PUT request-method returns 405 Error

2006-02-23 Thread Jack J. Coleman
Thanks for the response Mladen. My config file has the following: JKMount /accounts/account/* wrkr Where "/accounts/account/*" is setup as a sevlet mapping to a JSP in WEB-INF/jsp If the documentRoot in Apache doesn't allow the PUT method, what about other paths? I know you can set up a

Re: mod_jk PUT request-method returns 405 Error

2006-02-23 Thread Mladen Turk
Jack J. Coleman wrote: Any help would be appreciated. It's hard to tell without your config files but I bet you've done something like: JkMount /* worker Since by default the DocumentRoot in Apache does not allow PUT methods, you are receiving 405. Regards, Mladen.

Re: Configuring mod_jk, and the notion of "webapps"

2006-02-23 Thread Vanessa Campos
Brad, I found a good how-to that helped me put mod_jk to work. www.howtoforge.com/apache2_tomcat5_mod_jk It's very simple, and it works. --- Brad O'Hearne <[EMAIL PROTECTED]> escreveu: > I have been having trouble getting mod_jk to work. After having > Googled > and read various information on

Re: How to configure my Realm class from context.xml?

2006-02-23 Thread Jon Wingfield
Erm. Ok. My Realm extends RealmBase so I don't need to worry about such things. But, I guess in the Filter you could cast the request to an o.a.catalina.HttpRequest and then call getContext() on it. http://tomcat.apache.org/tomcat-5.0-doc/catalina/docs/api/index.html Jon PS I've never done th

mod_jk problems

2006-02-23 Thread Vanessa Campos
Hi, everybody. I configured Apache, Tomcat and mod_jk. It was working fine, but suddenly it stopped. The mod_jk.log shows this message: [Thu Feb 23 11:52:28 2006] [jk_uri_worker_map.c (445)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu Feb 23 11:52:28 2006] [jk_uri_worker_map.c (459)]: Att

Re: Configuring mod_jk, and the notion of "webapps"

2006-02-23 Thread Mladen Turk
Brad O'Hearne wrote: I have been having trouble getting mod_jk to work. After having Googled and read various information on configuring mod_jk (that's the first problem -- we need good documentation without having to Google), I settled on this link which is a pretty good HOWTO: I agree wit

RE: where can I find server.xml documentation?

2006-02-23 Thread Caldarale, Charles R
> From: Brad O'Hearne [mailto:[EMAIL PROTECTED] > Subject: where can I find server.xml documentation? > > Where can I find comprehensive documentation on the contents of the > server.xml file? There's a fair amount within the file itself. Also look here: http://tomcat.apache.org/tomcat-5.5-doc

where can I find server.xml documentation?

2006-02-23 Thread Brad O'Hearne
Where can I find comprehensive documentation on the contents of the server.xml file? Brad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

mod_jk PUT request-method returns 405 Error

2006-02-23 Thread Jack J. Coleman
I was using Tomcat standalone and I could send files to the server with the PUT request-method with no problems (in a REST Web Service). Now that I have Apache hooked into Tomcat with mod_jk, the PUT request gives me a 405 error (method not allowed). Does anyone know how to set this up so that

RE: context.xml: ClassNotFoundException

2006-02-23 Thread Caldarale, Charles R
> From: Tremal Naik [mailto:[EMAIL PROTECTED] > Subject: context.xml: ClassNotFoundException > > The file is in the folder > CiccioPasticcio.war\META-INF\context.xml Can you verify that the following does not exist: conf\Catalina\[hostname]\CiccioPasticcio.xml where [hostname] is usually localh

exception in tomcat log

2006-02-23 Thread James Taylor
Hi there, I've just recently got Apache2 and tomcat-5.5.12 working on a solaris10 machine using mod_jk but I see this exception in the tomcat logs, can someone please tell me what it's about? Thanks, James. INFO: Server startup in 10481 ms Feb 23, 2006 5:21:03 PM org.apache.coyote.http11.Http11Bas

Re: mod_jk config error

2006-02-23 Thread James Taylor
Sorry Mladen, I thought I had done as you advised. I've reconfigured and remade it and have it working. Thanks for your help with this. Regards, James. On 2/23/06, Mladen Turk <[EMAIL PROTECTED]> wrote: > James Taylor wrote: > > Hi there, > > I'm trying to config mod_jk 1.2.15 with tomcat 5.5.12 a

Configuring mod_jk, and the notion of "webapps"

2006-02-23 Thread Brad O'Hearne
I have been having trouble getting mod_jk to work. After having Googled and read various information on configuring mod_jk (that's the first problem -- we need good documentation without having to Google), I settled on this link which is a pretty good HOWTO: http://www.meritonlinesystems.com/d

mod_jk on Apache 2.2.x

2006-02-23 Thread JupiterHost.Net
Hello, Sorry for the newbie post but I'm finding conflicting data (or no data ;p) about this (I'm trying to RTFM and STFW but swimming in a sea of cluelessness) a) Will mod_jk work on Apache 2.2.x ? b) Where is 2.2.x support/installation into apache (as DSO or static) documented specificall

RE: How to configure my Realm class from context.xml?

2006-02-23 Thread Zsolt
Thank you Jon, That's what I'm also trying but I always get a NPE because JNDIRealm.containerLog is null. Do you know how I can figure out the Container from for example a Filter? In the case I could call realm.setContainer(container) no NPE would happen. Zsolt >-Original Message- >Fr

context.xml: ClassNotFoundException

2006-02-23 Thread Tremal Naik
Hello, I have a problem with Tomcat 5.5 I created a file CiccioPasticcio.war with my application. I have to filter user requests using Tomcat Valves, so I wrote a context.xml file with the following The file is in the folder CiccioPasticcio.war\META-INF\context.xml The Valve classes

Re: How to configure a separate security realm for an web application (Tomcat 5.5)

2006-02-23 Thread Crompton, SY \(Shirley\)
Hi I want to use JNDIRealm to authentice users for one of my JSP application. When the Realm was defined in the server.xml, it works for all applications. When I moved the Realm configuration to the myweb/WEB-INF/context.xml, and restarted the application. I also reloaded the application usi

Tomcat Virtual Directory

2006-02-23 Thread Jason Abreu
I wrote a search application that returns database records, and based upon the key field in database, retrieve a picture from a separate picture repository on the server. My question is how can i set up my webapp to access my repository? Info: IDE- Netbeans 4.1 version- Tomcat 5.5

RE: Need advice on Java Servlet & IIS/Win 2003

2006-02-23 Thread Tim Lucia
This works fine. Two companies I've worked at recently used W2K3 + IIS6 + JK 1.2.15 + Tomcat 5.5.12. Basically, you need to install the JK isapi_redirector in IIS, so that it will redirect the appropriate URLs to Tomcat for service, and then install the servlet(s)/JSP(s) on that Tomcat to answer

configuring tomcat 5.5.9+ connector socket factory

2006-02-23 Thread Xavier Toth
I'm trying to provide a socket factory class that overrides the getKeystorePass method but I can't figure out how to hook it in. What attribute or subelement (is the Factory element supported in 5.5.x?) do I configure with my class name to get this to work? I've looked at the 5.5.15source code and

first jdbc tomcat application

2006-02-23 Thread David McMinn
I'm stepping through the example Professional Apache Tomcat 5 book by Wrox in Chapter 14 - I have set up the mysql database and confirmed it works and set up the tomcat server and confirmed that I can see my index.jsp page. When I try to go to http://localhost:8070/jsp-examples/wroxjdbc/JDBCTest

Need advice on Java Servlet & IIS/Win 2003

2006-02-23 Thread Bill
Hi, I have a customer that needs a Java servlet included into their web site. I've never had to do this before so I thought I should ask you experienced people. Their web server is a Windows 2003 server with IIS and Frontpage extensions. Could I install TomCat to accomplish this purpose? I

Re: How to configure my Realm class from context.xml?

2006-02-23 Thread Jon Wingfield
Your Realm implementation needs to sit in the server classloader as the Realm interface is only defined there (in catalina.jar). This is a PITA so when we did this we made the Realm implementation just lookup the real implementation via JNDI. That way all the authentication logic stayed in the

Time out with AJP13

2006-02-23 Thread Serlet Jean-Claude
Hello My environment : OS= Windows 2000 Web Server = Apache 2.0 Tomcat-Apache = 1.4.31 with AJP 13 connector Application uses JSP, Servlet and Driver JDBC Thin of Oracle RDBMS = Oracle 7.3.62 under z/OS (mainframe IBM) The application

Re: Detect expired server certificate

2006-02-23 Thread Jihwan Kim
BTW, we use the Apache Axis to make a connection between our client and server. On 2/23/06, Jihwan Kim <[EMAIL PROTECTED]> wrote: > > Thanks Bill, > > 1. My client doesn't throw an exception if the client and server's cert > is identical and both are expired. If only one of them is expired, it th

How to configure my Realm class from context.xml?

2006-02-23 Thread Zsolt
Does anybody know how to configure I always get a ClassNotFoundException but the class does exist (under ../WEB-INF. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Detect expired server certificate

2006-02-23 Thread Jihwan Kim
Thanks Bill, 1. My client doesn't throw an exception if the client and server's cert is identical and both are expired. If only one of them is expired, it thorws exception. I want to detect the expired situation even if both side are expired. 2. WebLogic detects expired cert. So, it means JSSE

Re: context path ignored in Context.xml

2006-02-23 Thread Robert Taylor
Markus, Thanks for replying. I saw that line as well: "The value of this field must not be set except when statically defining a Context in server.xml, as it will be infered from the filenames used for either the .xml context file or the docBase." As the current 5.5 documentation states that

Custom TrustManager issue

2006-02-23 Thread Rakesh Vidyadharan
Hello, I am trying to build a very simple webmail client that accesses my IMAPS server (self signed). I downloaded the sample code presented in http://www.javaworld.com/javatips/jw-javatip115.html and got it working from the command line. However, when I tried to implement the same code

RE: Reading Data Form MS -execel 2003- in java

2006-02-23 Thread David Thielen
One note on POI. It is a good product and works but it is also abandon-ware - there has been no new development on it for years. Thanks - dave David Thielen www.windwardreports.com 303-499-2544 -Original Message- From: Vincent [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 20

Re: Multiple Tomcat 5.5 on Windows 2003

2006-02-23 Thread Mladen Turk
Dave Weitzel wrote: Hi, I need to run multiple Tomcat 5.5 instances on Windows 2003 behind IIS. Any assistance welcome Since you have downloaded a zip file, I would suggest that you create a N folders inside C:\Tomcat So, you'll have C:\Tomcat\1 C:\Tomcat\2 ... C:\Tomcat\N Then open a c

Multiple Tomcat 5.5 on Windows 2003

2006-02-23 Thread Dave Weitzel
Hi, I need to run multiple Tomcat 5.5 instances on Windows 2003 behind IIS. Each instance will be supporting different clients with applications that are not able to be restarted using the tomcat 5.5 manager/admin tools. I have managed to get isapi.redirect to work for the different IIS sites b

Re: context path ignored in Context.xml

2006-02-23 Thread Markus Schönhaber
Robert Taylor wrote: > Greetings, > > I'm using Tomcat 5.5.15 on Win2k in development. > I start Tomcat through a target in my Ant build and pass it a server.xml > file. > > My web app is deployed to a directory named "webapp" (the docbase) and > contains a /META-INF/context.xml file which has a co

context path ignored in Context.xml

2006-02-23 Thread Robert Taylor
Greetings, I'm using Tomcat 5.5.15 on Win2k in development. I start Tomcat through a target in my Ant build and pass it a server.xml file. My web app is deployed to a directory named "webapp" (the docbase) and contains a /META-INF/context.xml file which has a context path, "/test". When I s

Re: java.lang.IllegalStateException: removeAttribute: Session already invalidated

2006-02-23 Thread Alex David Shadrach Hooper
Pulled from Alex David Shadrach Hooper's mail (Thu, Feb 23, 2006 at 12:57:09PM +): > Pulled from Alex David Shadrach Hooper's mail (Mon, Feb 20, 2006 at > 11:24:32PM +): > > Pulled from Caldarale, Charles R's mail (Mon, Feb 20, 2006 at 11:11:34AM > > -0600): > > > > From: Alex David Shad

Re: Changing content of response on canceled basic authentication

2006-02-23 Thread David Delbecq
put your response.setHeader("WWW-Authenticate","Basic realm=\"MySystem\""); insode your error page instead of authentification servlet. (I guess sendError() clear all headers) Oliver Schoenwald a écrit : > Hello fellow tomcat users, > > I'm running Tomcat 5.5.4 with Apache 2.0.54 and mod_jk. >

Re: java.lang.IllegalStateException: removeAttribute: Session already invalidated

2006-02-23 Thread Alex David Shadrach Hooper
Pulled from Alex David Shadrach Hooper's mail (Mon, Feb 20, 2006 at 11:24:32PM +): > Pulled from Caldarale, Charles R's mail (Mon, Feb 20, 2006 at 11:11:34AM > -0600): > > > From: Alex David Shadrach Hooper [mailto:[EMAIL PROTECTED] > > > Subject: java.lang.IllegalStateException: removeAttri

Re: mod_jk config error

2006-02-23 Thread Mladen Turk
James Taylor wrote: Hi there, I'm trying to config mod_jk 1.2.15 with tomcat 5.5.12 and apache2 in my account on a solaris10 machine and I get the following error when I run ~/sw/apache2.0/bin/apachectl start Syntax error on line 1038 of /home/rmorrin/James/Java/DownloadedSoftware/apache2.0/con

Changing content of response on canceled basic authentication

2006-02-23 Thread Oliver Schoenwald
Hello fellow tomcat users, I'm running Tomcat 5.5.4 with Apache 2.0.54 and mod_jk. The system uses basic authentication to serve certain pages for authenticated users. One of my users said that if he enters my system and is being asked to authenticate via that popup-windows, he sometimes hits th

Re: Installation file

2006-02-23 Thread Giorgio Clavelli
My 2 cents If there is zip file, it is likely to be as in successive versions. It is pretty simple either launching it as service or manually by its batch files. I started with version 4 and it didn't changed till 5.5, from this point of view. On 2/23/06, Ludvig Lindström <[EMAIL PROTECTED]> wrote

mod_jk config error

2006-02-23 Thread James Taylor
Hi there, I'm trying to config mod_jk 1.2.15 with tomcat 5.5.12 and apache2 in my account on a solaris10 machine and I get the following error when I run >~/sw/apache2.0/bin/apachectl start Syntax error on line 1038 of /home/rmorrin/James/Java/DownloadedSoftware/apache2.0/conf/httpd.conf: Cannot lo

Re: Redirect username and password from http basic authentication to a serlvet as parameters

2006-02-23 Thread David Smith
In your webapp, there is no "authenticated session" -- at least from the perspective of tomcat there isn't. Since you are managing the authentication directly, all you need to do is send another unauthorized response when the username/password aren't correct: response.setStatus( HttpServletRe

Removing an authenticated session

2006-02-23 Thread Johan Haleby
Hi! I have a filter that passes the username and password entered in the basic http authentication pop up dialog to a login.jsp which redirects to a servlet that does the actuall authentication. Since my authentication takes place somewhere else, I would like the basic http authentication pop up w

Re: Redirect username and password from http basic authentication to a serlvet as parameters

2006-02-23 Thread Johan Haleby
Thanks David! I got things working now exactly the way I wanted! But I still have another question if you're up for it. Since my authentication takes place somewhere else, I would like the basic http authentication pop up window to be displayed again if the authentication fails. I.e. the servlet t

RE: Java Question

2006-02-23 Thread Peter Crowther
> From: Andrew English [mailto:[EMAIL PROTECTED] > Is there anyway to check this theory? > -Original Message- > From: Peter Crowther [mailto:[EMAIL PROTECTED] [...] > I suspect an operations issue. Has someone configured a revision > control system (such as CVS or Subversion) on the prod

Re: JAAS : HTTP 400 Invalid direct reference to form login ... (JAAS + Filter + j_security_check)

2006-02-23 Thread David Delbecq
The most basic way i see is to have a class with 3 static methods and one static field:: setMessage(), getMessage(), clearMessage() private static ThreadLocal message = new ThreadLocal; ... message.set(theMessage); ... return (String)message.get(); your jaas would do a setMessage() and your error

Re: JAAS : HTTP 400 Invalid direct reference to form login ... (JAAS + Filter + j_security_check)

2006-02-23 Thread David Delbecq
Login module should return false if not authenticated. If you need to store messages for the user, i'll suggest you pass them another way (like by using a ThreadLocal pattern) Vincent Delhommois a écrit : >Hello, I implements a solution with JAAS and userfilter on Tomcat. >the loginmodule return

Re: JAAS : HTTP 400  Invalid direct reference to form login ... (JAAS + Filter + j_security_check)

2006-02-23 Thread Vincent Delhommois
Thanks for the answer. You are right, I will check this solution with the ThreadLocal pattern (i don't know at all). I used the filter and the loginModule returns always 'true' beacuse it's not easy to pass some messages 'wrong password', 'validity perdio expired', etc... to the login.jsp in

JAAS : HTTP 400 Invalid direct reference to form login ... (JAAS + Filter + j_security_check)

2006-02-23 Thread Vincent Delhommois
Hello, I implements a solution with JAAS and userfilter on Tomcat. the loginmodule return always 'true' eventhough the password is wrong. I do that to be able to return detail error messages to the login.jsp. (I use the role principal to display messages). The filter is used to dispatch to the

Re: Installation file

2006-02-23 Thread Ludvig Lindstr
Because version 5.5 doesn´t support SOAP version 1.1 that I use in Siebel 6.3... Regards, Ludvig From: "PKarthick" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: "Tomcat Users List" Subject: Re: Installation file Date: Thu, 23 Feb 2006 13:34:34 +0530 Hi Ludvig, May I know why did

Re: Installation file

2006-02-23 Thread PKarthick
Hi Ludvig, May I know why did u choose tomcat version 3.3.2 while the latest version 5.5 is available? Regards Kary Systems Engineer PTG - Original Message - From: "Ludvig Lindström" <[EMAIL PROTECTED]> To: Sent: Thursday, February 23, 2006 1:28 PM Subject: Installation file How do