setAttribute behaviour when passing null as attribute

2001-05-30 Thread Thomas Krebs
Hope, this wasn't discussed already (I browsed through the list but didn't find it), if it was I apologize. What is the expected result of calling setAttribute on an instance of ServletRequest, if the attribute to be passed is null (i.e. request.setAttribute(someName, null))? I would expect that

Tomcat/IIS Installation Problem

2001-05-30 Thread ernest . a . dicicco
Gentlemen: I have installed a copy of Tomcat 3.2.1 onto an IIS system. I can process the "/examples/jsp/index.html" example fine. I am trying to make two custom applications work in this same environment with no success. I have created two new directories under "Tomcat/webapps" when I start

Re: Servlets and relative paths

2001-05-30 Thread Bo Xu
Chris McNeilly wrote: > Thanks Bo. This is certainly a step in the right direction. > > I can now include the xml file and xsl file using relative paths. My > only problem now is that there are xsl includes inside the xsl files and > they are still being loaded incorrectly (using the tomcat/bin

How to set not directy broswing allow

2001-05-30 Thread Jerry Villamizar
Hi. I would like to know how to set tomcat to do not allow the directory broswing Thanks in Advance Jerry - Original Message - From: "Frank Niedermann" <[EMAIL PROTECTED]> To: "tomcat-user Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, May 30, 2001 10:27 AM Subject: How to change

How to change the Tomcat web-root

2001-05-30 Thread Frank Niedermann
Hi, I've just installed Tomcat on my Debian-Server with apt-get install tomcat. The tomcat-files are now located in /usr/share/tomcat, but my Apache-WebRoot is in /home/httpd and I want tomcat also there. How can I change the WebRoot-Directory for Tomcat? I think it's the "webapps" directory in

RE: green and native threads

2001-05-30 Thread Jeff Crawford
Sorry, I hit the send button too soon, = : p Here's a link. And I meant "...replacing it with..." HotSpot and Native Threads. http://www.sun.com/software/solaris/java/wp-java/4.html;$sessionid$ZTC4I PIAABZPNAMTA1LU45Q#java

Re: servlet start-up

2001-05-30 Thread Milt Epstein
On Wed, 30 May 2001, Brian Elliott wrote: > "Silvestre Turija Jr." wrote: > > > > sorry for the intrusion, I am having the same problem > > "Internal Servlet Error" kindly inform me I you got a > > fixed on this bug. > > Based on another unrelated discussion on this list, I tried starting > tomca

RE: green and native threads

2001-05-30 Thread Jeff Crawford
Matt, We've looked into this and discovered that Sun is phasing out green threads and replacing it with Hot Threads in 1.3. -Original Message- From: Matt Dilley [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 30, 2001 2:45 AM To: [EMAIL PROTECTED] Subject: green and native threads

Re: tomcat+apache

2001-05-30 Thread Milt Epstein
On Wed, 30 May 2001, unplug wrote: > Thanks. > But I have read that it is better to start tomcat before apache as the > mod_jk.conf-auto will be generated for apache. Am I right?? So which > one should be started first?? I always start tomcat before apache, I seem to recall reading that was th

RE: Security Questions

2001-05-30 Thread William Kaufman
          From that class' javadoc:    *  Access control - find if a request matches any web-resource-collection *  and set the "required" attributes. * *  The spec requires additive checking ( i.e. there is no "best match" *  defined, but "all requests that contain a request path that m

RE: Re: Servlets and relative paths

2001-05-30 Thread Chris McNeilly
Thanks Bo. This is certainly a step in the right direction. I can now include the xml file and xsl file using relative paths. My only problem now is that there are xsl includes inside the xsl files and they are still being loaded incorrectly (using the tomcat/bin directory as root, not the serv

Re: servlet start-up

2001-05-30 Thread Tom . Hunter
Brian, Yesterday, I got an answer from Marty Hall (author of "Core Servlets & JSPs" ): Go to this URL and you'll get help: www.archive.coreservlets.com/Using-Tomcat.html Good Luck! Tom Hunter I/S Managed Health Care x6201

RE: Tomcat hanging

2001-05-30 Thread Michael Weissenbacher
i've started using java 1.3.1 a week ago and all thread releated problems known fron 1.3.0 seem to have disappeared michael -Original Message- From: Chris Janicki [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 30, 2001 3:39 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Tomcat

Re: Tomcat hanging

2001-05-30 Thread Chris Janicki
Are you using Java 1.3? If so, downgrade to the last 1.2.2.5 (or the latest 1.2). Java 1.3 has some very serious, and unfortunately very intermittent thread problems. Chris >> Original Message << On 5/30/01, 6:12:27 AM, "Heijns, P.J.B." <[EMAIL PROTECTED]>

Re: servlet start-up

2001-05-30 Thread Brian Elliott
"Silvestre Turija Jr." wrote: > > sorry for the intrusion, I am having the same problem > "Internal Servlet Error" kindly inform me I you got a > fixed on this bug. Based on another unrelated discussion on this list, I tried starting tomcat (embedded in jboss) first and then apache - and it fixe

AW: AW: Why doesn't this work:

2001-05-30 Thread Ralph Einfeldt
Sorry, but I'm not shure that I understand right. To verify that I unstood well so far: - Your code sniplet (info 2) is from the source advanced_section_result.jsp - info 1 is the desired effect of the for loop in advanced_section_result.jsp - If you directly use the sniplet info 1 instead o

RE: tomcat on Netware

2001-05-30 Thread Marc Saegesser
The NetWare binaries are there now. I can't build the binaries for every platform, so other volunteers build them and send them to me to be posted. Binaries for additional platforms will appears over the next few days. -Original Message- From: Mark Currie [mailto:[EMAIL PROTECTED]] Sent

RE: Servlets and relative paths

2001-05-30 Thread Ronald G. Louzon
I found this in the archives (http://marc.theaimsgroup.com ). You might search them for more info if this doesn't work. If you put the file in your servlet's classpath, this code, which in this case is accessing a properties file, should allow you to access the file. - InputSt

RE: Can You Dynamically Reloading web.xml?

2001-05-30 Thread Michael Wentzel
> If I have webapp named "a" & "b", is it possible to: > > (1) dynamically add "c" without restarting the tomcat service thereby > affecting "a" & "b"? Someone correct me if I'm worng here but I believe the answer is yes, but you would have to reference it in relation to the root webapp. In oth

RE: change default servlet

2001-05-30 Thread Michael Wentzel
> when deploying a WAR file I always need to add the WAR file > name before the > "/servlet/" > for example: if the WAR file name is Tash.war when posting to > a servlet I > need to write /Tash/servlet/servletName. > On the IDE I'm using (Forte for java)the default servlet uri > is /servlet/ >

Can You Dynamically Reloading web.xml?

2001-05-30 Thread Jeff Trent
If I have webapp named "a" & "b", is it possible to: (1) dynamically add "c" without restarting the tomcat service thereby affecting "a" & "b"? (2) redeploy "a" without restarting the tomcat service? Thanks.

RE: change default servlet

2001-05-30 Thread Asa Bar-David
Thanks for the reply, when deploying a WAR file I always need to add the WAR file name before the "/servlet/" for example: if the WAR file name is Tash.war when posting to a servlet I need to write /Tash/servlet/servletName. On the IDE I'm using (Forte for java)the default servlet uri is /servlet

problem running tomcat in secure mode

2001-05-30 Thread niraj
i have an application in servlet and jsp in directory format in /myapp   i have put  the /myapp in  c:\sites\myapp   i have created a host int server.xml file like          docBase="c:\sites\myapp" />  now i start the tomcat in secure mode by giving command   sta

RE: format of uriworkermap.properties file?

2001-05-30 Thread Ignacio J. Ortega
AFAIK, you need to declare a "foo" context too.. because if you does not have a "foo" context the redirection should work but Tomcat does not find "/foo/b.xml" at all.. Its only a weird tought, Donald. Saludos , Ignacio J. Ortega > -Mensaje original- > De: Donald Ball [mailto:[EMAIL P

RE: change default servlet

2001-05-30 Thread Randy Layman
Either create a mapping in the web.xml file (using and tags, or edit the server.xml file and change the ServletInvoker's prefix. The first is definitely the preferred method since its supported by the JSP Spec and doesn't affect any other servlets. The second is less flexible.

Re: AW: Why doesn't this work:

2001-05-30 Thread Terje Kristensen
I did what you asked me, and the files did get included, but it doesn't tell me much. To try an clear what I am trying to do: I want this url: http://localhost:8080/xsql/tek/advanced_section_result.jsp?opn=1&PCS=0AC10A&PCS=AAC10A To do this: (info 1)

change default servlet

2001-05-30 Thread Asa Bar-David
Hi, How can I change the default "/servlet/" uri when I am posting to servlets ?

Re: Connector

2001-05-30 Thread Andrea Mari
Thanks to all!

RE: Internal Server Error

2001-05-30 Thread Randy Layman
Your problem is that you didn't import the class. When Tomcat generates the classes, it puts them into packages according to your directory structure. All classes therefore have a package and any classes that are not in a package are not accessible unless each is explicitly imported. Y

RE: Tomcat Image Errors

2001-05-30 Thread Randy Layman
This message means that Tomcat wasn't able to find the file. It would appear that you are expecting the /images/qc.bmp file to be in the root webapp. Check that its there and check your configuration that the root webapp is where you expect it to be (look in server.xml file and look for

"reloadable = true", ok...but...

2001-05-30 Thread jsoriano
(i'm talking about re-deploying a WAR file without stopping Tomcat) how does this option affect to tomcat's efficiency? ...because i supose this option force Tomcat to check often its 'webapp' directory in order to look for new files. Regards: __ Jaume

Roll or cycle Logs

2001-05-30 Thread Jim Willeke
Is there a way to roll or cycle the tomcat log files? As tomcat appears to lock the file, the logs are not viewable until you shut down. Or am I missing something? -jim

Security Questions

2001-05-30 Thread Gerry Duhig
Hi!   I have Tomcat setup, actually running with JBoss, and I am looking at security.   I can setup an application with a login-conf in web.xml, but I cannot see who or what handles that. Is it Tomcat directly, or some loaded subsystem?   In detail: In my server.xml file I have the following

Asking tomcat "Whats the current Config"

2001-05-30 Thread Andy C
This is probably simple, something I've missed in the documents. I want to ask a running tomcat what it's configuration is ? I.E I'd like to access a webpage such as http://myhost.com:8080/Config.html and get a response that shows which AJP is loaded etc Any ideas ? Ta Andy C

A little help, please

2001-05-30 Thread James Philip Dossey
I am trying to install the tomcat server software on my computer and I am having a little trouble.  My operating system is Windows 2000 pro.  I have modified the wrapper.properties file to point to my jdk1.3.0_02 file and my jakarta-tomcat-3.2.1 file.  I have also downloaded the NT patch jk_

BASE64Decoder not found in JSP - why?

2001-05-30 Thread S . Schörner-Richter
Hello,   I have to use the BASE64Decoder class which is available in sun.misc.* (import) because I am using Tomcat 3.2.2 and want to decode username and password from HTTP-Header. When writing a simple application the BASE64Decoder (like in BASE64Decoder decoder = new BASE64Decoder()) is foun

Re: xalan ApplyXSL sample servlet fails

2001-05-30 Thread Stan Devitt
The ApplyXSLT example also works under tomcat 3.2.2, the crucial thing being to include xalan.jar and xerces.jar in the CLASSPATH (and to exclude jaxp.jar and parser.jar.) Notes: 1. relative paths for dtd's etc. are relative to the webapps directory rather than the servlet context (bot

RE: simple Query

2001-05-30 Thread Bhat, Mahesh
In the Apache http.conf add/change entry for ServerName something like this ServerName a054848.abbey Add what ever name you want if you are on intranet - like www.tomcat.com then you can access your server/servlets using http://www.tomcat.com/snoop regards mahesh -Original Message- F

AW: Why doesn't this work:

2001-05-30 Thread Ralph Einfeldt
Are there no log messages from tomcat ? How do you know that the is not working? It might be working and the error is in the included page. To verify that, you could strip down the included page to something like: <% log(this.getClass().getName() + ": I'm included"); %> and see if this messag

Tomcat hanging

2001-05-30 Thread Heijns, P.J.B.
Hi, I have some problems with tomcat. Sometimes when I am using tomcat, and a some other users, tomcat hangs. Very strange. Some jsp pages are oke after the crash, but some not, I don't know when en why it crashes. But when it crashes, it are always the same pages that are oke and not oke. When I

RE: how to automaticaly redirect to SSL?

2001-05-30 Thread Pernica, Jan
Thank you for your prompt reply. I have set up you have described. But redirection did not work. I found that I have to set up redirection port in the context manager: in the server.xml because by default it is -1 so that tomcat tells the client it requires SSL communication.] After settin

simple Query

2001-05-30 Thread Parag S
I am using Apache 1.3.14 with Tomcat 3.2.2b on Solaris 2.6 and 2.7. I start tomcat and then I start apache. When I start apache it is throwing the following error - httpd:Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName. apachectl starts well, all serv

REPOST Please help! Virtual hosts on Tomcat4-3b

2001-05-30 Thread hische
Hi, I'm trying to run two virtual hosts on Tomcat4-3b on RH Linux 7.0. I try to give each host a default Context (ie a Context for path="") but I keep getting the error message: StandardContext[]: Error initializing naming context for context in the logs and HTTP Status 503 - This applicat

Re: tomcat+apache

2001-05-30 Thread Parag S
tomcat has to be started before apache David DELGRANCHE wrote: > You just have to start apache before starting Tomcat! > > David. > > -Message d'origine- > De: unplug [SMTP:[EMAIL PROTECTED]] > Date: mercredi 30 mai 2001 10:35 > A: tomcat-user > Objet: tomcat+apache > > Hi al

RE: how to automaticaly redirect to SSL?

2001-05-30 Thread Rams
Jan, Anyway, ur tomcat server is ssl enabled. once u enable server for ssl, there u specify the ssl-port and all. Depending on some criteria, u'll be redirecting to ssl using https. so use some condition for https and change the url accordingly.. To comm. thru' https, u hav

Re: tomcat+apache

2001-05-30 Thread unplug
That's what I have read before. So return to my question. What is the meaning of the messages below?? > > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, > > NULL parameter > > [jk_uri_worker_map.c (185)]: In > > jk_uri_worker_map_t::uri_worker_map_free, NULL parameters

how to automaticaly redirect to SSL?

2001-05-30 Thread Pernica, Jan
Hi I would like to automaticaly redirect client to use HTTPS if it is required. In the version 4.0 there is attribute "redirectPort". How can I set up this feature in the version 3.2.2? Thank you Jan __ Tato komunikace je urcena

Re: tomcat+apache

2001-05-30 Thread unplug
Thanks. But I have read that it is better to start tomcat before apache as the mod_jk.conf-auto will be generated for apache. Am I right?? So which one should be started first?? Rgds, unplug David DELGRANCHE wrote: > > You just have to start apache before starting Tomcat! > > David. > > -

Re: tomcat+apache

2001-05-30 Thread Egidijus Drobavicius
WRONG If you include generated configuration in apache conf, starting apache before tomcat means that you dont use or you use outdated config of tomcat. Therefore you always have to start tomcat first and apache second. Regards, Egidijus - Original Message - From: "David DELGRANCHE" <[EMA

Re: Where's a servlet log?

2001-05-30 Thread Egidijus Drobavicius
It is $TOMCAT_HOME/logs/servlet.log. You can set this to any file by modifying server.xml. This file is self explanatory Note, that log file is started from scratch each time you restart the server so you must take care of old log your self (i did this by modifying tomcat.sh script. Regards, Egid

green and native threads

2001-05-30 Thread Matt Dilley
Hi   I have been searching for a long time for a green threads version of java, and so far have only found one for v1.2.2 - from the java.sun site. Does anyone know of a green-threads installation for java v1.3.x?   Thanks

RE: tomcat+apache

2001-05-30 Thread David DELGRANCHE
You just have to start apache before starting Tomcat! David. -Message d'origine- De: unplug [SMTP:[EMAIL PROTECTED]] Date: mercredi 30 mai 2001 10:35 A: tomcat-user Objet: tomcat+apache Hi all, Just install tomcat3.2.2 and mod_jk.so. However, when I restart tomcat and t

tomcat+apache

2001-05-30 Thread unplug
Hi all, Just install tomcat3.2.2 and mod_jk.so. However, when I restart tomcat and then apache, I found the following message in mod_jk.log [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_m

Segmentation faults when invoking test servlets

2001-05-30 Thread Simon Ransome
Hi, Apols if this has already been answered: I've found a few references to it in the existing FAQ, but nowehere where it appears to have been answered. I've just installed Tomcat, which runs via Apache 1.3.12. Everything appears to be running fine, until I try to run one of the test jps apps in

R: Context

2001-05-30 Thread Davanzo Luca
Hi, You have to addthe tag to your web.xml file Look at the welcome-file-list configuration directive in conf/web.tdt, it is well explained there > -Messaggio originale- > Da: Heijns, P.J.B. [mailto:[EMAIL PROTECTED]] > Inviato: mercoledì 30 maggio 2001 10.05 > A: '[EMAIL PROTECTED]' > O

Where's a servlet log?

2001-05-30 Thread Davanzo Luca
Hi, When from a servlet i use the metthod HttpServlet.log(String, Exception) it apparentrly works but I cant' find the log file, neither in TOMCAT_HOME/log NOR ANYWHERE ELSE.. Where is it? or has the log method an empty implementation or what? Using tomcat 3.2 on winnt Thanks - dott. Luca Dav

Context

2001-05-30 Thread Heijns, P.J.B.
Hi, Does anybody know how I can map a page? I want that my www.test.com/test/login.jsp page immediately shows when I look at www.test.com/test. How does the context look? Thanks Pieter

tomcat and security manager

2001-05-30 Thread niraj
i have an application in servlet and jsp in directory format in /myapp   i have put  the /myapp in  c:\sites\myapp   i have created a host int server.xml file like          docBase="c:\sites\myapp" />  now i start the tomcat in secure mode by giving command   star

Why doesn't this work:

2001-05-30 Thread Terje Kristensen
Could anyone tell my why the error<% } } else { for(int i=0; i <%

Re:Who Can Provide Me org.hsql.jdbcDriver ?Thanks!

2001-05-30 Thread Twylite
Hi, >Who Can Provide Me org.hsql.jdbcDriver ?Thanks In Advance. http://hsqldb.sourceforge.net Twylite

Re:Problems with ResultSet

2001-05-30 Thread Twylite
Hi, >Statement s=cn.createStatement (ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY); > if (!rs.isFirst()) rs.previous(); > %> > <%=rs.getString(1)%><% > } > [Microsoft][ODBC Driver Manager] Invalid cursor state You never close

<    1   2