Re: FW: IE Issues with JSPWiki JCIFS!!

2007-01-30 Thread David Delbecq
- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: 30 January 2007 12:02 To: Tomcat Users List Subject: Re: IE Issues with JSPWiki JCIFS!! Looks like a JCIFS problem, not a tomcat one. The code page 850 encoding is only supported on some windows based JVM. Unfortunately, if your client

Re: Return values in wrong sort order

2007-01-30 Thread David Delbecq
Looks to me liek a problem of the webapp, not a problem of tomcat. The oracle thin driver have, i already noticed, to default to america.american. You webapp will probably need to issue a few alter session to enable special sorting rule. It is probably working on your sqlplus client because it is

Re: Can servlets safely spawn threads?

2007-01-29 Thread David Delbecq
En l'instant précis du 01/29/07 11:33, Danny Ayers s'exprimait en ces termes: Hi, I would be grateful is someone could answer these questions: * Can servlets safely spawn threads? short answer, yes. They *can*. However that does not mean all spawned Threads are safe. * If so, under what

Re: HTTP PUT - HOW TO CONFIG?

2007-01-26 Thread David Delbecq
Just map your own servlet to /incoming/*, have this servlet react to 'PUT' by storing the content of request into a file. This is not more difficult than writing any other servlet. You can then upload files using PUT http://server:port/myWebapp/incoming/path/where/to/store/document.pdf and

Re: how to detect whether Tomcat has finished starting completely on Windows?

2007-01-25 Thread David Delbecq
Did you try adding an |org.apache.catalina.LifecycleListener to the engine entry? I see there is an event | org.apache.catalina.Lifecycle.AFTER_START_EVENT that gets called after the start of component. En l'instant précis du 01/25/07 08:50, Vlad s'exprimait en ces termes: * Andre Prasetya

Re: find where webapp installed via java code

2007-01-25 Thread David Delbecq
Please qualify 'system path in which the executing webapp is running'. do you mean the if your war has been exploded to /tomcat/webapps/myapp/ Then you need to get this path? It can be tricky, because, even if it were possible by some magic including asking class loader where classes binaries are

Re: find where webapp installed via java code

2007-01-25 Thread David Delbecq
this. Thanks in advance, Asaf -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Thursday, January 25, 2007 3:30 PM To: Tomcat Users List Subject: Re: find where webapp installed via java code Please qualify 'system path in which the executing webapp is running

Re: Further documentation on j_security_check

2007-01-24 Thread David Delbecq
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Security5.html#wp182253 http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Security5.html#wp498028 Also take a look at servlet 2.4 specifications, section SRV12.5.3 http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html En l'instant précis

Re: Further documentation on j_security_check

2007-01-24 Thread David Delbecq
it's stated it must be that way in servlet 2.4 specifications, section SRV12.5.3 From: David Delbecq [EMAIL PROTECTED] Reply-To: Tomcat Users List users@tomcat.apache.org To: Tomcat Users List users@tomcat.apache.org Subject: Re: Further documentation on j_security_check Date: Wed, 24 Jan 2007

Re: Tomcat OutOfMemoryException PermGen

2007-01-23 Thread David Delbecq
The problem is that it's a webapp problem, not a tomcat one, has as been explained quite a few times here. The PermGen can not be flushed that way. Normally, the webapp class datas are garbage collected when they are undeployed/redeployed. However, under certain conditions that depend on the

Re: Access to error page denied in Firefox 2.0

2007-01-23 Thread David Delbecq
En l'instant précis du 01/22/07 17:05, Marcel Frehner s'exprimait en ces termes: Thank you for your answer David. My conclusion would be to move my protected resources to a separate folder and adjust my web.xml accordingly. Of course you were absolutely right about the 403 status. My Firefox

Re: Webapps loading order

2007-01-23 Thread David Delbecq
It might be, for example, the order in which the webapps are iterated inside a hashset, which can completly change if you add a webapp. Or it might be the order in which the filesystem return them, As people said, it depends on the time. If you really want to know, take a look at source code of

Re: Access to error page denied in Firefox 2.0

2007-01-22 Thread David Delbecq
I see several potential problems as a side note before the core problem... First, you map your security constraint to /*, that mean *nothing* in your webapp will be accessible prior to login, this includes pictures, css. Second, be aware to never access directly login.html, it should be tomcat

Re: Tomcat limited connection to only 1

2007-01-19 Thread David Delbecq
Can you describe with more details the nothing will work and your intended behaviour. Explain how you tested configuration. According to your configuration, the connector should work like this: 1) Serves exactly one request at a time (maxProcessors). 2) When another connection is attempted and

Re: Using the manager for multiple hosts

2007-01-19 Thread David Delbecq
I have here manager running with 2 virtual hosts One host is mapped to webapps/, another one (the default host) is mapped to webapps-alternate/ I just used a unix symlink from webapps-alternate/manager to webapps/manager. Now i have manager on both host with a common installation. However, be

Re: Tomcat limited connection to only 1

2007-01-19 Thread David Delbecq
. i must pay when we wont this. i would rather spend the time for lern more about tomcat and to give better service to our customer. ok, at last. I have try the parameter maxkeepaliverequest. But the same. i can connect with the same result as before. Frank David Delbecq wrote: Can

Re: Tomcat limited connection to only 1

2007-01-19 Thread David Delbecq
handle one sessionid for one connection. by the local installation we connect only once a time with the user guest. i don't understand this. normaly when i close the browser the session and session id will be distroyed. is that not right. David Delbecq wrote: Connection has nothing

Re: server.xml

2007-01-18 Thread David Delbecq
En l'instant précis du 01/18/07 15:22, [EMAIL PROTECTED] s'exprimait en ces termes: Hi, Just recently I have installed tomcat and I still cannot make my pages available. I have a test file put in my webapps folder that 1. works fine when called from the server machine with the link

Re: Another way to launch an external program from a servlet?

2007-01-17 Thread David Delbecq
2 suggestions: 1) Try to exec() only programs that do not require to connect to the windows desktop (am not sure such program does exist...) 2) If possible, migrate the tomcat to a unix server, there you can spawn tools (indexers, system backups, whatever) without requiring tomcat to have access

Re: Sessionid duplication

2007-01-17 Thread David Delbecq
By default, the manager generates 16 hexadecimal characters session identifiers. Those are generated by taking the first 16 characters of the md5 sum of a random byte[16]. If we assume (that might be a bit wrong) that all md5 sums are equiprobables, that means in the end that your session id is a

Re: Sessionid duplication

2007-01-17 Thread David Delbecq
En l'instant précis du 01/17/07 17:00, Peter Crowther s'exprimait dans toute sa noblesse: From: David Delbecq [mailto:[EMAIL PROTECTED] Those are generated by taking the first 16 characters of the md5 sum of a random byte[16]. Interesting. Note that although the existing code makes

Re: Sessionid duplication

2007-01-17 Thread David Delbecq
according to code this will, for that engine, generate sessionid like this: 123456789ABCDEF0jvm1 En l'instant précis du 01/17/07 17:46, Eric Waite s'exprimait dans toute sa noblesse: So using the following: Engine name=Standalone defaultHost=localhost jvmRoute=jvm1 / with unique name and

Re: different version of java

2007-01-16 Thread David Delbecq
If you run two tomcat instances, from same location, at same time you will run into various troubles 1) The second VM will have problems binding to ports, as the first one will already have claimed the port. You can argue to use different config, but then it's 2 different installations. 2)

Re: [OT] different version of java

2007-01-16 Thread David Delbecq
En l'instant précis du 01/16/07 16:26, Christopher Schultz s'exprimait dans toute sa noblesse: I think Peter Crowther hit the nail on the head: we are being imprecise in our terminology. I've been talking about a single installation (i.e. only one binary copy of Tomcat) but using several

Re: Garbace Collection executes 1GB but HEAP Size at 1.5GB!

2007-01-10 Thread David Delbecq
Just a simple question. Is it a problem for you that java reclaim unused memory space instead of consuming more OS memory? In general, there is a garbage collection thread that keep running in low priority when you start the jvm, that's why it starts to GC even when your limit is not reached yet.

Re: urgent : unsubscribe please

2007-01-10 Thread David Delbecq
I see that your sending addresse is not exactly the same as the one in your signature. Could it be the mailing list tool messed-up with the uppercase? (Yeah i know stupid suggestion, but let's be sure) En l'instant précis du 01/10/07 16:58, [EMAIL PROTECTED] s'exprimait dans toute sa noblesse:

Re: something wrong creating datasource after war deployement

2007-01-08 Thread David Delbecq
Get the full stacktrace of exception to know when this happen. If both install are same, maybe one is on a server that has no access to the db (check the db security settings). Also, what did you compare with windiff? The webapp directories or the full tomcat install directores? Your

Re: something wrong creating datasource after war deployement

2007-01-08 Thread David Delbecq
webapp or to copy unpacked directory, not the war himself. Arnaud David Delbecq a écrit : Get the full stacktrace of exception to know when this happen. If both install are same, maybe one is on a server that has no access to the db (check the db security settings). Also, what did you

Re: something wrong creating datasource after war deployement

2007-01-08 Thread David Delbecq
between context.xml in war and in unpacked directory (because wtihout war all works as expected) but I don't know if it is tomcat bug or if it is problem in my configuration, maybe there is context param allowing to force to tomcat to use context.xml in war or context.xml in directory. David Delbecq

Re: URL rewriting For Session Tracking

2007-01-04 Thread David Delbecq
En l'instant précis du 01/04/07 16:04, Caldarale, Charles R s'exprimait dans toute sa noblesse: From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: URL rewriting For Session Tracking I think you are misinterpreting the OP's question... I think he wants to /force/ the use of

Re: URL rewriting For Session Tracking

2007-01-04 Thread David Delbecq
En l'instant précis du 01/04/07 16:32, fausto mancini s'exprimait dans toute sa noblesse: David Delbecq wrote: 2) in some cases it can be useful to have 2 sessions in same browser (something you can't do with cookies) Hello David, I've never thought about that; it looks interesting. Do

Re: URL rewriting For Session Tracking

2007-01-04 Thread David Delbecq
En l'instant précis du 01/04/07 16:37, Caldarale, Charles R s'exprimait dans toute sa noblesse: From: David Delbecq [mailto:[EMAIL PROTECTED] Subject: Re: URL rewriting For Session Tracking Many thanks to Chris and David for the enlightenment. Another question: How would one handle

Re: Manager deployment for ROOT.war not working properly.

2007-01-03 Thread David Delbecq
En l'instant précis du 01/03/07 01:21, Keith Bottner s'exprimait dans toute sa noblesse: Now this works perfectly if I do it from http://10.0.0.2/manager/html and use the Web interface to upload the ROOT.war. It deploys to / with no problems. But if I use the non HTML version it will not

Re: disable war deployment

2007-01-03 Thread David Delbecq
Is the purpose to prevent users having access to file system from adding wars to tomcat? If yes, just use the OS to forbid write access to appBase for any user and also protect work directory from all users but tomcat. En l'instant précis du 01/03/07 11:22, Stephan Schöffel s'exprimait dans toute

Re: disable war deployment

2007-01-03 Thread David Delbecq
dirs. but i need tomcat to not start apps i dont want it to. David Delbecq wrote: Is the purpose to prevent users having access to file system from adding wars to tomcat? If yes, just use the OS to forbid write access to appBase for any user and also protect work directory from all users

Re: disable war deployment

2007-01-03 Thread David Delbecq
En l'instant précis du 01/03/07 13:05, Stephan Schöffel s'exprimait dans toute sa noblesse: the problem is easy: i have to distribute the tomcat with preinstalled apps. i havae to make sure the tomcat only loads apps that i delivered with it. And how is tomcat supposed to make the difference

Re: disable war deployment

2007-01-03 Thread David Delbecq
En l'instant précis du 01/03/07 14:07, Mikolaj Rydzewski s'exprimait dans toute sa noblesse: Stephan Schöffel wrote: if someone is able to put a war file into the tomcat installed to your computer he can do probably anything he wants to your computer. Use security manager. And run tomcat

Re: How to Run Servlet

2006-12-19 Thread David Delbecq
And please provide the complete terminal output of compilation process so we can have an idea what is your problem. Mark Thomas a écrit : athula bogoda wrote: This is the file i tried to execute. I also set the class path for jsp-api.jar and servlet.jar files. But it did not work.

Re: JSP's not recompiling

2006-12-18 Thread David Delbecq
Hi, could this be your problem (considering rsync does set timestamp to the source timestamps and not the current time)? 1) tomcat start, file X.jsp (version 1) has timestamp t 2) remote content management does a modification, remote X.jsp (version 2) has timestamp t+1 3) in the meanwhile, a

Re: My webapp is oddly asking for user and password

2006-12-18 Thread David Delbecq
Tries with tomcat 5.5.7, i put in webapps/ directory a theTest.war file with only one html file inside. Works perfectly, here is output in console: INFO: Deploying web application archive theTest.war Dec 18, 2006 1:04:46 PM org.apache.catalina.startup.ContextConfig applicationWebConfig INFO:

Re: My webapp is oddly asking for user and password

2006-12-18 Thread David Delbecq
Dani a écrit : On 12/18/06, Siomara-at-planalto.gov.br |tomcat| dxtijagy310t... wrote: don´t you have to include the port tomcat is listening? http://localhost:8080/rms or any other port like: http://localhost:8899/rms No, because I changed it to the default HTTP port 80. But

Re: My webapp is oddly asking for user and password

2006-12-18 Thread David Delbecq
hi, tomcat is set by default to 8080 because, on unix environments at least, low port numbers (like 80) are restricted to be bindable only by root. I don't know for windows. Dani a écrit : On 12/18/06, Siomara-at-planalto.gov.br |tomcat| dxtijagy310t... wrote: I thought the default

Re: My webapp is oddly asking for user and password

2006-12-18 Thread David Delbecq
to create a webapp, you need at least an entry context in catalina, which tomcat create automatically when you deploy a .war Dani a écrit : On 12/18/06, David Delbecq delbd-at-oma.be |tomcat| 3unkjagvg90t... wrote: How did you deploy your simple webapp? I followed these instructions

Re: logging the all the request/response http messages for my application

2006-12-18 Thread David Delbecq
Either use the requestdumper valve provided by tomcat (to dump headers and form submission) Either create a ServletFilter that will decorate the HttpServletRequest and the HttpServletResponse and forward those decorated object to the followup of processing chain

Re: My webapp is oddly asking for user and password

2006-12-18 Thread David Delbecq
Best way to know if you webapp is correctly deployed is to access the manager webapp: http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html Dani a écrit : On 12/18/06, David Delbecq delbd-at-oma.be |tomcat| 3unkjagvg90t... wrote: Better try this. create a rms.war file

Re: How to password protect a directory?

2006-12-05 Thread David Delbecq
Mikolaj Rydzewski a écrit : Hi, I have several directories mapped to my Tomcat instance with context.xml like this: ?xml version=1.0 encoding=ISO-8859-2? Context cookies=false docBase=/home/stats/some_dir path=/stats / There're only html files there. No JSP,

Re: WEB-INF/lib/*.jar

2006-11-23 Thread David Delbecq
[EMAIL PROTECTED] a écrit : thanks all for your reply. actually, I have this kind of directory hierarchy: myapp/build.properties myapp/build.xml myapp/web/*.jsp myapp/web/WEB-INF/web.xml myapp/web/WEB-INF/lib/requiredlibs.jar myapp/web/WEB-INF/classes myapp/src/../*.java This is the

Re: Realm authentication - unconventional usage

2006-11-22 Thread David Delbecq
There are only 5 ways to do authentification on a servlet application: The first, FORM, use form that POST to /j_security_check the j_username and the j_password |web.xml: web-app login-config auth-methodFORM/auth-method form-login-config form-error-page/Error.html

Re: JasperException: The absolute uri: http://java.sun.com/jstl/core cannot be resolved....

2006-11-14 Thread David Delbecq
Show us your web.xml please. Mano a écrit : On 11/13/06, David Delbecq [EMAIL PROTECTED] wrote: Your problem is most probably the leading space in your URI. Remove the space between the quote and the http:// Thanks, David. I was hoping this would solve the problem but it did not! I

Re: JasperException: The absolute uri: http://java.sun.com/jstl/core cannot be resolved....

2006-11-14 Thread David Delbecq
/j2ee/web-app_2_4.xsd; version=2.4 For your dtd problem using the example spring app, it's probably some spring configuration issue (it's not the job of tomcat to locate dtds for web applications) Mano a écrit : On 11/14/06, David Delbecq [EMAIL PROTECTED] wrote: Show us your web.xml please

Re: JasperException: The absolute uri: http://java.sun.com/jstl/core cannot be resolved....

2006-11-14 Thread David Delbecq
How did you deploy your web application? Normally, tomcat webapplicaiton are under webapps/ folder Looking at your structure, i think tomcat except to find this structure: /usr/local/apache-tomcat/webapps/mano-projects/WEB-INF /usr/local/apache-tomcat/webapps/mano-projects/WEB-INF/lib and only

Re: Problem with bootstrap.java

2006-11-13 Thread David Delbecq
Log factory is part of the commons loggin facilities. Try to use the tomcat provided build script instead of using eclipse jar builder to create your bootstrap.jar Stephan Schöffel a écrit : hi there i'm trying to alter the bootstrap.java class to fit my needs. i got the source of 5.5.20. now

Re: JasperException: The absolute uri: http://java.sun.com/jstl/core cannot be resolved....

2006-11-13 Thread David Delbecq
This is most probably a problem in the example webapplication (missing jstl related jar). Refer to spring framework mailing list. Mano a écrit : Hi, Am trying to get the Springapp (the example found in the Spring Framework 2.0 running on my system. Am running Tomcat 5.5.17 and jdk 1.5). When

Re: JasperException: The absolute uri: http://java.sun.com/jstl/core cannot be resolved....

2006-11-13 Thread David Delbecq
Hi, sorry, i just read the bottom of you email, i thought you had downloaded a spring app and it wasn't working. (Overlooked the bottom as a signature ^^) Your problem is most probably the leading space in your URI. Remove the space between the quote and the http:// David Delbecq a écrit

Re: Preventing memory leaks with awt event thread, is it possible?

2006-11-10 Thread David Delbecq
, Caldarale, Charles R wrote: From: David Delbecq [mailto:[EMAIL PROTECTED] Subject: Preventing memory leaks with awt event thread, is it possible? One possibility could be to arrange for awt thread to run in the context class loader of tomcat server, not the one of a web application

Re: Preventing memory leaks with awt event thread, is it possible?

2006-11-10 Thread David Delbecq
Christopher Schultz a écrit : Mikolaj, Mikolaj Rydzewski wrote: Maybe headless=true property (or sth similiar, there is one) would help? To run Java AWT on a server like this, he'd already have to be doing this. :( Nope, we don't want headless awt, it's pretty as usefull as no AWT.

Re: configoration

2006-11-09 Thread David Delbecq
Hi, (God was kinda busy right now, so I took the opportunity to answer you). The only environment variable you need to set up for running tomcat is the JAVA_HOME, which must point a to a java jsk installation (NOT a jre!). Then you just go to your tomcat directory, type bin/startup.sh and you

Re: Change welcome page

2006-11-09 Thread David Delbecq
Just put an index.jsp in webapp/ROOT/ that does a redirect to correct url Fabian Brauers a écrit : Hi, is there an easy way to configure Tomcat (5.0.27) in order to change the default welcome page (http://localhost:8080)? I'm using Business Objects with Tomcat and I always have to use a long

Preventing memory leaks with awt event thread, is it possible?

2006-11-09 Thread David Delbecq
Hello, playing with a webapplication that requires awt to do some graphical operation, i noticed this. 1) Servlet invoked by http-thread 69 request an awt operation 2) AWT initializes and starts it's awt event queue thread. 3) As part of the thread initialisation process, the contextClassLoader

Re: Preventing memory leaks with awt event thread, is it possible?

2006-11-09 Thread David Delbecq
Caldarale, Charles R a écrit : From: David Delbecq [mailto:[EMAIL PROTECTED] Subject: Preventing memory leaks with awt event thread, is it possible? One possibility could be to arrange for awt thread to run in the context class loader of tomcat server, not the one of a web application

Re: Preventing memory leaks with awt event thread, is it possible?

2006-11-09 Thread David Delbecq
Mikolaj Rydzewski a écrit : David Delbecq wrote: Is there a way to avoid this? One possibility could be to arrange for awt thread to run in the context class loader of tomcat server, not the one of a web application, but then you have to find some way to force tomcat into initializing awt

Re: war file

2006-10-31 Thread David Delbecq
I bet you put a .war file an expected to see the site working. It's not that easy :) The easiest way to deploy you .war in tomcat is to go to the manager webapp (http://your host:your port/manager/html) and use the 'deploy' part. For the manager to allow you to work on tomcat configuration, you

Re: war file

2006-10-31 Thread David Delbecq
Gamito a écrit : Hi David, On 10/31/06, David Delbecq [EMAIL PROTECTED] wrote: I bet you put a .war file an expected to see the site working. It's not that easy :) The easiest way to deploy you .war in tomcat is to go to the manager webapp (http://your host:your port/manager/html) and use

Re: change server default enconding -Where to set JAVA_OPTS in catalina.sh for UTF8?

2006-10-11 Thread David Delbecq
Hi mark, not at all 1) there are 20 results for Djavax.servlet.request.encoding in google ^^ (but am really not sure this parameter really exists in tomcat) 2) URIEncoding=UTF-8 set the encoding used for html link, the default is platform dependent. I suppose the Zis wanted to set the default

Re: AW: Re: standard call for servlets does not work under tomcat

2006-10-10 Thread David Delbecq
- Because it way unsecure. It can invoke pretty any class in your webapp class path. This include legacy servlet (like com.company.TheServlet) but also your test servlet, the servlets you developped for quick admin hacks locally and you didn't remove from code. - Invoker servelt is one unique

Re: problem starting tomcat

2006-09-28 Thread David Delbecq
Several possibilities 1) port 8005 is not available on the machine (not allowed to that user or used by another application already), free it or change it in server.xml 2) you have changed tomcat configuration on a perhaps multi ip machine to bind only on a specific interface (specific ip) and

Re: problem starting tomcat

2006-09-28 Thread David Delbecq
taylan kuecuek a écrit : Raffaele Viola schrieb: Hi all, I'm trying to start Tomcat but Ihave some problems This is what I read in the catalina.out, could someone help me? Thanks a lot Raffo 28-Sep-2006 16:03:28 org.apache.catalina.core.AprLifecycleListenerlifecycleEvent INFO: The

Re: High CPU Usage with Apache Portable Runtime

2006-09-21 Thread David Delbecq
Could you send us a few jvm thread dumps while the CPU usage, i bet this an be more helpful than an os dump. To generate a Thread dump, simply send the signal 3 to the java process (assuming you use a SUN jvm or derivative) Yann Rouillard a écrit : Did you tried it with Tomcat 5.5.17? No but

Re: High CPU Usage with Apache Portable Runtime

2006-09-21 Thread David Delbecq
Thread prio=10 tid=0x08118988 nid=0x8 waiting on condition Suspend Checker Thread prio=10 tid=0x081164a8 nid=0x5 runnable David Delbecq a écrit : Could you send us a few jvm thread dumps while the CPU usage, i bet this an be more helpful than an os dump. To generate a Thread dump, simply

Re: Restrict Session In One Browser!

2006-09-20 Thread David Delbecq
Hi Alexander. Because tomcat use a session cookie (JSESSIONID), the sessions are already limited to one per browers, except if the user deactivate cookie, in which case only the Url rewriting mecanism is used. In the last mecanism, if the flow of page is interrupted (by accessing an url not

Re: Restrict Session In One Browser!

2006-09-20 Thread David Delbecq
Message From: David Delbecq [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, September 20, 2006 4:40:47 PM Subject: Re: Restrict Session In One Browser! Hi Alexander. Because tomcat use a session cookie (JSESSIONID), the sessions are already limited

Re: Using IBM JSF components on tomcat

2006-09-13 Thread David Delbecq
Hi Ben, according to your stack trace, the error occurs somewhere below the call of ScriptCollectorTag.doEndTag(), itself called by org.apache.jsp.searchTKS_jsp._jspx_meth_hx_scriptCollector_0, that mean during the 'endTag' steps of the first hx:scriptCollector ... inside your jsp. However, the

Re: Using IBM JSF components on tomcat

2006-09-13 Thread David Delbecq
that there is no syntax error on the page. David Delbecq [EMAIL PROTECTED] 13.09.2006 09:36 Please respond to Tomcat Users List users@tomcat.apache.org To Tomcat Users List users@tomcat.apache.org cc Subject Re: Using IBM JSF components on tomcat Hi Ben, according to your stack trace

Re: Tomcat 5.5: Servlet skips FormAuthentication?!?!?

2006-09-13 Thread David Delbecq
The servlet is mapped to / The security constraint is mapped to /* That's your problem. Map your security constraint to * instead Gregor Schneider a écrit : Dear all, we have some very odd behaviour here. First the basic: - Tomcat 5.5.17 - Debian Sarge - Java(TM) 2 Runtime Environment,

Re: Executing binary from Servlet

2006-09-12 Thread David Delbecq
considering where the exception occured, i bet this is not a java security exception (it already passed the security test at that point and is inside the priviledged code, moreover this is an IOException not a SecurityException you get). However, there is a bad code inside UNIXProcess:

Re: filter or valve to trap successful login?

2006-09-11 Thread David Delbecq
Put a filter on your application, in this filter, check if there is currently a principal, if yes, check if there is already your bean in the session. If not, create it. Then forward to the next of filter chain. As you are in a filter, you will be notified before the servelt / JSP requested by

Re: STARTING MULTIPLE INSTANCES OF TOMCAT

2006-09-08 Thread David Delbecq
Please provide more informations. 1) The rule files you have configured in your balancer 2) The ports on which your various tomcat servers are running, including the one running the balancer 3) Any output that your request could have generated in the catalina.out of any of the running tomcat

Re: Tomcat admin application HTTP Status 500 problem

2006-09-08 Thread David Delbecq
Please provide exception messages, they should be in catalina.out Garthfield Carter a écrit : Hello, I have an issue with the Tomcat admin application. I get HTTP Status 500 errors whenever I click on any of the User Definition menu items such as Users, Groups or Roles. The exact error I get

logging does not work in my webapp

2006-09-05 Thread David Delbecq
Hello, using tomcat, the logging does not work in my webapp. I am out of idea, so if someone can suggest me something more to test to get my logs. Here is the situation. I followed instructions on ow to setup tomcat for log4j (that is basically adds the commons-logging and log4j jars in

Re: logging does not work in my webapp

2006-09-05 Thread David Delbecq
be wrong about it? could my commons-logging in webapp take precedence of the one in tomcat? // Boris Unckel a écrit : Hello David, my answers are inline: Original-Nachricht Datum: Tue, 05 Sep 2006 10:46:07 +0200 Von: David Delbecq [EMAIL PROTECTED] An: users

Re: logging does not work in my webapp

2006-09-05 Thread David Delbecq
Thanks for this clarification :) Boris Unckel a écrit : Hi, Original-Nachricht Datum: Tue, 05 Sep 2006 11:50:34 +0200 Von: David Delbecq [EMAIL PROTECTED] An: Tomcat Users List users@tomcat.apache.org Betreff: Re: logging does not work in my webapp First, problem

Re: how to over come toomanyconnection error when communicatingMYSQL

2006-08-11 Thread David Delbecq
prakash shanmugam wrote: hai all, i have one major issue in my project.. My project is developed using jsp,servlets in Tomcat5 with MySql as database.. i am using type1 driver My project is now used by end users in intranet.. When multiple users are accessing at the same time ,its throwing too

Re: unsubscribe please

2006-08-08 Thread David Delbecq
use [EMAIL PROTECTED] to get more informations ahmed qaoud wrote: I sent many emails to [EMAIL PROTECTED] to unsubscribe me and i still receive emails from you . Please unsubscribe me or tell me how can i unsubscribe. htmlDIVFONT face=Lucida Handwriting, Cursive color=#99Assalam

Re: Out Of Memory - String Operation

2006-07-28 Thread David Delbecq
Viks wrote: Hi, My app is running out of app. Code does a lot of string opeartion.It involves fetching records from DB Initially i was using string objects- Program used to finish in about 40-45 min with ~95 cpu usage String concatenation like this String c = a+b; is done

Re: getting ? instead of ¢

2006-07-17 Thread David Delbecq
This is not a matter of saving the jsp/html file on server with the good charset, this is a matter of using the correct entity reference (cent;) which is supposed to be displayable by any html 2.0 compliant browser. Ronald Klop wrote: On Mon Jul 17 08:55:56 CEST 2006 Tomcat Users List

Re: getting ? instead of ¢

2006-07-17 Thread David Delbecq
This is not a matter of saving the jsp/html file on server with the good charset, this is a matter of using the correct entity reference (cent;) which is supposed to be displayable by any html 2.0 compliant browser. Ronald Klop wrote: On Mon Jul 17 08:55:56 CEST 2006 Tomcat Users List

Re: getting ? instead of ¢

2006-07-17 Thread David Delbecq
(Sorry for the double post, alias issue) David Delbecq wrote: This is not a matter of saving the jsp/html file on server with the good charset, this is a matter of using the correct entity reference (cent;) which is supposed to be displayable by any html 2.0 compliant browser. Ronald Klop wrote

Re: web app application name

2006-07-05 Thread David Delbecq
asaf.lahav wrote: How can I obtain the name of the web application name my listener servlet is running under in Java? request.getContextPath(); Greetings. - To start a new topic, e-mail: users@tomcat.apache.org To

Re: AW: Executing Valve before Basic Authentication takes place

2006-07-04 Thread David Delbecq
As it states, the authenticator valve must be attached to the context, not the host. Just put your valve at host level and it should be called before the authentification valve which is automatically added to the context.xml at deployement. Also, take a look at single sign-on valve which doe

Re: AW: Executing Valve before Basic Authentication takes place

2006-07-04 Thread David Delbecq
From tomcat docs: You can nest one or more Context elements inside this Host element, each representing a different web application associated with this virtual host. In addition, you can nest a single DefaultContext element that defines default values for *subsequently* deployed web

Re: filter increase number of session

2006-06-29 Thread David Delbecq
could we see the code of this filter? Enrico Giurin wrote: Hi at all, I have problem using filter in my web application under tomcat (tomcat 4.1 on Windows 2k OS). Client of the web application is an IVR (Interactive Voice Response) in the context of voice-xml application. I have configured a

Re: filter increase number of session

2006-06-29 Thread David Delbecq
cookie, neither providing a rewritten url. David Delbecq Enrico Giurin wrote: Yes I have that, I know that in this way if I hadn't a session tomcat makes new one, but If I had one I keep the old session. So why for every request I have a new session on the server, and why only with IVR client

Re: 'Black' Icons and Intermittent Page not Found

2006-06-28 Thread David Delbecq
Hi bob There are several ways to try to find where this comes from 0) Check in the tomcat manager the status of memory. You may be running out of java memory and so the garbage collector is running like crazy. 1) When issue arise, go to an AIX console (the timer is ticking, you have 60

Re: Commons fileUpload: write to disk permission problem

2006-06-26 Thread David Delbecq
Do not write data in the webapplication folder, this folder is supposed to be overwritten when webapplication is redeployed and datas will be lost. Instead choose a folder in system you dedicate to your webapplication datas and store your avatars there. Or best use a database :) Andrea

Re: Problem to download a file from 2 browsers at the time

2006-06-20 Thread David Delbecq
Just ran it out of curiosity here on a tomcat 5.5.17, works perfectly. Only noticeable thing is that the first file get slowed down when you start second file, but it's quite to be excpected. Measured speed: 6M/s, files are not mixed together One thing worth noticing, is that brtowser do

Re: Paul Grimwood/GNS is out of the office.

2006-05-24 Thread David Delbecq
This one is timestamped from 13:33 my time. This is perfect :D. I think i will add a special bell on this subject. 4 more and it will be the end of work day bell :D Paul Grimwood wrote: I will be out of the office starting 24/05/2006 and will not return until 29/05/2006. I will respond to

Re: ewbie to Tomcat

2006-05-24 Thread David Delbecq
[EMAIL PROTECTED] wrote: Where can I go and look for a solution to this problem. Struts mailing list can be a good start :) - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Problems with Realms and authorization

2006-05-22 Thread David Delbecq
Hi Alberto. A user can be in two states in tomcat's point of view. 1) anonymous (that is the user has not yet provided user / password) 2) Authenticated (user has provided user / password) Aside from this, there are 2 kinds of urls for tomcat 1) unrestricted ones (anyone can access them) 2)

Re: How to limit placing of jar-files in the user webapps?

2006-05-22 Thread David Delbecq
Ok, i suppose by user, you mean the webmaster owning a specific webapp. If so, could you tell me what is the point? It's pretty impossible to do anything without .jar files in a java webapp :) If what you want to avoid is people browsing a uploading .jar files Unless you have a very badly

Re: How to limit placing of jar-files in the user webapps?

2006-05-22 Thread David Delbecq
Ok, i see your problem. However, you must be aware that preventing use of WEB-INF/lib is handicapping for anyone needing java hosting. Frameworks like struts won't work if they are shared amongst webapplications. You might simply endup with your users exploding the .jars and putting their

<    1   2   3   4   5   >