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: Connector port=8019 protocol=AJP/1.3 request.secret=MyPass protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler redirectPort=443

problem with tomcat 5.5 and apache AJP

2010-01-22 Thread David Delbecq
load balancer worker.status.type=status -- David Delbecq ICT Institut Royal Météorologique Ext:557

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

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 error

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

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

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

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
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%20Support -- David Delbecq

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

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/webappname/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

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

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

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

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

Re: Configuring DataSourceRealm using Oracle

2008-03-03 Thread David Delbecq
Jason Ling a écrit : I changed the Realm element in the server.xml file, and it became: Realm className=org.apache.catalina.realm.DataSourceRealm dataSourceName=jdbc/webappDB driverName=oracle.jdbc.OracleDriver

Re: Configuring DataSourceRealm using Oracle

2008-03-03 Thread david delbecq
? Jason On Mon, Mar 3, 2008 at 1:11 PM, David Delbecq [EMAIL PROTECTED] wrote: Jason Ling a écrit : I changed the Realm element in the server.xml file, and it became: Realm className=org.apache.catalina.realm.DataSourceRealm dataSourceName=jdbc/webappDB

Re: Configuring DataSourceRealm using Oracle

2008-03-03 Thread david delbecq
more than one Realm in server.xml, is that the scenario where I need to use the real-name tag to specify which Realm to use? In that case, realm-namewhat is the name/realm-name for the realm? Thanks a lot for your guide! Jason On Mon, Mar 3, 2008 at 3:11 PM, david delbecq [EMAIL PROTECTED

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).

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

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

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

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

Re: Trying to know why tomcat shuts down

2008-02-20 Thread David Delbecq
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 process if the kernel can't

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
, 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 Assunto: Re: Tomcat6 classloader problem Root

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

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 want

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

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

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,

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

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

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

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

2008-01-30 Thread David Delbecq
- 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 tomcat

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: Context path=/restricted ... ... Valve

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: Context path=/restricted ... ... Valve

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

2008-01-30 Thread David Delbecq
: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 List Subject: Re

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

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

2008-01-30 Thread David Delbecq
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.ConnectException

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

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

Re: Redirect HOST to HOST:PORT

2008-01-30 Thread David Delbecq
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 index.html at ROOT, put it under the root folder

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

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

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

  1   2   3   4   5   >