Servlet Execution Problem

2000-12-19 Thread kumar ram
Hi! I have installed Tomcat version 4.0-m4 sucessfully and I'm also getting the index.html page. (http://localhost:8080/index.html) But I have the problem to execute the Servlets examples,if I click the execute link in Servlets examples,I'm getting "The page cannot be found" error. If I click

RE: XMLC on Tomcat

2000-12-19 Thread Chris Yearsley
Using a XMLC (from Enhydra.org) based Servlet on Tomcat gives a NoSuchMethodException. Consulting the XMLC maillinglist gives the answer that it's proberly because I use a level 1 DOM parser instead of the level 2 I should use... You have three choices that I know of. First, you can

Tomcat Servlets

2000-12-19 Thread Horst Liermann
Hallo, thanks a lot for the software. I installed/configured it without any problems on NT SP5 and IIS. It runs fine. I only have a Question about Logging of IIS. There is a posibility to log the used time with IIS, but my feeling is, that if I use the "isapi_redirect.dll" then time logging

Building mod_jk.so on Red Hat 7.0 with Apache 2.0beta7

2000-12-19 Thread John Rowling
Hi, I've downloaded jakarta-tomcat-3.2.1 and I'm trying to build mod_jk.so on Red Hat 7.0 with Apache 2.0beta7. I have glibc fixes (2.2-8) installed. The apxs build fails with errors (see below) which blow my knowledge_and_ability array. If you can help with any clues as to what's gone

Tomcat configuration

2000-12-19 Thread Graham Ratcliffe
Using Tomcat 3.2 and trying to run examples,any one tried receive the following error (obviously location changes depending on .jsp trying to invoke). Double checked classpath, java_home etc but can't see any problem there. Using jdk 1.2.2 Error: 500 Location: /examples/jsp/dates/date.jsp

Re: Need Some help..

2000-12-19 Thread Thyagesh
Hi, Thanks Simon for the valuable advice. I got most of it. I still need some clarifications: I am use:Tomcat 3.2 WindowsNT4 IIS 4.0. Things I did is: 1) I Repeated the following lines in server.xml in tomcat home/conf for different context-paths

creation of application wide objects

2000-12-19 Thread Guillaume Barreau
Dear Tomcat users, What is the best way to create some objects which are going to be available application-wide to a bunch of servlets from the same web-app? Or in other words, is there an equivalent of an init() method but for the application as a whole? At the moment, I am having to clutter

Re: creation of application wide objects

2000-12-19 Thread romain
On Tue, 19 Dec 2000, Guillaume Barreau wrote: Dear Tomcat users, What is the best way to create some objects which are going to be available application-wide to a bunch of servlets from the same web-app? Or in other words, is there an equivalent of an init() method but for the

RES: TomCat into NT environment

2000-12-19 Thread Jose Euclides da Silva Junior - DIGR.O
-BEGIN PGP SIGNED MESSAGE- But, i have read some news about bad performance of Apache in NT environment, on paralel with Unix! Is it true? For a good performance, should i only use tomcat( as web server and jsp server) in this environment? Thank you, Julio. José Euclides Júnior

Re: creation of application wide objects

2000-12-19 Thread Alex Fernández
Hi folks! I'm having the same problem, but with servlets. To summarize, I want to have some kind of init() method, to perform some startup tasks, but for the whole application. Right now, in every servlet's init() method I must call a singleton to perform the job. So the problem is, can I do

RE: creation of application wide objects

2000-12-19 Thread Alistair Hopkins
I also have lots of this sort of nonsense. My planned solution is to have only one servlet. This will act as a broker to load 'logic modules', which are invoked thru' the url with xtra path info: http://myServer/myServlet/myModule?yada=yadafoo=bar This has lots of potential advantages as all

RE: RES: TomCat into NT environment

2000-12-19 Thread Alistair Hopkins
Another good reason for using apache + tomcat not tomcat standalone is that you can show a polite static apology to users during maintenance/fubar time on tomcat, rather than a 404. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Andy Sent: Tuesday,

RE: creation of application wide objects

2000-12-19 Thread romain
On Tue, 19 Dec 2000, Alistair Hopkins wrote: I also have lots of this sort of nonsense. My planned solution is to have only one servlet. This will act as a broker to load 'logic modules', which are invoked thru' the url with xtra path info:

[ linux + tomcat + oracle ] Why VMM is continual grow longer..

2000-12-19 Thread Kim soon il
Dear Tomcat users, [ linux + tomcat (3.1)+ oracle(8.1.6) ] I used Oracle Thin Driver [ classes12.zip ].. tomcat.sh edit for VMM setting if [ "$TOMCAT_OPTS" = "" ] ; then TOMCAT_OPTS="-ms150m -mx200m" fi But Why

InterScan eManager Content Management Notification! (Dirty Words)

2000-12-19 Thread postmaster
**Message from InterScan E-Mail VirusWall NT** The following mail was blocked by InterScan eManager Content Management. Source mailbox: [EMAIL PROTECTED] Destination mailbox(es): [EMAIL PROTECTED],[EMAIL PROTECTED] Policy: Dirty Words Action: Archive Sender, Content filter has

InterScan eManager Content Management Notification! (Dirty Words)

2000-12-19 Thread postmaster
**Message from InterScan E-Mail VirusWall NT** The following mail was blocked by InterScan eManager Content Management. Source mailbox: [EMAIL PROTECTED] Destination mailbox(es): [EMAIL PROTECTED],[EMAIL PROTECTED] Policy: Dirty Words Action: Archive Recipient, Content filter has

Re: creation of application wide objects

2000-12-19 Thread Alex Fernández
That looks nice. Thanks. Alex. [EMAIL PROTECTED] wrote: So why don't you just shortcut this approach: make a dummy servlet that will load at startup ( is a configuration job) that instantiates the Application objects. You don't need a broker (at least not for this problem) Sloot.

Help me with an error message of Tomcat

2000-12-19 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 follow: There is a servlet, named StarServletnew, which instances a Bean, named FormBean, and sends

RE: creation of application wide objects

2000-12-19 Thread Alistair Hopkins
Yep. But I kind of like the idea of using a single servlet: it fits with how i do things anyway. it makes development of portal-style (nasty word) web pages with multiple 'channels' in the web page easier to develop - eg, menu channel, main channel, cross-sell channel, blurb channel, all of

RE: creation of application wide objects - Singleton?

2000-12-19 Thread Bygrave, Robin
Maybe I missing something in your question, or could you also use a Singleton? This is available to not only servlets... but maybe what you are looking for. public class MySingletonObject { // private constructor private MySingletonObject () { } // static

RE: Tomcat won't serve JSP's from my web server's root directory

2000-12-19 Thread Dave Newton
Help! I've installed Tomcat and the mod_jserv into Apache. The examples on the Tomcat side works, but it won't serve JSP pages from my Apache root directory. I solved this by adding a virtual host to my server.xml file. I don't know if this is the Right Way to do this, but nobody has told

Re: Hi

2000-12-19 Thread Andy
You should put it in tomcat's lib (not your webapp's) if you want it universally available to all webapps (one with tomcat). You probably cant make tomcat load it but you could make all your servlets by perhaps inheriting from HttpServlet and adding an static reference. Meaning public class

Re: Building mod_jk

2000-12-19 Thread Simon Orchanian
Hi, I get the same problem. Can anyone help us on this?? I've also tried to do "gcc -shared -o mod_jk.so *.o". I believe that this was from an earlier posting by Dave Newton. This however gave a different type of problem. Please help. Thanks, Simon --- [EMAIL PROTECTED] wrote: Hi, I

RE: How to password-protect a servlet?

2000-12-19 Thread Saurabh Shukla
The only that can happen is that your LocationMatch and the URL are not matching. WHat's the URL you are sending the request ? You should also have a look at DirectoryMatch. Shuklix I am using Apache 1.3.12 with Tomcat 3.1 and I wanted to password protect a servlet running on Tomcat with the

RE: checking remore URL

2000-12-19 Thread Saurabh Shukla
What are you using ? Iifapache then it is pretty easy. Regards, Shuklix -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Zsolt Koppany Sent: Tuesday, December 19, 2000 9:02 PM To: [EMAIL PROTECTED] Subject: checking remore URL Hi, how can I check

Re: Servlet Mapping

2000-12-19 Thread Joseph Wong
Is there any way to do the mappings without creating servlet mapping config in web.xml??? Also, do I need to create a context e.g. "/servlet" in server.xml??? From: AC [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Servlet Mapping Date: Mon, 11 Dec 2000

Re: checking remore URL

2000-12-19 Thread Zsolt Koppany
I use tomcat but I think it must be done over the http protocol? Zsolt Saurabh Shukla wrote: What are you using ? Iifapache then it is pretty easy. Regards, Shuklix -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Zsolt Koppany Sent: Tuesday,

mod_jk.so building

2000-12-19 Thread Michael Klimkin
Hi! Help me if you can... I'm trying to build the mod_jk.so on Solaris 7: #/usr/local/apache/bin/apxs -o mod_jk.so -DSOLARIS \ -I${JAVA_HOME}/include/solaris \ -I../jk -I${JAVA_HOME}/include \ -l posix4 -c *.c ../jk/*.c This script writes such rows: gcc -DSOLARIS2=270

RE: mod_jk.so wont compile on Linux

2000-12-19 Thread Dave Newton
I'm thinking that maybe a very small mini-FAQ might be in order here!!! I am trying to compile the mod_jk.so on Redhat Linux. Try following the documentation where it says that if this happens to try: gcc -shared -o mod_jk.so *.o That fixed it for me, although the HP-UX and AIX folks are

Re: mod_jk.so building

2000-12-19 Thread Simon Orchanian
Michael and others, I am receiving an identical error on Solaris 7. Can anyone out there please assist?? Thank you in advance. --- Michael Klimkin [EMAIL PROTECTED] wrote: Hi! Help me if you can... I'm trying to build the mod_jk.so on Solaris 7:

unsubscribe me please

2000-12-19 Thread John Elia
unsubscribe

RE: mod_jk.so wont compile on Linux

2000-12-19 Thread Neil Aggarwal
Dave: With all of the documentation in all of the places that I have found, it is more like trying to find the one line that pertains to what I am looking for. Thanks for the help. I am trying to write up my own little doc on how to get apache 1.3.14 and tomcat 3.2 set-up on Linux. Once I do

Re: Help me with an error message of Tomcat

2000-12-19 Thread Andy
These may be some shots in the dark but Ive seen this in a few cases: 1 compiling on JDK 1.2x and deploying on 1.1x 2 Ftping from a mangled-line-feed-carrage-return box (ie windows) in conversion mode (aka ascii instead of binary) 3 its possible the weird error with the L's could be a

RE: mod_jk.so wont compile on Linux

2000-12-19 Thread Dave Newton
With all of the documentation in all of the places that I have found, it is more like trying to find the one line that pertains to what I am looking for. No doubt~it's a little buried, to be sure. I may do a mini-FAQ and throw it out there somewhere. If anybody has any ideas for content, let

Tomcat hangs after user stops a request

2000-12-19 Thread RAMAKRISHNA SANKA
Hi All, I am running Tomcat 3.1 on an AIX 4.0 machine with JDK1.2.2 in stand-alone mode. When I connect to the application, make a request that starts off a database operation, find it running too long and stop the loading of the page in the browser, I find that I cannot make any further

Servlet display

2000-12-19 Thread Hayer, Jagjeet
Hi all, Has anyone had a problem with servlet display where a re-direction results in some of the actual JavaScript being displayed within the browser display? Thanks in advance, Jag. The content of this e-mail is confidential, may contain privileged material and is intended solely for the

RE: javacore

2000-12-19 Thread RAMAKRISHNA SANKA
In response to [EMAIL PROTECTED]'s query Steve, I have encountered the same problem. This happened as soon as I changed the Connector from SimpleTcpConnector to PoolTcpConnector for the HttpConnector, in the server.xml configuration file. Also, I had commented out the AjpConnector. I put these

Re: Servlet display

2000-12-19 Thread RV Tobin
I'm going through re-direct hell as we speak. I am using Tomcat 3.1 and when I insert a record to my MySQL database table, it works for the first submit, but if I try to return to the form to make another post to the site, I get the following showing up at the bottom of my page: HTTP/1.1 200

Re: AW: JDBC Realm documentation

2000-12-19 Thread Craig R. McClanahan
"Kurt, Oliver" wrote: Okay, I just figured out, how to use the "FORM" auth-method mechanism (I realized that the webapps/examples directory supplies good examples and furthermore Servlet-Specification chapter 11 describes that stuff) Does tomcat 3.2 support digest and client-cert

Re: XMLC on Tomcat

2000-12-19 Thread Craig R. McClanahan
Christian Bjørnbak wrote: Hi Using a XMLC (from Enhydra.org) based Servlet on Tomcat gives a NoSuchMethodException. Consulting the XMLC maillinglist gives the answer that it's proberly because I use a level 1 DOM parser instead of the level 2 I should use... As I'm starting Tomcat

WEB.XML

2000-12-19 Thread Edson Carlos Ericksson Richter
Anyone know why this is not working? servlet-mapping servlet-name invoker /servlet-name url-pattern */servlet/* /url-pattern /servlet-mapping I`m trying to map any URI to same webapp web-inf directory. So, this URL poits to same

RE: Servlet display

2000-12-19 Thread Hayer, Jagjeet
Well this sounds very similar to my problem, surely someone has an answer/solution??? -Original Message- From: RV Tobin [mailto:[EMAIL PROTECTED]] Sent: 19 December 2000 16:57 To: [EMAIL PROTECTED] Subject: Re: Servlet display I'm going through re-direct hell as we speak. I

Problem with adapter on solaris 7

2000-12-19 Thread Larson, Ryan
Title: Problem with adapter on solaris 7 I am having a problem getting mod_jk.so to compile on solaris 7. Here is the exact output /opt/apache/bin/apxs -o mod_jk.c -DSOLARIS -I../jk -I /usr/java1.2/include -I /usr/java1.2/include/solaris -c -l posix4 ../jk/*.c gcc -DSOLARIS2=270

fileupload handling

2000-12-19 Thread Zsolt Koppany
Hi, with a FORM INPUT TYPE=file files can be downloaded from the client but how can I read and extract the downloaded file from a servlet? The downloaded file can contain zip or gnu-tar files. -- Zsolt Koppany Intland GmbH www.intland.com Schulze-Delitzsch-Strasse 16 D-70565 Stuttgart Tel:

Re: Hi

2000-12-19 Thread Olivier Tourdes
I suggest you to use GetServletContext instead of static class in your servlets to have benefit of load-balancing. public void init() throws ServletException { ImportantLibrary lib = (ImportantLibrary) getServletContext().getAttribute( "important_library_key" ); if ( lib == null ) { lib

Re: [ linux + tomcat + oracle ] Why VMM is continual grow longer..

2000-12-19 Thread Alexandre Augusto Drummond Barroso
Unfortunately I also have this problem but I don't know how to solve yet.":-( Xandao. On Tue, 19 Dec 2000 22:53:47 +0900 "Kim soon il" [EMAIL PROTECTED] wrote: Dear Tomcat users, [ linux + tomcat (3.1)+ oracle(8.1.6) ] I used Oracle Thin Driver [ classes12.zip ]..

RE: fileupload handling

2000-12-19 Thread Josh Knowles
Use the multi-part upload package from Jason Hunter. You can get it at www.servlets.com or www.oreilly.com. -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 19, 2000 9:35 AM To: [EMAIL PROTECTED] Subject: fileupload handling Hi, with a FORM

username and password for context admin ?

2000-12-19 Thread peter duong
hi, i am trying to use admin function to map some jsp and servlets to my localhost. it it possible or i have to map it manually using server.xml and web.xml thanks peter

How to accommodate the webapps directory structure change

2000-12-19 Thread Steven Liu
Following is my directory/file structure for a servlet, it works fine. the index.html has the statement: "td WIDTH="30%"a href="../execution/servlet/ABC"img SRC="../images/execute.gif" HSPACE=4 BORDER=0 align=TOP/aa href="../execution/servlet/ABC"Execute/a/td webapps | execution

Tomcat, IIS and security-constraint

2000-12-19 Thread David M. Holmes
Is there a trick to get IIS to cooperate with security-constraints set in Tomcat? IIS asks for my BASIC authentication as configured but it adds a field for domain and does not appear to pass the credentials to Tomcat. Help! __ Do You Yahoo!?

Re: username and password for context admin ?

2000-12-19 Thread Thom Park
Hello Peter, you'll need to modify the server.xml and web.xml files - the Admin interface doesn't persist any of the changes you make using it. -Thom peter duong wrote: hi, i am trying to use admin function to map some jsp and servlets to my localhost. it it possible or i have to map it

RE: Bizarre problem -- works fine, then doesn't

2000-12-19 Thread Ethan Michaels
I was not calling close() on some database connections. That may have been the problem. It's hard to tell because in the course of fixing that I created some other problems that I'm still in the middle of debugging. If any useful information emerges, I'll let y'all know. I can say that

Re: mod_jk.so wont compile on Linux

2000-12-19 Thread Dave Smith
Neil, Actually if someone would just fix the makefiles in the 3.2 distribution so they actually worked, most of these posts would go away. The freebsd makefile is definitely broken; I'm guessing the linux makefile is just as bad. Dave - Original Message - From: "Neil Aggarwal" [EMAIL

security-constraint

2000-12-19 Thread David M. Holmes
Is there a way to exclude the login form pages from being constrained while constraining the entire application? I know I can constrain each directory separately and not constrain the directory that contains the login pages. But can I constrain /* and exclude the login pages?

Deny web-inf access (security problem)

2000-12-19 Thread Paul Gonin
Hi, I have a JSP that uses a bean. It uses the following directory structure : webapps/myapply/myapply.jsp webapps/myapply/web-inf/classes/mybean.class It works fine but I am annoyed that people can download the bean directly and "access" its content because it contains critical

using xalan with Tomcat

2000-12-19 Thread Christoph Rooms
hi, I'm trying to use Xalan-2 with tomcat ... but aparently the parser that has been added to Tomcat (parser.jar) doesn't provide the necassary functionality to let Xalan work. I need the Xerces.jar ... Anyway ... i can't replace the parser.jar with the xerces because then tomcat won't

mod_jk.so building

2000-12-19 Thread Michael Klimkin
Hi! Help me if you can... I'm trying to build the mod_jk.so on Solaris 7: #/usr/local/apache/bin/apxs -o mod_jk.so -DSOLARIS \ -I${JAVA_HOME}/include/solaris \ -I../jk -I${JAVA_HOME}/include \ -l posix4 -c *.c ../jk/*.c This script writes such rows: gcc -DSOLARIS2=270 -DUSE_EXPAT

Re: Servlet display

2000-12-19 Thread Landaluze Produktions IS - Carlos
yes i have problems. - Original Message - From: "Hayer, Jagjeet" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 19, 2000 5:35 PM Subject: Servlet display Hi all, Has anyone had a problem with servlet display where a re-direction results in some of the actual

mod_jk.so building

2000-12-19 Thread Michael Klimkin
Hi! Help me if you can... I'm trying to build the mod_jk.so on Solaris 7: #/usr/local/apache/bin/apxs -o mod_jk.so -DSOLARIS \ -I${JAVA_HOME}/include/solaris \ -I../jk -I${JAVA_HOME}/include \ -l posix4 -c *.c ../jk/*.c This script writes such rows: gcc -DSOLARIS2=270

Re: Servlet display

2000-12-19 Thread Landaluze Produktions IS - Carlos
i have the same problem with tomcat + apaache it works well if only run the tomcat in the 80 port. there is anybody studing the problem - Original Message - From: "RV Tobin" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 19, 2000 5:56 PM Subject: Re: Servlet display

Re: Deny web-inf access (security problem)

2000-12-19 Thread William Brogden
Paul Gonin wrote: Hi, I have a JSP that uses a bean. It uses the following directory structure : webapps/myapply/myapply.jsp webapps/myapply/web-inf/classes/mybean.class It works fine but I am annoyed that people can download the bean directly and "access" its content

Question about default servlet in Tomcat 3.2.1

2000-12-19 Thread David Haraburda
Hi, I am having a problem with Tomcat 3.2.1 (I am using Java 1.2.2 on Linux) and I am wondering if anyone is expierencing the same thing. When I startup Tomcat 3.2.1, I get an error message saying "cannot load servlet name: default". Tomcat continues to load, but I am having some other

Re: Deny web-inf access (security problem)

2000-12-19 Thread mayan
I am surprised this could happen, you must use a customized configuration file. Usually, the default conf file generated by tomcat contains at least something like this for your web-inf folder. You may want to add this to your conf file or web configurations somewhere. (depending on the server

Virtual Hosting (Apache + Tomcat + mod_jk)

2000-12-19 Thread David Thompson
I have two named virtual hosts in Apache using pretty much the common named host example from the apache site. I have tomcat and mod_jk setup pretty much as installed and working. Now, I really want Tomcat for only one of the virtual hosts (I will run a second VM for the other virtual host if and

Class not found on import

2000-12-19 Thread Matt Becker
Hi. From the Linux version of Tomcat I get an error something like "class test.testbean not found on import." I don't understand how the exact web app, testbean.class, etc. will run on my Windows machine which I'm using for development, but bombs on my Linux sever. The testbean.class resides

problem migrating to tomcat 3.2.1 - please help

2000-12-19 Thread Harding, David
i had tomcat 3.1beta something installed on my freebsd box. all was well. i grabbed tomcat 3.2.1 final and installed it. starting the server and hitting the default context (ROOT) as well as playing with the Context Admin servlet showed me that tomcat was setup somewhat properly. well i had a

modifying web.xml on the fly

2000-12-19 Thread John de la Garza
I have written some code to add security constraints from a web app. The only problem is that the security constraints don't become active until the server is restarted... Any one have any good ideas to deal with this? It would be cool if the security constrains info was in a

HOW DO I GET OFF THIS LIST!~~

2000-12-19 Thread Dan Toomey
_ Get your FREE download of MSN Explorer at http://explorer.msn.com

RE: HOW DO I GET OFF THIS LIST!~~

2000-12-19 Thread Dave Newton
Now why would you want to do that? :) "To remove your address from the list, send a message to: [EMAIL PROTECTED]" Dave

RE: HOW DO I GET OFF THIS LIST!~~

2000-12-19 Thread Matt Coolidge
To remove your address from the list, send a message to: [EMAIL PROTECTED] -Original Message- From: Dan Toomey [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 19, 2000 3:34 PM To: [EMAIL PROTECTED] Subject: HOW DO I GET OFF THIS LIST!~~

Re: HOW DO I GET OFF THIS LIST!~~

2000-12-19 Thread Paul Gonin
From the subscription confirmation mail : To remove your address from the list, send a message to: [EMAIL PROTECTED]

RE: HOW DO I GET OFF THIS LIST!~~

2000-12-19 Thread Dave Newton
*lol* Sorry to be off-topic, but it's funny how helpful we are when the questions are really easy :D (And it's fairly remarkable how helpful we are when they're _not_ so easy!) Dave

Re: HOW DO I GET OFF THIS LIST!~~

2000-12-19 Thread John Elia
Hello, yes, I would like to know also. I actually need to subscribe to the Tomcat Development Mailing List, so if anyone knows the "trick", please be a sport and help me out. Thank You John - Original Message - From: "Dave Newton" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

SOLVED: apache 1.3.14, tomcat 3.2.1, Linux

2000-12-19 Thread Neil Aggarwal
Hello: With a LOT of help from people on this list, I finally got apache 1.3.14 and Tomcat 3.2.1 configured and working on my system. Here is the exact procedure that I used to get apache 1.3.14 and tomcat 3.2.1 to work on my Linux system. I hope this helps some of the dazed and confused out

Netscape displaying the HTML code

2000-12-19 Thread Guntupalli Shanti
Hi, I have tomcat 3.2 running on Apache 1.3.14. All the HTML content in my web site is returned by the servlets based on the templates passed in the query. Something like http://www.myserver.com:8070/examples/servlet/servletname?page=main where main is a html template file. When I am

Replacing ALL Whitespace in string

2000-12-19 Thread Mark Franz
I am trying to replace ALL the Whitespace in a string. If I do this; String newcat = newcat1.replace(' ',''); I get this error; 100. String newcat = newcat1.replace(' ',''); *** Lexical Error: Empty character constant My newcat string

RE: SOLVED: apache 1.3.14, tomcat 3.2.1, Linux

2000-12-19 Thread Dave Newton
Thanks Neil! Here is the exact procedure that I used to get apache 1.3.14 and tomcat 3.2.1 to work on my Linux system. Anybody want to volunteer to either a) put in on the jakarta site or b) put it on their own site? This way we can point all these questions to this mini-HOWTO. Dave

RE: Netscape displaying the HTML code

2000-12-19 Thread Srinivas, Rajesh
hi, I suppose you have to set the content type as text/html using the setContentType() method of response object. Hope this helps. Rajesh -Original Message- From: Guntupalli Shanti [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 19, 2000 1:16 PM To: [EMAIL PROTECTED] Subject:

Strange redirect problem...

2000-12-19 Thread Cato, Christopher
Hello... I'm running TomCat 3.21 on RedHat Linux 6.2 with Apache 1.3.12 / mod_jk I have run into a strange little problem. I have a web application consisting of 40 servlets. In the servlet code a good deal of redirects are going on between the servlets. All redirects are pointed towards

Is this a user or development question.

2000-12-19 Thread John Elia
My question is about JSP, mysql and forms. I have included an example. I am updating a mysql database through a form, and populating a mysql database. Right now I am inserting NULL values. I have a feeling this is a development question and don't want to waste anyones time if this is not the

RE: Is this a user or development question.

2000-12-19 Thread Dave Newton
I am updating a mysql database through a form, and populating a mysql database. Right now I am inserting NULL values. I have a feeling this is a development question tomcat-dev is for developers of Tomcat, not of Tomcat applications. I'm not even sure if this is a user question, since

RE: Strange moving problems

2000-12-19 Thread Dave Newton
One of the most baffling being when going from an html page to a servlet it returns a 404 error even though nothing is showing up in the Tomcat log By the tomcat log do you mean jasper.log? Until I had a virtual server set up I got 404 errors on JSP files~maybe it's the same thing? Dave

Strange redirect problems with non-existent /servlets/ JkMount

2000-12-19 Thread Cato, Christopher
I have run into a strange little problem. I have a web application consisting of 40 servlets. In the servlet code a good deal of redirects are going on between the servlets. All redirects are pointed towards "/app01/servlet/servletx". The only apps that are configured except the /app01 are

RE: Class not found on import

2000-12-19 Thread Do Phil
Title: RE: Class not found on import In your development environment, you probably need to include the WEF-INF path in your CLASSPATH. You shouldn't have this for starting the server but for compiling your code, you do. Phil -Original Message- From: Matt Becker [mailto:[EMAIL

Tomcat 3.2 standalone + SSL - Help please

2000-12-19 Thread Dion_Vansevenant
I have followed the instructions in server.xml for configuring SSL with Tomcat. When I try to access the SSL connection at http://ip.add.re.ss:8443, the server thinks about it, then my browser (IE5) displays and empty certificates box for me the select the certificate I want to use. The

Virtual Machine error

2000-12-19 Thread Jed Soane
Hi, I am having an intermittent problem with my Tomcat installation. When starting/stopping Tomcat, compiling Java code that imports javax.servlet.jsp.* etc, or when accessing JSP pages the Java Virtual Machine gives the following error: # HotSpot Virtual Machine Error, Unexpected Signal 11 #

RE: Class not found on import

2000-12-19 Thread Matt Becker
I should be able to take the exact web app from my Windows machine and transfer it over to my Linux machine without compiling the java code, right? Matt At 02:01 PM 12/19/00, you wrote: In your development environment, you probably need to include the WEF-INF path in your CLASSPATH. You

Re: Virtual Machine error

2000-12-19 Thread Christoph Rooms
try to start giving the option "+classic" ... should work ... - Original Message - From: "Jed Soane" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 19, 2000 11:29 PM Subject: Virtual Machine error Hi, I am having an intermittent problem with my Tomcat installation.

Re: Virtual Machine error

2000-12-19 Thread Christoph Rooms
sorry ... doesn't work with tomcat :( Anyway ... you should start your java program with a +classic if this happens ... - Original Message - From: "Jed Soane" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 19, 2000 11:29 PM Subject: Virtual Machine error Hi, I am

TOMCAT and COM

2000-12-19 Thread Dennis Drugan
I am trying to invoke a COM object from Tomcat (running under jview, with the COM wrappers provided by J++)? I get a stacktrace as seen below, even with Tomcat 3.2.1. I have been temporarily able to get around the problem by switching the threading model for the COM object from "Both" to

Re: Tomcat 3.2 standalone + SSL - Help please

2000-12-19 Thread Filip Hanik
try https://ip.add.re.ss:8443 instead. ie has to know that you want to use https instead of http Filip - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 19, 2000 2:26 PM Subject: Tomcat 3.2 standalone + SSL - Help please I have followed the

Compile Error in JSP generated servlet

2000-12-19 Thread Moran, David (David)
What would cause JSP to generate the same variable in the generated servlet. I am getting the following compile error in the JSP generated servlet in tomcat 3.2 on Windows NT. I am trying to get the book examples to run from "SE Using Java Server Pages and Servlets" Error: 500 Location:

IllegalStateException: Short Read while trying to do forward()

2000-12-19 Thread Jason C Jones
I am running 3.2.1 in standalone mode and when I try to do a forward with a RequestDispatcher I get the following error: going to /patient.jsp res.isCommitted() = false res.getBufferSize() = 8192 2000-12-19 04:53:48 - Ctx( /nativeweb ): Exception in: R( /nativeweb + /patient. jsp + null) -

RE: IllegalStateException: Short Read while trying to do forward()

2000-12-19 Thread Duane Morse
This is probably the same error I reported a couple of weeks ago, though in my case the error was occurring before the servlet container tried compiling a JSP. My servlet already processed the POST data, but the servlet container tried to re-read the data in preparation to hand the request to the

RE: How to password-protect a servlet?

2000-12-19 Thread guyr
I posted an answer to this question about 2 weeks ago. I found that if you put the Tomcat directory for a particular context inside the Apache document path, Apache will then pop up the logon dialog for pages destined for Tomcat. -Original Message- From: Neil Aggarwal [mailto:[EMAIL

RE: database connection problem when run nt service

2000-12-19 Thread H Deng
Thanks for the tip. It does not seem to be related with the user permission since the same code works fine when tomcat is running as a stand alone application(startup). The problem only appears when tomcat is running as a service(net start jakarta). The exception I get is

Re: database connection problem when run nt service

2000-12-19 Thread Steve Ruby
Make sure the DSN you are trying to get to is a System DSN and not a User DSN, tomcat will run as a different user when run as a service unless you specify otherwise. User DSN can only be seen by the user it was created by. H Deng wrote: Thanks for the tip. It does not seem to be related

Re: Class not found on import

2000-12-19 Thread Filip Hanik
darn right you should, Java should do that for you, unless you have coded any JNI or other platform specific code in your application ;-) Filip - Original Message - From: Matt Becker To: [EMAIL PROTECTED] Sent: Tuesday, December 19, 2000 2:29 PM Subject: RE:

Can't get into the ContextAdmin page...

2000-12-19 Thread Intergate
Hello everyone, just signed up for this mailing list. I have set up Tomcat 3.2.1 and Apache 1.3.12 on Windows NT 4.0. Everything seems to be working fine, I can get static pages, and call servlets... However, when I try to go into Context Admin in the Tomcat Administration Tools section I get

RE: Deny web-inf access (security problem)

2000-12-19 Thread guyr
Set up a directory outside your tomcat directory to contain java class files, and include that directory in your classpath. Keep it outside of your Apache directory as well. -Original Message- From: Paul Gonin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 19, 2000 2:02 PM To:

  1   2   >