Re: Posting Xml

2007-02-21 Thread David Delbecq
Hi, tomcat does not care what is in the body of request, it just look at url to map it to a servlet and headers to create context and request objects. The rest is entierly up to servlet to manager. For your information, slide is a webdav servlet working under any J2EE compliant webapp container th

Re: XML parser issue while defining a Realm

2007-02-21 Thread David Delbecq
Hi 1) This is not an ldap or filter error, this is an xml wellformness error. That mean tomcat can not parse your xml file 2) You say you can cut and paste it inside and ldap browser and it work? Are you sure it is "&" that is inside your search rule? I mean your ldap browser most probably do not

Re: Tomcat & Cobertura

2007-02-20 Thread David Delbecq
>From sun java doc: Registers a new virtual-machine shutdown hook. The Java virtual machine shuts down in response to two kinds of events: The program exits normally, when the last non-daemon thread exits or when the exit (equivalently, System.exit) method is invoked, or The virtual machine is t

Re: Tomcat & Cobertura

2007-02-20 Thread David Delbecq
I took a look at tomcat.exe, it is a renamed service wrapper from common daemon (http://jakarta.apache.org/commons/daemon/procrun.html) It is invoked with //IS// parameter to install the service. Parameters that are given to this installation command are memorized 'somewhere' and used to run the se

Re: DBCP Logging

2007-02-19 Thread David Delbecq
Lambda probe is a usefull webapplication you can deploy under tomcat and that, amongst many features, allows you to see the state of your connection pools. En l'instant précis du 02/19/07 14:40, [EMAIL PROTECTED] s'exprimait en ces termes: > Hello List, > > I've configured DBCP on my Tomcat 5.5.20

Re: tomcat /shared/lib jars

2007-02-15 Thread David Delbecq
Stack trace please... En l'instant précis du 02/15/07 17:15, sudip shrestha s'exprimait en ces termes: > once again the version is: 5.5.20. > the only errors I get are missing jar files type of errors. > > On 2/15/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: >> >> > From: sudip shrestha [ma

Re: using JNDI to share object reference between two apps

2007-02-15 Thread David Delbecq
En l'instant précis du 02/15/07 15:39, Caldarale, Charles R s'exprimait en ces termes: >> From: Angel Todorov [mailto:[EMAIL PROTECTED] >> Subject: Re: using JNDI to share object reference between two apps >> >> Does tomcat perform explicit serialization of everything, even if JNDI >> is used loca

Re: Tomcat mysteriously shuts down

2007-02-15 Thread David Delbecq
Normally, tomcat shutsdown is a localhost running application sends a shutdown command to the localhost server command port (8005). You can try to change this port, in case another app is doing this. (replace element in server.xml by for example. You can also try to change to change the shutdown

Re: Inicialization of an UnsignedByte variable

2007-02-15 Thread David Delbecq
d to anything meaningfull and finished as '0' ? You have a service that seems to expects an 'Unsigned Byte', you are putting great efforts to provide it with a random non numeric String instead of an number in correct range, and then you are wondering why it does not work?!? This is

Re: using JNDI to share object reference between two apps

2007-02-15 Thread David Delbecq
En l'instant précis du 02/15/07 13:14, Angel Todorov s'exprimait en ces termes: > Hi all, > > I am new to tomcat's JNDI in general, and would like to achieve this > very simple task: I have two webapps webapp1.war and webapp2.war. I > would like to use a global JNDI context and bind an object refer

Re: Inicialization of an UnsignedByte variable

2007-02-15 Thread David Delbecq
En l'instant précis du 02/15/07 13:10, Alicia Sánchez-Mora s'exprimait en ces termes: > Hello again, > final UnsignedByte ptr = new UnsignedByte("this is a test") ; "this is a test" <-- How do you expect any implementation of anything to convert this string to a number

Re: Performance problem with Tomcat?

2007-02-15 Thread David Delbecq
En l'instant précis du 02/15/07 13:02, Michal Glowacki s'exprimait en ces termes: > Thank you for your fast response! > >> Which version of EJB. Local EJB of remote EJB? With or without security? >> EJBs have the bad reputation to be slow, and cubersome to develop >> (probably improved in version 3

Re: Performance problem with Tomcat?

2007-02-15 Thread David Delbecq
En l'instant précis du 02/15/07 12:40, Michal Glowacki s'exprimait en ces termes: > Hi > > I'm quite new to Jboss/Tomcat, so please forgive me if my questions are > without sense... > > I have created a JSF application that uses EJB. It deploys successfully, but > the thing that concerns me is:

Re: Inicialization of an UnsignedByte variable

2007-02-14 Thread David Delbecq
Well, your question should probably go to appropriate mailing list. I don't know what libraries your found your UnsignedByte Object in, but it's that l'ibrary's mailing list which is appropriate for your question. Not knowing anything about your library, i'll dare to guess that "abc" is not in the

Re: AW: RE: Re: AW: RE: Error instantiating servlet class

2007-02-12 Thread David Delbecq
This is same error as before, only the class is different, as long as you get those errors, just put the libraries you require inside your WEB-INF/lib folder. En l'instant précis du 02/12/07 11:28, [EMAIL PROTECTED] s'exprimait en ces termes: > Thanks. > > It seems that things have moved on, but I

Re: AW: Re: AW: RE: Error instantiating servlet class

2007-02-12 Thread David Delbecq
tomcat does not use CLASSPATH. Put your webapp jars inside the WEB-INF/lib/ folder En l'instant précis du 02/12/07 11:00, [EMAIL PROTECTED] s'exprimait en ces termes: > I have set up the classpath environmantal variable to include the > path to jaxrpc.jar > > Thanks > > Magdalena > Ursprüngli

Re: AW: RE: Error instantiating servlet class

2007-02-12 Thread David Delbecq
Where did you put it? En l'instant précis du 02/12/07 10:27, [EMAIL PROTECTED] s'exprimait en ces termes: > Thanks. I have already put in the classpath the path to jaxrpc.jar. I > presume this is the one, but it still doesn't work. > > Regards, > Magdalena > Ursprüngliche Nachricht > Von:

Re: Applet to JSP communication

2007-02-12 Thread David Delbecq
Use common-httpclient in you applet to do GET/POST operation from inside the applet. Server side, all you need is a servlet or JSP that understand the requests from your applet. http://jakarta.apache.org/commons/httpclient/ En l'instant précis du 02/12/07 10:15, Teh Noranis Mohd Aris s'exprimait

Re: Initialize Webapplication on tomcat Startup

2007-02-12 Thread David Delbecq
System Init Servlet initializer be.rmi.intranet.servlet.SetupServlet 1 En l'instant précis du 02/12/07 09:49, Oliver Schoenwald s'exprimait en ces termes: > Hello and good morning (at least from Germany), > > I'm running Tomcat 5.5.17 under Solaris 9

Re: AJP Connector - Problems Proxying HTTPS Connections

2007-02-05 Thread David Delbecq
Not speaking of tomcat, as far as i know https and virtual hosting do not mix very well unless the same certificate is used for all hosts. En l'instant précis du 02/05/07 15:53, Bill Bailey s'exprimait en ces termes: > Hi, > > > > I am trying to run Tomcat 5.5.20 behind Win32 Apache HTTPD 2.2.4

Re: how to add a library path in build.xml?

2007-02-02 Thread David Delbecq
been run, the line > prints out the normal java.library.path value: > /usr/lib/j2sdk1.5-sun/jre/lib/i386/client:/usr/lib/j2sdk1.5-sun/jre/lib/i386:/usr/lib/j2sdk1.5-sun/jre/../lib/i386 > > Why is it so? > > Thanks > > Gop > > > > - Originalnachricht -

Re: how to add a library path in build.xml?

2007-02-02 Thread David Delbecq
For execution classpath: http://ant.apache.org/manual/CoreTasks/java.html For compilation classpath: http://ant.apache.org/manual/CoreTasks/javac.html En l'instant précis du 02/02/07 12:43, [EMAIL PROTECTED] s'exprimait en ces termes: > Dear all, > > I want to run an application which requires a

Re: noClassDefFound error for class in [webapp]/WEB-INF/lib jar file

2007-02-02 Thread David Delbecq
Also note that, for some reason, confusing error message can be sent by classloader. In the past i tried to find out why tomcat was unable to load a class, this all loks like ti couldn't find the definition. In fact, what i didn't notice, it's that, earlier in the logs, an error occured during clas

Re: segmentation fault

2007-02-02 Thread David Delbecq
Check the mod_jk you installed on your apache matches the apache httpd version and distribution your are using. If you can't find a match, compile yourself a version of mod_jk suitable for your paltform http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html En l'instant précis du 02/

Re: AW: Return values in wrong sort order

2007-01-31 Thread David Delbecq
En l'instant précis du 01/30/07 16:00, Sascha Wehnert s'exprimait en ces termes: > Hi David, > > thanks for your response. > > >> -Ursprüngliche Nachricht- >> Von: David Delbecq [mailto:[EMAIL PROTECTED] >> Gesendet: Dienstag, 30. Januar 200

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 s

Re: FW: IE Issues with JSPWiki & JCIFS!!

2007-01-30 Thread David Delbecq
; St. Edward's School > Cheltenham, UK > > > -Original Message- > 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 pr

Re: IE Issues with JSPWiki & JCIFS!!

2007-01-30 Thread David Delbecq
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 (internet explorer) wants to speak cp850, it's problematic as cp850 is not a character encoding jvm are mandated to support. However, browsing a bit go

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 w

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 commo

Re: find where webapp installed via java code

2007-01-25 Thread David Delbecq
where the webapp is deployed so I'll > know how to calculate the location of the second jars folder. > > Let me know if there is any better way to accomplish this. > > Thanks in advance, > Asaf > > > > > -Original Message- > From: David Delbecq [mai

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

Re: Further documentation on j_security_check

2007-01-24 Thread David Delbecq
e in that way. > for the why, answer is simple it's because 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" >> To: Tomcat Users Lis

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 d

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 tom

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 Firefo

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 webapp

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 that

Re: Tomcat limited connection to only 1

2007-01-19 Thread David Delbecq
ion id and here we can oly > 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 th

Re: Tomcat limited connection to only 1

2007-01-19 Thread David Delbecq
the parameter maxkeepaliverequest. But the same. i > can connect with the same result as before. > > Frank > > > > > David Delbecq wrote: > >> Can you describe with more details the "nothing will work" and your >> intended behaviour. Explain how you tested

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 awar

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 y

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 li

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: > > with unique name and jvmRoute will ensure unique sessionIds? > > I apologize if th

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]. >> > > Inter

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 6

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 to

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 seve

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

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

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: something wrong creating datasource after war deployement

2007-01-08 Thread David Delbecq
ntext.xml in war or context.xml in directory. > > David Delbecq a écrit : >> If you want to edit the context.xml yourself, remove it from the .war >> file. I suppose there is a conflict between the context.xml you deploy >> yourself and the one inside the .war. I think when you depl

Re: something wrong creating datasource after war deployement

2007-01-08 Thread David Delbecq
y case using war deployment prevent me to update manually > context.xml to add datasource. I need to use admin 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

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 META-INF/cont

Re: Error when stopping or reloading web application

2007-01-08 Thread David Delbecq
I have the same problem here. That's a problem coming from the way jakarta common logging works together with the way tomcat invalidate it's webappclassloader before calling the servelt unloading code. When a class need a logger it does all sort of classloading stuff. Unfortunately, when you do thi

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

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 Dav

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

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 tomca

Re: disable war deployment

2007-01-03 Thread David Delbecq
What is your juridic requirement exactly? That owner can not inject code in your webapp? En l'instant précis du 01/03/07 14:04, Stephan Schöffel s'exprimait dans toute sa noblesse: > i know this solution is anything but not secure. but the main point > iin doing this is a juristic question. if some

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
to the tomcat 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

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

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 (http://java.sun.com/products/servle

Re: My webapp is oddly asking for user and password

2006-12-18 Thread David Delbecq
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 th

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| > wrote: >> I thought the default port was 8080. Am I wron

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| > 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 thanks. Do you r

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

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 clien

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: > > > cookies="false" >docBase="/home/stats/some_dir" >path="/stats" > /> > > There're only html files there. No JSP, servlets, and of course no > WEB

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

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: FORM /Error.html /SignOn.html | |html: | The second and third, BASIC a

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 scan

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

2006-11-14 Thread David Delbecq
ing 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. >> > > web.xml: > >

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.

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

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

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.

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: Preventing memory leaks with awt event thread, is it possible?

2006-11-10 Thread David Delbecq
t; David, > > 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 >

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

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 tom

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 o

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

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 sho

Re: war file

2006-10-31 Thread David Delbecq
Mário 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 th

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://:/manager/html) and use the 'deploy' part. For the manager to allow you to work on tomcat configuration, you need first to define

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 serv

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

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 thi

Re: High CPU Usage with Apache Portable Runtime

2006-09-21 Thread David Delbecq
a.await(Catalina.java:615) > at org.apache.catalina.startup.Catalina.start(Catalina.java:575) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > sun.reflect.Delegati

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

Re: Restrict Session In One Browser!

2006-09-20 Thread David Delbecq
page within the same > browser if user click) > > Regards, > Alexander Khoo > > > > - Original Message > From: David Delbecq <[EMAIL PROTECTED]> > To: Tomcat Users List > Sent: Wednesday, September 20, 2006 4:40:47 PM > Subject: Re: Restrict Se

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 rewritt

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 Envir

<    1   2   3   4   5   6   >