RE: web.xml layout

2001-05-19 Thread CPC Livelink Admin
I believe that the web.xml is parsed using the DTD, so rearranging the elements will make it complain that the format of the file is incorrect. Even if you find a container which lets you rearrange, the spec says you should follow the DTD. So to be portable . . . . Regards, Paul -Original

RE: Why does Internet Explorer think it is offline?

2001-05-07 Thread CPC Livelink Admin
I have found that IE really wants to have the HTTP:// in front of the localhost - On mine, it wants to change localhost:8080/whatever to local:8080/whatever and I get a similar error to what you mention. Could this be part of your problem? -Original Message- From: RODGERS,RICK (HP-Cuper

RE: [ERROR] OutputStream is already being used for this request

2001-05-01 Thread CPC Livelink Admin
Why do you need to use a JSP - The JSP is designed to product HTML output, and as such will always grab the writer and set the content type to text/html. What is wrong with just using the servlet, perhaps with an extention mapping . . . -Original Message- From: Tali Ambar [mailto:[EMAIL

RE: Detect Browser "Disconnect"

2001-04-30 Thread CPC Livelink Admin
Put a heartbeat on the client - Use either an applet or a form with a timeout before it resubmits. If you don't get the heartbeat at the server, than terminate the background thread. (This assumes that the initiat processing can be put in a background thread.) -Original Message- From: R

RE: Wierd Casting Problem. Tomocat Bug?

2001-04-29 Thread CPC Livelink Admin
Are any of the classes you are using defined outside of the web app. That is, are you using any libraries, or class files which you specify on the classpath prior to tomcat starting, which may also be in your web-app. It is situations like this which the more experienced folks point to as the c

RE: Forwarding

2001-04-28 Thread CPC Livelink Admin
Create an frameset document with one frame. Your servlet produces the frameset, the target of the one frame is the new URL you want. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Zsolt Koppany Sent: Saturday, April 28, 2001 11:07 AM To: [EMAIL PROTECTE

RE: PLeeeeeeeeeeeeeeeeaseeeeeeeeeeeeeeeeeee help

2001-04-27 Thread CPC Livelink Admin
[EMAIL PROTECTED] Subject: Re: PLaseee help I tried everything accessing tomcat directly and even with Apache but it doesn't work. Are you writting the same kind of stuff in web.xml Thanks Shelly CPC Livelink Admin wrote: > > I just tried this on 3.2.1

RE: PLeeeeeeeeeeeeeeeeaseeeeeeeeeeeeeeeeeee help

2001-04-27 Thread CPC Livelink Admin
I just tried this on 3.2.1 and it worked for me. Are you accessing tomcat directly, or through IIS or Apache - If one of the latter, then you may need to specify the mappings for the new extention through the redirector. -Original Message- From: Shelly Dhiman [mailto:[EMAIL PROTECTED]]

RE: setAttribute/getAttribute problem

2001-04-26 Thread CPC Livelink Admin
Well, it works for me - that is I can set request attributes in a servlet and get them later in a JSP. Make sure you are using a forward, and not a response.sendRedirect is the only advice I can give quickly - but I'll think on it a while. Paul -Original Message- From: [EMAIL PROTECTE

RE: Problem mapping servlets to /servlets/*

2001-04-23 Thread CPC Livelink Admin
>From the 3.2.1 server.xml So to add /servlets, you would need something like this in your server.xml : -Original Message- From: Diego Castillo [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 9:42 AM To: [EMAIL PROTECTED] Subject: Problem mapping serv

RE: sealing violation

2001-04-23 Thread CPC Livelink Admin
>From what I have read on the list, this error is normally (99%) related to having mixed versions of the servlet jar's in your class path. Make sure that you are not sharing the servlet.jar from a previous version of the spec with the one distributed with tomcat. -Original Message- From

RE: AutoRefreshing of apps

2001-04-22 Thread CPC Livelink Admin
I believe the message I see on the stdout is RELOAD!! And my servlets/classes are reloaded most of the time. Occasionally I get a humorous message about the possibility never happening - Who put this code here? When I see that I smile and restart tomcat. -Original Message- From: War

RE: UnsupportedEncoding in server.xml (UTF8)

2001-04-19 Thread CPC Livelink Admin
  I think I have seen on the list that Kaffe and Tomcat do not play nice together.  I suggest you get another JDK to use. -Original Message-From: Xiaofeng Chen [mailto:[EMAIL PROTECTED]]Sent: Thursday, April 19, 2001 11:56 AMTo: [EMAIL PROTECTED]Subject: UnsupportedEncoding

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: Servlet reloading problems

2001-04-17 Thread CPC Livelink Admin
ition.) Thanks, Steve -Original Message- From: CPC Livelink Admin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 17, 2001 12:15 PM To: [EMAIL PROTECTED] Subject: RE: Servlet reloading problems Actually, it does work - you have to set the reload attribute to true in the server.xml - my e

RE: HTTP Referer Field Not Appearing

2001-04-17 Thread CPC Livelink Admin
On 3.2.1 it works for me. Make sure you are actually getting to the page using a method which would generate a referrer. Just typing the link in the browser address bar will not do it. You need to make a dummy html file with a link to your test page and click on the link to see it. -Origin

RE: Servlet reloading problems

2001-04-17 Thread CPC Livelink Admin
Actually, it does work - you have to set the reload attribute to true in the server.xml - my entry looks like this : -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 17, 2001 3:08 PM To: [EMAIL PROTECTED] Subject: Re: Servlet

RE: Question

2001-04-13 Thread CPC Livelink Admin
Run bin\startup from the TOMCAT_HOME directory -Original Message- From: George "Lifeguard" Flatman [mailto:[EMAIL PROTECTED]] Sent: Friday, April 13, 2001 9:09 PM To: [EMAIL PROTECTED] Subject: Question I have followed the intstructions posted at: http://jakarta.apache.org:8080/jyve-

RE: URGENT - Session stickyness lost with cookies disabled

2001-04-13 Thread CPC Livelink Admin
They are exclusive. Basically, for every link back into the web application that needs to maintain session, the programmer must call and EncodeURL function so that tomcat can add the JSESSIONID parameter to the URL at execution time. Apache URL rewriting allows the server to 'adjust' the incomi

RE: URGENT - Session stickyness lost with cookies disabled

2001-04-13 Thread CPC Livelink Admin
Tomcat does support url rewriting, but the developer must have written the web app to support it - otherwise no dice. -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED]] Sent: Friday, April 13, 2001 4:05 PM To: [EMAIL PROTECTED] Subject: RE: URGENT - Session stickyness lost w

RE: I couldn't get SOAP to work with Tomcat via IIS

2001-04-10 Thread CPC Livelink Admin
I have not had to create the virtual mapping in IIS - in fact, it seemed to confuse IIS more than not in our environment. -Original Message- From: Jann VanOver [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 7:50 PM To: '[EMAIL PROTECTED]' Subject: RE: I couldn't get SOAP to wor

RE: Session timeouts

2001-04-10 Thread CPC Livelink Admin
You could track the ValueBound event, and at binding time, make local references to the session objects you are interested in. Then when you are unbound, you do not need to worry about the order, since you have a local reference and can still get/change information on it. -Original Message--

RE: static reference to a method

2001-04-09 Thread CPC Livelink Admin
The problem is that you have not declared the method as static. So you need to either do this : (new dynamicContent.dynamicContent()).getSelected("A", "B"); or declare the function as static String getSelected(string a, String b) and call dynamicContent.dynamicContent.getSelected("A", "B");

RE: Closing ResultSet and Statement?

2001-03-20 Thread CPC Livelink Admin
ResultSets can and should be closed. They are not like normal classes with an iterator. ResultSets are created by Statements. Statements can and should be closed. When a statement is reused, it will close the resultset (if not closed already) that it previously supplied in order to get the new r

RE: Null pointer exception using Oreilly multipart classes on Sparc

2001-03-08 Thread CPC Livelink Admin
I have just recently seen this too. In my case, I had two upload fields. Whichever one was first, would not work, the second one would. I then upgraded to the Jan 2001 version of the oreilly stuff, and started getting your message. I suspect a client issue - I am using IE 5.5 SP1. I have not

RE: what's mean "wrong name." message?

2001-03-08 Thread CPC Livelink Admin
Looks like the file you have in com/filonet/jdf/servlet/UploadedFile.class is actually compiled from a class whose package is com/lgeds/jdf/servlet/ - It is not enough to move a class from one directory to another to change it's package. You must change the source and recompile. Regards, Paul -

RE: Newbie Question, this should be easy

2001-02-16 Thread CPC Livelink Admin
Well, there are two errors. One, you don't have the java compiler in your classpath. This is usually in a file called tools.jar. Second, the XML tag extentions are case sensitive. You will need to use jsp:usebean and jsp:setproperty (thought I can't remember if it is useBean and setProperty in

RE: Anybody doing doPost successfully ?

2001-02-16 Thread CPC Livelink Admin
I have successfully received post data in a JSP both using the getParameter and using the com.oreilly.servlet utility classes.    How are you sending the post data?  Are you using a web browser and form, or are you trying to post it yourself using an applet or something.  The process does w

RE: RequestDispatcher.forward() in Tomcat 3.2.1

2001-02-16 Thread CPC Livelink Admin
What Craig meant (I believe) by "prohibits you from modifying the response" is that the response has been committed and no more data can be sent. The html/other-data you are sending to the client is part of the response. When the forward returns, you are prohibited by the spec, from adding any mo

RE: Please help

2001-02-15 Thread CPC Livelink Admin
somebody is. Run netstat -a and examine the results. -Original Message- From: Binu Kamal [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 4:02 PM To: [EMAIL PROTECTED] Subject: Please help I installed tomcat on a solaris machine where Apache Server is running. When I ru

RE: (Off topic) How to know which hyper-link has been clicked?

2001-02-15 Thread CPC Livelink Admin
Look a the docs for the HttpServletRequest object. The short answer is that request.getRequestURI is probably what you want. -Original Message- From: Paul Yoon [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 9:32 AM To: [EMAIL PROTECTED] Subject: (Off topic) How to know whi

RE: Regarding support for tomcat server....................

2001-02-15 Thread CPC Livelink Admin
I think his point was that neither one was showing any value other than 1, because the JSP was always recompiled, and then reloaded. Thus the class variable was being reset to 0 as the class was reladed. -Original Message- From: Rick Roberts [mailto:[EMAIL PROTECTED]] Sent: Thursday, Feb

RE: Regarding support for jsp........

2001-02-14 Thread CPC Livelink Admin
This is working fine for me (I tested your code on my tomcat 3.2.1). It sounds like you have a file timestamp problem. Look at the timestamp on your JSP file and then the generated Java code. If they are on different filesystems or were created by different computers then they may be out of

RE: HttpUtil

2001-02-13 Thread CPC Livelink Admin
riginal Message- From: sun [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 10:15 AM To: [EMAIL PROTECTED] Subject: Re: HttpUtil yes, for get method, it is working, but I have to use post method. rgds sun -----Original Message- From: CPC Livelink Admin <[EMAIL PROTECTE

RE: are 3.2.1 Tomcat-IIS-Howto' docs valid for Tomcat4-IIS5-Win2k?

2001-02-13 Thread CPC Livelink Admin
As I understand it, the connector for 3.x will not work with 4.0 as it is. They are looking for people to help migrate the connector - so if you are willing . . . -Original Message- From: Grobe, Gary [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 13, 2001 12:02 PM To: '[EMAIL PROTEC

RE: HttpUtil

2001-02-13 Thread CPC Livelink Admin
tried, in array, it contains 5 values, 1,2,3,4,5, cann't get exactly which I selected. -Original Message- From: CPC Livelink Admin <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Monday, February 12, 2001 9:56 PM Subject: RE: HttpUtil A quick read o

RE: HttpUtil

2001-02-12 Thread CPC Livelink Admin
Title: A quick read of the docs for Interface ServletRequest reveal a snippet in the description of function getParameter :You should only use this method when you are sure the parameter has only one value. If the parameter might have more than one value, use getParameterValues(java.lang.St

RE: Tomcat 3.2 throwing a VerifyError at me

2001-02-12 Thread CPC Livelink Admin
An easy way to find it is to introduce an error in the JSP and look at Jaspers error message, which includes the full path to the file. -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Monday, February 12, 2001 9:38 AM To: [EMAIL PROTECTED] Subject: RE: Tomcat 3.2 t

RE: Using a servlet superclass

2001-02-11 Thread CPC Livelink Admin
Yes. Have your WorkerServlets implement a procedure called childInit or something, which is basically an empty procedure in the SuperServlet. Then call this function as the last (or first) call of the SuperServlet init function. This is much like how GenericServlet makes init() a convenience ca

RE: Configuration of Tomcat

2001-02-10 Thread CPC Livelink Admin
  This means that the tools.jar file was not put in your classpath.  Ensure that the JAVA_HOME environment variable is set or modify your batch files to specify it directly.  Tools.jar contains the javac compiler which Jasper uses to compile the code it generates from the JSP file.   Regards

RE: tomcat on win2k

2001-02-06 Thread CPC Livelink Admin
IE is pretty stupid that way. It does it to me and I am online all the time. The trick is to put the http:// in there explicitly, then it won't convert to local:8080 -Original Message- From: Peter Alfors [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 06, 2001 5:10 PM To: [EMAIL PROT

RE: Session ids (netscape)

2001-02-06 Thread CPC Livelink Admin
Yep, since it has no JSessionID on the url, it must (by definition) be without a session, so Tomcat creates one for it. -Original Message- From: Peter Alfors [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 06, 2001 4:51 PM To: [EMAIL PROTECTED] Subject: Re: Session ids (netscape) Th

RE: to switch contexts, do you have to change all your JSP URL's?

2001-02-06 Thread CPC Livelink Admin
HttpRequest.getContextPath() returns the portion of the request URI that indicates the context of the request. -Original Message- From: John Golubenko [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 06, 2001 2:26 PM To: [EMAIL PROTECTED] Subject: Re: to switch contexts, do you have t

RE: Speeding up database accesses

2001-02-05 Thread CPC Livelink Admin
Why is it a bad idea to use a session variable? -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 3:52 PM To: [EMAIL PROTECTED] Subject: RE: Speeding up database accesses One possibility (altough a bad idea) is to stick it into yo

RE: Speeding up database accesses

2001-02-05 Thread CPC Livelink Admin
While there are connection pools (I have not used them but others on the list can point you to them), I find the easiest solution is a session variable. Then make a function you can call with the session and db connection info. The function checks the session for the DB varaible. If it's not ther

RE: date

2001-02-02 Thread CPC Livelink Admin
What is the error message? It could be that if you did not import java.util.* and java.text.*, then it can't find the classes listed after the 'new'. Try it like this : <% java.util.GregorianCalendar cal= new java.util.GregorianCalendar(); java.text.SimpleDateFormat format = java.text.new S

RE: log files in tomcat

2001-01-31 Thread CPC Livelink Admin
Actually, these are files that are generated by the jk_nt_service helper application, not entries in tomcat. If you want to capture the output of tomcat, you need to either a) redirect the output to a file (on Unix you also need to redirect stderr, on Windows stdout and stderr are much the same

RE: Context Help

2001-01-30 Thread CPC Livelink Admin
Be careful with case. The directory name shoul dbe WEB-INF not Web-inf. Even though Windows ignores case, it still preserves case, and tomcat enforces the rules on case sensitivity despite windows. Also, the WEB-INF directory is protected, so no files will be served from there. Regards, Paul

RE: TOMCAT3.2 BUG

2001-01-27 Thread CPC Livelink Admin
Not having tried this since I don't use JBoss, here is my thought. The only difference between putting it in the main tomcat classpath and putting it in WEB-INF/lib is the class loader that is used (javas versus tomcats). Since I have quite successfully used tomcats in WEB-INF/lib, I am guessing

RE: java.sql.SQLException: Io exception: Broken pipe

2001-01-26 Thread CPC Livelink Admin
He's talking about a database connection pool. What looks like what is happening is that you open a connection to the DB once at the beginning, then save it for later. When you come back in several hours, the DB has dropped the connection, so when you try to use it, you get that message. If this

RE: Problems with context-relative path include directive

2001-01-25 Thread CPC Livelink Admin
The way it nehaves is that "/" is the root of your webapp. So, when doing things with the servlet container alone, you would reference the file as "/JSPHeader.jsp". If, however, you are sending something to the browser for it to get, then do "<%= request.getContextPath() %>/JSPHeader.gif" Somewh

RE: Tomcat 3.2.1 login and password of Admin context

2001-01-25 Thread CPC Livelink Admin
ubject: RE: Tomcat 3.2.1 login and password of Admin context That worked, thanks. I couldn't find context.xml in the 3.2.1 binary distribution. Thanks, Andy -Original Message- From: CPC Livelink Admin [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 25, 2001 11:18 To: [

RE: Tomcat 3.2.1 login and password of Admin context

2001-01-25 Thread CPC Livelink Admin
Title: RE: Tomcat 3.2.1 login and password of Admin context Add the role 'admin' to one of the accounts you listed. Then that account will work. (There is a blurb about this in the context.xml) -Original Message-From: Andy Scasso [mailto:[EMAIL PROTECTED]]Sent: Thursday, January

RE: Heartbeat/watchdog signal

2001-01-24 Thread CPC Livelink Admin
In the servlet container, you can start a thread and sleep there and do your check. You could build a servlet whose whole job is this, using the LoadOnStartup mechanism to get it to start automatically. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of A

RE: Actually RE: Tomcat processes... (to Christoph Rooms)

2001-01-24 Thread CPC Livelink Admin
I don't suppose your setup is using the parameters which set initial heap size on the java command line are they. My installs run 10% of the size you are quoting when run out of the box. Regards, Paul -Original Message- From: Christoph Rooms [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

RE: database question

2001-01-23 Thread CPC Livelink Admin
If you can get an ODBC Driver to the target database, then you can use access to export (File Menu then Export) the entire DB using an ODBC connection. I have dones this for Oracle once. -Original Message- From: Richard Diaz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 4:2

RE: properties files and tomcat

2001-01-23 Thread CPC Livelink Admin
Actually, there are good reasons to NOT do it that way. You may not have access to the file system for one, or the property file may be embedded ina JAR file. Whereas if you use the getResourceAsStream you don't have thise problems. However, if you need to access an arbitrary file, using FileInp

RE: problem with classpath and .jar files

2001-01-23 Thread CPC Livelink Admin
Did you create the jar with directories? -Original Message- From: André Alves [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 11:46 AM To: [EMAIL PROTECTED] Subject: RE: problem with classpath and .jar files I'm putting the .jar file into WEF-INF/classes/my.jar... I too try

RE: mod_jk - undefined symbol

2001-01-19 Thread CPC Livelink Admin
I finally got it working on a sparc which did not have gcc on it, using the ucb c compiler/libs/includes instead of the other one they have on there. It was still painful, but it worked. -Original Message- From: Mike Braden [mailto:[EMAIL PROTECTED]] Sent: Friday, January 19, 2001 11:00

RE: Tomcat trouble, can any good soul help ...

2001-01-18 Thread CPC Livelink Admin
Try netstat -a. This works on NT/2000/UNIX, I don't know if Win9X has it. -Original Message- From: Edson Carlos Ericksson Richter [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 18, 2001 4:00 PM To: [EMAIL PROTECTED] Subject: RES: Tomcat trouble, can any good soul help ... Hummm

RE: So can no one help with my Socket Write Error Question ?

2001-01-17 Thread CPC Livelink Admin
This has been discussed many times on this mailing list. I did a quick search through my archive and found these two snippets, neither of which I know anything about, but thought I would give them to you for your amusement. These were from messages on December 8, 2000. -- Snippet 1 -

RE: Transform get to post

2001-01-17 Thread CPC Livelink Admin
Well, this seems kinda silly, but you could build a response page with an HTML FORM which uses POST, and has all the values set the way you want, then use JavaScript to execute the Submit event on the form. Like This -Original Message--

RE: session between tomcat and IIS

2001-01-17 Thread CPC Livelink Admin
Could this be that the JSESSIONID cookie is scoped to the webapp. IE if your webapp is called FOO, then only pages below /FOO can get that cookie. Also, I am assuming you are on the same server, since cookies don't travel across servers. -Original Message- From: [EMAIL PROTECTED] [mailt

RE: unable to use ajp13 ...

2001-01-17 Thread CPC Livelink Admin
You need to make a copy of mod_jk-auto because it will alwys be generated with ajp12 connections. So make a copy, mod it to use ajp13, and refer apache to your copy instead of the auto file. -Original Message- From: Barclay, Tom [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 200

RE: getParameter() help

2001-01-16 Thread CPC Livelink Admin
I modded your code and made it a JSP so it was easy for me. The following URLs work as expected. You will need to change /livelink/ms to whatever webapp you use, I just put it in there cuz it was easy http://localhost:8080/livelink/ms/foo.jsp http://localhost:8080/livelink/ms/foo.jsp?cmd=load h

RE: Running tomcat

2001-01-16 Thread CPC Livelink Admin
Try removing the ending semi-colon on JAVA_HOME and TOMCAT_HOME -Original Message- From: Ezhil M [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 16, 2001 2:38 PM To: [EMAIL PROTECTED] Subject: Running tomcat Hi, Can anyone help me out.I tried running tomcat using tomcat run. I'm gett

RE: Apache

2001-01-16 Thread CPC Livelink Admin
Title: RE: Apache The WEB-INF directory is part of the war file. All a war file comprises is a jar of the entire webapp directory structure, making it easier to distribute than the entire directory. Tomcat unjars the war file for its ease. -Original Message-From: Christoph Rooms

RE: Running Tomcat as non-root user

2001-01-16 Thread CPC Livelink Admin
You may be able to write yourself some native code to do the switcheroo for you. Then use the java calls to the native call. The code to do the user switch is readily available (though I have not searched for it now, I have seen it before, and it is also available from apache subject to the ASL)

RE: Redirector Failure

2001-01-15 Thread CPC Livelink Admin
Just so that you know, I have had it working fin with NT 4.0 SP6 and tomcat 3.1 -Original Message-From: Craig O'Brien [mailto:[EMAIL PROTECTED]]Sent: Monday, January 15, 2001 12:50 PMTo: [EMAIL PROTECTED]; michael.paul3Subject: RE: Redirector Failure Have you created a

RE: Changing root directory

2001-01-14 Thread CPC Livelink Admin
If you just want to change where the root of your webapps will be, then just change/add the conf/server.xml file for the COntext Path whose docbase="/" -Original Message- From: Jose Ferrer [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 14, 2001 5:33 PM To: '[EMAIL PROTECTED]' Subject:

RE: Has extension mapping changed in 3.2?

2001-01-14 Thread CPC Livelink Admin
Tomcat 3.2 does not read the conf/web.xml file. You must put your changes in your webapps WEB-INF/web.xml file. -Original Message- From: Barry Fritchman [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 14, 2001 3:56 AM To: [EMAIL PROTECTED] Subject: Has extension mapping changed in 3.2?

RE: webapps are useless toys?!

2000-12-13 Thread CPC Livelink Admin
I think the idea is that Webapps are distinct self-contained applications and therefore should not depend on _anything_ outside of the webapp. If you have components which need to share session info, they _should_ be in the same webapp. You would then build your webapp as you would any applicatio

RE: 2 Configuration Issues

2000-12-12 Thread CPC Livelink Admin
The kill signal is 9, so 'kill -9 ' will kill tomcat. TO find out what ports are being used and by whom, use 'netstat -a'. grep can also be useful for that command. -Original Message- From: Jason Heddings [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 12, 2000 04:58 PM To: [EMAIL PR

RE: Reroute the output of a processed jsp page into a String

2000-12-12 Thread CPC Livelink Admin
One option is to use Java's URL capabilities and open a connection to tomcat, make the request, and capture the output of that in a ByteArrayOutputStream. Something like this, though I did not even try to compile it : URL url = new URL(yourURL); InputStream is = url.openStream(); ByteArrayOutpu

RE: security-constraint url-pattern not working

2000-12-10 Thread CPC Livelink Admin
This was discussed earlier. Here is a snippet from the post by Craig McClanahan : In your , you are specifying entries that are not legal according to the servlet specification (such as "*/WCFAdmin.jsp" and "*/wcfsystem"). The legal syntax only allows "*" wildcards at the *end* of the URL, no

RE: Error Messages

2000-12-08 Thread CPC Livelink Admin
Title: Error Messages At the risk of a 'me too' barrage, I have encountered the same message on many static items like images.  I was ignoring it since that pages worked, but it would be nice to know what it is. I did not see it in 3.1, only 3.2 on NT 2000 -Original Message-From:

RE: multipart requests and file uploads problems on the Apache connection

2000-12-08 Thread CPC Livelink Admin
That's interesting, since I've been doing that for some time now with no issues. -Original Message- From: Jose Euclides da Silva Junior - DIGR.O [mailto:[EMAIL PROTECTED]] Sent: Friday, December 08, 2000 03:20 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RES: multipart requests an

RE: who added this?

2000-12-08 Thread CPC Livelink Admin
I saw that the other day. It happened to me when I was trying to use the /servlet/ and I mistyped it as /servlets/. I was in a development cycle though, so there may have been other problems, but changing from /servlets/ to /servlet/ mad it stop. Maybe it is something similar? -Original Mes

RE: Tomcat under UNIX Newbie Question

2000-12-07 Thread CPC Livelink Admin
Actually, it should be the same as the contents of the ZIP file. The binaries are the same everywhere since java is 'portable.' Alos, there are both source and binary distributions, but neither is platform specific. -Original Message- From: Stuart Morse [mailto:[EMAIL PROTECTED]] Sent:

RE: posting to servlets from a url

2000-12-06 Thread CPC Livelink Admin
ted or get from the servlets? I wanted to avoid putting security code in every servlet, one by one. -Original Message- From: CPC Livelink Admin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 06, 2000 5:16 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: posting to servlets fr

RE: posting to servlets from a url

2000-12-06 Thread CPC Livelink Admin
You could implement a simple locking mechanism. When you are about to access one of your classes, set a session or request scoped bean or session variable, and then in your servlets, check for that object, and then remove it. -Original Message- From: John de la Garza [mailto:[EMAIL PROT

RE: Can't find apxs command

2000-12-06 Thread CPC Livelink Admin
  My apxs was in apache/bin and it is indeed in perl.  If the perl interpreter is not found, than a likely error message will be that apxs is not found. -Original Message-From: Yong Boone [mailto:[EMAIL PROTECTED]]Sent: Wednesday, December 06, 2000 01:54 PMTo: [EMAIL PROTEC

RE: scope of a bean

2000-12-06 Thread CPC Livelink Admin
lear it up? Regards, Paul -Original Message- From: Peter Choe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 06, 2000 01:51 PM To: [EMAIL PROTECTED] Subject: Re: scope of a bean so... if i use a redirect like an action in a form, it creates a new bean? CPC Livelink Admin wrote: > &g

RE: Your thoughts on organizing multiple web apps

2000-12-06 Thread CPC Livelink Admin
I believe that what you have stated is the generally accepted practice, though some may argue that there is NO good time to put a jar in the TOMCAT_HOME/lib directory. If you are on a system that permits it, the use of links (hard or symbolic) is also suggested to reduce storage space requirement

RE: scope of a bean

2000-12-06 Thread CPC Livelink Admin
Also, are you using a forward or redirect? A redirect makes a new request from the browser, a forward does it all internally (ie same request). -Original Message- From: Edson Carlos Ericksson Richter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 06, 2000 12:48 PM To: [EMAIL PROTE

RE: SSL for SOAP on TOMCAT

2000-12-05 Thread CPC Livelink Admin
Not being a user of SOAP, my answer is that usage of SSH (openssh.org) to form a secure tunnel using port redirection would be effective. Then it matters not what versions you are using. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 06, 2

RE: Fwd:Re[2]: mod_jk and JDBC?

2000-12-05 Thread CPC Livelink Admin
Is this the thin driver or the one that requires OCI/client install. I have been successfully running the thin drivers against 8.1.6 for some time now (jdk 1.1.8) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Travis Low Sent: Tuesday, December 05, 200

RE: cgi-bin

2000-12-05 Thread CPC Livelink Admin
As has been mentioned earlier on this list, Tomcat does not have any CGI capabilities. This could, however, be implemented in a servlet. A general call went out to see if anyone was interested in writing one, but I did not see any takers. To implement what you want to work, you will need to pl

RE: is it possible to dynamically create and interpret JSP?

2000-12-04 Thread CPC Livelink Admin
Sure it's possible - depending on your JVM's security manager. If you have access to write to your document root directory, then you can write a file to that directory and then redirect/forward to it. It will then be compiled and executed. You will probably want to create a directory in the web

RE: tomcat.log file not found

2000-12-04 Thread CPC Livelink Admin
Title: tomcat.log file not found   The message 'Starting tomcat. Check logs/tomcat.log for error messages' is purely informational.  If there were any errors, they would be logged in a file of this name.   But to find the file, on windows, right click on my computer, select Find (Search on

RE: Remove me please.

2000-12-01 Thread CPC Livelink Admin
Unsubscribe both using the alternate method - From the list instructions you got when you first signed up : To unsubscribe from this list To stop subscription for an alternate account (e.g. [EMAIL PROTECTED]) send an eMail to [EMAIL PROTECTED] Encode al

RE: temporary page

2000-11-29 Thread CPC Livelink Admin
  Put your processing in a background thread.  Put a META Refresh tag in your HTML to refresh a monitoring servlet priodically. If the processing is not done, the monitoring servlet returns the same refresh tag, else it forwards/redirects to the real data you want to show.   Or you could lo

RE: Multipart stuff - inside JSP?

2000-11-27 Thread CPC Livelink Admin
I use it all the time in my JSPs. I don't understand why you are trying to embed the source in the JSP instead of just using it though - Here is how I use it : <%@ page language="java" import="java.io.*, java.util.*" errorPage="load-action-docs-error.jsp" %> 8< snip >8

RE: Getting servletinputStream from a specific field of the posted form?

2000-11-26 Thread CPC Livelink Admin
You need to get a multi-part post data handler. There is one at www.servlets.com (the O'Reilly servlets site) which is not wuite free (must buy the book to use it commercially), but does work well. If you browse the archive, (http://marc.theaimsgroup.com/?l=tomcat-user&r=1&w=2 is one archive),

RE: Shutdown problem

2000-11-26 Thread CPC Livelink Admin
  It is still the environment problem. The 2816 setting is just an estimate, since it will be affected by other environment variable you have set, what paths you choose to put things in etc.  Increase that number by a lot (be absurd in your first test) and try to shutdown.  You should not se

RE: how do I?

2000-11-21 Thread CPC Livelink Admin
Unsibscribe both using the alternate method - From the list instructions : To unsubscribe from this list To stop subscription for an alternate account (e.g. [EMAIL PROTECTED]) send an eMail to [EMAIL PROTECTED] so, therfore, email to : [EMAIL PROTECT

RE: can't get tomcat to compile...servlets.

2000-11-17 Thread CPC Livelink Admin
Not positive, but this may be that you did not specify tools.jar on your command line. I beleive I saw sometime a long time ago on this list that this was required to compile anything in-process. You probably will need to update the startup script to get it correctly (since it didn't get it itse

RE: getParameter is NOT a string?

2000-11-17 Thread CPC Livelink Admin
It is acting correclt. Both user and "admin" are java objects, and they are not the same one, even though they have equivalent string values. Object equivalence is what == tests. The test you want is : if (user.equals("admin")) { } Regards, Paul -Original Message- From: Winnie Cheun

RE: [Basic] JSP help!

2000-11-17 Thread CPC Livelink Admin
1. In a jsp you can use response.sendRedirect("") to send the browser an instruction to open another page. Forward does like you say - totally a server thing. 2. I believe it is request.getContextPath 3. Go to the Java site (www.javasoft.com) and go to their tutorial or search o

RE: Number of Instances

2000-11-16 Thread CPC Livelink Admin
Here's my humble attempt to explain. The single thread model says to the servlet container that your servlet should only be run on one thread only. Multithreading in the server is then implemented by creating multiple of your single thread model servlets, one for each thread that is required to

  1   2   >