Re: _another_ problem stopping tomcat

2003-09-28 Thread michal urbanski
I don't think I'm issuing a remote command. Some more background: running dtomcat4 start and dtomcat4 stop worked normally _before_ adding that particular CATALINA_OPTS line. I will check those threads on remote shutdown, though. Thanks for the pointer :) __michal On Fri, Sep 26, 2003 at

Migration from 4.1.x to Tomcat 5

2003-09-28 Thread Marco Tedone
Hi, which are the key anspects I shall keep in mind when migrating from Tomcat 4.1.xx to version 5, keeping in mind that I'm developing Struts application? Which are the key technology anspects I shall review in my project architecture, particularly related to: 1) Servlets/JSP 2) Taglibs 3)

Antwort: Migration from 4.1.x to Tomcat 5

2003-09-28 Thread Oliver Wulff
Hi Marco I don't know Tomcat 5.x but what do you mean with your personal security model? Have you implemented a custom realm? Oliver ** Oliver Wulff Zürich Versicherungs-Gesellschaft IA4, CoC Middleware Postfach, 8085 Zürich

Re: Antwort: Migration from 4.1.x to Tomcat 5

2003-09-28 Thread Marco Tedone
I implemented a security model independent from the container. Basically it is based on db/validation and session management through taglibs to display/allow functionalities to authorized users. Marco - Original Message - From: Oliver Wulff [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Antwort: Re: Antwort: Migration from 4.1.x to Tomcat 5

2003-09-28 Thread Oliver Wulff
We had something similar in our company too, but we want to get rid of custom security code (proprietary). The Java developer should have to possibility to use the Java Servlet API for security issues (web.xml, isUserInRole(), getUserPrincipal(), etc.). We have integrated our

Re: Antwort: Re: Antwort: Migration from 4.1.x to Tomcat 5

2003-09-28 Thread Marco Tedone
Well, the real problem I encountered with JAAS (which brought me to choose for my own, platform-independent, solution - which for the EJB part will make use of the JAAS API anyway) is that the realms provided by vendors are vendor-specific. Therefore, should I have a solution valid on JBoss I

Connecter Disabled but Still Active on Port 8080

2003-09-28 Thread Rhugga
I am running Tomcat 4.1.27 using Sun's j2sdk 1.4.2 on Solaris 9 64-bit. I am only using Tomcat for a JSP/Servlet engine using mod_jk2 and apache 2. I am using an AF_UNIX socket for communication. The only connector I have defined in conf/server.xml is as follows: !-- Define a Coyote/JK2 AJP

form-based login / cookies disabled / JSPs in WEB-INF

2003-09-28 Thread Adam Hardy
I think I have a problem. I want form-based container-managed authentication on my app. I also want to allow cookies to be disabled. And I want to keep my JSPs under WEB-INF for security. It seems I cannot have these 3 combined, because disabling cookies means I have to do URL rewriting in

Re: form-based login / cookies disabled / JSPs in WEB-INF

2003-09-28 Thread Jose Alfonso Martinez
Adam, I am in the same issue as you and haven't come out with any workaround yet... However, in my site, the login form could be an html because I don't need to maintain a session until the user has logged-in. Do you really need to maintain a session, even when the user is just browsing static

RE: Tomcat clustering

2003-09-28 Thread Neil Aggarwal
Bern: We are using clustering on Tomcat 4. Actually, at the current time, we are working with Filip Hanik to track down a performance problem with the clustering code. Let me know what I can do to help you. Thanks, Neil -- Neil Aggarwal, JAMM Consulting, (972)612-6056,

Re: form-based login / cookies disabled / JSPs in WEB-INF

2003-09-28 Thread Adam Hardy
On 09/28/2003 06:09 PM Jose Alfonso Martinez wrote: Do you really need to maintain a session, even when the user is just browsing static html files (before logging in)??? If the answer is no, then you could have an html login form. Try it! If tomcat doesn't have a session id to store the user's

Logger.getConfigurationFileName()

2003-09-28 Thread Henrik Vendelbo
With all the flexibility in cofiguring the logging facility, I wonder if there is some way to discover how current properties were loaded. I imagine that getting the absolute path of for instance the log4j.properties file would be tricky; How about the name of the ClassLoader and the

RE: form-based login / cookies disabled / JSPs in WEB-INF

2003-09-28 Thread Sjoerd van Leent
Jose, Adam It's not the best solution, but it should be possible to not set the SESSIONID in a cookie, but in (a) hidden form field(s). Remember when you do this, that you need a very strong security encryption. It requires that you overload the SESSIONID get function, which I think must be

RE: Regarding Tomcat Start

2003-09-28 Thread Shawn Zernik
Vishal: go through the batch file (.bat) and add PAUSE followed by and enter after the tomcat or java command to see their responces. Batch filesare just a series of DOS command made to run in order. It has a GOTO statments and enviorment vars for varibles. The %1 %2 %3 represent the first

Tomcat on Linux

2003-09-28 Thread Joao Medeiros
Hi folks, I've decided to start doing some testing on Tomcat under Linux for which I have installed Redhat 8 which is now up and running, downloaded the JSDK for Linux which is also setup and downloaded the Tomcat files but before I go ahead and start installing it I was wondering if you could

jsp:body

2003-09-28 Thread Julien Martin
Hello, I am trying to find documentation about the new jsp:body tag. Can anyone tell me what it does and tell me where I can find more documentation about it. Thanks in advance, Julien.

Re: Logger.getConfigurationFileName()

2003-09-28 Thread Tim Funk
If using log4j, log4j automagically looks for log4j.properties in the classloader with no package prefix. So if log4j is in $TOMCAT_HOME/lib, you can configure it via log4j.properties in $TOMCAT_HOME/classes. -Tim Henrik Vendelbo wrote: With all the flexibility in cofiguring the logging

Re: Logger.getConfigurationFileName()

2003-09-28 Thread Henrik Vendelbo
It seem so simple doesnt it? Whenever I read the Log4j docs, the scheme always seemed simle and effective. Well, I have not spent two days trying to figure out why my Axis webservice fails. And logging is currently adding a lot of pain rather than help to the process. The thing is that once

URL: Hiding index.jsp

2003-09-28 Thread rhong
All, I am trying to develop a site and wish to hide the default page defined in the welcom-file-list in the xml from displaying in the address bar of the browser. For example: If I have a directory called test1 and have an index.jsp defined, I want the user to only see /test1 in the address

Re: Tomcat as a service

2003-09-28 Thread Henrik Vendelbo
The information is fairly limited on how to get things to work with Tomcat running as a service. What I have learnt so far is : 1) CATALINA_OPTS environment variable allows you to pass options to the JVM 2) The Jakarta Commons project hosts the Daemon that does the work of running Tomcat as a

Re: Stop Tomcat Remotely

2003-09-28 Thread Henrik Vendelbo
What about Java Management Extensions (JMX) and MBeans. Perhaps they will do it for you ? - Original Message - From: Filip Hanik [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 10:28 PM Subject: Re: Stop Tomcat Remotely I was under the

Re: cannot log from a load-on-startup servlet in init()

2003-09-28 Thread Henrik Vendelbo
class threw an exception. Going down a little further we find the Caused by error that claims Log4JLogger does not implement Log. This is almost certainly due to having more than one copy of the Log4J classes visible in the class loader hierarchy. Craig Thank you soo much. I was really

RE: [OFF TOPIC] Version Control

2003-09-28 Thread Imran Balkhi
How about report generation from cvs? I am looking for more detail one eg, who cjecked in how many line of code, etc. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 11:15 AM To: 'Tomcat Users List' Subject: RE: [OFF TOPIC] Version

web.xml validator

2003-09-28 Thread Henrik Vendelbo
Do someone know a URL for a site that will validate a web.xml file against the webapp DTD ? Apparently there is an error in this webapp block, but damned if I can find it :( web-app display-namedspc Management/display-name description SOAP interface to dspc Management on the

Re: URL: Hiding index.jsp

2003-09-28 Thread Tim Funk
Tomcat4 cannot do this by itself. With the help of apache and directory indexing - this can be done with a little tweaking. Tomcat5 can hide the name of the welcome-file. -Tim [EMAIL PROTECTED] wrote: All, I am trying to develop a site and wish to hide the default page defined in the

Re: Logger.getConfigurationFileName()

2003-09-28 Thread Tim Funk
There was a similar post today that the Root cause message you are seeing is usually caused by multiple (conflicting?) versions of the same class. Which is probably log4j, and/or commons-logging. -Tim Henrik Vendelbo wrote: It seem so simple doesnt it? Whenever I read the Log4j docs, the

Re: web.xml validator

2003-09-28 Thread Tim Funk
IE or mozilla can let you know if an XML file is well-formed. I just valid via eyeball to see if a doc is correct. The dtd says: !ELEMENT web-app (icon?, display-name?, description?, distributable?, context-param*, servlet*, servlet-mapping*, session-config?, mime-mapping*, welcome-file-list?,

Re: java.util.logging and tomcat

2003-09-28 Thread Josh G
Adam Hardy wrote: Statements should go to $CATALINA_HOME/logs/ if you have set up your JDK logging.properties not to filter them out. How do I make that change? -- [ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]

cannot log from a load-on-startup servlet in init()

2003-09-28 Thread Henrik Vendelbo
I am running Axis under Tomcat. Both are the latest versions. I chose to use the log4j that is already in the Tomcat directory. When the Axis servlet loads, I get the following. Where does the issue lie ? 2003-09-28 18:44:02 StandardWrapper[/dspc:DspcAxisServlet]: Marking servlet DspcAxisServlet

Re: cannot log from a load-on-startup servlet in init()

2003-09-28 Thread Craig R. McClanahan
Henrik Vendelbo wrote: I am running Axis under Tomcat. Both are the latest versions. I chose to use the log4j that is already in the Tomcat directory. When the Axis servlet loads, I get the following. Where does the issue lie ? The important evidence is the Root Cause exception below

Re: URL: Hiding index.jsp

2003-09-28 Thread Bill Barker
Tim Funk [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Tomcat4 cannot do this by itself. With the help of apache and directory indexing - this can be done with a little tweaking. Tomcat5 can hide the name of the welcome-file. As can Tomcat 3.3.2-dev. -Tim [EMAIL PROTECTED]