Includes

2000-12-18 Thread Bruce Cota
Hi, I'm a newcomer to Tomcat and recently upgraded from 3.1 to 3.2. I have been working on a site in which one directory holds files included in several sibling directories. With 3.1, I was able to use a Context with path="/", but with 3.2 this does not seem to work -- I get 404's from tomcat

AW: Tomcat 3.2.1 404 errors

2000-12-18 Thread Amrhein, Thomas
Name your error-pages *.jsp and they will be found by tomcat. (this problem is discussed in this list) I reported this bug. http://znutar.cortexity.com/BugRatViewer/ShowReport/607 regards Thomas To reproduce this bug: Put a file called 404.html in the root directory of a context. Create

error in session management when using apache/tomcat 3.2.1 Release

2000-12-18 Thread Hanusch, Hartwig
Hi everybody, i posted a few times earlier ... but now i hope that found the source of the error (till yet without solution). I am using a servlet which calls itself from the get to the post method. A user is identified via sesion (quite usual i think) When using tomcat via 8080 port

Re: How to set apache so it starts from index.jsp?

2000-12-18 Thread Wojciech Wasowicz
Dave Newton wrote: Question like in Subject. I've tried to replace index.html with index.jsp _at_the_end_ of httpd.conf and it doesn't work. (I use mod_jk to connect to tomcat) Has someone any clues? I mean - in the root directory of apache. Do you mean have Apache look for an

RE: Can't stop tomcat

2000-12-18 Thread Kitching Simon
Try running the "stop" command several times. If you eventually get a bunch of socket exceptions on the screen, you know that it worked (the errors appear if you run stop, and there is no tomcat instance to stop). I think there are some problems with some JVMs, which are not stopping all threads

wml

2000-12-18 Thread Landaluze Produktions IS - Carlos
how can configure tomcat to serve the wml pages? thanks

RE: Includes

2000-12-18 Thread Kitching Simon
Hi Bruce, I'm not entirely sure what your problem is. I'm almost certain you cannot include files "across contexts" using jsp:include (ie run-time include). That would involve invoking a servlet in one context from a servlet in another context. I'm almost certain that %@ include url (ie

RE: Need Some help..

2000-12-18 Thread Kitching Simon
Hi, I suggest thinking of your mappings in two steps: (a) get the mappings right *within* a context (b) decide what context prefix you want. If you ve a context with a path (ie url prefix) of "mywebapp", then you can set up URLs as you desire *within* that webapp. Configuring the url-servlet

Session management on load balanced server

2000-12-18 Thread Marsh Andy
I have proposals for the following system: 5 servers running tomcat/apache 1 load balancer 1 proxy/firewall. We will be connecting to a wap/gprs gateway to make connections for users. We cannot use cookies on the wap phones and the gateway does not support them. we need to manage sessions on

Pbm. in setting the parameter for an applet in servlet...

2000-12-18 Thread Subha Gowri K V
Hi, We have a problem in passing parameter to an applet which is called by a servlet. 1. In servlet we are setting the param like : out.println("APPLET CODE=ResultApplet.class CODEBASE=\"http://hostname/dir\"" + " WIDTH=50 HEIGHT=100"); out.println("ALIGN=TOP");

RE: Pbm. in setting the parameter for an applet in servlet...

2000-12-18 Thread Kitching Simon
I can see a typo in there - you don't have a "" before PARAM To check the output of your servlet, are you running it, using "view source", saving the results then trying to run *that*? This procedure will ensure you are testing exactly what your servlet is generating... -Original

building mod_jk

2000-12-18 Thread Rashaad
Hi, i am having a problem building mod_jk provided with the "jakarta-tomcat-3.2.1-src" distribution When i use the command "make --makefile=Makefile.linux" i get an error of the sort "../jk/jk_jni_worker.c :67:jni.h no such file or directory" followed by warnings and then next to these

Apache doesn't start with mod_jk

2000-12-18 Thread Jan Stevens
Hi, When I try to start Apache with mod_jk, Apache doesn't start without any messages. Compiling of mod_jk goes ok. I'm using Apache on an Alpha 1000 with Tru64 4.0D Everything works fin ewith mod_jserv. Am I missing something? Jan

Re: Includes

2000-12-18 Thread Bruce Cota
Thanks for the reply The problem I have is that I cannot get a context with the path "/" to work -- I just get 404's. The site I'm trying to work on (which already exists) uses url's like "www.company.com/app1/index.jsp" and "www.company.com/app2/index.jsp", where both index1.jsp and

RES: multipart/form-data problem

2000-12-18 Thread Jose Euclides da Silva Junior - DIGR.O
-BEGIN PGP SIGNED MESSAGE- Hi everybody, i am using tomcat 3.1 and multipart/form-data works fine with oreilly' components. Are you using it? If yes, It seems to be stupid hint, but try a downgrade! Regards, José Euclides Júnior __ E-mail: [EMAIL

RE: Includes

2000-12-18 Thread Kitching Simon
Hmm..seems like it should work fine. I do this sort of stuff right now, and there are no problems. One note: I set path to an *empty string*, not to "/"..don't know if this makes a difference or not. server.xml: Context path="" docBase="/home/ola3dev/webserver/docroot"

RE: Includes

2000-12-18 Thread Deepak C S
hi Friends, 1) Can anybody suggest How to create a Web Application structure i.e root/WEB-INF/web.xml root/WEB-INF/classes root/lib .. Is there a tool to develop this structure Or shd I do everything manually i.e

AW: JDBC Realm documentation

2000-12-18 Thread Kurt, Oliver
Okay then let me explain what I did and what didn't work 1.) I followed the instructions in the jdbc-realm howto (what means, that i created the tables in the database and commented the line "org.apache.tomcat.request.SimpleRealm" and inserted the following: RequestInterceptor

RE: JDBC Realm documentation

2000-12-18 Thread Nacho
url-pattern*.jsp/url-pattern I dont have the spec in the wall... but i want to remember that spec does not have defined this kind of wildcard matching (with the wildchar as prefix ) it only deals with wildchars as suffix.., so your need to rewrite your url-pattern .. Saludos , Ignacio

Re: Tomcat + Windows 2000?

2000-12-18 Thread Harold Trammel
I am having similar problems with Tomcat. I have been running Apache for sometime without problems. I downloaded Tomcat 3.2, followed the directions, and had the same "flashing" experience stated here. I edited the tomcat.bat file and added the -verbose option to the runServer command. This

AW: JDBC Realm documentation

2000-12-18 Thread Kurt, Oliver
I found, what I did wrong !!! The security-specific entries in the web.xml file MUST be in a webapplication-specific web.xml file under WEB-INF and not in /conf/web.xml. This is - for someone who is familiar with all the stuff - totally clear. But for a beginner it isn't. However, muchas

Apache-Tomcat configuration problems: PLEASE HELP

2000-12-18 Thread Dave Emerson
Hi, I've been trying to get Tomcat and Apache configured to avoid the need to reference the port number in the URL. Instead of http://localhost:8080/, I want to be able to say http://localhost/servlet/. Isn't that what mod_jk is supposed to do for me? At the moment I just like to get the

RE: Apache doesn't start with mod_jk

2000-12-18 Thread Palumbo, Mark
How did you build mod_jk ? Did you use a special Makefile etc? If so could you please share it with everyone? I'm trying to build mod_jk under AIX, it seems most people here are using the supported platforms of solaris or linux. :) I keep getting clean compiles, but the link process always

AW: Apache/Tomcat 3.2.1 session error - help!

2000-12-18 Thread Hanusch, Hartwig
Hi Henri, indeed am i (trying to) use ajp13 with jk_mod but the error is reproducible with jserv to. Here are the code snipples - public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { HttpSession currentSession =

Re: Tomcat 3.2 - getRequestDispatcher().forward

2000-12-18 Thread Matt Goss
G, I'm not totally sure, but you may want to try renaming the subdirectory to something other that admin (Apache may be picking it up as a call for its mapping of /admin/ to the admin webapp... Matt Graeme Wallace wrote: So its a bug in 3.2 then. -Original Message- From: Matt

automatic Application restart on ServletException

2000-12-18 Thread Andreas Schildbach
What is the best way to tell Tomcat (3.2) to restart an entire application (including all servlets) on a ServletException or an UnavailableException? Or is there another way for a servlet to tell Tomcat to restart the application? Gruss, Andreas Schildbach financial media service

RE: JDBC Realm documentation

2000-12-18 Thread Nacho
I found, what I did wrong !!! Great to hear that However, muchas gracias Ignacio de Nada. ps. The url-mapping *.jsp is valid. Yes i did read the spec ( section 10.2 ), it seems that the type of url-pattern that are not defined is with a url-pattern of this class "*/pepe.jsp" not with

Common Tomcat Installation Bugs Fix in Windows OS

2000-12-18 Thread isu:jwkoh
These are all the errors I encountered and fixed overnight during Tomcat installation. ):-( 1. Error Message, "Out of environment space:" -- right click on startup.bat and click on property and click memory tab and choose initial environment drop-down box and choose 2048 or bigger. It doesn't

RE: Apache doesn't start with mod_jk

2000-12-18 Thread Dave Newton
See my previous message regarding the final link step (it's also in the documentation). I keep getting clean compiles, but the link process always fails with: apxs:Break: Command failed with rc=8 Dave

Standalone Tomcat

2000-12-18 Thread ECIS Gast
Dear Ladies and Gentleman, i have a problem to run Tomcat 3.2.1 as Standalone-Server, i mean wihout a Web-Server. I can start the Tomcat-Server, but i can't execute the servlets in the webbrowser (for example with command "http://localhost/servlet/MyTestServlet"). Reportedly to the Guideline of

Re: Standalone Tomcat

2000-12-18 Thread Trevor Little
List the errors that you're getting please ECIS Gast wrote: Dear Ladies and Gentleman, i have a problem to run Tomcat 3.2.1 as Standalone-Server, i mean wihout a Web-Server. I can start the Tomcat-Server, but i can't execute the servlets in the webbrowser (for example with command

Re: Standalone Tomcat

2000-12-18 Thread Clifford . Okoro
Try using http://localhost:8080/servlet/MyTestServlet If you're using tomcat and have not changed the default port, you'll have to use port 8080 as above. Clifford ECIS Gast [EMAIL PROTECTED] on 12/18/2000 04:45:38 PM Please respond to [EMAIL PROTECTED]

TomCat into NT environment

2000-12-18 Thread Jose Euclides da Silva Junior - DIGR.O
-BEGIN PGP SIGNED MESSAGE- What is the way to use TomCat into NT 4.0 Server? Just as a Stand-alone web-server, or as a NT service or even mixed with IIS. I think that this last option is the worst... Best Regards, José Euclides Júnior __ E-mail: [EMAIL

At Value must be quoted. Error

2000-12-18 Thread Donald Mullaney
Help. I am running Apache 1.3 and Tomcat on Caldera's eServer. I was trying make modifications to the default server.xml file. After the modifications restarted tomcat and got the errors below. I also returned the server.xml to the orginal state and I still get the same error. Any ideas?

RE: multiple JVMs: how to manage tomcat-apache.conf?

2000-12-18 Thread James Morgenstein
George- Instead of using the auto-generated tomcat-apache.conf, you could take a copy of the tomcat-apache.conf for each of your configurations and rename it to something else, e.g., tomcat-apache.conf.prod and tomcat-apache.conf.dev. You could then include your renamed apache configuration

RE: Apache doesn't start with mod_jk

2000-12-18 Thread Dave Newton
Here's the relevent portion: "Working with mod_jk" at http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html It sez: "Your build may fail because the object files from the ../jk directory have been compiled to the current directory, rather than their source directory.

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

2000-12-18 Thread Ethan Michaels
I have restarted Tomcat again this morning, and all the material that was in the logs is no longer there (since the restart). That seems a little weird. Is that normal? Anyway, I recall that none of them had anything that looked like an error message. The jasper log recorded a series of requests

getting a jsp file to always be executed on form-based authentification

2000-12-18 Thread Joakim Verona
hello, i would like a certain jsp file to always be executed when form based auth succeeds, regardless of which resource we are trying to get at, something like an event-handler for the auth event. i cant really find a provission for such a function, other than having some session variable to

Re: At Value must be quoted. Error

2000-12-18 Thread Donald Mullaney
Thxs Simon, I had a typo that I was looking right at and I could not see. Nothing like staring to hard.. Is there a document anywhere that describes error messages? The error message was not clear to me, but then again I am new to this. Thanks again, Donald - Original Message -

Load Balancing / multiple mount points

2000-12-18 Thread Shahed Ali
Hi, I am trying to load balance a virtual host running on apache 1.3.14 with tomcat 3.2. I have setup multiple worker threads and have Multiple JkMount points for the same virtual host pointing to the same mount point. i.e I have the following directives under the same apache virtual host

Re: getting a jsp file to always be executed on form-based authentification

2000-12-18 Thread Craig R. McClanahan
Joakim Verona wrote: hello, i would like a certain jsp file to always be executed when form based auth succeeds, regardless of which resource we are trying to get at, something like an event-handler for the auth event. i cant really find a provission for such a function, other than having

Problems with change from 3.1 to 3.2

2000-12-18 Thread tobias . reinhardt
Hi I have an web-app, which was running in tomcat 3.1 without error. I tried to deploy this web-app in tomcat 3.2, but i get the following exception: java.lang.NullPointerException at org.apache.tomcat.facade.HttpSessionFacade.getValue(HttpSessionFacade.java:158) I know, that tomcat3.2 is now

mod_jk.so HELP

2000-12-18 Thread Thoger Sondergaard
newbi can't build mod_jk.so Use this command to build (try to :) sh apxs -o mod_jk.so -I../jk -I/usr/java/jdk1.3/include -I/usr/java/jdk1.3/include/linux -c *.c ../jk/*.c perl-5.6.0-9 is installet and I start in the folder /src/native/apache1.3 But this is what I get: apxs: require: command

Tomcat configuration question

2000-12-18 Thread Fabricio Pirez
Hello I'm using IIS+Tomcat+isapi_redirect.dll I need to know how to disable directory browsing in a directory served by tomcat Is it possible? Thanks in advance

Re: Apache-Tomcat configuration problems: PLEASE HELP

2000-12-18 Thread Dave Smith
Dave, For me, the epiphany came when I figured out that the server.xml Context needs to match up with the apache directory you are serving out of. See how your server.xml is mapping the docBase to webapps/examples? That is most likely a folder in the tomcat installation. Apache doesn't know

Re: Tomcat configuration question

2000-12-18 Thread isu:jwkoh
sorry, no idea. - Original Message - From: "Fabricio Pirez" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 18, 2000 1:21 PM Subject: Tomcat configuration question Hello I'm using IIS+Tomcat+isapi_redirect.dll I need to know how to disable directory browsing in a

Re: LDAPRealm

2000-12-18 Thread Tim McNerney
Anyone working on an LDAPRealm? A good start might be to check out the LDAP Tomcat example from Professional JSP from Wrox Press. They set up a fairly simple, but workable LDAP security mechanism, though it is set up to work with an older version of Tomcat. Perhaps with the permission of Mark

Tomcat 3.2 and EJB server - Class Not Found exception

2000-12-18 Thread Alex Moffat
Trying to use Tomcat 3.2 and JBoss. After battling security problems I get to the point where Tomcat attempts to load the ejb home interface, and it won't, even thought the correct classes are in correct webapps subdirectory. However, if I jar up the classes needed for the home interface and put

FW: LDAPRealm

2000-12-18 Thread Michael.L.Smith
Michael L Smith AvantGardeSolutions.net (501) 225-6153 [EMAIL PROTECTED] -- The greatest programming project ever, took 6 days and 6 nights and on the 7th day the programmer rested... we've been trying to debug the bloody thing ever since -Original Message- From: Tim McNerney

FW: Tomcat 3.2 and EJB server - Class Not Found exception

2000-12-18 Thread Michael.L.Smith
Michael L Smith AvantGardeSolutions.net (501) 225-6153 [EMAIL PROTECTED] -- The greatest programming project ever, took 6 days and 6 nights and on the 7th day the programmer rested... we've been trying to debug the bloody thing ever since -Original Message- From: Alex Moffat

RE: At Value must be quoted. Error

2000-12-18 Thread Kitching Simon
-Original Message- From: Donald Mullaney [SMTP:[EMAIL PROTECTED]] Sent: Monday, December 18, 2000 7:48 PM To: [EMAIL PROTECTED] Subject: Re: At Value must be quoted. Error Thxs Simon, I had a typo that I was looking right at and I could not see. Nothing like

FW: At Value must be quoted. Error

2000-12-18 Thread Michael.L.Smith
Michael L Smith AvantGardeSolutions.net (501) 225-6153 [EMAIL PROTECTED] -- The greatest programming project ever, took 6 days and 6 nights and on the 7th day the programmer rested... we've been trying to debug the bloody thing ever since -Original Message- From: Kitching Simon

RE: Apache doesn't start with mod_jk

2000-12-18 Thread Palumbo, Mark
I still get the same error. :( Any other ideas? Here's the entire link statement and subsequent error message incase it helps...first here's the "normal" way where 'apxs' flops out... ld -H512 -T512 -bhalt:4 -bM:SRE -bnoentry -bI:/usr/local/apache/libexec/httpd.ex p -lc -o mod_jk.so

RE: Apache doesn't start with mod_jk

2000-12-18 Thread Simon Orchanian
Mark, I'm getting the EXACT same error messages on both occasions. I could really use some help from some of the experts out there. Please! My environment is Solaris 2.7. Thank you in advance, Simon --- "Palumbo, Mark" [EMAIL PROTECTED] wrote: I still get the same error. :( Any other

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

2000-12-18 Thread Dave Newton
I have restarted Tomcat again this morning, and all the material that was in the logs is no longer there (since the restart). That seems a little weird. Is that normal? Yeah. I'm not sure if I like that either. Anyway, I recall that none of them had anything that looked like an error

RE: Tomcat configuration question

2000-12-18 Thread Paul FitzPatrick
Fram an earlier post : conf/web.xml is not used in Tomcat 3.2.x. Try this in server.xml: !-- "default" handler - static files and dirs. Set the "suppress" property to "true" to suppress directory listings when no welcome file is present. NOTE: This setting applies to *all*

FW: At Value must be quoted. Error

2000-12-18 Thread Michael.L.Smith
Michael L Smith AvantGardeSolutions.net (501) 225-6153 [EMAIL PROTECTED] -- The greatest programming project ever, took 6 days and 6 nights and on the 7th day the programmer rested... we've been trying to debug the bloody thing ever since -Original Message- From: Michael.L.Smith

FW: Intermittent shutdown failures.

2000-12-18 Thread Michael.L.Smith
Michael L Smith AvantGardeSolutions.net (501) 225-6153 [EMAIL PROTECTED] -- The greatest programming project ever, took 6 days and 6 nights and on the 7th day the programmer rested... we've been trying to debug the bloody thing ever since -Original Message- From: Saurabh Shukla

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

2000-12-18 Thread Michael.L.Smith
Michael L Smith AvantGardeSolutions.net (501) 225-6153 [EMAIL PROTECTED] -- The greatest programming project ever, took 6 days and 6 nights and on the 7th day the programmer rested... we've been trying to debug the bloody thing ever since -Original Message- From: Dave Newton

FW: Tomcat configuration question

2000-12-18 Thread Michael.L.Smith
Michael L Smith AvantGardeSolutions.net (501) 225-6153 [EMAIL PROTECTED] -- The greatest programming project ever, took 6 days and 6 nights and on the 7th day the programmer rested... we've been trying to debug the bloody thing ever since -Original Message- From: Paul FitzPatrick

CLASSPATH precedence

2000-12-18 Thread David Miller
Hi, Two related questions regarding CLASSPATH precedence: (A) If I place the same *.jar files (same names but different versions) in both $TOMCAT_HOME/webapps/WEBAPP_A/WEB-INF/lib and in $TOMCAT_HOME/webapps/WEBAPP_B/WEB-INF/lib does the version of the *.jar files in

serving PHP files with Tomcat 3.2

2000-12-18 Thread Christian Wenz
Hello, after upgrading from 3.1 to 3.2.x, I have a problems if I want to server PHP files - Tomcat returns the source code to the browser. I don't think I made any mistake in web.xml - but can it be that web.xml has another functionality in 3.2, and if so, where else can I commit changes?

RE: webapps are useless toys?!

2000-12-18 Thread Steven Newton
So assuming the site requires "single sign-on". And that there are several segmentations of the site, each of which could be handled by a different web-app: I'm getting the impression that I'm supposed to do some kind of magic with the session cookie. Is it necessary to persist all of

Very Basic Help on TOMCAT how do I use it?

2000-12-18 Thread jang won koh
I installed it and compiled a servlet example. Where do I put servlet classes and JSP and how do I invoke them from Internet Explorer? How do I use things in tomcat\webapps\examples and \root and \test? I want to test but have no idea how. Thank you in advance

J2EE OpenEJB

2000-12-18 Thread dferugson
I noticed a reference to tomcat on the openEJB site. Then I went to apache.org and notice that the latest build of tomcat is JNDI complient Will tomcat evolve into an application server or is it already read for this? If tomcat is not going the direction of app server is anyone making use of

RE: J2EE OpenEJB

2000-12-18 Thread Alex Moffat
I'm currently using a JBoss/Tomcat combination (the separate processes version, not the all in one process version). It works fine with 3.1 tomcat. I'm having problems with the 3.2 tomcat version related to how it finds, or rather doesn't find, the classes that implement the beans' interfaces.

Getting Tomcat to run

2000-12-18 Thread Jon Pratt
I downloaded Apache and got it to run. I downloaded Tomcat 3.2.1 build and tried to compile the java files. Got tons of errors. Can anyone point me at a definitive step by step Howto? I did the following (from Tomcat - A Minimalistic User's guide): Download the zip/tar.gz/whatever file

RE: link problem

2000-12-18 Thread Jacob Kjome
You can use: ":" + request.getServerPort() jake -Original Message- From: MK [mailto:[EMAIL PROTECTED]] Sent: Monday, December 18, 2000 2:58 PM To: [EMAIL PROTECTED] Subject: link problem I have a problem which breaks my head :-) I am using Tomcat 3.2.1. Here is what I have in

wierd problem reading remote mapped files in servlets

2000-12-18 Thread Betty Chang
Hi all -- has anyone seen this problem? I running a servlet on Windows 2000, or NT, and it's trying to read a file that is mapped from a remote machine (e.g.: m:\junk.txt, where m: is mapped to something on the network). On Windows 2000, the drive will actually disconnect on me (when I run

RE: link problem

2000-12-18 Thread Sean Jiang
Own your own personal link from Infotriever. Then your friends will not lose your contacts anymore whenever you change your address. http://my.infotriever.com/bobby2info (Click to add my contact into your organizer and keep up-to-date) -Original Message- From: Jacob Kjome

servlet configuration help.

2000-12-18 Thread John Marquart
List members, Excuse this relatively "newbie" question - but I have not yet found anything in the FAQ or mailing list archives. I am attempting to get my servlet - DataServ to work. After fighting various problems w/ classpaths and environment configurations, i finally got stuck w/ the

bug in getUserPrincipal()?

2000-12-18 Thread Thom Park
Dear All, I'm seeing some odd behavior from getUserPrincipal(). I have a simple servlet that calls: getRemoteUser(), getUserPrincipal() and isUserInRole(). I've setup an appropriate web.xml and all is well until I access the same servlet from two web-browsers on the same machine. In the first

RE: bug in getUserPrincipal()?

2000-12-18 Thread Palumbo, Mark
How did you "open" the second browser? Did you ask your browser to spawn a new browser window, or did you open a new one via an icon, system menu, command line, etc.? If you ask an IE browser to open a new window, the two "browsers" will share the same cookie so tomcat will think they are the

What is net.class?

2000-12-18 Thread Smith, Steven M
Does anyone know why Apache/TomCat is looking for java/net.class? I am running Apache 1.3.14 with TomCat 3.2.1 after upgrading from 3.1 on Windows NT 4.0, SP 4 under JDK1.2.2_005. After upgrading, the following messages appeared in Apache's error.log: [Mon Dec 18 13:36:18 2000] [error] [client

web.xml parsing

2000-12-18 Thread John de la Garza
I am a bit new to XML tools. Can someone tell me what I should be doing to be able to add and delete security constraint info in the web.xml file? I have tried reading some docs on XML as a whole, but I need to get going quickly and don't have time to read everything about XML as a whole...I

RE: web.xml parsing

2000-12-18 Thread Dave Newton
I am a bit new to XML tools. Can someone tell me what I should be doing to be able to add and delete security constraint info in the web.xml file? If it's just a config file just go in with a text editor~is that what you're asking? You don't need to parse/etc. unless you need to do this

Re: bug in getUserPrincipal()?

2000-12-18 Thread Thom Park
Hi Mark, I was using IE(5.5) - I started up a fresh session from the icon on the desktop for each test. I also repeated the tesit using Netscape 4.7 and saw the same behaviour. I noticed that in org.apache.tomcat.core.RequestImpl.getUserPrincipal() that there's a test that goes

New JSP based website

2000-12-18 Thread Alan Wright
Myself and a friend have just put a JSP based website up at www.free-minder.com We have put a bit of background on the site up in the "About" section and plan to put as much of the source as we can in the New Year. I will post another message when the source is available. The site uses

RE: Tomcat configuration question

2000-12-18 Thread Anthony Ikeda
This was brought up in the guru mailing list website: There is some source code you need to rewrite and recompile the code. I don't have the details handy, but if you email later I could dig it out and pass it on. Cheers Anthony Ikeda, Web Application Developer, Proxima Technology, Level 13,

3.2 + IIS: still having problems

2000-12-18 Thread Carles Pi-Sunyer
Hi, I've been struggling for the last few days to integrate tomcat 3.2 with IIS. My current situation is that I am getting the green up arrow for the filter, but I'm getting 404 messages for the pages I'm requesting. I've tried the following advice without success: 1) use short directory

Re: Building output page by page.

2000-12-18 Thread Mark Koscak
Hello again, I know someone responded to this message, I was unable to respond and the original message was deleted. My apologies. (Don't asklong story...) At present it takes around 13sec to build a page of 1300 rows over 10MB Lan. I am pushing HTML output in a display method using

Re: J2EE OpenEJB

2000-12-18 Thread jdunn
From what I have read Enterprise level applications are headed to 3 or 4 tiers. Tier 1 is the client (browser) Tier two is the Web server coupled with a container for presentation logic. Tier three is optional and is a container for business logic (ie. Enterprise Java Beans ) Tier four is the

Re: Building output page by page.

2000-12-18 Thread Dave Smith
Hi Mark, I'll repeat whatI said in my earlier response. You are not giving much information about what you are doing. You do mention making "database queries". Lets assume you are accessing a DB with sequel. In that case you can perform the following type of query: select * from

C:\Jakarta\jakarta-tomcat-3.2.1-src\build.xml:93: Cannot use classic compiler

2000-12-18 Thread Jacob Thomas
Title: C:\Jakarta\jakarta-tomcat-3.2.1-src\build.xml:93: Cannot use classic compiler While trying to install Tomcat, got the following error: C:\Jakarta\jakarta-tomcat-3.2.1-src\build.xml:93: Cannot use classic compiler, a s it is not available. Tried removing the line property

Q:forcing reload of a changed bean

2000-12-18 Thread Joakim Verona
hello, is there a way to force reload of a recompiled bean? ok, this is supposed to be automatic but it doesnt always work, so is there a way to force tomcat to unload a class so that it will be forced to reload the same class next time?? -- Joakim Verona [EMAIL PROTECTED]

Re: J2EE OpenEJB

2000-12-18 Thread Craig R. McClanahan
dferugson wrote: I noticed a reference to tomcat on the openEJB site. Then I went to apache.org and notice that the latest build of tomcat is JNDI complient Will tomcat evolve into an application server or is it already read for this? I personally do not see Tomcat evolving into a

Re: What is net.class?

2000-12-18 Thread Craig R. McClanahan
"Smith, Steven M" wrote: Does anyone know why Apache/TomCat is looking for java/net.class? They are looking for this class because some client asked for it. That's why it shows up in the access log. My guess would be it's an applet, but without knowing anything about the client that issued

How to password-protect a servlet?

2000-12-18 Thread Neil Aggarwal
Hello: I am using Apache 1.3.12 with Tomcat 3.1 and I wanted to password protect a servlet running on Tomcat with the Apache password mechanism. In my httpd.conf file, I placed the following lines: LocationMatch /videosearch/servlet/AdminServlet AuthName "VideoSearch Admin" AuthType Basic

Re: 3.2 + IIS: still having problems

2000-12-18 Thread Winifred Sanchez
are you trying to setup tomcat to serve only jsp pages or all pages in a context (including html)? if you're serving all pages, try opening a page by giving the complete url. if you still get a 404 message, it means that you haven't set-up tomcat to communicate with IIS properly. try checking

Re: wierd problem reading remote mapped files in servlets

2000-12-18 Thread Julio Serje (@canada.com)
Hi, Beti You may be referencing to the file in the wrong case. Tomcat 3.2 is case sensitive. (I do read files in mapped drives in both NT/98 without a problem... Maybe there's an issue with Win2k) Julio - Original Message - From: Betty Chang To: [EMAIL PROTECTED]

Re: my html FORM ACTION= can't find my servlet

2000-12-18 Thread Julio Serje (@canada.com)
Try: FORM ACTION="/examples/servlet/ThreeParams" Method="get" . input type="text" name="param1" value="bubba" input input . . /form I'm assuming that you have the three fields in your form coresponding to the three parameters, and that you are implementing the doGet method in your servlet.

sdk 1.3.0 fcs and netscape plugin problem

2000-12-18 Thread Robert B. Easter
This is off topic here, but maybe some knowledgable java coders in here can help me... I've install Netscape 4.76 to /usr/local/netscape (fresh install) and the Blackdown SDK 1.3.0 FCS to /usr/local/j2sdk1.3.0 The instructions for installing the Netscape plugin that comes with sdk1.3.0 says

Re: sdk 1.3.0 fcs and netscape plugin problem

2000-12-18 Thread Bojan Smojver
Try to put the plugin in ~/.netscape/plugins instead. Bojan "Robert B. Easter" wrote: cd /usr/local/netscape/plugins ln -s /usr/local/j2sdk1.3.0/jre/plugin/i386/javaplugin.so javaplugin.so

beans with Virtual Hosting (Apache + Tomcat + mod_jk)

2000-12-18 Thread Tung Fai
I success doing Virtual Hosting on Apache + Tomcat + mod_jk but I have another question. How to make each virtual host have they own *private* bean ?? I need set the CLASSPATH to each virtual host's directory ? Thanks

Re: Building output page by page.

2000-12-18 Thread Mark Koscak
Thanks for the input Dave, I have a HTML form that sends a POST request to a Servlet class. The servlet class interacts with another Java class that I use to access a MySQL database, and display the results. Browser(FORM)--Servlet--JavaDBAccessdisplay--Browser(HTML Display) When

RE: database connection problem when run nt service

2000-12-18 Thread Jared Clinton
I am extremly new to tomcat, although I suspect that it is to do with the NT user that tha service logs in as and the permissions in the database that the user has? ?Stab in the dark? Jared Clinton. -Original Message- From: H Deng [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 19

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

2000-12-18 Thread Andreas Sheriff
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. Here is a brief snippet of the automatically genrated config file: #Reference to .jsp added AddType text/jsp .jsp AddHandler

XMLC on Tomcat

2000-12-18 Thread Christian Bjørnbak
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 without a classpath the only DOM

AW: Problems with change from 3.1 to 3.2

2000-12-18 Thread Hanusch, Hartwig
Hallo Tobias, das selbs passiert bei mir auch (in Verbindung mit dem Apache - ohne Webserver , d.h. Port 8080 ist alles klar). Es tritt bei mir im Zusammenhang mit dem Session-Management auf, wenn von der get die post methode gerufen wird. Hast du eine Lösung? Wenn ja, lasse sie mich doch bitte

AW: Problems with change from 3.1 to 3.2

2000-12-18 Thread Hanusch, Hartwig
Hi there, sorry - i should have written in english - sorry again, so ... same think happens to me when using apache (without everything is fine on tomcats port 8080). This problem arises in relation to the session management ... when the get method calls via html the post method in the same

  1   2   >