A second administration port

2007-03-27 Thread jean-louis . mateo
Tomcat : 5.5.20 Java : BEA JRockit 1.5.0_08 Hello, I have configured a second address administration (9000): I have defined within the server.xml a second service as: Connector port=9000 ..., with an entry Host on which i've defined an AppBase attribute different from webapps. All work fine.

Re: Can't view examples

2007-03-27 Thread reno
are you sure that the folders that you wanna see are on your machine? Hi, I installed Apache Tomcat/6.0.10 on Win XP Pro. Tomcat Web Application Manager shows status is OK. But when I click on Servlets and JSP Examples link on http://127.0.0.1:8080/, I get a 404 error. I also get 404

RE: FW: TOMCAT 5.0.28 stability

2007-03-27 Thread Bob Hall
--- Dwight Farris [EMAIL PROTECTED] wrote: Thanks for responding; I see the following lines recurring often in the Catalina_out file: 372yes In the for loop on myUsers2 variables in for loop: 374yes In ctx == null BEFORE THE QUERY IN Cohorts getName JVM version - 1.4.2_04-b05

Is it possible somehow for Tomcat to serve ASP.NET pages?

2007-03-27 Thread kz
Regards, Khurram

RE: Connections in tomcat resource in busy state forever

2007-03-27 Thread Drazen Nikolic
Hi James, Thank you for this answer. Interesting approach to the problem. It appeared that previous version of Oracle10g JDBC thin driver ver.10.2.0.2.0 has some problems when facing network issues like no DB server available. We've downloaded the last Oracle JDBC driver ver.10.2.0.3.0 and

Re: Basic Auth without web.xml security-constraint not working

2007-03-27 Thread org
Hi Tony, Mmmm, kinda understand what you saying something like this, Tomcat wants to check the users at the FRONT DOOR, and either kick them back onto the street or let them in, but you want to let them ALL in and let some use the dining room and some use the kitchen you trying to be

RE: How do you change default log level from INFO to ERROR in Tomcat 5.0.28?

2007-03-27 Thread Mirou, Antoine
Hello, I just upgraded from 4.1.29 to 5.0.28, and now when I startup the Tomcat Server, I see 15 some odd INFO messages being printed to the console window. I only want a couple system.outs that inform me that the Tomcat Server has started. How can I get rid of these messages? Try to

RE: Tomcat on Windows Server 2003 R2

2007-03-27 Thread Sabitha Divakaran
Thank u very much for ur reply Now home page is working -Original Message- From: Per Johnsson [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 5:27 PM To: Tomcat Users List Subject: RE: Tomcat on Windows Server 2003 R2 Yes, But either you add the 1.4 compliance package or use

Re: Requesting files with non-English/international characters in their names

2007-03-27 Thread Thomas Peter Berntsen
Chris, On 3/26/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, Thomas Peter Berntsen wrote: Without the URIEncoding=UTF-8 parameter the Danish special characters are not echoed correctly, whereas _with_ the parameter everything in the

RE: How do you change default log level from INFO to ERROR in Tomcat 5.0.28?

2007-03-27 Thread reno
Le mardi 27 mars 2007 à 10:29 +0200, Mirou, Antoine a écrit : Hello, I just upgraded from 4.1.29 to 5.0.28, and now when I startup the Tomcat Server, I see 15 some odd INFO messages being printed to the console window. I only want a couple system.outs that inform me that the Tomcat

RE: Tomcat on Windows Server 2003 R2

2007-03-27 Thread Per Johnsson
Hi! Ok, but adding the path to javajre/bin I making the service finding the dll which is in the bin directory. I had the exact same problem and by adding the JAVA_HOME and PATH solved my problems, then if it's a good thing to do I don't know. There is a bugzilla describing the issue here:

Paths in CSS files

2007-03-27 Thread Mike Quilleash
Hi all, I have a question about accessing resources from within CSS files, images mainly. Take the following CSS snippet. .bt { background:url(/image/box.png) no-repeat 100% 0; margin:0 0 0 18px; height:17px; } Particularly the url /image/box.png. Potentially my Tomcat web application

Re: Requesting files with non-English/international characters in their names

2007-03-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, Thomas Peter Berntsen wrote: #2 [POST] should always work, assuming that you have UTF-8-ized your app. Inline SCs display correctly, form submitted SC display with errors (displayed: æøå), browser detects UTF-8. :( The JSP contains

Re: Paths in CSS files

2007-03-27 Thread Dhaval Patel
Hi Mike, Use relative address for images in your CSS. That's a quick way. The other way I can think of is to use redirect in web.xml of your webapp in such a way that all request to /image/* goes to context/image/* Hope it helps. Regards, D - Original Message From: Mike Quilleash

Re: Paths in CSS files

2007-03-27 Thread Rashmi Rubdi
Another option is to host different applications on the root context and access each application with a virtual host. With this set up you don't need to change anything in your app. But it is not clear if you do want to use contexts or if virtual hosts is an alternative you would consider.

RE: Paths in CSS files

2007-03-27 Thread Mike Quilleash
Hi Dhaval, I'd prefer to avoid relative addressing but I've read that the paths are relative to the css, not the html (which would cause problems) that is loading it so it may work ok. Using a redirect in web.xml is an interesting option, however if my app has to co-exist with another

RE: Paths in CSS files

2007-03-27 Thread Mike Quilleash
Thanks for the reply. *I* don't want to use contexts but I'm sure some of our difficult clients will ;) Is virtual hosts Tomcat specific as we potentially need to support other web containers too which might not have virtual host capability. Is is part of the servlet specification or just a

Re: Paths in CSS files

2007-03-27 Thread Hassan Schroeder
On 3/27/07, Mike Quilleash [EMAIL PROTECTED] wrote: I have a question about accessing resources from within CSS files, Particularly the url /image/box.png. Potentially my Tomcat web application may be run with a context path so /image/ becomes /contextpath/image and all the CSS breaks. Is

Re: Paths in CSS files

2007-03-27 Thread Darren
Something I've done before is rename my css files to jsp and use $ {pageContext.request.contextPath} within them. [EMAIL PROTECTED] contentType=text/css% [EMAIL PROTECTED] pageEncoding=UTF-8% #header { margin: 0px 0px 15px 0px; height: 100px; background:

Nullpointer Exception when i try to start up

2007-03-27 Thread Venky Vasant
Hello i get this exception when i try to start java.lang.NullPointerException at org.apache.catalina.startup.Catalina.await(Catalina.java:615) at org.apache.catalina.startup.Catalina.start(Catalina.java:575) at org.apache.catalina.startup.Catalina.process(Catalina.java:183) at

Re: Nullpointer Exception when i try to start up

2007-03-27 Thread Rashmi Rubdi
On 3/27/07, Venky Vasant [EMAIL PROTECTED] wrote: I double checked all the classpath, Configuration files, What about JAVA_HOME and CATALINA_HOME ? -Rashmi - To start a new topic, e-mail: users@tomcat.apache.org To

Re: Paths in CSS files

2007-03-27 Thread Dhaval Patel
This is like one of those choice questions. As other mentioned, you can rename css file to jsp file and use custom jsp tags. Personally I would not use it because I use dreamweaver when I design page. So I need preview while working on css. Also I would like to make css code clean as well.

TOMCAT 5.0.28 stability

2007-03-27 Thread Dwight Farris
Hello Bob, I made the change in CATALINA_OPTS in catalina.sh; and I searched the Catalina.out file for exceptions with the following returning: java.sql.SQLException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right

RE: Can't view examples

2007-03-27 Thread Propes, Barry L [GCG-NAOT]
were those commented out in the web.xml or server.xml file? -Original Message- From: Joe Green [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 8:53 PM To: users@tomcat.apache.org Subject: Can't view examples Hi, I installed Apache Tomcat/6.0.10 on Win XP Pro. Tomcat Web

RE: Apache and Tomcat bridging - Servlet enabled?

2007-03-27 Thread Propes, Barry L [GCG-NAOT]
sounds like you may have declared the servlet name, but not the servlet mapping? I've accidentally left that out before on my web.xml file. -Original Message- From: Foo Shyn [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 9:28 PM To: Tomcat Users List Subject: Apache and Tomcat

RE: TOMCAT 5.0.28 stability

2007-03-27 Thread gb1071nx
This is certainly not a tomcat stability problem, it's the application that has been coded poorly syntax to use near 's Time Management workshop You've got some SQL code somewhere that looks like this: String sql = INSERT INTO table (foo) VALUES(' + fooVar + '); And you're inserting data

Re: Paths in CSS files

2007-03-27 Thread Rashmi Rubdi
On 3/27/07, Mike Quilleash [EMAIL PROTECTED] wrote: Thanks for the reply. *I* don't want to use contexts but I'm sure some of our difficult clients will ;) Is virtual hosts Tomcat specific as we potentially need to support other web containers too which might not have virtual host capability.

RE: TOMCAT 5.0.28 stability

2007-03-27 Thread Dwight Farris
Thanks for your response; I will look into the SQL code Dwight -Original Message- From: gb1071nx [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 27, 2007 9:47 AM To: Tomcat Users List Subject: RE: TOMCAT 5.0.28 stability This is certainly not a tomcat stability problem, it's the

Re: Can't view examples

2007-03-27 Thread Rashmi Rubdi
On 27 Mar 2007 09:40:50 -0700, Joe Green [EMAIL PROTECTED] wrote: Yes the folders are there but they are empty. Does Apache Tomcat/6.0.10 come JSP/Servlet examples? Yes, it should. At least the ZIP file I downloaded came with examples. apache-tomcat-6.0.10\webapps\examples\ -- all examples

Re: Tomcat on Windows Server 2003 R2

2007-03-27 Thread Layton Berry
Thanks for the bugzilla link. I see how that would work now. Layton Per Johnsson wrote: Hi! Ok, but adding the path to javajre/bin I making the service finding the dll which is in the bin directory. I had the exact same problem and by adding the JAVA_HOME and PATH solved my problems, then

Re: Can't view examples

2007-03-27 Thread Joe Green
Yes the folders are there but they are empty. Does Apache Tomcat/6.0.10 come JSP/Servlet examples? --- Original Message Follows --- From: reno To: Tomcat Users List Subject: Re: Can't view examples Date: Tue, 27 Mar 2007 09:37:47 +0200 are you sure that the folders that you wanna

Re: Nullpointer Exception when i try to start up

2007-03-27 Thread Venky Vasant
yes they seem to be fine, i doing it from eclipse. The similar environment ran fine with 4.0 version of tomcat -venkat - Original Message From: Rashmi Rubdi [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, March 27, 2007 10:26:20 AM Subject: Re:

Issue #39631 in Tomcat 5.5.23?

2007-03-27 Thread uma_rk
I am running Tomcat 5.5.23 on a Windows XP machine with JDK6. I have only one webapp (others are standard webapps packaged with Tomcat). During Catalina bootstrap, I see the null pointer exception (trace below) that looks quite like #39631 (SEE

RE: Issue #39631 in Tomcat 5.5.23?

2007-03-27 Thread Robert Harper
This looks like it might have more to do with a malformed XML file. Robert S. Harper Senior Engineer Information Access Technology, Inc. 1100 East 6600 South, Suite 300 Salt Lake City Utah USA 84121-7411 (801)265-8800 Ext. 255 FAX (801)265-8880 This e-mail is intended only for the addressee

jsp-applet

2007-03-27 Thread Abdelmonaam Kallali
Hi everyone I have an applet called by a jsp file but the applet is not initiated the jsp file contains rs1=stmt.executeQuery(select status, sum(counter) as counterSum, allDates from(select * from(select distinct status, count(status) as counter ,dateOpened as allDates from ncrreport where

RE: TOMCAT 5.0.28 stability

2007-03-27 Thread Bob Hall
--- Dwight Farris [EMAIL PROTECTED] wrote: Thanks for your response; I will look into the SQL code Dwight -Original Message- From: gb1071nx [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 27, 2007 9:47 AM To: Tomcat Users List Subject: RE: TOMCAT 5.0.28 stability This is

Tomcat Eclipse Integration

2007-03-27 Thread Venky Vasant
Some one please point me to a good link for setting up Eclipse 3.2.1 with tomcat 5.5 i am having hard time here Regards Venkat 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie

RE: Tomcat Eclipse Integration

2007-03-27 Thread Huy Vo \(hvo\)
I have 3.2.1 with Tomcat 5.0.28 using Sysdeo plugin http://www.sysdeo.com/eclipse/tomcatplugin. Setup is straight-forward. HTH. === Huy T. Vo Voice: 408-853-0535 Fax: 408-853-1671 -Original Message- From: Venky Vasant [mailto:[EMAIL PROTECTED] Sent: Tuesday,

Re: Tomcat Eclipse Integration

2007-03-27 Thread Jacob Rhoden
Venky Vasant wrote: Some one please point me to a good link for setting up Eclipse 3.2.1 with tomcat 5.5 i am having hard time here After a hours of trying to get eclipse and tomcat to work together nicely, i gave up and just installed netbeans (: Some people have great success with

Re: Nullpointer Exception when i try to start up

2007-03-27 Thread Rashmi Rubdi
On 3/27/07, Venky Vasant [EMAIL PROTECTED] wrote: I double checked all the classpath, There's no need to set classpath, for Tomcat 5.5 --- it automatically detects it. Only setting JAVA_HOME, CATALINA_HOME and PATH to Java bin and Catalina bin is enough. Check your project's web.xml and make

Re: Sharing compiled JSPs

2007-03-27 Thread Martin Gainty
Steve- jsps get pre-compiled to $CATALINA_HOME/work/Catalina/localhost generally in the form JSPName_jsp.java Does this answer your question? Martin-- --- This e-mail message (including attachments, if any) is intended

Re: Sharing compiled JSPs

2007-03-27 Thread Alon Belman
Steve, The path for the scratch directory is configurable, so you can certainly try to point them all at the same one and see what happens. However it seems to me the better solution would be to simply deploy precompiled jsps and avoid this problem altogether -- unless there's something with

Replacing tomcat-users.xml

2007-03-27 Thread Jean-Sebastien Pilon
Hello, I would like to replace the tomcat-users.xml file with something like auth_ldap on apache's httpd. I want to integrate the tomcat access to the manager, etc.. To Active directory. If any one has any hints, it would be appreciated. TIA NOTICE: This email contains privileged and

RE: Issue #39631 in Tomcat 5.5.23?

2007-03-27 Thread uma_rk
Is there a way to make Tomcat verbose with regards to problems with parsing XML? Also, why would a bad XML cause a Null Ptr Exception in Log4j ( I am not using DOMConfigurator; I use log4j.properties to configure log4j). Thanks, /U -- Original message -- From:

FileUpload to different machine

2007-03-27 Thread Dave
Web application using JSF deployed on JBoss runing on Linux. Another server machine is Windows 2003. For file upload, all the file need to be stored in the windows machine. Questions: how to access the windows' file system from Linux? For file upload, can the file be uploaded directly into

RE: Sharing compiled JSPs

2007-03-27 Thread Steve Vangasse
Yes but when you have multiple hosts, each one has it's own set of compiled JSPs under $CATALINA_HOME/work/Catalina/(hostname). I would like to have one scratch directory for the shared webapps that all the hosts can use. This way I can pre-compile just one set of JSPs. -Steve -Original