Re: getInputStream

2001-04-18 Thread Sam Newman
I'm pretty sure that if you use this package in a commerical product, you have to make sure that each developer using the package has a copy of the latest O'Reilly book. Check the license carefully. sam - Original Message - From: "Jeff Kilbride" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

Re: mod_jk - DEAD END! [POSTSCRIPT]

2001-04-18 Thread Sam Newman
Whilst the mod_jk worked for me, I aggree that it could be more clearly marked as to what platforms its currently supported on. As the the number one issue raised on the list, over the last week or so it seems to be people either not reading or getting confused by the howto docs sam - Origina

session timeouts early sometimes

2001-04-18 Thread David Wall
It's hard to nail down, but we seem to note that tomcat 3.2.2beta2 will have a session timeout early sometimes. Is there a known bug in the session timing routines? Thanks, David

jsp pathinfo

2001-04-18 Thread David Wall
Is the pathinfo portion of an URL supposed to work with JSPs?  In tomcat 3.2.2beta2, I'm using an URL like /app/test.jsp/pathinfo, but it's not working (as if tomcat is looking for a JSP named 'pathinfo' instead of 'test.jsp' in the 'app' webapp, with the path info set to "pathinfo".   Do I

Pages never finish loading

2001-04-18 Thread Randy Kreisel
First off, I am a newbie, so forgive me if this issue is already solved.But I could not find a valid resolution in my searches of this group. When I run the example servlets from my NT workstation at home they complete without issue. When I run them from the Win98 machine at home or from my NT

RE: Can Sessions be tracked via URL-rewriting?

2001-04-18 Thread Robert Zazueta
Even in JSPs? There isn;t a simple way to simply turn on URL-rewriting fir the JSESSION? Can I use the URL reqriting module for Apache in any way to make this easier? Always looking for the lazy way out ;-) -Original Message- From: William Kaufman [mailto:[EMAIL PROTECTED]] Sent: Wed

JDBC Realm - User Roles

2001-04-18 Thread Gary Henson
I've been trying to set up JDBC Realm authentication with Tomcat.   I've run into a problem when it comes to roles. The user is authenticated alright, but the roles do not seem to be taken from the database. I always get redirected to the error jsp unless I have the user and role specified

Require info..

2001-04-18 Thread Vinoj Vijayan
Hi Does Tomcat support connection pooling on its own? Curious, Vinoj

Re: Tomcat vs. other app servers

2001-04-18 Thread Jeff Kilbride
It wouldn't surprise me if JRun ran better in a Windows environment. After all, that's what it was originally designed for. The JRun 1.x series was a lifesaver for me in late 1997 when we ported all of our Perl code to Java. That was before we moved to Linux from NT and before there were any in-pr

Re: WML and JSP

2001-04-18 Thread Anne Dirkse
Check out cocoon: http://xml.apache.org/cocoon/index.html A. -- Yes, it is possible. Look at the User-Agent parameter that is passed in via the http request headers and do the apprpriate thing based on that. - Ray -Original Message- From: Paul Yoon [mailto:[EMAIL PROTECTED]]

Apache-tomcat-mod_jk multiple virtual host

2001-04-18 Thread Bibhas Roy
I need a sample server.xml for setting tomcat so that same tomcat instance can support multiple virtual host! the apache how-to doesn't have server.xml example instead both the places have same script for config apache. Bibhas __ Do You Yahoo!? Ya

RE: WML and JSP

2001-04-18 Thread Ray Tanaka
Yes, it is possible. Look at the User-Agent parameter that is passed in via the http request headers and do the apprpriate thing based on that.   - Ray -Original Message-From: Paul Yoon [mailto:[EMAIL PROTECTED]]Sent: Wednesday, April 18, 2001 12:13 PMTo: [EMAIL PROTECTED]Sub

Re: Tomcat vs. other app servers

2001-04-18 Thread Scott Tatum
My apologies for inadvertantly FUDding JRun. We have run JRun 2.3 with much better success. I don't know if it is just me, but JRun products seem to like NT environments better. The setups that we have had with JRun/NT have all worked great. Our problems have only manifested when connected to Apac

Re: Tomcat hangs under win 98

2001-04-18 Thread Michael Burke
Thanks I realized that from a previous response. - Original Message - From: Ryan To: [EMAIL PROTECTED] Sent: Wednesday, April 18, 2001 10:20 PM Subject: Re: Tomcat hangs under win 98 linux does that too but tomcat is still running. Pressing return gives

Re: newbie

2001-04-18 Thread Jeff Kilbride
It depends on your system. If you're running Win98 with 64MB of RAM, and your servlet has a lot of initialization code, then it might make sense. Remember, your servlets aren't loaded and initialized until they are called for the first time. If you want to avoid this type of delay, use the "load-o

Re: Tomcat vs. other app servers

2001-04-18 Thread Scott Tatum
Everything remained the same except swapping JRun with Tomcat. Sun Enterprise 250 (1 gig RAM) Solaris 2.7 Apache 1.3.14 Tomcat 3.2.1 (mod_jk) I liked the nice web interface for JRun setup/admin, but IMO Tomcat has it beat just about everwhere else. -Scott -- Scott Tatum | [EMAIL PROTECTED] Sen

Re: Tomcat hangs under win 98

2001-04-18 Thread Ryan
linux does that too but tomcat is still running. Pressing return gives you the prompt back. Sure you dont just have to minimize the console window in 98?   - Original Message - From: Michael Burke To: [EMAIL PROTECTED] Sent: Wednesday, April 18, 2001 6:30 PM S

RE: newbie

2001-04-18 Thread William Kaufman
I think you're seeing something different, assuming you are using servlets and not JSP: as others say, JSPs need to be compiled, but servlets don't. Are you seeing a delay in starting up (i.e., until it stops using CPU), or in handling the first request?

Javadoc ignores sourcepath

2001-04-18 Thread Chris Nolte
I am trying to generate Javadoc for a web application I have written. My build.xml file contains the target: However, when I say "build all" or "build javadoc", it appears to try to process all files in the application's root directory, i.e., one above the "src" directory. I am ab

Re: newbie

2001-04-18 Thread eric chacon
This is normal behavior-- The first time, it compiles your JSP into a servlet, and after that, the servlet's loaded and ready to go. When you have a production site running, you might want to call all JSPs once every time you deploy so your users won't have to wait the first time... Cheers,

Chris Nolte

2001-04-18 Thread Michael Burke
Thanks Chris you were right tomcat was running and I didn't realize it. Doh!!! - Original Message - From: Michael Burke To: [EMAIL PROTECTED] Sent: Wednesday, April 18, 2001 9:30 PM Subject: Tomcat hangs under win 98 Tomcat hangs under win 98 after the line

Re: Code Q.

2001-04-18 Thread eric chacon
Scott, You're asking some straight-forward Java questions that might be better addressed in one of the news groups (comp.lang.java, for example)--if you're not familiar with newsgroups check out www.deja.com (currently held hostage by google, but hopefully working soon). In the code, you're d

Re: newbie

2001-04-18 Thread Chris Nolte
This happens to me with my servlets--some of the time they take up to 30 seconds to load the first time. Is this normal behavior also? - Original Message - From: Anne Dirkse <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 18, 2001 6:40 PM Subject: Re: newbie > Congrat

Re: newbie

2001-04-18 Thread Anne Dirkse
Congratulations -- Looks like you set it up correctly. The lag that you notice the first time you visit a jsp is normal. What is happening is that JSP is being compiled into a servlet (which is what JSPs do) That will only happen the first time you access the JSP (unless you modify the source.) An

multipe instances of tomcat

2001-04-18 Thread time out
i have read all the documentation on workers and isapi_redirect.dll and the minimal user guide and i still don't understand how to get tomcat to run multiple instances. here is what i have: tomcat 3.2.1 win2k sp1 iis 5.0(the one that comes with win2k) isapi_redirect.dll so far i have been able

newbie

2001-04-18 Thread wa2n
Hi .. I'm newbie in jakarta (tomcat) I Just setting Up my Apache with jk_mod (tomcat) in linux but I found problems When FIRST time loading JSP, e.g lynx http://localhost/examples It's take a long time ( half a minute) to loading fisrt jsp page, but after that evertyng goes fine ??? My conf

Tomcat hangs under win 98

2001-04-18 Thread Michael Burke
Tomcat hangs under win 98 after the line "PoolTcpConnection: StartingAjp12ConnectionHandler on 8007". My internet connection is a dsl line if that has anything to do with it. Any help would be appreciated.

Startup problem

2001-04-18 Thread Michael Burke
Tomcat hangs under win 98 after the line "PoolTcpConnection: StartingAjp12ConnectionHandler on 8007". My internet connection is a dsl line if that has anything to do with it. Any help would be appreciated.

Re: Problem under win98

2001-04-18 Thread Chris Nolte
I get the same thing, but Tomcat is running. Are you sure this isn't normal? Have you tried running a web application? - Original Message - From: Michael Burke <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 18, 2001 6:19 PM Subject: Problem under win98 > When I sta

Problem under win98

2001-04-18 Thread Michael Burke
When I start tmcat under win 98 it hangs after the line"PooltcpConnection: StartingAjp12ConnectionHandler on 8007" , my internet connection is a dsl line in case that has anything to do with it. Any suggestions would be appreciated.

Bug in tomcat3.2.1 RecycleBufferedInputStream class - or solution to ContextManager: error reading request:ArrayIndexOutOfBoundsException

2001-04-18 Thread Animesh Chaturvedi - US
Hi Tomcct 3.2.1 does not work with Kaffe JVM. When a request is sent to Tomcat you get following error ContextManager: Error reading request, ignored - java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(System.java:native) at java.io.BufferedInputStream.

JSPs with extra path info?

2001-04-18 Thread David Wall
I'm trying to get Tomcat 3.2.2b2 to handle a URL of the format: http://www.myeastside.com/app/GA.jsp/Test+word.doc?m=1&a=2 The idea is that I expect this to run my JSP called /app/GA.jsp. It should have some extra path string of "Test+word.doc" and two parameters that I can retrieve named "m" a

RE: Can Sessions be tracked via URL-rewriting?

2001-04-18 Thread William Kaufman
In your code, wherever you emit a URL--anchors, JavaScript calls,... -- Bill K. > -Original Message- > From: Robert Zazueta [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 18, 2001 1:48 PM > To: [EMAIL PROTECTED] > Subject:

Re: Tomcat vs. other app servers

2001-04-18 Thread Jeff Turner
We have found JRun 3.0 to be a fine product (as was it's 2.3 predecessor), and use it in many production environments. One should be careful to avoid unsubstantiated claims on this forum, lest it amount to FUD. That said, most of our developers use Tomcat for development. It is spec-compliant, do

javax.servlet.ServletException

2001-04-18 Thread Jessica Arroyo
Hi there!   I receive the following error trying to run a .jsp page.  I'm using Apache and Tomcat.    Internal Servlet Error:javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459)         at _0002fcards_0002ejsphello_jsp_3._j

RE: ** Does Tomcat need Restart **

2001-04-18 Thread Darrell Porter
My shutdown script does it for me =) -Original Message- From: Jann VanOver [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 18, 2001 2:24 PM To: '[EMAIL PROTECTED]' Subject: RE: ** Does Tomcat need Restart ** I hacked my tomcat startup script to blow away the work directory before rest

Re: Tomcat vs. other app servers

2001-04-18 Thread Jeff Kilbride
Hi Scott, That's great to hear. May I ask what environment you were running JRun under and is it the same environment you're now using Tomcat under? Thanks, --jeff - Original Message - From: "Scott Tatum" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 18, 2001 2:52 P

RE: Configuring Cold Fusion to run with Tomcat 3.2.1

2001-04-18 Thread Dave Bettin
Cold Fusion doesn't support Tomcat as a front-end webserver. I would recommend configuring ColdFusion with Apache. Once, you are succesful with that, then configure tomcat with apache. The httpd.conf file you keep mentioning is apache not Tomcat. Dave --- Jann VanOver <[EMAIL PROTECTED]> wrote:

acknowledgment from web client

2001-04-18 Thread eric leung
Hi, I have a servlet serves files for web browser. How can I know if the HTTP web browser had: 1) finished download 100% of the file, or; 2) only downloaded 50% of the file then click cancel, or; 3) only downloaded 70% then reboot the machine i think the TCP/IP layer (socket) will keep track of

Re: Tomcat vs. other app servers

2001-04-18 Thread Scott Tatum
Before using Tomcat, our group had spent several k's on JRun 3.0 application server. We have several Intranet applications that receive thousands of hits per day. Under JRun we were experiencing daily lockups. After Service Pack 2 for JRun 3 did not fix the problem, I tested out Tomcat 3.2.1. We

Re: Tomcat vs. other app servers

2001-04-18 Thread Mark Mynsted
"Tomcat is the Reference Implementation for the Java Servlet 2.2 and JavaServer Pages 1.1 Technologies. Tomcat is the official reference implementation for these complementary technologies." quoted from - - http://jakarta.apache.org/tomcat/index.html I could not have said it any better. :-)

RE: Configuring Cold Fusion to run with Tomcat 3.2.1

2001-04-18 Thread Jann VanOver
Oh -- so you're not using the Apache web server at all?    I see why you're stuck.  CF works well with Apache or IIS as the web server.  If you were to have one of these setups and then integrate that with Tomcat, it should work for you.  Given your situation,  I guess I can't help. ---

RE: Configuring Cold Fusion to run with Tomcat 3.2.1

2001-04-18 Thread Jann VanOver
Dave's point was that if you get CF running correctly with Apache, Tomcat shouldn't be an issue. If you don't start up Tomcat, does CF work properly with Apache? If so, then following Tomcat's instructions to make it work with Apache should do the task. -Original Message- From: Jake

Re: JDBC question

2001-04-18 Thread Jake Chin
I believe that's supposed to be doGet. -Original Message- From: Jann VanOver <[EMAIL PROTECTED]> To: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]> Date: Wednesday, April 18, 2001 2:40 PM Subject: RE: JDBC question >is that one method really named "deGet" ?? > >-Original Message- >From

Re: Configuring Cold Fusion to run with Tomcat 3.2.1

2001-04-18 Thread Jake Chin
So Dave, could you run that by me again. I have read the Cold Fusion docs and corresponded with their support desk. Their documentation doesn't make any reference to Tomcat. There are plenty of references to Apache 1.3, but not Tomcat. The doc says to modify the httpd.conf file but there is no

Tomcat vs. other app servers

2001-04-18 Thread Henrik Ross
Title: Tomcat vs. other app servers What are peoples opinions on Tomcat vs. other app servers?  Performance, scalability, security, reliability? Can Tomcat function in a real production business environment?

RE: JDBC question

2001-04-18 Thread Jann VanOver
is that one method really named "deGet" ?? -Original Message- From: Bo Wang [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 17, 2001 8:15 PM To: [EMAIL PROTECTED] Subject: Re: JDBC question Thanks for your help, here attached my servlet. I'm using win98 with Access 97, and set up a syst

Re: Configuring Cold Fusion to run with Tomcat 3.2.1

2001-04-18 Thread Jake Chin
Hi Jann,   Perhaps I misstated myself.  I'm running the Jakarta Tomcat 3.2.1 web server.  Yes, I had Tomcat installed and running before I installed cold fusion.    Do you have a similar platform?    Any help would be appreciated.    Jake   -Original Message-From: Jann VanOver

RE: Date problem with Tomcat/IIS

2001-04-18 Thread Jann VanOver
Yes! When you say cal.HOUR_OF_DAY (etc.) you're accessing a CONSTANT in the calendar object. What you want to use is the SimpleDateFormat class. It will do all that you need! Like this: SimpleDateFormat df = new SimpleDateFormat("dd-MM- hh:mm:ss"); then ... retVal = df.format(dt); a

RE: Configuring Cold Fusion to run with Tomcat 3.2.1

2001-04-18 Thread Dave Bettin
Tomcat shouldn't even be a issue. Read the coldfusion docs and compile and install mod_coldfusion with apache. You should be good to go. --- Jann VanOver <[EMAIL PROTECTED]> wrote: > But CF ISN'T a web server. It must work WITH a web > server. It doesn't > install properly unless you already h

Code Q.

2001-04-18 Thread Purcell, Scott
Hello, I am learning JSP and have done quite a few examples from the Core Servlets and JSP book. I apologize for asking this q here, but I am trying to learn Tomcat and put my whole picture together, and I figured that the people on this line, would probably know what these lines mean. Anyway, I

RE: ** Does Tomcat need Restart **

2001-04-18 Thread Jann VanOver
I hacked my tomcat startup script to blow away the work directory before restarting. Now I don't have to remember to do that anymore. -Original Message- From: Darrell Porter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 18, 2001 10:52 AM To: '[EMAIL PROTECTED]' Subject: RE: ** Does T

getSession(false)

2001-04-18 Thread Jason Novotny
Hi, I'm using the following snippet in my main servlet: public void service(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { HttpSession session = req.getSession(false); if (session == null) { System.out.println("session is null");

WML and JSP

2001-04-18 Thread Paul Yoon
Hello,   I am an user of Tomcat. I would like to make a few page for mobile user. Is it possible that HTTP users  and WAP users  can access same URL and get their own services? If it is, how it can be possible? How tomcat server kno

RE: Configuring Cold Fusion to run with Tomcat 3.2.1

2001-04-18 Thread Jann VanOver
But CF ISN'T a web server. It must work WITH a web server. It doesn't install properly unless you already have a web server installed. -Original Message- From: Tim O'Neil [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 18, 2001 2:08 PM To: [EMAIL PROTECTED] Subject: RE: Configuring Co

RE: Configuring Cold Fusion to run with Tomcat 3.2.1

2001-04-18 Thread Tim O'Neil
I'll bet he's trying to run Tomcat with the CF web server. Should be interesting to see how far you getJake... At 02:01 PM 4/18/2001 -0700, you wrote: >Are you actually running the Apache web server? Did you install this >before you installed cold fusion? > >The Cold Fusion support people are n

RE: Configuring Cold Fusion to run with Tomcat 3.2.1

2001-04-18 Thread Jann VanOver
Are you actually running the Apache web server?  Did you install this before you installed cold fusion?  -Original Message-From: Jake Chin [mailto:[EMAIL PROTECTED]]Sent: Wednesday, April 18, 2001 1:38 PMTo: [EMAIL PROTECTED]Subject: Configuring Cold Fusion to run with Tom

Problem response.sendRedirect

2001-04-18 Thread Connie Chan
Hi, Does anyone know what response.sendRedirect is supposed to behave? I'm developing an object to detect if the session is valid. All my servlets would call the function from this object (let say sessionChecker.checkSession(request, response) ) to check if a valid session exists. If there is

tomcat 3.2.2b3 mod_jk.log errors

2001-04-18 Thread Pogo Com
We are testing Tomcat on a very high usage site. Due to problems with Tomcat 3.2.1, we switched to the 3.2.2 beta versions. With the latest 3.2.2b3, the mod_jk.log file contains many messages of the form: [jk_uri_worker_map.c (184)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters

RE: Can Sessions be tracked via URL-rewriting?

2001-04-18 Thread Robert Zazueta
Nope. Where would I need to do that? In all of my servlets, or in the Tomcat code? -Original Message- From: William Kaufman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 18, 2001 1:42 PM To: '[EMAIL PROTECTED]' Subject: RE: Can Sessions be tracked via URL-rewriting? Are you asking T

RE: Can Sessions be tracked via URL-rewriting?

2001-04-18 Thread William Kaufman
Are you asking Tomcat to do URL re-writing (by calling HttpServletResponse.encodeURL())? -- Bill K. > -Original Message- > From: Robert Zazueta [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 18, 2001 1:35 PM > To: [EMAIL P

Can Sessions be tracked via URL-rewriting?

2001-04-18 Thread Robert Zazueta
Fresh out of the "box", Tomcat appears to write the jsession ID to the users cookies exclusively, making those who don;t have cookies turned on for whatever reasons lose their session. Is there a way to configure Tomcat so that it writes the jsession via URL-rewriting for those folks without cook

Configuring Cold Fusion to run with Tomcat 3.2.1

2001-04-18 Thread Jake Chin
  The Cold Fusion support people are not familiar with the Tomcat server.    Can anyone help me with a configuration problem?    I'm having a problem with Cold Fusion Administrator.  I can bring up theCold Fusion Documentation page, but not the admin page.I'm running W98 and Apache-Tomca

Re: losing track of sessions

2001-04-18 Thread Kief Morris
Gerard Quinn typed the following on 06:22 PM 4/18/2001 +0100 >I am using Tomcat 4 beta 3 to develop a site. >Every so often if I have the "allow session cookies" option set in my browser, >My sessions get lost or invalidated or something. >If I disable this option and let the server use url rewrit

Re: SOLVED: tomcat 3.2.1 mod_jk.so & apache 1.3.14 problem

2001-04-18 Thread Pae Choi
Welcome to the bleeding edge of the open source projects. :-) Pae -Original Message- From: J. Doug Brown <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Wednesday, April 18, 2001 12:31 PM Subject: SOLVED: tomcat 3.2.1 mod_jk.so & apache 1.3.14 problem >Thanks for th

SOLVED: tomcat 3.2.1 mod_jk.so & apache 1.3.14 problem

2001-04-18 Thread J. Doug Brown
Thanks for the advice given. I downloaded the binary distribution for tomcat 3.2.1 and also grabbed the mod_jk.so from linux/i386 directory. After I grabbed the sources and rebuild mod_jk.so from scratch apache could talk to tomcat. What a PITA this has been trying to figure this one out for 2

Re: setting up tomcat and apache to run together

2001-04-18 Thread Tim O'Neil
Jeff's right, the links are either not there or very well hidden. I just happened upon the rpm's well after I had started using Tomcat myself. At 11:38 AM 4/18/2001 -0700, Jeff Kilbride wrote: >The other problem is that there are very few informative links on either the >Jakarta or the Tomcat sit

How to define a worker for IIS

2001-04-18 Thread Jack Li
Hello, In "Tomcat IIS HowTo", pre-condition is: A worker is defined to be a tomcat process that accepts work from the IIS server. What is the worker and where and how to difine it for IIS derver? Thanks a lot, Jack Li

RE: [ANNOUNCEMENT] Tomcat 3.2.2 beta 3 released

2001-04-18 Thread GOMEZ Henri
Return-path: <[EMAIL PROTECTED]> Received: from apache.org (h31.sny.collab.net [64.208.42.41]) by mail.prod-sc.respondtv.com (iPlanet Messaging Server 5.0 Patch 2 (built Dec 14 2000)) with SMTP id <[EMAIL PROTECTED]> for caius%prod-sc.respondtv.com@ims-ms-daemon (ORCPT [EMAIL PROTECTED]); Tue,

init/destroy counter ??

2001-04-18 Thread H.F.N. den Boer
A slight "problem" with some static variables. There are a number of servlet apps on my webserver. With one servlet, I can check the status. However, it seems the initial values of the static variables are reported, also when I know for sure that I have one or more instances "in the air". I'm wor

Date problem with Tomcat/IIS

2001-04-18 Thread H.F.N. den Boer
Made a class to do a number of usefull things. One of them is to get the prefix string for a custom servlet-log. In the generated string, the date is correct but the time is always the same. Example of return value: 18-04-2001 11:12:13 I'm working with; Win2K server, build 5.00.2195 IIS 5.0, co

Re: getting line numbers instead of (compiled code)

2001-04-18 Thread Christoph Kukulies
On Wed, Apr 18, 2001 at 02:05:59PM -0400, CPC Livelink Admin wrote: > > set an environment variable to disable to compiler - I can never remember > which one of these two it is, so I just set both (DOS example) : > > SET JAVA_COMP=NONE > SET JAVA_COMPILER=NONE Yep, this worked, Im getting now

RE: getting line numbers instead of (compiled code)

2001-04-18 Thread Darrell Porter
But doesn't BSD stand for Basic Standard DOS ? Darrell -Original Message- From: Christoph Kukulies [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 18, 2001 11:44 AM To: [EMAIL PROTECTED] Subject: Re: getting line numbers instead of (compiled code) On Wed, Apr 18, 2001 at 02:05:59P

RE: losing track of sessions

2001-04-18 Thread Gerard Quinn
Tassilo, I seem to be  having the opposite problem to you. When I enforce url rewriting it works fine but when I let the server use session cookies occasionally, what seems like at random, the session gets lost. I am running Tomcat 4 beta 3 as a standalone server and it was going like a bom

Re: getting line numbers instead of (compiled code)

2001-04-18 Thread Jeff Kilbride
Set an environment variable called JAVA_COMPILER to NONE. SET JAVA_COMPILER=NONE This will turn off the jit compiler. --jeff - Original Message - From: "Christoph Kukulies" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 18, 2001 9:16 AM Subject: getting line numbers

Re: getInputStream

2001-04-18 Thread Jeff Kilbride
Hi Georges, There is a very easy to use class for doing file uploads available from Jason Hunter, who wrote the original oreilly book on servlets, at his website: http://www.servlets.com/ Look for the com.oreilly.servlet package. I think it will greatly simplify what you are trying to do. There

Re: getting line numbers instead of (compiled code)

2001-04-18 Thread Christoph Kukulies
On Wed, Apr 18, 2001 at 02:05:59PM -0400, CPC Livelink Admin wrote: > > set an environment variable to disable to compiler - I can never remember > which one of these two it is, so I just set both (DOS example) : I looked in bin/tomcat.sh where java is started and tried with -nojit but my java

Re: setting up tomcat and apache to run together

2001-04-18 Thread Jeff Kilbride
The other problem is that there are very few informative links on either the Jakarta or the Tomcat sites. Do you realize that there is no link to the documentation anywhere? (or if it's there, it's impossible to find...) There are links to the FAQ, to the servlet spec and API, to the sun jsp pages

Re: mod_jk - DEAD END! [POSTSCRIPT]

2001-04-18 Thread Jeff Kilbride
Forgive the expression, but bullshit. :) The mod_jk compilation *is* trivial and since they don't list on the website what version of Apache or Linux the binary is compiled for, it's pretty much useless. I'd say the number one problem post I have seen since joining this list relates to the fact t

AW: losing track of sessions

2001-04-18 Thread Tassilo Pilati
Interesting... are you using Apache ? I`m running Tomcat 3.2.1 with Apache. When I use URL rewritting I run into problems becuase Apache does not passover the requests to Tomcat. It gets confused with the ;jsessionid string which Tomcat appends to an url to enforce session tracking using url

RE: apache virtual Hosting with tomcat

2001-04-18 Thread Darrell Porter
You may want to check out http://www.luminas.co.uk/technology/servlet/tomcat_virtual.html and http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-apache-howto. html#virtual_hosting -Original Message- From: C.M. Rahman (jr.) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 1

RE: getting line numbers instead of (compiled code)

2001-04-18 Thread CPC Livelink Admin
set an environment variable to disable to compiler - I can never remember which one of these two it is, so I just set both (DOS example) : SET JAVA_COMP=NONE SET JAVA_COMPILER=NONE Then start tomcat from that dos window, and life is good. -Original Message- From: Randy Layman [mailto:

RE: setting up tomcat and apache to run together

2001-04-18 Thread Darrell Porter
Because 1) Not everyone knows about them (unfortunately, Tomcat and Apache are downloadable from many places other than apache.org sites) 2) The how-to's are missing a few key pieces of information - not that they aren't good, but handing a how-to to a novice user is not the comple

Re: Getting the query string in a tag handler

2001-04-18 Thread Sam Newman
Its ok, I solved it. I just cast the ServletRequest from pageContext to a HttpServletRequest sam - Original Message - From: "Sam Newman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 18, 2001 4:52 PM Subject: Getting the query string in a tag handler > Does anyone k

RE: W2000 + apache 1,3 + tomcat 4

2001-04-18 Thread Darrell Porter
Tomcat 3.2.1 (Release) http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/win32/i38 6/ Tomcat 4 (beta 3) http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0-b3/ Apache 1.3 Windows 2000 Installation Packages http://httpd.apache.org/dist/httpd/binaries/win32/ For refe

RE: Servlet jar files

2001-04-18 Thread DONNIE HALE
Bear in mind that the unpacking of .war files is an implementation detail of Tomcat and is thus non-portable. Tomcat 4.0 has an option to not unpack the .war file but to execute directly from the .war file. WebSphere can deploy a .war file but unpacks it into a somewhat different directory stru

RE: ** Does Tomcat need Restart **

2001-04-18 Thread Darrell Porter
The only method whereby I have gotten it to repeatedly work correctly is to stop Tomcat, blow away the work directory and restart Tomcat. What would be useful is a method in which Tomcat, upon restart, automatically compiles all the JSPs in its defined contexts. Darrell -Original Message--

Re: How to read property files?

2001-04-18 Thread estutes
Thanks all that answered. I tried several of the suggestions, and here is what I finally came up with that works for me. I think it is portable enough to use in most any tomcat situation. File pf = new File(request.getRealPath("/myapp.properties")); BufferedInputStream is = new BufferedInputStrea

losing track of sessions

2001-04-18 Thread Gerard Quinn
I am using Tomcat 4 beta 3 to develop a site. Every so often if I have the "allow session cookies" option set in my browser, My sessions get lost or invalidated or something. If I disable this option and let the server use url rewriting my site works fine. Does anyone know if this is a se

RE: Servlet jar files

2001-04-18 Thread Rida Ligurs
Title: RE: Servlet jar files Thanks Ed. I didn't know that it gets unpacked when Tomcat starts up. -Original Message- From: Ed Gomolka [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 18, 2001 11:47 AM To: [EMAIL PROTECTED] Subject: Re: Servlet jar files The WAR file doesn't st

RE: getting line numbers instead of (compiled code)

2001-04-18 Thread Randy Layman
You are getting "Compiled Code" because the JIT engine has compiled your code into machine native format and it can't trace back to a line of .java code. I thought there was a command line option like -nojit, but checking just now I can't seem to remember how to figure it out. T

Re: WEB-INF/lib vs. TOMCAT_HOME/lib

2001-04-18 Thread Chris Bailey
I'm on RedHat Linux 6.2 i386, Apache 1.3.19, Tomcat 3.2.1. On 18 Apr 2001 12:50:31 +0100, [EMAIL PROTECTED] wrote: > I'm afraid to say its not a problem I've seen here. Which platform are you > running on? > > sam > > -Original Message- > > From: Chris Bailey [mailto:[EMAIL PROTECTED]] >

RE: WEB-INF/lib vs. TOMCAT_HOME/lib

2001-04-18 Thread Chris Bailey
My jasper.log file only says what the scratch directory is, and not to modify any generated servlets. It doesn't list any classpath stuff. On 18 Apr 2001 06:28:16 -0400, [EMAIL PROTECTED] wrote: > I haven't noticed this problem. I have however noted that when Tomcat > starts up it doesn't list

AW: worker.properties

2001-04-18 Thread Tassilo Pilati
Well, this file is in the conf directory of my tomcat installation. But I don`t get an error message -Ursprüngliche Nachricht- Von: Sam Newman [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 18. April 2001 15:36 An: [EMAIL PROTECTED] Betreff: Re: worker.properties The workers.proper

AW: Tomcat with Apache/URLRewritting and mod_rewrite

2001-04-18 Thread Tassilo Pilati
I`m using mod_jk and apj13, however I tried apj12 as well but it should not make a difference. Tomcat version is 3.2.1. You probably set the noCookies parameter to false. Then session tracking is implemented using Cookies and it probably will work. If you set it to false, then session tracking via

Help with refreshing servletContext please.

2001-04-18 Thread Alex Colic
Hi, I am implementing a method of caching lists that I want available to all my web users. I place lists in the servletcontext via: context.setAttribute("storeroomList",storerooms ); When the lists change I recall my cachelist method which gets the new data and then put the list back into t

Re: open source full-text-search-engines

2001-04-18 Thread Sebastian Schulz
hi, thank you all for your suggestions! bAs T.

RE: Servlet jar files

2001-04-18 Thread Rida Ligurs
Title: RE: Servlet jar files What I mean is that our servlet uses property files to determine various configuration parameters (logging levels, connection pooling, etc).  If I put these property files in the WAR,  how do they edit them? -Original Message-From: Sam Newman [mailt

Re: ** Does Tomcat need Restart **

2001-04-18 Thread Meir Faraj
and for jsp how to do this ? I've problem in reloading jsp (after few reloading) even if I delete the created class from the work/ROOT/ dirrectory. what I need to do ? - Original Message - From: "Scott Judd" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, Ap

apache virtual Hosting with tomcat

2001-04-18 Thread C.M. Rahman (jr.)
Hi, I am using unix apache to do virtual hosting. I have recently added tomcat and trying to configure virtual hosting. Is there anybody on the list setup a virtual site with tomcat successfully? I am failing to load servlet from virtual site. Thanks && C.M. Rahman Ne

  1   2   3   >