RE: Connection class unknown...

2004-09-06 Thread Bodycombe, Andrew
You could try importing java.sql.Connection (not javax.sql.Connection). Maybe this would help. Regards, Andy -Original Message- From: Sexy Prague To: [EMAIL PROTECTED] Sent: 05/09/2004 18:12 Subject: Connection class unknown... Hello everybody, I've got a problem with creating

RE: Tomcat4 performance issue when manually removing compiledjsps in work folder

2004-03-30 Thread Bodycombe, Andrew
Could your jsp source files have been modified In the future? -Original Message- From: Duncan Krebs To: Tomcat Users List Sent: 26/03/2004 09:39 Subject: Re: Tomcat4 performance issue when manually removing compiledjsps in work folder Peter, I'm getting closer. I installed the latest

RE: Getting Context Parameters from server.xml

2004-03-25 Thread Bodycombe, Andrew
I think you want to use getServletContext().getInitParameter(companyName); There is a difference between a servlet init parameter (defined in web.xml) and a servlet context init parameter (defined in the context.xml or server.xml file) -Original Message- From: Jon Wingfield To: Tomcat

RE: HttpSession Replication in Tomcat Cluster not working with EJ B's!

2004-03-22 Thread Bodycombe, Andrew
Think of a stateful session bean as an extension of the client. By storing the remote reference inside your session, you are attempting to persist your Client extension across 2 different clients (2 different tomcat instances). I don't think this is a sensible idea, and I'm not sure it's even

RE: Réf. : read it immediately

2004-02-25 Thread Bodycombe, Andrew
Without wanting to cause too much alarm, that is the kind of message that could potentially contain a virus. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 25 February 2004 10:59 To: Tomcat Users List Subject: Réf. : read it immediately the attached file is

RE: Relative links do not work with controller servlet.

2004-02-23 Thread Bodycombe, Andrew
The BASE tag may help you here (or html:base if you are using struts) -Original Message- From: Juergen Weber [mailto:[EMAIL PROTECTED] Sent: 22 February 2004 00:20 To: [EMAIL PROTECTED] Subject: Relative links do not work with controller servlet. I want to run all requests through a

RE: tomcat certificate

2004-02-23 Thread Bodycombe, Andrew
It's in the documentation: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html -Original Message- From: secam secam [mailto:[EMAIL PROTECTED] Sent: 23 February 2004 10:00 To: [EMAIL PROTECTED] Subject: tomcat certificate hello, I'm a new user of tomcat. Can tomcat

RE: Touble with context container

2004-02-23 Thread Bodycombe, Andrew
What is in your H:\Tomcat\WEB-INF\web.xml file? -Original Message- From: Didier Croutz [mailto:[EMAIL PROTECTED] Sent: 23 February 2004 14:22 To: [EMAIL PROTECTED] Subject: Touble with context container Hello, I'm starting with Tomcat and I've got a configuration

RE: Touble with context container

2004-02-23 Thread Bodycombe, Andrew
: Didier Croutz [mailto:[EMAIL PROTECTED] Sent: 23 February 2004 16:12 To: Bodycombe, Andrew Subject: RE: Touble with context container Hi, First thanks for your response. I have no H:\Tomcat\WEB-INF\web.xml file but C:\Program Files\Tomcat 5.0\conf\server.xml. Regards. A 14:42 23/02/2004 +

RE: Disable Directory Listing for Specific Apps.

2004-02-20 Thread Bodycombe, Andrew
I don't know if this would work because I've never tried it, but you could try overriding the default servlet in each of your webapps (just copy the servlet and servlet-mapping from the TOMCAT_HOME/conf/web.xml) Then you can control the 'listings' parameter in each individual web application,

RE: Servlet thread safety in Tomcat

2004-02-11 Thread Bodycombe, Andrew
You could try jmeter http://jakarta.apache.org/jmeter/index.html -Original Message- From: kwirirai [mailto:[EMAIL PROTECTED] Sent: 11 February 2004 17:32 To: Tomcat Users List Subject: Re: Servlet thread safety in Tomcat Thanks to All for your help ! :-) Sofar it seems to be working

RE: Weird Problems

2004-02-10 Thread Bodycombe, Andrew
I think the problem with your listener is that you assume the number of active sessions will be 0 when the server starts up. Tomcat may persist (passivate) sessions when the server is shut down. These sessions will be re-activated the next time the server starts up. If you reduce your session

RE: need help adding classpath to Tomcat 5.0.18 NT Service

2004-02-06 Thread Bodycombe, Andrew
If you moved engine.jar from the shared/lib folder to the common/lib folder, would that remove the need to explicitly set the classpath? -Original Message- From: Robert Ensinger [mailto:[EMAIL PROTECTED] Sent: 06 February 2004 16:49 To: 'Tomcat Users List' Subject: RE: need help adding

RE: an question occured during using tomcat5.0

2004-02-03 Thread Bodycombe, Andrew
Tomcat does not expose it's JNDI resources to the outside world. Therefore you cannot access any Tomcat Data Sources from an application outside tomcat. -Original Message- From: asd [mailto:[EMAIL PROTECTED] Sent: 03 February 2004 09:41 To: [EMAIL PROTECTED] Subject: an question occured

RE: Reg HTTP status 404 on Tomcat 5.0.16

2004-02-03 Thread Bodycombe, Andrew
You have mapped your servlet to the /sampleapp URL, so to access your servlet, you need to use the following URL: http://localhost:8080/sampleapp/sampleapp I suggest changing your servlet-mapping as follows: servlet-mapping servlet-nameHelloServlet/servlet-name

RE: Please help Console Problem in tomcat 5.0.16

2004-02-02 Thread Bodycombe, Andrew
This indicates your server.xml is invalid. -Original Message- From: Avinash Sridhar [mailto:[EMAIL PROTECTED] Sent: 02 February 2004 16:07 To: [EMAIL PROTECTED] Subject: Please help Console Problem in tomcat 5.0.16 have my own directory as sampleapp which has the necessary structure

RE: IOException while loading persisted sessions continued..

2004-01-30 Thread Bodycombe, Andrew
If you read a bit further down: When traversing a graph, an object may be encountered that does not support the Serializable interface. In this case the NotSerializableException will be thrown and will identify the class of the non-serializable object. If you want session serialization, you will

RE: IOException while loading persisted sessions continued..

2004-01-30 Thread Bodycombe, Andrew
and not User? Cheers, hope this is clearer, ADC -Original Message- From: Bodycombe, Andrew [mailto:[EMAIL PROTECTED] Sent: 30 January 2004 10:46 To: 'Tomcat Users List' Subject: RE: IOException while loading persisted sessions continued.. If you read a bit further down: When traversing a graph

RE: Special URL servlet request.

2004-01-23 Thread Bodycombe, Andrew
In web.xml: web-app servlet servlet-namedigfidl/servlet-name servlet-classse.two4hr.servlet.DLServlet/servlet-class /servlet servlet-mapping servlet-namedigfidl/servlet-name url-pattern/digfidl/url-pattern

RE: What does this mean? ajp13.service() Error sending initial p ost -1 0 0

2004-01-20 Thread Bodycombe, Andrew
Could the 10 second delay be caused by tomcat recompiling your jsp? -Original Message- From: Hooper, Brian [mailto:[EMAIL PROTECTED] Sent: 20 January 2004 16:16 To: Tomcat Users List Subject: RE: What does this mean? ajp13.service() Error sending initial post -1 0 0 Not sure about your

RE: TC5 won't start on Xeon

2004-01-19 Thread Bodycombe, Andrew
Try catalina run instead of catalina start -Original Message- From: K. Harvatis [mailto:[EMAIL PROTECTED] Sent: 19 January 2004 12:26 To: Tomcat Users List Subject: Re: TC5 won't start on Xeon No change - window closes as soon as I hit enter... In Catalina.bat replace the below line

RE: Unable to start web application

2004-01-15 Thread Bodycombe, Andrew
I have to disagree with you on this point. A war file is the standard way to deploy a web application. See the servlet specification: http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html -Original Message- From: Emile Coetzee [mailto:[EMAIL PROTECTED] Sent: 15 January

RE: How to get session in Session Bean ?

2003-12-11 Thread Bodycombe, Andrew
Sounds like you need to use a stateful session bean instead. -Original Message- From: Chirs Wahl [mailto:[EMAIL PROTECTED] Sent: 11 December 2003 03:11 To: Tomcat Users List Subject: How to get session in Session Bean ? Hi, I am using sevlet and stateless Session Bean , I want to get

RE: response.reset() and forward() ... problematic? DBCP related?

2003-12-11 Thread Bodycombe, Andrew
A word of warning - synchronizing the forward() method does not stop another thread from changing the values of the 'req' and 'res' variables, so you will still get problems if you implement the first solution. -Original Message- From: Altankov Peter [mailto:[EMAIL PROTECTED] Sent: 11

RE: [jk_ajp_common.c (970)]: ERROR sending data to client. Connec tio n aborted or network problems

2003-12-10 Thread Bodycombe, Andrew
Look at the com.beganto.listeners.SessionListener class. In the sessionDestroyed() method, check for a call to Session.getAttribute(). This is not allowed here because the session has been invalidated. If you are interested in Session attributes, perhaps you should be using an

RE: HttpSessionListener in Tomcat 4.1.27 (or HttpSessionListener in general)

2003-12-03 Thread Bodycombe, Andrew
The sessionCreated() method is called when the session is first created, and therefore has no attributes set. If you are interested in session attributes, perhaps you should look at HttpSessionAttributeListener or HttpSessionBindingListener. Hope this helps Andy -Original

RE: JSP Editors

2003-11-28 Thread Bodycombe, Andrew
www.jedit.org www.eclipse.org Both are free and up to the task. Andy -Original Message- From: Duncan [mailto:[EMAIL PROTECTED] Sent: 28 November 2003 09:54 To: Tomcat User List Subject: JSP Editors Sorry if off topic but... What do people use to edit JSPs? I'm after an editor, free

RE: How to deploy a WAR file in Tomcat

2003-11-27 Thread Bodycombe, Andrew
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html -Original Message- From: dakavara [mailto:[EMAIL PROTECTED] Sent: 27 November 2003 12:14 To: Tomcat Users List (E-mail) Subject: How to deploy a WAR file in Tomcat Hi, How to deploy a WAR file in Tomcat. Thanks

RE: Moving from 3.3.1 to 4.1.29 question

2003-11-24 Thread Bodycombe, Andrew
Please read the tomcat FAQ: http://jakarta.apache.org/tomcat/faq/misc.html#invoker -Original Message- From: Charles Gardner [mailto:[EMAIL PROTECTED] Sent: 24 November 2003 14:35 To: Tomcat Users List Subject: Moving from 3.3.1 to 4.1.29 question I am converting from 3.3.1 to

RE: generate images on the fly

2003-10-31 Thread Bodycombe, Andrew
You could try the JAI (Java Advanced Imaging) API. http://java.sun.com/products/java-media/jai/ You can generate jpegs and pngs but not gifs because the gif image format is commercial. I think you must have a license to create gif images. -Original Message- From: Thorsten Möller

RE: character sets showing as ?

2003-10-29 Thread Bodycombe, Andrew
I have fixed similar problems in the past by setting CATALINA_OPTS to -Dfile.encoding=ISO-8859-1 and restarting tomcat. -Original Message- From: chad kellerman [mailto:[EMAIL PROTECTED] Sent: 28 October 2003 19:27 To: Tomcat Users List Subject: character sets showing as ? Hey guys,

RE: Servlet Deployment Problem

2003-10-29 Thread Bodycombe, Andrew
http://jakarta.apache.org/tomcat/faq/misc.html#invoker -Original Message- From: Miles, Fiske III [NTWK SVCS] [mailto:[EMAIL PROTECTED] Sent: 28 October 2003 20:10 To: [EMAIL PROTECTED] Subject: Servlet Deployment Problem I've spent 6-8 hours trying to figure out why Tomcat (ver 4.1.27)

RE: Multiple requests to the same servlet is problem

2003-10-29 Thread Bodycombe, Andrew
Sounds like your servlet is not thread-safe. Have you got any instance variables declared in your servlet class? -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: 29 October 2003 13:07 To: 'Tomcat-User List' Subject: Multiple requests to the same servlet is

RE: Multiple requests to the same servlet is problem

2003-10-29 Thread Bodycombe, Andrew
could change this situation? -- De: Bodycombe, Andrew[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: quarta-feira, 29 de outubro de 2003 9:08 Para: 'Tomcat Users List' Assunto: RE: Multiple requests to the same servlet is problem Sounds like your

RE: Servlet.Service() NullPointer on Filter - Really need some he lp on this one...

2003-10-28 Thread Bodycombe, Andrew
Where are your req and res variables defined? They should be local to the doFilter() method or you could get concurrency issues. Andy -Original Message- From: Bradley Beddoes [mailto:[EMAIL PROTECTED] Sent: 28 October 2003 07:50 To: [EMAIL PROTECTED] Subject: Servlet.Service()

RE: Servlet.Service() NullPointer on Filter - Really need some he lp on this one...

2003-10-28 Thread Bodycombe, Andrew
Many requests may share the same Filter instance, so having instance variables to store the state of a request is a bad idea. You should look at re-coding your Filter to remove any instance variables. Andy -Original Message- From: Bradley Beddoes [mailto:[EMAIL PROTECTED] Sent: 28

RE: modifying shutdown behaviour?

2003-10-27 Thread Bodycombe, Andrew
You could implement a ServletContextListener. The contextDestroyed() method will be called when your application is about to be removed. -Original Message- From: Julie McCabe [mailto:[EMAIL PROTECTED] Sent: 27 October 2003 13:30 To: [EMAIL PROTECTED] Subject: modifying shutdown

RE: JavaMail doesn't work

2003-10-07 Thread Bodycombe, Andrew
Try placing those jars in /common/lib instead -Original Message- From: Lawence [mailto:[EMAIL PROTECTED] Sent: 07 October 2003 16:39 To: Tomcat Users List Subject: JavaMail doesn't work Dear all, I installed Tomcat4.1.27 on one win2000 and one winXP. I tried the SendMailServlet that

RE: Unable to open the servlet.

2003-10-06 Thread Bodycombe, Andrew
You have not mapped your servlet to the /com/scheduler/addDataServlet URL. Try adding the following to your web.xml, before your welcome-file-list: servlet-mapping servlet-nameaddDataServlet/servlet-name url-pattern/com/scheduler/addDataServlet/url-pattern /servlet-mapping You

RE: Problem finding class files in tomcat-4.1.24

2003-09-22 Thread Bodycombe, Andrew
Check the FAQ http://jakarta.apache.org/tomcat/faq/classnotfound.html -Original Message- From: N.B.Bopanna [mailto:[EMAIL PROTECTED] Sent: 22 September 2003 11:33 To: [EMAIL PROTECTED] Subject: Problem finding class files in tomcat-4.1.24 Hi All, I am not able to find unpackaged class

RE: A Hebrew Problem

2003-09-17 Thread Bodycombe, Andrew
I suggest setting the file.encoding system property. export CATALINA_OPTS=-Dfile.encoding=utf-8 Then restart tomcat. I once had a similar problem with German umlaute characters and this seemed to fix it. Andy -Original Message- From: Yair Zohar [mailto:[EMAIL PROTECTED] Sent: 17

RE: Character Encoding problem (umlauts, etc).

2003-09-08 Thread Bodycombe, Andrew
This problem can usually be fixed by changing the file.encoding system property. Set CATALINA_OPTS to -Dfile.encoding=utf-8 (or iso-8859-1 or whatever character set you like) and restart tomcat Hope this helps Andy -Original Message- From: Robert Priest [mailto:[EMAIL PROTECTED]

RE: Using jndi to get a DBCP BasicDataSource give ClassCastExce ption

2003-09-05 Thread Bodycombe, Andrew
I suppose there could be two different classes called BasicDataSource, in two different packages... -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: 05 September 2003 16:03 To: Tomcat Users List Subject: Re: Using jndi to get a DBCP BasicDataSource give

RE: Using jndi to get a DBCP BasicDataSource give ClassCastExce ption

2003-09-05 Thread Bodycombe, Andrew
this error. Adam: Is there a tag named GlobalResourceLink that I am not aware of? I am using ResourceLink as the docs tell me. --Angus (3 A's) -Original Message- From: Bodycombe, Andrew [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 11:11 AM To: 'Tomcat Users List' Subject

RE: Counting active sessions if server restarts very often

2003-09-04 Thread Bodycombe, Andrew
The easiest way is probably to have a single listener that implements both the HttpSessionListener and HttpSessionActivationListener interfaces. This has a single count of active sessions. In the sessionCreated() method, increment the count In the sessionDestroyed() method, decrement the count In

RE: Counting active sessions if server restarts very often

2003-09-04 Thread Bodycombe, Andrew
what happens when the server is restarted? Thanx, Christian Bodycombe, Andrew wrote: The easiest way is probably to have a single listener that implements both the HttpSessionListener and HttpSessionActivationListener interfaces. This has a single count of active sessions

RE: tomcat migration problem

2003-09-03 Thread Bodycombe, Andrew
Hi Shanta, The order of your elements is important: (icon?,servlet-name,display-name?,description?,(servlet-class|jsp-file),ini t-param*,load-on-startup?,security-role-ref*) Your servlet-class tags must appear before your init-param tags. display-name and description must appear before

RE: Including port no in req.getServerName() output.

2003-08-14 Thread Bodycombe, Andrew
It may be better to use relative URLs (like '/shop/category.jsp') instead of the complete URL. This removes the need to hard-code your server name and port. Alternatively, you could use http://%=request.getServerName()+:+request.getServerPort()%/shop/categor y.jsp Note you may run into problems

RE: question marks appearing after deploy to production server

2003-08-14 Thread Bodycombe, Andrew
Try setting CATALINA_OPTS=-Dfile.encoding=iso-8859-1 I think Sun changed the default character set in JDK1.4 - It is now ASCII HTH Andy -Original Message- From: Hans Wichman [mailto:[EMAIL PROTECTED] Sent: 13 August 2003 09:24 To: [EMAIL PROTECTED] Subject: question marks appearing

RE: Problem Generating ID

2003-08-14 Thread Bodycombe, Andrew
You may find the java.text.DecimalFormat class useful. -Original Message- From: N.B.Bopanna [mailto:[EMAIL PROTECTED] Sent: 12 August 2003 10:57 To: [EMAIL PROTECTED] Subject: Problem Generating ID Hi All, I am generating a ID to use as primary key in my table with the follwing code.

RE: cookie problem

2003-08-12 Thread Bodycombe, Andrew
The request.getCookies() will return null if no cookies were sent with the request. You should check that cookies != null before checking cookies.length -Original Message- From: Paul [mailto:[EMAIL PROTECTED] Sent: 12 August 2003 17:13 To: Tomcat Users List Subject: cookie problem I

RE: Filter and servlet mapping problem

2003-07-29 Thread Bodycombe, Andrew
Maybe you could try rewriting your URL as /myjsp.jsp?time=timestamp_in_millis instead of /myjsp_timestamp_in_millis.jsp -Original Message- From: Mailing Listen [mailto:[EMAIL PROTECTED] Sent: 28 July 2003 11:16 To: Tomcat Users List Subject: Filter and servlet mapping problem I have

RE: Servlet mapping problem in Tomcat 4.1.24

2003-07-29 Thread Bodycombe, Andrew
There are 2 ways you can use wildcards in URL mappings: 1. /content/* - maps all URLs in the content directory to your servlet 2. *.vp - maps all URLs with a .vp extension to your servlet You cannot mix these (/content/*.vp, for example) The servlet specification discusses this. Look at section

RE: OnSessionEnd for Tomcat ?

2003-07-25 Thread Bodycombe, Andrew
Look at the HttpSessionListener interface. http://java.sun.com/j2ee/sdk_1.3/techdocs/api/ Create the sessionDestroyed() implementation and add a listener element to web.xml: http://java.sun.com/dtd/web-app_2_3.dtd -Original Message- From: Robert Priest [mailto:[EMAIL PROTECTED] Sent:

RE: Servlet Caching question

2003-07-25 Thread Bodycombe, Andrew
Just one question: The output from a servlet/JSP is dynamic, so why would you want to cache the output? -Original Message- From: Atreya Basu [mailto:[EMAIL PROTECTED] Sent: 25 July 2003 18:03 To: 'Tomcat Users List' Subject: RE: Servlet Caching question Okay, So if I want to do some

RE: Servlet Caching question

2003-07-25 Thread Bodycombe, Andrew
a URL-based caching filter. One does not come with tomcat, but it's less than a 20 minutes effort to write I think. Yoav Shapira Millennium ChemInformatics -Original Message- From: Bodycombe, Andrew [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 1:06 PM To: 'Tomcat Users List

RE: War files don't work

2003-07-24 Thread Bodycombe, Andrew
You need to make sure that you delete the webapps/nsfs directory before starting tomcat, or tomcat won't unpack the .war file. Place the .war file directly in the webapps directory. From: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html Copy the web application archive

RE: Tomcat and Weblogic Integration

2003-07-22 Thread Bodycombe, Andrew
I'm guessing, but I suspect that the classes in weblogic.jar probably have dependencies on j2ee.jar. You may need to include the complete j2ee.jar in common/lib (and remove the servlet.jar, because that forms part of j2ee.jar) Andy -Original Message- From: Will Hartung [mailto:[EMAIL

RE: Tomcat and system properties

2003-07-22 Thread Bodycombe, Andrew
Yes. System properties are set for the JVM not each individual web application. http://java.sun.com/docs/books/tutorial/essential/system/properties.html If you require properties specific to your web application, you should use Servlet initialization parameters or ServletContext Initialization

RE: Problem with Dir Structure...

2003-07-22 Thread Bodycombe, Andrew
It depends on your servlet mapping in the web.xml file. -Original Message- From: Lenandlar Singh [mailto:[EMAIL PROTECTED] Sent: 22 July 2003 14:57 To: [EMAIL PROTECTED] Subject: Problem with Dir Structure... Hello, I have the following directory structure for an application under

RE: Problem with Dir Structure...

2003-07-22 Thread Bodycombe, Andrew
url-pattern//url-pattern /servlet-mapping !-- The mapping for the invoker servlet -- !-- servlet-mapping servlet-nameinvoker/servlet-name url-pattern/servlet/*/url-pattern /servlet-mapping -- Bodycombe, Andrew [EMAIL PROTECTED] wrote: It depends on your servlet mapping

RE: achieving a clients (browsers) certificate in a webapp

2003-07-22 Thread Bodycombe, Andrew
The 'javax.servlet.request.X509Certificate' request property will give you the client certificate chain. It contains an array of java.security.cert.X509Certificate Objects. Element [0] is the client certificate, Element [1] is the CA for the client certificate etc. -Original Message-

RE: achieving a clients (browsers) certificate in a webapp

2003-07-22 Thread Bodycombe, Andrew
: javax.servlet.request.cipher_suite attribute: javax.servlet.request.key_size attribute: javax.servlet.include.request_uri any other ideas? -Original Message- From: Bodycombe, Andrew [mailto:[EMAIL PROTECTED] Sent: Dienstag, 22. Juli 2003 17:39 To: 'Tomcat Users List' Subject: RE: achieving

RE: Weird Problems installing servlets in Tomcat

2003-07-22 Thread Bodycombe, Andrew
Tomcat 4.1.24 comes with commons-fileupload-1.0-beta-1.jar bundled in the $CATALINA_HOME/server/lib directory. Tomcat needs this file to work, and also this version because the interface changed between this beta and the 1.0 final release. Tomcat is relying on the interface from the beta version

RE: Classpath Conundrum (2nd try)

2003-07-17 Thread Bodycombe, Andrew
A very quick and very dirty solution is to change to setClasspath.sh (or .bat) script and include all your required .jar files in the tomcat system classpath. However, I would not recommend this solution. A better solution is to copy all your jar files into the WEB-INF/lib directory. Why are you

RE: Servlet Context Listener problem...

2003-07-15 Thread Bodycombe, Andrew
Make sure your DTD is the correct servlet 2.3 DTD. The listener element was introduced in version 2.3 of the servlet spec. -Original Message- From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] Sent: 15 July 2003 04:58 To: Tomcat Users List Subject: Re: Servlet Context Listener problem...

RE: Exception:getOutputStream() has already been called for thisresponse

2003-07-11 Thread Bodycombe, Andrew
Try commenting out the following lines and see if that works: RequestDispatcher rd = request.getRequestDispatcher(BidProxy); rd.include(request, response); It may be that the include is writing output to the response. -Original Message- From: Abid Ali Teepo [mailto:[EMAIL

RE: RMI on Tomcat

2003-07-09 Thread Bodycombe, Andrew
You may problems using RMI if tomcat is installed in a directory containing whitespace. (e.g. C:\Program Files\Apache Group\...). -Original Message- From: Sanjay [mailto:[EMAIL PROTECTED] Sent: 09 July 2003 14:02 To: Tomcat Users List Subject: Re: RMI on Tomcat Anybody has any ideas

RE: outof memory error

2003-07-09 Thread Bodycombe, Andrew
Hi Shanta You get an OutOfMemoryError when the stack or heap space is exhausted. You can increase the heap size by setting the -Xmx option in the startserver script, but I think it already allocates 300Mb at startup. 300Mb should be plenty of memory for these applications, so I suspect there is a

RE: TomCat and EJBs in WebSphere

2003-07-08 Thread Bodycombe, Andrew
Try putting the jars you need in WEB-INF/lib -Original Message- From: brainSucka [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 00:32 To: [EMAIL PROTECTED] Subject: Re: TomCat and EJBs in WebSphere absolutely no one out there, who can help me :-((( - Original Message - From:

RE: Where to put java code

2003-07-08 Thread Bodycombe, Andrew
Tomcat, by default, has symbolic links disabled. -Original Message- From: Peter Flynn [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 10:54 To: Tomcat Users List Subject: Where to put java code I'm running jakarta-tomcat-4.1.18 for the purpose of serving with Cocoon, and that's working

RE: strange error

2003-07-08 Thread Bodycombe, Andrew
Sounds like you may have a corrupted .jar file. -Original Message- From: harsh [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 10:18 To: Tomcat Users List Subject: strange error I ran the tomcat for second time and now when i try to stop it behaves like this.. [EMAIL PROTECTED]

RE: how to configure diff web applications under one tomcat

2003-07-07 Thread Bodycombe, Andrew
Just create a new context in server.xml Andy -Original Message- From: Shanta B [mailto:[EMAIL PROTECTED] Sent: 07 July 2003 17:07 To: Tomcat Users List Subject: how to configure diff web applications under one tomcat Hi I would like to know how to configure different web

RE: reply urgently tomcat installation query !!!!!!!

2003-07-03 Thread Bodycombe, Andrew
Yes. -Original Message- From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] Sent: 03 July 2003 17:08 To: Tomcat Users List Subject: RE: reply urgently tomcat installation query !!! Hi, This is off topic but does tomcat/JDK even work on windows 98? -e On Thu, 3 Jul 2003, Shapira,

RE: Can any body help me?

2003-07-02 Thread Bodycombe, Andrew
The sun java compiler (javac) seems to run out of memory fairly quickly when compiling a large number of files. I found that using jikes from IBM got round this problem. Andy -Original Message- From: B.A.S.Perumal [mailto:[EMAIL PROTECTED] Sent: 02 July 2003 11:53 To: [EMAIL PROTECTED]

RE: Can any body help me?

2003-07-02 Thread Bodycombe, Andrew
jikes settings goes like this. :runAntWithJikes %_JAVACMD% -Xms256m -Xmx384m -classpath %LOCALCLASSPATH% -Dant.home=%ANT_HOME% -Djikes.class.path=%JIKESPATH% %ANT_OPTS% org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS% with luv, bas Bodycombe, Andrew [EMAIL PROTECTED] wrote: The sun java compiler

RE: Can any body help me?

2003-07-02 Thread Bodycombe, Andrew
... Could you please tell me how to set that attribute. bas Bodycombe, Andrew [EMAIL PROTECTED] wrote: Did you set your build.compiler property to jikes? -Original Message- From: B.A.S.Perumal [mailto:[EMAIL PROTECTED] Sent: 02 July 2003 12:01 To: Tomcat Users List Subject: RE: Can any body

RE: Servlet mapping error

2003-06-27 Thread Bodycombe, Andrew
Try the following URL: http://host:port/bugtracker/servlets/LoginServlet Hope this helps, Andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 27 June 2003 18:17 To: [EMAIL PROTECTED] Subject: Servlet mapping error I'm trying to map a Servlet URL and

RE: Special characters

2003-06-12 Thread Bodycombe, Andrew
You have to specify the file.encoding system property export CATALINA_OPTS=-Dfile.encoding=iso-8859-1 Then restart tomcat. HTH, Andy -Original Message- From: David Del Sacramento [mailto:[EMAIL PROTECTED] Sent: 12 June 2003 15:04 To: [EMAIL PROTECTED] Subject: Special

RE: Special characters

2003-06-12 Thread Bodycombe, Andrew
) - Do you have any idea? I will apreciate your help David --- Bodycombe, Andrew [EMAIL PROTECTED] wrote: You have to specify the file.encoding system property export CATALINA_OPTS=-Dfile.encoding=iso-8859-1 Then restart tomcat. HTH, Andy -Original Message

RE: SSL client authentication with tomcat 4.1.24

2003-06-06 Thread Bodycombe, Andrew
You need to import your personal certificate into your browser. In IE: Select 'Internet Options' from the Tools Menu Select the Content tab Press the certificates button This takes you to the screen showing all your certificates Select the 'Personal' tab Press Import to import your certificate

RE: handling of Unicode still broken in 4.1.24

2003-03-27 Thread Bodycombe, Andrew
You could try setting your file.encoding system property. That might help. Sun changed the default value for this property in JDK1.4 On *nix systems it changed from ISO-8859-1 to ASCII. Andy -Original Message- From: Carole Mah [mailto:[EMAIL PROTECTED] Sent: 26 March 2003 17:19 To:

RE: Class not found

2003-03-26 Thread Bodycombe, Andrew
JspServlet is found in jasper-compiler.jar. It should be in $CATALINA_HOME/common/lib Andy -Original Message- From: Herbert G. Fischer [mailto:[EMAIL PROTECTED] Sent: 26 March 2003 14:13 To: Tomcat Users List Subject: Re: Class not found And why there is no JspServlet on Tomcat

RE: Do you run Tomcat with SSL?

2003-03-14 Thread Bodycombe, Andrew
You can write a class that implements the X509TrustManager interface. Then initialize your SSLContext with this TrustManager. Get a SocketFactory for your SSLContext. Finally, set this as the default SocketFactory for all HttpsUrlConnections. The code in your checkClientTrusted method will

RE: Apache - Tomcat connectors

2003-03-14 Thread Bodycombe, Andrew
I'm sure the tomcat developers would be delighted if you provided this documentation... -Original Message- From: Chris Dodunski [mailto:[EMAIL PROTECTED] Sent: 14 March 2003 12:07 To: Tomcat Users List Subject: Apache - Tomcat connectors I'm honestly astounded at the number of people

RE: Microsoft ISA Proxie

2003-03-11 Thread Bodycombe, Andrew
You can use the solution offered by nogoop http://www.nogoop.com You can download an evaluation copy of the software for free, but you need to purchase it if its going to be used commercially... I've been evaluating this solution with good results - it gets round the NTLM authentication problem

Tomcat/RMI and Spaces in Filenames

2003-02-28 Thread Bodycombe, Andrew
I am having a problem with Tomcat 4.1.18 running on Windows NT 4, and JDK 1.4 I have a servlet accessing a remote server via RMI, and the RMI calls fail with an UnmarshallException, but only when the tomcat install directory contains spaces. e.g. C:\Program Files\Apache Group\Tomcat 4.1\, the

RE: JSP source

2003-01-09 Thread Bodycombe, Andrew
Fetching the HTML is straightforward. Just create a URL connection and read the data from the stream. You could try the following: 1. Implement your report as a JSP or Servlet 2. Write an email component that acts as a client to this servlet which a) opens a URL connection to your servlet

RE: CORBA initialization error with Tomcat 4.1

2003-01-08 Thread Bodycombe, Andrew
Sounds like you have hit your CORBA implementation limit. See the CORBA documentation for more details. Andy -Original Message- From: Xu, David [mailto:[EMAIL PROTECTED]] Sent: 08 January 2003 17:49 To: '[EMAIL PROTECTED]' Subject: CORBA initialization error with Tomcat 4.1 Importance:

RE: configuring two servlets into my application

2003-01-07 Thread Bodycombe, Andrew
Try this: servlet servlet-nameHelloWorld/servlet-name servlet-classHelloWorld/servlet-class /servlet servlet servlet-nameHolasAlMundo/servlet-name servlet-classHolasAlMundo/servlet-class /servlet servlet-mapping servlet-nameHelloWorld/servlet-name url-pattern/HelloWorld/url-pattern

RE: Mapping an external folder!

2003-01-06 Thread Bodycombe, Andrew
Try the following in your web.xml: web-app servlet servlet-nameMemberAuth/servlet-name servlet-classMemberAuth/servlet-class /servlet servlet servlet-nameMemberAuth2/servlet-name servlet-classMemberAuth2/servlet-class /servlet servlet-mapping

RE: java.lang.OutOfMemoryError

2003-01-06 Thread Bodycombe, Andrew
There is a memory leak in the Sun javac compiler which could be the cause of this problem. You could use the jikes compiler to get around this problem. Andy -Original Message- From: Laxmikanth M.S. [mailto:[EMAIL PROTECTED]] Sent: 04 January 2003 12:21 To: Tomcat Users List Subject:

RE: Simultaneous request from same IP

2002-12-16 Thread Bodycombe, Andrew
You have a global servlet variable 'trafficCop'. If two requests come in at the same time, they will be sharing this variable. The code is not thread safe. Move your trafficCop instance variable - make it a local variable of the doGet method, and invoke the constructor inside the doGet method.

RE: Creating a signed SSL certificate with my own CA

2002-12-12 Thread Bodycombe, Andrew
You can turn SSL debugging by setting the following environment variable CATALINA_OPTS=-Djavax.net.debug=ALL Then, restart tomcat. You will then see much more info in the log. This might help you to debug your problem. Andy. -Original Message- From: Donie Kelly To: 'Tomcat Users List'

RE: [OT] RE: Creating a signed SSL certificate with my own CA

2002-12-12 Thread Bodycombe, Andrew
. I'm not sure. Andy -Original Message- From: Donie Kelly To: 'Bodycombe, Andrew'; Donie Kelly; ''Tomcat Users List' ' Sent: 12/12/2002 16:14 Subject: [OT] RE: Creating a signed SSL certificate with my own CA Here's a trace of the SSL using CATALINA_OPTS=-Djavax.net.debug=ALL It's large

RE: Tomcat shared libraries

2002-12-09 Thread Bodycombe, Andrew
If there are libraries you require both inside and outside tomcat, you could consider placing them in /jre/lib/ext. They are then available to all java applications using the particular JRE instance, including tomcat. For pre 1.4 versions, I found this useful for things like JSSE and regular

RE: Connection Pooling Help

2002-12-09 Thread Bodycombe, Andrew
I've not done it myself in tomcat, only in EJB containers, but as a starting point, I would suggest trying to get it to work by setting the connection pool as a global resource instead of a resource specific to your context. Then try and get your context-specific connection pool working. I too

RE: REPOST: SSL and setContentType() and secure and nonsecure it ems

2002-12-09 Thread Bodycombe, Andrew
In earlier versions of the servlet spec, you must call setContentType() before you call getOutputStream(). Although I thought this was changed in later versions, so maybe this is a red herring. Andy. -Original Message- From: Chris Parker To: Tomcat Users List Sent: 09/12/2002 16:01

RE: Tomcat went unconcious :-)

2002-12-06 Thread Bodycombe, Andrew
This could be an issue with your browser. Maybe the page has been cached? Andy -Original Message- From: Vy Ho To: Tomcat Users List Sent: 06/12/2002 16:46 Subject: Tomcat went unconcious :-) When a dog sneeze and the cat got knocked down. The following case show that simple things

RE: Tomcat went unconcious :-)

2002-12-06 Thread Bodycombe, Andrew
with a different users/pass/role, then you get error. This should be fixed by browsers (that is to detect that you went to a differernt directory now). For the server, it may be able to address this too, but I don't know much about it. On Fri, 6 Dec 2002, Bodycombe, Andrew wrote: This could be an issue

  1   2   >