Struts 1.1, Tomcat and Eclipse - A problem working all together

2007-08-13 Thread Tal Yaari
Hey, I hope i've reached the right forum, if not, please let me know... I am using Eclispe 3.2.2 and Tomcat 5.0.28. In addition I am using Struts 1.1. I have a project in Eclipse, which I want to run on Tomcat using Tomcat plugin (com.sysdeo.eclipse.tomcat_3.0.0.alpha1). I set the project

Thawte SSL certificates

2007-08-13 Thread Lyallex
Hi I was wondering if anyone has managed to get the Thawte SSL test certificate working with Tomcat 5.5. I have created a CSR and submitted it to Thawte. I got a test certificate back I have installed the Thawte Root(chain) certificate and tried to install the test certificate I got a Certificat

Problem with Apache/Tomcat/WebDAV/Alfresco

2007-08-13 Thread Frank Gerlach
Hello folks, we have a problem with the following setup: Web Browser ->Apache(mod_jk)->Tomcat->Alfresco Explanation: we would like to access the Alfresco content management system (running in Tomcat) using WebDAV and SSL. It works, if we expose Tomcat directly to the network. For security reas

RE: RHEL and Tomcat startup/shutdown scripts

2007-08-13 Thread Andrew R Feller
Thanks for the reply Ben! Unfortunately due to needing Java 1.5+ (current distro gcj is Java 1.4.2 equivalent) for CAS (http://www.ja-sig.org/products/cas/) and Tomcat 6 (unicast member discovery via static members), I am unable to reply upon Redhat's Tomcat 5.5 package. As such, I have to use th

Re: Problem with Apache/Tomcat/WebDAV/Alfresco

2007-08-13 Thread Rainer Jung
Hello Frank, there has been a mod_jk release published for very few days, namely 1.2.24, which was broken w.r.t. WWW-Authenticate. Although it's not very likely, that you use this one, it's my first question. If you really use 1.2.24, switch to 1.2.25 and the problem should be gone. Otherwis

How to run JSF 1.2 with tomcat 5.5.9

2007-08-13 Thread Peter Neu
Hello, has anyone managed to get JSF 1.2 to run on tomcat 5.5.9? It seems that I can't find the right libraries to make it happen. I can't find com.sun.el.ExpressionFactoryImpl for instance. Normally I would just upgrade to tomcat 6 but I can't just switch the production server. Cheers, Pete

Re: Thawte SSL certificates

2007-08-13 Thread Hassan Schroeder
On 8/13/07, Lyallex <[EMAIL PROTECTED]> wrote: > I was wondering if anyone has managed to get the Thawte SSL test > certificate working with Tomcat 5.5. > > I have created a CSR and submitted it to Thawte. I got a test certificate back ? I'm not sure what "test" certificate you're referring to, b

Re: Thawte SSL certificates

2007-08-13 Thread Vamsavardhana Reddy
Can you send me the certificate(s) you received from the Thawte CA? May be I can help. You should be comfortable sending it as there is nothing secret about Certificates. It is only your private-key that should not be transmitted. Vamsi On 8/13/07, Lyallex <[EMAIL PROTECTED]> wrote: > > Hi >

V 4.01 for solaris x86

2007-08-13 Thread Tim.OShea
Is it possible to get hold of binaries for Tomcat 4.0 (> 4.04) for Solaris x86? I need this for a fairly urgent installation, and am aware that there are incompatibilities with third party applets we are using and Tomcat versions older than this. Thanks. Tim O'Shea Technical Manager - Mana

RE: V 4.01 for solaris x86

2007-08-13 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: V 4.01 for solaris x86 > > Is it possible to get hold of binaries for Tomcat 4.0 (> 4.04) for > Solaris x86? Tomcat is pure Java, so there are no platform-specific binaries. Look here for the 4.0 versions: http://archive.apache.org/

RE: V 4.01 for solaris x86

2007-08-13 Thread Tim.OShea
Thanks, There is a binary download for sparc here, but not x86. Tim O'Shea Technical Manager - Managed Services TietoEnator Banking & Insurance (UK) Direct +44 1582 845111 Mobile +44 7810 374235 Fax +44 1582 866927 E-mail [EMAIL PROTECTED] Gainsborough House, Houghton Hall Park, Houghton Regi

Re: V 4.01 for solaris x86

2007-08-13 Thread Hassan Schroeder
On 8/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Is it possible to get hold of binaries for Tomcat 4.0 (> 4.04) archives: HTH, -- Hassan Schroeder [EMAIL PROTECTED] -

How to apply filter to 404's in servlet 2.3?

2007-08-13 Thread jwboring
I would like to have a filter invoked when ever a request comes in that does not represent a valid page/url (404's). What we are doing now is mapping the error-code to a jsp page that redirects via (see code below) but of course that is another round trip and therefore not optimal. Code: ro

Re: Tomcat and path with pound sign (#) -> ClassNotFoundException

2007-08-13 Thread Len Popp
There are a few problems caused by "#" in directory names, and it looks to me like they're at least partly Tomcat's fault. 1. The classloader problem that you reported: Tomcat converts file pathnames to URLs for URLClassLoader, using File.toURL which handles "#" poorly. This could be Sun's fault,

RE: V 4.01 for solaris x86

2007-08-13 Thread Tim.OShea
Thanks very much, I'll give it a go. I am unable to move to something more recent, as the company who supplied the applets we need to use have identified incompatibilities in later versions of both java and tomcat, but have not yet addressed them. Many thanks. Tim O'Shea Technical Manager - Man

Re: V 4.01 for solaris x86

2007-08-13 Thread Hassan Schroeder
On 8/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > There is a binary download for sparc here, but not x86. ?? You /do/ know Tomcat is written in Java, yes? :-) Is there a JVM for Solaris x86? Then you're set. FWIW! -- Hassan Schroeder [EMAIL PROTECTED] ---

[ANN] Apache Tomcat 6.0.14 released

2007-08-13 Thread Remy Maucherat
The Apache Tomcat team announces the immediate availability of Apache Tomcat 6.0.14 stable. This release includes bugfixes over Apache Tomcat 6.0.13. Apache Tomcat 6.0 includes new features over Apache Tomcat 5.5, including support for the new Servlet 2.5 and JSP 2.1 specifications, a refactore

[ANN] New book "Professional Apache Tomcat 6"

2007-08-13 Thread Vivek Chopra
Announcing the release of a new book "Professional Apache Tomcat 6" (Wrox Press). http://www.wrox.com/WileyCDA/WroxTitle/productCd-0471753610.html This is the third edition in our "Professional Apache Tomcat" book series. Who is this book for? Professional Apache Tomcat 6 is primarily targeted

Re: [ANN] New book "Professional Apache Tomcat 6"

2007-08-13 Thread Partha Goswami
here is also one good books. http://apress.com/book/bookDisplay.html?bID=10216 On 8/13/07, Vivek Chopra <[EMAIL PROTECTED]> wrote: > > Announcing the release of a new book "Professional > Apache Tomcat 6" (Wrox Press). > > http://www.wrox.com/WileyCDA/WroxTitle/productCd-0471753610.html > > This

suddenly I cannot run servlets anymore

2007-08-13 Thread Tuomas
Hi! With the advice I got from , I successfully installed Tomcat 5.5 on my computer (Ubuntu 7.04). I verified that I can a) start the server, b) access my own HTML and JSP pages, and c) compile and run simple servlets. I created

RE: suddenly I cannot run servlets anymore

2007-08-13 Thread Caldarale, Charles R
> From: Tuomas [mailto:[EMAIL PROTECTED] > Subject: suddenly I cannot run servlets anymore > > $ echo $CLASSPATH > /usr/local/bin/tomcat/common/lib/jsp-api.jar:/usr/local/bin/to > mcat/common/lib/servlet-api.jar:/home/tuope/src/web/servlets:. Get rid of the CLASSPATH variable - it shouldn't be u

Re: mod_jk with jetty strange behaviour

2007-08-13 Thread Andrei Neagoe
Hello Rainer, I've let it log with debug log level all night and I managed to get what you needed (some [error] lines). I have the sample at http://www.craiova.ro/mod_jk.log Cheers, Andrei Neagoe Rainer Jung wrote: OK: you started with an error log entry referring to errno 104 as your ori

Re: Thawte SSL certificates

2007-08-13 Thread Lyallex
OK, I think I've figured out what went wrong. I forgot to click the PKS7 checkbox when generating the test cert. (I know, I know but it has been a very long day). I have it working now, I still don't really understand why I had to install the same cert in my browser as I installed in my Tomcat keys

RE: suddenly I cannot run servlets anymore

2007-08-13 Thread Tuomas
> Get rid of the CLASSPATH variable - it shouldn't be > used. (For that > matter, it never should have been invented.) > > Are you using a real Tomcat download, or some > 3rd-party repackeged mess? I got my copy from http://tomcat.apache.org/download-55.cgi. I shut down the computer, then turne

character encodingg problem

2007-08-13 Thread Russo, Joe
Hi, This information you provided helped me a lot. I was able to include the filter and get the correct data. The main problem I am having is the current data is basically corrupt. This is what I believe is happening: some of the data is having the wrong character encoding into the database a

Prefix Paths on Servlets

2007-08-13 Thread Ryan Shelley
I developed a servlet with the package name "idm.war". Therefore, my URL is http://myhost/idm/... However, it's recently been requested that I add a prefix to my servlet. Now it should be http://myhost/it/idm/... Does tomcat provide a configuration that would allow me to add "/it" to ju

RE: suddenly I cannot run servlets anymore

2007-08-13 Thread Caldarale, Charles R
> From: Tuomas [mailto:[EMAIL PROTECTED] > Subject: RE: suddenly I cannot run servlets anymore > > I got my copy from > http://tomcat.apache.org/download-55.cgi. That's the proper place. > Can file permissions play a role here? Yes. > Should *.class file be executable (for instance, 755)? No

RE: Prefix Paths on Servlets

2007-08-13 Thread Caldarale, Charles R
> From: Ryan Shelley [mailto:[EMAIL PROTECTED] > Subject: Prefix Paths on Servlets > > However, it's recently been requested that I add a prefix to my > servlet. Now it should be http://myhost/it/idm/... Assuming you're running a reasonably modern version of Tomcat (you didn't bother to tell

Re: character encodingg problem

2007-08-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, Russo, Joe wrote: > Of course, the existing data that is stored incorrectly can not be > viewed correctly. I thought by changing the filter you sent by > interrupting the charset as ISO-8859-1 for the response would work > correctly. No, the pr

Re: Prefix Paths on Servlets

2007-08-13 Thread Ryan Shelley
My apologies... I'm on Tomcat 5.5. I'll take a look at it and give that a try. Thanks Chuck! On Aug 13, 2007, at 11:59 AM, Caldarale, Charles R wrote: From: Ryan Shelley [mailto:[EMAIL PROTECTED] Subject: Prefix Paths on Servlets However, it's recently been requested that I add a prefix to

Re: mod_jk with jetty strange behaviour

2007-08-13 Thread Rainer Jung
No idea, it really looks like there's a communication problem to the backend. Starting with 01:14:22 all connections that are created new are able to send a request, but do not receive any response. I think I would first enable Cpin/Cpong and maybe some other timeouts, to make the communicatio

RE: character encodingg problem

2007-08-13 Thread Russo, Joe
Chris, Thank you very much for you response. I am going to try and look at how long it will take to do this type of conversion for 39 databases. Joe -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Monday, August 13, 2007 3:00 PM To: Tomcat Users List Subje

Re: character encodingg problem

2007-08-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, Russo, Joe wrote: > Chris, > Thank you very much for you response. I am going to try and look at how > long it will take to do this type of conversion for 39 databases. Ouch! Perhaps your database supports a query that might be able to do thi

Re: character encodingg problem

2007-08-13 Thread Ryan Shelley
So I've been able to deploy the servlet and access it with the "/it" prefix, however, I noticed that when I redeploy my war, my custom it#idm.war context file is also removed. Is there a way to keep that transient between deployments? Or package it with the war? On Aug 13, 2007, at 1:12 P

RE: character encodingg problem

2007-08-13 Thread Caldarale, Charles R
> From: Ryan Shelley [mailto:[EMAIL PROTECTED] > Subject: Re: character encodingg problem > > however, I noticed that when I redeploy my war, my custom > it#idm.war context file is also removed You can't use the manager app or any other conventional script I know of to do this. Remember, your

CVE-2007-3382: Handling of cookies containing a ' character

2007-08-13 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CVE-2007-3382: Handling of cookies containing a ' character Severity: Low (Session Hi-jacking) Vendor: The Apache Software Foundation Versions Affected: 6.0.0 to 6.0.13 5.5.0 to 5.5.24 5.0.0 to 5.0.30 4.1.0 to 4.1.36 3.3 to 3.3.2 Description: Tomca

CVE-2007-3385: Handling of \" in cookies

2007-08-13 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CVE-2007-3385: Handling of \" in cookies Severity: Low (Session Hi-jacking) Vendor: The Apache Software Foundation Versions Affected: 6.0.0 to 6.0.13 5.5.0 to 5.5.24 5.0.0 to 5.0.30 4.1.0 to 4.1.36 3.3 to 3.3.2 Description: Tomcat incorrectly handl

CVE-2007-3386: XSS in Host Manager

2007-08-13 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CVE-2007-3386: XSS in Host Manager Severity: Low (Cross-site scripting) Vendor: The Apache Software Foundation Versions Affected: 6.0.0 to 6.0.13 5.5.0 to 5.5.24 Description: The Host Manager Servlet does not filter user supplied data before displa