RE: Cannot setup tomcat

2002-09-23 Thread Ray Madigan
I don't know if this is your problem but your CATALINA_HOME AND BASE point to a *-tomcat-4.0.10 when it maybe should be 4.1.10? -Original Message- From: Marc Vila Perez [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 22, 2002 5:17 PM To: Tomcat Users List Subject: Cannot setup tomcat

Tomcat 4.1 Installation

2002-09-23 Thread Ray Madigan
Hi, I have a set of webapps that run ok on tomcat 4.0 - except for the fact that the responseDispatcher.include puts the included page at the beginning of the including html page. I have installed tomcat 4.1.10 and am attempting to get it to work. The problem is in the startup of the server

RE: class reloading - a question

2002-09-23 Thread Stefaan Nachtergaele
Hi all, The 3.x version of tomcat only did reloading of servlets, not on other classes. Does the 4.x version do reloading of other classes as well. I'm hoping it does and if it does, I'm hoping someone might provide some clues as to why it's not working for me :). Detection is done via

Protecting Resources

2002-09-23 Thread ed banfa
Goodday to u all, Ok I would like to restrict access to certain resources will allow access to others, eg I would likw to allow access to the url http://localhost:8080 which inshort will allow access to index.html and only that.i would like to disallow access to other resources in the site

tomcat 4.1.10 Unable to compile class for JSP

2002-09-23 Thread Yrjö Hirvonen
After upgrading form versiom 4.0.1 to 4.1.40 part of earlier functioning JSP-files gives an error while compiling: org.apache.jasper.JasperException: Unable to compile class for JSP I am running on Linux Suse 7.3 and Tomcat is installed from binaries. -George- -- To unsubscribe,

Mapping filename extensions to MIME types automatically

2002-09-23 Thread Chris Brown
Hello, I have a webapp that sometimes lets a user copy a web page from a remote site into a local directory on the server where my webapp runs (it's for a large global intranet). In some cases, the pages downloaded may be named .html, .pdf, or whatever, so it's easy to serve up the downloaded

Classloaders, JDBC drivers (etc.), and reloading webapps with the /manager

2002-09-23 Thread Chris Brown
Hello, If I include a JAR file for a JDBC driver within my webapp's /WEB-INF/lib path, calling Class.forName(some.driver) registers the driver with the java.sql DriverManager. No problem... until I reload the context using the /manager webapp. Is the class definition (and in particular, the

RE: Protecting Resources

2002-09-23 Thread Andreas Mohrig
In your web.xml (after the servlet-mappings) you can define one or more security constraints like this: security-constraint web-resource-collection web-resource-namesecure/web-resource-name url-pattern/secure/*/url-pattern /web-resource-collection

Can't find Java class while compiling a JSP

2002-09-23 Thread Sven Hoffmann
Hi, I tried to run a simple JSP example and get an error while accessing a JSP. Under the webapps directory of my Tomcat 4.1.10 installation I created a directory named Tracking. Under that directory I have a driectory named jsp. Under that directory I have another directy named tracking in

Re: Can't find Java class while compiling a JSP

2002-09-23 Thread Remy Maucherat
Sven Hoffmann wrote: Hi, I tried to run a simple JSP example and get an error while accessing a JSP. Under the webapps directory of my Tomcat 4.1.10 installation I created a directory named Tracking. Under that directory I have a driectory named jsp. Under that directory I have another

RE: Can't find Java class while compiling a JSP

2002-09-23 Thread Miguel Angel Mulero Martinez
This is a bug of Tomcat 4.1.10 when not installed on drive C. You can upgrade to 4.1.11, install it on drive C, or patch de 4.1.10 version. -Mensaje original- De: Sven Hoffmann [mailto:[EMAIL PROTECTED]] Enviado el: lunes, 23 de septiembre de 2002 10:28 Para: Tomcat Users List Asunto:

changing ROOT context

2002-09-23 Thread Rutledge, Aaron
I am simply trying to change the ROOT context from /ROOT to /mydirectory and I have been up all night doing it. I have changed server.xml from... Context path= docBase=ROOT debug=0/ to... Context path= docBase=mydirectory debug=0/ and the default home page still went to

Re: web.xml and manager application

2002-09-23 Thread William Wragg
Hi, Not sure what this would be, permissions? Have a look at: http://your IP:port/tomcat-docs/manager-howto.html If this doesn't help, send the command, directory of webapp, etc... and I'll see if there is anything wrong. I'm not sure if 4.0.1 is different from 4.0.4 where the manager is

RE: changing ROOT context

2002-09-23 Thread Miguel Angel Mulero Martinez
Erase the Tomcat cache. It's in work directory at tomcat home. -Mensaje original- De: Rutledge, Aaron [mailto:[EMAIL PROTECTED]] Enviado el: lunes, 23 de septiembre de 2002 10:48 Para: Tomcat Users List (E-mail) Asunto: changing ROOT context I am simply trying to change the ROOT context

RE: changing ROOT context

2002-09-23 Thread Rutledge, Aaron
THANK YOU! That worked. -Original Message- From: Miguel Angel Mulero Martinez [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 3:31 AM To: Tomcat Users List Subject: RE: changing ROOT context Erase the Tomcat cache. It's in work directory at tomcat home.

RE: tomcat start up errors

2002-09-23 Thread Anthony Milbourne
Hi I had a problem involving errno = 146 (Connection refused). It turned out to be because I had an error in my workers.properties file. Check that this file only mentions connectors that you actually have. Specifically: check that there isn't config for the ajp14 connector in there. Also

Re: Cannot setup tomcat

2002-09-23 Thread Marc
After doing stratup.sh, if I do a 'ps -gux', I can see a lot of java process. Seems that tomcat starts, but the connectors does not start. Marc Kwok Peng Tuck wrote: The problem with the shutdown probably has something to do with the fact that it didn't start up in the first place. I think

Re: Cannot setup tomcat

2002-09-23 Thread Marc
ooops, sorry, problem doing copypaste from another place... The environment vars are ok Marc Ray Madigan wrote: I don't know if this is your problem but your CATALINA_HOME AND BASE point to a *-tomcat-4.0.10 when it maybe should be 4.1.10? -Original Message- From: Marc Vila Perez

RE: jboss-tomcat and apache integration.

2002-09-23 Thread Anthony Milbourne
Hi I'm not sure you want the ajp12 connector in the worker list, unless you actually have an ajp12 connector defined in server.xml. Try using: worker.list=ajp13 Hope that helps, Anthony. -Original Message- From: Nani Jon [SMTP:[EMAIL PROTECTED]] Sent: 20

RE: Classloaders, JDBC drivers (etc.), and reloading webapps with the /manager

2002-09-23 Thread Cox, Charlie
if your driver is a pure java driver(type 4, I think) then you would be ok. If your driver uses native libraries for its java implementation, then you will have a problem. you want to put the jar in your /common/lib so that it is is loaded once and shared for all contexts that need it. This way

Re: Security question

2002-09-23 Thread Andreas Probst
Hi David, if it weren't Apache I would say: try HttpServletRequest.getUserPrincipal().getName(). Maybe it could be that this also works with Apache... Andreas I'm trying to retrieve the userid that logged into apache and accessed the current JSP page. How can I get this info?

General Error when back button hit

2002-09-23 Thread Seth Brahler
I have a simple form with a processing page. When the back button is hit after the form processes I get this error: Error 500 javax.servlet.ServletException: General Error The page is then completely broken until I shutdown and restart Tomcat. How can this be avoided, as surely a user will

JNDI Realm on Tomcat 4 does not work

2002-09-23 Thread Stephan Schwab
Hi, I want to secure a webapp with the JNDI realm. But the LDAP query is sent wrong to my OpenLDAP server. Here is a snippet from server.xml: Realm className=org.apache.catalina.realm.JNDIRealm debug=99 connectionURL=ldap://localhost;

Re: Postgresql DataSource Tomcat 4.1 SQLException

2002-09-23 Thread Paul Salazar
Alfonso, Any help is appreciated. Here they are: server.xml -- Resource auth=Container name=jdbc/postgres scope=Shareable type=javax.sql.DataSource/ ResourceParams name=jdbc/postgres parameter nameurl/name valuejdbc:postgresql://roach/testdb/value

RE: Apache2 and Tomcat4 on different boxes

2002-09-23 Thread Turner, John
Wow, that was a lot of effort! John -Original Message- From: Raj Mettai [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 5:02 PM To: [EMAIL PROTECTED] Subject: RE: Apache2 and Tomcat4 on different boxes Hi, Atlast, It's working, Apache is talking to remote

RE: DESPAIR : Apache NOT talking with Tomcat now...

2002-09-23 Thread Turner, John
You have to take it one step at a time. One single step at a time. Don't get inventive, don't grasp at straws. From what I have seen in all the threads here on this topic, the ONE THING that must be set correctly is the host name. It must be set the same all the way through: Apache's

RE: Cannot setup tomcat

2002-09-23 Thread Turner, John
Don't worry about the connector at the moment. Take things one step at a time. Get Tomcat working on its own first, then worry about Apache and connectors. John -Original Message- From: Marc [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 7:13 AM To: Tomcat Users List

apache + tomcat + ssl

2002-09-23 Thread Fabio Marsilio
Hi all, I have a problem with apache + tomcat + ssl My configuration: - Webserver Machine (Linux): apache 1.3.26 + mod_ssl 2.8.10-1.3.26 + mod_webapps 1.0.1 (this Machine is in the firewall's Dmz) - Jsp Engine Machine (Solaris): tomcat 4.0.1 (this machine is in the trusted network of

RE: URGENT: SQL Server and Tomct 4.1 Pooling

2002-09-23 Thread Turner, John
First, the JDBC Driver by Microsoft is old. It's free, but its old. It doesn't support JDBC 3.0. If you are trying to implement a production solution, you are better off with a third-party driver. There are only 3 or 4 out there that are robust and stable enough for serious production use,

Re: Cannot setup tomcat

2002-09-23 Thread Marc
Hi John! Yes, I think so, but I referred to the Coyote HTTP connector too. Seems that tomcat cannot bind to the port 8080 (starts ok, but does not start the HTTP connector on port 8080). I'm a bit newer on Linux, and I don't know if this could be an OS problem configuration, or jdk version (later

RE: loadbalancer in workers.properties

2002-09-23 Thread Turner, John
That would be my guess. Typically, machines are NEVER rebooted for configuration changes (UNIX machines, at least). My guess is you have a process that starts on boot that is binding to a port ahead of what you think is actually happening. If the configuration files do not change, rebooting

RE: loadbalancer in workers.properties

2002-09-23 Thread Turner, John
This the best doc on loadbalancing Tomcat: http://www.ubeans.com/tomcat John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 9:50 PM To: [EMAIL PROTECTED] Subject: loadbalancer in workers.properties Hi All. The doco's

Re: Cannot setup tomcat

2002-09-23 Thread Atif Shahab
if you find netstat confusing then try the following test % telnet localhost 8080 If the telnet connects then your tomcat is binding to 8080 but something is going wrong. Unfortunately failure to connect doesn't give any indication of what is wrong since there are too many variables that

RE: Tomcat 4.1 Installation

2002-09-23 Thread Gavin, Rick
I've been having this same issue since I upgraded from 4.0.4 to 4.1.10. It seems that the classloader isn't functioning correctly for me. I had to put ALL my web app classes and libs in the common folder for them to be found by the engine. When the jars are in webapp/WEB-INF/Lib, the scanner of

RE: Cannot setup tomcat

2002-09-23 Thread Turner, John
Is the HTTP connector enabled? Is the Host element in server.xml correct? Are you accessing Tomcat from the same machine where Tomcat is running, or from a different machine? netstat is the correct command. I wouldn't say the output is confused...it's the standard command that everyone uses.

Re: Apache2 and Tomcat4 on different boxes

2002-09-23 Thread Raj Mettai
I am referring to the top level container in container hierarchy... -Raj [EMAIL PROTECTED] 09/21/02 12:34AM snip Raj Mettai wrote: server.xml changes on Machine B(tomcat machine) --- Change the both the Engine Tag and Host tag

RE: Cannot setup tomcat

2002-09-23 Thread Michael Schulz
What are you expecting to see? There is no separate process or thread for the connector (on the apache box). On the tomcat side, the connector is just a java process that is listening on a port, normally 8009, for requests from the web server. -Mike Schulz -Original Message- From:

RE: How to use Port 80?

2002-09-23 Thread Turner, John
Yes, you put a webserver like Apache on port 80, then configure Apache to send JSP and servlet requests to Tomcat. Running things as root on port 80 is a bad idea, especially if you are new to systems administration. If you are just doing development, etc. on a private machine, it is not that

where to put mod_jk.conf

2002-09-23 Thread achana
Hi all. Tomcat is generating /usr/local/jakarta-tomcat-4.0.4/conf/auto/mod_jk.conf everytime I start Tomcat on BoxAAA. Apache is intentionally disabled on this box . In BoxBBB , Apache2 is enable and its httpd.conf modified to Include /usr/local/tomcat4/conf/auto/mod_jk.conf , do I need to copy

RE: where to put mod_jk.conf

2002-09-23 Thread Turner, John
Yes, you need to copy the mod_jk.conf to the Apache box each time Tomcat is started. The three alternatives are: 1) use NFS to remotely mount a drive from Box A on Box B...put mod_jk.conf on this drive 2) manually configure Apache 3) use something like rsync to automatically sync the two

RE: Question about connecting Apache (2.0.40), tomcat (4.1.10) on Windows 2000

2002-09-23 Thread Turner, John
Actually, the instructions available work for both UNIX and Windows, as long as you are able to translate paths. For example, if the instructions use /usr/local/apache, that translates (usually) to something like c:\apache on a Windows server. Other than that, and the need to use Winzip

can javascript execute a servlet?

2002-09-23 Thread richdiaz99
i don't want the user's screen to REFRESH each time they click a servlet inside an A tag. Can Javascript execute a servlet? thanks! Rich -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] tsdok -- To unsubscribe, e-mail:

RE: installing and running tomcat 4.1 on linux

2002-09-23 Thread Yaogeng Cheng
I should have said that no jsp works. However, some executalbes such like ErrorPage will call a html first, so it work, but when I click submit, it throws the same error message. Thanks Yaogeng -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Friday, September

Re: mod_jk2, virtual hosts, JkUriSet

2002-09-23 Thread Dmitry Letin
Hi, I compared revision 1.52 of jk/native2/server/apache2/mod_jk2.c to my current version. I currently use the following code to distingquish between different virtual hosts: static int jk2_translate(request_rec *r) { ... char vhost_port_buf[1024]; char *vhost_port;

RE: installing and running tomcat 4.1 on linux

2002-09-23 Thread Yaogeng Cheng
I have JDK1.3.1 installed. I used binary install just as your instruction outlined. In catalina.sh, I include the following lines. export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/jdk1.3.1/bin export JAVA_HOME=/usr/jdk1.3.1 export CATALINA_HOME=/usr/local/jakarta-tomcat-4.0.4 My

Re: Cannot setup tomcat

2002-09-23 Thread Marc
Hi John, I'm trying tomcat with the default server.xml. Tomcat is running on a webserver (I can access via telnet). I'll try to investigate more about netstat opts. Thank you again! Marc Turner, John wrote: Is the HTTP connector enabled? Is the Host element in server.xml correct? Are you

RE: can javascript execute a servlet?

2002-09-23 Thread Stephen . Thompson
What you could do is have a hidden frame and use the javascript to post the hidden frame. Regards, Stephen. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 23 September 2002 15:15 To: [EMAIL PROTECTED] Subject: can javascript execute a servlet? i don't

RE: Simple Bean not working but Servlet/JSP Working

2002-09-23 Thread Reynir Hübner
do you have the bean specified in a package ? either put it into a package (and the correct folder) as /classes/com/domain/packagename/FormBean.class and then use this (with import line), or remove the package com.domain.packagename; from the file, and it should work. hope it helps [EMAIL

RE: Simple Bean not working but Servlet/JSP Working

2002-09-23 Thread Manoj Kithany
Hi Mr. Reynir, THANKS for reply. I have already removed the package name from the FormBean.java file. Please help. Thanks! Manoj G. Kithany From: Reynir Hübner [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Simple Bean

RE: Simple Bean not working but Servlet/JSP Working

2002-09-23 Thread Ron Day
You have to put your java classes in a package. If you do not, and put the class files in WEB-INF/classes then Tomcat cannot find them because this is not the default package location for Tomcat. Bottom line: always use pacjages for your classes ! ron -Original Message- From:

RE: Apache2 and Tomcat4 on different boxes

2002-09-23 Thread Venkat Reddy Valluri
Thank you very much Raj, I was successfull to make apache connect to tomcat, Thank you very mcuh once again --Venkat -Original Message- From: Raj Mettai [mailto:[EMAIL PROTECTED]] Sent: Fri 9/20/2002 7:18 PM To: [EMAIL PROTECTED] Cc: Subject:RE: Apache2 and

Re: Re: Cannot load JDBC driver class 'null'

2002-09-23 Thread John M . Hollingsworth
I never got mine to work with the ? in place separating the URL parameters. Something about the way the ? is read. Try underscore in its place. For some reason, that works. Maybe it's the Cocoon parser? From: John Walstra [EMAIL PROTECTED] Date: 2002/09/23 Mon AM 12:29:36 EDT To:

AW: can javascript execute a servlet?

2002-09-23 Thread Ralph Einfeldt
This has already been answered the last time you asked. (Last Friday) Just reposting the question is not a good idea, as you may get the same result as last time. If you want a different answer you should at least indicate that you tried that solution and it didn't work for you.

Re: Cannot setup tomcat

2002-09-23 Thread Marc
Hi Michael, The problem is that no output is printed. When I do 'startup.sh', the catalina.out is a file empty. On windows, tomcat output shows something like that the service has started. On tomcat 3.3, something like this is shown: 2002-09-23 16:31:13 - PoolTcpConnector: Starting

RE: installing and running tomcat 4.1 on linux

2002-09-23 Thread Turner, John
Are these repeat postings somehow? I thought I replied to this last week. I don't have any suggestions...installing and running Tomcat from binary is a fairly straight-forward 5 step process. I don't modify my startup scripts at all...I set my environment variables in /etc/profile or in a

Tomcat Connection pooling

2002-09-23 Thread Amitabh Dubey
Hello Guys, I have been working on this problem for 3 days now and have not been able to make Tomcat create a connection pool for me. This is my setup Database - SQL Server 2000 Driver - JDBC Driver by microsoft Tomcat - 4.1.2 (Packaged as part of JWSDK from SUN) I was able to

Tomcat Server status

2002-09-23 Thread Chenthil Kumaran I
Hi, I am using tomcat 4.0.4 it seems to be slower compared to tomcat 3.3.x. Is there any way i can speedup the tomcat initialization. (I have already costomised server.xml to my need) I have one more doubt is there a way by which i can confirm the status of the of tomcat

RE: Cannot setup tomcat

2002-09-23 Thread Turner, John
OK, so if Tomcat is on a separate machine, you have to make sure your Host element in server.xml is correct. If you are accessing your machine with a URL like http://1.2.3.4:8080 than the Host element has to have 1.2.3.4 in it. If the URL is something like http://my.internal.host:8080 than the

RE: Simple Bean not working but Servlet/JSP Working

2002-09-23 Thread Manoj Kithany
Hi Everyone! As you all mentioned, I tried to use package for my beans/servlets. My modified directory structure is : /kithany (root) /kithany/register.html /kithany/success.jsp /kithany/retry.jsp /kithany/process.jsp (bean) /kithany/WEB-INF/web.xml

RE: Cannot setup tomcat

2002-09-23 Thread Turner, John
Now wait a minute! You just posted that you are using the default. The default does not have the HTTP handler on port 80!! Have you modified server.xml? Have you changed the Coyote (HTTP) Connector to run on port 80? Are you running Tomcat as root if you are trying to run on port 80? If

RE: Tomcat Connection pooling

2002-09-23 Thread Turner, John
Check your message list threads. I already replied to this post this morning! Perhaps others have as well. John -Original Message- From: Amitabh Dubey [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 10:33 AM To: Tomcat Subject: Tomcat Connection pooling Hello

RE: Tomcat Connection pooling

2002-09-23 Thread Amitabh Dubey
John, you are the only one who replied, and hence i took your advice and changed my subject and am reposting it. hopefully someone with an actual example of pooling with sql server can help me. Amitabh -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Monday,

form-error-page not called

2002-09-23 Thread Scott Dayberry
I'm using FORM based authentication with Tomcat 4.0.4/Apache 1.3.26. Everything works fine and as expected, except that the form-error-page (Access_error.jsp) is not called when a login'ed user hits a page he is not authorized for. Instead, I get the basic Tomcat error page as:

RE: Tomcat Connection pooling

2002-09-23 Thread Turner, John
I guess some advice is better than none. Have you checked out the Jakarta Commons DBCP pooling solution like I recommended? Here's a link to how it was done with MySQL: http://marc.theaimsgroup.com/?l=tomcat-userm=102225547106556w=2 Have you checked out third-party SQL Server drivers? The

Re: FW: XML Parsing in Servlet

2002-09-23 Thread Jean-Francois Arcand
Toby Saville wrote: I tried using the file protocol in the doctype, similar to my original post, ie: !DOCTYPE maps SYSTEM file:///d:/Projects/portfolio/webapps/xml/metadata.xml And this worked. But isnt this defeating the multiplatform and distributability benefits of Java and webapps as you

RE: Tomcat Connection pooling

2002-09-23 Thread Amitabh Dubey
I am trying to make it work with Oracle first. If that goes thru, then i know for sure that some configuration problems exist with sql server. i did take a look at the examples and am following them, but i still have not been able to make it work. thank you for all your help though. Amitabh

Re: Cannot setup tomcat

2002-09-23 Thread Marc
That's ok, I'm trying to connect to port 8080, sorry, but at the moment I cannot access to the webserver via telnet (I'm behind a firewall), and I'm copying the output from a tomcat installed in my computer, that's why I posted: 2002-09-23 16:31:13 - PoolTcpConnector: Starting

RE: Tomcat Connection pooling

2002-09-23 Thread Barney Hamish
Be careful if you decide to use DBCP with SQL Server. I found SQL Server drops open connections every 10 minutes or so, even while you're in the middle of retrieving query results!!! (so the verify connection thing doesn't work) DBCP needs some way of automatically dropping and recreating

RE: Tomcat Connection pooling

2002-09-23 Thread Amitabh Dubey
If DBCP is a problem, then do you have a working example of how i can use it with PoolMan? Amitabh -Original Message- From: Barney Hamish [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 9:50 AM To: 'Tomcat Users List' Subject: RE: Tomcat Connection pooling Be careful if

RE: Tomcat Connection pooling

2002-09-23 Thread Turner, John
I suggest the list archives. Connection pooling with Oracle has been covered quite a bit in the last 3-4 months. John -Original Message- From: Amitabh Dubey [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 10:47 AM To: Tomcat Users List Subject: RE: Tomcat Connection

classpath

2002-09-23 Thread Lindomar
Hi everybody! I have a problem with Tomcat4.1's classpath. I have a jar file, and i placed in common/lib, but tomcat doesn't find my classes! I put jar file in classpath on NT and run a test from dos prompt and it's ok. Anybody has any idea where i put my jar file? regards, Lindomar.

jk_ajp errors in mod_jk.log ???

2002-09-23 Thread achana
Hi All. The tomcat error log file mod_jk.log throws these exceptions: [jk_ajp_common.c(1158)]: In jk_endpoint_t::service ajp_send_request failed in send loop 1 [jk_connect.c(151]: jk_open_socket , connect() failed errno=111 [jk_ajp_common.c(844)]: Error connection to Tomcat process

RE: classpath

2002-09-23 Thread Turner, John
Tomcat ClassLoader HOWTO: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html Quote: For classes and resources specific to a particular web application, place unpacked classes and resources under /WEB-INF/classes of your web application archive, or place JAR files

Re: classpath

2002-09-23 Thread Patricio Vera S.
For my jsp project I put my jar file on [TOMCAT_HOME]\webapps\project\WEB-INF\lib, it's work. Saludos, Patricio Vera S. - Original Message - From: Lindomar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, September 23, 2002 10:55 AM Subject: classpath Hi

Classloader Problems in 4.1.10

2002-09-23 Thread Gavin, Rick
I'm having issues migrating my current web apps from 4.0.4 to 4.1.10. When tomcat starts up, it throws an error saying it can't find my JAR files even though it must have found it to get the name of it to tell me it couldn't find it. I ended up having to move my jar files into

RE: jk_ajp errors in mod_jk.log ???

2002-09-23 Thread Michael Schulz
Please post the contents of your workers.properties file. This error seems to indicate that your apache machine cannot establish a connection to the tomcat machine. You are running apache and tomcat on different machines, correct? -Mike -Original Message- From: [EMAIL PROTECTED]

RE: Tomcat Connection pooling

2002-09-23 Thread Barney Hamish
No I'm afraid I don't. I don't use datasources at the moment just the old vanilla way of creating database connections. -Original Message- From: Amitabh Dubey [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 4:51 PM To: Tomcat Users List Subject: RE: Tomcat Connection

4.01 vs Jar'ed taglibs and /META-INF/taglib.tld in jarfile itself

2002-09-23 Thread Jeff
For most of the weekend, I've been trying to get a working taglib I developed inside Forte 4 to successfully run from a jarfile -- classes AND .tld -- with no success. After checking the bug report, it appears that 4.0.2 and 4.0.4 didn't handle jar'ed taglibs properly. Seeing how 4.0.1 is

RE: Apache2 and Tomcat4 on different boxes

2002-09-23 Thread Raj Mettai
yes, It was John, thanks to all the people who helped me wtih this -Raj [EMAIL PROTECTED] 09/23/02 09:00AM Wow, that was a lot of effort! John -Original Message- From: Raj Mettai [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 5:02 PM To: [EMAIL PROTECTED]

Re: Simple Bean not working but Servlet/JSP Working

2002-09-23 Thread David Cassidy
Manoj, the error message says it all... 'java.util.MissingResourceException: Can't find bundle for base name forms, locale en_US' Where is your file that you reference ... bundle = ResourceBundle.getBundle(forms); The error message is 'I can't find this file' you don't list the forms file

Running multiple tomcat instances ?????

2002-09-23 Thread Raj Mettai
Hi, what is the best way to run multiple tomcat instances on single solaris box ? 1) Is it Installing multiple tomcats physically. or else 2) Installing once and use different server.xml files to start different instances. any advantages for one over the other ? Also, if I do use 2nd

Re: jk_ajp errors in mod_jk.log ???

2002-09-23 Thread achana
snip Please post the contents of your workers.properties file. This error seems to indicate that your apache machine cannot establish a connection to the tomcat machine. You are running apache and tomcat on different machines, correct? Correct, I am running them on different machines.

Poolman stable release

2002-09-23 Thread Amitabh Dubey
Which stable release version of Poolman supports JDBC 2.0 and where can i download it from. I do not want to use a beta release. Amitabh Amitabh Dubey 1900 St. James Suite #700 Houston, TX - 77056 (713) 403 8464 (o) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Running multiple tomcat instances ?????

2002-09-23 Thread Turner, John
Not sure about Solaris, but on Linux you can add --cols=XXX to the ps command, where XXX is a numeric column width. So, while ps -ef doesn't show much, ps -ef --cols=300 will show you everything you need to know. John -Original Message- From: Raj Mettai [mailto:[EMAIL PROTECTED]]

how to shut down tomcat in NT Service

2002-09-23 Thread Katz, Adi
Hello I am using jk_nt_service.exe to run tomcat 4.0 as a service on a windows machine. My question is what i need to set in order for tomcat to shut down in a clean manner when i stop the service in the control panel. looking at the logfiles at the moment shows that tomcat is killed abruptly

how to shut down tomcat in NT Service

2002-09-23 Thread Katz, Adi
Hello I am using jk_nt_service.exe to run tomcat 4.0 as a service on a windows machine. My question is what i need to set in order for tomcat to shut down in a clean manner when i stop the service in the control panel. looking at the logfiles at the moment suggest that tomcat is killed

Apache/Tomcat Configuration Question

2002-09-23 Thread John Green
All, I have Apache and Tomcat integrated together using mod_jk. The problem is now when I hit my webserver, it always defaults to the root context of tomcat. No matter what I set in my Apache httpd.conf file it gets ignored. I have tried to setup a virtual server in my httpd.conf file to

Re: Simple Bean not working but Servlet/JSP Working

2002-09-23 Thread Manoj Kithany
Hi David, THANKS for your reply. I have the following directory struct (it had forms.properties file in my directory which I missed to mention in email). It is still giving me same error: /kithany (root) /kithany/register.html /kithany/success.jsp /kithany/retry.jsp /kithany/process.jsp

RE: Classloader Problems in 4.1.10

2002-09-23 Thread Ray Madigan
I am having a similar issue. I have jar files in my webapps/Context/WEB-INF/lib and classes in webapps/Context/WEB-INF/classes. When I startup Tomcat the log indicates that it can't find a jar file. it is interesting that the loader knows the name and the path of the jar. I moved the jars to

nbsp; appears as ?'s

2002-09-23 Thread Dr A.C. Marshall
Folks I have just switched from JServ to Tomcat - My servelt reads XML files , transforms them nad waps them out to the browser. Virtually everything works fine except my #160;'s (non-breakable spaces) get auto-translated by the xerces parser to question marks. In other words by the time I use

AW: Running multiple tomcat instances ?????

2002-09-23 Thread Ralph Einfeldt
See below: -Ursprüngliche Nachricht- Von: Raj Mettai [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 23. September 2002 17:14 An: [EMAIL PROTECTED] Betreff: Running multiple tomcat instances ? what is the best way to run multiple tomcat instances on single solaris box ?

Re: Simple Bean not working but Servlet/JSP Working

2002-09-23 Thread David Cassidy
What's in this properties file ? The error message mentions a java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key /kithany/retry.jsp Like it's trying to use /kithany/retry.jsp as a key within the resources file ?. David Manoj

Re: nbsp; appears as ?'s

2002-09-23 Thread Jean-Francois Arcand
Dr A.C. Marshall wrote: Folks I have just switched from JServ to Tomcat - My servelt reads XML files , transforms them nad waps them out to the browser. Virtually everything works fine except my #160;'s (non-breakable spaces) get auto-translated by the xerces parser to question marks. In

Re: Simple Bean not working but Servlet/JSP Working

2002-09-23 Thread Manoj Kithany
Hi David, THANKS again. My forms.properties file contains only: -- process.success=success.jsp process.retry=retry.jsp - DO you think the file name should be forms.properties or we can have anything? THANKS again! Manoj G.

Tomcat 4.1.10 - JSP Compile Error

2002-09-23 Thread Gunter . Noack
Hi, I have installed Tomcat 4.1.10 on C:\Tomcat41. I have an application which is on d:\appdir\wws2Java. The CATALINA_HOME is set to C:\Tomcat41 CATALINA_BASE is not set. I set the context Section in server.xml as follows: !Context path=/wws2Java

Why would back-button cause an error

2002-09-23 Thread Seth Brahler
I have two JSP pages, a form and a processing page. When the back button is hit after the form processes, it throws a 500 general Servlet error and I have to stop and start Tomcat to get the page back. Thank you. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: mod_jk2, virtual hosts, JkUriSet

2002-09-23 Thread Eugene Gluzberg
Is this something that should be a patch to the CVS version? could you submit a context diff plz... Dmitry Letin wrote: Hi, static int jk2_translate(request_rec *r) { ... char vhost_port_buf[1024]; char *vhost_port; ... if (r-server-is_virtual) {

Pooling manager and class name

2002-09-23 Thread Amitabh Dubey
Hello, If i am using a pooling manager (PoolMan or DBCP), what should be the JDBC driver class nam,e Should it be of the type DataSource, or driver. Specifially, if i want to use DBCP with Oracle, this is what my server.xml looks like, Server className=org.apache.catalina.core.StandardServer

Re: mod_jk2, virtual hosts, JkUriSet

2002-09-23 Thread Eugene Gluzberg
How do I specify the location of workers2.properties for apache 1.3? Dom wrote: You're right, it was a typo error as I had changed the real virtual hosts name ! Dom - Original Message - From: Mladen Turk [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Cc: Dom [EMAIL

IIS problems with tomcat 4.0.2

2002-09-23 Thread Prashanth Pushpagiri
Hello everyone: I am running tomcat 4.0.2 on windows 200 adv server. I've been running the website with tomcat 4.0 for a few months now and I have noticed something that I dont know how to fix. I am trying to restart IIS on my machine and when I do so I get an error: Could not start service. IP

  1   2   >