RE: How do I handle International Characters

2005-05-10 Thread Allistair Crossley
A method we have used with success for inbound request encoding is to add a Servlet Filter to our application whose sole job is to call request.setCharacterEncoding(UTF-8) Allistair. -Original Message- From: Christoph Kutzinski [mailto:[EMAIL PROTECTED] Sent: 10 May 2005 08:54 To:

RE: Help needed with Hibernate persistent servlet

2005-05-11 Thread Allistair Crossley
Hi, Hibernate needs a bunch of other jar files too. There is a text file in the H3 distrib indicating which are requisite and which are mandatory. You do not menion whether this HibernateUtil you are using as a servlet has an overridden init() method that creates the SessionFactory. Finally,

RE: url-pattern in web.xml -- looking for explanations and best practice

2005-05-11 Thread Allistair Crossley
URL patterns are quite limited for the web.xml. The document you want is actually the Servlet Specification PDF from Sun's J2EE website. You can achieve what you are talking about using the JK module with Apache or IIS as this forwards requests from the web server to Tomcat. It allows the ! to

RE: tomcat 5.5.9 version stable?

2005-05-12 Thread Allistair Crossley
yes, it says so on the tomcat homepage. -Original Message- From: Woodchuck [mailto:[EMAIL PROTECTED] Sent: 12 May 2005 16:57 To: tomcat Subject: tomcat 5.5.9 version stable? hihi all, is the tomcat 5.5.9 version a 'stable' version? when i go to browse the download folder i

[OT] Configuration of 5 country sites and 1 web application base

2005-06-14 Thread Allistair Crossley
Dear List, I'm after some external advice on how best to configure Tomcat and our web application. The web application is intended to run 5 international country web sites. The code base is aware of its need to run different sites, and uses various parameters in calling backend services to

RE: tomcat unable to serve struts action

2005-06-14 Thread Allistair Crossley
I think it's odd that /index.do is coming through from Apache and it throws an error. Known alternatives are URL rewriting and creating a JSP that contains a call to the action using a redirect/forward. There's an example of doing this in the struts-example webapp where they forward using

RE: getRemoteUser() always returns null

2005-06-22 Thread Allistair Crossley
Hi, Try setting tomcatAuthentication=false on the connector, or jk2.properties file Cheers, Allistair. -Original Message- From: Scott Heitkamp [mailto:[EMAIL PROTECTED] Sent: 21 June 2005 21:40 To: tomcat-user@jakarta.apache.org Subject: getRemoteUser() always returns null

RE: Tomcat and Internet Explorers caching

2005-06-22 Thread Allistair Crossley
Hi, Not an answer as such, but all our dev machines (and we do LOTS of changes per 5 minutes) have Automatically switched on, and we don't experience this problem. Like I say, not a solution, but perhaps you are looking in the wrong direction. Cheers, Allistair. -Original Message-

[OT] Sharing session with manual jsessionid

2005-06-24 Thread Allistair Crossley
Hi, We are using embedded XML requests within out browser and I would like to share information through 1 session since these XML requests create new requests with their own sessions. I am obtaining the outer session with session.getId and manually adding jsessionid=%= session.getId() % to

RE: [OT] Sharing session with manual jsessionid

2005-06-24 Thread Allistair Crossley
in the url and a cookie: the cookie wins. You'll have to make sure the xml requests don't have the cookie header. (It sounds like that is the case as a new session is generated.) HTH, Jon Allistair Crossley wrote: Hi, We are using embedded XML requests within out browser and I

RE: [OT] Sharing session with manual jsessionid

2005-06-24 Thread Allistair Crossley
header for an AJAX request using setRequestHeader. It didn't work :( Allistair Crossley wrote: Thanks for the info. I have been trying with ; but to no avail, so it must be the case (and it will be) that the parent page's session id is already a cookie AND I am passing it as a URL

RE: ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error

2005-06-28 Thread Allistair Crossley
Which line of code is on 71? helloworldservlet.ServletVideo.streamBinaryData(ServletVideo.java:71) In your finally block, you are closing the servlet output stream, I wonder if that's causing tomcat a problem since it usually closes the servlet output stream itself? Humour me and change if(

RE: Convert URL path from directory/ to directory/index.htm (Spring related)

2005-06-29 Thread Allistair Crossley
Hi, You'd normally attempt to do this with URL rewriting at the web server side. I read that tomcat does not really offer URL rewriting at this time if used as a web server, I could be wrong. For what it's worth, we place index.jsp documents in folders that the user may request that do a

[OT] wildcard servlet mapping also catching jsps

2005-06-30 Thread Allistair Crossley
Hi Guys, Having a real ball ache with a requirement. We want to handle any URL with a Spring controller (servlet for those not into Spring). Therefore http://ourserver/wacky/url http://ourserver/something We want coming to our controller. Why? Because we have fancy page lookup and redirect

RE: Tomcat in production

2005-07-01 Thread Allistair Crossley
Tomcat serves requests with threads and allows by default configuration around the 80 mark. If it cannot handle them all, they get stacked up until threads become free. Most people would probably agree that 80 concurrent requests would not happen in most systems that often. You can do various

RE: Handling exceptions declaratively

2005-07-04 Thread Allistair Crossley
Hi, doPost/doGet throw ServletException. I think the problem lies in that you are wrapping your exception but this does not translate to the exception actually being of class UserNotFoundException. You'd need to actually throw your own exception which could extend ServletException for example.

RE: EL not working...

2005-07-07 Thread Allistair Crossley
EL comes with the Servlet 2.4 spec which is supported in Tomcat 5x. I believe you may be able to get EL like behaviour with the Struts-EL taglib, but you won't get it out of the box on Tomcat 4. Allistair. -Original Message- From: Richard Reyes [mailto:[EMAIL PROTECTED] Sent: 07

RE: EL not working...

2005-07-07 Thread Allistair Crossley
to access the cookie value? Thanks Richard On 7/7/05, Allistair Crossley [EMAIL PROTECTED] wrote: EL comes with the Servlet 2.4 spec which is supported in Tomcat 5x. I believe you may be able to get EL like behaviour with the Struts-EL taglib, but you won't get it out of the box

RE: Multi-click from the same user

2005-07-07 Thread Allistair Crossley
Your idea sounds like it makes sense but I can see that you may have trouble, since even if you can identify a duplicate request, you will have lost (I think) the request/response link on each subsequent click of the button (which generates unique requests). I do not think you'd be able to

RE: EL not working...

2005-07-07 Thread Allistair Crossley
- From: Richard Reyes [mailto:[EMAIL PROTECTED] Sent: 07 July 2005 10:24 To: Allistair Crossley Cc: Tomcat Users List Subject: Re: EL not working... Thanks Allistair, But it throws an error... E:\LABDRIVE\jakarta-tomcat-5.0.28\work\Catalina\localhost\wds- ap\org\apache\jsp\bigler

RE: Rép. : RE: Multi-click from the same user

2005-07-07 Thread Allistair Crossley
The common way that this is achieved is similar to the previous poster. When a user clicks the button, you would actually move them to another page straightaway that spawns the 1 request thread and makes it very clear not to refresh the page. This is the strategy you can see with online booking

RE: Perf Issue: HttpClient.executeMethod takes more time if there are more number of threads in the process

2005-07-13 Thread Allistair Crossley
Complete stab in the dark here ... Tomcat serves a maximum number of threads at a time (request processing threads). It may be that Tomcat's timings are accurate for the threads *when* it executes them, but your HTTP Client will be seeing a queue when Tomcat has no spare request thread

RE: Perf Issue: HttpClient.executeMethod takes more time if there are more number of threads in the process

2005-07-13 Thread Allistair Crossley
java process which had less number of threads ? More over in tomcat, I am seeing the average response time as 12 to 20 ms. If there is a problem in tomcat side, then i might have seen huge numbers here. Bhaskar Allistair Crossley wrote: Complete stab in the dark here

RE: Perf Issue: HttpClient.executeMethod takes more time if there are more number of threads in the process

2005-07-13 Thread Allistair Crossley
good response with another test java process which had less number of threads ? More over in tomcat, I am seeing the average response time as 12 to 20 ms. If there is a problem in tomcat side, then i might have seen huge numbers here. Bhaskar Allistair Crossley wrote: Complete

RE: 500 - Internal server error

2005-07-13 Thread Allistair Crossley
That's your answer then, give Tomcat more memory, or look for leaks in your code with a profiler. -Original Message- From: Ayyanar Inbamohan [mailto:[EMAIL PROTECTED] Sent: 13 July 2005 12:07 To: Tomcat Users List Subject: Re: 500 - Internal server error It is throwing out of

RE: Tomcat vs Jboss-Tomcat

2005-07-19 Thread Allistair Crossley
Has anyone pointed out to you that JBoss uses Tomcat for JSP/Servlets? Therefore the question is not is Tomcat better, but what management features you need and which functionality from the J2EE stack you require. Allistair. -Original Message- From: Sridhar [mailto:[EMAIL PROTECTED]

RE: tomcat 5.5.9, JSP, EL evaluation

2005-07-26 Thread Allistair Crossley
Hi, 1. Check your JSP imports the c tag library 2. Check your web.xml schema is for J2EE 2.4 web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; version=2.4 xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee

RE: tomcat 5.5.9, JSP, EL evaluation

2005-07-26 Thread Allistair Crossley
10:00 To: Tomcat Users List Subject: RE: tomcat 5.5.9, JSP, EL evaluation Hi Allistair, Now the definition of the taglibs in the web.xml seems to be wrong. Could you provide me an example? Thx -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent

Requests that are not handled by ROOT

2005-07-26 Thread Allistair Crossley
Hi, Mind's gone a little blank, should know this but our webapp has a setup such that a filter maps /* requests and handles them. However, Tomcat is preventing requests that do not match /abc with a 404 I think because it thinks abc is another web application if it has /abc/def E.g

RE: Requests that are not handled by ROOT

2005-07-26 Thread Allistair Crossley
List' Subject: RE: Requests that are not handled by ROOT Try filter map with * instead of /* Regards Guru -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 26 July 2005 11:36 To: tomcat-user@jakarta.apache.org Subject: Requests that are not handled

RE: Requests that are not handled by ROOT

2005-07-26 Thread Allistair Crossley
My bad. It is actually coming into the web application afterall with /*. Cheers! -Original Message- From: Allistair Crossley Sent: 26 July 2005 11:46 To: Tomcat Users List Subject: RE: Requests that are not handled by ROOT According to the spec /* is everything in the web

RE: Problem running tomcat with a CMS application

2005-07-26 Thread Allistair Crossley
from memory you need to ensure you add users and roles to the tomcat-users.xml file? it's all in the manual. -Original Message- From: Patrick saad [mailto:[EMAIL PROTECTED] Sent: 26 July 2005 15:39 To: tomcat-user@jakarta.apache.org Subject: Problem running tomcat with a CMS

RE: Problem running tomcat with a CMS application

2005-07-26 Thread Allistair Crossley
through a repository. --David Allistair Crossley wrote: from memory you need to ensure you add users and roles to the tomcat-users.xml file? it's all in the manual. -Original Message- From: Patrick saad [mailto:[EMAIL PROTECTED] Sent: 26 July 2005 15:39 To: tomcat-user

RE: Cannot create JDBC driver of class - help!!

2005-08-01 Thread Allistair Crossley
Is Context not supposed to be within a Host element? You also have a lowercase c in context rather than Context. You also will want jdbc/ before the name for the datasource. In fact, I think you need to read the manual (I am assuming Tomcat 5.0, otherwise look at your version).

RE: How to set auto-commit to false on a Tomcat Connection-Pool?

2005-08-02 Thread Allistair Crossley
I found this on the web for Struts using org.apache.commons.dbcp.BasicDataSource which I believe Tomcat also uses. Therefore perhaps you can try defaultAutoCommit instead. data-source key=homeDS type=org.apache.commons.dbcp.BasicDataSource set-property property=driverClassName

RE: tomcat 5.5, jdk1.5 on user mode debian stable hangs after a few days

2005-08-02 Thread Allistair Crossley
Hi, Hanging, memory up 50%, sounds very much like an OutOfMemoryException to me. I know from experience that Tomcat can hang with no memory and not log to stdout either (although most of the time it does). Have you profiled your application under a load test? Cheers, Allistair.

RE: tomcat 5.5, jdk1.5 on user mode debian stable hangs after a few days

2005-08-02 Thread Allistair Crossley
flash remoting connector) with some jdbc (mysql) so i guess that any one of these (and my code) could be the culprit. I'll look into each of these individually and see if they could be causing the problem. thanks. martin Allistair Crossley wrote: Hi, Hanging, memory up 50

RE: Logging With Tomcat 5.5

2005-08-02 Thread Allistair Crossley
Don't confuse not understanding with not sufficient. The instructions do lead to a correct configuration. However, here it is more explicitly. Allistair. Per-webapp logging == 1. Add log4j's jar to both your webapp's WEB-INF/lib folders 2. Add log4j.properties to both your

RE: Logging With Tomcat 5.5

2005-08-02 Thread Allistair Crossley
- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 02, 2005 8:31 AM To: Tomcat Users List Subject: RE: Logging With Tomcat 5.5 Don't confuse not understanding with not sufficient. The instructions do lead to a correct configuration. However, here it is more

RE: Upgrading from 5.0.28 to 5.5.9?

2005-08-03 Thread Allistair Crossley
Yes, some of which are pointed out in my blog at www.adcworks.com/blog -Original Message- From: Bjørn T Johansen [mailto:[EMAIL PROTECTED] Sent: 02 August 2005 22:44 To: Tomcat Users List Subject: Upgrading from 5.0.28 to 5.5.9? Anything one should be aware of when moving from

Blog: JK1.2 load balancing as solution to 100% uptime

2005-08-04 Thread Allistair Crossley
Hi Chaps, If anyone is interested, I blogged last night on my experience setting up 2 tomcats on 1 server and then load balancing them with JK 1.2, and tested that bringing 1 down, and then back up did not lose any requests. This for my web application is an ideal way to avoid downtime

RE: Blog: JK1.2 load balancing as solution to 100% uptime

2005-08-04 Thread Allistair Crossley
as solution to 100% uptime Allistair Crossley wrote: Hi Chaps, If anyone is interested, I blogged last night on my experience setting up ... It would be great if you provide a link to your blog :) Regards, Mladen

RE: Easy EL question

2005-08-08 Thread Allistair Crossley
you use .key or .value, e.g item.value['key'] item.key Allistair -Original Message- From: Guillaume Lederrey [mailto:[EMAIL PROTECTED] Sent: 08 August 2005 10:34 To: Tomcat Users List Subject: Easy EL question Hello ! I'm still having problem with all the different

RE: Easy EL question

2005-08-08 Thread Allistair Crossley
with it ... On 8/8/05, Allistair Crossley [EMAIL PROTECTED] wrote: you use .key or .value, e.g item.value['key'] item.key Allistair -Original Message- From: Guillaume Lederrey [mailto:[EMAIL PROTECTED] Sent: 08 August 2005 10:34 To: Tomcat Users List Subject: Easy EL

RE: Has anyone used Tomcat 5.5.9 connecting to MS SQL Server using JNDI?

2005-08-11 Thread Allistair Crossley
Hi, Can you please send more information, such as error messages, stdout logging and the configuration for your pool. Cheers, Allistair. -Original Message- From: Wylie, Ian [mailto:[EMAIL PROTECTED] Sent: 11 August 2005 10:28 To: Tomcat Users List Subject: RE: Has anyone used

RE: Has anyone used Tomcat 5.5.9 connecting to MS SQL Server using JNDI?

2005-08-11 Thread Allistair Crossley
(Unknown Source) 10-Aug-2005 15:30:09 org.apache.catalina.core.ApplicationContext log ERROR MESSAGE END = -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 11 August 2005 10:38 To: Tomcat Users List

RE: Has anyone used Tomcat 5.5.9 connecting to MS SQL Server using JNDI?

2005-08-11 Thread Allistair Crossley
the webappname.xml I get the same error. Any more ideas? Thanks, Ian -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 11 August 2005 11:53 To: Tomcat Users List Subject: RE: Has anyone used Tomcat 5.5.9 connecting to MS SQL Server using JNDI

RE: Tomcat 5.5 upgrade + logging problems

2005-08-12 Thread Allistair Crossley
Really, this has been discussed to death on this mailing list. The 5.5 logging page for a start gives you instructions for setting logging up. Also, I have a blog at www.adcworks.com/blog that touches on 5.5 configuration and logging. Allistair. -Original Message- From: Robert Abbate

RE: Out of memory

2005-08-12 Thread Allistair Crossley
Hi, You can modify the memory settings for the windows service also in the service.bat file itself. I've been known to uninstall the service, modify the bat file and then service install again. I don't like using the binary version so that should work for you. Secondly, OOMEs should be

RE: Out of memory

2005-08-12 Thread Allistair Crossley
Oh yes :) -Original Message- From: Wolfgang Hackl [mailto:[EMAIL PROTECTED] Sent: 12 August 2005 09:24 To: Tomcat Users List Subject: RE: Out of memory You can modify the memory settings for the windows service also in the service.bat file itself. I've been known to

RE: Tomcat W3C Access Log

2005-08-12 Thread Allistair Crossley
Hi, Just use the Access Log Value with the pattern you need. You can see the built-in patterns or define your own one. Check out the docs http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/valve.html Cheers, Allistair. -Original Message- From: news [mailto:[EMAIL PROTECTED]

RE: Tomcat 5.5 upgrade + logging problems

2005-08-12 Thread Allistair Crossley
: Robert Abbate [mailto:[EMAIL PROTECTED] Sent: 12 August 2005 01:37 To: Allistair Crossley Subject: RE: Tomcat 5.5 upgrade + logging problems I appreciate your response, but I can assure you there are many out there which are not able to get this going EVEN after following the scant

RE: Tomcat 5.5 upgrade + logging problems

2005-08-12 Thread Allistair Crossley
within the web application itself which is another example. -- end -- -Original Message- From: Allistair Crossley Sent: 12 August 2005 13:57 To: tomcat-user@jakarta.apache.org Cc: Robert Abbate Subject: RE: Tomcat 5.5 upgrade + logging problems Hi Robert, The fact

RE: Out of memory

2005-08-12 Thread Allistair Crossley
a development error like say forgetting to close an object something everyone on the list has done it is always better to learn of errors as early as possible so you do not carry it over to other apps. A lesson I have learned the hard way. Allistair Crossley wrote: Oh yes

RE: Cannot compile jsp pages with log4j statements -- Tomcat 5.5.9

2005-08-12 Thread Allistair Crossley
Can you post the JSP directives, and the scriplet that calls log4j? Also, you have been given a line number 39 .. can you work out which line this is in the work directory. Allistair. -Original Message- From: Gary Zhu [mailto:[EMAIL PROTECTED] Sent: 12 August 2005 16:17 To: Tomcat

RE: WEB-INF/lib/myjar.jar doesn't contain file xyz...

2005-08-12 Thread Allistair Crossley
Can you post the full exception stack? -Original Message- From: t.n.a. [mailto:[EMAIL PROTECTED] Sent: 12 August 2005 16:19 To: tomcat-user@jakarta.apache.org Subject: WEB-INF/lib/myjar.jar doesn't contain file xyz... Tomcat (5.5) seems reluctant to load a .jar file from the

RE: Problems with context

2005-08-12 Thread Allistair Crossley
And what is the error you are getting? 404? 500? Exception? What? Allistair. -Original Message- From: Fermin Jimenez Najar [mailto:[EMAIL PROTECTED] Sent: 12 August 2005 08:54 To: Tomcat Users List Subject: Problems with context Hi. I just has beginning to use the Tomcat, for

RE: Cannot compile jsp pages with log4j statements -- Tomcat 5.5.9

2005-08-12 Thread Allistair Crossley
logger = org.apache.log4j.Logger.getLogger(agent_report_all_in_jsp.class); % Gary -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: August 12, 2005 11:20 AM To: Tomcat Users List Subject: RE: Cannot compile jsp pages with log4j statements

RE: Virtual Host Config Question

2005-08-12 Thread Allistair Crossley
Hi, Not sure about this one. How are you routing requests to Tomcat? Are you using the JK connector with a mapping of /*.do? Do you allow image to be handled by Apache/IIS or is Tomcat doing it? You may need to ensure your static resource uris like images reference the context name, e.g

RE: Cannot compile jsp pages with log4j statements -- Tomcat 5.5.9

2005-08-12 Thread Allistair Crossley
- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: August 12, 2005 11:46 AM To: Tomcat Users List Subject: RE: Cannot compile jsp pages with log4j statements -- Tomcat 5.5.9 I think Jon maybe onto something ... to use agent_report_all_in_jsp.class your JSP would need

RE: Listening on multiple ips

2005-08-12 Thread Allistair Crossley
In the time it took you to write this email you could have tested this!! ;o) Looks reasonable so long as you want to connect direct to Tomcat on port 80 for each IP ... try it out and get back to us. Allistair. -Original Message- From: David Erickson [mailto:[EMAIL PROTECTED] Sent:

RE: tomcat connect to IIs - Upload problem

2005-08-15 Thread Allistair Crossley
Hi, What is the error that you receive when uploading 50kb? I know there was previously a bug with earlier versions of the now unsupported JK2 connector. If that's what you are using then you should upgrade to the latest JK 1.2.x connector. Allistair. -Original Message-

RE: Log4j writing to the same log file for different webapps

2005-08-18 Thread Allistair Crossley
shouldn't that be log4j.logger.voteLogger=DEBUG, vote ?? else where will it get voteLogger from? -Original Message- From: Derek Merren [mailto:[EMAIL PROTECTED] Sent: 18 August 2005 15:42 To: tomcat-user@jakarta.apache.org Subject: Log4j writing to the same log file for different

RE: Advice for Hosting Many Individual Webapps?

2005-08-18 Thread Allistair Crossley
we used to just schedule updates and let all our staff know there would be a small amount of downtime (for our intranet) but you can't do this on external production servers, so you need to go with either load balancing/clustering that allows you to close a node down *while also* letting

load balancing 2 tomcats on 1 machine question

2005-08-18 Thread Allistair Crossley
Hi, I thought I had this sussed but it seems I haven't :( 2 tomcats, 1 machine, JK to balance with stick sessions. The following configuration works in that JK routes requests to both the tomcats and so on. The issue is that if I look in the access logs for each tomcat I can see that 1

RE: load balancing 2 tomcats on 1 machine question

2005-08-18 Thread Allistair Crossley
Allistair Crossley wrote: Hi, I thought I had this sussed but it seems I haven't :( 2 tomcats, 1 machine, JK to balance with stick sessions. The following configuration works in that JK routes requests to both the tomcats and so on. Did you set the jvmRoute=tomcat1 inside

RE: Java 1.4.2_08 and up breaks Jstl

2005-08-22 Thread Allistair Crossley
Ensure that your class members all have getters, since person.language.localeName will call person.getLanguage().getLocaleName() Allistair. -Original Message- From: Martyn Hiemstra [mailto:[EMAIL PROTECTED] Sent: 22 August 2005 09:55 To: Tomcat Users List Subject: Re: Java

Deploying ROOT.war indicates missing application web.xml

2005-08-22 Thread Allistair Crossley
Hi Everyone, Just been deploying ROOT.war into webapps and it's failing to explode. The logs indicate; INFO: Deploying web application archive ROOT.war 22-Aug-2005 09:46:44 org.apache.catalina.startup.ContextConfig applicationWebConfig INFO: Missing application web.xml, using defaults only

RE: Java 1.4.2_08 and up breaks Jstl

2005-08-22 Thread Allistair Crossley
If you do have com.jatse.api.User.getLanguage() then the problem is that language is null. Test with c:if test=${empty person.language} language is null /c:if Allistair. -Original Message- From: Allistair Crossley Sent: 22 August 2005 10:19 To: Tomcat Users List Subject: RE

RE: Deploying ROOT.war indicates missing application web.xml

2005-08-22 Thread Allistair Crossley
, Allistair. -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: 22 August 2005 10:56 To: Tomcat Users List Subject: Re: Deploying ROOT.war indicates missing application web.xml On 8/22/05, Allistair Crossley [EMAIL PROTECTED] wrote: Hi Everyone, Just been

RE: Deploying ROOT.war indicates missing application web.xml

2005-08-22 Thread Allistair Crossley
. -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: 22 August 2005 11:32 To: Tomcat Users List Subject: Re: Deploying ROOT.war indicates missing application web.xml On 8/22/05, Allistair Crossley [EMAIL PROTECTED] wrote: Hi, Just to reconfirm, and also to take

RE: Deploying ROOT.war indicates missing application web.xml

2005-08-22 Thread Allistair Crossley
, Allistair. -Original Message- From: Allistair Crossley Sent: 22 August 2005 11:48 To: Tomcat Users List Subject: RE: Deploying ROOT.war indicates missing application web.xml Hi, Yes, the default ROOT.war does appear to work in the way I have been trying to deploy my own

RE: Deploying ROOT.war indicates missing application web.xml

2005-08-22 Thread Allistair Crossley
? http://ant.apache.org/faq.html#winzip-lies Best regards Robert -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 22 August 2005 11:59 To: Tomcat Users List Subject: RE: Deploying ROOT.war indicates missing application web.xml Hi, OK, I've found

RE: tomcat 5.5.9 not recompiling JSPs

2005-08-22 Thread Allistair Crossley
compiled pages are just classes, and so long as they are mapped correctly in the web.xml you'll be ok. -Original Message- From: Paul Singleton [mailto:[EMAIL PROTECTED] Sent: 22 August 2005 15:13 To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: tomcat 5.5.9 not recompiling

RE: Has anyone used Tomcat 5.5.9 connecting to MS SQL Server usin g JNDI?

2005-08-23 Thread Allistair Crossley
()) ; } == -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 11 August 2005 12:10 To: Tomcat Users List Subject: RE: Has anyone used Tomcat 5.5.9 connecting to MS SQL Server

RE: logging tomcat 5.5

2005-08-23 Thread Allistair Crossley
actually you don't *have* to use log4j, since 5.5.8/9 tomcat has shipped with a customised jdk logging configuration (juli) that sets up a localhost log for you out of the box -Original Message- From: Alain Gaeremynck [mailto:[EMAIL PROTECTED] Sent: 23 August 2005 16:09 To: Tomcat

RE: jndi question

2005-08-23 Thread Allistair Crossley
Hi, The documentation says; Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup(java:comp/env); DataSource ds = (DataSource) envCtx.lookup(jdbc/EmployeeDB); However, we use; try { Context ctx = new InitialContext(); dataSource = (DataSource)

RE: jndi question

2005-08-23 Thread Allistair Crossley
16:41 To: Tomcat Users List Subject: Re: jndi question no, that didn't help. thanks though. could this maybe be a class problem? am i using the wrong jar files? i can list the files i'm using if anyone thinks it might be the problem Allistair Crossley wrote: Hi

RE: jndi question

2005-08-23 Thread Allistair Crossley
To: Tomcat Users List Subject: Re: jndi question thank you, i will Allistair Crossley wrote: If you could please send 1. server.xml 2. web.xml 3. context.xml or yourwebapp.xml 4. list of files in common/lib 5. list of files in yourwebapp/WEB-INF/lib I'd be happy to see if I

RE: jndi question

2005-08-23 Thread Allistair Crossley
Hi, He isn't using that method of configuration, that's just 1 option of 3. He is nesting his Context definition within the server.xml Host element. Although this is now scorned, it's still valid. The 2 other methods are contextname.xml as you say, and also META-INF/context.xml within the

RE: Has anyone used Tomcat 5.5.9 connecting to MS SQL Server using JNDI and Connection Pooling?

2005-08-24 Thread Allistair Crossley
?? Many thanks for your help with this. Best Regards, Ian -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 23 August 2005 16:05 To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: Has anyone used Tomcat 5.5.9 connecting to MS SQL Server usin g

RE: Has anyone used Tomcat 5.5.9 connecting to MS SQL Server using JNDI and Connection Pooling?

2005-08-24 Thread Allistair Crossley
Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 23 August 2005 16:05 To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: Has anyone used Tomcat 5.5.9 connecting to MS SQL Server usin g JNDI? Hi Wade, Can you perhaps resend the configuration files server.xml

RE: Tomcat 5.5.9 missing jars ?

2005-08-24 Thread Allistair Crossley
I don't think that's shipped with Tomcat 5.5.9. What is the error you are getting? Are you running your own web applications yet or just testing the default ROOT webapp? Allistair. -Original Message- From: Srinath Narasimhan [mailto:[EMAIL PROTECTED] Sent: 24 August 2005 14:29 To:

RE: Tomcat 5.5.9 missing jars ?

2005-08-24 Thread Allistair Crossley
. -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 24, 2005 9:29 AM To: Tomcat Users List Subject: RE: Tomcat 5.5.9 missing jars ? I don't think that's shipped with Tomcat 5.5.9. What is the error you are getting? Are you running your own web

RE: how to update tomcat?

2005-08-24 Thread Allistair Crossley
Hi, Not sure if there's a migration guide, but roughly 1. Download Tomcat 5.0.x or 5.5.x 2. Read the configuration guide for those parts you've configured in 4.1 to see how to do it in 5.0.x/5.5.x 3. Move your webapp WAR to the new webapps, make configuration changes 4. Test. Your webapp

RE: Deploying war in another directory

2005-08-24 Thread Allistair Crossley
you can change the appBase attribute per Host but I am not aware of whether you can mix based on webapp name. Allistair. -Original Message- From: XYZ [mailto:[EMAIL PROTECTED] Sent: 24 August 2005 15:51 To: tomcat-user@jakarta.apache.org Subject: Deploying war in another directory

RE: newbie with a short question

2005-08-24 Thread Allistair Crossley
Hi, I did this the other day with a bat file. First I cause an open/save prompt with response.addHeader(Content-Disposition, attachment; filename=somebat.bat); Then I use the response.getOutputStream() and stream the bat file down it. This requires of course that you get an inputstream to

RE: system.property in web.xml

2005-08-25 Thread Allistair Crossley
Hi, This is not mandated by the Servlet specification. What you *could* do is write a servlet that is mapped in web.xml and set init parameters for that servlet. Also set the load-on-startup to 1. Then in the servlet init method you can extract the init parametes and call System.setProperty

Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Allistair Crossley
Hi, I've decided to try out the Deployer tool for the first time to see if it makes like a little easier for deployments to our test servers. I've used the 5.5.11 Alpha Deployer as I noted some threads indicating a problem with 5.5.9's version. I've come across the following when running

RE: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Allistair Crossley
Subject: Re: Client Deployer 5.5.11 NullPointerException On 8/25/05, Allistair Crossley [EMAIL PROTECTED] wrote: Hi, I've decided to try out the Deployer tool for the first time to see if it makes like a little easier for deployments to our test servers. I've used the 5.5.11 Alpha

RE: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Allistair Crossley
; } -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: 25 August 2005 13:05 To: Tomcat Users List Subject: Re: Client Deployer 5.5.11 NullPointerException On 8/25/05, Allistair Crossley [EMAIL PROTECTED] wrote: Hi, No I don't think that's it, both

RE: jndi question

2005-08-25 Thread Allistair Crossley
, web.xml, context.xml (that i placed in my web/META-INF folder), and the class I'm using to make the connection. Thanks again to everyone who has helped me so far. sean Allistair Crossley wrote: Hi, He isn't using that method of configuration, that's just 1 option

RE: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Allistair Crossley
, Allistair. -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: 25 August 2005 14:55 To: Tomcat Users List Subject: Re: Client Deployer 5.5.11 NullPointerException On 8/25/05, Allistair Crossley [EMAIL PROTECTED] wrote: Hi, I'd really love to I assure you

RE: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Allistair Crossley
Well that's really unexpected. The only other 2 differences are perhaps that I am on Windows, and that I did this with the 5.5.11-alpha download from the site. I can't think of anything else if you say that copying the JDT jar should work. It simply doesn't here and I have tested this with pure

RE: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Allistair Crossley
PROTECTED] Sent: 25 August 2005 16:56 To: Tomcat Users List Subject: Re: Client Deployer 5.5.11 NullPointerException Am Donnerstag, 25. August 2005 17:03 schrieb Allistair Crossley: Well that's really unexpected. The only other 2 differences are perhaps that I am on Windows, and that I

RE: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Allistair Crossley
Donnerstag, 25. August 2005 17:57 schrieb Allistair Crossley: Thanks, that's good to know, it must be something to do with my environment. Are you saying then that you did not have to copy any JDT jars into your deployer? No, I didn't have to copy any jars since ant uses sun's javac

Undeploy leaves residual files

2005-08-26 Thread Allistair Crossley
Hi, I've noticed that undeploy of my web applications that the ROOT folder is left behind as follows; ROOT WEB-INF classes log4j.properties lib ehcache.jar struts.jar The web application has a ContextListener that calls LogManager shutdowns and

RE: upgrade to 5

2005-08-26 Thread Allistair Crossley
Hi there, Of course you can, you just need to be aware of what elements of Tomcat you need to configure, e.g JNDI resources and so on and then lookup the way you do that in Tomcat 5. It's not a *far* cry from Tomcat 3/4, you still use server.xml for a bunch of stuff, but it's recommended that

RE: upgrade to 5

2005-08-26 Thread Allistair Crossley
sure I have plenty of work cut out for me :) Off I go - Original Message - From: Allistair Crossley [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Friday, August 26, 2005 11:48 AM Subject: RE: upgrade to 5 Hi there, Of course you can

RE: IIS6 - ASP.Net - JK - TC5 - tomcatAuthentication=false: user auth not getting passed?

2005-09-07 Thread Allistair Crossley
Hi, You probably need to ensure that the IIS virtual directory for the jakarta dll has Directory Security set to Windows Integrated? Allistair. -Original Message- From: Tracy Spratt [mailto:[EMAIL PROTECTED] Sent: 07 September 2005 01:03 To: Tomcat Users List; [EMAIL PROTECTED]

<    1   2   3   4   5   6   7   >