Re: extra field in form-based authentication

2007-12-13 Thread David Delbecq
y case the extra field is not related to >>> the username. i would like to have a field where the user indicates on >>> what type of device he/she works, so we can offer the appropriate >>> stylesheet. >>> >>> On Thursday 13 December 2007 13:00, David Delbe

Re: extra field in form-based authentication

2007-12-13 Thread David Delbecq
Or have the username in a hidden field and have javascript build it from to fields. example: j_username=Domain\\user j_password=* Most pragmatic way imho. javascript disabled user could still enter the \\ manually :) En l'instant précis du 13/12/07 12:51, Tim Funk s'exprimait en ces termes:

Re: JDNI Resource not reusable

2007-12-12 Thread David Delbecq
------- 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 Météorologique Ext:557 -- http://www.devlog.be (a belg

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: post new service request

2007-12-11 Thread David Delbecq
n, in bugzilla open a bug report with severity "Enhancement". Regards David Delbecq En l'instant précis du 11/12/07 16:24, Kovacs, Robert s'exprimait en ces termes: > Hello, > > I would like to initiate a new feature request for TomCat connectors, > but I've

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: 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 .@ example: [EMAIL PROTECTED] Ognjen Blagojevic a écrit : Pavan Singaraju wrote: i have a web application which is deployed on

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 an

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 developin

Re: Application redeployment on Tomcat startup only

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

Re: Tomcat 5.25 on Leopard

2007-11-14 Thread David Delbecq
Start by checking catalina.out for error messages En l'instant précis du 14/11/07 15:18, Angelo Chen s'exprimait en ces termes: Hi, I downloaded apache-tomcat-5.5.25.zip and copied it to a directory, after setting up all the environment variables, it runs. but when I try to open it: http://loc

Re: java.awt.HeadlessException on tomcat

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

Re: java.awt.HeadlessException on tomcat

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

Re: Help me please,

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

Re: Web app classloader loading JAAS LoginModule instead of server

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

Re: Out of Office

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

Re: CR Viewer

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

Re: Where is the POSTED data on login redirect?

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

Re: Where is the POSTED data on login redirect?

2007-10-28 Thread david delbecq (jakarta)
They are automatically saved by form authentification system and restored after form authentification. Your servlet won't be able to make the difference between a direct hit and a hit with post restored after form authentification. Please note, however, that the size of post request saved by tomca

Re: Override BOOTSTRAP classloader with endorsed directory

2007-10-21 Thread David Delbecq
Tomcat ignores classpath from JVM and creates it's own one, including endorsed libraries. If you want to inject specific library at the endorsed level there is an endorsed/lib folder part of tomcat distribution. ypomonh a écrit : > I'm trying to write a servlet that use the latest version of JAX-WS

Re: tomcat/java process strangeness

2007-10-17 Thread David Delbecq
For you xmx: i guess bad default values that are too small regarding to heap size. This is probably due to your OS ocnfiguration at some point. Did you install java using distribution provided packages or sun packages? For you Processes, this comes from old kernel. At some point in the past, in li

Re: Catalina message

2007-10-17 Thread David Delbecq
This message does not come from Tomcat but from a thrid party library (struts) you installed in one of your webapplications. This is just part of struts startup messages. If you have any question regarding struts, i suggest you contact the struts mailing list. En l'instant précis du 17/10/07 09:

Re: Simple question

2007-10-16 Thread David Delbecq
add a myapp/index.jsp that does the redirect En l'instant précis du 16/10/07 16:13, Peter Stavrinides s'exprimait en ces termes: > How do I configure Tomcat to provide a page redirect from the context > of a servlet to the default start page i.e.: > /myapp/ to go to -> /myapp/home > > Thanks

Re: href to .xls file shows raw file

2007-10-15 Thread David Delbecq
alla winter a écrit : I would appreciate if you would give me a hint, what should I do to make browser to display excell spread sheet when href to .xls file is selected? It displays the raw file insted. Excel template P.S. I am using Tomcat 5.0.28 and jdk 1.5.0._12 thanks for your help i

Re: How to share tomcat sessions across multiple IE windows

2007-10-12 Thread David Delbecq
- Make sure the url provided to window.open() is properly encoded by server so that it includes the sessionId if necessary. use for that java.lang.String encodeURL(java.lang.String url) from the HttpServletResponse interface server side. - Check, if cookies are disabled on client, that the se

Re: Different jar version

2007-10-10 Thread David Delbecq
The question is better "what happen if you have 2 classes with same name and package in the same classloader?" Knowing which of both classes will be indeed loaded and used when need is undetermined. Only one of those classes will be used, but it there is no rule as to which will be used. This is m

Re: Form based auth - Not working

2007-10-08 Thread David Delbecq
Please provide web.xml login form file (most probaly something like login.jsp) url you typed in browser what you see on screen `Nicolas Gonzalez a écrit : Hi, I'm experiencing a problem with the FORM based authentication provided by Tomcat. I've done almost (I think that everything!) that the d

Re: Very Long Full GC after Inactivity

2007-10-08 Thread David Delbecq
Hi, check the jvm runs in "server" mode (check there is a '-server' parameter given to jvm startup). Server and client mode have different GC mecanisms. Bill Clarke-Fields a écrit : > Hi, > We are running an application on Tomcat 5.0.28 with Java 1.4.2. The usage > of the application is very cycl

Re: Disable HTTP TRACE and DELETE methods

2007-10-05 Thread David Delbecq
Hi, This is a mailing list about tomcat J2EE server, not about apache webserver. You will likekly not get any answer to your question here mohamed rafi a écrit : Hi, I want to disable the HTTP TRACE and DELETE methods to be invoked on my webserver. I checked on the Net, and found that mod_re

Re: How to increase Tomcat webserver speed?

2007-10-04 Thread David Delbecq
Since you say CPU usage on your machine is around 5% during those tests, and your database is on same machine as tomcat server, i doubt the bottleneck really is on database. The first ting i'll suggeste is to take all queries run by your application, make an sql script of them, and run this sc

Re: Filters do not apply after redirect to the url that serving by Servlet

2007-10-03 Thread David Delbecq
Better use /mvc/* as url pattern than /mvc if you want it to apply to /mvc/news.html Mykola Paliyenko a écrit : Hi all, Do not know if this a problem with Tomcat or with Servlet 2.4 spec I have a FilterA that redirects from /news to the /mvc/news.html Then I have a DispatcherServelt that mapped

Re: Tomcat/Plesk datasource setup problems

2007-10-03 Thread David Delbecq
What about putting a listener in your web.xml that create a connection pool and link it to jndi? En l'instant précis du 03/10/07 14:01, Charl Gerber s'exprimait en ces termes: > Turns out datasource configuration is not possible > using Plesk as a shared tomcat server, the guys at > Plesk themselv

Re: Security roles

2007-09-28 Thread David Delbecq
request.isUserInRole is the way to go. If you don't get "true", i suggest you first check getRemoteUser() to see if user is authenticated. Then check you correctly spelled role name, including case. Then check you have correct role mapping in web.xml (mapping from realm role names to webapp role) a

Re: Simultaneous Requests to servlet

2007-09-27 Thread David Delbecq
Pavan Singaraju a écrit : I understand that Tomcat has a SingleThreadModel interface that allows only one thread access/One request at a time model. But help me solve the previous problem -- Pavan S. Kumar Don't use SingleThreadModel anyway. From J2EE 1.4 docs: Deprecated. As of Java Ser

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread David Delbecq
For reasons i don't know, windows forbids removal of file to which there are active handle. just delete everything and look at what was not deleted? :p BTW, Is there are any utility like lsof for windows system. - To s

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread David Delbecq
, I got lits of files and its count is more than 1024 (something around 5000 odd,). Hence I would appreciate your help to analyze lsof output. regards, Ranjan Ranjan Kumar Baisak wrote: BTW, Is there are any utility like lsof for windows system. regards, Ranjan David Delbecq wrote: In his

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread David Delbecq
In his case, 1024 might be a quite low limit fora server. count jars/ classes files, compiled jsps, resources files, network connection, logging files and it increases quite quickly Christopher Schultz a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 RB, Ranjan Kumar Baisak wrote:

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread David Delbecq
In unix, opened pipe (stdout/stdin, etc) and network sockets are considered opened files btw Ranjan Kumar Baisak a écrit : To see your current settings use 'ulimit -a'. If you want to make permanent changes edit /etc/security/limits.conf Everything in a system is a file, not just a single webp

Re: BASIC auth question, simple example...

2007-09-26 Thread David Delbecq
Greg Morphis a écrit : I created the folder C:\Tomcat5.5\webapps\security\ So webapp name is "security", reachabel by http://server/security/ Protected Area /security/* dau You mapped security constraint to f

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread David Delbecq
Ranjan Kumar Baisak a écrit : but I would love to know any such commands/utilities exist that can tell me detail about what are the files getting opened in my web application which results such exception. lsof will do it - To

Re: HTTP/1.1 400 no host matches server name

2007-09-26 Thread David Delbecq
Are you behind an apache server, using mod_jk? Or is tomcat accessed directly. As omeone suggested, check you have a valid default host in tomcat. If you are behind an apache web server, you might to check it's not the apache server that answer with HTTP400 (tomcat error pages always include to

Re: HTTP/1.1 400 no host matches server name

2007-09-26 Thread David Delbecq
In your server.xml, you probably have configured a host (probably www.server.domain) but didn't configure the host (server). If you don't use host aliasing (that is different webapsp for different hostname), just configure a default host. En l'instant précis du 26/09/07 12:14, Andrew Hole s'expri

Re: trés bonne occasion

2007-09-25 Thread David Delbecq
Someone wanna subscribe him to spam mailinglists? :D En l'instant précis du 25/09/07 12:30, [EMAIL PROTECTED] s'exprimait en ces termes: > tres bonne occasion > > a vendre pc portabe hp-compac tres bonne etat > processur AMD Turion 1,6GHz Bright view disque 80G > memoire 512 carte graphique ATI

Re: Problems with JAAS-Realm

2007-09-21 Thread David Delbecq
There is only one instance of your realm that is shared by all incoming requests. That mean only local values inside methods are individual. Every property that is stored at instance of class level is to be accessed and stored in a ThreadSafe manner. It's up to you code to be Threadsafe by assuming

Re: Tomcat crash @ midnight - but why?

2007-09-21 Thread David Delbecq
According to your log it did not crash. It did shutdown following the shutdown procedure (which can be executed by bin\shutdown.bat). I suggest you investigate possibilities that a local service is setup to shutdown tomcat at midnight on the server. The tomcat shutdown procedure is started when to

Re: Problems with JAAS-Realm

2007-09-21 Thread David Delbecq
En l'instant précis du 21/09/07 10:09, Franck Borel s'exprimait en ces termes: > > public SecurityConstraint[] findSecurityConstraints(Request request, > Context context) { > > HttpServletRequest req = request;// catch Request > session = req.getSession(); // c

Re: Filter mapped to "/*" not seeing Axis requests (Tomcat 5.0.19)

2007-09-20 Thread David Delbecq
Hello Filter mapped to /* should see everything that reach it's application. This include your axis service. I suggest you investigate to possibility that your ignoredUrls or ignoredPatterns apply to all your axis request, making your filter ignore them. If you see not output from your filter for

Re: Please Un-subscribe

2007-09-20 Thread David Delbecq
En l'instant précis du 20/09/07 15:47, Harald Henkel s'exprimait en ces termes: > Please somebody unsubscribe my email address > [EMAIL PROTECTED] > from this list. > > Thanks in advance, > Harald Henkel > GS automation GmbH > > > > >

Re: Tomcat 6.0.14 -> Admin-Webapplication

2007-09-19 Thread David Delbecq
Hello, http://www.nabble.com/Tomcat-6-Admin-Application-tf4475389.html Fuchs, Jens a écrit : Hello, I searched your FAQ and the web for informations about my problem but I don´t found any. We want to switch our production from Tomcat 5.028 to Tomcat 6.0.14. Therefor we need among other thin

Re: Filter on j_security_check or Alternate way

2007-09-19 Thread David Delbecq
Map a filter to your JSF servlet (faces/*). In that filter check that user principal is not null. If it's not null, do your initialization stuff if not yet done. When it's done, store that state information in session. Here that's how we check and upgrade user profile informations upon login.

Re: How do you access all sessions from a servlet in tomcat 6.0?

2007-09-19 Thread David Delbecq
Just use WeakReference :) Lyallex a écrit : OK, for some reason I've been obsessing about this for a whole day now. If you hold an external reference to a Session then according to my tests the session will still time out as expected but the external reference will be non null. At the very leas

Re: Sticky servlet

2007-09-19 Thread David Delbecq
I see no reason you would need your servlet to stay in memory. As long as it is alive when needed (that is when requests arrive) it's enough. Maybe you problem is that it does much than serving request, like running background thread, send message to people and so on. Then you might simply need

Re: Sticky servlet

2007-09-18 Thread David Delbecq
In j2ee specs, there is no provision for unloading an unused servlet. Once a servlet has been tarted (load-on-startup or triggered by user query), i never get unloaded, unless webapp gets unloaded, which occurs at shutdown or during a redeploy (administrative task) Kamil Burzynski a écrit : He

Re: Tomcat 6 Exception Language

2007-09-18 Thread David Delbecq
To pass parameter to tomcat service and configure it: http://www.google.be/search?q=tomcat6+service+parameters Fredy Provoste a écrit : Thak you so much Christopher, see that your information is for a Linux Enviromente, i'm working in windows, and i have tomcat installed as service, so the scr

Re: unknown protocol: httpg

2007-09-18 Thread David Delbecq
Hello Nicolas, java.net.URL is trying to instanciate a handler for protocol httpg and fails. Looking at your code, i suppose org.globus.axis.util.Util.registerTransport() is supposed to add an handler. This works find in standalone application, but in J2EE environment the URL class can not see cla

Tomcat 5.5.7 stop responding on HP-UX

2007-09-13 Thread David Delbecq
responding and we have to kill it's process. This time, trying to get a dump stack (kill -3) even crashed the JVM. Did someone already encounter a similar situation? Any help appreciated to locate problem. David Delbecq -- http://www.noooxm

Re: Tomcat lost requests/logs

2007-09-12 Thread David Delbecq
Looks like you have configured round robin somewhere and another tomcat handled the 2 other requests. Another possibility, regarding logs, is that timezone used to log (local server timezone) is not same as used by your database or as used by your client's desktop clock. The session can expire fo

Re: [OT] Correct action to take on log out

2007-09-09 Thread David Delbecq
Here, using container security, as such we do not provide for a "logout" option. We see no need for a logout as there is no reason for our user to change identity :) If you keep a session after logout, the risk that might occur is that some datas that are to be considered "confidential" remai

Re: Legal Risk of Using Tomcat

2007-09-07 Thread David Delbecq
This indemnification all depends on the contracts you have with your client and the supported hardware you need. Tomcat and apache fundation in particular do not give any warranty on this product. It's free but if you sell products based on it, you assumed needed responsability. Note that i wouldn'

Re: Programmic login to tomcat using username and password

2007-09-06 Thread David Delbecq
henticate users without promoting >> any login form. I give out the userID and password in the servlet >> code. when users navagate the servlet page, they would login to tomcat >> as that userID identity. >> >> >> >> Thanks a lot! >> Zhu quanxin >&

Re: Programmic login to tomcat using username and password

2007-09-05 Thread David Delbecq
xception le) { > System.out.println("Fails to create Subject. " + le.getMessage()); > // Insert the error processing code > > code end > > I do not know if tomcat provide some APIs like the above, and we > could use the API to programmic login t

Re: Programmic login to tomcat using username and password

2007-09-05 Thread David Delbecq
http://tomcat.apache.org/tomcat-5.5-doc/config/host.html See section about single-sign. This share credential between webapps. Note: it's not a "programamtic". It just let all your application share a same authentification token. Once you authenticate using J2EE compliant method in application X,

Re: NoClassDefFoundError, Tomcat isn't seeing JARs in webapps//lib?

2007-09-04 Thread David Delbecq
J2EE specs says librairies of a webapp must be in /WEB-INF/lib (that's for the part about subjet line where you use /lib) Now, for you mail content you seem to be indeed using WEB-INF/lib, and it seems to be the 3 libs required by wicket example. I suggest you investigate the possibility of h

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2007-09-03 Thread David Delbecq
Check also it's neither in shared/lib and that there is no CLASSPATH defined (tomcat handles all by itself classpath). David Delbecq a écrit : Check you didn't add servlet-api to your webapp classpath. The servlet-api must *not* be present in WEB-INF/lib Ghodmode a écrit : I&#

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2007-09-03 Thread David Delbecq
Check you didn't add servlet-api to your webapp classpath. The servlet-api must *not* be present in WEB-INF/lib Ghodmode a écrit : I've had some problems loading servlets, so I tried a basic HelloWorld just to make sure everything was working. java.lang.NoClassDefFoundError: javax/servlet/http/

Re: webapp getting encryption information

2007-09-03 Thread David Delbecq
Hi, if you want parts to be accessible only with RSA, this part must use a SSL certificate that accepts only RSA. This has to be decided when generating certificates. So your different security levels must use different certificates. One way to do this is to create different connectors (different

Re: how to close all the port allocated by tomcat after a doGet() request

2007-09-02 Thread David Delbecq
You certainly do not want to have tomcat stop responding to port it is listening too, it would be useless :) Except if you want your tomcat to not serve anything to anyone. If what you want is prevent client browser to use keep-alive connection and issue several requests on same connection, ta

Re: tomcat hang/freeze under windows

2007-08-29 Thread David Delbecq
Looks like a deadlock occuring at your db. You probably have a filter that applies to each request and is deadlocking in some way. The reason you can still reach the login page is that login page is served by tomcat without getting through the filters. The best way, if you have remote access to ap

JNDI caching

2007-08-28 Thread David Delbecq
Hello, we have several tools here that access a common JNDI structure for user listing / authentification / authorization. There is a LDAP tomcat realm + 2 tools that request direct access to List and properties of users/groups. Our problem is as follow 1) if the LDAP server change, we need to c

Re: Tomcat looses POST parameters

2007-08-27 Thread David Delbecq
Just a point worth if it's related to FORM login; The form login does have a maximum request size that is stored in user session and restored after login as original request. If request was too big (fileupload, article submissions, etc), it might get dropped. I think the default max is about 10

Re: Force auth contraint on SSL connector

2007-08-23 Thread David Delbecq
Christopher Schultz a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, From outside however, we want to force authentification on all the webapp. So we would like to have a security-constraint on / that applies *only* when webapp is reached using SSL connector. You might

Re: How to get port of a running Tomcat instance

2007-08-23 Thread David Delbecq
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletRequest.html#getLocalPort() You can only get the port from a request. This is because a sepecific webapp can be served from serveral hostname and from several port, all sharing same instance of servlet. (basic example is tomcat with v

Re: Password protected zip files always corrupt

2007-08-23 Thread David Delbecq
Out of curiosity, what happen if you switch from FORM based loging to BASIC login (using http auth). I bet IE is getting mislead by the redirect that occurs from login form. html/gif/pdf/png/jpeg file are opened inside IE while zip are opened by external application. Did you try a a .bin or .iso et

Force auth contraint on SSL connector

2007-08-23 Thread David Delbecq
Hello, we are planning to activate our intranet with ssl. Along with this, we would like to make this intranet available to our employees from their home. Insite, without ssl, there is no need to identify our user. Anonymous browsing is to be allowed. From outside however, we want to force authent

Re: Is Tomcat being hacked by curl ?

2007-08-23 Thread David Delbecq
You should look at the client query, not agent to get an idea about security. Curl client is not that uncomon. I use is (as long as wget, depending on server) to download files from public server directy to my own server. Example of use here are - download a JVM from sun website (wget 'url' or cur

Re: wierd performance in tomcat/java: help consult

2007-08-22 Thread David Delbecq
Well, i see two performance bottlenecks in your description 1) You gave a max memory to your tomcat jvm that is above what your server supports. You shouldn't give jvm more memory thant what is really available without swapping (that is 512M minus all that is used by other applications in your cas

Re: 20 Tips for Using Tomcat in Production

2007-08-21 Thread David Delbecq
Very nice. May i suggest 2 comments perhaps?: 6... If you're loading several applications with several of the same library dependencies, consider moving them from the applications' |WEB-INF/lib| directory to Tomcat's shared library |{catalina.home}/shared/lib|. This will reduce the memory used by

Re: Joakim T Monstad is out of the office.

2007-08-21 Thread David Delbecq
I think i should send him txt if possible :D En l'instant précis du 20/08/07 23:22, [EMAIL PROTECTED] s'exprimait en ces termes: > I will be out of the office starting 08/20/2007 and will not return until > 08/23/2007. > > I will respond to your message when I return, but can be reached at 952 83

Re: undeploy /admin

2007-08-21 Thread David Delbecq
That's probably because you configured your datasource jdbc/juddiDB in the global context instead of in a specific (juddi?) webapp context. Because all webapps have access to global context, a change in global context affects all webapps and tomcat restarts all webapps. En l'instant précis du 21/0

Re: How to detect user logins

2007-08-21 Thread David Delbecq
27;instant précis du 20/08/07 17:41, Christopher Schultz s'exprimait en ces termes: > David, > > David Delbecq wrote: > > For now, the layout is Filter that check userPrincipal. If user > > principal is not null for the first time, issues that check, mark > > that user g

How to detect user logins

2007-08-20 Thread David Delbecq
Hello, I'm in a situation where i need some operations to be done upon user login. The idea is, when a user access a secured area, it get's first promped for http auth (security constraint, that part is working without trouble), but when the user get authenticated, before giving user his request r

Re: Enable file downloads outside the application tree

2007-08-20 Thread David Delbecq
If your OS allow it, use symbolic links + context->allowLinking=true En l'instant précis du 20/08/07 07:49, Glenn McCall s'exprimait en ces termes: > Hi I have a bulletin board scenarion (i.e. people can download files = > that others have uploaded). > > The easiest solution is to simply save the u

Re: Possible Tomcat + Javascript + Internet Explorer Problem

2007-08-20 Thread David Delbecq
2 possibilities. Either your IE is configured to refuse javascript from the "internet area" and so you need to check your IE configuration, Either your java script is playing with the urls and badly handles the ;JESSIONID=xxx that tomcat add to your url if they have been made using J2EE compli

Re: standard valve / errors handling

2007-08-19 Thread David Delbecq
Bill Barker a écrit : Problem: because of the valve problem, my jsp is not called. This jsp is supposed to handle displaying of this NullPointerException's stacktrace(). Is there a way to configure the standard valve so that is dumps the stacktrace in tomcat log? Well, it isn't really

Re: Error in Tomcat Installation.

2007-08-17 Thread David Delbecq
1) use another achitecture (x86 instead of x86_64) 2) download a more recent tomcat (5.0.28 is 3 years old release) 3) download a more recent jsvc (http://commons.apache.org/daemon/jsvc.html) to your choice En l'instant précis du 17/08/07 12:10, Potri Raaja s'exprimait en ces termes: > Hi , > >

standard valve / errors handling

2007-08-17 Thread David Delbecq
Hello, it is my understanding that tomcat uses a valve to detect Throwables from webapp and redirect to error page. However, in some case, it seems impossible to redirect to error page: 68937425 [http-8081-Processor14] ERROR StandardWrapper[/intranet:webdav] - Servlet.service() for servlet webda

Re: how to strip tomcat?

2007-08-16 Thread David Delbecq
taking a look at tomcat 5.5.23, i'll try to answer you 1) you can take a look at tomcat embedded, it *may* be stripped down, but am not sure 2) in the core tomcat, there are perhaps only 2 or 3 jars you can *perhaps* remove: tomcat-18n other than english, tomcat-ajp, catalina-optional 3) as for yo

Re: JSP compile error - required library in tomcat/shared/lib

2007-08-16 Thread David Delbecq
As you guessed would be intuitive, yes, the JSP compiler include classes in shared/lib (and also classes in webapp itself). The shared/lib is the same as if you copy it's content to the WEB-INF/lib folder. As your compiler does not include the shared/lib in it's classpath, there can be various reas

Re: Concurrent threads per session (limit = 3 ?)

2007-08-14 Thread David Delbecq
I doubt tomcat limits the number of Threads per session. To get the session id, tomcat need to parse the request, but this parsing occurs in the Http-Thread that handle that network connection. Having that HTTP-thread wait would be, for tomcat, wasting a Thread. On the other hand, it's common cou

Re: Tomcat Restarting

2007-08-10 Thread David Delbecq
En l'instant précis du 10/08/07 15:45, [EMAIL PROTECTED] s'exprimait en ces termes: > Hi everybody, > > I would like to know what really happen when tomcat is > restarted. This is because I need to know the risks of > restarting during production time. > > I mean, if, for example, a servlet is run

Re: Tomcat Issue with HPUX

2007-08-10 Thread David Delbecq
va, when you reach the maximum Thread limit and you try to allocated a new thread you get a java.lang.OutOfMemoryError, which, as most errors, are not catch by code :) > > Regards, > > Rainer > > David Delbecq wrote: >> Just for information, >> >> we run tomcat o

Re: Tomcat Issue with HPUX

2007-08-10 Thread David Delbecq
Just for information, we run tomcat on HP-UX with no special tomcat limitation on max thread. We also use a NIS (aka Yellow pages) based JNDI authentification. We sun the sun provided NIS context for jndi. This tool is known by us to create something around 200+ temporary threads to get it's datas

Re: tomcat is looking for a class I don't use anymore

2007-08-08 Thread David Delbecq
Did you delete all your .class of your application and rebuild them after removing myclass.java? It could be another class was referencing that class and was not recompiled, and as such can not be loaded anymore because reference another non existing class. The stacktrace of Exception could be us

Re: Unsubscribe me please

2007-08-08 Thread David Delbecq
Send email to [EMAIL PROTECTED] with the same email address as the one you use to send emails to mailing list. You will receive a confirmation email within a few minutes. you must reply to that email and the mailing list server will say you bye bye If you don't get the confirmation email, check y

Re: Tomcat startup error

2007-08-08 Thread David Delbecq
According to your log, i fails to parse the tomcat xml password file. It is malformed from xml point of view. Perhaps you have characters not allowed in xml like < or " or > in a password field? or maybe you forgot to close a xml tag? hints on reading the log: Error at line 11 column 2: The markup

Re: New Problem to configure servlet on Tomcat

2007-08-02 Thread David Delbecq
Just read: "Can't find bundle for base name LocalStrings, locale it_IT " in other words, you are missing ressource bundle LocalString_it.properties or LocalString_it_IT.properties check your code and your files. Fabbris Pierluigi a écrit : > Hi, > I've configured Servlet on Tomcat, and more prob

Re: Forwarding based on URI's in Tomcat

2007-08-01 Thread David Delbecq
In your web.xml, you can map /foo and /bar to struts servlet. However, i think i remember the struts servlet does not like to be mapped at several location. (/foo, /bar and *.do) You could also write your own servlet, that your map to /foo and /bar and which take th request url and does an intern

Re: WebDav - mapping question?

2007-07-25 Thread David Delbecq
pecs, so I'm thinking, why have two development > efforts? ... just wondering > > ----- Original Message - From: "David Delbecq" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Sent: Tuesday, July 24, 2007 1:06 PM > Subject: Re: WebDav - mapp

Re: WebDav - mapping question?

2007-07-24 Thread David Delbecq
That's strange that MS doesn't handle it. As i said, i have a slide webdav servlet mapped to /DAV/* and MS webfolder can access it throught all our company without much troubles, even without a trailing slash. (there are slight troubles that are unrelated) Mark Thomas a écrit : >

<    1   2   3   4   5   6   >