Re: web.xml uses non-validating xml?

2004-12-29 Thread D. Stimits
Jacob Kjome wrote: Quoting D. Stimits [EMAIL PROTECTED]: Peter Crowther wrote: From: D. Stimits [mailto:[EMAIL PROTECTED] I'm trying to debug something, and the individual webapps/myapp/WEB-INF/web.xml file seems to be a bit of an enigma to me. [...] I went to the DTD's to see what was written

Re: web.xml uses non-validating xml?

2004-12-29 Thread D. Stimits
Mark Miesfeld wrote: On Wed, 29 Dec 2004 17:46:24 -0700, D. Stimits wrote: : Jacob Kjome wrote: : : I think you have to set validating to true in server.xml. Otherwise, the file : is parsed in a non-validating fashion. Sorry, don't remember exactly where you : set this, but I do seem

Re: web.xml uses non-validating xml?

2004-12-28 Thread D. Stimits
Peter Crowther wrote: From: D. Stimits [mailto:[EMAIL PROTECTED] I'm trying to debug something, and the individual webapps/myapp/WEB-INF/web.xml file seems to be a bit of an enigma to me. [...] I went to the DTD's to see what was written there. Initially I used this DTD: !DOCTYPE web-app

web.xml uses non-validating xml?

2004-12-26 Thread D. Stimits
I'm trying to debug something, and the individual webapps/myapp/WEB-INF/web.xml file seems to be a bit of an enigma to me. I've been using something like this: resource-env-ref descriptionTest value/description resource-env-ref-namesomeValue/resource-env-ref-name env-entry-valuestub

JNDI Environment context question

2004-12-16 Thread D. Stimits
I'm using tomcat 5.0.30, and trying to learn a bit more about JNDI. The sample config comes with a simpleValue variable set to 30, using an Environment tag in conf/server.xml. According to the docs I've found, this should make it available to all web apps via

Re: set an environement variable under fedora core3

2004-12-14 Thread D. Stimits
FRANCOIS Dufour wrote: hi to all im used to work on windows im actualy tring to find were to set these variable under linux sombody could give mee an hint ? Other answers already were given, this is an alternative that *might* help if it is startup environment variables you are interested in.

correct behavior TagSupport: pageContext.getRequest().getLocalAddr() ?

2004-12-09 Thread D. Stimits
I'm trying to create a custom tag with tomcat 5.0.30 and JSP2 (jdk is 1.5.0). I'm new to this and finding no definite answer on this: When in my custom class I use pageContext.getRequest().getLocalAddr(), it always answers localhost address of 127.0.0.1, but the request and response are going

taglib-application config

2004-12-08 Thread D. Stimits
It appears that the application taglib docs are out of date, and I'm trying to configure this taglib. One example of it being out of date is that it refers to application.tld, which currently is taglibs-application, not application. Even the example fails to load. Maybe this is because I'm

tag reference advice

2004-12-07 Thread D. Stimits
I'm pretty new to using taglibs, struts, so on. I see various alphabetical lists of tags after selecting various libraries from the jakarta.apache.org web site, so if I already know the tag name and the library it is in I can easily look it up. What I'm looking for is some sort of browsing

Re: FactoryConfigurationError: Couldn't find SAXParserImpl

2004-12-06 Thread D. Stimits
Williams, Allen wrote: I get an error similar to this everytime I try to start Tomcat, and it won't start. Does anyone have any idea why this is? To the best of my knowledge, the jar file are correctly in the path and there is a SAXParserImpl in one of them. How does Tomcat try to find these?

Re: minor glitch struts-config.xml tomcat 5.0.30

2004-12-03 Thread D. Stimits
Shapira, Yoav wrote: Hi, I posted this a couple of days ago: http://marc.theaimsgroup.com/?l=tomcat-userm=110184784714876w=2. Yes, I had seen this, but I made a 1 character mistake when editing to put that in. The partial edit made the admin app work, but what I had failed to do was to edit the

Re: common image practice?

2004-12-02 Thread D. Stimits
Nikola Milutinovic wrote: D. Stimits wrote: I'm looking for a good or best practice to deal with site-wide logo type files...things that will never change, and that every app will want access to. This is on linux, but enabling sym links just seems to be an admin/backup complexity

Re: common image practice?

2004-12-02 Thread D. Stimits
QM wrote: On Thu, Dec 02, 2004 at 12:51:21AM -0700, D. Stimits wrote: : I'm looking for a good or best practice to deal with site-wide logo : type files...things that will never change, and that every app will want : access to. This is on linux, but enabling sym links just seems

Re: common image practice?

2004-12-02 Thread D. Stimits
Rhino wrote: It sounds to me like you've hit on something that lots of people would use. Why not put this forward as a feature request? Perhaps the good folks at Apache will add some kind of shared image directory to Tomcat. It won't help you today but this sounds like something that could be

minor glitch struts-config.xml tomcat 5.0.30

2004-12-02 Thread D. Stimits
Just posting a note for people doing google searches. The default server/webapps/admin/WEB-INF/struts-config.xml on tomcat 5.0.30 uses DOCTYPE that is incorrect. The DOCTYPE should use: http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd; The config_1_0.dtd results in catalina.out: Dec

Re: minor glitch struts-config.xml tomcat 5.0.30

2004-12-02 Thread D. Stimits
D. Stimits wrote: Just posting a note for people doing google searches. The default server/webapps/admin/WEB-INF/struts-config.xml on tomcat 5.0.30 uses DOCTYPE that is incorrect. The DOCTYPE should use: http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd; The config_1_0.dtd results

Re: minor glitch struts-config.xml tomcat 5.0.30

2004-12-02 Thread D. Stimits
... The default server/webapps/admin/WEB-INF/struts-config.xml on tomcat 5.0.30 uses DOCTYPE that is incorrect. The DOCTYPE should use: http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd; The config_1_0.dtd results in catalina.out: Dec 2, 2004 8:32:27 PM

common image practice?

2004-12-01 Thread D. Stimits
I'm looking for a good or best practice to deal with site-wide logo type files...things that will never change, and that every app will want access to. This is on linux, but enabling sym links just seems to be an admin/backup complexity, and duplicating logos in every project also seems wrong.

Re: can't find javac tomcat 5.0.30 jdk1.5.0

2004-11-30 Thread D. Stimits
Shapira, Yoav wrote: Hi, The 5.0.30 fix is simple and should not have to do with this problem. I'm compiling JSPs fine using 5.0.30 on Solaris 8, with both JDK 1.4.2 and 5.0. Where is your JAVA_HOME set? The jdk is in /opt/jdk1.5.0/, and the JAVA_HOME is set to /opt/jdk1.5.0. All other java

Re: can't find javac tomcat 5.0.30 jdk1.5.0

2004-11-30 Thread D. Stimits
for? Is it chrooting? Is it something that the JVM of the main tomcat5 can't see due to some security setting? What would cause a JSP recompile to complain that there is no /opt/jdk1.5.0/bin/javac when there is? D. Stimits, stimits AT comcast DOT net

Re: can't find javac tomcat 5.0.30 jdk1.5.0

2004-11-30 Thread D. Stimits
Shapira, Yoav wrote: Hi, Try to set JAVA_HOME and CATALINA_HOME explicitly in your $CATALINA_HOME/bin/catalina.sh file, to see if that makes a difference. This was one of the first things I tried. I explicitly set JAVA_HOME and CATALINA_HOME as a test. It is looking for javac in

SOLUTION Re: can't find javac tomcat 5.0.30 jdk1.5.0

2004-11-30 Thread D. Stimits
D. Stimits wrote: Shapira, Yoav wrote: Hi, Try to set JAVA_HOME and CATALINA_HOME explicitly in your $CATALINA_HOME/bin/catalina.sh file, to see if that makes a difference. This was one of the first things I tried. I explicitly set JAVA_HOME and CATALINA_HOME as a test. It is looking for javac

can't find javac tomcat 5.0.30 jdk1.5.0

2004-11-29 Thread D. Stimits
I've found several clues that suggest this is a common problem, but no fixes. I have jdk installed on linux at /opt/jdk-1.5.0/, it works properly for all users, and in all cases JAVA_HOME is set here. Any attempt to recompile a JSP (I have it set to check for page out of date each hit) results

tomcat 5 directory layout Q.

2004-11-26 Thread D. Stimits
I've been digging around on the tomcat web pages, and it appears that the version 4 docs are still in use under version 5 tomcat. I'm new to tomcat 5 and have only used tomcat 4 to a small extent, never had to administrate it before. I'm trying to make sense of the subdirectories shared and

Re: tomcat 5 directory layout Q.

2004-11-26 Thread D. Stimits
D. Stimits wrote: I've been digging around on the tomcat web pages, and it appears that the version 4 docs are still in use under version 5 tomcat. I'm new to tomcat 5 and have only used tomcat 4 to a small extent, never had to administrate it before. I'm trying to make sense