ODP: JDBCRealm reconnect problems?

2001-03-19 Thread Herchel Wojciech
i had a similar problem and solved it by changing connectionURL to: connectionURL="jdbc:mysql://localhost/dbase?user=somebodyamp;password=secre t" and commenting connectionName and Password. vVolf -Oryginalna wiadomooe- Od: Vladimir Grishchenko [mailto:[EMAIL PROTECTED]] Wysano: 16

Re: problem with JSP displaying broken image link

2001-03-19 Thread Igor Shevchenko
Do you know a way around this? You can put this one-line html page to the same geocitices site/account : img src="." and load it in your JSPs/htmls using iframe Not tested.. -Jeff - Original Message - From: Igor Shevchenko [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

ssi support for tomcat

2001-03-19 Thread Alex A. Almero
does tomcat support ssi? how? thanks, alex èb‹˜j(ër¢êß­ç²j(r‰šuÚ޲ƭ†ÛiÿùšŠ\š†Š¢

include problem!

2001-03-19 Thread Kishor K
hi, i have the following directory structure root - level1 -level21 -level22 -level23 how can i include a file a.jsp in files b.jsp in level21,c.jsp level22,d.jsp in level 23 this is what i have done %@

How to set an Error Handler ? (404, 500, and so on...)

2001-03-19 Thread Samuel Arnod-Prin
How to set this handler ? I don't find how. I've looked in tomcat's code, and when there is an exception it seems there are attributes in the request that gives for examples the Throwable object. thanx for helping

Re: NEW_LOADER in m1 tomcat.sh

2001-03-19 Thread Jason Novotny
OK, I just saw the docs on this in m2- however, it looks like the tomcat.sh needs a few extra lines to load jars from lib/common and lib/container Thanks, Jason GOMEZ Henri wrote: Can someone please tell me more about this change in the tomcat.sh startup script? It looks like

RE: NEW_LOADER in m1 tomcat.sh

2001-03-19 Thread GOMEZ Henri
OK, I just saw the docs on this in m2- however, it looks like the tomcat.sh needs a few extra lines to load jars from lib/common and lib/container The load is done in java code at startup ::

standalone tomcat servers : security risks

2001-03-19 Thread Rajeev Jha
hi is there any resource apart from the user's guide which addresses security issues and solutions when running tomcat as a stand alone server on some port ? if there are some known issues/ fixes ? regards -- eagles may soar, but weasels don't get sucked into jet engines -- anonymous

Re: ODP: JDBCRealm reconnect problems?

2001-03-19 Thread Andrew Robson
Hi, I've had this as well. Solved it by customising JDBCRealm to use database connection pooling - perhaps a little heavy handed ;-). As far as I could make out the problem seemed to be related to the wait_timout variable set to 28800 by default. According to earlier posts 1) This bug is

include problem

2001-03-19 Thread Kishor K
hi, i have the following directory structure root - level1 -level21 -level22 -level23 i hav a file a.jsp in the level1 directory. how can i include the file a.jsp in files b.jsp in level21, c.jsp

Appending an argument based on the virtual host

2001-03-19 Thread Jean-Francois Mach
Hello all, I'm trying to append an argument based on the virtual host the request is made to but I have no clue how to do this. For instance if I call www.mysite.com/app nothing is appended but if I call host1.mysite.com/app the argument "?host1=1" is appended. Thanks :) - Jeff

RE: TC4.0 catalina classloader exception

2001-03-19 Thread R.W. Shore
I had a similar problem, except that I also had a sealed-data exception. In my case, it turned out that the (sealed) jar file crimson.jar is in both the lib and server directories. I fixed my problem by unsealing the .jar file -- that is, by un-jaring the file and then re-jaring it.

RE: IE caching again (was: expire_

2001-03-19 Thread Alistair Hopkins
I think that the caching settings on IE only affect files written to disk. There appears to be a memory-only cache which stores the very latest stuff which is not affected. This is what causes the problem, as clearly it will contain whatever was the last page so pressing back shows the page

about the IIS (in win2000 professtional version) and tomcat installing

2001-03-19 Thread mermaid
Dear Sir, I try to use to install the tomcat3.2.1 into win2000 Prof. IIS, but fail to do this. Thedocument I follow is doc\tomcat-iis-howto.html. Could you tell me kindly that tomcat could execute in 2000 Professional? Thank you. Ms. Huang PS. BTW, I can runtomcat in 2000 server IIS,

Re[2]: Using Apache/Tomcat in high-traffic site

2001-03-19 Thread Steve Quail
I'm just putting together a prototype on the Internet using Tomcat, we've got two Linux boxes and load is spread over the two hosts using a BigIP load-balancer. The mod_jk config is ok when you understand whats going on, local and remote Tomcat instances aren't specially

jspC precompiling jsp pages

2001-03-19 Thread Shawn
I noticed an interesting quirk about jspC that I just wanted to pass along to novices like myself. When using the -webinc file option with windows, Ihad to flip theslashes (must beit's heritage)around for my servlet to be found. For example the xml file that I was given included:

Re: NEW_LOADER in m1 tomcat.sh

2001-03-19 Thread fakhar
Hello Could u please guide me that how I configure it. Thanks Fakhar - Original Message - From: GOMEZ Henri [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 19, 2001 2:44 PM Subject: RE: NEW_LOADER in m1 tomcat.sh OK, I just saw the docs on this in m2- however, it

Re: isapi_redirect.dll problem

2001-03-19 Thread Albert Schreuder
Error in the Win2000, event viewer, system log: The HTTP Filter DLL C:\jakarta-tomcat\bin\win32\i386\isapi_redirect.dll failed to load. The data is the error. Yup. I have the same problem. Still nobody with a solution? Albert

RE: NEW_LOADER in m1 tomcat.sh

2001-03-19 Thread GOMEZ Henri
Just put the jar in lib/common :-) Si la fortune vient en dormant, a n'empche pas les emmerdements de venir au rveil. -- Pierre Dac -Original Message- From: fakhar [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 12:50 PM To: [EMAIL PROTECTED] Subject: Re: NEW_LOADER in m1

HttpSession expires !!!

2001-03-19 Thread Samuel Arnod-Prin
Hello, I've had to modify tomcat because I didn't know if there was a solution, I would like to be warned when a HttpSession expires and becomes invalidated. Is there a way to do this ? Or should I keep my modification in tomcat class to the expire() method ? thank you

How to handle so that a class from a jsp file implements an interface ?

2001-03-19 Thread Samuel Arnod-Prin
Hello, how to handle so that a class from a jsp file implements an interface ? there is now way using the directive @page implements="..." Once again, I've modified tomcat so that it is possible, but I'd prefer not to have to :) thank you all

RE: HttpSession expires !!!

2001-03-19 Thread Christopher Kirk
There is a solution built into the Servlet standard. Take a look at the javax.servlets.http package. There is an interfacecalled HttpSessionBindingEvent, just implement this interface on the session object.. by doing this the object will be notified when it is put into the session, and when it

Re: isapi_redirect.dll problem

2001-03-19 Thread H.F.N. den Boer
Not found anything yet. I'm now going to the docs to check, double, triple etc. check... Nico

RE: How to get apache to send all jsp's everywhere to tomcat?

2001-03-19 Thread Aksel Schmidt
Read the manual - it's there! OK then... If you're using mod_jk, use JkMount (read the TOMCAT_HOME/doc/mod_jk-howto.html) e.g. JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 The only thing you have to do to httpd.conf is to include the auto-generated (by tomcat at startup) mod_jk.conf, maybe

Re: Tomcat SSL context or directory

2001-03-19 Thread Mark W . Webb
here are a few notes on where I am. 1. I have noticed that in the conf/jni_server.xml file, I have an entry that points to a file c:/jakarta-tomcat/bin/win32/i386/jni_connect.dll. I am running in linux, do this obviously is no good. I cannot find a linux equivalent to this file. The contect

RE: 404 jsp file not found

2001-03-19 Thread Aksel Schmidt
Just a shoot at it: try to make the 'docBase' in the context nodes in server.xml to ABSOLUTE paths - and remember to address them right in your browser in regards to the 'path'-attribute: e.g.: Context path="/examples"

Off topic - Object Relational design

2001-03-19 Thread Manmeet Anand
Dear all, can anyone recommend books or papers discussing object relational design. Thanks Manmeet __ Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/

RE: isapi_redirect.dll problem

2001-03-19 Thread Cox, Charlie
Title: RE: isapi_redirect.dll problem I changed the worker.properties file to point to my tomcat directory - even though the tomcat-iis-howto.doc didn't explicity say you had to. I'm not sure where this is used, but if its one of the registry entries, I figured it is probably used by the

Re: about the IIS (in win2000 professtional version) and tomcat installing

2001-03-19 Thread Oleg L. Sverdlov
Hello Mermaid, Yes, it can work with Win2K Pro. 1) Install location of ISAPIfilter DLL in registry in the following place: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters\ FilterDLL=d:\jakarta-tomcat-3.2.1\bin\win32\isapi_redirect.dll 2) create virtual dir. "jakata"

Re: welcome-file problem

2001-03-19 Thread Martin Mauri
On Fri, 16 Mar 2001, Martin Mauri wrote: Hi users! I've configured my web.xml file with the tag: welcome-file-list welcome-fileworksheet.html/welcome-file /welcome-file-list and it worked nice while using Tomcat as a standalone server, but when I installed Tomcat to

Re: welcome-file problem

2001-03-19 Thread Arnaud Vandyck
Martin Mauri wrote: Here's a guess (an educated one, since I had similar problems :-): You're not specifying appropriate directives in the tomcat/apache conf file to tell apache to pass that URL to tomcat. Hence, apache is handling that URL (and it's only tomcat knows about the welcome

RE: Windows 2000 and Tomcat

2001-03-19 Thread Elizabeth Riley
It says page cannot be found. (I tried both ways). However, if I type in the whole path to a specific jsp application that's in the examples directory (like numguess.jsp), I see the jsp code displayed. It makes me wonder if .jsp isn't being re-directed to tomcat. Also in my ISAPI.log file

RE: JSP Explorer and Tomcat documentation

2001-03-19 Thread Darrell Porter
With Windows 2000 SP-1 and IE 5.0, I receive the attached error. Just thought you might like to know. _ Darrell Porter Operations Manager 415.355.9990 x290 [EMAIL PROTECTED]

RE: JSP Explorer and Tomcat documentation

2001-03-19 Thread Darrell Porter
oops...here's the error -Original Message- From: Mike Slinn [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 18, 2001 5:53 PM To: Distribution List Suppressed Subject: JSP Explorer and Tomcat documentation I've been working on some documentation for Tomcat, the open source reference

Can't get Tomcat to support JDBC 2.x API

2001-03-19 Thread Jack Li
I have problem to get Tomcat to support JDBC 2.0 API. The following code runs work if I compile at DOS prompt using javac and and run the program using java. But I got no class support error message when run in JSP. I have tomcat 3.2.1 and JDK 1.3 installed.

RE: IE caching again

2001-03-19 Thread Brett Knights
I think that the caching settings on IE only affect files written to disk. You might try including something like this in the head section of the page's html: meta http-equiv="expires" content="Wed, 26 Feb 1997 08:21:57 GMT" meta http-equiv="pragma" content="no-cache" It shouldn't make any

more information on SSL problems....

2001-03-19 Thread Mark W. Webb
I am getting the following errors when I try and load a servlet from the webapps/servlets directory... 2001-03-19 09:23:06 - Ctx( /servlets ): 404 R( /servlets +/HelloWorldExample + null) null 2001-03-19 09:24:29 - Ctx( /servlets ): 404 R( /servlets + /SessionExample + null) null Here is

Re: Tomcat SSL context or directory

2001-03-19 Thread Tu-Thach
I am not sure what you are trying to do with Tomcat Context and JNI. You don't need JNI to get Tomcat's Context working. All you need to do is add lines like these in Tomcat's server.xml file: Context path="your context" docBase="directory of your context" debug="0" reloadable="true" /Context

Connection Pooling - Please Help

2001-03-19 Thread RameshBabu R Muthuvel
Hi I am using Apache 1.3.12, Tomcat 3.2.1, mySQL 3.23 on Windows NT 4.0 I am trying to include connection pooling in my JSP pages using PoolMan. Inspite of carrying out all the elaborate installation procedure, yet i could not establish a connection. Anyone out there has done connection

out of environment error

2001-03-19 Thread tom
I found this way of sorting it somewhere: with your MS-DOS prompt window open, right click to get the properties dialogue box; click on the "Memory" tab; there is a box labelled "initial environment" - if you set this to 3072 you will lose this error message; Tom

Re: Connection Pooling - Please Help

2001-03-19 Thread Tagunov Anthony
On Mon, 19 Mar 2001 15:07:38 -, RameshBabu R Muthuvel wrote: Hi I am using Apache 1.3.12, Tomcat 3.2.1, mySQL 3.23 on Windows NT 4.0 I am trying to include connection pooling in my JSP pages using PoolMan. Inspite of carrying out all the elaborate installation procedure, yet i could not

Re: HttpSession expires !!!

2001-03-19 Thread Bo Xu
Samuel Arnod-Prin wrote: Hello, I've had to modify tomcat because I didn't know if there was a solution, I would like to be warned when a HttpSession expires and becomes invalidated. Is there a way to do this ? Or should I keep my modification in tomcat class to the expire() method ?

Problems with hosts, please help me!

2001-03-19 Thread mailindigo
Hello, I´ve installed Tomcat on Windows NT and it runswhen I use the name of the machine in the URL(example: "http://server/examples/jsp/index.html"), but itdoesn´t run when I use the internal or external IP (e:"http://192.168.167.2/examples/jsp/index.html"

Re: isapi_redirect.dll problem

2001-03-19 Thread H.F.N. den Boer
In workers.properties I (already) changed; - the java_home and tomcat_home variables - worker.ajp12.host to something like www.mydomain.com So far, it doesn't work. 8:(( Nico Cox, Charlie wrote: I changed the worker.properties file to point to my tomcat directory - even though the

Memory Error

2001-03-19 Thread Carey Payette
I am currently trying to setup Tomcat 3.2.1 on a Windows NT 4 server running SP6. I have obtained the "green" arrow in my ISAPI filters, but whenever I try and run the example "http://localhost/examples/jsp/index.html" I get a memory error. The error is as follows: The instruction at

slide integration?

2001-03-19 Thread Mike
Sorry for the off-side subject, I'm trying to install slide on my Tomcat server. But i'm not quiet sure how to do it .. the install doc is of no help for me ;-( Basically, I put the silde war at the right place. And then I guess I should modify server.xml, mod_jk.conf and/or

Re: ClassCastException :(

2001-03-19 Thread Bo Xu
Andrey Myatlyuk wrote: Hello Bo, Thank you for very helpful sample. I decided to use jsp instead of servlets. Several reasons: 1. My ClassCastException situation is eliminated. Although I don't understand why. 2. I use JSP for presentation("view") layer - so any web-designer can change

problems with forward in a servlet

2001-03-19 Thread SEEMANTINI GODBOLE
Hi, I am running into a problem when using "forward" method in my servlet to forward the HttpRequest to a JSP page. The servlet looks like this public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { HttpSession session =

RE: problems with forward in a servlet

2001-03-19 Thread Grewal, Gary
Title: RE: problems with forward in a servlet in forwarding using RequestDispatcher, try String url = encodeRedirectURL(url); and send this url as your forward url for session tracking. May be you need to do a similiar thing on the JSP side too while trnsferring the control back. === Gary

RE: include problem

2001-03-19 Thread Grewal, Gary
Title: RE: include problem instead of ../ just do level21/b.jsp === Gary Grewal Contractor NEC America Phone: 214-262-5911 E-Mail: [EMAIL PROTECTED] -Original Message- From: Kishor K [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 3:55 AM To: Tomcat User Mailing List

server-init of JSP bean

2001-03-19 Thread Gary Lawrence Murphy
I know I can initialize a servlet when tomcat boots by entering it into the web.xml file, but is there an elegant way to initialze an application-scoped jsp:useBean? Right now, I just hit the page with Lynx when the tomcat script boots, but that's pretty kludgy. -- Gary Lawrence Murphy [EMAIL

Re: problems with forward in a servlet

2001-03-19 Thread Bo Xu
"Grewal, Gary" wrote: in forwarding using RequestDispatcher, try String url = encodeRedirectURL(url); and send this url as your forward url for session tracking. May be you need to do a similiar thing on the JSP side too while trnsferring the control back. === Gary Grewal Contractor

Re: servlet mapping under tomcat4

2001-03-19 Thread cgokey
On 18 Mar, Craig R. McClanahan wrote: The only other possibility I can think of is if you have a copy of "servlet.jar" in your system extensions directory ($JAVA_HOME/jre/lib/ext). If so, this will interfere in nasty ways with the class loaders in Tomcat 4.0, because Tomcat expects to use

How can I access tomcat's admin pages?

2001-03-19 Thread Batsheva Raviv
I have 2 questions: 1. How can I access tomcat's admin pages? 2. When ever I try the to execute the following URL : http://braviv:8080/admin/contextAdmin/contextAdmin.html, a window pup up with the message "Enter Network Password". Please type your user name and password. The window print also

admin username and password

2001-03-19 Thread Mark W. Webb
I want to use the admin username and password, but I do not know what they are. Where can I find this information ?? -- Mark Webb Dolphin Technology 1300B Floyd Ave Rome, NY 13440 Phone: (315) 334-4892 x222 Fax: (315) 339-4846 Email: [EMAIL PROTECTED]

RE: admin username and password

2001-03-19 Thread William Kaufman
That depends on _whose_ account you're talking about. The closest thing Tomcat has to user accounts are listed in tomcat-users.xml. These are activated by adding a security-constraint to your web.xml file. -- Bill K. -Original

RE: How can I access tomcat's admin pages?

2001-03-19 Thread Darrell Porter
Look in tomcat-users.xml -Original Message- From: Batsheva Raviv [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 9:18 AM To: [EMAIL PROTECTED] Subject: How can I access tomcat's admin pages? I have 2 questions: 1. How can I access tomcat's admin pages? 2. When ever I try the to

RE: Re[2]: Using Apache/Tomcat in high-traffic site

2001-03-19 Thread Shinta Tjio
Title: RE: Re[2]: Using Apache/Tomcat in high-traffic site We are also in the process of setting an environment like this. I'm curious about your comment in the first paragraph. Assuming the environment is: the loadbalancer is load balancing Apache, there are many Apache running mod_jk,

Re: How to set an Error Handler ? (404, 500, and so on...)

2001-03-19 Thread Craig R. McClanahan
On Mon, 19 Mar 2001, Samuel Arnod-Prin wrote: How to set this handler ? I don't find how. I've looked in tomcat's code, and when there is an exception it seems there are attributes in the request that gives for examples the Throwable object. thanx for helping Check out the

Can

2001-03-19 Thread Joshua Anderson
Someone unsubscribe me from this mailing list? I've tried "4" times and still continue to get e-mail.

Re: servlet mapping under tomcat4

2001-03-19 Thread Craig R. McClanahan
On Mon, 19 Mar 2001 [EMAIL PROTECTED] wrote: On 18 Mar, Craig R. McClanahan wrote: The only other possibility I can think of is if you have a copy of "servlet.jar" in your system extensions directory ($JAVA_HOME/jre/lib/ext). If so, this will interfere in nasty ways with the class

Re: server-init of JSP bean

2001-03-19 Thread Craig R. McClanahan
On 19 Mar 2001, Gary Lawrence Murphy wrote: I know I can initialize a servlet when tomcat boots by entering it into the web.xml file, but is there an elegant way to initialze an application-scoped jsp:useBean? Right now, I just hit the page with Lynx when the tomcat script boots, but

RE: Problems with hosts, please help me!

2001-03-19 Thread Darrell Porter
What does your config.xml and web.xml look like? -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: Monday, March 19, 2001 7:42 AMTo: [EMAIL PROTECTED]Subject: Problems with hosts, please help me! Hello, I´ve installed Tomcat on Windows NT and it

Stress Testing

2001-03-19 Thread David Oxley
What are the available products that can help me stress test my application and which is the best. It needs to be able to run requests either serially or in parallel (i.e. Acurrately simulating multiple users using a multiple HTML frame servlet application). Dave [EMAIL PROTECTED]

RE: Windows 2000 and Tomcat

2001-03-19 Thread Darrell Porter
is the mime type for .jsp set on the Windows 2000 server machine? -Original Message- From: Elizabeth Riley [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 5:45 AM To: '[EMAIL PROTECTED]' Subject: RE: Windows 2000 and Tomcat It says page cannot be found. (I tried both ways).

Out Of Memory error

2001-03-19 Thread Martin Mauri
Hi users! I'm trying to retrieve a set of rows from a Postgres database v7.0.3 with its JDBC driver, but after some minutes I get the "Out Of Memory" error. First I thought it could be a database problem, but when I execute the query manually, it works fine. So I think that the problem is

Re: Stress Testing

2001-03-19 Thread Gunnar Eilers
Hi, a good app for testing is the jmeter project: http://jakarta.apache.org/jmeter/index.html Gunnar At 18:12 19.03.2001 +, you wrote: What are the available products that can help me stress test my application and which is the best. It needs to be able to run requests either serially or

Out Of Memory error

2001-03-19 Thread Martin Mauri
Hi users! I'm trying to retrieve a set of rows from a Postgres database v7.0.3 with its JDBC driver, but after some minutes I get the "Out Of Memory" error. First I thought it could be a database problem, but when I execute the query manually, it works fine. So I think that the problem is

Important : Pl help

2001-03-19 Thread Sankaranarayanan Ganapathy
Hi All, What is the xml parser that is used with tomcat 3.2.1. I see them use parser.jar. Is that suns projectx implementation of xml parser? Where can I get the tech specs for that xml parser (like what jaxp/dom/sax version it supports). And where can I download it from? Any help will be of

Re: Stress Testing

2001-03-19 Thread Bo Xu
David Oxley wrote: What are the available products that can help me stress test my application and which is the best. It needs to be able to run requests either serially or in parallel (i.e. Acurrately simulating multiple users using a multiple HTML frame servlet application). Dave [EMAIL

RE: Windows 2000 and Tomcat

2001-03-19 Thread Elizabeth Riley
Tell me where to lookplease. -Original Message- From: Darrell Porter [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 1:14 PM To: '[EMAIL PROTECTED]' Subject: RE: Windows 2000 and Tomcat is the mime type for .jsp set on the Windows 2000 server machine? -Original

RE: Using Apache/Tomcat in high-traffic site

2001-03-19 Thread Tsalolikhin, Aleksey
Hi, We've been running a website on standalone Tomcat 3.2.x for half a year now. It's been quite satisfactory in terms of stability under load. In the lab, response time did not start to steepen noticable until past 50 concurrent users on one instance of the application under

Re: RE: Problems with hosts, please help me!

2001-03-19 Thread java4dinman
Mention http://ip:8080/... DINMAN Enjoy being an Indyan at http://www.indya.com

Table Borders

2001-03-19 Thread Martin Mauri
Hi Cocooners: I'm afraid this question have been already done once and again, but is there any way to add borders in FOP tables? thanks in advance! Lic. Martin O. MauriProfesion + Auge A.F.J.PParana 666 - Cap. Federal[EMAIL PROTECTED]www.profesi.com.ar

Re: Out Of Memory error

2001-03-19 Thread Martin Mauri
Dear Aleksey, I've just read the documents you suggested, but as I've never used that command, I'm afraid I didn't quite understand what and how to increase the memory heap, any example? thanks! Martin Dear Martin, Yes. Please see "Tomcat - A Minimalistic User's Guide" at

reload servlets?

2001-03-19 Thread Jose Ramon Rodriguez
Hi all! I'm a newbie with Tomcat and I'm developing some servlets. So, I'm changing frequently the code of my servlets: change the servlet's code, compile it with javac, and so on... My web.xml file is ok. Tomcat loads it when it's started. There is the structure of my web application. But when

Re: reload servlets?

2001-03-19 Thread Milt Epstein
On Mon, 19 Mar 2001, [iso-8859-1] Jose Ramon Rodriguez wrote: Hi all! I'm a newbie with Tomcat and I'm developing some servlets. So, I'm changing frequently the code of my servlets: change the servlet's code, compile it with javac, and so on... My web.xml file is ok. Tomcat loads it when

Help on error?

2001-03-19 Thread Mick Sullivan
Hi all Does anyone know why the following code causes my Java (tomcat ) window to crash. Any help at all would be much appreciated public String getName() throws Exception { Statement statement = connection.createStatement(); int myInt = 1;

RE: include problem

2001-03-19 Thread Adam Fowler
Hey, I believe (correct me if I'm an idiot) that the usual include syntax should work:- !-- #include file="../a.jsp" -- Regards, Adam. Adam Fowler Second year Computer Science undergraduate University of Wales, Aberystwyth Carroll College, WI, USA(2000-2001) web:

Error 127 /usr/sbin/apxs when building mod-jk

2001-03-19 Thread Bryan Murtha
Please help, Does anyone know how to fix this? I am just out of ideas. ../jk/jk_ajp13_worker.c ../jk/jk_lb_worker.c ../jk/jk_sockbuf.c ../jk/jk_map.c ../jk/jk_uri_worker_map.c make: /usr/sbin/apxs: Command not found make: *** [mod_jk.so] Error 127 Thanks, Bryan Original Message

JDBC Prob

2001-03-19 Thread java4dinman
I am facing problem with JDBC connection... The same program acceses database runs fine with public static voi main.. but when it comes to servlets it cannot access the database... Can anyone help me.. DINMAN Enjoy being an Indyan at http://www.indya.com

RE: reload servlets?

2001-03-19 Thread Mike Braden
Make sure that your context (webapp) is set to be reloadable. reloadable="true" Depending on your version of Tomcat, this would be in either the conf/server.xml file or in the conf/apps-???.xml file. Mike. -Original Message- From: Jose Ramon Rodriguez [mailto:[EMAIL PROTECTED]] Sent:

Re: org.apache.tomcat libraries

2001-03-19 Thread Tagunov Anthony
On Mon, 19 Mar 2001 11:33:02 -0800, Batsheva Raviv wrote: Not an expert, but beleive that if you download Tomcat sources, build with ant you will have an oppotunity to build javadoc too. (maybe an ant target javadoc or javadocs -- don't remember right now) can somebody tell me where I can find

RE: Help on error?

2001-03-19 Thread Randy Layman
What database and JDBC driver are you using? If I had to guess I'd say that you are using the JDBC-ODBC bridge and you have encountered one of several problems that JDBC-ODBC bridge has. There is no fix, only workarounds. In your case the problem is because you haven't closed the

Re: Out Of Memory error

2001-03-19 Thread Scott T. Keller
Martin: You need to modify the tomcat.sh script and enter values in the TOMCAT_OPTS field. Example of an entry... tomcat_opts="-Xmx128m -Xms16m" Solved all of my issues. When invoked correctly, you will see the new java params in the ps -ef output for tomcat. I.E.

Re: jk_open_socket, connect() failed errno = 111

2001-03-19 Thread Paul Cantrell
I did two things which seem to have fixed this problem: (1) Increase cachesize in worker.properties (2) Always restart apache when restarting Tomcat Hope this helps. Paul I compiled and installed mod_jk and connect with ajp13 to the apache server (ver. 1.3.11) Everything works fine, but when

Re: Different Servlets

2001-03-19 Thread Milt Epstein
On Mon, 19 Mar 2001, Pablo S. Casullo wrote: Hello, I wanted to know if anyone knows how to startup and shutdown different servlets running in the same instance of Apache-Tomcat. Nowadays, I have to startup and shutdown Apache-Tomcat but in the near future I want to be able to

RE: Out Of Memory error

2001-03-19 Thread Tsalolikhin, Aleksey
Dear Martin, For example, in my tomcat.sh, I set the JAVACMD variable to give Java arguments for a heap of 128 mb, with 256mb max. JAVACMD="$JAVA_HOME/bin/java -Xms128m -Xmx256m" This is for IBM JDK 1.3 (Linux). If the same syntax doesn't work with your version of Java, you can see

Re: Error 127 /usr/sbin/apxs when building mod-jk

2001-03-19 Thread C.M. Rahman (jr.)
The apxs is under /usr/local/apache/bin or at least $APACE_HOME ? C.M. Rahman Network Engineer CCS Internet 13740 Research Blvd. Suite O-4 Austin, TX 78758 [EMAIL PROTECTED] - Original Message - From: Bryan Murtha [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 19, 2001

Problems to run Applets that use archive tag

2001-03-19 Thread katyusco . santos
Ive developped an applet that use another classes located in a jar file. When I call the applet from a simple HTML page using the OBJECT ... /OBJECT tags and using the archive parameter the applet is loaded and started in a perfect way. But, when I try to use the same applet in JSP page, the

Super Newbie...

2001-03-19 Thread Joel R. Cochran
Sorry for the super newbie question, but where can I get download/install instructions??? I downloaded all of the files in the V3.2.1/bin, but there is no text file...no instructions. How do I get started? Joel

Re: Error 127 /usr/sbin/apxs when building mod-jk

2001-03-19 Thread Martin Mauri
It seems to be a PATH problem, try to add the directory where apxs is placed in your PATH environment variable. HTH, Martin The apxs is under /usr/local/apache/bin or at least $APACE_HOME ? C.M. Rahman Network Engineer CCS Internet 13740 Research Blvd. Suite O-4 Austin, TX 78758

Tomcat with IIS and SSL

2001-03-19 Thread Tim Coultas
I am trying to set up Tomcat with SSL and IIS. I have Tomcat running fine with IIS - with no Secure Sockets Layer. I have Tomcat running fine with IIS and a Secure Sockets Layer - for users inside my firewall (Cisco router):

RE: Help on error?

2001-03-19 Thread Mick Sullivan
Thats a good guess alright. Im using the JDBC-ODBC bridge with an MS Access database :-( I have to do it that way coz a fella whos in my course set up the Drivers and all that for me. Could you just tell me how I would close the Result set and statement. Is it 'rs.close();' or something

RE: Super Newbie...

2001-03-19 Thread Tim Coultas
They are at: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/ I couldn't find them either. -Original Message- From: Joel R. Cochran [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 3:03 PM To: '[EMAIL PROTECTED]' Subject: Super Newbie... Sorry for the super newbie

getting a context to run in SSL mode only

2001-03-19 Thread Mark W. Webb
Is there a way to make a context run in SSL mode only? I can get the context to work in both. The context is also an apache SSL based virtual host. Should that matter? -- Mark Webb Dolphin Technology 1300B Floyd Ave Rome, NY 13440 Phone: (315) 334-4892 x222 Fax: (315) 339-4846

Re: reload servlets?

2001-03-19 Thread Milt Epstein
On Mon, 19 Mar 2001, Craig R. McClanahan wrote: On Mon, 19 Mar 2001, Milt Epstein wrote: Do you have your context defined in server.xml? Did you use 'reloadable="true"'? (That should be default, anyway.) I disagree that this should be the default. There is a significant performance

RE: Super Newbie...

2001-03-19 Thread Joel R. Cochran
Tim, Thank you very much! Joel -Original Message- From: Tim Coultas [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 3:00 PM To: [EMAIL PROTECTED] Subject: RE: Super Newbie... They are at: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/ I couldn't find them either.

RE: Windows 2000 and Tomcat

2001-03-19 Thread Elizabeth Riley
Thank youI have made progress (I think)...now the filter doesn't have a 'green' status...argh! Any suggestions there? I have checked spellings on worker_file and worker_mount_file... -Original Message- From: Dianne Cree [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 2:03 PM

Re: MySql Problem

2001-03-19 Thread Jeff Finley
Because of the way that Tomcat figures out your classpath it is best to place the mmmySQL driver in the /lib of Tomcat. I put it there on a win98 machine and connected first time. - Original Message - From:dick Sent:Sunday, March 18, 2001 10:23 PM To:[EMAIL PROTECTED] Subject:Re: MySql

  1   2   >