Re: AW: comparison of Type 4 JDBC drivers

2004-11-11 Thread Tuncay Baskan
On Thu, 11 Nov 2004 08:52:00 +0100, Michael Sudkamp [EMAIL PROTECTED] wrote: And we switched from FreeTDS (which AFAIK is the predecessor of jTDS) to the MS driver years ago because is had more functionality. We use it with heavy statements and result sets and had never any problem with it

Re: Buffering and redirection to the errorPage

2004-11-11 Thread Steven J. Owens
On Thu, Nov 11, 2004 at 11:28:21AM +1100, Derek Clarkson wrote: This sounds like something I have encountered. The basic question is that how do you redirect to an error page if youa re writing to the output stream rather than going to another JSP, and have an exception ? I thought I

Re: [VOTE][RESULT] Tomcat 5.5.4 Stability

2004-11-11 Thread Andoni
Hi, Congratulations all, I look forward to trying it out. Who is entitled to vote? Andoni. - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] Newsgroups: gmane.comp.jakarta.tomcat.user Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 7:25 PM Subject:

Re: [VOTE][RESULT] Tomcat 5.5.4 Stability

2004-11-11 Thread Andoni
Hi, Congratulations all, I look forward to trying it out. Who is entitled to vote? Andoni. - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] Newsgroups: gmane.comp.jakarta.tomcat.user Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 7:25 PM Subject:

Re: Ask for the best way to handle an exception

2004-11-11 Thread Andoni
Hello, I find that I get this error a lot in two situations: 1. When I have just put a new webapp live and not precompiled the JSPs myself. 2. When there is heavy load on the server. So, I suggest, if you are compiling your JSPs before making your app available to your users, and you are still

More apps = More load ?

2004-11-11 Thread Andoni
Hello, Does Tomcat use more resources depending on how many apps are present even if they are not being used? In the last few days, customers have been ringing the helpdesk in my company complaining about the speed of the web sites we host on the Tomcat Servers. I associated this with the

Re: Use of Referer header

2004-11-11 Thread Jon Wingfield
Also from Section 14.36 of rfc2616: extract The Referer field MUST NOT be sent if the Request-URI was obtained from source that does not have its own URI, such as input from the user keyboard. /extract So you can't rely on it being present. Shapira, Yoav wrote: Hi, But I have 2 questions: 1.

RE: Buffering and redirection to the errorPage

2004-11-11 Thread Carl Olivier
Greetings. Maybe I should rephrase my question. I do know how and why the behaviour is as it is... Rephrased question: In earlier versions of tomcat - if an exception was thrown and bubbled up before the response was committed, it was redirected to the error page. No problem. If the reponse

Disbale cache at apache

2004-11-11 Thread Srinivas Rao Ch
Hi, I am running a clustering setup with 2 tomcats and apache WS. My requests are not going to the proper cluster member( I configured for round robin behaviour). What's happening is apache is serving me the caching content of the other Tomcat. This is what I understood from the undesired

RE: problem in accessing / instead of /index.jsp

2004-11-11 Thread Didier McGillis
Actually the entire domain is the application, dir is a subdirectory that has some jsps in it, as does the web root. From: Phillip Qin [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: problem in accessing / instead of

RE: Multi-Site Clustering? (hot failover)

2004-11-11 Thread Steve Kirk
Yes that's true and I have used that feature in the past by asking our ISP (registrar) to enter multiple A records in the primary DNS. However, the point of this thread is that Steven was asking about the situation where one of the webservers then goes down. In this case, third-party ISP DNS

RE: [VOTE][RESULT] Tomcat 5.5.4 Stability

2004-11-11 Thread Shapira, Yoav
Hi, Tomcat committers have binding votes, those are the ones that count. Anyone else can voice an opinion (like tomcat-user, tomcat-dev is a public list), or more importantly report a showstopper bug/issue which would prevent a release from going stable. If you're curious, the full details for

RE: Minor help much appreciated.... Tomcat 5 configuration.

2004-11-11 Thread Shapira, Yoav
Hi, The thing that confused me about the tomcat 5.0.27 distribution is that I have all these types of containers and not sure which one to use. The containers are listed below in there respective folders: jakarta-tomcat-5 jakarta-tomcat-catalina jakarta-tomcat-jasper These are not separate

RE: More apps = More load ?

2004-11-11 Thread Shapira, Yoav
Hi, Does Tomcat use more resources depending on how many apps are present even if they are not being used? Yes, slightly more for each app, even if it's not used, depending on the configuration. I would have thought that it was the number of connections to a server and the amount of

RE: Multiple Servlet Mapping Problem

2004-11-11 Thread Shapira, Yoav
Hi, It's possible and permitted. Their url-patterns must be distinct. In Tomcat's implementation, each servlet declaration in web.xml corresponds to one instance of the servlet class in the JVM. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Dana Cordes

Re: Multi-Site Clustering? (hot failover)

2004-11-11 Thread Peter Lin
the kind of setup I've seen is to handle it with a load balancing router and a cluster of servers. Using just one server doesn't feel too redundant or fault tolerant to me. In the past, we had the router direct traffic, so that if a single webserver is down, it quickly directs it to a good server.

Re: How to secure my webapp under Tomcat?

2004-11-11 Thread QM
On Thu, Nov 11, 2004 at 03:08:43PM +0800, Koon Yue Lam wrote: : Now I DON'T want my client browse my JSPs, servlets and database : structure etc .. : : I want the entire webapp (and database) deployed only by me and not by others. : : Is there any methods that I can secure my webapp to

RE: Are all TC-managed DataSources pooled?

2004-11-11 Thread Steve Kirk
Thanks for your comments Doug. Good point re relevance of javax.sql API docs. I had a search through the J2EE spec. It does not appear to me to _require_ that DataSources are provided in a pooled implementation. It seems to be preferred. For example: J2EE.5.4.3 (J2EE Product Provider's

RE: Are all TC-managed DataSources pooled?

2004-11-11 Thread Shapira, Yoav
Hi, I already answered this... Maybe my post was lost. I had a search through the J2EE spec. It does not appear to me to _require_ that DataSources are provided in a pooled implementation. It seems to be preferred. For example: You're right. Containers are required to support binding of a

RE: How to secure my webapp under Tomcat?

2004-11-11 Thread Peter Crowther
From: Koon Yue Lam [mailto:[EMAIL PROTECTED] Is there any methods that I can secure my webapp to ensure my client won't deploy it to somewhere else by someone else?? Nope. You can draft an appropriate contract, you can obfuscate all you like, you can even use hardware (eg USB) keys on the

Re: Use of Referer header

2004-11-11 Thread Paul Taylor
Ok, I misunderstood what it did. It seems to work ok on both IE and Firefox always returning a value when navigating from a page but being null when accessing the page directly because there is no referer. So Ive just coded my page like to only show a back link when actually come from another

RE: SSL Not working properly

2004-11-11 Thread Hubble, Christopher
You have your keystorepass parameter misspelled. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, November 11, 2004 2:42 AM To: Tomcat Users List Subject: SSL Not working properly Hi, I have done everything to implement SSL on tomcat as

RE: SSL Not working properly

2004-11-11 Thread Hubble, Christopher
Oh, and your keystoreFile parameter is misspelled as well. You have keystrore. It should be keystore. :) Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, November 11, 2004 2:42 AM To: Tomcat Users List Subject: SSL Not working properly Hi,

RE: Multi-Site Clustering? (hot failover)

2004-11-11 Thread Steve Kirk
Thanks again and yes, I agree - ideally at least 2 servers in each of at least 2 locations. And I'm familiar with the approach shown in your diagram for a single location, having done something similar a few years ago. But the original point that Steven was making is, what happens if one of

RE: Tomcat is Good Enough for Game Performances

2004-11-11 Thread Peter Crowther
From: Bing Li [mailto:[EMAIL PROTECTED] Now I attempt to use Tomcat as a game server. Is it a correct choice? Depends on your game. I wouldn't use any runtime system that contained a garbage collector that could stall the system in a hard real-time system - which knocks out perl, Java, .Net

JSP fragments file extension and the jasper2 ant task

2004-11-11 Thread Trond G. Ziarkowski
Hi all! The J2EE 1.4 tutorial says: The recommended file extension for the source file of a JSP page is |.jsp|. The page can be composed of a top file that includes other files that contain either a complete JSP page or a fragment of a JSP page. The recommended extension for the source file of

RE: SSL Not working properly

2004-11-11 Thread David Austin
Chris, or Birendar Were you able to get the redirect working on those ports: 8080 and 8443? I have the same setup for tomcat 4.1.31, but i can only get it to work using port 80 and 443... -dave -- Original Message -- From: Hubble, Christopher [EMAIL

RE: SSL Not working properly

2004-11-11 Thread Hubble, Christopher
I had no problems running SSL on the default ports. I believe your problem is that your specifying https and 8080. Try https://localhost:8443 Chris -Original Message- From: David Austin [mailto:[EMAIL PROTECTED] Sent: Thursday, November 11, 2004 9:28 AM To: Tomcat Users List Subject:

RE: Tomcat is Good Enough for Game Performances

2004-11-11 Thread Shapira, Yoav
Hi, Depends on your game. I wouldn't use any runtime system that contained a garbage collector that could stall the system in a hard real-time Well, Java (and a couple of other languages, but I won't go into that debate ;)) does support garbage collector implementations that will never stall

RE: SSL Not working properly

2004-11-11 Thread David Austin
But I thought that was the whole point of the redirect... So a user could be browsing the site using the familiar http://localhost:8080, and he comes across a secure link to https, he could just type https://localhost:8080 and it would redirect automatically. If i set it up for ports 80 and

RE: SSL Not working properly

2004-11-11 Thread Hubble, Christopher
AFAIK, that's because https defaults to 443. -Original Message- From: David Austin [mailto:[EMAIL PROTECTED] Sent: Thursday, November 11, 2004 9:36 AM To: Tomcat Users List Subject: RE: SSL Not working properly But I thought that was the whole point of the redirect... So a user could

Where should I put the .so files in Linux for Tomcat?

2004-11-11 Thread Christopher Cheng
I am struggling to have Tomcat load the additional .so file. I have a few files such as librxtxSerial.so I want Tomcat to locate. I copied all the .so files to /usr/java/j2sdk1.4.2_06/jre/lib/i386. Java classes run from the command are fine, but the servlet returns:

RE: Are all TC-managed DataSources pooled?

2004-11-11 Thread Steve Kirk
Thanks Yoav. I see your original reply in the archive now, but I never got it via email. Strange. I do occasionally get notifications from ezmlm that my mailbox has been bouncing mails, but haven't had one of those for a while. I think the bouncing is due to false positives at my ISP

RE: Are all TC-managed DataSources pooled?

2004-11-11 Thread Shapira, Yoav
Hi, So I'm going to submit an enhacement suggestion for the docs (5.0.x/5.5.x), as they imply that DBCP is always used for datasources. The docs give a DBCP example. If someone needs to be told another implementation can be plugged in, they not competent enough to be doing the plugging. But

Tomcat 5.5.4, Logging and the death of my friend localhost_log

2004-11-11 Thread Allistair Crossley
Hi Guys, Bit the bullet and have switched our intranet test server over to JDK 5 / Tomcat 5.5.4 Stable. Anyway, I've hit a small hurdle and believe it or not it is not JNDI data sources .. that stuff worked perfectly! No, it's the other one .. logging. I am not quite getting where the old

RE: Tomcat - 4.1 - SSL redirect only works on ports 80 and 443

2004-11-11 Thread khanaz
Dave- Please post the non-ssl and ssl connector fields from your server.xml file Azam Khan -Original Message- From: David Austin [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 9:53 AM To: [EMAIL PROTECTED] Subject: Tomcat - 4.1 - SSL redirect only works on ports 80 and 443

RE: Tomcat 5.5.4, Logging and the death of my friend localhost_log

2004-11-11 Thread Shapira, Yoav
Hi, I have tried what I believed to be how to do this, e.g I placed a basic console appender log4j.properties file into tomcat/common/classes and popped log4j1.2.8 into the common/lib. No logging though. Where did you attach the console appender? To the root logger or on of your own packaged?

RE: Tomcat 5.5.4, Logging and the death of my friend localhost_log

2004-11-11 Thread Allistair Crossley
Hey Yoav, tomcat/common/classes/log4j.properties as follows log4j.rootLogger=DEBUG, A1 log4j.appender.A1=org.apache.log4j.ConsoleAppender log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n

RE: Tomcat 5.5.4, Logging and the death of my friend localhost_log

2004-11-11 Thread Allistair Crossley
Hi again, I have tried to setup a file appender now without success. When I restart Tomcat it is clear that it does not wish to create the file I am specifying. I am wondering if Tomcat really is initialising the logging subsystem from placing log4j.properties in common/classes. I could be

RE: Are all TC-managed DataSources pooled?

2004-11-11 Thread Steve Kirk
OK thanks, some useful points. I'll do some more reading. :) So I'm going to submit an enhacement suggestion for the docs (5.0.x/5.5.x), as they imply that DBCP is always used for datasources. The docs give a DBCP example. If someone needs to be told another implementation can be

Re: Auto-deploy not working in Tomcat 5.5.4 when .war file has a META-INF/context.xml?

2004-11-11 Thread Jonathan Eric Miller
Here's the message without the file attachments since the original message was blocked as spam. I don't see a way to post file attachments to the bug database either... Jon - Original Message - From: Jonathan Eric Miller [EMAIL PROTECTED] To: Remy Maucherat [EMAIL PROTECTED]; Tomcat

Tomcat 5.5.4 and Deferred IIS NTLM Authentication

2004-11-11 Thread Allistair Crossley
Hi, OK, apart from my logging problem, the only other main issue appears to be that Tomcat is no longer receiving a populated request.getRemoteUser value. In Tomcat 5.0 series, we had to add the following line to jk2.properties request.tomcatAuthentication=false In order to instruct Tomcat to

RE: Are all TC-managed DataSources pooled?

2004-11-11 Thread Shapira, Yoav
Hi, The J2EE Platform Specification requires J2EE Application Servers to make available a DataSource implementation (that is, a connection pool for JDBC connections) for this purpose. Surely this is not correct given what we've already said, i.e. the connection pool is not required? A

RE: Auto-deploy not working in Tomcat 5.5.4 when .war file has a META-INF/context.xml?

2004-11-11 Thread Shapira, Yoav
Hi, I don't see a way to post file attachments to the bug database either... Look again ;) You can attach files of any type to any bugzilla issue. You do need to be logged in to Bugzilla to do so. Yoav This e-mail, including any attachments, is a confidential business communication, and

Context element problems in conf/server.xml

2004-11-11 Thread Andrew Watters
Hi I posted a problem a couple of days ago which I've made some progress with. Originally my webapp ROOT.war would not unpack. I've figured out the problem was with the Context element as shown below Context path= docBase=ROOT debug=9 Environment name=servername type=java.lang.String

Basic authentication

2004-11-11 Thread Michal Kwiatek
I would like to use container-based declarative authentication without the need to modify any files in $CATALINA_HOME/conf directory. To simplify my question a bit: is it somehow possible to make tomcat read tomcat-users.xml from the war file, and not from $CATALINA_HOME/conf? Michal.

Re: Tomcat 5.5.4, Logging and the death of my friend localhost_log

2004-11-11 Thread Jonathan Eric Miller
So, exceptions aren't logged by default? Does the new log4j method give you full stack traces, or, is it just one line error messages? If I don't configure log4j, does that mean that exceptions can be occurring and I won't know about it? IMHO, a decent default logging configuration should be

Re: Tomcat 5.5.4, Logging and the death of my friend localhost_log

2004-11-11 Thread Peter Rossbach
Hey, have you place also the common-logging.jar 1.0.4 with the log4j Factory at common/lib ? regards Peter Allistair Crossley schrieb: Hi again, I have tried to setup a file appender now without success. When I restart Tomcat it is clear that it does not wish to create the file I am specifying.

DbcpDataSourceFactory ClassNotFoundException

2004-11-11 Thread Steve Kirk
My webapp has a working JDBC DataSource configured in META-INF/context.xml. The JNDI how-to mentions that the default factory for TC-managed JDBC DataSources (i.e. those configured as a Resource in the config files) is org.apache.naming.factory.DbcpDataSourceFactory, but if I configure that as

Re: Auto-deploy not working in Tomcat 5.5.4 when .war file has a META-INF/context.xml?

2004-11-11 Thread Jonathan Eric Miller
I don't see it at least on the inital bug report page at http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%205 Maybe I need to commit the page first and there's another page... I don't want to submit a report just yet, because I'm still in the process of trying to figure out how

RE: Tomcat - 4.1 - SSL redirect only works on ports 8

2004-11-11 Thread David Austin
Ok, here are my connector tags: !-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443

Re: AW: connection pooling

2004-11-11 Thread Eric Wulff
What informix db version are you working with? I do not know how to get the serial value. I use an informix driver that supports connection pooling and I'm not familiar with the ifmxStatement. Depending on the informix version, I suggest utilizing a type 4 informix jdbc driver(search). That

RE: Counting Page Hits

2004-11-11 Thread Justin Jaynes
Thanks! Justin Jaynes --- Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, Could you give me a quick pointer in the right direction for a good, popular log analyzer? Then I can study up. I would appreciate the help so much. Easy. Enable the AccessLogValve in conf/server.xml, with

Re: Context element problems in conf/server.xml

2004-11-11 Thread Andoni
Hello, You certainly don't need the / in the path attribute. This is not going to work as it cannot match just one slash. Would you please post the Engine Host and Context tags. They should all be seen as a group to know exactly what's being called. Andoni. - Original Message - From:

automatic deployment using ant

2004-11-11 Thread Nandish Rudra
Hello, I am trying to do an auto deploy using ant script on tomcat 5.028 (Redhat 9). The war is about 60mb in size and tomcat is runnig with the following java_opts JAVA_OPTS='-Xmn32M -Xmx256M -XX:MaxHeapFreeRatio=30 -XX:+UseParallelGC'. Every time I try to deploy the war I get the following

RE: Counting Page Hits

2004-11-11 Thread Didier McGillis
awstats is something I use. From: Justin Jaynes [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Counting Page Hits Date: Thu, 11 Nov 2004 10:38:12 -0800 (PST) Thanks! Justin Jaynes --- Shapira, Yoav [EMAIL PROTECTED] wrote: Hi,

Re: Auto-deploy not working in Tomcat 5.5.4 when .war file has a META-INF/context.xml?

2004-11-11 Thread Remy Maucherat
On Thu, 11 Nov 2004 11:09:58 -0600, Jonathan Eric Miller [EMAIL PROTECTED] wrote: I don't see it at least on the inital bug report page at http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%205 Maybe I need to commit the page first and there's another page... I don't want to

Re: Testing/Development environment setups..

2004-11-11 Thread Jonathan Wilson
Thanks for all the good advice before(everyone) - now more of a specific Web-App Development item: I'm setting up my CVS repository structure(/etc,/src,/lib,/web) per the TC3.3.1 Developing Application with Tomcat FAQ - but the structure is different for TC5.0. And MyEclipse and Netbeans

RE: Tomcat 5.5.4, Logging and the death of my friend localhost_log

2004-11-11 Thread Allistair Crossley
this is very true actually, i.e the old JSP stack trace errors and so on will not be directed into log4j-type logs .. that's not good at all i agree. And I know there is an exception occurring right now, but it's not being reported into the stdout. where is all the runtime exception stack

Re: Auto-deploy not working in Tomcat 5.5.4 when .war file has a META-INF/context.xml?

2004-11-11 Thread Jonathan Eric Miller
Thanks, I appreciate you testing that. However, it simply doesn't work for me. I don't see how it could work for you and it doesn't work for me. I have a totally stock installation of Tomcat 5.5.4 and used the same exact file that I sent to you. I start Tomcat, copy the file, it gets deployed,

Just installed 5.5, Can't access localhost:8080

2004-11-11 Thread Vincent Hikida
I have been using Tomcat 3.3 and have been able to start it and access it via localhost:80. I just downloaded 5.5 and installed it on my Windows XP. I think I have started the Tomcat 5.5 successfully. I can see Tomcat5w.exe running in the Windows Task Manager. However, I get a page cannot be

Re: Tomcat 5.5.4, Logging and the death of my friend localhost_log

2004-11-11 Thread Remy Maucherat
On Thu, 11 Nov 2004 15:25:48 -, Allistair Crossley [EMAIL PROTECTED] wrote: Now, I know Logger has been removed from 5.5 series and that we are supposed to be using some kind of log4j / commons-logging stylee way but am fairly surprised that 5.5.4 did not come with a basic setup for this.

Re: Tomcat 5.5.4, Logging and the death of my friend localhost_log

2004-11-11 Thread Jonathan Eric Miller
My current theory is that if you don't have Log4J installed (commons-logging prefers Log4J over standard Java 1.4 logging) and you're using J2SE 1.5, the errors should go to the console and/or catalina.out by default because the default $JAVA_HOME/jre/lib/logging.properties file that comes with

RE: Tomcat 5.5.4, Logging and the death of my friend localhost_log

2004-11-11 Thread Shapira, Yoav
Hi, BTW, does anyone know if there are any advantages to using Log4J over Java Numerous: http://logging.apache.org/log4j/docs/documentation.html has several articles. If you're looking for anything but the simplest logging features, log4j is far superior. Yoav This e-mail, including any

Re: Tomcat 5.5.4, Logging and the death of my friend localhost_log

2004-11-11 Thread Remy Maucherat
On Thu, 11 Nov 2004 15:09:08 -0500, Shapira, Yoav [EMAIL PROTECTED] wrote: If you're looking for anything but the simplest logging features, log4j is far superior. I disagree with this statement, as it's too general. Personally, I consider what is definitely superior in log4j are the many

RE: Tomcat 5.5.4, Logging and the death of my friend localhost_log

2004-11-11 Thread Shapira, Yoav
Hi, I disagree with this statement, as it's too general. Personally, I consider what is definitely superior in log4j are the many logger implementations. As far as I can tell, these could (= should) be ported to the java.logging API. Sun can port those any time it wants -- they have the

Re: Just installed 5.5, Can't access localhost:8080

2004-11-11 Thread Remy Maucherat
On Thu, 11 Nov 2004 12:02:13 -0800, Vincent Hikida [EMAIL PROTECTED] wrote: I have been using Tomcat 3.3 and have been able to start it and access it via localhost:80. I just downloaded 5.5 and installed it on my Windows XP. I think I have started the Tomcat 5.5 successfully. I can see

Re: Tomcat 5.5.4, Logging and the death of my friend localhost_log

2004-11-11 Thread Remy Maucherat
On Thu, 11 Nov 2004 15:34:09 -0500, Shapira, Yoav [EMAIL PROTECTED] wrote: Many of the relevant logging standards (given that there's no JSR) are derived (if not plain copied) from log4j. Furthermore, the log4j people have been working for improve standards and teamwork in this area, with

RE: Tomcat 5.0.24 - JSP 2.0 SVG example (JSPX) - not opening rendered SVG object in IE 6

2004-11-11 Thread d~l
On 11 Nov 2004 at 11:05, Kumar Pandey kumar.pandey-at-transerainc. wrote: Were able to get this fixed?. I have similiar issue with IE 6 just displaying svg from a servlet with mime type image/svg+xml. Downloading and opening the svg file works fine. Thanks Kumar Hello Kumar .. I

Re: Just installed 5.5, Can't access localhost:8080

2004-11-11 Thread Vincent Hikida
Thanks. It worked. Actually I did unzip compat before but it just created another tomcat directory under my tomcat directory. I just manually put the files in my folder from winzip. Also, it only worked after I rebooted my machine. Vincent - Original Message - From: Remy Maucherat [EMAIL

Tomcat auth error?

2004-11-11 Thread Sunitha Kumar
ERROR [http8443-Processor20] authentication.Credentials (Credentials.java:89) - getCredential: CREDENTIAL_VALUE_NOT_DEFINED for AuthLoginPin Any pointers on where / why this error occurs? Is this internal tomcat error, or JSP error? thanks, -sunitha

Re: Disbale cache at apache

2004-11-11 Thread Peter Johnson
This is really a question for the Apache mailing list. but to disable caching remove (or comment out) all directives relating to it. The CacheEnable and CacheDisable work together so that if you did the following CacheEnable / CacheDisable /foobar The the caching would be performed on all URIs

url-pattern question

2004-11-11 Thread Peter Fogg
Trying to learn how to develop applications in JSP and servlets. Using Tomcat 5.0.28 on Mac OS X v10.3.5. In web-apps directory created subdirectory LearningTree. Created and compiled a servlet HelloWorldServlet.class in the LearningTree directory. Moved the class to the

Re: url-pattern question

2004-11-11 Thread Peter Fogg
Sorry, both of the urls are gttp://localhost:8080/. . . On Nov 11, 2004, at 2:38 PM, Peter Fogg wrote: Trying to learn how to develop applications in JSP and servlets. Using Tomcat 5.0.28 on Mac OS X v10.3.5. In web-apps directory created subdirectory LearningTree. Created and compiled a servlet

RE: URL.setURLStreamHandlerFactory - Tomcat 5.0

2004-11-11 Thread Peter Crowther
I was just reading this thread from August. Unfortunately, I *think* I need a custom stream handler factory as I want to be able to hack about with some of the URLs before they get a chance to open. Here's the scenario: - I have a directory containing a resource - call it X.xml - and a JSP -

Re: url-pattern question

2004-11-11 Thread Peter Johnson
Hi Peter, Your *application* is LearningTree so all class files go into LearningTree/WEB-INF/classes HWS is just a directory. If you want HelloWorldServlet to display there as well you'll need to configure a servlet-mapping in web.xml with url-pattern/HWS//url-pattern PJ Peter Fogg wrote:

Re: More apps = More load ?

2004-11-11 Thread Will Hartung
Hi, Does Tomcat use more resources depending on how many apps are present even if they are not being used? Yes, slightly more for each app, even if it's not used, depending on the configuration. I would have thought that it was the number of connections to a server and the amount of

Re: Basic authentication

2004-11-11 Thread Andoni
Hello, The answer to your question is that you cannot serve the User database (now tomcat-users.xml) from inside a .war file as it cannot be read from in there but you can change its location to be below your webapps directory. This can be achieved by changing the path to it which is currently in

RE: JSP fragments file extension and the jasper2 ant task

2004-11-11 Thread Sng Wee Jim
Ziarkowski, You may want to try adding the following to your web.xml servlet-mapping servlet-namejsp/servlet-name url-pattern*.jspf/url-pattern /servlet-mapping - Jim -Original Message- From: Trond G. Ziarkowski [mailto:[EMAIL PROTECTED] Sent: Thursday,

Set resource parameters in 5.5 not the same as 5.0

2004-11-11 Thread V D
Using Embedded Tomcat, in 5.0, one would add a resource as: StandardContext context = (StandardContext)embeddedTomcat.createContext(context, path); ContextResource res = new ContextResource(); res.setName( jdbc/ name); res.setType( javax.sql.DataSource ); res.setAuth( Container );

Re: Set resource parameters in 5.5 not the same as 5.0

2004-11-11 Thread V D
Probably answer myself here, but is it true that to have more than one resource parameter, just create more than one ContextResource? V D wrote: Using Embedded Tomcat, in 5.0, one would add a resource as: StandardContext context = (StandardContext)embeddedTomcat.createContext(context, path);

Re: Tomcat 5.5.4 and Deferred IIS NTLM Authentication

2004-11-11 Thread Bill Barker
Tomcat 5.5.x doesn't use jk2.properties by default. To use it, you need: Connector protocol=AJP/1.3 propertiesFile=conf/jk2.properties ... / Alternatively you can configure it directly: Connector protocol=AJP/1.3 request.tomcatAuthentication=false ... / Allistair Crossley [EMAIL

http request sent to https port

2004-11-11 Thread Nishant Deshpande
I have https enabled on port 80. If i request 'http://localhost/', it comes back with some errenous http reply which my browser can't interpret (nor can wget). On other web sites, I see that my http request gets redirected to https, but seemingly on the same port. Anyone know how this is done?

RE: http request sent to https port

2004-11-11 Thread Carl Olivier
Hi. Your HTTP Connector will default to 443 as the redirectPort. You then also must have a HTTPS Conntector listening on 443 in the same engine/service as the HTTP connector (i.e. the host must be accessible on both). The redirectPort will be used if you have a security-constraint specified in

Install 5.5.4 on Mac OS X

2004-11-11 Thread Craig Mattocks
This script is overkill but perhaps it will help someone. - Craig #!/bin/sh # # This UNIX script installs the Tomcat servlet # # container on Mac OS X computer systems. # # - - - - - - - - - - - - - - - - - - - - - - - # # Make this script