application timeout

2002-11-21 Thread Paul_Wallace
Hello, I am using 'application' to persist and make available simple text values accessible to multiple clients. Can someone tell me how to set the timeout value to this please (default lifetime)? I have acheived this with HttpSession by editing my conf/web.xml file, but can see no

Re: Status of Symbolic Links on Linux/TC 4.1.12???

2002-11-21 Thread Bill Barker
Eugene Gluzberg [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Could you please specify how to configure it in 4.1.15? should we omit the docBase in Context and specify it in Resources instead? or do we need both? Does the Resources have to have a absolute

Re: application timeout

2002-11-21 Thread Kwok Peng Tuck
I've replied before, you can set in your jsp code if you wish, here's how you do it, setMaxInactiveInterval(int interval) ; This is a method, so you need to call it. You can check out the apis that you need information on, comes with every copy of tomcat.

Re: mod_jk2 and userdirectories

2002-11-21 Thread Bill Barker
The CVS HEAD version of mod_jk2 (i.e. pre-release) has some support for using REs in the mappings. Haven't used it myself, but it may solve your problem. joe udder [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello. Can anyone please point out a guide or

Betr.: mod_jk2-2.0.43 for freebsd

2002-11-21 Thread Jacco Braat
try ./configure options (see ./configure --help for available options) gmake I've build one with ./configure --with-apxs2=/local/apache/bin/apxs --with-tomcat41=/usr/local/tomcat --without-jni but the options depend on youre setup [EMAIL PROTECTED] 21-11-2002 3:23:36 Does anyone know where

RE: problem with Classloader and symbolic links in 4.1.12

2002-11-21 Thread Roberts, Eric
Have you considered using Ant to build and deploy your applications? -Original Message- From: Eugene Gluzberg [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 21. November 2002 01:45 To: Tomcat Users List Subject: problem with Classloader and symbolic links in 4.1.12 Here is a scenario. I

Re: application timeout

2002-11-21 Thread Paul_Wallace
Hi Kwok, I looked at the docs you referenced and the method you mentioned (setMaxInactiveInterval) was not present, and did not compile? If the method it is available how is it called? I have: Hashtable hstyle = new Hashtable(); application.setAttribute(appstyle, hstyle); OK!

Re: mod_webapp.so versus mod_jk

2002-11-21 Thread Bill Barker
Matthew Hannigan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Wed, Nov 20, 2002 at 01:51:33PM -0600, Kent Perrier wrote: On Wed, 2002-11-20 at 13:24, Steve Cromer wrote: Hi, I would like to integrate Tomcat and Apache. I noticed that there is

Re: How does servlets know it is a page refresh?

2002-11-21 Thread Rodrigo Ruiz
Take a look at this example chapter from the book Core J2EE Patterns: http://vig.pearsoned.com/samplechapter/0130648841.pdf On page 10 of the pdf (43 on the book :-), it speaks about this subject, and a good strategy to address it Hope it helps, Rodrigo I have some servlets serving html

problem tomcat-postgresql datasource

2002-11-21 Thread Andrea . Ferrando
I am using Tomcat 4 on a linux-box with postgresql. I'm trying to set up a data source. I followed the instructions on http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html But the ds.getConnection method waits for an undefined time to give me a connection. Any

Re: problem tomcat-postgresql datasource

2002-11-21 Thread Kwok Peng Tuck
Remove the sql validation parameter, or actually give it a sql statement to use. And in this Resource name=jdbc/mydb scope=Shareable type=javax.sql.DataSource/ add auth=Container so that it looks like Resource name=jdbc/mydb scope=Shareable auth=Container type=javax.sql.DataSource/ Took me a

Re: Managed Bean Question

2002-11-21 Thread Bill Barker
Fortunately, there is a yet-undocumented-method :( that works much better. The ServerLifecycleListener in the server.xml file takes an (undocumented) attribute called 'descriptors'. The value is a ';' separated list of resources to load the mbean-descriptors from. This allows you to package

Re: session startup

2002-11-21 Thread Martin Jacobson
[EMAIL PROTECTED] wrote: OK, Perhaps then a session is not what is required here. I wish to make available upon startup of the server, some simple string values. They must be accessible to all clients, auto initialised when the service starts up. This is something similar to a posting

Tomcat Mbeans

2002-11-21 Thread Reynir Hübner
Hi, I'm looking for documentation on the Mbean system in tomcat. I've developed a new Valve that I would like to run with in tomcat, and it does, but the parameters in server.xml dont seem to get passed down to the class, on server-startup. I've added a config for the Valve in the

Re: Apache cannot serve html files in webapp directory

2002-11-21 Thread Irwan
Bill Barker wrote: Usually this is a problem with file permissions. The Apache user (I think that this defaults to apache on RedHat, but I don't use RedHat that much) needs to have read+execute permissions on all directories upto and including the examples directory. In practice, this usually

Re: application timeout

2002-11-21 Thread Pae Choi
See the javax.servlet.http.HttpSession interface. You should get what you need. Pae - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, November 21, 2002 12:40 AM Subject: Re: application timeout Hi Kwok, I looked at the docs

File Path Problem...

2002-11-21 Thread Harsha Yalagach
Hello, I am running Tomcat 4.1 on Windows 2000 as a service. I have written a JSP page where in I am trying to read an XML. If I try to access the file using absolute path, for eg. c:\abc\xyz.xml, the page works without any problem. But if i try to access it thru relative path, for eg.

tomcat n apache

2002-11-21 Thread puneet sachar
sir.. tell me what is tomcat and apache.. what is the difference b/w both.. where we can use tomcat and where apache.. regards Puneet __ Do you Yahoo!? Yahoo! Mail Plus – Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To

AW: Session Tracking based on the Client's IP

2002-11-21 Thread Power-Netz \(Schwarz\)
would have to punch in the code for verification, that would definetly defeat any script but is less convenient for the user. I would prefer to dynamically identify any individual user who uses my service more than say 10-15 times in a minute and ban him for an hour or so. Set a cookie

Re: application timeout

2002-11-21 Thread Kwok Peng Tuck
I think it's session.setMaxInactiveInterval(100) ; the session is accessible to each jsp . [EMAIL PROTECTED] wrote: Hi Kwok, I looked at the docs you referenced and the method you mentioned (setMaxInactiveInterval) was not present, and did not compile? If the method it is available how

Re: application timeout

2002-11-21 Thread Kwok Peng Tuck
I forgot to mention that by doing this appstyle.setMaxInactiveInterval(100); you are trying to referrence a object in the session. which won't work. The name appstyle is what you use to retreive the object from the session. good luck. [EMAIL PROTECTED] wrote: Hi Kwok, I looked at the

Re: Tomcat Mbeans

2002-11-21 Thread Bill Barker
Custom Valves, at least at the moment, have some issues (:. If your Valve extends org.apache.catalina.valve.ValveBase, then it should work fine. Otherwise, it will probably need to at least implement org.apache.catalina.Contained to work anytime in the near future. If you have a better idea on

jboss integration

2002-11-21 Thread Peter Baker
where can i found information about integration of tomcat and jboss 3? free information, i mean. thanks - Yahoo! Messenger Nueva versión: Webcam, voz, y mucho más ¡Gratis!

Re: Session Tracking based on the Client's IP

2002-11-21 Thread vivek baliga
Hi , request.getRemoteAddr() will give u the IP Put time with session and compare when there is new request jabs - Original Message - From: Power-Netz (Schwarz) [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, November 21, 2002 3:33 PM Subject: AW: Session

Re: problem tomcat-postgresql datasource

2002-11-21 Thread Andrea . Ferrando
It works !!! Thank you andrea Remove the sql validation parameter, or actually give it a sql statement to use. And in this Resource name=jdbc/mydb scope=Shareable type=javax.sql.DataSource/ add auth=Container so that it looks like Resource name=jdbc/mydb scope=Shareable auth=Container

Re: File Path Problem...

2002-11-21 Thread Andreas Probst
Hello, maybe you could save the absolute path inside a properties file or pass it as an init parameter in web.xml. For each location of your app you would have to set this path appropriately. You could use absolute paths and wouldn't need to change the source code of the application.

Has anyone got php (as a servlet) stable with Tomcat?

2002-11-21 Thread ben f
Hi I'm having a bad time installing php as a servlet under tomcat. My tomcat install is fine. I have php-4.2.3 installed with tomcat-4.1.12 on WINNT. When I create a file that simple has print 'hello, world'; it works twice and always fails on the third instance, generating an error dump as

Re: Session Tracking based on the Client's IP

2002-11-21 Thread Jose Miguel Guzman Cassanello
But, How can I change the SessionID, for using the Client IP as the Index? The getSession() method retrieves the Session for the client, based on the SessionID (that normally is based in Cookies or re-writed URLs) What I need is a way to force the SessionID to different value, for example, the

MacOS

2002-11-21 Thread Felipe Schnack
Anyone have experience with Tomcat on MacOS X servers? Or with java in general? I would like to know if these machines are good options for serving jsp or I should stick with PCs... -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Faculdade

RE: newbie Q

2002-11-21 Thread Price, Erik
-Original Message- From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 7:59 PM To: Tomcat Users List Subject: Re: newbie Q That's the context for the webapp ROOT . If you point your browser to your tomcat server like , http://localhost:8080/ ;

Re: File Path Problem...

2002-11-21 Thread Kristján Bjarni Guðmundsson
I think you could store it in WEB-INF and use ServletContext.getRealPath(/WEB-INF). Andreas Probst [EMAIL PROTECTED] wrote on 21.11.2002 12:19:51: Hello, maybe you could save the absolute path inside a properties file or pass it as an init parameter in web.xml. For each location of

RE: File Path Problem...

2002-11-21 Thread Harsha Yalagach
Hi Andreas, That doesnt solve my problem as our client wants the application without any configuration hassles and moreover the deployment platform is also not specific. It may be deployed on win32 machines or Solarix machines or Linux machines... :( Any more ideas... Regards,

Re: MacOS

2002-11-21 Thread Martin Redington
I'm running tomcat (4.1.12) on Mac OS X. Not in production (yet), but everything seems to work as expected ... On Thursday, November 21, 2002, at 12:33 PM, Felipe Schnack wrote: Anyone have experience with Tomcat on MacOS X servers? Or with java in general? I would like to know if these

Re: File Path Problem...

2002-11-21 Thread Jon Eaves
Use ServletContext.getResourceAsStream() and store the XML file in WEB-INF/classes Using a file path is very, very bad for web applications as the web application may be deployed as a WAR where the file path just doesn't exist, or it may be deployed into an environment (such as a database) where

Supressing Authentication Box in Apache

2002-11-21 Thread Laxmikanth M.S.
Hi, I need to supress Authentication Box in Apache but need to be Authenticated. I will pass the user/pwd as URLStrng for the pagethe Apache server need to authenticate without showing the Dialog Box. How it can be done. can anyone help me in this regard Regards Laxmikanth M S Off* :

Re: MacOS

2002-11-21 Thread Martin Jacobson
Felipe Schnack wrote: Anyone have experience with Tomcat on MacOS X servers? Or with java in general? I would like to know if these machines are good options for serving jsp or I should stick with PCs... I'm running Apache + mod_jk + Tomcat 4.1.12 + OpenSSL + MySQL on Mac OS 10.2 and it all

RE: Integrating / Connecting HTTPD 2.0.43 with TOMCAT 4.1.12

2002-11-21 Thread Turner, John
I don't use Windows, but two things: 1) pathnames with spaces can cause problems...people seem to have more luck using pathnames without spaces, such as apache instead of Apache Group. Yes, the Apache installer puts things in Apache Group, but the Apache team has no idea that you're going to be

RE: symbolic links in 4.1.12

2002-11-21 Thread Turner, John
Symbolic links are disabled in 4.1.12. The workaround is to use a tag in server.xml, though I believe the workaround is broken in .12 and .13. Search the archives, this comes up quite a bit (like every day). We don't use symlinks, so I can't tell you specifically what the workaround is. John

webapp fails to start using /manager start command

2002-11-21 Thread Price, Erik
Hello, I checked the archives for this but couldn't find the answer to my problem. I created a new webapp yesterday and put it into the $CATALINA_HOME/webapps directory. From this list I learned that it is possible to have a webapp recognized by restarting Tomcat *OR* by adding a Context

RE: webapp fails to start using /manager start command

2002-11-21 Thread Roberts, Eric
Have you checked the log files to see if there is a reason as to why the app could not be started? -Original Message- From: Price, Erik [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 21. November 2002 14:43 To: [EMAIL PROTECTED] Subject: webapp fails to start using /manager start command

RE: Apache cannot serve html files in webapp directory

2002-11-21 Thread Turner, John
It doesn't matter if Apache is installed as root...it doesn't run as root. It starts as root so that it can bind to port 80, but all HTTP requests are handled by forked children that run as a non-root user specified by the administrator (typically user nobody, group nobody). This is for

RE: Supressing Authentication Box in Apache

2002-11-21 Thread Turner, John
This is an Apache question, not a Tomcat question. Check the HTTP spec...you can pass usernames and passwords on the URL. John -Original Message- From: Laxmikanth M.S. [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 8:22 AM To: [EMAIL PROTECTED] Subject: Supressing

RE: tomcat n apache

2002-11-21 Thread Turner, John
Tomcat is a servlet container. It is used with JSP and servlets. Apache is an HTTP server. It serves web pages. John -Original Message- From: puneet sachar [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 5:01 AM To: Tomcat Users List; [EMAIL PROTECTED] Subject:

RE: init parameters acces

2002-11-21 Thread Shapira, Yoav
Hi, Check the tomcat logs on startup: if you posted your entire web.xml, then your web.xml is incomplete and you'll see errors in the tomcat logs. Furthermore, as a matter of good design, don't override init(ServletConfig config). Override init() instead. That way you don't have to call

Apache cannot server jsp file

2002-11-21 Thread Irwan
Hi all Initially Apache was able to serve jsps from example webapp until i deployed jetspeed.war. Nothing seems to work now, I get Internal Server Error. Even after deleting Jetspeed.war and httpd.conf . I supect it s Tomcat that is causing it because when I start tomcat. I get this error

RE: proper use of servlet contexts

2002-11-21 Thread Shapira, Yoav
Hi, A couple of suggestions. Basically, we develop all of our applications under contexts. Each one a separate context. When they go live, they go to the default context so users don't have to request everything with /context/blah. This means that if Don't do this. Deploy them to their own

Tomcat 4.1.12 ArrayIndexOutOfBoundsException in InternalOutputBuffer.write()

2002-11-21 Thread Neil Milne
Hi I'm seeing an occasional ArrayIndexOutOfBoundsException in the org.apache.coyote.http11.InternalOutputBuffer write method. It appears that the buffer holding the response headers (which has a default size of 32000 bytes) is occasionally overflowing. I can't reliably repeat this so I'm not

Fwd: Startup Problem - Win2K - How To Get Stacktrace?

2002-11-21 Thread Douglas Reames
Could it be that until Ant is installed, that Tomcat does not have all of the class files it needs for deployment and startup? regards, Douglas Reames Hi, I am trying to run Tomcat 4.1 on a Win2K box, and 'startup' is problematic. I have set the environment variables, and pointed the

RE: Tomcat 4.1.12 ArrayIndexOutOfBoundsException in InternalOutputBuffer.write()

2002-11-21 Thread Shapira, Yoav
Hi, I had the EXACT same thing happen. A temporary solution, applied in 4.1.14-LE, was to increase the buffer size to 48K. But I've yet to test this, and I suspect it's not the perfect solution. Yoav Shapira Millennium ChemInformatics -Original Message- From: Neil Milne [mailto:[EMAIL

JMS / InitialContext question

2002-11-21 Thread Shapira, Yoav
Hi, Using tomcat's built-in JNDI support, and placing the JMS distribution (jms.jar from java.sun.com) in my WEB-INF/lib directory, I should be able to send a JMS message to a queue on a remote server, right? The remote server is a full server (weblogic) with a JMS implementation of its own. I

Oracle Connection Pool - Global Naming Resource - HOW TO

2002-11-21 Thread Roberts, Eric
I had problems earlier getting a Global Naming Resource database connection pool to work with my Oracle db. The only reply I got was that someone else had the same problem! I now have it working, so for those interested, here is the HOW TO: When defining the parameters for the db pool (say

apache-tomcat configuration for java server pages

2002-11-21 Thread kala sunil
hi we are in a project that which is a e-mail reader which involves jsp, voicexml.the problem has arised with the part of trying to configure apache-tomcat for java server pages. please look into the folowing: WEB.XML FILE servlet servlet-nameWebAppRegistrant/servlet-name

Retrieving SSL client certificates from the Request

2002-11-21 Thread Rodrigo Ruiz
Hi all, Can I retrieve the SSL client certificate from an incoming request and use it in another one? Let me explain the background: We have implemented a server that only accepts SOAP requests. The purpose of this server is to act as a job dispatcher for a cluster of N machines. The jobs to

RE: Startup Problem - Win2K - How To Get Stacktrace?

2002-11-21 Thread Lance Smith
Tomcat doesn't require Ant unless you are building it. Have you looked at the log files in CATALINA_HOME\logs for any ideas. The other option is to open a command window, cd to CATALINA_HOME\bin and run startup. regards, Lance Smith -Original Message- From: Douglas Reames [mailto:[EMAIL

RE: webapp fails to start using /manager start command

2002-11-21 Thread Price, Erik
Eric, Great! I didn't know about the log files, but that had the answer. A SAX parse error in my WEB-INF/web.xml file. This is kind of surprising since I just copied the web.xml file from the URL at http://domainname:8080/tomcat-docs/appdev/web.xml.txt and removed the .txt extension. I

RE: Not using the usual/ normal process, is their another way of executing a servlet?

2002-11-21 Thread Cox, Charlie
no, you set up a background thread(using ServletContextListener) that calls a URL at the specified time to complete the task. This URL can be a normal servlet/jsp. you have to make sure that you end the thread on shutdown or Tomcat will not shutdown gracefully. Charlie -Original

mod_webapp Compile Problems on FreeBSD 4.7

2002-11-21 Thread Bob Tilley
Our shop is running FreeBSD 4.7 and we are experiencing some curious problems with our attempts to compile mod_webapp. The compile warnings involve several missing files, all of which can be found in the source of our Apache 1.3.27 installation. Even when the include files are explicitly

The major.minor version '48.0' is too recent for this tool to understand.

2002-11-21 Thread Grinvald, Edward
Hello, I'm getting the following error: org.apache.jasper.JasperException: Unable to compile error: Invalid class file format in C:\PROGRA~1\CA\BrightStorPortal\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand. C:\Program

RE: Startup Problem - Win2K - How To Get Stacktrace?

2002-11-21 Thread srinath narasimhan
To get the output in the same window, in your script where you say action start, change that to action run that runs tomcat in the same command window. hope that helps. -Original Message- From: Lance Smith [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 09:46 To: 'Tomcat

RE: The major.minor version '48.0' is too recent for this tool to understand.

2002-11-21 Thread Shapira, Yoav
Hi, The tomcat is 3.3a, the jdk is 1.4.1_01. I know that this error can occur if you are trying to use an old jdk with a jar (or rt.jar in particular) from a newer jdk. I wiped my box clean, installed only the 1.4.1_01 JRE, wiped the java.exe from winnt/system. Checked the system, no other

RE: The major.minor version '48.0' is too recent for this tool to understand.

2002-11-21 Thread Grinvald, Edward
This may sound silly, but why? It was working just fine with a 1.3 jre, I believe, and it does have its own tools.jar. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 10:15 AM To: Tomcat Users List Subject: RE: The major.minor version

RE: Startup Problem - Win2K - How To Get Stacktrace?

2002-11-21 Thread Douglas Reames
Thanks Lance, Your comments helped jog my memory. The startup routine is looking for the InputSource class file from the xml package. Now I have a starting point. Regards, Douglas Reames At 08:45 AM 11/21/2002 -0600, you wrote: Tomcat doesn't require Ant unless you are building it. Have you

RE: The major.minor version '48.0' is too recent for this tool to understand.

2002-11-21 Thread Larry Isaacs
I believe this means that the tools.jar being used is out of sync with your JDK/JRE. Note that you state that you installed 1.4.1_01 JRE, which doesn't include a tools.jar. If you are using a tools.jar from a 1.3.x JDK, I think you would get an error like this. Cheers, Larry -Original

Performance Manager

2002-11-21 Thread Kevin Andryc
I was just wondering if there was a performance tracking application for Tomcat such that it will have statistics and graphs of usage. Is there also one for Apache by any chance? Thank You, Kevin Kevin Andryc Web Systems Engineer MISER http://www.umass.edu/miser/ Phone: (413)-545-3460 [EMAIL

Problem in starting the TOMCAT

2002-11-21 Thread Nagpal, Vikas
Hi everybody, I am receiving the following error in starting the tomcat thru the manager application. FAIL - Encountered exception java.lang.IllegalStateException: Container StandardContext[/vikas2] has not been started Of late I have been copying some stuff into my directory. Is this something

Tomcat4.1.12 with Apache1.3.27

2002-11-21 Thread Laxmikanth M.S.
Hi, Can you please send the steps to Integrate Apache1.3.27 with Tomcat4.1.12 using MOD_JK. For me the Index.jsp of Tomcat page is opening through Apache but none of the other JSP pages open. Regards Laxmikanth M S Off* : 6610330 extn 1256 Res* : 5267150 http://www.sonata-software.com

Re: OFF Topic : Any java based API converters from DOC or PDFto HTML

2002-11-21 Thread Björn Bergenheim
What you need to do is to remove the tag !--This file, generated by JBuilder, may be deleted and regenerated at any time.-- from server8080.xml, and then jbuilder will stop to regenerate the file. /Bjorn - Original Message - From: Nagarjuna Rao Chakka [EMAIL PROTECTED] To: Tomcat Users

RE: Tomcat4.1.12 with Apache1.3.27

2002-11-21 Thread Turner, John
http://www.johnturner.com/howto John -Original Message- From: Laxmikanth M.S. [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 5:06 AM To: [EMAIL PROTECTED] Subject: Tomcat4.1.12 with Apache1.3.27 Hi, Can you please send the steps to Integrate Apache1.3.27

tomcat 4.1.12 + DB Connection Pool

2002-11-21 Thread srinath narasimhan
Hi I am using Tomcat 4.1.12 on Win2k with SQL Server. I am using MS JDBC driver. I tried to implement Connection pool with DBCP. When I do a getConnection(username,password) on the datasource I get a UnsupportedOperationException. Any ideas. Thanks. Srinath.

Manager problem (Priveleged Servlets?) with Virtual Hosts

2002-11-21 Thread Brandon Cruz
This is my first attempt at using the manager and I am having some problems. I can use the manager if I access the localhost. It shows me everything installed into the webapps folder. I am trying to set up the manager for each virtual host but am having problems. I have entered the context

Re: MacOS

2002-11-21 Thread Martin Redington
On Thursday, November 21, 2002, at 01:31 PM, Martin Jacobson wrote: Felipe Schnack wrote: Anyone have experience with Tomcat on MacOS X servers? Or with java in general? I would like to know if these machines are good options for serving jsp or I should stick with PCs... I'm running Apache

RE: The major.minor version '48.0' is too recent for this tool to understand.

2002-11-21 Thread Shapira, Yoav
Hi, This may sound silly, but why? It was working just fine with a 1.3 jre, I believe, and it does have its own tools.jar. I didn't think the JRE has its own tools.jar. The JDK includes javac, which the JRE doesn't. javac is required (unless you're using Jikes or some other setup) for

RE: The major.minor version '48.0' is too recent for this tool to understand. [SOLVED]

2002-11-21 Thread Grinvald, Edward
Hi all, Thank you for your help. You can get bye with a JRE, as long as you have a tools.jar, and tomcat 3.3a was shipping one in lib/container, but it was outdated (from 1.4 perspective), and was giving me the problems. I replaced it with the tools.jar from the 1.4 jdk, and everything seems to be

mod_webapp Compile Problems on FreeBSD 4.7 -- More Info

2002-11-21 Thread Bob Tilley
I left some information out in the original posting of this message. Our shop is running FreeBSD 4.7 and we are trying to setup a Tomcat 4.0.5-Apache website. We are experiencing problems with our attempts to compile mod_webapp. The compile warnings involve several missing files, all of which

RE: Session Tracking based on the Client's IP

2002-11-21 Thread Cox, Charlie
What difference does it make what the sessionid is? the session will still expire, so if you need to keep track of data by ip address instead of sessions, store it in a database. You can always store the ipaddress in the session and retrieve it just as you sould retrieve the session id. The use

RE: Retrieving SSL client certificates from the Request

2002-11-21 Thread Bodycombe, Andrew
I think there is a request property for this. X509Certificate[] cert = request.getProperty(javax.servlet.request.X509Certificate); This property has an array of X509Certificates because you will be presented with a certificate chain, not just a single certificate. To forward this certificate to

RESEND:Problem in starting the TOMCAT

2002-11-21 Thread Nagpal, Vikas
Hi everybody, I am receiving the following error in starting the tomcat thru the manager application. FAIL - Encountered exception java.lang.IllegalStateException: Container StandardContext[/vikas2] has not been started Of late I have been copying some stuff into my directory. Is this

Re: SOAP: Unable to resolve target object

2002-11-21 Thread Glenn O
Craig R. McClanahan wrote: Of course, I also feel that ***way*** too many Tomcat developers and users put ***way*** too much stock in sharing JAR files, giving up the notion that a webapp is a stand-alone deployable unit. Very true, but the very presence of $CATALINA_HOME/common, suggests

Logging the IP address

2002-11-21 Thread Torben C G Jensen
I want to log the IP address of everyone connecting to my web server - is that possible and if so - then how? I am currently using tomcat 3.2.3, but have no problem in upgrading if necessary. Regards Torben Jensen

Negatives to reloadable=true

2002-11-21 Thread Mike Millson
Are there any downsides/negatives to setting reloadable=true in a context? e.g. Are there security or performance implications? Thank you, Mike -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: webapp fails to start using /manager start command

2002-11-21 Thread Roberts, Eric
Erik, Applications gain their context environments in Tomcat as follows: DefaultContext as defined in server.xml - all apps inherit from here. Context - specific to the app in server.xml web.xml - as in CATALINA_HOME/conf web.xml - as in Webapps/app/WEB-INF I have web.xml´s which only contain:

RE: RESEND:Problem in starting the TOMCAT

2002-11-21 Thread Roberts, Eric
The vikas2 application is failing to start. Check CATALINA_HOME/logs and see what the logfiles say. -Original Message- From: Nagpal, Vikas [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 21. November 2002 17:17 To: '[EMAIL PROTECTED]' Subject: RESEND:Problem in starting the TOMCAT Hi

Re: Logging the IP address

2002-11-21 Thread Tim Funk
This is doing via access logs. I'm not sure how 3.X does access logs but there is ample docs for 4.X. I'm sure there is for 3.X too. 4.X is also setup by default to write out access logs. For more info for 4.X - look for AccessLogValve Torben C G Jensen wrote: I want to log the IP address of

RE: Negatives to reloadable=true

2002-11-21 Thread Shapira, Yoav
Hi, Yes. Significant performance implications can be assumed. Don't set reloadable=true in a production server. Yoav Shapira Millennium ChemInformatics -Original Message- From: Mike Millson [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 11:45 AM To: Tomcat Users List

jk1.2 load-balancing help needed

2002-11-21 Thread Ben Ricker
I am running a web application that has 2 Apache instances listening on 4 total interfaces (to account for NIC failure) using mod_jk to load-balance across 4 tomcat instances.I have two boxes with two tomcats on each box listening on seprate interfaces (again, for Nic failure). Apache is version

Re: MacOS

2002-11-21 Thread bido
I dropped my PC for development work once I got on MacOSX (Nope I'm not aspiring to be in an Apple add) but it's worth exploring for those of you who are thinking about it. MacOSX is an excellent option for serving JSP and great Java platform in general. It gives Java a red carpet treatment

RE: MacOS

2002-11-21 Thread David Blevins
You make me want to go out and pickup a titanium iBook, course, I've been drooling over those for a while A note on OSX Server and Open Source, there are few projects that ship with it by default. OpenEJB and OpenORB are used in WebObjects for EJB and CORBA support, so that explains them.

Re: Fw: Oracle thin client DataSource configuration with tomcat

2002-11-21 Thread Robert Christenson
Change the parameter name driverName to url parameter nameurl/name valuejdbc:oracle:thin:@ip:1521:SID/value /parameter Manavendra Gupta wrote: Hey Gurus, any ideas what could be the problem? following are the settings (revised): server.xml: Context path=/rti docBase=rti debug=4

SSL FAQ and question

2002-11-21 Thread Jay Wright
I am trying to do some initial research on SSL and tomcat. Perhaps there is a faq out there that can help me, but the ones I've found on the tomcat site haven't, so I turn to the newsgroup. I'm looking for some tried and true knowledge on implementing one tomcat instance with both secure and

Is anyone using manager for virtual hosts?

2002-11-21 Thread Brandon Cruz
Do I have to copy the entire webapp into each virtual host's appbase or will it be enough to just add the context definition? I have added the context definition, but am getting a servlet error that says ManagerServlet is priveleged and can't be loaded. -Original Message- From: Brandon

RE: tomcat n apache plz.....help

2002-11-21 Thread puneet sachar
thanxx John...for ur help tell me apache is the server ok..ur oracle also uses it at backgroung but we says tomcat server..where does apache ..fit into tomcat... and...if apache is web server..means it is my httpd ok.and then why we need tomcat as...it can also server...the request..is tomcat

RE: tomcat n apache plz.....help

2002-11-21 Thread Turner, John
Tomcat can be used as an HTTP server if you wish. It's main purpose is as a servlet container. People use it to serve JSP (Java Server Pages) and execute servlets. Tomcat doesn't work with ASP. If you want to use a web server (like Apache, IIS, etc) in conjunction with Tomcat, this can be

RE: proper use of servlet contexts

2002-11-21 Thread Justin Ruthenbeck
(In response to Noah Davis) At 05:55 AM 11/21/2002, Yoav Shapira wrote: Basically, we develop all of our applications under contexts. Each one a separate context. When they go live, they go to the default context so users don't have to request everything with /context/blah. This means that if

Enabling Symlinks Cause FileNotFound Exception

2002-11-21 Thread Carl Hume
Tomcat v4.1.12 Slackware, Kernel 2.4.19 I'm attempting to port a web application from Tomcat v. 4.0.6 to 4.1.12. It uses a symlink to provide access to a file repository. From my web browsing, I understand that following symlinks was disabled with v 4.1.10, but a workaround was included in

RE: Is anyone using manager for virtual hosts?

2002-11-21 Thread Cox, Charlie
you have to define the Manager context for each virtual host. You do not need to copy any files for the manager app. Charlie -Original Message- From: Brandon Cruz [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 1:22 PM To: Tomcat Users List Subject: Is anyone using

Re: Status of Symbolic Links on Linux/TC 4.1.12???

2002-11-21 Thread Bob McCormick
Hi Bill, OK - sounds good. Now, how do I find the 4.1.15? I went to the binaries and see that there is only 4.1.12. I a bit new to Tomcat, so I'm groping a bit here. Thanks..Bob On Wed, 2002-11-20 at 22:41, Bill Barker wrote: It should be pretty much working in 4.1.15 now (as long as you

RE: Status of Symbolic Links on Linux/TC 4.1.12???

2002-11-21 Thread Turner, John
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.15-alpha/bi n/ John -Original Message- From: Bob McCormick [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 1:50 PM To: Tomcat Users List Subject: Re: Status of Symbolic Links on Linux/TC 4.1.12???

Re: Enabling Symlinks Cause FileNotFound Exception

2002-11-21 Thread Eugene Gluzberg
I had the same problem, 4.1.12 does not work. Try 4.1.15 alpha, although the alpha has other bugs. I did not try to find them, I gave up after a day and went back to 4.0.6 Carl Hume wrote: Tomcat v4.1.12 Slackware, Kernel 2.4.19 I'm attempting to port a web application from Tomcat v. 4.0.6 to

change localhost_access_log to use . instead of -

2002-11-21 Thread peter lin
I just spent 45min looking through the docs and archive to see if there's an easy way to change the filename format for the access log. Anyone know of a quick way to change localhost_access_log.2002-11-02.txt t0 localhost_access_log.2002.11.02.txt peter -- To unsubscribe, e-mail:

RE: change localhost_access_log to use . instead of -

2002-11-21 Thread Turner, John
mv localhost_access_log.2002-11-02.txt localhost_access_log.2002.11.02.txt Sorry, but I figured someone had to say it. ;) John -Original Message- From: peter lin [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 2:26 PM To: Tomcat Users List Subject: change

  1   2   >