RE: OT: Is it ok to close connection in finalize() ?

2003-02-22 Thread Warden, Matt
On Feb 20, Mike Jackson had something to say about RE: OT: Is it ok to... finalize() is indeed guaranteed to run upon garbage collection, which in turn is guaranteed to happen. However, garbage collection can happen at any time, so the connection may not be closed immediately. If this is

Problems with tomcat

2003-02-22 Thread hompath
Hello, I am using Tomcat 4.0.6, J2SDK 1.4.03 on RedHat Linux 7.3. When i try to start tomcat I get following error == An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 7 occurred at PC=0x4054A857

Re: problem with classpath modification

2003-02-22 Thread Rasputin
* William Claxton [EMAIL PROTECTED] [0221 05:21]: We encountered an issue when adding a classpath entry to the Tomcat (v4.1.18) 'setclasspath.sh' script. It so happens that the classpath entry '/home/web/mediaware/WEB-INF/classes' is already accessible as a context, but we need the classpath

Re: problem with classpath modification

2003-02-22 Thread Rasputin
* Steve Guo [EMAIL PROTECTED] [0211 07:11]: U must be using UNIX, although I have no experience with UNIX, but let me throw out my thoughts at it. I use Tomcat 4.1.18 under Win200, no problem. In general I do not modify .sh or.bat file, when I need to put something .jar into the classpath

Tomcat and Virtual Sites in IIS

2003-02-22 Thread Konrad Rusz
Hi. I have one question. I'm trying to configure Tomcat 4.1.12 to work with IIS 5.0. All of my settings work properly, but I can't configure IIS Virtual Sites to serve .jsp pages by means of Tomcat (I have configured site in IIS - this site name is sklep.zlp.pl, and I have configured virtual

Re: Mac os x and class files

2003-02-22 Thread Anthony Marlowe
Hi, I would like to know your Mac OS X configuration. I have Tomcat 4.1.18 running standalone and in conjunction with JBoss 3.0.6 with Apples 1.4.n DP10 and OS X 10.2.4. With no problem what so ever. This all works with 1.3.1 also with no problem. In addition I have mod_jk2 installed and

RE: AJP13 encryption

2003-02-22 Thread Turner, John
That's what I would do. Much easier than hacking around with the source. John -Original Message- From: Ian McFarland [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 9:29 PM To: Tomcat Users List Subject: Re: AJP13 encryption Can't you just tunnel your AJP connection

RE: applying server.xml changes without restarting server

2003-02-22 Thread Turner, John
The admin app does work. If you're having problems with it, perhaps posting details of those problems will get you a resolution. AFAIK, there is no facility for dynamically changing Tomcat config without a restart in 4.x. I believe there is talk of this for Tomcat 5, but I don't know for sure

Re: tomcat5.0 build problem

2003-02-22 Thread Tim Funk
There is a good chance CVS is blocked by your firewall. It was for me. You can test this by: telnet cvs.apache.org 2401 If your connection times out - then your blocked by your firewall. -Tim Steve Guo wrote: Actually I am using Ant 1.5.1.Although my company has a firewall, we do not use a

Re: [jetty-discuss] AJP13 encryption

2003-02-22 Thread Pier Fumagalli
On 22/2/03 0:16, Jean [EMAIL PROTECTED] wrote: Hi, I am looking for a solution to use IIS and/or iPlanet as reverse proxy connecting to Tomcat (and/or Jetty). AJP seems the most common solution but it does not seem to support any encryption between the webserver and Tomcat. I am looking

Re: tomcat5.0 build problem

2003-02-22 Thread Jacob Kjome
Hmm I've got Ant-1.5.2beta1 installed on Win2k and I can't get past here... build-main: [javac] Compiling 1 source file to D:\myclasses\Repository\Jakarta\tomcat5_2 003-02-21\jakarta-tomcat-5\build\server\webapps\admin\WEB-INF\classes [javac] This version of java does not support

Re: Mac os x and class files

2003-02-22 Thread Warrren Burholt
Here is the version of my java 1.4.1 DP10. java -version java version 1.4.1 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-24) Java HotSpot(TM) Client VM (build 1.4.1_01-12, mixed mode) Since Tony states that he is using 1.4.1 and 4.1.18, I installed 4.1.18. Running Tomcat

Re: tomcat5.0 build problem

2003-02-22 Thread Tim Funk
This a known issue due to pre-compiling all the JSP's that the developers are working through. For now - make the task optional by added an if condition to the target definition, for example: target name=build-webapps-precompile depends=init description=Builds the admin webapp

web site security and users/passwords

2003-02-22 Thread Brian K. Quade
I have been testing web site security on my test server at home and I can authenticate users just fine. But the only way I can add and remove users is to add and remove them in tomcat-users.xml. But that file is owned by the server, so whenever I put my web application out on a host server,

including header, footer in jsp

2003-02-22 Thread runu rathi
Hi all, If I want to design an application such that I have a template for the footer, header, side menus etc.. And I want to include that in all my jsp pages without copying the whole of it. How can I do it? Thanks for any help. Runu __ Do you

[O.T.] Installing struts under tomcat 4 and apache 2

2003-02-22 Thread Dani
Hello. I'm trying to install struts 1.0.2 under red hat 7.2, with tomcat 4.1.18 and apache 2.0.44. I've read the documentation here http://jakarta.apache.org/struts/userGuide/installation-tc.html but it refers to tomcat 3.2, not tomcat 4.0. It says Note that the instructions for Tomcat 4 will be

DataSource does not work

2003-02-22 Thread chris weber
Hello, i can not use a DataSource for jdbc- Connection. I tested it with sapdb and sql server 2000. No one works. But it is no problem, to connect the database over the jdbc directly. My Equipment: Windows XP, JDK 1.4.1, Tomcat 4.1.18 LE. When I use it, i get some http error 500?!?

Virtual Hosting with apache and tomcat

2003-02-22 Thread Robert Einsle
Hello, i will setup an tomcat server in combination with an apache httpd to serv a few Websites with dynamic content and servlets. I'm working with the ajp13 connector to connect apache and tomcat. With the normal configuration i have following situation: Servlet-Contexts: aaa, bbb Webservers:

#INCLUDE question

2003-02-22 Thread T S
I have Tomcat 4.1.12 installed on WinXP. I am attempting to do an SSI and it appears that the command is not being recognized. Here is the command: !-- #INCLUDE file=js/CMS_header.js -- The include appears to NOT be occuring and I get no errors when I run the html. Do I need to set a setting in

[OT] a good book for (pre) web design ?

2003-02-22 Thread Jens Skripczynski
Hi, I'm looking for a book, that helps/guides me through a website planning. Explanation will get rather lenghty, so I'm looking for some experienced guy, I can ask for some ressources. (* replies please in PM, since i do not want to clutter the mailinglist *) (* I believe the amount here is

Re: #INCLUDE question

2003-02-22 Thread Tim Funk
The README that comes with tomcat says how to turn on SSI. -Tim T S wrote: I have Tomcat 4.1.12 installed on WinXP. I am attempting to do an SSI and it appears that the command is not being recognized. Here is the command: !-- #INCLUDE file=js/CMS_header.js -- The include appears to NOT be

Re: #INCLUDE question

2003-02-22 Thread Jacob Kjome
You'd save yourself some time if you took about 2 seconds to look at the docs Tomcat provides to see if your question is answered there before posting to this list. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssi-howto.html Jake At

Re: Virtual Hosting with apache and tomcat

2003-02-22 Thread Jens Skripczynski
Robert Einsle: Servlet-Contexts: aaa, bbb Webservers: http://www.aaa.de, http://www.bbb.de and i can only reach http://www.aaa.de/aaa and http://www.bbb.de/bbb the Servlet contexts. you can try to use Context path= docBase=ROOT debug=0/ as in the server.xml. That maps ROOT to / So i

Cookie problem on Redhat 7.3 and tomcat 4.1.18

2003-02-22 Thread Henrik W. Hansen
Hi all I am having problems setting a cooike on a RedHat 7.3 with tomcat 4.1.18 and JDK141_01. The thing is, that I am able to read and write cookies on the same configuration on a WinXP. The code setting the cookie is: Cookie userVote = new Cookie(havepolled, somethingmeaningfull);

Re: RE: web.xml servlet and resources

2003-02-22 Thread Vernon Wu
One way to deal with this issue is to break down the file type in the someservlet directory rathen than having a URL mapping for the whole directory. Say for all JSP files, you have servlet-mapping servlet-nameTheServlet/servlet-name url-pattern/*.jsp/url-pattern

Getting Tomcat to _only_ listen to localhost

2003-02-22 Thread Jordan Hayes
I'd like for the standalone HTTP server and the Coyote/JK2 AJP 1.3 Connector to only listen to localhost. I tried setting defaultHost=localhost in the connector (for example) and that still leaves me with *.8009 ... Any ideas how to do this? Thanks, /jordan

Re: [OT] a good book for (pre) web design ?

2003-02-22 Thread Vernon Wu
If you intend to employ the J2EE technologies to build a web application, Rod Johnson's new book, Expert One on One J2EE Design and Development shall be a very good resource. 22/02/2003 1:52:35 PM, Jens Skripczynski [EMAIL PROTECTED] wrote: Hi, I'm looking for a book, that helps/guides me

Re: RE: web.xml servlet and resources

2003-02-22 Thread Vernon Wu
After sent out the previous email, I just recoginzed the orginal one was more than two weeks ago. Sorry for unwanted reply. 22/02/2003 3:46:48 PM, Vernon Wu [EMAIL PROTECTED] wrote: One way to deal with this issue is to break down the file type in the someservlet directory rathen than

Apache modules with Tomcat

2003-02-22 Thread Jordan Hayes
Is there a way to add modules to servlet processing? For instance, I'd like to add mod_headers to attach extra headers to the output of a servlet without changing the servlet itself. Can the filter functionality of Apache2 help me here? Thanks, /jordan

Re: including header, footer in jsp

2003-02-22 Thread Vernon Wu
Read David Greay's Advanced JavaServer Pages. You will get the answer for your question. 22/02/2003 10:25:02 AM, runu rathi [EMAIL PROTECTED] wrote: Hi all, If I want to design an application such that I have a template for the footer, header, side menus etc.. And I want to include that

Internationalization question

2003-02-22 Thread Joe Tomcat
I wrote a JSP that looks like this: % page language=java contentType=text/html; charset=UTF-8 % html headtitleTest page/title/head bodypbigTest page/big/p pThis page tests various display functions./p pThis is UTF-8 Japanese text: %= \u4eca\u65e5\u306f\u4e16\u754c %/p form method=post

Re: [OT] a good book for (pre) web design ?

2003-02-22 Thread Bernd Prager
- Original Message - ... 22/02/2003 1:52:35 PM, Jens Skripczynski [EMAIL PROTECTED] wrote: Hi, I'm looking for a book, that helps/guides me through a website planning. ... - i know how to use html, ssi and php But i'm really stuck in planing a new site from scratch. ... Jens, I have

RE: OT: Is it ok to close connection in finalize() ?

2003-02-22 Thread Jacob Hookom
GC'ing is done in parallel now... as far as I know, it won't halt all threads... it's not as bad with the new JVM's. | -Original Message- | From: Warden, Matt [mailto:[EMAIL PROTECTED] | Sent: Saturday, February 22, 2003 3:02 AM | To: Tomcat Users List | Subject: RE: OT: Is it ok to close

Re: Internationalization question

2003-02-22 Thread THG
... When I use this JSP, it shows up a text input. I use kinput2/Mozilla to input some Japanese text, hit submit, and then it displays the Japanese text back to me. What I'm wondering is, why does this work? If simply use out.println(request.getParameter(test)) then it displays garbage. For

custom tag problems

2003-02-22 Thread Percival Bragg
I am trying to create my first custom tag and I am getting an Unable to load class banner. I believe I have the .tld file coded properly and the java class corresponding to banner in the right directory corresponding to the package. The CLASSPATH and PATH envoronment variables seem to be correct.

Odd classloader behavior in Tomcat 4.x

2003-02-22 Thread Richard Sand
Hi all, I'm having trouble executing a JSP page that is throwing NoClassDefFoundError for a class that it should find. The JSP page instantiates an object via the tag: jsp:useBean id=loginBean class=ipa.LoginBean scope=session/ The class ipa.LoginBean is in WEB-INF/lib/ipa.jar. However, it

RE: OT: Is it ok to close connection in finalize() ?

2003-02-22 Thread Joe Tomcat
On Sat, 2003-02-22 at 17:38, Jacob Hookom wrote: GC'ing is done in parallel now... as far as I know, it won't halt all threads... it's not as bad with the new JVM's. Yes, AFAIK, GC will not halt newer JVMs. However, there are still many many problems with finlizers and System.gc(): 1.

Clustering with Tomcat

2003-02-22 Thread Rifai
Hi All, I recently read this article http://www.onjava.com/pub/a/onjava/2002/07/17/tomcluster.html On Clustering using javaspaces technology. They have provided a source code for this soluion in the 3rd page of the article. I need to know whether anyone who tried it and got all working I

Re: tag attributes as bean properties

2003-02-22 Thread David M. Karr
Borislav == Borislav Iordanov [EMAIL PROTECTED] writes: Borislav Hi guys, Borislav This is more a question for tomcat developers I guess. I'm working with Borislav Tomcat 4.1.18. Borislav The JSP 1.2 specification states that a container should interpret tag Borislav

RE: Apache modules with Tomcat

2003-02-22 Thread Turner, John
Have you considered Tomcat filters instead? John -Original Message- From: Jordan Hayes [mailto:[EMAIL PROTECTED] Sent: Saturday, February 22, 2003 7:00 PM To: Tomcat Subject: Apache modules with Tomcat Is there a way to add modules to servlet processing? For instance, I'd like to

SERVLET-JSP ERROR

2003-02-22 Thread A.Ezhil
hi, when i try to run a JSP file for my application ,i am getting servlet jsp currently unavailable. i am using tomcat4.0 ,linux8.0... is it anything problem with jar files in lib directory.. pls help me at earliest... thank u ezhil.a

Re: Apache modules with Tomcat

2003-02-22 Thread Jordan Hayes
Have you considered Tomcat filters instead? ... except that the modules I want to use are already written? Sure: it's software. I could just write something new. I take it the answer is 'no' then? :-) /jordan - To

Re: Virtual Hosting with apache and tomcat

2003-02-22 Thread Robert Einsle
Hello Jens Am Samstag, 22. Februar 2003 23:26 schrieb Jens Skripczynski: Robert Einsle: Servlet-Contexts: aaa, bbb Webservers: http://www.aaa.de, http://www.bbb.de and i can only reach http://www.aaa.de/aaa and http://www.bbb.de/bbb the Servlet contexts. you can try to use

Re: Internationalization question

2003-02-22 Thread Eric H
On Sat, 2003-02-22 at 17:45, THG wrote: with request.getParameter(test) you get the iso-8859-1 encoded utf-8 data (which is encoded with us_ascii) - an double encoded string. Ok, I think I'm beginning to get it. I did this in a JSP (with charset=UTF-8): String parameter =

complex load balancing setup advice

2003-02-22 Thread Gary Lyons
Hi, We have two applications , one an e-commcerce j2ee MVC application, the other a struts based highly featured message board. We have a national audience so we have colocated servers in NYC and San Jose. Here is the challenge. We want to load balance in each geographical location so that