Re: classloader during tomcat startup

2005-10-18 Thread David Delbecq
, a Class is request to classloader by jvm. If this is first time classloader has to return the Class, it initialize it. So static block is run at first time class is requested. This is common sense as it prevents initialising classes you never use in your library. David Delbecq Santosh Asbe a écrit

Re: Multi-part response

2005-10-18 Thread David Delbecq
, and then another image direct to the stream, and then I am not sure of the syntax? --- David Delbecq [EMAIL PROTECTED] wrote: Well am not sure of what you mean, and am not sure browser accept multi-part response that way, but i dont know http protocol enough. Could you provide an example http

Re: Character Encoding -ISo-8859-1 Vs UTF-8 Vs GBK

2005-10-18 Thread David Delbecq
character very well.There is a list in the net (I don't know here) with the other ISO encoding for other languages. AF Citando David Delbecq [EMAIL PROTECTED]: Hi, UTF-8 can handle european and chinese character very well. If you can't read using utf-8 any of those this simply mean you text

Re: Debugging Tomcat hangs

2005-10-18 Thread David Delbecq
One stupid suggestion is to run the tomcat inside an environment like eclipse with an eclipse plugin like sysdeo. Then stress the webapplication. When, it 'hangs' issue a 'pause' inside the tomcat jvm, and explore the various threads. Search for 2 kinds of locks: - non returning http-thread

Re: classloader during tomcat startup

2005-10-19 Thread David Delbecq
during startup? Is i possible in tomcat? Where is the clasloader hierachy and details placed?? Santosh On 10/18/05, David Delbecq [EMAIL PROTECTED] wrote: I don't know from the details of tomcat implementation, but i'll response using common sense and from my experience

Re: classloader during tomcat startup

2005-10-19 Thread David Delbecq
Robert Graf-Waczenski a écrit : SRV.14.2.12ServletContextListener public interface ServletContextListener extends java.util.EventListener All Superinterfaces: java.util.EventListener Implementations of this interface receive notifications about changes to the serv- let context of the

Re: Global Sessions

2005-10-19 Thread David Delbecq
It would be a nightmare ;) Sessions are used to store objects, lots of libs does store in session various datas. All objects loaded are linked to their Classloader. So if you store a org.mycompany.MyData object under key SOME_KEY in session within webapp1 and you do this in webapp2: if

Re: Unsubscribe DON'T WORK!

2005-10-20 Thread David Delbecq
That's fun, you can post to the mailing list, but your messages for unsuscribing are considered spams :) [EMAIL PROTECTED]: host asf.osuosl.org[140.211.166.49] said: 552 spam score (7.0) exceeded threshold [EMAIL PROTECTED] a écrit : Hi team of Tomcat Users List! All email that you have

Re: WAR versions

2005-10-20 Thread David Delbecq
manifest as name of .war is used by tomcat during deployement to name the webapp :) Zohar Amir a écrit : Hello, I was wondering what is the best way to indicate a war file's version. Should the file's name indicate it (e.g., bla_1.3.2.war), and/or should the manifest in META-INF include an

Re: Tomcat User Permession

2005-10-26 Thread David Delbecq
mod_jk) Last but not least, If your tomcat webapp is to serve only html files, it more performant to stick with apache http server! Regard, David Delbecq Mohammad Tag EL-Deen a écrit : I'm using mandrake 10.1 as a server, and jakarta-tomcat-5.0.27. My intranet running on tomcat should be updated

Re: How to share resources across two applications

2005-10-27 Thread David Delbecq
Hi, maybe the problem is not were we thought it was. If you get a NullPointerException a (1) (i mean not somewhere deeper inside 1 but exactly at 1), that can only mean getServletContext() returned false. This may be the case if servelt was not properly initialized. Check your init(ServletConfig

Re: Deploying Servlet Project from Windows to Fedora

2005-12-01 Thread David Delbecq
? .. I am looking for some clear descriptions or an accurate documentation to do it... thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- David Delbecq

Re: Please Help Me

2005-12-02 Thread David Delbecq
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- David Delbecq Royal Meteorological Institute of Belgium - Pingouins dans les champs, hiver méchant

Re: Many questions are left unanswered.

2005-12-16 Thread David Delbecq
, Many questions in this forum are left unanswered . It would be nice if I , atleast, get a don't know answer to some of my mails! Thanks Regards, Prathibha. -- David Delbecq Royal Meteorological Institute of Belgium - Pingouins dans les champs, hiver méchant

Re: Configuration Question

2006-01-04 Thread David Delbecq
, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- David Delbecq Royal Meteorological Institute of Belgium - Pingouins dans les champs, hiver méchant

Re: Migration

2006-01-06 Thread David Delbecq
messages to your online friends http://in.messenger.yahoo.com -- David Delbecq Royal Meteorological Institute of Belgium - Pingouins dans les champs, hiver méchant - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: forwarding JDOM-Objects

2006-01-13 Thread David Delbecq
. Gruss Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- David Delbecq Royal Meteorological Institute of Belgium - Pingouins dans les champs, hiver méchant

Re: unpack war

2006-01-17 Thread David Delbecq
here. regards, Mahesh Bhandare - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- David Delbecq Royal Meteorological Institute of Belgium - Pingouins dans les champs

Re: Oracle 8i JDBC Driver for jdk1.5?

2006-01-20 Thread David Delbecq
but i'm not getting the info. regarding Oracle 8i JDBC Driver for jdk1.5. Kindly help. Thanks Regards, Vidhi - What are the most popular cars? Find out at Yahoo! Autos -- David Delbecq Royal Meteorological Institute

Re: Oracle 8i JDBC Driver for jdk1.5?

2006-01-20 Thread David Delbecq
I don't think oracle has 1.5 specific drivers. ojdbc14 should suit well on 1.5 jvm Le Vendredi 20 Janvier 2006 12:52, gupta vidhi a écrit : i'm using jdk1.5.0.02, Tomcat 4.1.31 JDBC 8.1.7.0.0 on WIN 2000 Oracle 8i. David Delbecq [EMAIL PROTECTED] wrote: Did

Re: Why WEB-INF folder has to be in capital letters

2006-01-20 Thread David Delbecq
!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- David Delbecq Royal Meteorological

Re: How to capture printf() stdout to stdout_nnn.log?

2006-01-23 Thread David Delbecq
__ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- David

non US-ASCII query parameters

2006-01-30 Thread David Delbecq
is not because of accentuated characters in request). Thanks for help. -- David Delbecq Royal Meteorological Institute of Belgium - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: non US-ASCII query parameters

2006-01-30 Thread David Delbecq
. But as those two valves are not supposed to decode the parameter, it shouldn't influence decoding process (they only check headers) -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Monday, January 30, 2006 6:19 AM To: Tomcat Users List Subject: non US-ASCII query

Re: non US-ASCII query parameters

2006-01-30 Thread David Delbecq
Ok, found out. Tomcat needed a restart after changing the value of URI Encoding in connector. Le Lundi 30 Janvier 2006 13:09, David Delbecq a écrit : Le Lundi 30 Janvier 2006 12:54, Tim Lucia a écrit : Are you using the request dumper valve? This will cause decoding problems, as describe

Re: Need tomcat build for Fedora 3 on x86

2006-01-30 Thread David Delbecq
-tomcat-5.5.15.tar.gz cd to tomcat dir set JDK_HOME env variable to where you installed sun jdk (1.5 recommanded) run bin/startup.sh that's all, tomcat is running with output in logs/catalina.out -- David Delbecq Royal Meteorological Institute of Belgium

Re: percent sign in URI

2006-02-01 Thread David Delbecq
Hello abdurrahman, Your url is incorrect, replace it with http://localhost:8080/aSite/aPage?query=hi%25everybody According to rfc 1738, 2.2. URL Character Encoding Issues Octets must be encoded ..., if the use of the corresponding character is unsafe, ... The character % is unsafe

Re: percent sign in URI

2006-02-01 Thread David Delbecq
in server. abdurrahman sahin a écrit : hi David; I am aware of the case. As I stated before Apache2 server properly handles that problem and I need that functionality because our customer's system built on it. -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent

Re: Tomcat and client certificates

2006-02-01 Thread David Delbecq
authentication? That would be sad. Markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- David Delbecq Royal Meteorological Institute of Belgium

Re: Tomcat and client certificates

2006-02-03 Thread David Delbecq
Markus a écrit : Ok, when I set clientAuth to want the Exception getting SSL Cert goes away. (Wtf is this documented?). Yes it is documented: http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html Section 'Edit the Tomcat Configuration File' But I still get the 403 - Access denied error.

Re: Problem in j_security_check

2006-02-03 Thread David Delbecq
This mean you tried to access login form directly. This is not allowed in j2ee specifications. Access to login form should only be triggered by server on demand. You can't force a login. To access login page, simply put a link to saraf/index.html (simple example) Prashant Saraf a écrit : i have a

Re: Problem in j_security_check

2006-02-03 Thread David Delbecq
in server would not be setup and you'll only trigger an exception. Prashant Saraf a écrit : i created a link which connect to login.jsp then also it not works:( On 2/3/06, David Delbecq [EMAIL PROTECTED] wrote: This mean you tried to access login form directly. This is not allowed in j2ee

Re: Problem in j_security_check

2006-02-03 Thread David Delbecq
form method=POST action='%= response.encodeURL(j_security_check) %' -- that's the error put this instead form method=POST action='j_security_check' Prashant Saraf a écrit : as i am new i refer tomcat 's jsp-example my structure of webapp webapps-| | saraf

Re: Problem in j_security_check

2006-02-03 Thread David Delbecq
Everything that correspond to the security-constraint on your web.xml is 'protected' and need authentification. When you are authenticated, field request.getRemoteUser() is not null anymore. Be carefull, url-pattern/saraf/*/url-pattern in security constraint mean the secure area is

Re: auth-constraint in web.xml in tomcat 5.5.15

2006-02-06 Thread David Delbecq
*outch* This mean i will have to change my web.xml with future tomcat version. How do I allow access to a ressource to all authenticated users now? Mark Thomas a écrit : Oliver Kohll wrote: Hi, I have security for a web application managed by a DataSource database realm. Using tomcat

Re: Two DNS Entries Two Sites?

2006-02-06 Thread David Delbecq
If it's 2 names, one IP, one server, you can simply have tomcat do virtual hosting. We did it here like that: Create 2 host Give each host a list of alias corresponding to the server the will act on Give each host a different Application Base (like webapps-hostX and webapps-hostY) this will

Re: Help me

2006-02-09 Thread David Delbecq
your commons-fileupload.jar should go in your webapp's WEB-INF/lib directory Mir Kasim Ali a écrit : The problem was for package called org.apache.common.fileupload but when I put the jar file for above package in the C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\lib directory

Re: webapp under different URLs with different JSP but same java classes

2006-02-10 Thread David Delbecq
Duplicate your classes, one copy in each webapp Lothar Krenzien a écrit : Hi, I'm not sure whether it is possible or not: I have a webapp which I want to access under different URL's with different JSP's but the same java classes. I know that I can define the context URL in the context.xml

Re: password protection

2006-02-15 Thread David Delbecq
Zohar Amir a écrit : Hello, I'm using tomcat 5.5.15 on Win XP. I have a servlet that is deployed on a certain context. I would like anyone trying to use that servlet use a username-password. how do I do this? set a security-constrain in WEB-INF/web.xml What if I need to protect a jsp that

Re: password protection

2006-02-15 Thread David Delbecq
- From: David Delbecq [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, February 15, 2006 2:52 PM Subject: Re: password protection Zohar Amir a écrit : Hello, I'm using tomcat 5.5.15 on Win XP. I have a servlet that is deployed on a certain context. I would like

Re: Where is the POSTED data on login redirect?

2007-10-28 Thread David Delbecq
David Delbecq-2 wrote: They are automatically saved by form authentification system and restored after form authentification. Your servlet won't be able to make the difference between a direct hit and a hit with post restored after form authentification. Please note, however, that the size

Re: CR Viewer

2007-10-31 Thread David Delbecq
Hi, For crystal report support, i suggest you ask business objects. You probably won't get much response from tomcat list, considering your question is not related to tomcat. As for search for .jar files ... Maybe the 'search' tool of windows will help you? En l'instant précis du

Re: Out of Office

2007-11-04 Thread David Delbecq
I prefer when they leave their mobile phone number in case of emergency, being in pacific time. At least you can call them at 11:00 am GMT on sunday just to say cheers, it's time for a good drink :) I get used to such mails on mailing lists. Not all auto-reply script are as good as the

Re: Web app classloader loading JAAS LoginModule instead of server

2007-11-12 Thread david delbecq
If your problem is that a webapp using hibernate loaded it's configuration from webappclassloader and then stored the hibernate loaded configuration in hibernate at common/ level, the problem is probably that you have put hibernate in common classloader (so common configuration, first webapp

Re: Help me please,

2007-11-13 Thread David Delbecq
The startup.bat is trying to run -Dsun.io.useCanonCaches=false instead of java. You probably badly configured an environnement variable. The command to run java is builded partly in classpath.bat on tomcat 5 (probably same in tomcat4). Maybe you just have forgotten to properly define

Re: java.awt.HeadlessException on tomcat

2007-11-13 Thread David Delbecq
En l'instant précis du 13/11/07 12:45, Yann Mauon s'exprimait en ces termes: Dear all, I have the following problem. I deployed an applicaton on Tomcat and recieve the following error when I try to display an image generated on the server : java.awt.HeadlessException at

Re: java.awt.HeadlessException on tomcat

2007-11-13 Thread David Delbecq
Provide it a display! En l'instant précis du 13/11/07 13:58, Yann Mauon s'exprimait en ces termes: Thank you for your answer, but what do you mean by Make your environment non-headless to solve problem ? David Delbecq-2 wrote: En l'instant précis du 13/11/07 12:45, Yann Mauon s'exprimait

Re: Application redeployment on Tomcat startup only

2007-11-19 Thread david delbecq
If all you need to redeploy to occur is remove directories, just modify the statup script so it deleted the webapps directories. Beth Hechanova a écrit : Hi, I am trying to configure Tomcat to only reploy my application war file when Tomcat is started up. I have set the autoDeploy

Re: Questions about sometime slowness of tomcat

2007-11-20 Thread david delbecq
First request is slower to respond to client becaus tomcat do have to initialize your servlet before first request and, probably, to compile your jsp Jun Zhang a écrit : Hi, I really do not know which mail alias is the correct one to post this topic. So I send it to all. I am developing a

Re: Obtaining IE identification token

2007-11-23 Thread David Delbecq
Samba team provide means in java to handle windows based SSO authentification. The server does not have to be a windows station, nor to sit behind IIS. http://jcifs.samba.org/src/docs/ntlmhttpauth.html En l'instant précis du 23/11/07 10:08, Frank Biel Knudsen s'exprimait en ces termes: IIS

Re: Java file name is displayed when the JSP file is accessed.

2007-11-27 Thread david delbecq
You are probably trying to display a value in you jsp coming from a class that does not overrride 'toString', as the result java's default value for toString is packagename.classname@identifier example: [EMAIL PROTECTED] Ognjen Blagojevic a écrit : Pavan Singaraju wrote: i have a web

Re: error with javac

2007-12-03 Thread David Delbecq
Put your classes in packages. Specs forbid the use of package-less classes in web container. En l'instant précis du 03/12/07 09:14, rameau rameau1982 s'exprimait en ces termes: hi, I have 2 java classes in the same directory. One of them (SlateServlet.java) creates a new object from the other

Re: post new service request

2007-12-11 Thread David Delbecq
What do you mean by service request? Tomcat serves requestx on the port it is listening to (most probably 8080) using http protocol, see server.xml for your configuration specificities. You can add web services by either coding them yourself, buying them from companies, or using open source ones

Re: ques abt DDL

2007-12-11 Thread david delbecq
oracle sql developper and tora both have a data/schema extraction feature minky arora a écrit : Hi Gurus, I know this is a Tomcat mailing list..I have a basic question about DDL and am hoping someone would give me an answer. I have been given a schema of a DB which will eventually be deployed

Re: JDNI Resource not reusable

2007-12-12 Thread David Delbecq
for an answer in advance Kind regards, Sebastian - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- David Delbecq Institut Royal

Re: extra field in form-based authentication

2007-12-13 Thread David Delbecq
on what type of device he/she works, so we can offer the appropriate stylesheet. On Thursday 13 December 2007 13:00, David Delbecq wrote: Or have the username in a hidden field and have javascript build it from to fields. example: j_username=Domain\\user j_password=* Most

Re: Response.SendRedirect problems

2007-12-16 Thread david delbecq
ashwin soorkeea a écrit : Hello all, I have a problem for my application and this prob is causing an entire netw= ork of users from using my application. I will appreciate if you guys can help me solve my prob. It concerns the servlet response.sendRedirect(...) method. When using the

Re: Where to store classpath resources outside of WAR

2007-12-21 Thread David Delbecq
In custom context.xml, you can define the ressource, that is mainly Datasources that are linked with jndi. Just define a datasource and store your config in the database. Or if you want more complicated things, store other tyes of objects in your jndi, by defining them in your context.xml.

Re: Regarding setting log size

2007-12-25 Thread david delbecq
catalina.out it the output of stdio and stderr, for this file, it's not easy to logrotate it, unless you stop tomcat at night. For the others ones, using log4j, i suggest you take a look at log4j documentation, it explains how to do rotating log for the log4j appenders. abdul razack a écrit :

Re: Subdomain Virtual Hosting.

2007-12-27 Thread david delbecq
Ishtiaq Ahmed a écrit : Hi, Now we want it But when we tried it for *.mydomain2.com (Notice that * ) if I go like under, it doesn't work. Kindly shed some light into it. Host name=*.mydomain2.com appBase=/usr/local/tomcat6/webapps/APPx unpackWARs=true autoDeploy=true

Re: Subdomain Virtual Hosting.

2007-12-27 Thread david delbecq
for *.mydomain3.com's requests in future too. Looking Forward for resolution from you... Regards, Ishtiaq Ahmed david delbecq wrote: Ishtiaq Ahmed a écrit : Hi, Now we want it But when we tried it for *.mydomain2.com (Notice that * ) if I go like under, it doesn't work. Kindly shed some light

Re: JSF and SSI

2007-12-27 Thread david delbecq
Shannon Scott a écrit : Hello, We have been trying to use JSF as a Server Side Include (SSI - .shtml ). What you mean by SSI (in the context of tomcat)? The problem is that the jsf adds an extra set of HTML tags to the page ( breaking the page ). We have successfully used jsp pages for SSI in

Re: fifo queue

2008-01-04 Thread David Delbecq
Reduce the max http request threads to 1. However, 1) the admin request will be queued like user ones 2) it's not a fifo, the socket that are served, one at a time, by http thread are, i think, in the same order as the thread get notified by jvm En l'instant précis du 04/01/08 12:12, Marco

Re: TomCat -Catalina.out : Application failing with java.net.SocketException

2008-01-07 Thread David Delbecq
It's probably a timeout between the front end http server (apache?) and the back end tomcat installation, related to mod_jk. IThe java application takes too long to start generating an answer and the http server (apache?) considers there is a problem and closes connection. What you see in

Re: java.lang.NoClassDefFoundError: org/apache/catalina/loader/WebappClassLoader

2008-01-07 Thread David Delbecq
Your download is most probably corrupted, redownload the file from server, and extract it to a fresh new folder. This kind of error can happen when one of the tomcat jar file is either corrupted or just missing. En l'instant précis du 07/01/08 11:21, Thomas Chang s'exprimait en ces termes:

Re: java.lang.NoClassDefFoundError: org/apache/catalina/loader/WebappClassLoader

2008-01-07 Thread David Delbecq
common/lib is not the good place to put your war's required jar files (like spring.jar). You war's required jar should go to WEB-INF/lib http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html En l'instant précis du 07/01/08 11:54, Thomas Chang s'exprimait en ces termes: I download

Re: java.lang.NoSuchMethodError: org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest

2008-01-07 Thread David Delbecq
Check you don't have 2 versions of commons fileupload. Also, provide a more complete stacktrace to get meaningful answers :) En l'instant précis du 07/01/08 12:09, Christian Aschoff s'exprimait en ces termes: Hi, i have a webapplication developed with NetBeans 5.5. Everything is fine. But

Re: response.sendRedirect() failing mysteriously in struts application

2008-01-09 Thread David Delbecq
The illegalStateException while sendRedirect happens because some content has already been submitted to client, thus the http code (OK) was already send and it's too late to change headers. Check your action don't do make output in the action. Thomas Okken wrote: Hi all, I'm running into a

Re: Deploying on a Remote Tomcat Servers

2008-01-10 Thread david delbecq
There are several way to automate it. One is to install on that remote tomcat, the tomcat manager webapp, which let you deploy war. There is also a ant task that can be used with it to submit the compiled war file to that manager. Another is to install lambdaprobe, which can also do

Re: Tomcat 6 UTF-8 GET and POST - please Help..

2008-01-10 Thread David Delbecq
As you might infer, URIEncoding=UTF-8 only work on the Uri part, and thus affect only GET. The post is decoded using the browser provided content-encoding. Most borwser don't bother to set that header. Behaviour of tomcat is to then use some default (ISO-8859-1). Best way to ensure tomcat will

Re: Tomcat 6 UTF-8 GET and POST - please Help..

2008-01-10 Thread david delbecq
... Thought top manager of those companies may be near to that position at some point, i don't think God has anything to do with it ;) Thanks for your help. Alex. On Jan 10, 2008 2:12 PM, David Delbecq [EMAIL PROTECTED] wrote: As you might infer, URIEncoding=UTF-8 only work on the Uri part

Re: Error when shutting down Tomcat

2008-01-10 Thread david delbecq
Tomcat use a localhost binded port to receive SHUTDOWN request. However, i think it does start listening on that port only after the startup sequence is finished. What you see is not a message from the running tomcat, but a message from the shutdown script, that says it can't connect to tomcat

Re: How to get tomcat to decode %26

2008-01-10 Thread David Delbecq
%XX in the url requested by a browser are already converted by tomcat to their corresponding characters, according to the http specs. You don't have to do anything special for that. En l'instant précis du 10/01/08 18:02, Vackar s'exprimait en ces termes: Hi, Does anyone know how to get tomcat

Re: Error: server\webapps\manager does not exist or is not a readable directory...

2008-01-10 Thread David Delbecq
Did you actually install the admin webapp? It must be downloaded and installed separately. En l'instant précis du 11/01/08 08:15, Thomas Chang s'exprimait en ces termes: Hi all, I copy the whole dir of the Tomcat 5.5.17 which runs quite well at home to the computer in my office. As I start

Re: memory usage increases on application stop

2008-01-11 Thread David Delbecq
En l'instant précis du 11/01/08 09:34, Morten Matras s'exprimait en ces termes: Case: I've deployed an application on a Tomcat 6.0 (current release). The application is a Hibernate / Stripes application. Almost no memory is allocated due to the deployed application. Setting: -Xmx64m

Re: Question of separate catalina.out

2008-01-12 Thread David Delbecq
Well technically, tomcat does not write to catalina.out, it writes by default to standard output. The startup script does a redirect of tomcat stdout and stderr to catalina.out using the '' operator. Now, on unix system, when a file is opened and a handle is retrieved (here by invoking shell

Re: No Authentication Dialog appears for Tomcat Manager

2008-01-13 Thread david delbecq
Are you using a browser to access that url? 'cause you mention ANT, but ant is not a browser and will surely not show a dialog when accessing the manager... Mark Riggins a écrit : Instead of a basic-authentication dialog box, I get the following error message instead. HTTP Status 401

Re: No Authentication Dialog appears for Tomcat Manager

2008-01-14 Thread David Delbecq
The message you see in browser, namely HTTP Status 401 - appear probably because your browser for an unknown reason does not support basic authentification or has it disabled (securities in browser that prevent basic auth outside of ssl?). The text you see is normaly sent by tomcat along

Re: Automatic Thread Dump configuration

2008-01-17 Thread David Delbecq
En l'instant précis du 17/01/08 15:46, Chad Kellerman s'exprimait en ces termes: Tomcat Users, I have been googling Tomcat thread dumps and have not seen what I want to accomplish anywhere... Is there a way to configure Tomcat to execute a thread dump whenever there is an Out Of Memory

Re: application startup problem

2008-01-18 Thread david delbecq
Jannetta Steyn a écrit : Hi David Thanks for your response. At least one class file in your war requires a jvm which's version should be higher than the one running tomcat. It generally occurs when you try to load a java 5 compiled class file using a java 1.4 or earlier jvm. I'll

Re: application startup problem

2008-01-18 Thread david delbecq
At least one class file in your war requires a jvm which's version should be higher than the one running tomcat. It generally occurs when you try to load a java 5 compiled class file using a java 1.4 or earlier jvm. I'll check twice the version tomcat is actually using to run. It is most

Re: Custom initialization after startup

2008-01-18 Thread david delbecq
Jonadan a écrit : Is there any way I can perform custom initialization IMMEDIATELY after Tomcat startup automatically? use lifecycle listener http://tomcat.apache.org/tomcat-5.5-doc/config/engine.html - To start a new

Re: Impossible to use multi threading with Tomcat by using a DLL ?

2008-01-18 Thread david delbecq
Tomcat does not block multi threading. There is not such thing i think in the JVM anyway, so i don't see how it could prevent your native code from creating threads. When you say you are having same call without tomcat, you mean in a spearate jvm, using the same jni libraries? Maybe you are

Re: Impossible to use multi threading with Tomcat by using a DLL ?

2008-01-18 Thread david delbecq
: there is no error but the thread are blocked. 2008/1/18, david delbecq [EMAIL PROTECTED]: Tomcat does not block multi threading. There is not such thing i think in the JVM anyway, so i don't see how it could prevent your native code from creating threads. When you say you are having same call

Re: How to trap exceptions

2008-01-18 Thread david delbecq
lanchez a écrit : All, I have a web application and I want to create a generic exception handler/listener which will listen to all the exceptions (checked and runtime) which are thrown by web application. If they reach level of tomcat, just write a servlet filter, and manage it

Re: Fwd:Tomcat Manager Problems

2008-01-18 Thread david delbecq
Check the tomcat use use did not get corrupted / truncated during download. Between installs / reinstall, ensure you also redownloaded tomcat jar (not from browser cache!) [EMAIL PROTECTED] a écrit : Hi all, I've a serious problem, I've installed Tomcat on my PC and when I started the

Re: Impossible to use multi threading with Tomcat by using a DLL ?

2008-01-19 Thread david delbecq
with and without the servlet, and it's the same result : it doesn't work when we use Tomcat. david delbecq a écrit : If your applet code is called from button actions, all calsl to your dll will be made from the same AWT thread. If you call it from a servlet in tomcat , a random thread from the HttpThread

Re: Tomcat App becomes Unresponsive

2008-01-20 Thread David Delbecq
If you are on a UNIX jvm, issue a signal 3 (SIGQUIT) to the jvm process when tomcat stops responding. It will dump on standard-out (normaly redirected to catalina.out) the list of Threads with a stacktrace for each. By invstigating stacktrace you will get clues as where the problem is. I don't

Re: Applets and Sessions

2008-01-21 Thread david delbecq
Applet are client side, they are not related to tomcat. If you applet request ressources from server, the fact it creates or not session depend on the way it access it and on the fact ressource requires or not a user session. Charlie Wingate a écrit : Hi All, At every user

Re: Tomcat 5.5 won't start up anymore after adding/removing webapps

2008-01-22 Thread david delbecq
- From: david delbecq [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 22, 2008 10:08 AM To: Tomcat Users List Subject: Re: Tomcat 5.5 won't start up anymore after adding/removing webapps To manually undeploy a webapp, when tomcat is stopped, remove webapps/webappname* remove work/Catalina

Re: Tomcat 5.5 won't start up anymore after adding/removing webapps

2008-01-22 Thread david delbecq
To manually undeploy a webapp, when tomcat is stopped, remove webapps/webappname* remove work/Catalina/localhost/webappname remove conf/Catalina/localhost/webappname.xml Karr, David a écrit : I installed v5.5.25. I installed the admin app (although the instructions on doing this seem

Re: Problems with jars or else.

2008-01-23 Thread David Delbecq
Don't put your jars at duplicate locations (shared/lib and webapp/WEB-INF/lib) it should be enought to put the in your WEB-INF/lib folder. [EMAIL PROTECTED] a écrit : Hi all, I've build a Web Service that should reload me Axis due to an Ant project file, the service calls Main.main()

Re: Reload modifed servlet

2008-01-27 Thread david delbecq
Since you need to do a clean/rebuild, which is an operation that occurs on the webapp building side, i'll tend to say it's not related to tomcat but more on the way your build process workd, it may be that it fails to see the servlet need a recompilation on the developer's IDE. Compiling

Re: server configuration - shared appBase in multiple Host elements

2008-01-29 Thread David Delbecq
Hi, i think there is no big troubles in having multiple host or even multiple tomcat instances share a common webapp repository, as long as the webapp are properly coded. Tomcat will not write to the webapp base, unless you deploy using tomcat manager. Only exception is when you put a .war

Re: Wrong path to servlets

2008-01-29 Thread david delbecq
Difficult to say, without the actual jsp code Emmanuel Milou a écrit : Hi, I would like to have your input on this problem. It is quite tricky and I hope you will be able to help me. Here is my configuration: JDK 1.6.0_03, Apache-Tomcat5.5.25, connector ajp13. When I click on an option in

Re: Empty log files

2008-01-29 Thread david delbecq
http://tomcat.apache.org/tomcat-5.5-doc/logging.html might be a good starting place. I don't know what logging configuration you have, but look like ou use some rolling file appender based on date pattern. It creates new files upon new dates. Change your logging configuration if you don't want

Re: Wrong path to servlets

2008-01-29 Thread david delbecq
); % Of course, each jsp file calls the right servlet... like I said before, if the jsp file is in a sub directory, the name of the sub directory is preprended to the path . david delbecq wrote: Difficult to say, without the actual jsp code Emmanuel Milou a écrit : Hi, I would like to have your input

Re: OutOfMemoryError: allocLargeObjectOrArray

2008-01-30 Thread David Delbecq
This is an internal jvm error. It seems you activated swallowoutput on your context which makes tomcat reidrect stdout and stderr to an internal buffer during servlet excecution and later pass it to a logger. Your servlet is making lots of outputs (75Megs of data) according to your error, and

Re: getting SEVERE: Catalina.stop: java.net.ConnectException: Connection refused error

2008-01-30 Thread David Delbecq
Looks like you are trying, for whatever reason, to stop tomcat prior to starting it. This exception occurs cause there is no tomcat running that could answer that stop request. En l'instant précis du 30/01/08 09:25, Meir Yanovich s'exprimait en ces termes: Hello all Im running with my tomcat

Re: getting SEVERE: Catalina.stop: java.net.ConnectException: Connection refused error

2008-01-30 Thread David Delbecq
better way to do this ? Some kind of checking if the tomcat alive ? Thanks -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 10:29 AM To: Tomcat Users List Subject: Re: getting SEVERE: Catalina.stop: java.net.ConnectException

  1   2   3   4   5   >