Re: Servlet thread safety

2003-06-09 Thread G. Wade Johnson
That's what I figured. Oh well, time for a little minor reorganization of code. G. Wade John Corrigan wrote: No. Concurrent requests will most likely be be processed by the same instance of your Servlet class, however it is not guarantted. -Original Message- From: G. Wade

RE: how to unsubscribe - tried twice!

2003-06-09 Thread Keith Adams
David [EMAIL PROTECTED] org isn't a valid email address. I sent the email to [EMAIL PROTECTED] on Friday. And sent it from the address I used to subscribe. Thanks, Keith -Original Message- From: David Legg [mailto:[EMAIL PROTECTED] Sent: Mon 6/9/2003 9:49

Re: Urgent : Can we restrict access to a directory in tomcat

2003-06-09 Thread Dean Fantham
There is no guaranteed way to stop someone directly access a gif image via a browser url, because this is how an image is accessed by the browser itself anyways. The browser just makes a HTTP get request to the web-server (in this case tomcat) requesting the URL of the image to be included in the

Is possible to run JAX-RPC under Tomcat?

2003-06-09 Thread Vy Ho
Is JAX-RPC supported under Tomcat (out of the box)? Do I have to download some module for it? Or I have to run a separate server (such as Sun's J2EE or JBoss)? Is there some documents that you can point me to? Thank you very much in advanced. Vy Ho

Re: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-09 Thread Dominic Parry
Hi Sure can, here is an examples of mine: # Define the communication channel [shm] file=C:\Program Files\Apache Group\Tomcat 4.1\logs\shm.file size=1048576 [channel.socket:127.0.0.1:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 # Map the Tomcat examples webapp to the Web

Re: Urgent : Can we restrict access to a directory in tomcat

2003-06-09 Thread Scott Ahten
There is a very cool JSP/Servlet Filter developed for the Open For Business project which allows you to control what pages can be directly accessed via the address bar or other links. In other words, If someone tries to directly access a non authorized URL, instead of being sent there by

Re: Urgent : Can we restrict access to a directory in tomcat

2003-06-09 Thread Justin Ruthenbeck
Without more information about the intended application, this discussion will continue to become more academic and less directly useful ... but, really, what's wrong with that? ;) If your app needs to serve images for non-authenticated users, but you want to approximate security (as if you're

MBeanServer Fails - Admin Tool Won't Work

2003-06-09 Thread Michael Duffy
I've installed Tomcat 4.1.24 using the install .exe. I'm running Tomcat as a service on Windows 2000 using JDK 1.4.1. The install was smooth, and Tomcat itself runs just fine. I can use the manager tool without problem, and my Web apps are running nicely. But I get this exception in stdout.log

RE: Is possible to run JAX-RPC under Tomcat?

2003-06-09 Thread Shapira, Yoav
Howdy, Tomcat is a servlet container. It doesn't support all the web services APIs by itself. You can download JAX-RPC and a JAX-RPC implementation and use them in your tomcat-served webapp by putting the relevant jars in the WEB-INF/lib directory of your webapp. In the future, if JAX-RPC (the

What does this crazy error message mean?

2003-06-09 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi everybody, i cant stand without solve this problem: whenever Rodrigo2.jsp runs, I always get the bellow message, but the bean Dica is there What should i do? The jsp complete code is attached. Regards, Euclides. An error occurred at line: 12 in the jsp file: /rodrigo2.jsp Generated

RE: What does this crazy error message mean?

2003-06-09 Thread Shapira, Yoav
Howdy, Perhaps you should place Dica in a package: http://tomcatfaq.sourceforge.net/classnotfound.html Yoav Shapira Millennium ChemInformatics -Original Message- From: Jose Euclides da Silva Junior - DATAPREVRJ [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 3:18 PM To: '[EMAIL

question on creating a file download servlet

2003-06-09 Thread Mark W. Webb
I need to write a servlet that handles file downloads, so that I can audit who downloaded from where, when..etc. When I click on the link to download a file, the Save As window comes up in my browser(Netscape), and as a default filename I get the servlet name. Is there a way to list the actual

What Oracle is best?

2003-06-09 Thread Jonathan Michael Nowacki
Just wondering what kind of oracle programs do I need to get Tomcat to access an SQL database. I have servlets already written that work on another Sun OS machine that I still have access to. Is there a way I can query the OS to find out what versions of oracle are installed? The RPM command

RE: question on creating a file download servlet

2003-06-09 Thread Shapira, Yoav
Howdy, Use the content-disposition header: http://www.onjava.com/pub/a/onjava/excerpt/jebp_3/index3.html Yoav Shapira Millennium ChemInformatics -Original Message- From: Mark W. Webb [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 3:34 PM To: [EMAIL PROTECTED] Subject: question

RE: What does this crazy error message mean?

2003-06-09 Thread Marco Rojas
Euclides, Eu não recebi o código... Vc. poderia me enviar zipado? Abs. Marco -Original Message- From: Jose Euclides da Silva Junior - DATAPREVRJ [mailto:[EMAIL PROTECTED] Sent: segunda-feira, 9 de junho de 2003 16:18 To: '[EMAIL PROTECTED]' Subject: What does this crazy error message

Re: What Oracle is best?

2003-06-09 Thread Michael Duffy
I believe you'd just need the JDBC driver jars. I'm connecting to Oracle from a servlet, and that's all I'm using. Installing the Oracle client SQL-Plus might be helpful for working directly with the database tables, but it's not necessary if someone else has already done that for you. You

[OT] Re: What Oracle is best?

2003-06-09 Thread Jason Bainbridge
Oracle is an enterprise level commercial Database Management System ie. $$$ where MySQL is an Open Source alternative designed mainly for web application uses (although this may change with their partnership with SAP). These DBMS's can be used within servlets and JSP's by using the appropriate

RES: What does this crazy error message mean?

2003-06-09 Thread Jose Euclides da Silva Junior - DATAPREVRJ
I did it. I ve created a package ( named euc ) under my app directory, but TomCat didnt find it - package euc does not exist... - TomCat returns me. Classpath is setted correctly. I guess i need more help. Thanks, Euclides. -Mensagem original- De: Shapira, Yoav [mailto:[EMAIL PROTECTED]

RES: What does this crazy error message mean?

2003-06-09 Thread Jose Euclides da Silva Junior - DATAPREVRJ
ok, la vai. Me ajude. Att,Euclides. I did it. I ve created a package ( named euc ) under my app directory, but TomCat didnt find it - package euc does not exist... - TomCat returns me. Classpath is setted correctly. I guess i need more help. Thanks, Euclides. -Mensagem original- De:

RE: What does this crazy error message mean?

2003-06-09 Thread Shapira, Yoav
Howdy, I did it. I ve created a package ( named euc ) under my app directory, but TomCat didnt find it - package euc does not exist... - TomCat returns me. Classpath is setted correctly. Under your webapp root, you have a WEB-INF directory, which has a classes directory, which has a euc

Redirecting directories according to domain

2003-06-09 Thread Raphael
I have tomcat 4 installed in a Windows NT server, There are 2 domains (www.teste1.com.br, www.teste2.com.br) pointing to my Windows NT Server. I have one directory called portal ( in webapps directory ) and inside this directory I have a file called redirect.jsp, I need to call this file

ClassNotFoundException and FileNotFoundException

2003-06-09 Thread Robert Wray
Question: Is there a tag I need to place in a config file, web.xml file, or somewhere else to allow an applet access to use/find data/class (non-servlet) files in a local (non-ROOT) WEB-INF subdirectory? Problem: For non-servlets or servlets that have dependencies on other local

RES: What does this crazy error message mean?

2003-06-09 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Dear Yoav, i ve already done it. But i always get the following error: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling

RE: ClassNotFoundException and FileNotFoundException

2003-06-09 Thread Shapira, Yoav
Howdy, Question: Is there a tag I need to place in a config file, web.xml file, or somewhere else to allow an applet access to use/find data/class (non-servlet) files in a local (non-ROOT) WEB-INF subdirectory? No such option exists: it would be a violation of the servlet specification for an

RE: What does this crazy error message mean?

2003-06-09 Thread Shapira, Yoav
Howdy, This error is different than what you got before. Does your Dica bean have a public no-arguments constructor? Yoav Shapira Millennium ChemInformatics -Original Message- From: Jose Euclides da Silva Junior - DATAPREVRJ [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 4:25

Re: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-09 Thread John Turner
Thanks! Jeffrey, does this help? John On Mon, 9 Jun 2003 19:51:39 +0200, Dominic Parry [EMAIL PROTECTED] wrote: Hi Sure can, here is an examples of mine: # Define the communication channel [shm] file=C:\Program Files\Apache Group\Tomcat 4.1\logs\shm.file size=1048576

RE: JSTL and EL question - SOLVED

2003-06-09 Thread Karr, David
This behavior is described in the JSP 1.2 specification, in section JSP.7.3 (not in one single place in the section). -Original Message- From: Schwartz, David (CHR) [mailto:[EMAIL PROTECTED] Hi David. This method works great. Thanks Is there any downside to using it? Is it still

RES: What does this crazy error message mean?

2003-06-09 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Yes, it does! It has 2 constructors, one of then has no-args. I ve already taken it off, but this error message goes on... Thanks again, Euclides. -Mensagem original- De: Shapira, Yoav [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 9 de junho de 2003 17:31 Para: [EMAIL PROTECTED]

What could be wrong if I see a list of files instead of generating the webpage

2003-06-09 Thread Liying Huang
Hi, I am new to tomcat5 and I had the following problem. I have downloaded nightly build tomcat5. When I put my project project.war in webapps folder, and startup tomcat, and go to http://localhost:8080/project, instead of generating the webpage, I got to see list of files showing in that

Re: question on creating a file download servlet

2003-06-09 Thread Mark W. Webb
...thank you. Shapira, Yoav wrote: Howdy, Use the content-disposition header: http://www.onjava.com/pub/a/onjava/excerpt/jebp_3/index3.html Yoav Shapira Millennium ChemInformatics -Original Message- From: Mark W. Webb [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 3:34 PM To:

Re: What could be wrong if I see a list of files instead of generating the webpage

2003-06-09 Thread John Turner
Directory listing is enabled and no default page (welcome-file) is defined. John On Mon, 9 Jun 2003 16:59:01 -0400, Liying Huang [EMAIL PROTECTED] wrote: Hi, I am new to tomcat5 and I had the following problem. I have downloaded nightly build tomcat5. When I put my project project.war in

log level set to DEBUG for serviceRequest

2003-06-09 Thread Angelov, Rossen
Hi, Tomcat 4.1.12 and Solaris 5.7 and JDK 1.4 Is there a way to change the log level to INFO or completely remove or change the location of bin/serviceRequest.log? Currently it prints out tons of lines that I don't really need in the bin directory. I was searching for serviceRequest in the conf

Re: What could be wrong if I see a list of files instead of generating the webpage

2003-06-09 Thread Liying Huang
Thanks, I have welcome file, maybe directory listing is not enabled. I am new to this, can you tell me What I shall do to enable it? Tnaks, Liying - Original Message - From: John Turner [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, June 09, 2003 5:01 PM

Re: What could be wrong if I see a list of files instead of generating the webpage

2003-06-09 Thread Liying Huang
Sorry, I meant my directory listing is enabled, how to disable it? Liying - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: What could be wrong if I see a list of files instead of generating the webpage

2003-06-09 Thread John Turner
You want to disable it, not enable it. Keep in mind that Tomcat 5 is alpha-almost-beta. Are you sure you want to be playing with it? It's not ready for production. Regarding directory listing and welcome files: http://tomcatfaq.sourceforge.net/configure.html John On Mon, 9 Jun 2003

Re: Mod_jk, ssl, java, and certificates question

2003-06-09 Thread Jeff Owens
Thanks Bill, Armed with your confirmation and some searching, I figured out that the Java (I'm using 1.4.1) X509TrustManager class can be overridden to make it think all certificates are ok. I'll remove the override once I get setup with a CA issued certificate. Anyway, thanks again! Jeff

Re: What could be wrong if I see a list of files instead of generating the webpage

2003-06-09 Thread Liying Huang
Yeah, I realized that I should diable the directory-listing instead of enabling it. Thanks for the website, I will play there to see if I could get my page. Liying - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Problem with request scope example

2003-06-09 Thread Julien Martin
Hello, I am trying to understand the use of the request scope. I have two jsp and a bean class as follows: ***first jsp jsp:useBean id=person class=paquet.Person scope=request jsp:setProperty name=person property=age value=5/ jsp:setProperty name=person property=name value=toto/

RE: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-09 Thread Jeffrey Cummings
Excuse my ignorance, but I am not sure which file these lines belong to. Is it the uriworkermap.properties file? What is shm.file a log file? Could I have the file parameter point to C:\Jakarta-4.1.24\logs\shm.file since all my log files are in that directory? Jeff -Original Message-

Re: question on creating a file download servlet

2003-06-09 Thread budi
check this out: http://www.fawcette.com/javapro/2002_03/online/online_eprods/servlets_03_08/ budi ---Original Message--- From: Mark W. Webb Subject: question on creating a file download servlet Sent: 09 Jun 2003 19:33:37 I need to write a servlet that

Re: how to unsubscribe - tried twice!

2003-06-09 Thread Jens Skripczynski
I _belief_ you have to have it in the To: line. So --- To: [EMAIL PROTECTED] Subject: anything --- in the Email header would work --- To: anything Subject: [EMAIL PROTECTED] --- won't. Tomcat User: I have as well...anyone have any ideas?? Dan LeBaron, CSSA

Running Struts in Eclipse w/ Sysdeo Plugin: Digester Error on Startup

2003-06-09 Thread Watson, Jake
Apologies if this has been answered, but I've already searched the archives and have found no answer. I have also posted to the Struts list ... I get the following error when starting up my Web app in Eclipse (2.1) using the latest version of the Sysdeo plugin: 841 [main] ERROR

Re: Urgent : Can we restrict access to a directory in tomcat

2003-06-09 Thread Jens Skripczynski
At 10:29 AM 6/9/2003, Dean Fantham wrote: The only potential method that can catch most (but not all) of these would be to create a separate image handling jsp/servlet, say imageHandler. When imageHanlder servlet recieves an image request it can check the http-referrer header and ensure that

Re: Accessing data files via APPLET tags in JSP pages

2003-06-09 Thread Susan Hoddinott
Thanks, I'll try that. The component toolkit methods and awt toolkit stuff were all looking for X11 and there did not seem to be anything else as you are probably aware. It does seems strange to me that the APPLETS will read sound and graphics files on the server but not a simple data file.

Re: Accessing data files via APPLET tags in JSP pages

2003-06-09 Thread Susan Hoddinott
On this same subject, I was wondering if there is any way of forcing an APPLET to access a server file, e.g. via socket connection, etc.? Regards, Susan Hoddinott http://www.hexworx.com - Original Message - From: Magne Skjeret [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]

Re: MBeanServer Fails - Admin Tool Won't Work

2003-06-09 Thread Bill Barker
I'm not a Windows user myself, but it looks like you are missing the JMX jars.In your %CATALINA_HOME%\server\lib their should be either a 'mx4j-jmx.jar' or a 'jmxri.jar'. If missing, you can grab the first from http://mx4j.sourceforge.net, and the second from

Re: Servlet thread safety

2003-06-09 Thread Bill Barker
If your servlet doesn't implement SingleThreadModel, then it is actually guaranteed by the Spec that there will be exactly one instance (per-Context) that executes the request. John Corrigan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] No. Concurrent requests will most likely be

<    1   2