Re: HTTP Referer Field Not Appearing

2001-04-17 Thread Milt Epstein
asn't shown in getHeaderNames) -- this was something that had to be done because of the way this information was transferred from the web server to the servlet engine/container. I don't know if this is still the case. But try alternatives for "referer" (and/or check the ar

Re: problems unsubscribing

2001-04-17 Thread Milt Epstein
uch. Have you read this (and tried what it suggests)?: http://marc.theaimsgroup.com/?l=tomcat-user&m=98648985324332&w=2 Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]

Re: ** Does Tomcat need Restart **

2001-04-17 Thread Milt Epstein
ways need to restart > > Tomcat. > > > > Benoit > > > > > > Hi, > > > > > > Is there any option in tomcat CONFIGURATION by which, I can > > > instruct Tomcat > > > to restart automatically whenever a servlet gets modified (

RE: please unsubscribe me

2001-04-17 Thread Milt Epstein
YLOR [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, April 17, 2001 8:05 AM > > To: '[EMAIL PROTECTED]' > > Subject: please unsubscribe me > > > > > > please take me off this list. > Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]

RE: Tomcat monitor/poller/email

2001-04-16 Thread Milt Epstein
t; > > To: [EMAIL PROTECTED] > > > Subject: Tomcat monitor/poller/email > > > > > > > > > Has anybody out there set anything up that will email them in the > > > event the Tomcat would crash or not be running? (Or know of free > > > soft

Re: Require help

2001-04-16 Thread Milt Epstein
new (2.3) servlet spec that will address loading/startup of non-servlet classes. At least, I remember that being "on the list" some time back. The 2.3 spec (draft) is up at java.sun.com, so you can check there. Milt Epstein Research Programmer Software/Systems Development Group Comp

RE: Remove me from list

2001-04-16 Thread Milt Epstein
IL PROTECTED] > Subject: Remove me from list > > > Please remove me from this mailing list. > Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]

Re: obtaining the url

2001-04-15 Thread Milt Epstein
you arrived at page2.jsp by clicking from > page1.jsp? Try getting the referer header (not sure of exact spelling or capitalization). Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana

Re: Servlet -- SingleThreadModel

2001-04-13 Thread Milt Epstein
u need to about concurrency, analyze your code, and make it handle it as best/easily as possible. Avoid concurrency issues as much as possible, and when unavoidable, limit it to the smallest block possible and synchronize it. Milt Epstein Research Programmer Software/Systems Development Group Com

Re: Dates in Java

2001-04-06 Thread Milt Epstein
useful and friendly) since I joined, so this probably isn't something to be concerned about (on either side). > - Original Message - > From: "Milt Epstein" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, April 06, 2001 7:05 AM > Subject: Re

Re: Dates in Java

2001-04-06 Thread Milt Epstein
little large but it also makes it > easier > > > for other > > > developers to figure out where to look for source. Another is to code > it as > > > java.sql.Date d = new java.sql.Date(); > > > > > > --- > > > Michael Wentzel > > > Software Developer > > > Software As We Think - http://www.aswethink.com > > > > -- > > Cordialement, > > > > > > Stéphane BAUDET > > > > _ > > GL Trade > > 48, rue Notre Dame des Victoires - 75002 Paris > > Tel : 01 53 40 43 12 (interne 1312) > > Fax : 01 53 40 01 40 > > Email : [EMAIL PROTECTED] > > _ > Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]

Re: can SSL an non-SSL run at the same time??

2001-04-05 Thread Milt Epstein
?? > > > Date: Thu, 05 Apr 2001 09:47:48 -0400 > > > > > > I have setup the Tomcat 4.0b1 running with SSL. Is it possible to run > > > non-SSL in a different context?? It seems to me that whenever i turn on > > > SSL all context will be listening on SSL port. > > > > > > Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]

Re: mod_jk.conf-auto problem

2001-04-05 Thread Milt Epstein
f there were some way to specify that such things be included in the conf-auto file, but I don't know that one currently exists. Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]

RE: how to unsubscribe this list?

2001-04-05 Thread Milt Epstein
om: Trakhtenberg, Victor [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 05, 2001 7:41 AM > To: '[EMAIL PROTECTED]' > Subject: how to unsubscribe this list? > Importance: High > > Hello! > Does anyone how to unsubscribe this list? > I've tried to send emai

Re: can SSL an non-SSL run at the same time??

2001-04-05 Thread Milt Epstein
EMAIL PROTECTED]" > Subject: can SSL an non-SSL run at the same time?? > Date: Thu, 05 Apr 2001 09:47:48 -0400 > > I have setup the Tomcat 4.0b1 running with SSL. Is it possible to run > non-SSL in a different context?? It seems to me that whenever i turn on > SSL all context w

RE: timestamps for mod_jk log

2001-04-04 Thread Milt Epstein
) > > Next choice is TC 3.3 (a beta must be out before too long) > and use mod_jk or wait TC 4.0 and mod_webapp. So, what are the pros/cons/considerationgs in going to 3.3 or 4.0 from 3.2? (Not to instigate anything between the various developers :-). Milt Epstein Research Programmer

RE: timestamps for mod_jk log

2001-04-04 Thread Milt Epstein
>Sent: Wednesday, April 04, 2001 11:08 PM > >> >To: [EMAIL PROTECTED] > >> >Subject: timestamps for mod_jk log > >> > > >> > > >> >Can anyone tell me how to generate time-stamps in the mod_jk.log? > >> >I assume that thi

RE: timestamps for mod_jk log

2001-04-04 Thread Milt Epstein
e mod_jk.log? > >I assume that this is an Apache configuration issue, and I've been > >looking through the Apache docs, but I haven't been able to > >figure it out. > >Thanks in advance. > >Ed ([EMAIL PROTECTED]) > > > Milt Epstein Research Programm

RE: Session problem -- sessions being recreated, browser related?

2001-04-04 Thread Milt Epstein
t's being passed back and forth on the request/response.) > -Original Message- > From: Milt Epstein [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 4 April 2001 6:07 AM > To: [EMAIL PROTECTED] > Subject: Session problem -- sessions being recreated, browser related? >

Re: session + cookie

2001-04-04 Thread Milt Epstein
mandated by the spec. Why do you want to, i.e. what are you trying to do? Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]

RE: 2nd Post: Servlets and mod_jk problem -- thanks!

2001-04-04 Thread Milt Epstein
is, or is going to be, case-sensitive on all > >platforms. Maybe that's for 4.0. > > Didn't it change between 3.1 and 3.2? I seem to recall having fun > with that one, especially on the URLs. Maybe so, I don't remember exactly, I just remember seeing it somewhere. M

Re: Session problem -- sessions being recreated, browser related?

2001-04-03 Thread Milt Epstein
ssions. I think it just has something to do with the cookie handling that is getting screwed up. Like apache/tomcat not getting the session cookie back, so it thinks there's no session. (And recall that this is something that was apparently working fine a few weeks ago when we were using NES/

Session problem -- sessions being recreated, browser related?

2001-04-03 Thread Milt Epstein
oes appear to be something Apache/Tomcat-specific. Thanks. Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]

RE: 2nd Post: Servlets and mod_jk problem -- thanks!

2001-04-03 Thread Milt Epstein
e. And on Windows, it generally isn't. Although I thought I saw some Tomcat-related documentation that indicated that Tomcat is, or is going to be, case-sensitive on all platforms. Maybe that's for 4.0. Milt Epstein Research Programmer Software/Systems Development Group Computing and

Re: java.lang.UnsatisifedLinkError

2001-04-03 Thread Milt Epstein
uot;Tomcat-User Archives" on the jakarta.apache.org page that lists the archives; the former has archives for a ton of lists, including a bunch of apache-related ones, and has a nicer interface.) Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]

Re: Storing property file

2001-04-02 Thread Milt Epstein
hat covers the changes from servlet spec 2.0 to 2.1 (I don't have the exact URL, but you should be able to find it from that info), and it talks about this there (page 7, near the bottom, "Writing to an abstract resource"). Take a look at that for details. Milt Epstein Research Pr

RE: 2nd Post: Servlets and mod_jk problem

2001-04-01 Thread Milt Epstein
> > test > > > com.tst.TestServlet > > > > > > test > > > /foo/bar/* > > > > > * TestServlet.class sits at > /opt/ja

Re: getServletNames()?

2001-04-01 Thread Milt Epstein
ments/updates to the book to cover the new servlet specs that came out in the interim. And the second edition is in fact already out (I haven't seen it myself, but that's what I've heard). > - Original Message - > From: "Milt Epstein" <[EMAIL PROTECTED]>

Re: getServletNames()?

2001-04-01 Thread Milt Epstein
s stuff is. > - Original Message - > From: "Milt Epstein" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, April 01, 2001 5:45 PM > Subject: Re: getServletNames()? > > > > On Su

Re: getServletNames()?

2001-04-01 Thread Milt Epstein
(including Loaded itself). > I know that this method has been deprecated in jdk1.3, which I'm > using, but it should work anyway. > Any suggestions? Why do you think it should work even if it's been deprecated? This method was deprecated long ago, in JSDK Spec 2.1, and doesn'

RE: 2nd Post: Servlets and mod_jk problem

2001-03-30 Thread Milt Epstein
the appropriate Mount directives to the tomcat/apache conf file. > On Fri, 30 Mar 2001, Milt Epstein wrote: > > > On Fri, 30 Mar 2001, Kyle Tippetts wrote: > > > > > Yes, tried this: > > > mydomain.com/test/foo/bar/myServlet > > > and it still did

Re: 2nd Post: Servlets and mod_jk problem

2001-03-30 Thread Milt Epstein
ences of Mount'ing a URL pattern like "/test/*" (as you conjecture), I'm not quite sure. > - Original Message - > From: "Milt Epstein" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, March 30, 2001 1:42 PM > Subject: Re: 2nd

RE: 2nd Post: Servlets and mod_jk problem

2001-03-30 Thread Milt Epstein
ecent post? Apparently he was able to get it to work by adding an appropriate ApJkMount directive. This does seem to be one of the less clear/less well-documented aspects of setting tomcat up. > -Original Message- > From: Milt Epstein [mailto:[EMAIL PROTECTED]] > Sent: Friday

RE: archives

2001-03-30 Thread Milt Epstein
> would have saved > > you some time and trouble - your JAVA_HOME is not set correctly. Some > > people will probably tell you that tools.jar is not in your > > classpath, but > > this is a side effect of not setting the JAVA_HOME variable > > correctly. (I

Re: 2nd Post: Servlets and mod_jk problem

2001-03-30 Thread Milt Epstein
ain.com/test/servlet/requestMap.Servlet1 or > mydomain.com/test/servlet/servlet1, everything works as it should. So, > Tomcat is not paying attention to the servlet-mapping entry. > > I think this is a problem, unless somebody has an explanation. I'm out of > ideas. [ ... ] Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]

Re: archives

2001-03-30 Thread Milt Epstein
HOME variable correctly. (It > should point to the JDK's root so that lib\tools.jar is an actual file. [ ... ] Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]

RE: 2nd Post: Servlets and mod_jk problem

2001-03-30 Thread Milt Epstein
e, whether it's in the JSP or HTML)? Also, the exact text of the error message in the log might suggest something. (I don't necessarily have an idea of what the problem is, just trying to throw out ideas that might turn into leads.) > -Original Message- > From: Milt Eps

Re: Tomcat version war?

2001-03-29 Thread Milt Epstein
ounds like 3.2.X is a little more ready for prime time, but beyond that, I'm not really sure (and I gather things are changing every day). Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]

Re: PLEASE fix mailing list bounces!

2001-03-28 Thread Milt Epstein
that are bad). I can save them and mail them to an appropriate person/entity next time I post something. Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]

RE: How to get request prameters in right order.

2001-03-27 Thread Milt Epstein
the parameter in sequence with: > > > > Enumeration yourEnumeration = request.getParameterNames(); > > while (yourEnumeration.hasMoreElements()) > >/*do something funny with */ > > request.getParameter((String)yourEnumeration.nextElement()) > > > > Hop

Re: how does apache pickup tomcat servlet mapping

2001-03-26 Thread Milt Epstein
, maybe something like: ApJServMount /promo-dev /promo-dev There may be some negative consequences of doing this, I'm not sure, so maybe there are better solutions. Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]

Re: tomcat/apache/solaris - redirecting stdout/stderr

2001-03-25 Thread Milt Epstein
On Sun, 25 Mar 2001, Anuj Agrawal wrote: > Thanks. That would do it. I guess i was hoping for some kind of > config file setting or something. 8) I think that's the way it's handled in 4.0, but I don't know of any such thing with 3.2. > Milt Epstein wrote: > &g

Re: tomcat/apache/solaris - redirecting stdout/stderr

2001-03-24 Thread Milt Epstein
e the stdout/stderr output to files. In fact, I actually have a script that does it. Basically, it makes a call like: /path/to/tomcat/bin/startup.sh > /somedir/stdout 2> /somedir/stderr Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Serv

RE: Why is my init method run twice?

2001-03-23 Thread Milt Epstein
hread safe, adding synchronization where needed -- this has been discussed extensively on sun's servlet-interest mailing list). > -Original Message- > From: Milt Epstein [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 23, 2001 8:17 PM > To: 'Tomcat

Re: Why is my init method run twice?

2001-03-23 Thread Milt Epstein
vlet code: > > public void init (ServletConfig config) throws ServletException > { > super.init(config); > bla-bla-bla. > // Load configfile if it exists. > configfile = config.getInitParameter("Config

Re: getting a context to run in SSL mode only

2001-03-22 Thread Milt Epstein
tag block? Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]

Re: logrotate question

2001-03-22 Thread Milt Epstein
let.log). How can I make it to restart only once > for rotating 3 log files?? > > Rgds, > unplug > Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]

Re: welcome-file problem

2001-03-21 Thread Milt Epstein
bug of this version of mod_jk? Wouldn't it be useful to post > it to the developers list? Don't know, although I suspect it's not a bug, probably just some details in your configuration need to be worked out. Much of what I was saying/suggesting were just conjectures, trying to com

Re: Help on how to set the idle session timeout

2001-03-20 Thread Milt Epstein
programmatically as well via HttpSession.getMaxInactiveInterval()). (According to the spec, the setting in the web.xml file is in minutes, the argument to getMaxInactiveInterval() is in seconds.) Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office

Re: welcome-file problem

2001-03-20 Thread Milt Epstein
protocol is. I'm wondering if this could be (part of) the problem. Because it seems like the URL you're using wouldn't be matched by either of the ApJKMount directives shown below. > > > my welcome looks like this: > > > > > > > > > works

Re: how can I get site wideSSL only

2001-03-19 Thread Milt Epstein
I only want to be able to run the > servlets and JSP in https. Anyone have any pointers Did you try putting all the tomcat/mod_jk/mod_jserv related apache directives in the tag block? Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Servic

Re: welcome-file problem

2001-03-19 Thread Milt Epstein
guess they're ApJKMount > > > directives. Anyway, look at the documentation for this conf file on > > > the tomcat web site. > > > > > > Milt Epstein > > > > Dear Milt, perhaps your theory is right, but take a look at this: > > I've renamed my

Re: welcome-file problem

2001-03-19 Thread Milt Epstein
to forward to tomcat everything for that context. And it is the context for which the welcome-file is specified. > my welcome looks like this: > > > worksheet.jsp > > > and my mod_jk.conf looks like this: > > # > # The following line mounts all JSP files and the /servl

Re: reload servlets?

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

Re: Different Servlets

2001-03-19 Thread Milt Epstein
specify that a servlet is started up when the container is started, but otherwise it controls the servlet lifecycle (and servlets are started up upon the first request to them). Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO)

Re: reload servlets?

2001-03-19 Thread Milt Epstein
way.) My first/best guess is that your servlets are on your classpath (perhaps instead of or in addition to being available to tomcat), and hence is being loaded by the system classloader, and hence is not subject to reloading. Milt Epstein Research Programmer Software/Systems Development Group

Re: Tomcat can't start by daemon in Digital UNIX V4.0F (alpha)

2001-03-18 Thread Milt Epstein
h', and then logout > > Login, and then Tomcat be stoped > > thank you!! ^^! Run it in the background by appending an "&" to the command, i.e.: startup.sh & People may suggest useing nohup, a la: nohup startup.sh & But with many/most shells, runn

Re: Starting Tomcat in Apache

2001-03-18 Thread Milt Epstein
: Starting Tomcat in Apache Date: > > >Fri, 16 Mar 2001 12:17:13 +1000 > > > > > >In Windows, does a batch script exit if any of the commands fails? If it > > >does not, the script will hang if startup.bat fails, or fails to produce > > >mod_jk.conf-auto.

RE: Is ajp12 a necessity..if so why

2001-03-18 Thread Milt Epstein
n docs that it is needed for Tomcat shutdown. > > So, bottom-line, is ajp12 needed for a stand alone > Tomcat? If so, why? > > > Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]

Re: Diff between servlet api ver 2.1 and 2.2

2001-03-16 Thread Milt Epstein
999/jw-10-servletapi.html You can also download the spec from Sun's site, off the servlets product page. Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]

Re: welcome-file problem

2001-03-16 Thread Milt Epstein
unt directives. Anyway, look at the documentation for this conf file on the tomcat web site. Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]

Re: How to configure mod_jk.conf-auto

2001-03-15 Thread Milt Epstein
D] wrote: > > > I was told there's no way to configure it. But tomcat 3.3-m1 > > seems to set ajp13 as the default. > > > > > > On Tue, 13 Mar 2001, [iso-8859-1] Jörg Petschat wrote: > > > > > Hallo, > > > > > > Where can

Re: database question

2001-03-15 Thread Milt Epstein
vlet-interest list, and has posted some updates there on how the book is going. Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]

Re: 'work' Folder--help??

2001-03-15 Thread Milt Epstein
the work > directory when it is first requested. [ ... ] FWIW, the .java files that JSPs are converted into are also placed in the work directory. If you're getting some compiler errors on a JSP, it can sometimes be helpful to take a look at the corresponding .java source file.

Re: Post method not supported....

2001-03-14 Thread Milt Epstein
implemented it, so I'm not sure what to make of that. Maybe you should verify the spelling, capitalization, access level, etc. of the method. Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]

Re: getInitParameter return null

2001-03-14 Thread Milt Epstein
x27;t know what it means that it worked with 3.1 and isn't with 3.2, but we just had a bit of discussion of get init-param's to work with JSP's. For one thing, you have to use a jsp-file tag instead of servlet-class in web.xml. And you might also have to set up a servlet-mapping

Re: Path args to Apache/Tomact (getPathInfo)

2001-03-14 Thread Milt Epstein
t; www.vlm.com/servlets/VS/servlet/LogonServlet/VLM > > To say: > > www.vlm.com/LogonServlet/VLM Again, you might be able to do this with some appropriate ApJServMount directives. It also might depend on how you have things set up with tomcat, e.g. what the contexts are

Re: organization

2001-03-13 Thread Milt Epstein
t; anyone have any better suggestion for organizing this problem. I don't see why the java source files have to go there. In fact, I'd think it would be a bad idea. You could put them anywhere, really, and use an appropriate javac command to get the compiled class files into that cl

RE: getServletContext null pointer exception

2001-03-13 Thread Milt Epstein
onnect()); %> > > <% out.print(select.select()); %> > > Format results > > > <%@ page import="java.util.Vector" %> > <% Vector aResult = select.getResult(); %> > > > <% for (int i=0; i < aResult.size(); i++) { %> > >

Re: confused by port 8080

2001-03-13 Thread Milt Epstein
eant when I said it was documented on the tomcat/jakarta site: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/uguide/tomcat_ug.html > Milt Epstein wrote: > > > On Tue, 13 Mar 2001, aras wrote: > > > > > Quick question. Embelish or not as you see fit. > > >

Re: Why we need apache web server with tomcat

2001-03-13 Thread Milt Epstein
p://jakarta.apache.org/site/mail2.html which in turn I found from :-): http://jakarta.apache.org/site/mail.html Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Ur

RE: getServletContext null pointer exception

2001-03-13 Thread Milt Epstein
xt is null. I'm not sure why else that would be. How are you calling the servlet? Is that happening in the JSP? Maybe it has something to do with that. Not sure what else to suggest at this point. > > -Original Message- > > From: Milt Epstein [SMTP:[EMAIL PROTEC

Re: confused by port 8080

2001-03-13 Thread Milt Epstein
dn't specify port 8080 in your URL's (instead specify the port for wherever Apache's running, or leave it out if it's using the default port(s)). This is documented at the Tomcat site (although it is confusing). Milt Epstein Research Programmer Software/Systems Develop

RE: getServletContext null pointer exception

2001-03-13 Thread Milt Epstein
>ResultSet myResult = Stmt.executeQuery("SELECT lst_nm from > > > person_profile ORDER BY lst_nm"); > > > > > >while (myResult.next()) { > > > result.addElement(myResult.getString(1)); > > >} > > > > > > // Clean up > > > myResult.close(); > > > Stmt

RE: multiple *.WAR's working together?

2001-03-13 Thread Milt Epstein
On Tue, 13 Mar 2001, Craig R. McClanahan wrote: > On Tue, 13 Mar 2001, Milt Epstein wrote: > > > On Fri, 9 Mar 2001, Richard Yumul wrote: [ ... ] > > > I guess what I really am asking is it possible to share the > > > HttpSession object between web apps? > &g

Re: Context not working when not in $TOMCAT_HOME/webapps

2001-03-13 Thread Milt Epstein
f you're not being "supposed to", more just that there may some cons to doing it that way. For example, you may have to add appropriate Directory/Location tags to protect access to them as documents from apache. On the other hand, if you have no particular reason for doing it this

RE: multiple *.WAR's working together?

2001-03-13 Thread Milt Epstein
by Sun. You might check there -- you can access the archives from: http://archives.java.sun.com/archives/servlet-interest.html > -Original Message- > From: Milt Epstein [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 09, 2001 9:59 AM > To: [EMAIL PROTECTED]; [EMAIL P

Re: where are my System.println results?

2001-03-12 Thread Milt Epstein
On Mon, 12 Mar 2001, Arnaud Vandyck wrote: > Milt Epstein wrote: > > > > On Fri, 9 Mar 2001, Jose Euclides da Silva Junior - DIGR.O wrote: > > > > > -BEGIN PGP SIGNED MESSAGE- > > > > > > Hi. > > > I would like to know where the

Re: Servlet via URL of the form http://my.domain.com/blah

2001-03-11 Thread Milt Epstein
/java.apache.org/jserv/install/index.html but unfortunately, that link wasn't working (it goes to http://www.servletcentral.com, which wasn't responding.) > >From: Milt Epstein Reply-To: [EMAIL PROTECTED] To: > >[EMAIL PROTECTED] Subject: Servlet via URL of the form > >

Servlet via URL of the form http://my.domain.com/blah

2001-03-11 Thread Milt Epstein
I added another directive ApJServMount /blah /blah and after that, I was able to use a URL of the form http://my.domain.com/blah as I originally wanted to. Hope this helps someone else. And if someone understands better exactly how the ApJServMount directive works, please feel free to fill in t

Re: executing a servlet.

2001-03-11 Thread Milt Epstein
servlet virtual directory in the URL is just "servlet", so your URL should be: http://127.0.0.1/examples/servlet/TEST It looks like the stuff in ..\examples\servlets\ are html files that document the example servlets included with tomcat. The servlet classes themselves are in ..\examples

Re: Webapp in another location

2001-03-11 Thread Milt Epstein
d on what's in the server.xml file. But, as someone suggested, it's probably a good idea to make a copy of that autogenerated file, modify is as needed, and "Include" that modified file (since the autogenerated one might not be 100% what you need). Milt Epstein Research

Re: HowTo install Package servlet? (part 2)

2001-03-10 Thread Milt Epstein
Craig McClanahan > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > > > > > > > > Sent via the WebMail system at mail.

Re: getServletContext null pointer exception

2001-03-10 Thread Milt Epstein
Result() { > return result; > } > >/** > * Mutator for result > **/ >public void setResult(Vector avector) { > result = avector; >} > > } // class DataBaseSelect > > > > > > > > >

Re: where are my System.println results?

2001-03-10 Thread Milt Epstein
ed to the window/tty where tomcat was started. As such, it's possible to capture them to files by redirecting stdout and stderr on the command line you use to start tomcat. Note: This is on UNIX, not sure how things would be on Windows. Milt Epstein Research Programmer Software/Systems Develo

Re: where do i increase memory heap?

2001-03-10 Thread Milt Epstein
OMCAT_OPTS and adds that to the call to java. (I'm talking UNIX here, I'm not sure about how it works on Windows -- although it does look like it uses the TOMCAT_OPTS environment variable in tomcat.bat.) Milt Epstein Research Programmer Software/Systems Development Group Computing and C

Re: multiple *.WAR's working together?

2001-03-09 Thread Milt Epstein
7;t deploy the individual app's > separately. > > If I'm missing the bigger picture, somebody please enlighten me. :) Thought off the top of my head: Will crossContext help with this? That's a property of contexts that you set up in server.xml. According to the comments there

Re: context.getInitParameter()

2001-03-09 Thread Milt Epstein
note you mention getInitParameter() (even though you indicate above that you're using getAttribute()). Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]

Re: solved-Re: config.getInitParameter() still returning null

2001-03-08 Thread Milt Epstein
servlet parameters. A context is basically a web application, so context parameters are intended to be use for application-wide parameters. Servlet parameters are only for a specific servlet (i.e. a subset of the application). Sure, you can avoid using servlet parameters, and only use context parameter

Re: solved-Re: config.getInitParameter() still returning null

2001-03-08 Thread Milt Epstein
On Thu, 8 Mar 2001, Milt Epstein wrote: [ ... ] > > > Testy > > > <%@ page > import="java.util.*" > %> > <%! > Enumeration names; > String name; > %> > > The value of init parameter var1 is: > <%= > get

Re: solved-Re: config.getInitParameter() still returning null

2001-03-08 Thread Milt Epstein
t it in /webapps/blah/, and it did work. I'm not sure I fully understand why that is, but at least I did get the init-param's working. Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Cha

Re: A solution to the multiple calls of init problem

2001-03-08 Thread Milt Epstein
the following lead to distinct servlet instances: http://www.my.com/myapp/servlet/foo http://www.my.com/myapp/servlet/com.my.foo and will cause init to be called twice on the underlying servlet-class. Milt Epstein Research Programmer Software/Systems Development Group Computing and Communic

RE: Classloader problems - multiple versions of JAR files

2001-03-08 Thread Milt Epstein
TED] > > ----- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Servic

Re: config.getInitParameter() still returning null

2001-03-08 Thread Milt Epstein
1 http://groups.google.com/groups?hl=en&lr=&safe=off&th=9eb4e0cd3b0f1fb6&rnum=9&seld=958627636&ic=1 Actually, I don't know if these URLs will work outside the context of my search -- if not, go to the google advanced newsgroups search page at: http://groups.google.com/adva

Re: tomcat ssl config and apache

2001-03-07 Thread Milt Epstein
to set anything extra up (i.e. to get Tomcat working with it). If you're using Tomcat standalone, I believe there are some extra steps involved (check the comments in the server.xml file). Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Service

Re: servlet reloading issue with native library

2001-03-05 Thread Milt Epstein
On Mon, 5 Mar 2001, Milt Epstein wrote: > When tomcat tries to reload my servlet, I get the following error > message: > > java.lang.UnsatisfiedLinkError: Native Library ... already loaded in another >classloader > > (This is for a native library that I have and am expli

servlet reloading issue with native library

2001-03-05 Thread Milt Epstein
When tomcat tries to reload my servlet, I get the following error message: java.lang.UnsatisfiedLinkError: Native Library ... already loaded in another classloader (This is for a native library that I have and am explicitly loading in my code.) Is there any way around this? Thanks. Milt

RE: Tomcat usability as a WebServer?

2001-03-05 Thread Milt Epstein
On Mon, 5 Mar 2001, Milt Epstein wrote: > On Mon, 5 Mar 2001, Brett W. McCoy wrote: > > > On Mon, 5 Mar 2001, Samson, Lyndon [IT] wrote: > > > > > But but but... tomcat does serve static pages. It can be used as a > > > stand alone web server, and with a si

RE: Tomcat usability as a WebServer?

2001-03-05 Thread Milt Epstein
meone creates mod_jperl or something. :-) This thread just goes to prove the old mailing list/newsgroup adage, the best way to get responses is to post incorrect information :-). On a related note, I'm assuming it's possible to disable Tomcat as a standalong web server (i.e. to just use

RE: webapp icons, disabling directory listings, and tagsin web.xml

2001-03-04 Thread Milt Epstein
use mod_rewrite (which I haven't tried yet, but plan to) Anyway, sounds like this will be easier to do with the new 2.3 spec. Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (

<    1   2   3   4   5   6   >