Re: problem with tomcat 5.5 and apache AJP

2010-02-12 Thread David Delbecq
problematic (we stayed in US ASCII range however) Le 22/01/10 14:20, André Warnier a écrit : > David Delbecq wrote: >> >> > port="8019" >> protocol="AJP/1.3" request.secret="MyPass" >> protocolHandlerClassName="o

problem with tomcat 5.5 and apache AJP

2010-01-22 Thread David Delbecq
quot;MyPass" # Load-balancing behaviour worker.lbJboss.type=lb worker.lbJboss.balance_workers=jbossBoromir worker.lbTomcat.type=lb worker.lbTomcat.balance_workers=tomcatBoromir worker.lbOld.type=lb worker.lbOld.balance_workers=tomcatIlluin # Status worker for managing load balancer worker.status.type=status -- David Delbecq ICT Institut Royal Météorologique Ext:557

Re: Fwd: setting JAVA_OPT in Tomcat

2008-06-06 Thread David Delbecq
I see several errors below: 1) you put " at what look like random magic places. Just put a " in the begin and a " in the end. 2) you problem is the you didn't put a space between $JAVA_OPTS and the first argument following it when you construct the new JAVA_OPTS 3) you don't want a linefeed (t

Re: Environment Variables

2008-06-06 Thread David Delbecq
Tomcat does not use CLASSPATH. The list of variables used by tomcat is written at the top of catalina.sh script. En l'instant précis du 06/06/08 10:46, [EMAIL PROTECTED] s'exprimait en ces termes: Hi, Can anybody tell me which environment variables tomcat uses? I am pretty sure it uses JAVA_

Re: Fwd: setting JAVA_OPT in Tomcat

2008-06-06 Thread David Delbecq
En l'instant précis du 06/06/08 10:23, luke l s'exprimait en ces termes: *Don't forget to add a space between $JAVA_OPTS and your additionnal option. In your case, you joined -J and -D parameters without a space, as a result the jvm does not recognize an option named "J-D" :)* I've again an erro

Re: setting JAVA_OPT in Tomcat

2008-06-06 Thread David Delbecq
En l'instant précis du 06/06/08 09:42, luke l s'exprimait en ces termes: Hi, I must start Tomcat setting a value for this attribute com.sun.CORBA.transport.ORBTCPReadTimeouts (it set a Timeout for a corba socket). I've tried to add com.sun.CORBA.transport.ORBTCPReadTimeouts in JAVA_OPTS Tomcat v

Re: Possible to assign different class loader for each web app with tomcat

2008-05-09 Thread David Delbecq
This all depends on your webapp structure. If your config class is on the common or system class loader, it's shared by all webapps. Otherwise, (that mean if class is in WEB-INF/lib or WEB-INF/classes), it shouldn't be shared. Unless, of course, you specified a specific classloader to use by tom

Re: hackers sending long URLs to probe site?

2008-04-30 Thread David Delbecq
DIGLLOYD INC a écrit : Christopher, Thank you. This is helpful. Sorry about the "hijacked thread", I didn't think of that. Yes, I've double-checked that my site isn't generating the bad links. It's all static HTML and I've searched for any duplications, "../../" type things, etc. I don't

Re: How to stop having to put :8080 in the url?

2008-04-11 Thread David Delbecq
for http://server/arsys* urls and to forward them to your internal tomcat on port 8080. You only have to instrcut tomcat about the server and port the end-user is seeing, so that servelt / jsps that build urls build them properly. http://tomcat.apache.org/tomcat-5.5-doc/config/http.html#Proxy%

Re: Tags not being executed on first request...

2008-03-25 Thread david delbecq
It's probably that tag A you use has conditional logic that is false upon first request. Making it skip it's content. Difficult to tell more without knowing the taglibs involved and the associated conditions Nathan Wilhelmi a écrit : Hello - We are using Tomcat 6.0.14, we have some pages that us

Re: Error Page Question

2008-03-19 Thread David Delbecq
The easiest way i found out here was to use the 404 of the ROOT web application ^^ to display a 'site under maintenance'. You could also create a ROOT//index.html to get same result En l'instant précis du 19/03/08 11:55, Peter Stavrinides s'exprimait en ces termes: Hi all, How do I display

Re: Making the most of 8G of RAM

2008-03-17 Thread David Delbecq
Stephen Nelson-Smith a écrit : Hi, I have a new machine with 8G of RAM, running a 32 bit 2.6 kernel (CentOS 5). It is running an application inside 4.1.37 with Java 1.4.2. Given that we only have a 32 bit address space, is it fair to say that I can't use more than 2G of RAM for my Java virtual

Re: 8080 only works on localhost

2008-03-10 Thread david delbecq
banderson a écrit : I have an application running on tomcat 5.5 and I can access it no problem from http://localhost:8080. However, when I use another computer to try and connect via IP address (192.168.1.2:8080), the browser states that it can't establish a connection. Any ideas what I might b

Re: Detecting traffic level programmatically

2008-03-10 Thread david delbecq
Paranoid_Fabio a écrit : Hello. I'm developing an application for a small company. The company has got only one server, from wich users can download data uploaded by providers. Data can be uploaded in zip archives and it can be several MB large. I don't want users to experience slow down in the

Re: weird log output

2008-03-05 Thread David Delbecq
En l'instant précis du 05/03/08 09:50, David Delbecq s'exprimait en ces termes: nice, since you are on tomcat, did you try a Please read "since you are on linux" -- http://www.devlog.be (a belgian developer's logs) ---

Re: weird log output

2008-03-05 Thread David Delbecq
En l'instant précis du 05/03/08 06:10, Lessie Z. Mitch s'exprimait en ces termes: Running TC5.5.23 as lone web server on RHE4 box Official tomcat, or redhat provided tomcat. In second case, get rid of it and download a clean official tomcat, mailing list won't offer much help on refurbish

Re: Configuring DataSourceRealm using Oracle

2008-03-03 Thread david delbecq
n server.xml, is that the scenario where I need to use the tag to specify which Realm to use? In that case, what is the name for the realm? Thanks a lot for your guide! Jason On Mon, Mar 3, 2008 at 3:11 PM, david delbecq <[EMAIL PROTECTED]> wrote: And, actually, you didn't

Re: Configuring DataSourceRealm using Oracle

2008-03-03 Thread david delbecq
sted above. Did I miss any components in the configuration that I tried? Jason On Mon, Mar 3, 2008 at 1:11 PM, David Delbecq <[EMAIL PROTECTED]> wrote: Jason Ling a écrit : I changed the element in the server.xml file, and it became: your are using the data

Re: Configuring DataSourceRealm using Oracle

2008-03-03 Thread David Delbecq
Jason Ling a écrit : I changed the element in the server.xml file, and it became: your are using the datasourcerealm with parameters from the jdbcrealm, those are two separate realms. For datasource realm, you need to define a datasource that matches the one specified in dataSou

Re: Encoding at server level - apache-tomcat-5.5.23\conf\web.xml

2008-03-03 Thread David Delbecq
First, that's the encoding used *only* for reading that specific xml file. All xml files have such processor directive. Second, ISO-8859-2 is not a standard java provided encoding. As such, you will most probably need to find third party libraries that provide that encoding to your jvm (see h

Re: Frustrating Issue with default host

2008-02-28 Thread david delbecq
[EMAIL PROTECTED] a écrit : I m trying to setup tomcat as below. The host blocks have ips in them. I have a proxy configured in front of the tomcat with an external ip which receives all the request for the sites from the external world and contacts the tomcat (with different hosts configured). T

Re: Class and Object sharing across domain and its sub-domains

2008-02-25 Thread david delbecq
Since your 3 webapps need to share classes code, object instances and session information, i don't see why you want to make 3 webapps instead of just one. So my advise would be to make a single webapp. Kristin Coles a écrit : I use Apache Tomcat (5.5.9) to host the website (xyz.com) along with

Re: how to package common lib and ear file

2008-02-25 Thread David Delbecq
Classes shared between webapps go in shared/ folder. server/ folder is for server specific (invisible to webapps) classes. PS: that information is for tomcat, since you seem to use jboss, you better ask jboss mailing list, as jboss might use different folders Dave a écrit : I have an ear app

Re: OT: java memory question -Xmx2048m

2008-02-25 Thread David Delbecq
En l'instant précis du 25/02/08 13:51, Dave s'exprimait en ces termes: Our Linux(FC) machine has 8G physical memory and 12G swap size. I am using JDK 1.5. I tried to set the Java option -Xmx to set max heap size for best performance, the allowed max heap size is 2048M . Does that mean tha

Re: do I need to install Binary Distributions or Source Code Distributions for tomcat5.5

2008-02-22 Thread David Delbecq
Unless you plan to compile your tomcat and play with it's internals, you don't need the source En l'instant précis du 22/02/08 11:36, Sneha Manohar s'exprimait en ces termes: Hi , I am new to tomcat. I have window vista OS & jdk1.6. Which version of tomcat 5.5 i.e Binary Distributions or

Re: Trying to know why tomcat shuts down

2008-02-20 Thread David Delbecq
20/02/08 14:29, Peter Crowther s'exprimait en ces termes: From: David Delbecq [mailto:[EMAIL PROTECTED] our tomcat, in a test environment, is shutting down unexpectedly. [...] (a linux 32bits box) Which Linux, and have you disabled the kernel option that nukes the largest p

Trying to know why tomcat shuts down

2008-02-20 Thread David Delbecq
Hello, our tomcat, in a test environment, is shutting down unexpectedly. There is no messages about stopping webapp, or even receiving SHUTDOWN message from management port. It's just normal webapp behaviour in logs and that's all. We notice this when someone comes in and says reserver does n

Re: 2 Webapps sharing classloader ?

2008-02-19 Thread david delbecq
Is there any special reason you would need to put that in 2 separate webapps? I would suggest to stuff all in one webapp and be happy with it. Crossing boundaries of webapp sandbox might prove cumbersome, prone to errors and over engineering tolina a écrit : I have a webapp which contains

Re: JNDI Realm and Password Encryption

2008-02-13 Thread david delbecq
Sniffing protocol would probably give you an idea about this :) Jeff Marendo a écrit : Hello, I'm using the JNDI realm and communicating with a Novell eDirectory (LDAP) server for authentication and authorization purposes. We're communicating on port 389, which is non-secure. I know the user

Re: RES: Tomcat6 classloader problem

2008-02-12 Thread David Delbecq
mcat 6.x, or am I wrong ? Thanks a lot, Rogerio Baldini jCompany Suite - Product Owner +55 (31) 3555-0050 [EMAIL PROTECTED] Powerlogic S.A. -Mensagem original- De: David Delbecq [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 12 de fevereiro de 2008 09:20 Para: Tomcat Users List As

Re: Tomcat6 classloader problem

2008-02-12 Thread David Delbecq
Root of your problem is that: "You have more than one version of 'org.apache.commons.logging.Log' visible" You say app1 access app2 which access back app1. Webapps in a container should not be able to see each other's classes. Can you tell us which method you used to have those 2 webapps see e

Re: rotating catalina.out using log4j

2008-02-11 Thread David Delbecq
catalina.out is just the sink for System.out and System.err, it's not managed by logging facilities. It's not even seen by jvm, as the redirection is done in the startup script (using the shell '>' redirector). If you configure a log4j logger for tomcat that uses an other file (see below our si

Re: How to avoid session fixation?

2008-02-11 Thread david delbecq
Christopher Schultz a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Delbecq wrote: | I think this is worth submitting a security issue request on tracker, | to ask that, at least, the container links the requester IP to the | session. I'm pretty sure that nobody will

Re: How to avoid session fixation?

2008-02-08 Thread David Delbecq
I think this is worth submitting a security issue request on tracker, to ask that, at least, the container links the requester IP to the session. Changing session ID upon login in container would be a good thing imho, it would ensure ID become unknown to attacker after login, wouldn't destroy u

Re: Application Realm in Tomcat

2008-02-07 Thread david delbecq
Hello, i happened in the past to be coding a specific real that had to provide extra informations to webapp (like user fullname, email, roles, etc). I could only do this using the userprincipal (created own subclass then typcasted it at webapp level). You simple CAN't query the realm, becaus

Re: How to avoid session fixation?

2008-02-06 Thread david delbecq
Sorry Christopher, but i tried at work, it's very easy to force a user to use a specific sessionid, and later use yourself that session id to gain that user's credential, and for the whole session there is only one login, the one from the user you attempt to hijack. As such, tomcat is vulnerabl

Re: Tomcat Freez

2008-02-06 Thread David Delbecq
When it freezes, get a stack trace of all Thread in tomcat, by analysing those stacks, you can get an idea where it freeze and why. Getting Threaddump on windows requires you, if i remember well, to type ctrl-z in the tomcat console. En l'instant précis du 06/02/08 05:18, Suren s'exprimait en

Re: Facing problem in integration of PHP and tomcat

2008-02-04 Thread David Delbecq
Did you try this? http://www.alexander-merz.com/21.html En l'instant précis du 05/02/08 06:57, puneetjain s'exprimait en ces termes: Hi, I am trying to integrate PHP with tomcat server i.e. trying to running PHP in servlet container. Environment: = Operating System: RedHat Enterprize L

Re: javaee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

2008-02-04 Thread david delbecq
Chaohua Wang a écrit : Hi Folks, I am new to tomcat. Currently I am learning spring-struts-jpa-ajax stuff. And deployed to apache-tomcat-5.5.23. (http://struts.apache.org/2.x/docs/struts-2-spring-2-jpa-ajax.html) When I deployed war to tomcat, I got the following error: --

Re: how to load a new jar file while server is running

2008-02-01 Thread David Delbecq
For webapp's WEB-INF/lib folder, just restart the webapp part, a new webappClassLoader will be used that include your .jar For other locations, you will need to restart tomcat. En l'instant précis du 01/02/08 12:17, kr1 s'exprimait en ces termes: Hi, I need to place a new jar file into lib wh

Re: Forcing a session lastaccessedtime update

2008-01-31 Thread david delbecq
You will become tomcat dependant but, try to use this http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina/session/StandardSession.html#access() tomcat user a écrit : When accessing an HTTPSession through a back door the session's last access time is not updated. Is th

Re: Tomcat Problem file not found

2008-01-30 Thread David Delbecq
Looks like something is calling tomcat PAUSE command from the tomcat command port. It may not be related to Exception you get prior but more related to some external process giving instructions to pause on tomcat administrator interface. Tomcat in itself catches all Exception that occur during

Re: sharing session cookies across sub-domains - how?

2008-01-30 Thread David Delbecq
Christopher Schultz a écrit : If you use a web server like Apache httpd to make it look like there are several domains there, but there's really only one deployed instance of your web application, then you should already be able to share the cookies across the domains. And of course, if you ju

Re: What is relation of JSESSIONID and HttpSession?

2008-01-30 Thread David Delbecq
Always use httpSession *and* url rewriting together. The container takes care to track session either using url either using cookies, depending on client configuration. Whatever case, your code is the same, just do url rewriting everywhere you output links. legolas a écrit : Hi Thank you for

Re: sharing session cookies across sub-domains - how?

2008-01-30 Thread David Delbecq
It's technically possible that cookies get shared accros domains, setting the cookie domaine to .mydomain.com. However, it will be of no help to you, because each subdomain runs it's own set of webapps in tomcat. The session can't be shared across webapps. If you need to shared datas with your

Re: Redirect "HOST" to "HOST:PORT"

2008-01-30 Thread David Delbecq
Federico. -Mensaje original- De: David Delbecq [mailto:[EMAIL PROTECTED] Enviado el: Wednesday, January 30, 2008 15:16 Para: Tomcat Users List Asunto: Re: Redirect "HOST" to "HOST:PORT" Just use the same trick you already do. This time, instead of putting your i

Re: Redirect "HOST" to "HOST:PORT"

2008-01-30 Thread David Delbecq
Just use the same trick you already do. This time, instead of putting your index.html at ROOT, put it under the root folder of an apache httpd server for that host. This assumes you run an apache httpd server on that server and it listens to port 80. [EMAIL PROTECTED] a écrit : I'm running to

Re: Xmx and Xms size

2008-01-30 Thread David Delbecq
The answer is in the question, use the results of your load test to find optimal values for you. En l'instant précis du 30/01/08 15:19, Julio Cesar Leiva s'exprimait en ces termes: Hi all We have an app on a m linux box dual processor dual core , 16GB RAM We are wondering what could be the idea

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

2008-01-30 Thread David Delbecq
Shows the command line in extended format. Someone knows what is the equivalent in sunOs? Thanks -Original Message----- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 2:41 PM To: Tomcat Users List Subject: Re: getting SEVERE: Catalina.stop: java.net.Connec

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

2008-01-30 Thread David Delbecq
08 13:36, Meir Yanovich s'exprimait en ces termes: Hi and thanks for the fast reply but my version of ps Don't have the x flag, any other way ? -Original Message----- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 2:22 PM To: Tomcat Users L

Re: IP Filters for subfolders

2008-01-30 Thread David Delbecq
En l'instant précis du 30/01/08 13:31, Ray Allen s'exprimait en ces termes: I'm trying to restrict http access to a given folder. All the documentation points to appending the /conf/server.xml entry with the following text: ... ... That is restricting access to a context n

Re: How to kill a (stucked) Tomcat thread

2008-01-30 Thread David Delbecq
There no OOTB way to terminate a Thread. Actually, java in itself does not provide an OOTB way to kill a Thread! If the Thread is stuck processing request, your best solution is to stop and restart tomcat. Only way a Thread can exit in java is to exit the run() method of the Thread. If it's a t

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

2008-01-30 Thread David Delbecq
al Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 12:47 PM To: Tomcat Users List Subject: Re: getting SEVERE: Catalina.stop: java.net.ConnectException: Connection refused error under linux, a combinaision of ps, grep and wc could tell you how much

Re: IP Filters for subfolders

2008-01-30 Thread David Delbecq
En l'instant précis du 30/01/08 12:50, Ray Allen s'exprimait en ces termes: I'm trying to restrict http access to a given folder. All the documentation points to appending the /conf/server.xml entry with the following text: ... ... That is restricting access to a context name r

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

2008-01-30 Thread David Delbecq
there any 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.Connec

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: 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 t

Re: Wrong path to servlets

2008-01-29 Thread david delbecq
apella.intranet.agenda.AgendaServlet").forward(request,response); %> 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

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
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: 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 t

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 servle

Re: find out the possible bottleneck webapp

2008-01-24 Thread David Delbecq
En l'instant précis du 24/01/08 14:32, maggie s'exprimait en ces termes: Hi ,all I deploy many web applications on Tomcat. But sometimes the response time of Tomcat is very long. At that time, the CPU usage is very high. Is there any tool for me to find out which web application consumes most o

Re: Problems with jars or else.

2008-01-23 Thread David Delbecq
Don't put your jars at duplicate locations (shared/lib and /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() (included on a

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

2008-01-22 Thread david delbecq
er -----Original Message- 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 webap

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/* remove work/Catalina/localhost/ remove conf/Catalina/localhost/.xml Karr, David a écrit : I installed v5.5.25. I installed the "admin" app (although the instructions on doing this seem uncertain). I used it for a few hours

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 in

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: Impossible to use multi threading with Tomcat by using a DLL ?

2008-01-19 Thread david delbecq
h 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 t

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 service

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 ther

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

2008-01-18 Thread david delbecq
t, that doesn't work : 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

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 j

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 check

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 probab

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 topi

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 is

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: 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: 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: 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 -XX:Ma

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 the

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 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: Tomcat 6 UTF-8 GET and POST - please Help..

2008-01-10 Thread david delbecq
o for Websphere, Weblogic, Oracle server etc... 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 yo

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 w

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 deployement

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 p

Re: tomcat6 installation

2008-01-09 Thread David Delbecq
En l'instant précis du 09/01/08 11:16, Melanie Pfefer s'exprimait en ces termes: Hello, I am trying to install tomcat6 on Solaris 8. I downloaded apache-tomcat-6.0.14-src.tar and untarred the archive to /usr/local/tomcat6/ bash$ more catalina.out Exception in thread "main" java.lang.N

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 wh

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 th

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: H

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 catal

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 Caldir

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: Subdomain Virtual Hosting.

2007-12-27 Thread david delbecq
g 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

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. I hope you understand my problem its about * (Subdomains) to be routed to different context path. Simply put, yo

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: 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. No

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 respo

  1   2   3   4   5   6   >