Re: how can i get tomcat to take my servlets?

2002-11-24 Thread Bill Barker
Yeah, well, index pages don't work with 4.x. This is a valid reading of the 2.3 Servlet-spec, so unless anyone wants to start contributing patches, it is likely to never work in the Tomcat 4.x line (this is just the nature of O/S projects). It does work in Tomcat 3.3.2-dev (with non-default setti

jasper.error.emptybodycontent.nonempty, MySQL

2002-11-24 Thread Eric Earnst
Hi all, I've read a lot of docs but over a long enough period of time that I forget most of what I read, the recent over-age newbie really applies here... I am putting together my first site and am getting the following error message from Tomcat (4.1.12-LE-jdk14): org.apache.jasper.JasperException

Re: TagLibs in Tomcat3.3.1

2002-11-24 Thread Bill Barker
"Craig R. McClanahan" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > On Sat, 23 Nov 2002, Laxmikanth M.S. wrote: > > > Date: Sat, 23 Nov 2002 14:41:11 +0530 > > From: Laxmikanth M.S. <[EMAIL PROTECTED]> > > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> >

Re: tomcat as bundle

2002-11-24 Thread Praveen Wicliff
Ranjit, Check the Jakarta site for the downloads http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/ if you require binaries they will be in the bin section. But if you are intalling on any other OS (like what you mentioned, Irix), its preferable that you download th source and

Re: Displaying servlets and its memory usage

2002-11-24 Thread Bill Barker
Borland's OptimizeIt is very good at this, but it costs. "Sriraman.R" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Any clues/pointers to get this info! > > -Sriram > > -Original Message- > From: Sriraman.R [mailto:[EMAIL PROTECTED]] > Sent: Friday, No

tomcat as bundle

2002-11-24 Thread ranjit
Hi, Can any one tell me whether tomcat is avalable for download as a single tar.gz file?! and where is it available... I would like to install tomcat on Irix 6.5.16, anyone suggest if experimented already on this. thanks, Ranjit. - -- To unsubscribe, e-mail: For

Re: 4.1.15 Admin page exception?

2002-11-24 Thread Bill Barker
My first guess is that you ignored the big bold text on the download page, and used the evil Sun 'tar' to unpack the installation. :) "Randall DuCharme" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Greetings, > > I'm painfully new to Tomcat and Java in genera

RE: session /application in servlets

2002-11-24 Thread Bill Lunnon
Paul, Getting the error because "application" is a JSP default object for javax.Servlet.ServletContext If you want to put someting in the servlet context, use something like this.getServletContext.setAttribute() Not too sure about the correct method names,but you should get the idea Bill

RE: What the problem about tomcat 4.1 or IE? in my computer?

2002-11-24 Thread Nicholas Orr
Also go into Internet Options>Connections>Lan Deselect all checkbox's Ok>Apply>Ok Try again. Another thing press all the following keys "crtl+shift+esc" and under Processes check out what is hoging your cpu. If there isn't anything then try "End Process" - "explorer.exe" your IE window should

RE: Over-aged Newbie needs some help

2002-11-24 Thread Nicholas Orr
Mate, Read some books/tutorials all your answers are in there. You see you've asked your questions but you haven't acted on any of the answers provided, if you had, you wouldn't be asking the below questions. Now help your-self before we decide to ignore you. Somone who asks and asks but never

session /application in servlets

2002-11-24 Thread Paul_Wallace
Hi, Pertaining to recent posts, can someone please describe how session or application are defined in a servlet please? In JSP syntax there is no problem but in the method in the .java servlet below: public class LoadMyServletAtStartup implements ServletContextListener { public voi

Re: What the problem about tomcat 4.1 or IE? in my computer?

2002-11-24 Thread Praveen Wicliff
The delay in the response might be because of your network settings sometimes. Depending on your settings, for the first time, the browser tries to find the server, in which case it needs to look for the DNS (or Proxy if you are using one). This is true in some cases where its the server is also th

Re: Over-aged Newbie needs some help

2002-11-24 Thread Steve R Burrus
Hi paul. I am most interested in the part of the whole process that "dictates" that a WAR file be deployed!!! Now, would u please tell me just how exactly I package up this WAR, and then when I am thru with doing that to which folder/directory do I deploy it to?! Agh!!! Too damned many

Re: servlet startup compile error

2002-11-24 Thread Paul_Wallace
You mean as in application = some declaration? How is it declared? Like session, I am used too just defining it, and thats it (in JSP). Like session, is application not a keyword? Thanks Paul. Kwok Peng Tuck <[EMAIL PROTECTED]> 25-11-2002 12:13 Please respond to "Tomcat Users List"

IIS on W2k + tomcat 4.1.12

2002-11-24 Thread Srinath Narasimhan
Was anybody successful in integrating IIS with tomcat 4.1.12. I downloaded the isapi_redirector2.dll. I was able to find the workers2.properties but I am not able to find the urimapworkers.properties. It is not available along with the workers2.properties file. After trying to add the ISAPI filte

Re: DataSource problem

2002-11-24 Thread Daniel Tamborelli Alvarenga
Ok... now it's working fine... Thank you very much... :) Daniel Tamborelli Alvarenga - Original Message - From: "Kwok Peng Tuck" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Sunday, November 24, 2002 9:08 PM Subject: Re: DataSource problem > Remove the sql va

Re: Tomcat NT Service & Runtime.exec()

2002-11-24 Thread Jacob Kjome
For each NT service, there is an option called "Allow service to interact with desktop" under Properties / Log On. Check that option and what you ask for should work just fine. Jake At 09:03 PM 11/22/2002 -0800, you wrote: Hi, Through much trial and error, I finally determined that using

Re: servlet startup compile error

2002-11-24 Thread Kwok Peng Tuck
or was it obtained from the context ? I cannot remember as I seldom write servlets. [EMAIL PROTECTED] wrote: I am editing and compiling from NetBeans, it gives: ..[23:1] cannot resolve symbol application.setAttribute("style_index", style_index); ^ 1 Error the entire line is underlined red in t

Re: servlet startup compile error

2002-11-24 Thread Kwok Peng Tuck
You must declare what is application, this is fine in jsp as this is made available to all jsp, like session.setAttribute stuff. [EMAIL PROTECTED] wrote: I am editing and compiling from NetBeans, it gives: ..[23:1] cannot resolve symbol application.setAttribute("style_index", style_index); ^ 1

Re: servlet startup compile error

2002-11-24 Thread Paul_Wallace
I am editing and compiling from NetBeans, it gives: ..[23:1] cannot resolve symbol application.setAttribute("style_index", style_index); ^ 1 Error the entire line is underlined red in the editor any ideas? here is the entire servlet placed in myApp/WEB-INF/classes: import java.io.*; import j

custom error page rewrite error uri

2002-11-24 Thread Alexius Luke
Hi all, I use Apache Tomcat 4.1.12 on Linux.For my aplications need I have configured a custom error jsp age for the error-code 404.So when any irrelevant url is requested this jsp page is invoked. 404 /error_request.jsp http://localhost:8080/irrelevantpage I need to get the reque

Re: servlet startup compile error

2002-11-24 Thread Kwok Peng Tuck
Which symbol is it saying that it cannot resolve? [EMAIL PROTECTED] wrote: Hello, In my servlet to be started on server load, why may I not define the application thus: public void contextInitialized(ServletContextEvent sce) { Hashtable style_index = new Hashtable(); style_in

servlet startup compile error

2002-11-24 Thread Paul_Wallace
Hello, In my servlet to be started on server load, why may I not define the application thus: public void contextInitialized(ServletContextEvent sce) { Hashtable style_index = new Hashtable(); style_index.put("element1", "ONE"); style_index.put("element2", "TWO");

Re: servlet startup

2002-11-24 Thread Kwok Peng Tuck
Long story short, most of the servlet classes go into WEB-INF/classes or WEB-INF/lib . The servlet specs have all the gory details about it, if you are up to reading it. [EMAIL PROTECTED] wrote: Thanks, And what about the location of the servlet? Must in reside anywhere in particular? pa

SSL request Mozilla browser causes memory leak on Tomcat 3.2.1

2002-11-24 Thread Christopher Mark Balz
In repeated, side by side trials doing https requests (ssl), there is no problem and behavior is normal with requests from Internet Explorer 5.5 (memory allocation stays at about 22 megabytes), but Mozilla 1.0 seems to send some kind of request that causes Tomcat to just go on allocating memory

Re: servlet startup

2002-11-24 Thread Paul_Wallace
Thanks, And what about the location of the servlet? Must in reside anywhere in particular? paul. web.xml in the /conf directory is global and applies to all webapps. If you have anything specific for your webapp you should instead use the web.xml in your webapp directory, specificall

Re: servlet startup

2002-11-24 Thread Kwok Peng Tuck
web.xml in the /conf directory is global and applies to all webapps. If you have anything specific for your webapp you should instead use the web.xml in your webapp directory, specifically like datasources and the like. Take a look at the jsp specs or tomcat docs if you need further details. [

servlet startup

2002-11-24 Thread Paul_Wallace
Hi, Further to a posting made a while ago - I wish to define some session variables on the startup of Tomcat. I have added: com.mycomp.servlet. LoadMyServletAtStartup to conf/web.xml and have my servlet source. Where (if anywhere specific) must I place it? Have I

Re: Over-aged Newbie needs some help

2002-11-24 Thread Paul Campbell
I'm probably more over-aged and no doubt underemployed than you. 1. The best thing to read are the developer docs http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html and they may also be found in your webapps. 2. The ANT script will with a little bit of work "automagicly" compile an

Re: DataSource problem

2002-11-24 Thread Kwok Peng Tuck
Remove the sql validation parameter in your datasource definition or give it a table to select from. Daniel Tamborelli Alvarenga wrote: I've installed Tomcat 4.1 on Windows 2000 and MySQL I've configured the Data Source in the server.xml and that's ok... but when I try to get the connection fro

help with multilingual JSP sites pls. using a Filter to rewrite the URL ?

2002-11-24 Thread Stephen Riek
I'd like for a request to "/en/Folder/File" to be sent to "/Folder/File" but with a parameter 'lang' set to 'en'. Likewise, a request to "/fr/Folder/File" to be sent to "/Folder/File" but with a parameter 'lang' set to 'fr'. Is this possible with Filters? If not, is there any way to accompl

Discrepancies between servlets and JSP on tomcat in handling UTF-8 ?

2002-11-24 Thread Stephen Riek
I have a Form which is displayed in UTF-8. The form contains just one editable field, namely . When I submit this to a JSP: I can extract the value of the string using, <% String s = request.getParameter("test"); %> I then write the value of s

Re: What the problem about tomcat 4.1 or IE? in my computer?

2002-11-24 Thread Matthew Hannigan
On Sun, Nov 24, 2002 at 04:18:21PM -0500, james wrote: > Thanks for reply, I can see http://localhost:8080/index.jsp or > http://localhost:8080 > but it takes a very long time (5 minutes), after that it is OK for other > pages for the same IE, but if I open another IE, it still takes a very long >

Re: Over-aged Newbie needs some help

2002-11-24 Thread Steve R. Burrus
hi Michele, this is the over-aged Newbie!!! I like the way that you put things, incidentally! I was just wondering if anyone could sort of start to point me in the right/correct direction when it comes to creating JSP's and Servlets in the Tomcat container!! That's all that I am asking for, fr

Re: What the problem about tomcat 4.1 or IE? in my computer?

2002-11-24 Thread Pae Choi
Wow! 5 min? That's not acceptable. I have not seen such yet. I, personally, do not think that's causing by TOMCAT. And it's gotta be something else than TC then. Just FYI. I have seen TC running fast even on a machine equipped less than your machine. Also that machine was running about 7 to 10 IE

Re: What the problem about tomcat 4.1 or IE? in my computer?

2002-11-24 Thread james
Thanks for reply, I can see http://localhost:8080/index.jsp or http://localhost:8080 but it takes a very long time (5 minutes), after that it is OK for other pages for the same IE, but if I open another IE, it still takes a very long time in the first time . What might be the problem? James --

Re: JDK is not enough. SDK is needed

2002-11-24 Thread Pae Choi
> > I suggest you don't go to the "it works for many people.. why not you?" > direction. You'll get fired if you work in any customer service department. Maybe it is a fact in your case. I don't fire my people just because a customer complains or did not respond to the cusotmers in a proper way. T

Re: JDK is not enough. SDK is needed

2002-11-24 Thread john delby
I suggest you don't go to the "it works for many people.. why not you?" direction. You'll get fired if you work in any customer service department. If you look at this active list, you'll notice many users are having many problems with Tomcat. Why don't you also tell them, "Tomcat worked for ma

Re: AF_SOCKET support?

2002-11-24 Thread Brzezinski, Paul J
Randy, the problem is that the class loaders that are used internally by tomcat prevent the commons-logging.jar file from being seen/found/used by the different sub-componenets of tomcat itself. You can try moving all of the jar files in $CATALINA_HOME/server/lib and $CATALINA_HOME/bin to $CAT

Re: Applet from servlet

2002-11-24 Thread Andreas Probst
Hi David, don't put the class files and jars, which you need for an applet, below WEB-INF. Tomcat won't serve these files to the user's browser. Just put these files in your webapp's directory. If you need the same classes also on the server, than you need to have two copies of them. Hope this

Can't compile mod_jk under AIX 4.3.3

2002-11-24 Thread Robert Brunnthaler
Hi, I'm trying to get mod_jk running under AIX 4.3.3, using: gcc 2.95.3 Apache 1.3.27 jakarta-tomcat-connectors-jk-1.2.0-src libtool 1.4.3 I followed the Instructions in th README-File, ./configure runs fine, make also, until: --- Making all in common Target "all" is up to date. Making all in a

AF_SOCKET support?

2002-11-24 Thread Randall DuCharme
Greetings, I have 4.1.15 installed with Apache 2.0.43 and the TCP connector working. I can't seem to get the Unix socket connector to work (channelUnix) per the example pages and the document by Robert Williams. Is there any required changes to server.xml that I'm missing? My workers2.prope

Problems with Tomcat 4.1.12 and FORM based authentication

2002-11-24 Thread Quenten Van Egeren
I'm having the following problem when using FORM based authentication with Tomcat 4.1.12 : When I bring up a new browser window, and go to a protected page (under /do/) I am redirected to the login.jsp as I should be. If I enter the correct username / password, I am logged in correctly and forwar

4.1.15 Admin page exception?

2002-11-24 Thread Randall DuCharme
Greetings, I'm painfully new to Tomcat and Java in general. Trying to learn Java and JSP (the reason for the Tomcat install) I'm running the 4.1.15 version on an Ultra 30... Solaris 9... JDK 1.4.1-b21. Attempting to load the admin page now gives the following message. It used to work 'till

Applet from servlet

2002-11-24 Thread David Brown
Hello tc-user, has anyone successfully invoked an applet from a servlet using: response.sendRedirect(url) where url=http://localhost/somehtml.html w/ the tag embedded? my efforts so far result in: Exception: java.lang.ClassNotFoundException: com.x.y.MyApplet.class. i have repackaged the applet

Re: apache and tomcat and a webapp

2002-11-24 Thread David Brown
Ron Smits writes: Let me try and be more specific :) First of all, if I get all to work the current setup with JServ will disappear and I am testing this in a test environment (Vmware) So let me see if I can chop my questions up in different parts The application is being developed using tomc

Re: Over-aged Newbie needs some help

2002-11-24 Thread David Brown
mech writes: Have a look for this book (bought it from Amazon, 65€ or $60): "Professional JSP, 2nd Edition" (Simon Brown & others), Wrox Press, August 2002 ISBN 1-861004-95-8 Of course it's a little bit "huge" with 1200 pages, but definitely the last book you'll buy about JSP and servlets... U

FW: Displaying servlets and its memory usage

2002-11-24 Thread Sriraman.R
Any clues/pointers to get this info! -Sriram -Original Message- From: Sriraman.R [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 7:18 PM To: Tomcat Users List Subject: Displaying servlets and its memory usage hi all, I have tomcat 3.2.4 and few servlets running. I wan

RE: Over-aged Newbie needs some help

2002-11-24 Thread mech
Have a look for this book (bought it from Amazon, 65€ or $60): "Professional JSP, 2nd Edition" (Simon Brown & others), Wrox Press, August 2002 ISBN 1-861004-95-8 Of course it's a little bit "huge" with 1200 pages, but definitely the last book you'll buy about JSP and servlets... Until next JSP an

Package not found..

2002-11-24 Thread Timo Tuomi
I'm tyring to do a page for digested passwords admistration. My problem is that I cannot load RealmBase class. I've added /var/tomcat4/server/lib/catalina.jar into my CLASSPATH in various places (shell variable, tomcat4.conf) but still when I call: org.apache.catalina.realm.RealmBase.Digest(..)

Re: JDK is not enough. SDK is needed

2002-11-24 Thread Pae Choi
John, I see your frustration and it's understanable. But there are many users in the world are using the Tomcat in the past years. How come you become an unique one making such comment. I suggest you calm down and allocate a plenty of time to get the picture in terms of what you need to have and