RE: Multiple Paths in one Context

2004-04-20 Thread Ben Janes
Works in a way, However as I haven'y specified a context within webdirs... then system can't find any of the class files within /WEB-INF/classes So fails on the compile: 2004-04-20 08:09:07 StandardContext[]: Mapped to servlet 'jsp' with servlet path '/networking/index.jsp' and path info

Re: pageEncoing and contentType

2004-04-20 Thread seiji takegata
Hi,Antonio Thank you for your reply. Here is my whole jsp code. It is OK except that I want: response.setContentType(application/pdf); rather than: response.setContentType(application/pdf;charset=Shift_JIS); (I'm looking into .java in tomcat work directory which jasper generates.) %@ page

Re: setting cookies in servlet and read inside the JSP

2004-04-20 Thread Veniamin Fichin
Emerson Cargnin wrote: How do I read a cookie (inside a JSP) that I created inside a servlet. It looks that it has different path properties and so when I'm inside the JSP it can't read the cookie... There is javax.servlet.http.Cookie.setPath(String) which obviously works as it named. :-)

Re: the pain of choice

2004-04-20 Thread Christoph P. Kukulies
On Mon, Apr 19, 2004 at 05:53:19PM -0400, Parsons Technical Services wrote: I don't know if you will get much response with this request. What you may wish to do is define your requirements for your application and environment. Then set back and take in all the opinions on which way is best.

Vedr.: Re: JDNI, DBCP and global naming resources - problem solved!

2004-04-20 Thread Thomas Nybro Bolding
Yes they are - and no where else. /Thomas Antonio Fiol Bonnín [EMAIL PROTECTED] 17-04-2004 22:14 Besvar venligst til Tomcat Users List Til:Tomcat Users List [EMAIL PROTECTED] cc: Vedr.:Re: JDNI, DBCP and global naming resources - problem solved! Were your

Hi!

2004-04-20 Thread tomcat-user
Norton AntiVirus gelöscht1.txt Description: plain/text - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Configuration and performance questions

2004-04-20 Thread Adam Hardy
1. Yes of course. 4.1.30 is many release cycles ahead of 5.0.19. But that's a matter of course with all software. 2. Don't know. 3. I thought 'enterprise' was a marketing word ;) 4. Are you sure you've got apache configured correctly? I don't think there should be such a noticeable

RE: Tomcat is frozen

2004-04-20 Thread Cui Xiaojing-a13339
Hello Antonio Fiol, Thank you very much for helping. Below is info for the system. -The OS is Windows 2000. -Accessing Tomcat directly, not using Apache. -Using a database (Sql server) and using a static resource to keep a database connection pool and the connection pool is created when Tomcat

RE: Tomcat is frozen

2004-04-20 Thread Adam Buglass
Hi, I've just got into the office and saw your posts! Can you show us any data from the logs? Especially the Catalina logs. Check if it says any problems with your Ajp13 connector or any errors with processors. Adam On Tue, 2004-04-20 at 08:39, Cui Xiaojing-a13339 wrote: Hello Antonio Fiol,

last chance!

2004-04-20 Thread tomcat-user
This message was verified by the filtering system of our mail server. Original message was replaced by this one by the following reason : *** A suspicious file (executable code) was found in the message ! Original message had the following attached files : (X-FILE ??? ) :

RE: security permissions

2004-04-20 Thread Andrea Powles
The program is called WEKA its a Java application that runs data through machine learning algorithms I am trying to write the otput of that program into a file. The OS I am running is XP Professional. Thanks in advance Andrea Powles Mark Thomas [EMAIL PROTECTED] wrote: OK. Next set of

Getting a request in a non English character

2004-04-20 Thread yair . fine
Hi, In an attempt to solve a problem of getting a request in a non English character, and to convert it to Unicode, I use a similar code , (BTW , taken from O'Reilly's Java Servlet programing First edition) import javax.servlet.*; import javax.servlet.http.*; import java.io.*; public class

RE: Tomcat 5 : java.lang.OutOfMemoryError

2004-04-20 Thread Peter Guyatt
Hi There, I have seen this before. It is when your page is going to be over a certain size. (I believe its around 4MB) Just use a Servlet to display the result of the query Thanks Pete -Original Message- From: Francesco Pellegrini [mailto:[EMAIL PROTECTED] Sent: 20 April 2004

Re: Tomcat does not start !

2004-04-20 Thread Jon Wingfield
Download the binary not the source zip: http://jakarta.apache.org/site/binindex.cgi If you execute catalina run instead of startup you'll see the error in the same shell. HTH, Jon [EMAIL PROTECTED] wrote: Hi, I have installed Tomcat on my windows machine and set the CATALINA_HOME and

RE: Tomcat 5 : java.lang.OutOfMemoryError

2004-04-20 Thread Allistair Crossley
The standard response to this type of question is are you closing your database connections, are you releasing references to objects being created. I can't imagine what you are doing that manages to wipe out 1200M memory ;) Oh and use a profiler comes up too for this type of question :)

Tomcat 5 : java.lang.OutOfMemoryError

2004-04-20 Thread Francesco Pellegrini
Hi all, I have Tomcat 5.0.18 with one java web application and database Access 2000. When one Servlet/JSP try to make heavy query to database, tomcat shows this error message : HTTP Status 500 - type Exception

R: Tomcat 5 : java.lang.OutOfMemoryError

2004-04-20 Thread Francesco Pellegrini
At the moment I use : java class to execute query JSP page that shows the result of the query. Your answer means i need to execute query and shows the result by SERVLET ? Thans Francesco. -Messaggio originale- Da: Peter Guyatt [mailto:[EMAIL PROTECTED] Inviato: martedì 20 aprile

RE: Tomcat is frozen

2004-04-20 Thread Adam Buglass
Hmm, I didn't see anything that jumped out at me in those logs, which doesn't necessarily mean there isn't anything! Don't you have a catalina log? Or at least a stack trace? If you're connecting to an SQL DB it's possible that you're simply not closing your connections to the pool, so after a

R: Tomcat 5 : java.lang.OutOfMemoryError

2004-04-20 Thread Francesco Pellegrini
About : wipe out 1200M memory I've read it in a TOMCAT Mail archive. How wipe memory should be configurate? Thanks Francesco. -Messaggio originale- Da: Allistair Crossley [mailto:[EMAIL PROTECTED] Inviato: martedì 20 aprile 2004 12.16 A: Tomcat Users List Oggetto: RE: Tomcat 5 :

RE: Tomcat 5 : java.lang.OutOfMemoryError

2004-04-20 Thread Allistair Crossley
lol, i just meant I was surprised you were able to get out of memory with 1200MB. you should probably do as the previous poster recommended and write down to the response stream from a servlet. -Original Message- From: Francesco Pellegrini [mailto:[EMAIL PROTECTED] Sent: 20 April 2004

Re: Your document

2004-04-20 Thread tomcat-user
Please have a look at the attached file. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AW: Tomcat 5 : java.lang.OutOfMemoryError

2004-04-20 Thread Bernhard Slominski
Maybe your query just returns too much results, because sometimes copies a part of the data locally to your client and does the query processing there, so for a serious Web Apllication Access is definitly the wrong choice, consider using either SQL Server or maybe MySql. Cheers Bernhard

RE: Tomcat 5 : java.lang.OutOfMemoryError

2004-04-20 Thread Peter Guyatt
Hi There, Yep that exactly what I am saying ;-) I had this problem with the stuff that I have done, a customer wanted to display a file that happened to be 10 meg, so I to use the print stream in a Servlet instead of using JSP pages. Thanks Pete -Original Message- From:

RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED

2004-04-20 Thread Allistair Crossley
Hm, I just decided to test the stream terminated unexpectedly upload bug with JK2/IIS/TC5 and your statement that adding DEBUG to JK2 removes the problem. Firstly, I uploaded a series of files of increasing size from 50K through to 60K at 1K intervals. The bug appears at files of 54K+ (tested

Vedr.: RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED

2004-04-20 Thread Thomas Nybro Bolding
Dunno where the log file goes by default but in my workers2.properties file I have: [logger.file:0] file=D:\DAT\logfiles\connections\jk2.log Where this puts the jk2 log file you have to find out for yourself ;) /Thomas Allistair Crossley [EMAIL PROTECTED] 20-04-2004 13:10 Besvar venligst

RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED

2004-04-20 Thread Alex
I've been following this thread for a while now in hopes someone would come up with something to help resolve it. My issue is not with big files, as i have that working, but sending PNG files from the application server to the client. the connection dies between the tomcat5 server and the

Re: the pain of choice

2004-04-20 Thread Parsons Technical Services
At this point it looks like tomcat 5 will handle your needs. Look at this for cgi: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cgi-howto.html What JDK are you developing against? -- 1.4.2 But not crucial What is you platform? -- What do you mean by that? By platform

Re: the pain of choice

2004-04-20 Thread Michiel Toneman
Parsons Technical Services wrote: At this point it looks like tomcat 5 will handle your needs Look at this for cgi: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cgi-howto.html Although it could be done like this, if you have some Apache experience, I'd recommend Apache in front of Tomcat

Error connecting to tomcat 3, status 200

2004-04-20 Thread Randy
Hello, I am getting a lot of these in my log file error_log:[Mon Apr 19 13:41:52 2004] [error] mod_jk2.handler() Error connecting to tomcat 3, status 200 Is status an html status or is it a mod_jk2 status code in an h file somewhere Thanks

RE: Multiple Paths in one Context

2004-04-20 Thread Ben Janes
HI, This isn't really what I wanted. I need one context, that is accessible from several paths... so that www.xyz.com/mypath1 www.xyz.com/mypath2 www.xyz.com/mypath3 www.xyz.com/mypath4 All go to the same directory whilst maintaining there uniqueness of path names Ben Benjamin A.

RE: Multiple Paths in one Context

2004-04-20 Thread Ben Janes
Further Is it best to do this in TOmcat, or use Apache and set up the virtual directories that way? Benjamin A. Janes Maersk Data Sverige M. +46 (0)40-630 04 88 Drottninggatan 18, S-211 49 Malmö, Sweden

RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED

2004-04-20 Thread Allistair Crossley
Nevertheless my tests and the chap who previously mentioned logger helped his case both show that logger being switched on has _some_ effect in relation to this issue, although your case now shows that it is not the _complete_ picture. Do the JK2 ISAPI development team monitor this list? ADC

RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED

2004-04-20 Thread Mladen Turk
-Original Message- From: Allistair Crossley Nevertheless my tests and the chap who previously mentioned logger helped his case both show that logger being switched on has _some_ effect in relation to this issue, although your case now shows that it is not the _complete_

RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED

2004-04-20 Thread Allistair Crossley
I have been using JK 2.0.4 since 26th March, just after it got released and also this morning in my tests that reveal the bug is still present. Sorry! :) ADC -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: 20 April 2004 14:01 To: 'Tomcat Users List' Subject: RE: JK

RE: SESSION PROBLEM in UNIX

2004-04-20 Thread MUKUND Premchander
Hi , I am using tomcat 3.2 not tomcat 4.0 hence as per your suggestion I did try and implement HttpSessionBindingListener and put the object into the session in the same jsp , the valueBound was called but when the session access threw null pointer exception valueUnbound was not called And

RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED

2004-04-20 Thread Alex
I do believe the link provided below is an updated dll. I've implemented it however I see no changes / differences. On Tue, 20 Apr 2004, Allistair Crossley wrote: Date: Tue, 20 Apr 2004 14:04:34 +0100 From: Allistair Crossley [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED]

Apache with SOAP

2004-04-20 Thread Ricardo Souza
Hello Friends, I'm very interested to use Apache to develope Web Services! I get all products necessary to build Java Web Services according with the book Web Service Essencial, but the steps from configuratingdidn't successfull! Can anyone help?!? Please... I would like a step by step

RE: JK connector -- isapi2 -- file upload - SOLVED

2004-04-20 Thread Allistair Crossley
Hi MT Cool! I just realised you meant that 2.0.4 had been patched. I tried out the version you sent me a link to, and can confirm that removing the logger config from workers2 maintains the fix and the bug does not reappear for my system. Great stuff :) ADC -Original Message- From:

Deploy a directory on Tomcat 5.0

2004-04-20 Thread Tien-Lung . Liu
Hi, I have a directory that contains servlets. This directory, named testdir, sits on the server, but not in Tomcat 5.0 ( or webapps/WEB-INF/classes). How do I deploy this directory? I went to Tomcat Manager, and tried to enter the values in the following fields, but it didn't work: Do I also

Tomcat Class Load Order

2004-04-20 Thread Varley, Roger
Hi I've inherited responsibility for a web application that is, quite frankly, a bit of a mess. I have some classes that are located under $TOMCAT_HOME/webapps/appname/web-inf/classes and are also in jar file under $TOMCAT_HOME/webapps/appname/web-inf/lib. I've even got a couple of class files

RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED

2004-04-20 Thread Mladen Turk
-Original Message- From: Alex [mailto:[EMAIL PROTECTED] I do believe the link provided below is an updated dll. Yes. I've implemented it however I see no changes / differences. See the bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=15278 I'd be glad to se your

RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED

2004-04-20 Thread Allistair Crossley
Alex don't ask me where I saw this but I read that your SHM size causes issues - I cannot remember what issue I had when it was the same as your but I changed it to 1048576 and it solved it. This may be a total red herring but hey. -Original Message- From: Alex [mailto:[EMAIL

RE: JK/JK2 startup explanation

2004-04-20 Thread Angus Mezick
The documentation on JK2 just got improved. The load balancing is now defined. -Original Message- True. I wish one of the developers would take time to just LIST the handlers and options, so we can know what to experiment with.

RE: the pain of choice

2004-04-20 Thread Angus Mezick
Jk vs jk2. JK is dead STOP USING IT. JK2 all the way!! (sorry, jk2 is the prefered way to link apache2 to tomcat[45]) I would suggest using tomcat 4 for now if you are going immediately into a production environment where you have to abide by a server level agreement. Otherwise use tomcat 5.

Re: Tomcat 4.1.x Vs 5.0.x

2004-04-20 Thread wsedio
On 4/17/04 4:36 PM, wsedio wrote: Hi, I've a web hosting server running Red Hat Enterprise Linux 3 ES and I am planning to install Tomcat on it. I would like to give dedicated Tomcat instances to some clients and to keep a shared instance for smaller web sites. Is it better to use Tomcat

RE: auto generation of mod_jk.conf in tomcat 5

2004-04-20 Thread Angus Mezick
Why not use mod_jk2? I have been wondering why people keep trying to use the older jk with the newer tomcat.. --Angus -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 5:54 PM To: Tomcat Users List Subject: Re: auto generation of

Tomcat + java.net.ConnectException: Connection timed out: connect

2004-04-20 Thread Francesco Pellegrini
Hi all, I have already posted today, but i need one more help! My environment was : IIS 5.0 (with DIGITAL Certificate installed) Tomcat 5.0.18 Windows 2000 server + jdk : 1.4.2_03-b02 In my web application I open a HTTPS connection to remote

Re: Deploy a directory on Tomcat 5.0

2004-04-20 Thread QM
On Tue, Apr 20, 2004 at 09:23:18AM -0400, [EMAIL PROTECTED] wrote: : I have a directory that contains servlets. This directory, named testdir, : sits on the server, but not in Tomcat 5.0 ( or webapps/WEB-INF/classes). : How do I deploy this directory? This and other questions are answered in:

RE: Virtual Host, Locations and Mod_JK2

2004-04-20 Thread Angus Mezick
No idea, never tried it. --Angus -Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 1:11 AM To: Tomcat Users List Subject: Re: Virtual Host, Locations and Mod_JK2 Angus Mezick wrote: Use the uri property in

RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED

2004-04-20 Thread Alex
worth a try : ) it's my last biggest annoyance to figure out. i can push any type of files back across to the client, except these pgn files which keep breaking my pipe between iis and tomcat On Tue, 20 Apr 2004, Allistair Crossley wrote: Date: Tue, 20 Apr 2004 14:26:17 +0100 From:

RE: Configuration and performance questions

2004-04-20 Thread Angus Mezick
Brian, can you guys set up a web site with your results and configuration files. I would ask for you to post them but that is a lot for a mail list to handle. --Angus -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 3:29 AM To: Tomcat Users

RE: the pain of choice

2004-04-20 Thread Lloyd H. Meinholz
The reason I must keep using apache 1.3 is because I have been unable to get remoteUser() from apache2. I have used identicle settings for mod_jk with both apache 1.3 and 2.x. With apache 1.3 I can get remoteUser() with apache 2.x I cannot. I need remoteUser() for my web applications to work.

Re: JK2 configure thinks apache 2.0.48 is apache 1.3 on solaris 9

2004-04-20 Thread Greg Adams
Nope, at least not in my install.. maul(grega):/usr/apache2 % find /usr/apache2 -name apxs /usr/apache2/bin/apxs maul(grega):/usr/apache2 % Greg Adams wrote: 8. ./configure --with-apxs2=/usr/apache2/bin/apxs Shouldn't this be /usr/apache2/sbin/apxs? When I install Apache 2.0.49 in a

Re: SESSION PROBLEM in UNIX

2004-04-20 Thread Veniamin Fichin
MUKUND Premchander wrote: I am using tomcat 3.2 not tomcat 4.0 hence as per your suggestion I did try and implement HttpSessionBindingListener and put the object into the session in the same jsp , the valueBound was called but when the session access threw null pointer exception valueUnbound

Re: Deploy a directory on Tomcat 5.0

2004-04-20 Thread Tien-Lung . Liu
Thanks for your reply. I did go through the docs before, but still can't find concrete examples. Any pointers to get me on the right path? Tomcat Manager War or directory URL: http://localhost:8080/dir1 XML configuration file url: http://localhost:8080/dir1/web.xml I got this error

Re: the pain of choice

2004-04-20 Thread Michiel Toneman
Great, let's use JK2 My experience: rant-mode tar -xvzf jakarta-tomcat-connectors-jk2-src-current.tar.gz cd jakarta-tomcat-connectors-jk2-2.0.4-src/ less README.txt - gibberish, doesn't help me much less RELEASE-NOTES.txt --

Re: Deploy a directory on Tomcat 5.0

2004-04-20 Thread Veniamin Fichin
[EMAIL PROTECTED] wrote: I have a directory that contains servlets. This directory, named testdir, sits on the server, but not in Tomcat 5.0 ( or webapps/WEB-INF/classes). How do I deploy this directory? I went to Tomcat Manager, and tried to enter the values in the following fields, but it

Oh my God

2004-04-20 Thread craigmcc
Norton AntiVirus gelöscht1.txt Description: plain/text - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tomcat Class Load Order

2004-04-20 Thread Mike Curwen
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html -Original Message- From: Varley, Roger [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 8:23 AM To: [EMAIL PROTECTED] Subject: Tomcat Class Load Order snip / Could someone point me to some

Re: the pain of choice

2004-04-20 Thread Greg Adams
Sad but true. Why DON'T the ant build files work? Did someone get lazy? Is JK2 part of a source tree that we're only getting a portion of when we download the source tarball? Great, let's use JK2 My experience: rant-mode tar -xvzf jakarta-tomcat-connectors-jk2-src-current.tar.gz

RE: Getting a request in a non English character

2004-04-20 Thread Yansheng Lin
Hi, I don't have that book, so I am not sure if there is a new version. But I think you can try one of the constructors in the String class. String value = req.getParameter(param); String valueInUnicode = new String(value.getBytes(Cp1255), UTF8); -Yan -Original Message- From: [EMAIL

RE: Multiple Paths in one Context

2004-04-20 Thread Milt Epstein
On Tue, 20 Apr 2004, Ben Janes wrote: HI, This isn't really what I wanted. I need one context, that is accessible from several paths... so that www.xyz.com/mypath1 www.xyz.com/mypath2 www.xyz.com/mypath3 www.xyz.com/mypath4 All go to the same directory whilst maintaining there

Re: IllegalStateException

2004-04-20 Thread Christoph P. Kukulies
On Wed, Jul 07, 2004 at 10:28:25PM +0200, Dr. Franz X. Steinparz wrote: ^^ Hello I urgently need help. Could you please set the date correctly on your computer, Herr Dr. Steinparz -- Chris Christoph P. U. Kukulies kuku_at_physik.rwth-aachen.de

Re: the pain of choice

2004-04-20 Thread Chong Yu Meng
Hi Michiel ! Cut the developers some slack, man ! Writing the software is difficult enough, if you need to do a buildfile, test it and document it, it can seem like a monstrous commitment. If you want instructions on getting it built, I just updated my Tomcat 5 document to cover jk2.0.4. The

org.apache.jk.common.ChannelSocket processConnection INFO: connection timeout reached

2004-04-20 Thread Kommineni, Sateesh \(GE Consumer Industrial\)
Hi All, I am trying to deploy a Web Application in my Tomcat and got the following Error in the Log Files.. Apr 20, 2004 11:05:04 AM org.apache.jk.server.JkCoyoteHandler action INFO: RESET Apr 20, 2004 11:05:04 AM org.apache.jk.server.JkCoyoteHandler action

RE: the pain of choice

2004-04-20 Thread Angus Mezick
*shrug* I use win2k and it is EASY to use jk2 on that. Kinda bad that the unix/linux install is worse than the windows one. Sigh. --Angus -Original Message- From: Michiel Toneman [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 10:44 AM To: Tomcat Users List Subject: Re:

Re: org.apache.jk.common.ChannelSocket processConnection INFO: connection timeout reached

2004-04-20 Thread Thomas Tang
Hello, I get the same messages in my log, but the application appears to work without a hitch. I was never able to figure out what the cause of this is, or if I should even be concerned with it? One of my programmers tells me this is related when a client abruptly terminates a session. Im not

RE: Getting a request in a non English character

2004-04-20 Thread yair . fine
Thanks, But I tried and it doesn't work Is it because it is in the GET request and not in POST Maybe Tomcat dont know how to deal with Charset Cp1255 requests? -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 5:17 PM To: 'Tomcat Users

Re: setting cookies in servlet and read inside the JSP

2004-04-20 Thread Daniel Gibby
Did you ever get an answer to this? You need to set the cookie path on your servlet cookie and your jsp up high enough in your path so that both can read it. Example: www.domain.com/ I think can be your path. Cookies usually default to setting themselves in their current path, which may not be

Re: auto generation of mod_jk.conf in tomcat 5

2004-04-20 Thread Emerson Cargnin
I'll try this afterwards, but the generated mod_jk.conf file will be the same... In the docs of configuration of mod_jk.conf there's no mentioning of virtualHost tag... Emerson Cargnin wrote: Ok, I finally got our production server to work with tomcat 5. The problem, that I said before is that

Solaris 9 and mod_jk compile errors

2004-04-20 Thread Allen Jones
I'm having some comilation errors when trying to compile mod_jk and Solaris 9 for Apache 1.3. Does anyone know if there is a binary or pointers on compiling? I keep getting the following errors when attempting to compile: gcc: unrecognized option `-Xa' gcc: language ildoff not recognized Any

Re: JK2 configure thinks apache 2.0.48 is apache 1.3 on solaris 9

2004-04-20 Thread Greg Adams
I think I got it working now. I wasn't running configure as root... a possibility I gathered from Chong's tomcat 5 for linux step-by-step: http://cymulacrum.net/writings/tomcat5/book1.html which is the best howto I've found yet... Bravo to Chong! Greg Nope, at least not in my install..

RE: Getting a request in a non English character

2004-04-20 Thread Yansheng Lin
No, nothing to do Tomcat. But I know Cp1255 is not part of the standard charsets supported by Java platform, so you may out of luck here. Btw, jdk1.4 recommends StringReader over the deprecated StringBufferInputStream class. - java.io Class StringBufferInputStream

Extending Standard JDBC Realm

2004-04-20 Thread richard
Hi, I'm running Tomcat 5.0.19 and I configured a JDBC realm. Everything works fine. Now instead of going to j_security_check to authenticate a user, I would like to go to my own servlet that would: 1 - Authenticate the user 2 - Do some other tasks before going to the next

Re: the pain of choice

2004-04-20 Thread Emerson Cargnin
Strange you saying that if everyday I see so many problems and bugs in jk2... A question : jk2 can use the same mod_jk.config used by jk? question 2 : I've asked before but here it goes : - How can I make tomcat generate the mod_jk.conf withou those virtualhost tag? this makes apache

Re: the pain of choice

2004-04-20 Thread Emerson Cargnin
once I got jk2 build to work... I remember having to create dirs and copy files by hand... []s Emerson to Greg Adams wrote: Sad but true. Why DON'T the ant build files work? Did someone get lazy? Is JK2 part of a source tree that we're only getting a portion of when we download the source tarball?

Re: the pain of choice

2004-04-20 Thread Parsons Technical Services
Chris, I hope you got enough information to help you decide. It seems this thread has taken on a life of its own and pushed the boundaries of being on topic for the thread. Anyway, if you have any further questions or if anyone can see any pitfalls please advise. If you still need Apache for

Tomcat JMX monitor beans

2004-04-20 Thread Sankaranarayanan \(Ganesh\) Ganapathy
I see that tomcat provides JMX administration beans however I don't see tomcat JMX beans for monitoring (like thread pools) and statistics like a) time required to complete a request b) avergate time required to complete a request c) average number of requests per unit of time d) number of

Re: JK2 configure thinks apache 2.0.48 is apache 1.3 on solaris 9

2004-04-20 Thread Nikola Milutinovic
Greg Adams wrote: Nope, at least not in my install.. maul(grega):/usr/apache2 % find /usr/apache2 -name apxs /usr/apache2/bin/apxs maul(grega):/usr/apache2 % Aha, OK. That depends on a chosen layout. Anyway, look into config.status and config.log files to see what went wrong. Nix.

RE: IIS 6.0 and JK2 Performance Issue

2004-04-20 Thread Alex Gibson
Hello All, Here is a image to show how it behaves on file downloads. However, when I upload a file there is no issue, it uses as much of the bandwidth as possible. Alex Gibson From: Alex Gibson [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject:

Re: Tomcat JMX monitor beans

2004-04-20 Thread Peter Lin
I think the current status servlet provides request count per page and webapp. I could be wrong. have you looked at the full status page in TC5? peter Sankaranarayanan (Ganesh) Ganapathy [EMAIL PROTECTED] wrote:I see that tomcat provides JMX administration beans however I don't see tomcat

Tomcat 4.1.3.0

2004-04-20 Thread Reis, Tom
I was using Tomcat 4.0.4 for 2 years on a Windows 2000 Server without any problems. I wanted to go to version 4.1.3.0 but I cannot seem to get the application to run under that version. It appears that the Tomcat doesn't recognize the application as being there because none of the jsp or

RE: IIS 6.0 and JK2 Performance Issue

2004-04-20 Thread Peter Lin
that's interesting. I wonder if some default setting preventing a single connection hogging the bandwidth. I've performed some benchmarks on win2K3 and I haven't seen that particular problem with .NET stuff. makes me wonder if it's a feature of win2K3 to cripple all other

One solution to: How to hide files by extension under Tomcat 5?

2004-04-20 Thread Stephen Bacon
Parsons Technical Services wrote: Since you don't like that you might try this. Set security-constraints for all the file types you want to protect. Then do NOT set an auth-constraint for it. Thus no one will be able to access it from outside. Thanks Doug, that's the ticket. Here's what I came

RE: [BULK] - Re: Tomcat JMX monitor beans

2004-04-20 Thread Sankaranarayanan \(Ganesh\) Ganapathy
Thanks I found the same! -Original Message- From: Peter Lin [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 11:34 AM To: Tomcat Users List Subject: [BULK] - Re: Tomcat JMX monitor beans I think the current status servlet provides request count per page and webapp. I could be

Re: Classpath problems with tomcat on Linux 9

2004-04-20 Thread Andy Wadsworth
Figured out my problem. I wasn't placing the class file in a subdirectory of the WEB-INF/classes/package. Solution: created UserData.java with package name userdata created directory WEB-INF/classes/userdata placed UserData.class in WEB-INF/classes/userdata Thank you all who responded,

RE: security permissions

2004-04-20 Thread Mark Thomas
The exec() method should be OK then. Try doing things through a batch file - this often overcomes a number of windows niggles. Also, have a look at the source for the CGI servlet - this is essentially running a app on the server but doing some other things as well. Mark -Original

RE: Getting a request in a non English character

2004-04-20 Thread Mark Thomas
You might find the text below useful. It is my standard text on character encoding. Mark REQUESTS There are a number of situations where there may be a requirement to use non-US ASCII characters in a URI. These include: - Parameters in the query string - Servlet paths There is a

Re: auto generation of mod_jk.conf in tomcat 5

2004-04-20 Thread Emerson Cargnin
Any answer for this BTW... is there an automatic generation of mapping for jk2 too??? Emerson Cargnin wrote: Ok, I finally got our production server to work with tomcat 5. The problem, that I said before is that I had to strip the following part to make it work form the generated file.:

Virtual host setup

2004-04-20 Thread Yongsheng Yang
Hello , I want to setup several virtual hosts in a single Tomcat. I want to use Name-based approach. For this approach, several virtual hosts share a single IP address. So I have to bind different web services to same address? for instance, the address of www.1.com and www.2.com is same and point

RE: Virtual host setup

2004-04-20 Thread D'Alessandro, Arthur
Look at the tomcat configuration guide... The HOST element under server.xml is what your looking for. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html -Original Message- From: Yongsheng Yang [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 3:27 PM To: [EMAIL

problem with apache authentication - jk2 - tomcat?

2004-04-20 Thread Duane Winner
Hello all, I'm having a problem getting Apache authentication credentials passed on to Tomcat servlets. I am running: FreeBSD 4.9 Apache2 (FreeBSD port) Tomcat 5.0 (FreeBSD port) mod_jk2 (built from jk2-2.0.2 source) I can connect to sample Tomcat servlets through Apache fine, but once I turn

Problems building tomcat 5 from source

2004-04-20 Thread shyam
Hi All, I am trying to build tomcat 5 from the build.xml. I am getting the below errors. My OS is windows XP. I have followed the instructions provided in on the Jakarta web site. [cvs] Caught exception: CreateProcess: cvs -d:pserver:[EMAIL PROTECTED]:/home/cvspublic -q -z3 checkout -P

HttpSession and ROOT context path

2004-04-20 Thread Anna Bikkina
Hi, I have a very peculiar situation. I have an webapplication whose main page(login.jsp) contains 2 frames. Each frame loads pages from different web application .Frame1 has index.jsp which is loaded from the same webapp as login.jsp and frame2 loads search.jsp from a different application

tomcat virtual hosts question

2004-04-20 Thread Emerson Cargnin
If I have configured some virtualhosts through tomcat, may I manage each one in a independent way like each one having a separate manager app??? -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181

RE: tomcat virtual hosts question

2004-04-20 Thread D'Alessandro, Arthur
Yes, the manager app may be applied to each host, you'll need to define the manager context inside the host element. -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 5:11 PM To: Tomcat Users List Subject: tomcat virtual hosts question If

RE: Getting a request in a non English character

2004-04-20 Thread Yair Fine
Hi Mark, Thanks for your reply , You wrote : The Coyote HTTP/1.1 connector has a useBodyEncodingForURI attribute which if set to true will use the request body encoding to decode Where can I configure the useBodyEncodingForURI attribute, is it in an XML file ? Which one ? Thanks Yair

RE: Getting a request in a non English character

2004-04-20 Thread Mark Thomas
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html Tomcat 4 ships with the same connector but the docs aren't quite up to date on the web site. Mark -Original Message- From: Yair Fine [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 10:48 PM To: 'Tomcat Users

tomcat 5.0.19 Win2000 service

2004-04-20 Thread Yoo, Joon
Win2k Server SP4, IE 5.0 java 1.4.2._04-b04 (installed under d:\sun\appserver) tomcat 5.0.19 (installed under d:\tomcat_5_0_19) JAVA_HOME: D:\Sun\AppServer\jdk CATALINA_HOME: D:\tomcat_5_0_19 path: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;D:\Sun\AppServ

virtual host...

2004-04-20 Thread Emerson Cargnin
I'm using tomcat 5.0.19, apache 2.0.47, mod_jk... Tomcat generates a mod_jk.conf file with the following clause before the jkmount clauses: VirtualHost localhost ServerName localhost With this clause, apache does not create any mapping... This is my configuration of the listener... Is

  1   2   >