RequestDispatcher.include problem

2000-12-29 Thread biordanov Last Name
Hi guys, Don't know whether this is really a problem or some sort of side-effect of the spec. In a tag library I have a tag which has to include an external ressources (a JSP page). In the tag I simple do the following: RequestDispatcher reqdisp = pageContext.getServletContext().getRequestDis

PROBLEM in Win98 startup-NoClassDefFoundError

2000-12-29 Thread S Joseph
PLEASE HELP...   I have been trying to get tomcat started up for last two days... I have checked the faq site and gone through the complete mailing list and I have not found any answer to my problem so far...   Need help urgently.   I am using a Pentium Celeron 266 machine with 64 MB RAM,

integrating apache with tomcat

2000-12-29 Thread hakan zorlu
Hi everybody I made the connection between apache and tomcat using mod_jserv.so. But I really don't why I really do it. On the documentation it says that by doing this connection we put less workload to tomcat, or apache is more robust as a http server etc.. What I don't understand is how this

Re: How to enable ISAPI filters in IIS management console

2000-12-29 Thread Mohammed Nasr Shalaby
If you are using winnt/win2k use your event viewer check for w3svc errors and recontact for information Nasr "Hawkins, Keith (Keith)" wrote: > I have installed the isapi_redirect.dll and have added the filter to the > ISAPI filters tab > of the Default Web Site properties page. The fil

Re: Anyone got security-context working in Tomcat?

2000-12-29 Thread Neil Aggarwal
Craig: Yes, that was it! Thanks! To summarize for those that are still having trouble: To make Tomcat require authentication for a give URL, add these lines in the tag in the web.xml file for a tomcat application (NOTE: The URL pattern should not include the application's context). Here is an

RE: Q: PDF mime type not working

2000-12-29 Thread Michael Wentzel
> Are you using Internet Explorer to view the page? In our > experience, the > newer versions (I'm not sure if it's all the 5.x series or > only 5.5) no > longer are willing to honor the complete MIME protocol -- although > amazingly enough, they do recognize MS Word and Excel files. Thanks, ac

RE: How to enable ISAPI filters in IIS management console

2000-12-29 Thread Marc Saegesser
Search this list's archives. This comes fairly often. The isapi redirector is rather senstive to the configuration and doesn't always provide really useful error messages. Start by seeing of the iis_redirect.log file has been created and if it has any usefull error messages it in. Depending on

RE: tomcat

2000-12-29 Thread ISHelp
Hi All! I have a problem installing Apache JServ. I am running Solaris 2.7 on Intel platform, using Apache 1.3.12 and JDK 1.3 . When running "make", I get the following errors: Compiling JServConnection.java ... JServConnection.java:85: org.apache.jserv.JServConnection should be declared abstr

RE: file upload servlet

2000-12-29 Thread Joe Laffey
> > I think that you can not mix parameters and file when you use > MultipartRequest ( from Jason') to handle multipart/form-data. > Regards, I have no problem mixing them. Be sure you have encoding="multipart/form-data" in your FORM tag. Joe Laffey St. Louis, MO - With n

What does the following message mean in mod_jk.log?

2000-12-29 Thread Tony Mueller
in mod_jk.log: [jk_ajp12_worker.c (596)]: ajpv12_handle_response, error writing back to server This log file has tons of these lines in it. The application thats running using these servlet seems to run fine though. Anyone else getting this message? Thanks Tony -

What's in the classes directory?

2000-12-29 Thread Robert Zazueta
Title: What's in the classes directory? We're currently upgrading from 3.1.1 to 3.2.1. In the existing 3.1.1 dist (please keep in mind that I inherited this from another group) there is a directory called /usr/local/jakarta/tomcat/classes which contains  the org.apache.tomcat, org.apache.ja

RE: Init() being called 3 times

2000-12-29 Thread Marc Saegesser
Sorry about that. I was still thinking Servlet 2.1 API spec. The Servlet 2.2 spec is much tighter. -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, December 29, 2000 2:35 PM To: [EMAIL PROTECTED] Subject: Re: Init() being called 3 times Marc Saeges

Re: Q: PDF mime type not working

2000-12-29 Thread Eric Johnson
Hi, Are you using Internet Explorer to view the page? In our experience, the newer versions (I'm not sure if it's all the 5.x series or only 5.5) no longer are willing to honor the complete MIME protocol -- although amazingly enough, they do recognize MS Word and Excel files. Try using Netscape

RE: file upload servlet

2000-12-29 Thread Tim Cronin
Yes I think your right I had a parameter additional to the file and got an exception. when I put it as part of the query string the problem disappeared. -Original Message- From: Jose Euclides da Silva Junior - DIGR.O [mailto:[EMAIL PROTECTED]] Sent: Friday, December 29, 2000 7:26 AM To: [

RE: Followup (Session references)

2000-12-29 Thread Kief Morris
Billy Turchin typed the following on 12:59 PM 12/28/2000 -0500 > > I am using Tomcat 3.2.1. The session is certainly valid, because >though I get a null pointer exception when I try to invalidate it, I can >still perform actions with that user...ie data is still in the session. >I am storing the

Re: Anyone got security-context working in Tomcat?

2000-12-29 Thread Craig R. McClanahan
The examples application that comes with Tomcat has a working security constraint -- start up Tomcat and try to access http://localhost:8080/examples/jsp/security/protected Just out of curiousity, is "/videosearch" the context path of your web app? If so, you need to change your URL pattern

Re: Anyone got security-context working in Tomcat?

2000-12-29 Thread Neil Aggarwal
Craig: Is there a working example of this? Here is what I did: 1. I added my user to the conf/tomcat-users.xml: 2. In my application's web.xml file, I added the following lines within the tag: Videosearch Admin BASIC admin

Tomcat 3.2.1 default ROOT directory?

2000-12-29 Thread David Knaack
Howdy, I am setting up a standalone tomcat 3.2.1 with virtual hosts. I have set the 'home' attribute in ContextManager to /home/webmaster, and moved the webapps directory there. The default index.html is now coming from /home/webmaster/webapps/ROOT but I don't know why its looking there. I wan

RE: where to find the translated java class from JSP.

2000-12-29 Thread Ed Gomolka
Look in the $TOMCAT_HOME/work. You will find subdirectories for each webapp. For example, if you are running Tomcat on port 8080 as per the default, you will find a subdirectory for the delivered examples, called "localhost_8080%2Fexamples". You will find the Java source and class files from the J

RE: where to find the translated java class from JSP.

2000-12-29 Thread Randy Layman
Tomcat puts the .java (and .class files) in the work directory for your context. For my default its in jakarta-tomcat/work/localhost_8080. Each file is a munged version name of the jsp file and directory path. Randy -Original Message- From: xdyang xd [mailto:[EMAIL PRO

where to find the translated java class from JSP.

2000-12-29 Thread xdyang xd
it is said that JSP files are translated into servlet class before implementation, then, where can I find those servlet code and read them? thank you __ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/ -

How to enable ISAPI filters in IIS management console

2000-12-29 Thread Hawkins, Keith (Keith)
I have installed the isapi_redirect.dll and have added the filter to the ISAPI filters tab of the Default Web Site properties page. The filter status has a red down arrow and the enable button is always greyed out. I tried restarting IIS, but the filter status never changed to active (Green up

Re: Concatenation problem in taglibs tag in JSPs

2000-12-29 Thread Jeffry Guttadauro
And if you want, you can also set up the web.xml file to specify the tld's location for you, so your taglib directives don't have to. Do this by just adding this to your web.xml file (I think the placement of the tag might matter, so check the dtd to see what order to use)... struts /WEB-IN

Re: Init() being called 3 times

2000-12-29 Thread Craig R. McClanahan
Marc Saegesser wrote: > In Tomcat 3.2.x, specifying more than one name for a servlet in web.xml > causes a separate instance to be created for each name and each instances > init() method will et invoked. Essentially creating a new servlet for each > name as opposed to multiple names for a singl

Re: Anyone got security-context working in Tomcat?

2000-12-29 Thread Craig R. McClanahan
Neil Aggarwal wrote: > David: > > I am trying to protect a servlet within my web application. > I want the rest of it to be accessible except for that > servlet. > > Based on my reading the servlet 2.3 specification, I > added the following lines to my application's web.xml file: > >

Q: PDF mime type not working

2000-12-29 Thread Michael Wentzel
I have written a Servlet that generates a pdf on the fly and outputs the result to the browser but all that ends up happening is the raw text get displayed instead of starting the adobe helper app and loading the generated doc. I have added the following to web.xml for my webapp:

[2ND POST] Security principal problem!

2000-12-29 Thread Thom Park
Hi Folks, I really, really need a reply from someone in the know on this one! Please help. I'm using Netscape's 4.7 browser against standalone Tomcat 3.2.1 I have a problem with getUserPrincipal(), here's the original post: <-snip---> I'm seeing some odd behavior from getUserPrincipal()

Re: Concatenation problem in taglibs tag in JSPs

2000-12-29 Thread Ted Husted
Title: Concatenation problem in taglibs tag in JSPs Tomcat 3.2 is automatically registering homedir as a Web application, so from from the JSP's viewpoint, /homedir/ is the root.   Usually, the TLDs for a Struts application would read   <%@ taglib uri="/WEB-INF/struts.tld" prefix="struts" %>

Re: Pl clear this

2000-12-29 Thread Craig R. McClanahan
Ramkumar Manoharan wrote: > Yeah it is a licensed version.It is a freeware developed under open source > GNU/GPL. Tomcat is licensed software, but it is *not* released under the GNU GPL license. Rather, it is released under the Apache Software License -- see the file "LICENSE" in the top level

Concatenation problem in taglibs tag in JSPs

2000-12-29 Thread Robert Zazueta
Title: Concatenation problem in taglibs tag in JSPs Hey there! We're currently in the process of upgrading to Tomcat 3.2.1 from 3.1.1 and have run into an interesting problem. We're using the Struts tag library in our JSP files. These are the lines we're using to call the .tld files from the

How to turn off auto-configuration files?

2000-12-29 Thread David Knaack
Howdy, I'm using tomcat 3.2.1 on linux, standalone (no apache), and I'd like to turn off the parts that are generating the auto-configuration files. When I start tomcat I get errors about the following: Error generating automatic apache configuration java.io.FileNotFoundException: /home/webmast

Re: Pl clear this

2000-12-29 Thread Ramkumar Manoharan
Yeah it is a licensed version.It is a freeware developed under open source GNU/GPL. It is most useful for development work and iam not sure how many users it can handle on the production environment but it is generally advised to use it along with apache or IIS to make it fully scalable. Ram

Re: Tell me how to config Apache with DSO?

2000-12-29 Thread Filip Hanik
I was never successful compiling mod_jk.so using Apache 1.3.12. As soon as I upgraded my apache to 1.3.14 I compiled mod_jk.so without any problems Filip - Original Message - From: "Ed Gomolka" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 29, 2000 8:02 AM Subject: RE

encodeRedirectURL in TC 3.1

2000-12-29 Thread Shahed Ali
Hi,   I am using Tomcat 3.1 standalone on Intel Solaris 8  and JDK 1.3.   When I send a response.encodeRredirectURL("page.jsp?Msg=This is a Message"), it does not convert the spaces in Msg=.   I tested with Netscape 6 on Linux.   I searched BugRat, but could not find a match.   Is this a known

RE: apache and WebApps and jsp's

2000-12-29 Thread Sanka, Ramakrishna [YRK:7777:EXCH]
--_=_NextPart_001_01C07013.E592DA30 Content-Type: text/plain; charset="ISO-8859-1" Randy, With your configuration of the consultants web application try the following: 1. keep the jsps in webapps/consultants/jsp/ 2. keep the servlet classes in webapps/consultants/WEB-INF/classes 3. in

RE: ExceptionInInitializerError on loading Servlet

2000-12-29 Thread Ritwick Dhar
Okay, this is now officially driving me nuts. If anyones knows what's causing this, please help. Adding to my first mail, after I get the ExceptionInInitializerError, a second request to the same url gives a NoClassDefFoundError. So tomcat.log looks like this (for two subsequent requests to the s

Re: SIMPLE SIMPLE QUESTION ON RUNNING TOMCAT

2000-12-29 Thread wilsonkb
what os? 95? if you can shorten your classpath that will help, or you can dig up those old commands to increase the environment in dos (and put it in your autoexec.bat) or there might be a better way in win95 (its been a long time I can't remember if there is)... later, -boyd. > Hi I need

SIMPLE SIMPLE QUESTION ON RUNNING TOMCAT

2000-12-29 Thread Mick Sullivan
Hi I need help to run tomcat I have create a simple HTML website with Javascript for validation. I have downloaded tomcat and tried running the "startup.bat" file. In the Dos window a message as follows appears. Out of Environment space Out of Environment space Out of Environment space Out of Env

RE: Tell me how to config Apache with DSO?

2000-12-29 Thread Ed Gomolka
I don't think that Apache is the problem. It's mod_jk.so. Try compiling mod_jk.so from the sources. It's a pain, but it will probably clear up your problem. > -Original Message- > From: NSB)Hiroshi Kasamatsu [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 28, 2000 7:51 PM > To: [EMAI

Re: TOMCAT AND SSL HELP ME PLEASE

2000-12-29 Thread Dave Smith
Khaled, The keystore has a password on it. Tomcat expects an entry called "tomcat" with a password of "changeit". This is explained in the server.xml comment. If you used a different password, do this: The keystore also needs to be g

TOMCAT AND SSL HELP ME PLEASE

2000-12-29 Thread Khaled Ben Mohamed
Hello I am trying to secure my webapp with SSL After generating a certificate with keytool , I don't understand this message starting tomcat 3.2 (on linux operating system) >./startup.sh Guessing TOMCAT_HOME from tomcat.sh to ./.. Setting TOMCAT_HOME to ./.. Using classpath: ./../lib/ant.jar:./..

Re: 403 forbidden in tomcat-apache

2000-12-29 Thread Jeffry Guttadauro
Hi, Parvez. I had this problem recently too. The problem was that, since Apache was run as nobody, permissions had to be granted to "others" for the _entire_ path of the application's directory. So, if your application is set to run out of /home/parvez/mywebapp/htdocs for example, you have to

Re: Upload problem: bug at Multipartrequest when deals with mixed parameters types

2000-12-29 Thread java-server-feedback
Thank you for your feedback. Your feedback will be read by an engineer in the JavaServer Team, and entered into our system as a bug or feature request, if appropriate. We do not perform sales or technical support from this address. This is worth repeating: you will not receive any additional m

Upload problem: bug at Multipartrequest when deals with mixed parameters types

2000-12-29 Thread Jose Euclides da Silva Junior - DIGR.O
-BEGIN PGP SIGNED MESSAGE- Hi everybody, i dont know if somebody can help me! I didnt get sucess to solve this problem. i have a doubt about an error message which came from TomCat, as listed below.There is a servlet, named StarServletnew and showed at end of this email, which instances

Re: Tomcat and IIS

2000-12-29 Thread Mohammed Nasr Shalaby
TomcCat does run under IIS, Please refer to the list archive and search for messages with subject "Installing tomcat on IIS" & "Tomcat & IIS"...Other subject will apply too. Nasr [EMAIL PROTECTED] wrote: > Hi Mr. Tomcat, > I am just installing tomcat into my Win2000 machine. and fo

RE: Need help with isapi_redirect.dll and PWS

2000-12-29 Thread Hawkins, Keith (Keith)
I am running the PWS on my desktop machine. I tried accessing the example pages using both localhost format as in http://localhost/examples/jsp/num/numguess.jsp and the IP address format as in http://135.17.204.72/examples/jsp/num/numguess.jsp This was tried in both Netscape and

RE: always a download dialogbox opened.

2000-12-29 Thread Randy Layman
Are you trying to serve the .isa file with Tomcat? If so, you need to set the MIME type for that extension in the web.xml file for that context - Tomcat doesn't know what its supposed to be (and neither do I, but you should be able to check the IIS config). If you are trying to serve .isa fil

Reload classes

2000-12-29 Thread LUN
Hi all, I have set our database connection at application scope. All is OK now. However, if one of the servlet class is changed and then auto-reloaded, the class will no longer get the connection--- when I get the connection (in object type) and try to cast it back to connection

RES: file upload servlet

2000-12-29 Thread Jose Euclides da Silva Junior - DIGR.O
-BEGIN PGP SIGNED MESSAGE- I think that you can not mix parameters and file when you use MultipartRequest ( from Jason') to handle multipart/form-data. Regards, José Euclides Júnior __ E-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] [E

RE: Tomcat and IIS

2000-12-29 Thread Nacho
Hi, Su: It's working for me without problems. Please revise filenames case, dont use long filenames, mail archive, this quetions arises too often, publish your configs , logs and so on in the list... My advice : double check everything, it's a pain to make it work but works without problems

No Subject

2000-12-29 Thread Lorenzo Pastore
Good Morning I'm Pastore Lorenzo I need a Help for use Tomcat SSL Direct. I have configured my Tomcap for use SSL and I certificate it ( using internet manual page http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-ssl-howto.html ). And for here ALL OK But if I open tomcat by Netscap

Re: 403 forbidden in tomcat-apache

2000-12-29 Thread Parvez
hi, 1. compile apache with DSO support --enable-shared=max will do. which will include the apxs in the bin directory of apache. 2. the mod_jk.so available on the site says garbled everytime, so u need to download the tomcat3.2beta8 source from the site and compile your own mod_jk.so, which you

RE: Pl clear this

2000-12-29 Thread Kitching Simon
The answer is all good news :-) Tomcat is licenced under the Apache Software Licence. You can find a copy of this licence in the tomcat version you just downloaded - it is in a file called "LICENCE". Basically, though, the licence says that tomcat is totally free for any use at all. Tomcat is no

Apache + jni

2000-12-29 Thread teo alonso
Hi all! I´ve been testing Apache+tomcat out-process (mod-jk: ajp12, ajp13) with no problems but now I´m trying to use JNI in-process and I cannot get it serving servlets. I think that the problem is with the jni connector. I´ve read in the documentation that it needs the jni_connect.dll. That´s

ERROR SSL

2000-12-29 Thread Lorenzo Pastore
The Tomcart Services is started and in http(port8081) respond When you call https(port443) return ERROR ContextManager: IOException reading request, ignored - javax.net.ssl.SSLException: Unrecognized SSL handshake - To unsubs

Re: 403 forbidden in tomcat-apache

2000-12-29 Thread NSB)Hiroshi Kasamatsu
Parvez, I start apache and tomcat as root,and include jara's path and tomcat's classpath ,you know, into .bash_profile. By the way,my mod_jk.so does not work.I use apache_1.3.12 and tomcat3.2beta8. How do you configure Apache for DSO? .configure --enable-module=so? I had an error with ./apachectl