Ignorant Newbie Questions re TOMCAT and NT4

2001-07-26 Thread Thamm, Russell
Hi, I have installed jakarta-tomcat-4.0-20010717 onto an NT machine. 1) Web Folders === Is there some basic incompatibility between TOMCAT WebDav and Microsoft Web Folders? I can open a web folder on http://localhost:8080/webdav and I can create collections using the new folder option.

Re: How to pass init parameter to a JSP

2001-07-26 Thread Craig R. McClanahan
On Tue, 17 Jul 2001, Simon Chan wrote: Hi, How to pass initial parameters to a JSP? I know how to pass initial parameters to a servlet via web.xml file (init-param). However, I don't know where to put for JSP. This is my JSP file ... % String c = config.getInitParameter(cfg);

Re: what's wrong here?

2001-07-26 Thread Craig R. McClanahan
On Tue, 17 Jul 2001, Aditya Anand wrote: Hi what is wrong with this code? ic = new InitialContext(); Object myObj = new MyObject(); ic.rebind(java:comp/env/my_object, myObj); // I even tried java:/comp/env/my_obj ic.close(); I get a NamingException saying the context is readonly.

RPC to stop and start instances of Tomcat

2001-07-26 Thread Abhinav Keswani
Title: RPC to stop and start instances of Tomcat Gday I have been trying to stop and start Tomcat with an RPC framework (using perl and modules such as Penguin and PlRPC). Upon running a daemon process that simply listens for requests to stop and start a tomcat instance, I find that the

Re: project tomcat 4

2001-07-26 Thread Craig R. McClanahan
On Tue, 17 Jul 2001, Reynir Hübner wrote: Does anyone know when the new tomcat 4 will be finished and when a final release is scheduled ? The current plan is to release Tomcat 4.0 final when the underlying servlet 2.3 and JSP 1.2 specs go final, which is likely within a few months. In

RE: keeping sessions when switching from http to https

2001-07-26 Thread Brigger Patrick
I access a JSP SessionTest.jsp using http. The jsp contains a link which looks like: a href='%response.encodeUrl(https://someurl;)%'go to new link/a Nothing is added to the encoded url, i.e. no url rewriting takes place. When I access the same JSP page using https to start with, the rewriting

RE: The 4.0b5 doesn't recognize a servlet class

2001-07-26 Thread Craig R. McClanahan
On Wed, 18 Jul 2001, Vernon Wu wrote: Hi,   As you suggested, I moved the j2ee.jar from the web-inf\lib to common\lib. And then I restarted the Tomcat 4.0b5. Here is what I got: What classes do you think you need to access from j2ee.jar that are not already available to web

Re: Simple Tomcat Install on Win98

2001-07-26 Thread Jim Rudnicki
I'm having problems installing Tomcat on my Win98Se machine. Below are the directions from Jakarta for installing Tomcat. Go here: http://www.geocities.com/jdrudnicki/ and get JustGo. Jim

Re: ssi and java heap

2001-07-26 Thread Craig R. McClanahan
On 17 Jul 2001, Dwaipayan wrote: i have a few queries: can SSI be used when i am using tomcat as stand alone container? Tomcat 4.0 includes support for server-side includes, in files that end in .shtml. i am doing my first project on tomcat starting with creating a project dir and

Re: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-26 Thread Craig R. McClanahan
On Tue, 17 Jul 2001, Scott Brinker wrote: D:\oracle\ora81\jdbc\lib\classes12.zip Tomcat 4 looks only for JAR files, not ZIP files. Craig McClanahan

Re: JDBC and MySQL in Linux and MacOSX

2001-07-26 Thread Craig R. McClanahan
On Tue, 17 Jul 2001, Teiji Sawa wrote: #java JDBCTest.java java.sql.SQLException: Server configuration denies access to data source This exception means that the MySQL permissions for the database you are trying to access to not allow a connection from the host you are running, with the

Re: question about WEB-INF/lib

2001-07-26 Thread Craig R. McClanahan
On Wed, 25 Jul 2001 [EMAIL PROTECTED] wrote: Craig, this last bit caught my attention... Currently our application uses .jar files spread out all over the place, will tomcat v4 not work under those conditions? If you expect those JAR files to be visible to all of your web

problem with jsp:include tag...

2001-07-26 Thread Rahul Kumar Jain
hi, i am having a problem with jsp:include tag. i am trying to include an html page using jsp:include page="file.html" flush="true" / .. but i get an error like: [26/Jul/2001:12:34:54] config ( 7990): for hostx.x.x.x trying to POST file.html, internal-redirect reports: no way to

Configutaion Problems NT = Linux

2001-07-26 Thread Loïc Lefèvre
Hi It's me again... Last time, tomcat was configured perfectly for NT4. Still I must install it on linux now and after copying exactly (but directories ;) ) the result is not the one expected: nothing appears ! Any suggestion? Loïc Lefèvre

starting problem for Tomcat

2001-07-26 Thread Mehul S Dave
Hi I am getting this error when i try to start tomcat. i am under Linux 7.1 Error please give me the solution to start my server Starting tomcat. Check logs/tomcat.log for error messages FATAL:java.net.BindException: Permission denied java.net.BindException: Permission denied at

ClassCastException on a bean

2001-07-26 Thread Paul Foxton
Hi, I've just had an odd problem I thought I'd see if anyone else had come accross: Running tomcat 3.2.2, apache 1.3.19 on RH linux 7.1, I got a ClassCastException for a bean (called DbUtilities) I use in a JSP page. The code from the compiled servlet of the jsp is as follows: DbUtilities db

Re: virtual hosting conf question

2001-07-26 Thread Kaneda K
I Might be wrong, but in order to allow Apache to communicate with tomcat, you need to use ajp13 instead of 12. and did you correctly set mod_jk.so. ? At 07:01 26/07/2001 +0800, you wrote: Hi All, We are using Tomact3.2.3 and Apache1.3.20 with mod_jk.so. it works fine when use Directory:

Re: Configutaion Problems NT = Linux

2001-07-26 Thread Jeff Hoare
What happens? If this fits your situation then this may help. If u are using the sun jdk1.3.1 and u are using a 2.4 kernel then one thing that can happen is that the jdk won't start because of the default stack size. In this case you'll get nothing, the thing will try to start tehn die. If

Re: Configutaion Problems NT = Linux

2001-07-26 Thread Jeff Hoare
oops... ulimit applies to the user that you run tomcat as Jeff On Friday 27 July 2001 15:47, you wrote: What happens? If this fits your situation then this may help. If u are using the sun jdk1.3.1 and u are using a 2.4 kernel then one thing that can happen is that the jdk won't start

Weird thread/security problem

2001-07-26 Thread Sam Joseph
Hi, So I think this is a thread/security issue, but I am not sure. However it is definitely weird. I have been conducting some tests with multiple users. Various servlets are contacted that supply pages to each user, that include information such as user name etc. The version of tomcat in use

RE: Weird thread/security problem

2001-07-26 Thread Michael Weissenbacher
that is a simple problem of understanding: there is only one servlet object that is used by multiple threads. by having this in mind, your object variables are also shared, as would be static variables... -Original Message- From: Sam Joseph [mailto:[EMAIL PROTECTED]] Sent: Thursday, July

howto redirect

2001-07-26 Thread Bernhard Wraase
In the docs it seems simple... Even in the thread recently But it don't work. Each request works: http://127.0.0.1:8080 -http://127.0.0.1:8080/index.html https://127.0.0.1:8443 -https://127.0.0.1:8443/index.html But I want this: http://127.0.0.1:8080 -https://127.0.0.1:8443/index.html The

RE: howto redirect

2001-07-26 Thread Rams
this is not possible.. Rams -Original Message- From: Bernhard Wraase [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 3:12 PM To: [EMAIL PROTECTED] Subject: howto redirect In the docs it seems simple... Even in the thread recently But it don't work. Each request works:

RE: Configutaion Problems NT = Linux

2001-07-26 Thread Loïc Lefèvre
In fact, I hink it's a VHost configuration problem, the Apache's 'ErrorLog' file indicates: [Thu Jul 26 08:15:29 2001] [error] [client 192.1.1.33] File does not exist: /usr/local/tomcat/jakarta-tomcat-3.2.3/webapps/lol/lol and my VHost is the following: VirtualHost 192.1.1.128 ServerName

Re: Configutaion Problems NT = Linux

2001-07-26 Thread Jeff Hoare
ok, so httpd -t will tell u for sure if you have a syntax problem. I not really familiar with virtual host config, to know if this is correct/ or not. Is the directory readable by the use that runs the web server? Should you DocumentRoot stop at webapps? as its seems to be looking for

Re: Weird thread/security problem

2001-07-26 Thread Sam Joseph
Hi Michael Weissenbacher wrote: that is a simple problem of understanding: there is only one servlet object that is used by multiple threads. by having this in mind, your object variables are also shared, as would be static variables... Francis Pallini wrote: Application-wide data (within

Re: virtual hosting conf question

2001-07-26 Thread Jerry QU
it works by using ajp12. what I missed was vhost setting in server.xml. and I did in right way but the code was actually comment out . a very very stupid mistake thanks anyway Jerry - Original Message - From: Kaneda K [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: apache+mod_jk+tomcat virtual host sample setting

2001-07-26 Thread Jerry QU
I fixed the problem thanks Jerry - Original Message - From: Dmitri Colebatch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 26, 2001 1:14 PM Subject: Re: apache+mod_jk+tomcat virtual host sample setting Hi,

installation of tomcat on debian failed

2001-07-26 Thread Fabrice Terrasson
I used this configure settings: ./configure --with-apxs=/usr/bin/apxs --prefix=/usr/local/jserv --with-jdk-home=/usr/lo --with-JSDK=/usr/local/jakarta-tomcat-3.2.3/lib no errors, but when I do make: /home/fate/ApacheJServ-1.1.2/src/java/org/apache/jserv/JServConnection.java:85:

Multiple development using tomcat

2001-07-26 Thread Pete
Hi, I currently am trying to setup tomcat (3.3) to connect to apache-1.3.20, using mod_jk (apache isn't compiled with DSO support, but has mod_jk , ssl and php4 support compiled in) .. I can get tomcat working with it fine (i am still loading the mod_jk module for the tomcat side) ... However we

tomcat.sh stop = Connection refused?

2001-07-26 Thread Richard Draucker
When I attempt to shutdown Tomcat with the tomcat.sh script I get: java.net.ConnectionException Connection refused This is new since I started running RH7.1 and Java1.3.1 with Tomcat 3.1. Anyone know why? Of course I can kill it just fine. But, a nice clean stop would be preferable.

Re: Forbidden error, you are unable to access /examples from this server: please help, very urgent

2001-07-26 Thread David Smith
Just a thought on this thread and I've been guilty of this one as well, but you might also want to check directory and file permissions. If the user apache is running under does not have at least read permissions, the whole thing will fail regardless of settings in any .conf file. On

Re: Help w/ Tomcat 4.0b6 and Apache

2001-07-26 Thread Mark Dzmura
Pier: (I sent this last night, also - but it never seemed to make it too the list.) SUCCESS!! But first... The Java part of the webapp connector does not build for the lack of the following constant definitions in class org.apache.catalina.connector.warp.Constants: Constants.TYPE_CBK_DONE

Problems with authentication

2001-07-26 Thread Mattias Karlsvaerd
Hello! I've have problems with getting the authorization to work in tomcat 3.2.2 and Apache 1.3.19. I have tried to the example comes with tomcat. I get the login page, but when I've typed the username and password I get the following error: The requested URL

Re: Forbidden error, you are unable to access /examples from this server: please help, very urgent

2001-07-26 Thread raghu
Hi all, I checked my apache htdocs and saw that all files do have the readme permissions. My mod_jk.log looks like this, i think the error lies here. Please check and suggest some solutions.

Re: howto redirect

2001-07-26 Thread Bernhard Wraase
Thank you for your response Rams, this is not possible.. but what does this mean? 1.) Redirect won't work at all or 2) It should work because the server.xml seems to be okay or 3) It can't work because the server.xml has severe failures or 4) Something else TIA Bernhard Wraase

Re: tomcat.sh stop = Connection refused?

2001-07-26 Thread Pete
When I attempt to shutdown Tomcat with the tomcat.sh script I get: java.net.ConnectionException Connection refused This is new since I started running RH7.1 and Java1.3.1 with Tomcat 3.1. Anyone know why? Of course I can kill it just fine. But, a nice clean stop would be preferable.

Re: tomcat.sh stop = Connection refused?

2001-07-26 Thread Richard Draucker
Logged in as root, starting as root, calling tomcat.sh stop as root. No su - from alternate login, its all root. And the scripts are owned by root. On Thursday 26 July 2001 09:38 am, you wrote: When I attempt to shutdown Tomcat with the tomcat.sh script I get:

Re: Problems with authentication

2001-07-26 Thread Joseph D Toussaint
It's my understanding that j_security_check, j_username and j_password are all used with form based authentication (specified in th web.xml). The idea is that you create a 'custom login screen' and name you user field j_username and your password j_password. Then the action for that form is

RE: tomcat.sh stop = Connection refused?

2001-07-26 Thread Michael Weissenbacher
maybe the ajp12 connector is disabled, because tomcat needs it to be shutdown... -Original Message- From: Richard Draucker [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 3:52 PM To: Pete Cc: Tomcat List Subject: Re: tomcat.sh stop = Connection refused? Logged in as root,

tomcat runs fine standalone but not as module of apache

2001-07-26 Thread Fabrice Terrasson
I got problem for running tomcat on a debian box, Tomcat runs fine standalone but not as module of apache: root@brazil:~# apachectl restart /usr/sbin/apachectl restart: httpd restarted but nothing appear at http://localhost:8007 http://localhost:80 is ok. this is the end (altered by myself)

Re: locating web.xml

2001-07-26 Thread Mattias Karlsvaerd
You can read the Developing Applications With Tomcat it discribes in steps how you could develop a webapplication with Tomcat and how the directorytree should look like. It's availible on tomcat's homepage. The web.xml file should be placed in the WEB-INF dir in your docbase dir. You also have

tomcat4b6 classpath for poolman.xml

2001-07-26 Thread Matt Barre
I am moving a few of my applications from tomcat 3.2 to tomcat4-b6. I have them up and running except for some trouble with poolman. From the trace before it kills tomcat, it looks like it can't find the poolman.xml file. With tomcat 3.2 I simply have this file in my jdkhome/jre/lib/ext/ folder.

Re: tomcat4b6 classpath for poolman.xml

2001-07-26 Thread Matt Barre
I guess it might help to include the trace from the out screen. :) Starting service Tomcat-Standalone Apache Tomcat/4.0-b6 Starting service Tomcat-Apache Apache Tomcat/4.0-b6 null java.lang.NullPointerException java.lang.NullPointerException at

Re: locating web.xml

2001-07-26 Thread JBrawner
Does tomcat require a WEB-INF directory? I would like to replace the default: \WEB-INF\classesdirectory with simply: \servlet and have my web.xml be in \servlet instead of \WEB-INF\classes Is this possible? Jason E. Brawner Silenus Group (248) 735-8077

Re: Tomcat reliability

2001-07-26 Thread akilus
Which version are u using? Tomcat3.2.1 or Tomcat 3.2.2? Hello, I'm working with tomcat 3.2 with mod_jk apache on linux. But sometime tomcat shutdown and i can't find any explaination ... Is tomcat reliable ? Thanks for help Christophe akilus [EMAIL PROTECTED]

Re: locating web.xml

2001-07-26 Thread Mattias Karlsvaerd
This is specified in the java servlet 2.3 spec. srv 9.5. --- [EMAIL PROTECTED] wrote: Does tomcat require a WEB-INF directory? I would like to replace the default: \WEB-INF\classesdirectory with simply: \servlet and have my web.xml be in \servlet instead of \WEB-INF\classes Is

How to initialise the Servlets

2001-07-26 Thread Mehul S Dave
I am using Tomcat on NT. I wanna know how to initialise the servlet . In which conf file how. Thank U * Mehul S Dave Scientific Officer, (STCS Dept.), Tata Institute of Fundamental Research Phone - 2152971 Extn - 2372 Mumbai . webpage:-

Re: Tomcat reliability

2001-07-26 Thread Christophe Geraud
Tomcat 3.2 as said in the previous mail. akilus a écrit : Which version are u using? Tomcat3.2.1 or Tomcat 3.2.2? Hello, I'm working with tomcat 3.2 with mod_jk apache on linux. But sometime tomcat shutdown and i can't find any explaination ... Is tomcat reliable ? Thanks for help

tomcat on Port 80 through IIS 5 on Win2K

2001-07-26 Thread Curtis Dougherty
I have a site we have written to use tomcat... call it foosite we have been accessing it internally as http://my_site:8080/foosite/index.jsp I want to set it up on an exposed server...call it foo_net so that from the big/bad internet we can access it by entering http://foo_net or even better

Tomcat 4.0 b5 does not recognize changes in deployed applications

2001-07-26 Thread [EMAIL PROTECTED]
Please help me as I have been unable to solve this problem. I am using tomcat 4.0 beta 5 on Windows 98 Every time I deploy a new application to tomcat i.e make a new folder under Tomcat-Home\webapps it is automatically recognized on a server restart. But any JSP pages that I subsequently add to

Re: Weird thread/security problem

2001-07-26 Thread Dmitri Colebatch
Application wide content should be stored in the context, not as servlet variables. This is because if the servlets are load balanced across multiple jvms, or if servles implement the SingleThreadedModel then tomcat will need to ensure that all instances of servlets on all jvms share the one

Power reset on NT/IIS kills Tomcat?

2001-07-26 Thread Ken Grigg
Hi all, I am running Tomcat 3.2.3 on NT/IIS with the Jikes compiler, and noticed if the server is reset (i.e. power glitch) without a normal shutdown, the work directory seems to get corrupted. The symptoms are that the JSPs can't be compiled until the associated class files (that otherwise

Re: Problems with authentication

2001-07-26 Thread Mattias Karlsvaerd
Thank you! this will help me understand how it works with j_security_check, j_username and j_password better. But i still have the problem that the authorization doesn't work with apcach + tomcat. I've read that other people that have the problem have got it to work on tomcat standalone server!?

RE: Help!! Apache won't redirect to tomcat

2001-07-26 Thread Dmitri Colebatch
Mike, Sorry for being forgetful... but what page are you requesting? I'm just checking that you do have a valid JkMount that will match the page requested, and that it matches something that can be requested via tomcat directly. For example. If you are trying to request

HELPTomcat VHost configuration under Linux/HELP

2001-07-26 Thread Loïc Lefèvre
Hi After 3 days passed on the configuration of Apache 1.3.12+Tomcat 3.2.3 (mod_jk) I'm going mad !!! :( Could someone please send me their configuration files (mod_jk.conf + server.xml + web.xml (tomcat + appli)). Note: the files for a web archive which work ! After that, I'm going to work in

RE: Help!! Apache won't redirect to tomcat

2001-07-26 Thread Nance, Michael
No need to be sorry your help is GREATLY appreciated. The page I am requestiong is http://localhost/buy/MLBEventInfo I include a file tomcat-mod_jk-apache.conf by using include ... in my httpd file in there I have these mounts JkMount /buy/* ajp13 JkMount /olympics/* ajp13 JkMount

Re: Problems with authentication

2001-07-26 Thread Andrew Robson
Hi, If you get it to work in tomcat standalone (have you tried that?) then you need to add JkMount /examples/jsp/security/login/j_security_check ajp13 (or ajp12 if that's the connector you are using) to httpd.conf to get it to work with apache. Otherwise apache won't know to delegate the

Apxs problem

2001-07-26 Thread Aaron Cooper
HI folks I re-installed the apache web server , building it from source. Now I am trying to configure tomcat with apache using the mod_jk web adapter. However, when I run apxs, it produces the following message: gcc -DHPUX11 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_CORE

RE: Help!! Apache won't redirect to tomcat

2001-07-26 Thread Andrew Inggs
Nance, Michael wrote: The page I am requestiong is http://localhost/buy/MLBEventInfo I include a file tomcat-mod_jk-apache.conf by using include ... in my httpd file in there I have these mounts JkMount /buy/* ajp13 JkMount /olympics/* ajp13 JkMount /sloc2002/* ajp13 JkMount

Re: Weird thread/security problem

2001-07-26 Thread Craig R. McClanahan
Tomcat runs multiple individual threads per *request*, not per *user*. 99.9% of the time, this kind of thing is caused by application programming errors related to threading. For example, if you use an instance variable in a servlet to store information specific to a particular request, and

Re: Weird thread/security problem

2001-07-26 Thread Craig R. McClanahan
On Thu, 26 Jul 2001, Sam Joseph wrote: I guess I have two options, either make the servlet implement the SingleThreadModel interface, or create some new classes to encapsulate the appropriate data, and either store that in the session or in some instance variable like a hashtable ...

RE: Help!! Apache won't redirect to tomcat

2001-07-26 Thread Nance, Michael
Yes, I changed from 12 to 13 to see if that would help. I have nothing in my mod_jk.log now I will try netstat -a and see what it says thanks! -Original Message- From: Andrew Inggs [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 9:38 AM To: '[EMAIL PROTECTED]' Subject: RE:

Configuring default context

2001-07-26 Thread Wirianto . Djunaidi
Hi, I need help with configuring the context with Tomcat 3.2.2 on Windows NT. Basically I only want one context with my tomcat server, I had removed other context from webapps directory except mine and change the server.xml with this for the context: Context path=/ docBase=webapps/ROOT

Re: howto redirect

2001-07-26 Thread Craig R. McClanahan
On Thu, 26 Jul 2001, Bernhard Wraase wrote: In the docs it seems simple... Even in the thread recently But it don't work. Each request works: http://127.0.0.1:8080 -http://127.0.0.1:8080/index.html https://127.0.0.1:8443 -https://127.0.0.1:8443/index.html But I want this:

Re: Tomcat 4.0 b5 does not recognize changes in deployed applications

2001-07-26 Thread Craig R. McClanahan
Update to 4.0-b6. Beta 5 had a bug that it didn't recognize modified JSP pages and automatically recompile them. Craig McClanahan On Thu, 26 Jul 2001, wasims@comsats wrote: Please help me as I have been unable to solve this problem. I am using tomcat 4.0 beta 5 on Windows 98 Every time I

Re: tomcat4b6 classpath for poolman.xml

2001-07-26 Thread Craig R. McClanahan
On Thu, 26 Jul 2001, Matt Barre wrote: I guess it might help to include the trace from the out screen. :) Starting service Tomcat-Standalone Apache Tomcat/4.0-b6 Starting service Tomcat-Apache Apache Tomcat/4.0-b6 null java.lang.NullPointerException java.lang.NullPointerException

Re: WebappClassLoader question

2001-07-26 Thread Craig R. McClanahan
On Thu, 26 Jul 2001, Vincent Massol wrote: Thanks Alex, I don't think the standard classloader mechanism is involved here. I believe it is a 'feature' of Tomcat and more specifically of it's WebappClassLoader. When you do standard java code and you have the following situation : 1st -

Re: tomcat4b6 classpath for poolman.xml

2001-07-26 Thread Matt Barre
PoolMan.jar is located inside my /tomcat/common/lib/ folder Matt - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 26, 2001 11:07 AM Subject: Re: tomcat4b6 classpath for poolman.xml On Thu, 26 Jul 2001, Matt Barre wrote: I

Upgrading tomcat

2001-07-26 Thread Tia Haenni
Has anyone gone from 3.2.1 up to 3.3? Does it require a complete uninstall of previous versions? Is it best to go with 3.3 or wait for 4.0? Thanks, Tia

Re: tomcat4b6 classpath for poolman.xml

2001-07-26 Thread Craig R. McClanahan
On Thu, 26 Jul 2001, Matt Barre wrote: PoolMan.jar is located inside my /tomcat/common/lib/ folder Try putting the properties file in /tomcat/common/classes (which you might have to create first). That way, it will be made available through the same class loader that the PoolMan classes

Re: Upgrading tomcat

2001-07-26 Thread Pier P. Fumagalli
Tia Haenni at [EMAIL PROTECTED] wrote: Has anyone gone from 3.2.1 up to 3.3? Does it require a complete uninstall of previous versions? Is it best to go with 3.3 or wait for 4.0? Thanks, 3.3 is still under heavy development (I believe they reached their first milestone lately, but no beta

losing connection to 8007

2001-07-26 Thread Gary Rather
I have a server running on solaris with tomcat 3.2.2 with mod_jk The server runs fine for days then for some reason start getting Errors: [jk_ajp12_worker.c (601)]: ajpv12_handle_response, error writing back to server [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146

WAR files

2001-07-26 Thread Erin Lester
Can anyone point me to some information about creating WAR files. Supposedly you can create them with deploytool, but I only know how to do this with the gui version and don't have an x-windows server on the server I'm working on. I've also read that you can use jartool to create WAR files, but

mod_jk problems

2001-07-26 Thread Andrew Ormsby
Hi, I'm using Apache 1.3.20 and Tomcat 3.3m4 and I have the following problem: I have a simple servlet which responds to GET requests by returning a web page with some binary content. The precise content is selected by a parameter, e.g: http://host/servlet/get?p=1 Accessing the servlet from

Re: Upgrading tomcat

2001-07-26 Thread Pier P. Fumagalli
Pier P. Fumagalli at [EMAIL PROTECTED] wrote: Tia Haenni at [EMAIL PROTECTED] wrote: Has anyone gone from 3.2.1 up to 3.3? Does it require a complete uninstall of previous versions? Is it best to go with 3.3 or wait for 4.0? Thanks, 3.3 is still under heavy development (I believe they

Re: WAR files

2001-07-26 Thread John Hebert
Erin Lester wrote: Can anyone point me to some information about creating WAR files. http://jakarta.apache.org/tomcat/tomcat-3.3-doc/appdev/deployment.html Supposedly you can create them with deploytool, but I only know how to do this with the gui version and don't have an x-windows

Re: mod_jk problems

2001-07-26 Thread Jason Koeninger
I've seen this exact problem in 3.3m3, but I don't have any recommendations on working through it right now. ajp12 has been better in this respect than ajp13, but the problem isn't gone. I'm planning to spend some time in August or September working through the mod_jk code to check on a

Re: Upgrading tomcat

2001-07-26 Thread John Hebert
Tia Haenni wrote: Has anyone gone from 3.2.1 up to 3.3? Does it require a complete uninstall of previous versions? Is it best to go with 3.3 or wait for 4.0? Thanks, On a Linux box, an uninstall is not needed. I assume it is the same on an MS-Windows box. The different versions of Tomcat

RE: Servlets In A Package

2001-07-26 Thread Martin Welch
Title: Servlets In A Package Well, I'm completely mystified. I've taken this servlet out of the package, placed it in WEB-INF/classes and changed web.xml accordingly. I've stopped and started tomcat but I get the same error: java.lang.NoClassDefFoundError:

Re: mod_jk problems

2001-07-26 Thread Aaron Wald
I've seen this problem in 3.3.m4... I just upgraded to 3.3b1 on one box and haven't seen it yet, but haven't tested it as thoroughly. I'm really interested in a work around? In addition to this problem I occasionally get a jsp page that isn't processed returned. I've seen this on two

Intermittent ferrors with ajp12 with tc3.2.1 on solaris with stronghold (apache)

2001-07-26 Thread John Thompson
kind Sir/Madam, This problem has fixed itself twice and now appeared again I'm running on Solaris 2.6, Tomcat 3.2.1, Stronghold 3.0 (secure apache). I've been running happily making and testing servlets using ajp12 and ajp13, then it stops working. I start tomcat, start stronghold, try the

Windows 2000 compatible

2001-07-26 Thread Tao Geng
Hi,there, I just installed Tomcat3.2.3 on my Windows NT server and it works great. I'm also concerned about if this version is compatible with windows 2000 for our server need to be upgraded to windows 2000 soon. If not, which version would? Thanks a lot. Tao

Re: howto redirect

2001-07-26 Thread Craig R. McClanahan
On Thu, 26 Jul 2001 [EMAIL PROTECTED] wrote: I asked this on another thread of discussion but never got an answer. Is this automatic redirection to SSL new for Tomcat 4.0? I'm using 3.2.3 and when I set this user-data-constraint it appears that Tomcat verifies access via SSL but does not

RE: HELPTomcat VHost configuration under Linux/HELP

2001-07-26 Thread Curtis Dougherty
I need the same thing but for Win2K and IIS... (I Know MS sucks! but it's what the suits want)... PLEASE :-o -Original Message- From: John Hebert [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 2:39 PM To: [EMAIL PROTECTED] Subject: Re: HELPTomcat VHost configuration under

Re: Windows 2000 compatible

2001-07-26 Thread Pier P. Fumagalli
Tao Geng at [EMAIL PROTECTED] wrote: Hi,there, I just installed Tomcat3.2.3 on my Windows NT server and it works great. I'm also concerned about if this version is compatible with windows 2000 for our server need to be upgraded to windows 2000 soon. If not, which version would? Thanks a

Re: question about WEB-INF/lib

2001-07-26 Thread grant . quail
I suppose another solution would be to create symlinks from the lib directory to the actual .jar's. I have a feeling that our company wouldn't like the idea of actually moving pieces of 3rd party software around =) -g Craig R. McClanahan [EMAIL PROTECTED] on 07/25/2001 11:55:51 PM

Re: WebappClassLoader question

2001-07-26 Thread Vincent Massol
Thanks Craig, However I am still not sure this mechanism explains the problem I had. It is not easy to describe in word so I'll write it in java code instead. A.java public class A implements HttpServlet { public void doGet() { log(before error); B myB = new B(); log(after

Re: jsp mapping

2001-07-26 Thread Craig R. McClanahan
On Thu, 12 Jul 2001, Kevin HaleBoyes wrote: First off, I'm running Tomcat 4b5 (standalone) on Linux RedHat 7.1. I've been looking at (and learning from) the Java Pet Store from Sun and have been writing some custom Taglibs for my application. I'm currently doing lists of things that use

RE: WebappClassLoader question

2001-07-26 Thread Ignacio J. Ortega
Hola Vincent: -Mensaje original- De: Vincent Massol [mailto:[EMAIL PROTECTED]] Enviado el: jueves 26 de julio de 2001 22:20 Para: Craig R. McClanahan; [EMAIL PROTECTED] Asunto: Re: WebappClassLoader question snip/ Now all of this is packaged in a war, classes A and B and in

test

2001-07-26 Thread manhong wu
test

oracle 8.7.1 with tomcat

2001-07-26 Thread Manhong Wu
I have a project runing fine on NT connecting to oracle 7.3.3 by using tomcat 3.2.1 with Jbuilder. Now I have to move the database to 8.1.7, then I download classes111b.zip from http://otn.oracle.com/software/tech/java/sqlj_jdbc/software_index.htm and map the lib to that zip file, but looks like

Re: test

2001-07-26 Thread isleofdogs
At 04:53 PM 7/26/01 -0400, you wrote: test i didn't get this.. can you please resend it?

Re: WebappClassLoader question

2001-07-26 Thread Craig R. McClanahan
Hmm, I just tried a case like what you have below. As long as B does not explicitly reference class C, then it works. In other words, in my example where you've got the // call the method by reflection comment, I added Object c = myClass.newInstance(); and got the class not found exception

Displaying exceptions

2001-07-26 Thread Erick Todd
I am having a problem of errors that were not caught by being printed to the terminal. Is their a way to redirect these to a file or to the tomcat logs? Also when an exception is handled by jakarta can I change the stacktrace to some default message that is a litle nicer to our friends on

RE: Query

2001-07-26 Thread Gautam Sinha
Title: Query Since you have posted this to the tomcat-user mailing list, I assume you have a copy of tomcat. The class that you mention (it is not a package) is contained in servlet.jar contained in tomcat_home/lib. Gautam -Original Message- From: Swapan Kumar Chakraborty

Message received on Win2000

2001-07-26 Thread Jay Mistry
Hi, I am trying to install Tomcat 3.2 on Win2000. I have taken the following steps after setting up the class paths and changed the wrapper.properties file. The following commands were executed in dos window: --

RE: Help!! Apache won't redirect to tomcat

2001-07-26 Thread Dmitri Colebatch
Hi again, Ok, does http://localhost:8080/buy/MLBEventInfo work? Have you added the ajp13 connector in server.xml? It is not there by default? Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler

Re: Upgrading tomcat

2001-07-26 Thread Charles Baker
Another question, do apps developed under the 3.2.x ( jsp 1.1/servlet 2.2 ) work well with Tomcat 4.0 and the newer servlet/jsp specs? --- John Hebert [EMAIL PROTECTED] wrote: Tia Haenni wrote: Has anyone gone from 3.2.1 up to 3.3? Does it require a complete uninstall of previous

Can Tomcat Host EAR Files and update them automatically when they are changed ?

2001-07-26 Thread Henry Yeh
Since tomcat doesn't support auto-reloading of non-servlet files (e.g. JSP files), I am finding it hard to just have the servlets updated but not the jsp files in the application that I developed. I would always get Classcast exceptions. Anyone has any inputs !? I really appreciate it. Thanks.

  1   2   >