Re: valid XHTML 1.1, Tomcat, text/xml, and @!* IE

2004-09-18 Thread Mark Eggers
Yes, but the actual XSL is just a copy statement: stylesheet version=1.0 xmlns=http://www.w3.org/1999/XSL/Transform; template match=/ copy-of select=./ /template /stylesheet This should mean that no actual transformation gets done. However, also from the FAQ: Why is it

Re: Error page problem

2004-09-18 Thread Martin Schaefer
May I ask you - how did you conclude that expection occurs on error page itself? I think, exception does not occur on error page. It said so: Exception Processing ErrorPage[errorCode=500, location=/errorpage.jsp] But when error page is defined for context, Tomcat tries to send error page to

Re: valid XHTML 1.1, Tomcat, text/xml, and @!* IE

2004-09-18 Thread Morten Liebach
On 2004-09-17 23:27:01 -0700, Mark Eggers wrote: Yes, but the actual XSL is just a copy statement: stylesheet version=1.0 xmlns=http://www.w3.org/1999/XSL/Transform; template match=/ copy-of select=./ /template /stylesheet This should mean that no actual

AW: SSL for multiple domains and one application with Tomcat

2004-09-18 Thread SH Solutions
Hi What I've read in my research is that it is a limitation of SSL to have multiple domain names authenticate with the same IP. Correct. You cannot have virtual hosts with SSL. Each and every SSL host needs it's own ip. (Exception are wildcard-certificates, wich allow you to use use any

Renaming the ROOT directory ?

2004-09-18 Thread Jean-Paul Le Fèvre
I don't understand how to specify a default context. I'm currently working with tomcat-5.0.27 and my server is supporting 3 virtual hosts. In the config file (server.xml) I declare a default context with : Context path = docBase = my_app ... The directory 'my_app' is available in the

Stability problem due to Too many open files

2004-09-18 Thread Steve Job
Having a problem keeping Tomcat 5 up and running after a long period of time on Redhat 9 with JDK build 1.4.2_05-b04 This application is running just Tomcat (no Apache integration) Once this happens I have to stop Tomcat, restart it, and then everything is fine again for a few weeks. Any

Re: Renaming the ROOT directory ?

2004-09-18 Thread Steve Job
Quoting Jean-Paul Le Fèvre [EMAIL PROTECTED]: - Is there a way to get rid of the 'ROOT' directory. - Is it possible to specify unambiguously the name of the default directory. If you are using a UNIX-like OS I have had good luck by just create symbolic links for the ROOT directory and point

Re: Referencias of utilization of the Tomcat by the world

2004-09-18 Thread Big Chiz
friendster is still listed, ive heard that friendster moved to php already :-( On Fri, 17 Sep 2004 13:52:15 -0400, Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, We have a very very partial list on the FAQ (http://jakarta.apache.org/tomcat/faq/misc.html#productionStories). As it says, many

Re: Tomcat fine within the LAN, but invisible from without

2004-09-18 Thread Big Chiz
ow shax, i just thought of him having multiple public ips On Fri, 17 Sep 2004 08:22:42 -0400, John Villar [EMAIL PROTECTED] wrote: LOL it seems shorewall is getting very popular however, the x.x.x.your_public_ip part is unnecesary, the net part at the beginning of the rule tells

Re: language

2004-09-18 Thread Tim Funk
Make sure the language passed to the JVM is spanish, for example (in unix): export JAVA_OPTS='-Duser.language=es' -Tim Eugene wrote: Hi again! Another question. I have a system language Spanish on my server. How can I setup error pages (404,413 etc) to use English instead of Spanish? Thank you for

Re: Stability problem due to Too many open files

2004-09-18 Thread Tim Funk
Look at ulimit. (And the archives talking about ulimit - I think the faq also talks about this too) -Tim Steve Job wrote: Having a problem keeping Tomcat 5 up and running after a long period of time on Redhat 9 with JDK build 1.4.2_05-b04 This application is running just Tomcat (no Apache

Re: Referencias of utilization of the Tomcat by the world

2004-09-18 Thread Tim Funk
Yeah, looks that way. I removed them. -Tim Big Chiz wrote: friendster is still listed, ive heard that friendster moved to php already :-( On Fri, 17 Sep 2004 13:52:15 -0400, Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, We have a very very partial list on the FAQ

Re: Renaming the ROOT directory ?

2004-09-18 Thread John Villar
Your path attribute should have / and not . Docbase should be (for your case, i will explain why it is wrong) webapps/my_app. This is a bad configuration, because you're telling to your host that its root dir is within the root of another host. better approach IMHO: create one webapps dir for

Re: Renaming the ROOT directory ?

2004-09-18 Thread Jean-Paul Le Fèvre
On Saturday 18 September 2004 14:13, John Villar wrote: Your path attribute should have / and not . No. According to the tomcat config doc : If you specify a context path of an empty string (), you are defining the default web application for this Host... Docbase should be (for your case, i

Re: valid XHTML 1.1, Tomcat, text/xml, and @!* IE

2004-09-18 Thread Garret Wilson
Morten Liebach wrote: The nicest solution is to follow the tips in this article: http://www.xml.com/pub/a/2003/03/19/dive-into-xml.html Basically , if the HTTP_ACCEPT variable contains the string application/xhtml+xml set MIME-Type to that, otherwise set it to text/html. And no, I have no idea

Re: Renaming the ROOT directory ?

2004-09-18 Thread John Villar
What's your tomcat version? could you post your server.xml file to see if there's something wrong? i'm using virtual hosts with default apps on tomcat 5.0.18 and used the configuration i told you, and works pretty well.. John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058

Re: Renaming the ROOT directory ?

2004-09-18 Thread Jean-Paul Le Fèvre
On Saturday 18 September 2004 16:42, John Villar wrote: What's your tomcat version? could you post your server.xml file to see if there's something wrong? i'm using virtual hosts with default apps on tomcat 5.0.18 and used the configuration i told you, and works pretty well..

Re: jstl:import---static information?

2004-09-18 Thread Garret Wilson
Garret Wilson wrote: Shouldn't the imported information be merged into the JSF component tree, rather than just spitting out the JSF tags (and all other tags) as if they were serialized literally? I've discovered several things. First, it appears you must have something like this in your

Re: Renaming the ROOT directory ?

2004-09-18 Thread John Villar
Host name=edbg.fr debug = 0 appBase=webapps/eros unpackWARs=true autoDeploy=true Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=eros- suffix=.log / Context path = docBase = edbg.war debug = 0

RE: Tomcat fine within the LAN, but invisible from without

2004-09-18 Thread Mark Thomas
Lee, You mail server is rejecting all messages to your address because you have exceeded your quota. Hence, you will not receive any messages until this is resolved. Please note that the apache list server will eventually remove addresses from the list the consistently return delivery failure

Re: valid XHTML 1.1, Tomcat, text/xml, and @!* IE

2004-09-18 Thread Garret Wilson
Oh, this is just a nightmare. Using JavaServer Faces, here are the options: 1. Just add a JSP directive: jsp:directive.page contentType=text/html/ Of course, that turns *all* pages into text/html, which we don't want to do for non-broken browsers such as Firefox and Mozilla. 2. Add a script to

Re: valid XHTML 1.1, Tomcat, text/xml, and @!* IE

2004-09-18 Thread Hassan Schroeder
Garret Wilson wrote: Oh, this is just a nightmare. Using JavaServer Faces, here are the options: 1. Just add a JSP directive: 2. Add a script to check for what the browser accepts: 3. Use a Filter -- here's a quick example, you may need to tweak it for your particular situation -- import

Re: valid XHTML 1.1, Tomcat, text/xml, and @!* IE

2004-09-18 Thread Garret Wilson
Hassan Schroeder wrote: 3. Use a Filter -- here's a quick example, you may need to tweak it for your particular situation -- I was *just* about to check into filters (or go insane, one or the other). Thanks for the example. Note, however, that you're example doesn't enumerate *all* the accept

Re: Stability problem due to Too many open files

2004-09-18 Thread QM
On Sat, Sep 18, 2004 at 05:46:59AM -0400, Steve Job wrote: : I get: : SEVERE: Endpoint [SSL: ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=443]] : ignored exception: java.net.SocketException: Too many open files : java.net.SocketException: Too many open files Someone else mentioned ulimit.

Re: cannot find server

2004-09-18 Thread QM
On Sat, Sep 18, 2004 at 10:40:45AM +0800, Brian Roberts wrote: : I'm having a problem with tomcat server version 5. When I click on : the welcome button from the start/programs/apache tomcat 5.0 the : browser opens and says 'cannot find server'. Sounds like a networking problem. What's the URL

Re: 404 etc

2004-09-18 Thread QM
On Fri, Sep 17, 2004 at 07:21:19PM -0300, Eugene wrote: : How to disable ServerTokens in Tomcat and how to replace : the error pages on custom static pages? For the latter, review the servlet spec for error-page -QM -- software -- http://www.brandxdev.net tech news --

tomcat 5.5.2 catalina stop problem

2004-09-18 Thread Ralph Schaer
Hi I have a little problem with shutdown of Tomcat 5.5.2. When I call catalina stop Tomcat shows the stack trace below. Starting Tomcat is no problem. Also the application is working without any problem. Just stopping makes problem. Without my application and with the example webapps everything

Re: valid XHTML 1.1, Tomcat, text/xml, and @!* IE

2004-09-18 Thread Hassan Schroeder
Garret Wilson wrote: I was *just* about to check into filters (or go insane, one or the other). Thanks for the example. Note, however, that you're example doesn't enumerate *all* the accept headers, which means it won't work if a browser decides to sent each accept string as a separate header.

Re: tomcat 5.5.2 catalina stop problem

2004-09-18 Thread Remy Maucherat
On Sat, 18 Sep 2004 20:35:46 +0200, Ralph Schaer [EMAIL PROTECTED] wrote: Hi I have a little problem with shutdown of Tomcat 5.5.2. When I call catalina stop Tomcat shows the stack trace below. Starting Tomcat is no problem. Also the application is working without any problem. Just stopping

Re: valid XHTML 1.1, Tomcat, text/xml, and @!* IE

2004-09-18 Thread Garret Wilson
Hassan Schroeder wrote: Garret Wilson wrote: Thanks for the example. Note, however, that you're example doesn't enumerate *all* the accept headers, which means it won't work if a browser decides to sent each accept string as a separate header. True -- is that legal? I just looked at RFC2616 and

chroot Linux 2.4.20-8 and tomcat 5.0.27

2004-09-18 Thread Glen Ezkovich
We are trying to run tomcat 5.0.27 in a chroot jail on Linux 2.4.20-8 . When we start tomcat we always get the following error message: Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location About 50% of the time its worse. Java HotSpot(TM) Client VM warning: Can't

using character entities and JSF XML

2004-09-18 Thread Garret Wilson
So I'm trying to use the trade; character entity in a pure XML JavaServer faces file, and it doesn't let me, because it isn't defined. Fair enough; I add this: ?xml version=1.0? !DOCTYPE jsp:root [ !ENTITY trade#8482; !-- trade mark sign, U+2122 ISOnum -- ] jsp:root version=2.0

unable to start the server

2004-09-18 Thread bbisc
I have 'jakarta-tomcat-4.1.27-LE-jdk14'server. When i try to startup the server i get an error message Catlina_Home environmental variable is not defined correctly. This environmental variable is needed to run this program.I have no idea how to fix this problem. Is there anybody who can help in

Re: using character entities and JSF XML

2004-09-18 Thread Eric Suen
I didn't know that XML required internal document types to declare the root element. see bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=28207 seems tomcat guys like this stupid feature very much, even it is very easy add an option to disable those kind validation in production env. I

Re: cannot find server

2004-09-18 Thread Brian Roberts
QM thanks for your reply the URL is http://127.0.0.1:8080/ . The set up wizard for tomcat server version 5 set up the software. I didn't make any adjustments to the settings. How can I check the DNS etc. as you suggested? I did try a google on that but it was difficult to find something I could

Re: using character entities and JSF XML

2004-09-18 Thread Garret Wilson
Eric, Eric Suen wrote: I didn't know that XML required internal document types to declare the root element. see bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=28207 seems tomcat guys like this stupid feature very much, even it is very easy add an option to disable those kind validation in