RE: Tomcat Documentation Thoughts

2004-11-24 Thread Allistair Crossley
Hi, Well you are one of those asking about logging. Don't get overly exited about the logging detail I have added to the logging page. The kind of logging you are attempting to do I believe you are confused about (i may be wrong). You are setting up logging from *within* Tomcat. This will tell

RE: Tomcat Documentation Thoughts

2004-11-24 Thread Allistair Crossley
That's useful thanks Ben :) Allistair. > -Original Message- > From: Ben Souther [mailto:[EMAIL PROTECTED] > Sent: 24 November 2004 14:55 > To: Tomcat Users List > Subject: RE: Tomcat Documentation Thoughts > > > >Let's get a page detailing a step by step how to write and contribute > >

RE: [OT] SCWCD Exam 1.4

2004-11-24 Thread Allistair Crossley
Here's it's > ISBN: > 0596005407 > If you know of a reason I shouldn't buy this one and > January's is better let > me know. I'm always open to recommendations. > > Andoni. > > - Original Message - > From: "Allistair Crossley&quo

[OT] RE: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Allistair Crossley
This sounds like the code building the initial page is also being sent down the reponse for some reason. Some code would be useful from the servlet. This kind of thing normally requires using a RequestDispatcher or like ben says, sendRedirect. Allistair > -Original Message- > From: Mi

RE: 5.5.4 SEVERE: Error unregistering mbean in stdout every 5-10 mins.

2004-11-24 Thread Allistair Crossley
Hi, Bill already fixed it I think .. " Thanks for the report. http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=81697 "Allistair Crossley" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Yoav, Has this one been noted by your good self for inves

RE: enabling jsp-debugging using lomboz, eclipse and tomcat 5.5.4

2004-11-24 Thread Allistair Crossley
if you post this one more time i will scream at you. if you do not get an answer, nobody knows the answer. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 24 November 2004 17:01 > To: [EMAIL PROTECTED] > Subject: enabling jsp-debugging using lomboz, eclips

RE: enabling jsp-debugging using lomboz, eclipse and tomcat 5.5.4

2004-11-24 Thread Allistair Crossley
he three > appeared at the > same time in my mailclient, > i surely didnt want to spam the mailinglist > > -Ursprüngliche Nachricht- > Von: Allistair Crossley [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 24. November 2004 18:06 > An: Tomcat Users List > Betr

RE: [OT] SCWCD Exam 1.4

2004-11-24 Thread Allistair Crossley
; The "Book Description" section in Amazon is the exact the > same as in the > Ozzie site! Is it just the same book with a different cover? > > Andoni. > > > - Original Message - > From: "Allistair Crossley" <[EMAIL PROTECTED]> > New

RE: Tomcat 5.5.4 fails to recompile JSPs

2004-11-25 Thread Allistair Crossley
to me it sounds like you are compiling your jsps without a reloadable context. have you set reloadable="true" on your -Original Message- > From: Carlos A. Carnero Delgado [mailto:[EMAIL PROTECTED] > Sent: 25 November 2004 06:08 > To: [EMAIL PROTECTED] > Subject: Tomcat 5.5.4 fails to reco

RE: Error in web.xml

2004-11-25 Thread Allistair Crossley
you will need to tell us why you believe it is *not* valid. have you an error message to share? Allistair > -Original Message- > From: akki [mailto:[EMAIL PROTECTED] > Sent: 25 November 2004 09:08 > To: Tomcat Users List > Subject: Error in web.xml > > > hi all > > i want to know

RE: Working directory for tomcat service on W2K

2004-11-25 Thread Allistair Crossley
not sure about that, i assume you use the .exe. is there a particular issue it causes? however, we run Tomcat as a service but used the bin/service batch file to install it and this keeps it all contained wherever you installed Tomcat. Allistair > -Original Message- > From: Mark O'Drisc

RE: Error in web.xml

2004-11-25 Thread Allistair Crossley
> org.apache.catalina.startup.Catalina.process(Catalina.java:180) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess > orImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke

RE: Error in web.xml

2004-11-25 Thread Allistair Crossley
e before listeners block. > > hope it helps > -reynir > > > Allistair Crossley wrote: > > yes, so the error tells you that you ordering of elements > is wrong. check the order against > (icon?,display-name?,description?,distributable?,context-param > *,f

RE: No more JK2 ?

2004-11-25 Thread Allistair Crossley
http://jakarta.apache.org/tomcat/connectors-doc/jk2/index.html Allistair > -Original Message- > From: Boulay Arnaud [mailto:[EMAIL PROTECTED] > Sent: 25 November 2004 10:29 > To: [EMAIL PROTECTED] > Subject: No more JK2 ? > > > Looking for some more details on this crucial subject. > IM

RE: and access log

2004-11-25 Thread Allistair Crossley
no, i believe the access log valve will log the request from the user's browser, therefore x.jsp will be logged, as y.jsp is gotten to by request forwarding from x.jsp. Allistair > -Original Message- > From: LAM Kwun Wa Joseph [mailto:[EMAIL PROTECTED] > Sent: 25 November 2004 11:40 >

RE: [OT] SCWCD Exam 1.4

2004-11-26 Thread Allistair Crossley
emiss in not mentioning that Manning is > putting out a > > second edition of it's SCWCD study guide. The second > edition has been > > updated for the new exam. > > > > Manning's ISBN is 1932394389 (that's the one scheduled for January) &g

RE: help on JDNI , DBCP with oracle

2004-11-26 Thread Allistair Crossley
check for commons-collections.jar in your webapp's WEB-INF/lib folder. if you don't have it download from jakarta. > -Original Message- > From: lydie soler [mailto:[EMAIL PROTECTED] > Sent: 26 November 2004 11:02 > To: [EMAIL PROTECTED] > Subject: help on JDNI , DBCP with oracle > > > H

RE: help on JDNI , DBCP with oracle

2004-11-26 Thread Allistair Crossley
erm, no, there should *not* be a folder in WEB-INF/classes called org/apache. You should obtain the commons-collections.jar and place it in WEB-INF/lib > -Original Message- > From: Vinayagam [mailto:[EMAIL PROTECTED] > Sent: 26 November 2004 11:23 > To: Tomcat Users List > Subject: Re: he

RE: Tomcat

2004-11-26 Thread Allistair Crossley
i think you can comment it out if you don't need it. jk will connect to the ajp connector instead on port 8009 by default. > -Original Message- > From: Allen Beacon [mailto:[EMAIL PROTECTED] > Sent: 26 November 2004 11:28 > To: [EMAIL PROTECTED] > Subject: RE: Tomcat > > > Thanks to all

RE: Where is the 2.4 spec.?

2004-11-26 Thread Allistair Crossley
jeez, ever heard of google? http://www.jcp.org/aboutJava/communityprocess/final/jsr154/ > -Original Message- > From: Andoni [mailto:[EMAIL PROTECTED] > Sent: 26 November 2004 12:07 > To: Tomcat Users List > Subject: Where is the 2.4 spec.? > > > Hello, > > Can anybody give me the addre

RE: help on JDNI , DBCP with oracle

2004-11-26 Thread Allistair Crossley
: RE: help on JDNI , DBCP with oracle > > > Wrong suggestion. It will cause NoClassDefFoundException > since Tomcat has it > in common/lib. > > -----Original Message- > From: Allistair Crossley [mailto:[EMAIL PROTECTED] > Sent: November 26, 2004 6:21 AM > T

RE: help on JDNI , DBCP with oracle

2004-11-26 Thread Allistair Crossley
Tomcat Users List' > Subject: RE: help on JDNI , DBCP with oracle > > > Do you mean commons-collection is no longer in 5.5.4 common/lib? > > -Original Message- > From: Allistair Crossley [mailto:[EMAIL PROTECTED] > Sent: November 26, 2004 10:14 AM > To: Tomcat U

RE: [OT] Which webframework to use?

2004-11-29 Thread Allistair Crossley
+1. we've created an intranet on struts, integrated backend solutions like a CMS, search engine, custom applications, SQL server etc... is very cool. Allistair. > -Original Message- > From: Peter Mengell [mailto:[EMAIL PROTECTED] > Sent: 29 November 2004 10:00 > To: Tomcat Users List >

RE: xml pages on Tomcat server???

2004-11-29 Thread Allistair Crossley
this is not really a tomcat question. you can configure your web server (or tomcat I suppose in the global web.xml) to handle MIME extensions for wap files. but most importantly your JSP/Servlet code would need to set the response content type to the appropriate WAP types which is not a question

RE: Tomcat 5.0.x or 5.5.x in production

2004-11-29 Thread Allistair Crossley
and you'll also have to factor in a little re-configuration too, for example the much-debated logging (i.e Logger removal in 5.5), and also a slightly different JNDI datasource setup. if it's any interest to you we've had 5.5.4 (sensibly or not) running our production and dev servers for 2 weeks

RE: What Connector Should I Use?

2004-11-29 Thread Allistair Crossley
hope this is not a thread hijack .. in terms of IIS, will the isapi_redirect.dll be recommended for use rather than the JK2 isapi_redirector2.dll? cheers, Allistair. > -Original Message- > From: Phillip Qin [mailto:[EMAIL PROTECTED] > Sent: 29 November 2004 16:52 > To: 'Tomcat Users Lis

RE: jdbc via ResourceLink in context.xml not working in 5.5.4

2004-11-30 Thread Allistair Crossley
Hi Jeff, If everything is setup the exact way it was ni 5.0.28 that will be your problem. There is a slightly new format for how to define your datasources that looks like this. If as you say this is in global resources, then then in your webapp.xml file in conf/Catalina/localhost you shou

RE: Problems with datasource/DB Connection

2004-11-30 Thread Allistair Crossley
Can you supply Tomcat version. Also, have you put your mySQL drivers JAR into tomcat/common/lib? Cheers, Allistair > -Original Message- > From: bEn Fries [mailto:[EMAIL PROTECTED] > Sent: 30 November 2004 09:26 > To: [EMAIL PROTECTED] > Subject: Problems with datasource/DB Connection >

RE: Problems with datasource/DB Connection

2004-11-30 Thread Allistair Crossley
error didn't change still > > DB connection was not aquired. > (Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver') > > Thank you very much for your help! > > Ben > > > Allistair Crossle

RE: Problems with datasource/DB Connection

2004-11-30 Thread Allistair Crossley
lieve that I have been so dumb that I missed that jar > > Thank you very much man! You saved ..errr.. maybe not my life but > definatly my master thesis ;-) > > Ben > > > Allistair Crossley schrieb: > > >No, I meant the drivers for mySQL, the database y

RE: What's the defaukt Admin user id/password

2004-12-01 Thread Allistair Crossley
exactly. it's right under 2nd para Configuring Manager Application. people don't write documentation for the good of their health, they write it to explain these types of administrative features. if yoav or others spend time answering questions they already answered in documentation, then we are

RE: UTF-8 Encoding in Jsp

2004-12-01 Thread Allistair Crossley
Hi, These encoding issues are always a nightmare ;) There are some relevant areas of the Servlet spec you may want to look at wrt encoding, notably (Internationalization and Request data encoding). In terms of UTF-8 not coming back correctly from your database you need to ensure that when the

RE: ssl configuration. 5.0.28

2004-12-01 Thread Allistair Crossley
Hi There is no concept of "definitive", only "valid". Look at the connector reference for 5.0 and make your mind up about what suits your needs. The SSL specific attributes are also on this page. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html Cheers! Allistair > -Origin

RE: ssl configuration. 5.0.28

2004-12-01 Thread Allistair Crossley
lol, that's a buffy-ism is it not ;) > -Original Message- > From: Pawson, David [mailto:[EMAIL PROTECTED] > Sent: 01 December 2004 12:33 > To: Tomcat Users List > Subject: RE: ssl configuration. 5.0.28 > > > > > -Original Message- > From: QM > > : which is def

RE: ssl configuration. 5.0.28

2004-12-01 Thread Allistair Crossley
. > -Original Message- > From: Pawson, David [mailto:[EMAIL PROTECTED] > Sent: 01 December 2004 14:08 > To: Tomcat Users List > Subject: RE: ssl configuration. 5.0.28 > > > > > -Original Message- > From: Allistair Crossley > > Th

RE: ssl configuration. 5.0.28

2004-12-01 Thread Allistair Crossley
> > -Original Message- > From: Allistair Crossley > > There is no concept of "definitive", only "valid". > > In which case the example in > http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html > would seem to be w

RE: ssl configuration. 5.0.28

2004-12-01 Thread Allistair Crossley
i just downloaded 5.0.30, uncommented the SSL Connector, generated a key with keytool -genkey -alias tomcat -keyalg RSA and started tomcat and the messages show 8443 is running. i requset localhost:8443 and I get a sequence of 10 squares, but it's certainly no 404 error. my connector is the ou

RE: ssl configuration. 5.0.28

2004-12-01 Thread Allistair Crossley
correction to my last post about SSL page returning squares .. I was requesting http. https://localhost:8443/ works for my suggestions with default tomcat page. > -Original Message- > From: Pawson, David [mailto:[EMAIL PROTECTED] > Sent: 01 December 2004 14:38 > To: Tomcat Users List >

RE: ssl configuration. 5.0.28

2004-12-01 Thread Allistair Crossley
actually, I notice you are using keystoreFile. are you certain when you ran keystore that you used -keystore parameter? it might well be that. i generated my key without using -keystore which tomcat looks at by default. try getting that working first. Allistair. > -Original Message- >

RE: ssl configuration. 5.0.28

2004-12-01 Thread Allistair Crossley
> -Original Message- > From: Allistair Crossley > > correction to my last post about SSL page returning squares > .. I was requesting http. > > https://localhost:8443/ > > works for my suggestions with default tomcat page. > > And

RE: Windows service and multiple instances

2004-12-01 Thread Allistair Crossley
that not entirely the case, as the service.bat examines CATALINA_HOME. if the env variable is set to 1 installation, teh 2nd service install will use that value also. modify service.bat in each installation. you could try remarking out this part rem if not "%CATALINA_HOME%" == "" goto gotHome

RE: Fedora Core 3

2004-12-01 Thread Allistair Crossley
i have seen some 5.0.28 installations on fedora core 2 if that helps! if you do decide to upgrade to version 3 and get tomcat 5 working, *please* let this list know about it so it can be added to the list of supported platforms and help others. > -Original Message- > From: Matt Bathje [

RE: class file has wrong version?

2004-12-01 Thread Allistair Crossley
Hi Your JAVA_HOME needs to be set to JDK 5.0 Allistair > -Original Message- > From: Chris Cherrett [mailto:[EMAIL PROTECTED] > Sent: 01 December 2004 17:10 > To: Tomcat Users List > Subject: class file has wrong version? > > > I am trying to deploy with a client and am getting an error

RE: Tomcat 5.0.27/Apache 2.0.40 with mutible developers

2004-12-01 Thread Allistair Crossley
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/host.html section User Web Applications may help. > -Original Message- > From: Dwayne Ghant [mailto:[EMAIL PROTECTED] > Sent: 01 December 2004 17:31 > To: Tomcat Users List > Subject: Re: Tomcat 5.0.27/Apache 2.0.40 with mutible devel

RE: Character Encodig/ CodePage Problem

2004-12-01 Thread Allistair Crossley
do your jsps have these directives at the very top (although they ought to be these values by default, certainly in servlet 2.4 spec - but I see you are using Tomcat 4, so maybe it was different then). <%@ page contentType="text/html;charset=ISO-8859-1" %> <%@ page pageEncoding="ISO-8859-1" %>

RE: Runtime exec (again)

2004-12-02 Thread Allistair Crossley
Hi, I can't test this because shutdown is only a command on Windows XP it seems ... that's what you're running right? I did however try ipconfig and that works .. <% try { Runtime runtime = Runtime.getRuntime(); Process proc = runtime.exec("cmd.exe /C ipc

RE: Asynchronous statistics logger

2004-12-02 Thread Allistair Crossley
this strikes me as being something JMS would handle well, but Tomcat doesn't support JMS by default. I have seen people installing openJMS on Tomcat though. as for the startup/shutdown, that's going to be a Context Listener you want to implement and add to web.xml with . that's about all i can

RE: Errors in Log file

2004-12-02 Thread Allistair Crossley
a cursory glance on Google with "tomcat java.net.SocketException: Connection reset by peer" This exception occurs when a client made a request, and before receiving the full response, either of the following happened: client's browser has been closed. client's connection has been disconnected

RE: LogOut from JDBC Realm

2004-12-02 Thread Allistair Crossley
instead of doing this, on your logout confirm JSP, use a meta expires tag to kill everything, then back will not function. http://www.htmlhelp.com/reference/wilbur/head/meta.html > -Original Message- > From: Chris Chappell [mailto:[EMAIL PROTECTED] > Sent: 02 December 2004 11:52 > To: [E

RE: common image practice?

2004-12-02 Thread Allistair Crossley
> 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 > You could address your problem at build time instead of runtime: have > Ant (or whatever)

RE: Character Encodig/ CodePage Problem

2004-12-02 Thread Allistair Crossley
where are you pulling the actual character data from? a database or is in *in* the jsp? > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 02 December 2004 07:53 > To: [EMAIL PROTECTED] > Subject: Re: Character Encodig/ CodePage Problem > > > Hi, > the HTML

RE: Can i make Tomcat read my own Deployment Descriptor??

2004-12-02 Thread Allistair Crossley
you might start by telling us what "specific" things you want to have tomcat do for you. yes you can read whatever files you like be it xml, text, properties or whatever but you will have to be a little more "specific" about the "specific" things you want tomcat to do. as far as struts is conce

RE: JSTL forEach acting funny

2004-12-02 Thread Allistair Crossley
for a question on forEach I would expect you to have copied in the forEach part ;) i am surprised if you are seeing the actual dollar signs and braces as tomcat should be picking those up as expression language. is there any errors in stdout? also, which scope are you placing your results into a

RE: JSTL forEach acting funny

2004-12-02 Thread Allistair Crossley
rEach acting funny > > > On Thursday 02 December 2004 07:39 am, Allistair Crossley wrote: > > for a question on forEach I would expect you to have copied in the > forEach part ;) i am surprised if you are seeing the actual dollar > signs and braces as tomcat should be pick

RE: JSTL forEach acting funny

2004-12-02 Thread Allistair Crossley
ts. > -Original Message- > From: sbeam [mailto:[EMAIL PROTECTED] > Sent: 02 December 2004 13:14 > To: Tomcat Users List > Subject: Re: JSTL forEach acting funny > > > On Thursday 02 December 2004 08:07 am, Allistair Crossley wrote: > > you need > > &

RE: JSTL forEach acting funny

2004-12-02 Thread Allistair Crossley
that will be because the tag lib is imported so that will work, but your webapp is not running in 2.4 mode. you mention you changed your server.xml .. that's wrong. i said web.xml and this will be at webapps/yourwebapp/WEB-INF/web.xml Allistair. > -Original Message- > From: sbeam [mai

RE: JSTL forEach acting funny

2004-12-02 Thread Allistair Crossley
EL disabling I assume like isELIgnored sorry pal! > -Original Message- > From: sbeam [mailto:[EMAIL PROTECTED] > Sent: 02 December 2004 13:45 > To: Tomcat Users List > Subject: Re: JSTL forEach acting funny > > > On Thursday 02 December 2004 08:27 am, Allist

RE: Can i make Tomcat read my own Deployment Descriptor??

2004-12-02 Thread Allistair Crossley
gt; -Original Message- > From: Gokul Jeyapaul [mailto:[EMAIL PROTECTED] > Sent: 02 December 2004 13:03 > To: [EMAIL PROTECTED]; Allistair Crossley > Subject: Re:Can i make Tomcat read my own Deployment Descriptor?? > > >   > Sir, > Thanx for your reply. > I

RE: not starting up

2004-12-02 Thread Allistair Crossley
are you quitting from the shell afterwards? does ps -e show a bunch of JVM processes pointed to tomcat? is there any exception logging in tomcat's logs? also, try to use nohup nohup ./startup.sh & Allistair. > -Original Message- > From: James Peterson [mailto:[EMAIL PROTECTED] > Sent:

RE: final variable value lost in anonynous inner class

2004-12-02 Thread Allistair Crossley
this looks like a school assignment ;) > -Original Message- > From: Oliver Jonas [mailto:[EMAIL PROTECTED] > Sent: 02 December 2004 15:00 > To: [EMAIL PROTECTED] > Subject: JSP: final variable value lost in anonynous inner class > > > Hi, > > > > I have the following test JSP (see be

RE: Badly need any hint on Illegal State exception

2004-12-02 Thread Allistair Crossley
look at at org.apache.jsp.DreamScreen_jsp._jspService(DreamScreen_jsp.java:564) in tomcat/work .. it gives you the line number. > -Original Message- > From: Pradeep Chauhan [mailto:[EMAIL PROTECTED] > Sent: 02 December 2004 17:30 > To: Tomcat Users List > Subject: Badly need any hint on

RE: number of sessions and OutOfMemoryException

2004-12-02 Thread Allistair Crossley
well, that's one (not so good) way to look at it. i can't think why you would want session data to hang around forever in your web application. either add session-timeout, or determine a time when session.invalidate() can be called. you don't really want to throw memory at a system that is effec

RE: Migrating from Apache2/JK2 to Tomcat standalone

2004-12-03 Thread Allistair Crossley
Hi > 1) Since Tomcat now will be serving all the static content as > well, will it require more threads than when only serving dynamic content? That doesn't *have* to be the case. You could still have Apache serve up your static resources by pointing the document root at your webapp's root dire

RE: Migrating from Apache2/JK2 to Tomcat standalone

2004-12-03 Thread Allistair Crossley
OK, i've just re-read your message and d'oh I see you want to move away from Apache and JK2. Sorry. Will take another look ... > -Original Message- > From: Allistair Crossley > Sent: 03 December 2004 11:23 > To: Tomcat Users List > Subject: RE: Migrating f

RE: Migrating from Apache2/JK2 to Tomcat standalone

2004-12-03 Thread Allistair Crossley
OK :) > 1) Since Tomcat now will be serving all the static content as > well, will it require more threads than when only serving dynamic content? Same as before. > 2) In Apache I'm using mod_rewrite to rewrite requests to > mydomain.com/ to mydomain.com/myapp. I've implemented this behaviour

RE: reloading, 5.0, context.xml

2004-12-03 Thread Allistair Crossley
You should do this ... Create a file called mywebapp.xml (matching your webapp's name of course) and whack it in tomcat/conf/Catalina/localhost In that file Note this is for 5.0.x NOT 5.5.x which removes the path attribute. Restart. > -Original Message- > From: Christoph Kukulies [

2 Servers, 1 CMS, 1 Database Server + ? Tomcats ...

2004-12-03 Thread Allistair Crossley
Hi We are running 1 instance of Tomcat on a 2 yr old dual processor P3 1Ghz with 1GB RAM. The application is an intranet, and it integrates with SQL Server (running on the same server) via Tomcat-managed JNDI pools. The application has a business logic layer that has to cope with a mixture of c

RE: [ANN] Apache Jakarta Tomcat 5.5.5-alpha Released

2004-12-03 Thread Allistair Crossley
Hi Andoni, The docs have sections on Deployer and Admin, not sure about Embedded. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/index.html I know what you mean, and I am currently working on complete new documentation set for some of these missing areas (although you may find that someone sa

RE: [ANN] Apache Jakarta Tomcat 5.5.5-alpha Released

2004-12-03 Thread Allistair Crossley
orking on the Docs. I am always eager > to help in that > area if you need any. Just let me know. > > Andoni. > > > - Original Message - > From: "Allistair Crossley" <[EMAIL PROTECTED]> > Newsgroups: gmane.comp.jakarta.tomcat.user > Sent: Fri

RE: webapps ROOT folder significance

2004-12-04 Thread Allistair Crossley
In versions prior to 5.5, you could make your own webapp the root context by using an empty path attribute on the Context for your web application. However, in 5.5 you cannot do this and *must* use the ROOT folder for your web application *if* you want the web application accessible from http://

RE: Chirag: Which Version is Stable 5.5.2 Is this Version Stable

2004-12-04 Thread Allistair Crossley
In terms of 5.5, 5.5.4 is the current stable version. In terms of 5.0, 5.0.29 is the current stable version with 5.0.30 coming soon. > I have 5.5.2 version it works properly but the problem is that when I try to > access it with the IP Address http://160.160.160.160/ >

RE: webapps ROOT folder significance

2004-12-04 Thread Allistair Crossley
6:52 To: Tomcat Users List Cc: Subject: Re: webapps ROOT folder significance On Sat, 4 Dec 2004 16:25:59 -, Allistair Crossley <[EMAIL PROTECTED]> wrote: > In versions prior to 5.5, you could make your own webapp the ro

RE: webapps ROOT folder significance

2004-12-04 Thread Allistair Crossley
; >Remy Maucherat <[EMAIL PROTECTED]> wrote: >On Sat, 4 Dec 2004 16:25:59 -, Allistair Crossley >wrote: >> In versions prior to 5.5, you could make your own webapp the root context >by using an empty path attribute on the Contex

RE: 5.5.4 problems deploying with context descriptors

2004-12-04 Thread Allistair Crossley
yes there are some small changes to Context configuration. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html -Original Message- From: hanasaki [mailto:[EMAIL PROTECTED] Sent: Sat 04/12/2004 22:11 To: LIST - Tomcat Users Cc:

RE: 5.5.4 problems deploying with context descriptors

2004-12-04 Thread Allistair Crossley
yes for Context and Resource (e.g JDBC Datasource) configuration. read the tomcat configuration documentation online. -Original Message- From: hanasaki [mailto:[EMAIL PROTECTED] Sent: Sat 04/12/2004 22:11 To: LIST - Tomcat Users Cc: Sub

RE: 5.5.4 problems deploying with context descriptors

2004-12-04 Thread Allistair Crossley
oyment. What do you mean "yes". Please explain a bit more. Allistair Crossley wrote: > yes for Context and Resource (e.g JDBC Datasource) configuration. read the tomcat configuration documentation online. > > -Original M

RE: 5.5.4 problems deploying with context descriptors

2004-12-04 Thread Allistair Crossley
e.org/msg140750.html Allistair Crossley wrote: > Hi > > how about you explain a bit more about your problem > > >>Is this a known problem? Has the config process changed? > > > yes it has.

[OT] RE: URL encoding in JSP?

2004-12-06 Thread Allistair Crossley
http://java.sun.com/j2se/1.5.0/docs/api/java/net/URLEncoder.html or JSTL > -Original Message- > From: Shakeel Ahmad [mailto:[EMAIL PROTECTED] > Sent: 06 December 2004 12:30 > To: Tomcat Users List > Subject: URL encoding in JSP? > > > how to send & characters in the URLs in JSP code.

RE: web.xml

2004-12-06 Thread Allistair Crossley
"normal" class? Is that a Servlet? public void init(ServletConfig cfg) throws ServletException { String s = cfg.getInitParameter("CONFIGFILE"); } you'll need \\ instead of \ Allistair. > -Original Message- > From: Andreas Andersson [mailto:[EMAIL PROTECTED] > Sent: 06 December 2004 1

RE: web.xml

2004-12-06 Thread Allistair Crossley
ood design. > -Original Message- > From: Andreas Andersson [mailto:[EMAIL PROTECTED] > Sent: 06 December 2004 13:12 > To: Tomcat Users List > Subject: Re: web.xml > > > Allistair Crossley wrote: > > "normal" class? Is that a Servlet? > > W

[OT] RE: Prevent user from retrieving previous page in jsp/servlet

2004-12-06 Thread Allistair Crossley
use a meta expires tag in the html or add an expires header to the response. Allistair. > -Original Message- > From: Segree, Gareth [mailto:[EMAIL PROTECTED] > Sent: 06 December 2004 13:54 > To: '[EMAIL PROTECTED]' > Subject: Prevent user from retrieving previous page in jsp/servlet > >

[OT] RE: Sending New Line Characters and ; in URL

2004-12-06 Thread Allistair Crossley
you can't have new line characters in URLs, you'll need to get rid of them with a regular expression for what you are doing I think. Allistair. > -Original Message- > From: inr [mailto:[EMAIL PROTECTED] > Sent: 06 December 2004 14:29 > To: Tomcat Users List > Subject: Re: Sending New Lin

RE: another problem with session replication

2004-12-06 Thread Allistair Crossley
i'm not sure if this is a similar issue to this thread, but i setup a 3 member tomcat cluster on 1 machine the other night (ensuring that ports were unique) and also each AJP was unique and so fourth. jk was configured correctly. i noticed on starting each tomcat, that although it seemed happy t

RE: RE : web.xml

2004-12-06 Thread Allistair Crossley
well if request is available (either in a JSP or a Servlet) then he may as well use application.getInitParameter("CONFIGFILE"), or in a Servlt getServletContext().getInitParameter .. no point going via the session. He should not be passing J2EE objects down into his business logic either. > ---

RE: web.xml

2004-12-06 Thread Allistair Crossley
Message- > From: Andreas Andersson [mailto:[EMAIL PROTECTED] > Sent: 06 December 2004 14:48 > To: Tomcat Users List > Subject: Re: web.xml > > > Allistair Crossley wrote: > > > you should be acquiring your config params in the way I > show, and then >

RE: how tomcat compile jsp

2004-12-06 Thread Allistair Crossley
all libraries in WEB-INF/lib are automatically loaded for your web application. if you want ALL web applications to have access to a particular library or you are setting up datasources there is also the possibility of adding them to tomcat/common/lib e.g a database driver. > -Original Mess

RE: RE : web.xml

2004-12-06 Thread Allistair Crossley
is there an echo in here? > -Original Message- > From: VAN DER MARLIERE FREDERIC > [mailto:[EMAIL PROTECTED] > Sent: 06 December 2004 14:57 > To: Andreas Andersson; [EMAIL PROTECTED] > Subject: RE : web.xml > > > Your value is also available in a jsp with > > <%= application.getInitPa

RE: how tomcat compile jsp

2004-12-06 Thread Allistair Crossley
; Thanks. > > Peiyun > > -Original Message- > From: Allistair Crossley [mailto:[EMAIL PROTECTED] > Sent: December 6, 2004 9:58 AM > To: Tomcat Users List > Subject: RE: how tomcat compile jsp > > > all libraries in WEB-INF/lib are automatically loaded fo

RE: webapps ROOT folder significance

2004-12-06 Thread Allistair Crossley
t; On Sat, 4 Dec 2004 19:32:13 -, Allistair Crossley > <[EMAIL PROTECTED]> wrote: > > lol, i wasn't having a dig Remy don't be so cynical, I am > just interested, and you didn't answer my question either ;) > I mean, it's not difficult of course to red

RE: Prevent user from retrieving previous page in jsp/servlet

2004-12-06 Thread Allistair Crossley
response.setDateHeader("Last-Modified", System.currentTimeMillis/()); ^^^ is invalid .. > -Original Message- > From: Karl Ostendorf [mailto:[EMAIL PROTECTED] > Sent: 06 December 2004 17:03 > To: Tomcat Users List > Subject: R

[OT] RE: Prevent user from retrieving previous page in jsp/servlet

2004-12-06 Thread Allistair Crossley
hm, i can't seem to get them working either in IE, I think the last time I had this working was after a form post, not just navigation through pages. Sorry. A google search may be more appropriate. Cheers, Allistair. > -Original Message- > From: Allistair Crossley > Sen

RE: tomcat 5 and UTF-8 encoding

2004-12-07 Thread Allistair Crossley
someone else had a similar issue with hebrew and you can read what happened here: http://issues.apache.org/bugzilla/show_bug.cgi?id=32500 Allistair. > -Original Message- > From: Peter Johnson [mailto:[EMAIL PROTECTED] > Sent: 07 December 2004 03:41 > To: Tomcat Users List > Subject: Re:

RE: Connector debug

2004-12-07 Thread Allistair Crossley
debug attributes don't do much and are gone in 5.5. to get debugging, configure it at the jk connector side. Alistair. > -Original Message- > From: David Dankwerth [mailto:[EMAIL PROTECTED] > Sent: 07 December 2004 13:49 > To: Tomcat Users List > Subject: Connector debug > > > Hello >

RE: Connector debug

2004-12-07 Thread Allistair Crossley
you saying that tomcat 5.5 docs may be more useful ? > > Thanks > David D > > Allistair Crossley wrote: > > >debug attributes don't do much and are gone in 5.5. to get > debugging, configure it at the jk connector side. > > > >Alistair. > > >

RE: Performance with/without loadbalancing

2004-12-07 Thread Allistair Crossley
One reason may be because in a load test you are creating *lots* of request threads in Tomcat. If you only have 1 Tomcat, you need to pay respect to the counters you have set on your Connector (maxThreads="150" minSpareThreads="25" maxSpareThreads="75"). If your load test exhausts these and all

RE: Connector debug

2004-12-07 Thread Allistair Crossley
eeling" (not the best way to describe it) that > some threads > are not released and i will hit the maxThreads trash hold. > > Any idea how can i find these details ? > > Thanks > David > > Allistair Crossley wrote: > > >no tomcat 5.5. docs won't hel

JK 1.2.7 Problem?

2004-12-13 Thread Allistair Crossley
Hi, I'm afraid I cannot tell you too much about this. I have no idea why or how I am generating these errors. I'm just stepping around my test web site and and every now and again this error is dumped into stdout. I think it may be the JK 1.2.7 beta 2. It's running as an IIS 5 ISAPI filter to T

RE: JK 1.2.7 Problem?

2004-12-13 Thread Allistair Crossley
Will do. I am off now so it will be tomorrow before I can post anything. Cheers, Allistair, > -Original Message- > From: Mladen Turk [mailto:[EMAIL PROTECTED] > Sent: 13 December 2004 18:02 > To: Tomcat Users List > Subject: Re: JK 1.2.7 Problem? > > > Allistai

RE: JK 1.2.7 Problem?

2004-12-13 Thread Allistair Crossley
mcat is parsing the Content-Length > header. However, > since it is working on the retry (inferred because it isn't > reported to the > user), I'm guessing that Mladen is probably correct about the cause. > > "Allistair Crossley" <[EMAIL PROTECTED]> wrot

RE: setting encoding scheme POST data via container

2004-12-13 Thread Allistair Crossley
you would need to write a servlet filter and install it via web.xml (copied in). /* * $Header: /home/cvs/jakarta-tomcat-4.0/webapps/examples/WEB-INF/classes/filters/SetCharacterEncodingFilter.java,v 1.1 2001/07/24 00:26:55 craigmcc Exp $ * $Revision: 1.1 $ * $Date: 2001/07/24 00:26:55 $ *

<    1   2   3   4   5   6   7   >