Re: Questionnaire

2002-08-12 Thread aaron . duncan
Marcos Manosso [EMAIL PROTECTED] 08/08/2002 11:05 Please respond to Tomcat Users List To: Marcos Manosso [EMAIL PROTECTED] cc: Marcos Manosso [EMAIL PROTECTED] Subject:Questionnaire Is this part of a business decision process?: Dear Sir/Madam We are

AW: form based auth...

2002-08-12 Thread Ralph Einfeldt
The problem lies in your error.jsp. Have a look at line 61 of the generated file error$jsp.java in the work directory to see what causes the Exception. Ralph Einfeldt Uptime Internet Solution Center GmbH Hamburg, Germany Hosting, Content Management, Java Consulting http://www.uptime-isc.de

Re: NOW DESPERATE: Package not found

2002-08-12 Thread Ben Walding
As a last ditch effort I find using the the file monitor from system internals useful for tracking down what is happening. Of course you can't use it with war files unless they are unpacked (Look for filemon on www.sysinternals.com) Have a look for errors as it tries to find the classes, it

Re: NOW DESPERATE: Package not found - FIXED

2002-08-12 Thread Josh
Ah Ok i'll get that for future problems. I managed to fix the problem. Upgraded to 4.1 beta and magically everything works :) -Josh Rimmer, real dumplings, proper dumplings when they're properly cooked to perfection, proper dumplings, should not bounce. - Original Message - From: Ben

RE: Login problem with reverse proxy

2002-08-12 Thread JensStutte
No, i have no concrete idea. My only doubt is, that the chain browser-proxy-tomcat must be involved, that is your redirect somehow gets executed over this chain, otherwise the problem would not exist. I think, there is an option to say, wether redirects should be executed via the browser or

Re: Tomcat, JAXB and SecurityManager

2002-08-12 Thread Cédric Viaud
Thanks, a lot for your help. Yoav Shapira answer make me think about Tomcat version, and i've just tried to run under Tomcat 4.0.4 LE (light edition) this morning. The problems has gone away. Thanks to all, Cédric PS : Yoav, in fact when i have write despited i meant depressed (but i don't

.shtml with 4.0.4

2002-08-12 Thread MadBit
Hello. I'm using Tomcat 4.0.4 with Apache 1.3.26 on Windows 2000. I want to use .shtml pages. In tomcat I enabled de SSI servlet and mapping on web.xml, and on Apache I enabled the AJP connector and enabled .shtml processing: LoadModule jk_module modules/mod_jk.dll Addmodule

Turn off caching

2002-08-12 Thread Gunter D'Hondt
Is it possible to turn off the caching of precompiled jsp pages in tomcat4? i would need this becoz in developer's fase it's not very usefull that tomcat caches everything when using jsp pages that include other jsp page etc. Greetings, Gunter. -- To unsubscribe, e-mail: mailto:[EMAIL

Apachecon 2001 paper

2002-08-12 Thread Mark Gordon
Does anyone know where I can get a copy of the paper Tomcat Server and Application Security delivered at Apachecon 2001 with thanks Mark -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

unable to load class

2002-08-12 Thread Micha Kwiatek
Hello! I'm getting the following error on a seemingly well-configured tomcat 4.0.3 installation (on Linux Mandrake). org.apache.jasper.compiler.CompileException: /bla.jsp(5,0) Unable to load class pl.biznespartner.cms.phoenix.server.WindowTag at

RE: Apache 2 and Tomcat 4

2002-08-12 Thread Robert L Sowders
You need to register the dairy as a Context in the server.xml file, something like this assuming the path is /dairy Context path=/dairy docBase=diary debug=0 reloadable=true / If your installation is working correctly at http://localhost:8080 then please read

Re: Getting mod_webapp

2002-08-12 Thread Adrian
You have to have the servlet.jar in your classpath just like when you build a connector. I`ve built `em on FreeBSD, so I know it can be a pain. There was a site www.pubbitch.org/jboss that helped point me in the right direction. I`ve got to build a linux box today for a customer with James and

Re: Getting mod_webapp

2002-08-12 Thread Murray Cumming
On Mon, 2002-08-12 at 12:33, Adrian wrote: You have to have the servlet.jar in your classpath just like when you build a connector. Thanks, but I'm afraid I need to have this spelled out. I don't seem to have any CLASSPATH environment variable set. With ant, is there some standard way to add

RE: upgrading from v.3.1.1 to v.3.3 ?

2002-08-12 Thread Larry Isaacs
I would start with: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/readme which documents changes to Tomcat 3.3 from Tomcat 3.2.x. Install a complete copy of Tomcat 3.3.1 and either copy your web applications over, or refer to:

RE: NetBeans + Tomcat 4.0.4

2002-08-12 Thread Turner, John
I had the same problem...the folks on the netbeans list told me it was a bug with tomcat integration. Not sure if it was fixed or not, I've been using 4.0.3 with Netbeans and it is OK. John Turner [EMAIL PROTECTED] -Original Message- From: Alexander Wallace [mailto:[EMAIL PROTECTED]]

RE: 500 error on all JSP pages

2002-08-12 Thread Anderson, Richard D ERDC-ITL-MS Contractor
i have experienced the same issue using tomcat 4.0.4, have any suggestions? i'm running red hat 7.2, tomcat 4.0.4,and j2sdk1.4.0_01. the error log says (it's really long): 2002-08-09 10:13:28 WebappLoader[/examples]: Deploying class repositories to work directory

RE: can't find mod_jk.conf

2002-08-12 Thread Turner, John
To get mod_jk.conf auto-generated, you need to add Listener directives into server.xml. You'll need one at the Server level, and one (or more) at the Host level for each different Host. See my HOWTO at http://www.johnturner.com/howto/apache-tomcat-howto.html , step #10. The HOWTO is for

Re: new to tomcat

2002-08-12 Thread Michael E. Locasto
Amit, But when i create TESTJSP directory under Tomcat4.0 - webapps --- TESTJSP --- HelloWorld.jsp did you restart Tomcat after you created that directory and put the jsp in it? You don't need a Context entry in server.xml for

RES: tomcat + apache

2002-08-12 Thread Tiago Ferraz Machado
I'm just translating the mail... (And my Spanish isn't thaat thing... I speak Portuguese, which is very close to Spanish). Any corrections to my Spanish are welcome !! : ) See ya, Tiago. = Hi

StandardWrapperFacade?!

2002-08-12 Thread Maia Zaharieva
hi all, i am using tomcat 4.0.1. and i keep getting the following exception while starting my servlet: StandardManager[/templateconfig] Exception loading sessions from persistent storage java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException:

Re: new to tomcat

2002-08-12 Thread Vishal Mukherjee
hi Is it necessary to deploy the application under webapps directory only. Regards Vishal - Original Message - From: Michael E. Locasto [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, August 12, 2002 6:04 PM Subject: Re: new to tomcat Amit, But when i create

Re: tomcat + apache

2002-08-12 Thread Michael E. Locasto
We can at least make a best effort ... :) Carlos, el documentoRoot de apache esta en /usr/local/httpd/htdocs. Como puedo hacer andar en el puerto 80 unas paginas jsp que estan el: /usr/local/httpd/htdocs/admin ? Que necessita hacer es añadir un contexcto en

Re: new to tomcat

2002-08-12 Thread Michael E. Locasto
No sir, you can pretty much put the directory any place you want, as long as you then specify a Context entry telling Tomcat where to find it. Regards, Michael - Original Message - From: Vishal Mukherjee [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, August 12,

AW: 500 error on all JSP pages

2002-08-12 Thread Ralph Einfeldt
The relevant part is the root cause (see below). It looks like your xerces.jar isn't found or the jar that is found is an outdated version. So look where the jar is and if it is the only one on your system, and check that it contains the org/w3c/dom/ranges/DocumentRange.class.

Re: Getting mod_webapp

2002-08-12 Thread Adrian
Are you running apache2 ? If not you need to get the APR and unzip it in the webapp dir. Keep me updated, we`ll get you through it. Going to work, write me back If I can help. I check my mail there too. - Original Message - From: Murray Cumming [EMAIL PROTECTED] To: Adrian [EMAIL

RE: 500 error on all JSP pages

2002-08-12 Thread Anderson, Richard D ERDC-ITL-MS Contractor
i'll do that. funny thing is tomcat comes with xerces.jar and i've used the file the came packaged with tomcat 4.0.4. i have downloaded the latest xerces.jar and i will try that. if none of that works how do i check the jar file to see if it contains the class needed? i tried unsuccessfully

Re: Getting mod_webapp

2002-08-12 Thread Murray Cumming
On Mon, 2002-08-12 at 13:46, Adrian wrote: Are you running apache2 ? Yes. It's installed by default on RedHat 7.2 If not you need to get the APR Erm, what's an APR? and unzip it in the webapp dir. Keep me updated, we`ll get you through it. Going to work, write me back If I can help. I

RE: Weird no such method error - pulling out my hair

2002-08-12 Thread Stefan Langer
First thing first Are all your classes on the Classpath? Is the class PageBase available in web-inf/classes or in a jar in Web-inf/lib? If so then it might be jsp cache problem. In other words delete your old jsp classes and recompile them so that you are definitly having a current class in

AW: 500 error on all JSP pages

2002-08-12 Thread Ralph Einfeldt
The xerces that is delivered with tomcat should be okay (at least it is for 4.0.3). To view the content of a jar use either $JAVA_HOME/bin/jar tvf jarfile or use an ordinary zip tool. Are you shure that that you don't have an jar file on your system that contains the w3c classes that might

RE: Getting mod_webapp

2002-08-12 Thread Turner, John
APR = Apache Portable Runtime http://apr.apache.org/ John Turner [EMAIL PROTECTED] -Original Message- From: Murray Cumming [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 9:04 AM To: Adrian Cc: Tomcat Users List Subject: Re: Getting mod_webapp On Mon, 2002-08-12 at 13:46,

RE: RequestDispatcher question

2002-08-12 Thread Shapira, Yoav
Hi, You're not supposed to use the RequestDispather.forward() method for another webapp, much less another box. Try response.sendRedirect() instead. Yoav Shapira Millennium ChemInformatics -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002

RE: unable to load class

2002-08-12 Thread Shapira, Yoav
Hi, org.apache.jasper.compiler.CompileException: /bla.jsp(5,0) Unable to load class pl.biznespartner.cms.phoenix.server.WindowTag at org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.jav a:13 9 ) ... I double-checked - the class is in the classpath. What's going on? I

RE: 500 error on all JSP pages

2002-08-12 Thread Anderson, Richard D ERDC-ITL-MS Contractor
thanks i'm checking my jars now; $JAVA_HOME/jre/lib/ext did not have the class and i will definitely check tools.jar and xercesImpl.jar. xerces2.0.2 does not have xerces.jar or crimson.jar. from what i read, the classes in both are placed in xercesImpl.jar -Original Message- From:

RE: Weird no such method error - pulling out my hair

2002-08-12 Thread Shapira, Yoav
Hi, Can you pre-compile your JSP with jspc? I bet as soon as you see the result of that (if it compiles), you'll be able to fix the error in a second! public abstract class PageBase extends HttpJspBase { Yoav Shapira Millennium ChemInformatics -- To unsubscribe, e-mail: mailto:[EMAIL

RE: NetBeans + Tomcat 4.0.4

2002-08-12 Thread Alexander Wallace
Cool! THank you so much. And also when I started using jpda to attach an external tomcat, the problem was not there. On Mon, 2002-08-12 at 12:59, Turner, John wrote: I had the same problem...the folks on the netbeans list told me it was a bug with tomcat integration. Not sure if it was

Re: new to tomcat

2002-08-12 Thread Cédric Viaud
No, you can deploy it everywhere, but if you do so, you have to declare your application in the %TOMCAT_COME%/conf/server.xml At the end, of the file INSIDE the HOST/HOST element, add something like the following : context path=/applicallname docBase=d:/applidir/everywhereyouwant debug=0

newbie question : i can't acces absolute symbolic link created with ln -s command on LINUX

2002-08-12 Thread CouasPhilippe
Hi everybody, Where is my mistake ? i can't acces symbolic link with Tomcat 4.1.8 standalone on LINUX. i have created a link with ln -s command on LINUX. (ln -s /appli appli in ROOT directory) If this symbolic link don't refer to a directory which is in webapps tree i have an error 404 with

JDBC Realm Error --Form- Looking both Database and tomcat-user.xml

2002-08-12 Thread Polly Poon
Hi all, I have got this error from tomcat JDBC Realm. My Config Tomcat 3.2.4 MySQL 3.2.3 Red Hat Linux Problem JDBC Realm look up both database and tomcat-users.xml. The error is like this(This is when the tomcat-users.xml is empty) 2002-08-12 23:01:28 - ContextManager: JDBCRealm:

One more thing -- JDBC Realm Error --Form- Looking both Database and tomcat-user.xml

2002-08-12 Thread Polly Poon
If i try to insert a name in tomcat-user.xml that doesnt exist in database it will redirect me to error.html. And if i try to login using a name only exists in database not in tomcat-users.xml, it redirects me to error.html as well Thanks again! From, Polly - Original Message - From:

RE: RMI and TC4.x (Really classloader stuff)

2002-08-12 Thread Cox, Charlie
I am not familiar with RMI, but I have looked at the classloaders. The classloader overview is defined in the classloader document. There are two instances of StandardClassLoader that are used by webapps, 'shared' and 'common'. Then each webapp has its own WebappClassLoader instance. If the

AW: One more thing -- JDBC Realm Error --Form- Looking both Database and tomcat-user.xml

2002-08-12 Thread Andreas Mohrig
I'm not 100 percent sure about this, but I always thought the whole point was having one realm and one realm only. Otherwise the semantics would be quite unclear: Would any legal user have to be defined in both realms or would any one of the realms suffice? Your problems seem to point in this

Loading new context on tomcat 4

2002-08-12 Thread Rodrigo Giammarini
Hi ! I have a problem loading new context on tomcat 4.0.4 on a Redhat 7.2 and java 1.4.0_01, the app that wont work in tomcat 4 is working on tomcat 3.2.1- If I delete this lines from de webapps/context-name/WEB-INF/web.xml the page is loaded but not displayed an in the /manger/list appears as

RE: Apache 2 and Tomcat 4

2002-08-12 Thread Michael Remijan
... I do have this done. Right now I'm thinking that it has to do with the Apache configuration. If I have directory browsing turned on, and an index.html file is not found, then apache will display the directory. I'm hoping that if I turn directory browsing off, and it doesn't find

codebase not accepted - Security Manager - catalina.policy

2002-08-12 Thread Juraj Lenharcik
Hi, I use the Security Manager in my Webapps. Everythink works fine, until I write the codeBase parameter to the grant in my catalina.policy. Then I get some security Exceptions, which are not when I use only grant standalone. I use this entry in my catalina.policy: grant codeBase

Tomcat 4.1.8 in jni mode

2002-08-12 Thread Sullivan, Mark E
Can Tomcat 4.1.8 be run with mod_jk or mod_jk2 in jni in-process mode on a linux/unix box? the jk confguration documentation says that tomcat 4x cannot be run this way. these pages, however, were released with the tomcat 4.0.x distributions, so i think that they may not apply to the new tomcat

RE: Loading new context on tomcat 4

2002-08-12 Thread Shapira, Yoav
Hi, If you're using tomcat 4.x, why is your DTD written to the version 2.2 spec? You probably cannot copy the app directory from tomcat 3.2.1 to 4.x without any changes. You need to update your deployment descriptor at least. Have you also verified a proper installation of 4.x, i.e. all

Re: Precompiling JSPs for Tomcat

2002-08-12 Thread Sean LeBlanc
On 08-09 15:21, Rossen Raykov wrote: Try something like: property name=build.compiler value=jikes/ path id=compile.classpath pathelement location=${java.home}/jre/lib/rt.jar/ pathelement location=${java.home}/lib/tools.jar/ pathelement location=${tomcat.lib}/jasper-compiler.jar/

JDBC Realm Error --Cant access database

2002-08-12 Thread khozaima shakir
Hi all, need help, please! I am trying to set up JDBCRealm. I edit server.xml as:- Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=org.gjt.mm.mysql.Driver connectionURL=jdbc:mysql://mysql.wpi.edu/EMSDATA?user=skhuzema;password=pPqrAb

Re: Persistence in Tomact

2002-08-12 Thread David Mossakowski
Trying 'username' in db url instead of 'user' d. Ujwal Oswal wrote: Hi, Has anyone out there implemented Persistence Session using JDBC Based Store in Tomcat. If yes can you please let us know of the procedure. I tried modifing the Server.xml file but I am getting SQLException. Here

RE: 500 error on all JSP pages

2002-08-12 Thread Anderson, Richard D ERDC-ITL-MS Contractor
i checked the xercesImpl.jar (from xerces-2.0.2)and it didn't have org/w3c/dom/ranges/DocumentRange.class so i downloaded the source of xerces-1.4.4. after building the binary dist i set tomcat's build.properties to xerces.jar and bang! it worked. thanks Ralph for you help -Original

Re: Loading new context on tomcat 4

2002-08-12 Thread Rodrigo Giammarini
hi, I 've copy everything from tomcat 3.2 to tomcat4 because I'm not the developer who done this apps, so I'll ask the developer to update the deployment, beside, have you got a WEB-INF/web.xml example , so I can show it to my developers? and about the e.i. all are running fine. Thank RG -

RE: ADMINS: Ban a user?

2002-08-12 Thread Sexton, George
While we are doing this, why don't we put a filter on subject and exclude the following key words: URGENT REQUIRE DESPERATE HELP!! -Original Message- From: Tiago Nodari [mailto:[EMAIL PROTECTED]] Sent: 11 August, 2001 4:55 PM To: Tomcat Users List Subject: Re: ADMINS: Ban a

RE: Loading new context on tomcat 4

2002-08-12 Thread Shapira, Yoav
Hi, When you download tomcat 4.x, you get a couple of example deployment descriptors. Check the webapps/ROOT/WEB-INF and webapps/examples/WEB-INF directories and you'll see the web.xml files there. Yoav Shapira Millennium ChemInformatics -Original Message- From: Rodrigo Giammarini

JDBC MySQL again

2002-08-12 Thread Jan Willem Penterman
Hi, I searched the archives for a solution to my problem, but couldn't find any. Like many, I keep getting the following error: SQLException: Cannot connect to MySQL server on localhost:3306. Is there a MySQL server running on the machine/port you are trying to connect to?

mod_jk2.so

2002-08-12 Thread Sigurður Bjarnason
Can someone tell me if that module..is compatable with apache 1.2.36 ?? regards Siggi -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: JDBC MySQL again

2002-08-12 Thread Shapira, Yoav
Starting service Tomcat-Standalone Apache Tomcat/4.0.4 PARSE error at line 1 column 10 org.xml.sax.SAXParseException: Element type web-app must be declared. Howdy, I haven't seen your original message, which presumably has to do with the MySQL error. However, the above is enough to suggest

RE: JDBC MySQL again

2002-08-12 Thread Mike Jackson
Your class loader looks ok, but you can simplify it to: Class.forName(org.gjt.mm.mysql.Driver); But the way you're getting the connection is strange (to my eyes), here's an easier way (change the url for you instance): DriverManager.getConnectio(

Re: JDBC MySQL again

2002-08-12 Thread Colin Chalmers
Hi, What happens when you use another version of mysql driver, I was having trouble with version 14. /colin - Original Message - From: Jan Willem Penterman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 12, 2002 5:14 PM Subject: JDBC MySQL again Hi, I searched the

Re: JDBC MySQL again

2002-08-12 Thread Peter T. Abplanalp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Aug 12, 2002 at 05:14:46PM +0200, Jan Willem Penterman wrote: SQLException: Cannot connect to MySQL server on localhost:3306. Is there a MySQL server running on the machine/port you are trying to connect to? (java.net.ConnectException)

tomcat jsse help!

2002-08-12 Thread Truong,Hoang C.
Hi All, I wanted to turn on https support for tomcat. So I ran this command: %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA I believe I mistypes keystore password. Now, If I startup tomcat, I got this error message: java.io.IOException: Keystore was tampered with, or password was

Re: JDBC MySQL again

2002-08-12 Thread Larry Meadors
Also, if you are using ipchains or iptables as a firewall, you may need to open a conduit to allow access to port 3306. Even on localhost, ipchains will not allow access unless configured to do so. Larry [EMAIL PROTECTED] 08/12/02 09:35 AM generally, if you see this problem, your driver is

RE: tomcat jsse help!

2002-08-12 Thread Durham David Cntr 805CSS/SCBE
create your own keystore: keytool -genkey -alias tomcat -keyalg RSA -keystore tomcatCerts -Original Message- From: Truong Hieu C Sent: Monday, August 12, 2002 10:43 AM To: Tomcat Users List Subject: tomcat jsse help! Hi All, I wanted to turn on https support for tomcat.

Re: tomcat jsse help!

2002-08-12 Thread Truong,Hoang C.
Thanks David. I created my own keystore succesfully but I still get same error when I startup tomcat. Do I need to do anything else? -Hoang Durham David Cntr 805CSS/SCBE wrote: create your own keystore: keytool -genkey -alias tomcat -keyalg RSA -keystore tomcatCerts -Original

RE: Loading new context on tomcat 4

2002-08-12 Thread Craig R. McClanahan
On Mon, 12 Aug 2002, Shapira, Yoav wrote: Date: Mon, 12 Aug 2002 10:33:15 -0400 From: Shapira, Yoav [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Loading new context on tomcat 4 Hi, If you're using tomcat 4.x, why

Re: Loading new context on tomcat 4

2002-08-12 Thread Rodrigo Giammarini
hi, one more thing, I've found what is the problem, I have this on my web.xml session-config session-timeout10/session-timeout /session-config If I leave this uncommented the app wont load. Someone know which is de equivalent in tomcat4 thank - Original Message - From: Shapira, Yoav

Authentication: Use Tomcat and Apache

2002-08-12 Thread Kevin Andryc
I have an application that currently uses Apache's authentication. In order for this to work with Tomcat I had to specify it in my server.xml, like so: Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75

RE: JDBC Realm Error --Cant access database

2002-08-12 Thread Andrew
Try removing your username and password info from your connection string and using the 'connectionName' and 'connectionPassword' attributes http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html - Andrew -Original Message- From: khozaima shakir [mailto:[EMAIL PROTECTED]]

Re: Reading from files in servlet from Tomcat-4.0.4

2002-08-12 Thread TOMITA_ALEX_NONLILLY
Hi, you need to put the file in /TOMCAT_HOME/bin I had the same problem and first I made a simple servlet code that writes a txt file, then I look for that file and Tomcat put it in /TOMCAT_HOME/bin regards Alex Tomita khozaima shakir [EMAIL PROTECTED] 10/08/2002 04:30 p.m. Please

[Q] Realms, Principals, et al...

2002-08-12 Thread Per Kreipke
I have a couple of security questions: Q1: === If GenericPrincipal isn't available from webapps, is there another way to get at the complete list of roles for a given user and their password? I need the complete list of roles for the current user and password to implement a connector from

RE: Loading new context on tomcat 4

2002-08-12 Thread Shapira, Yoav
Hi, Tomcat 4.x implements the Servlet Specification, v2.3. You can get the servlet spec at: http://java.sun.com/products/servlet/download.html In there you will find the DTD for web.xml. Among other things, it lists where you can put session-config elements and their meaning. The

RE: Reading from files in servlet from Tomcat-4.0.4

2002-08-12 Thread Shapira, Yoav
Hi, That's a misleading answer. Using the FileInputStream approach, unless you specify an absolute path your results will depend on what the current directory ($CWD) is when you start the server. Not everyone starts it from TOMCAT_HOME/bin. The first answer posted, using getResource() or

mod_jk and webapp file locations

2002-08-12 Thread John Rishea
I have a Tomcat/Apache application running successfully using mod_webapp but want to allow Apache to handle static requests. I built mod_jk from source and it's handling the Tomcat examples correctly, but I'm wondering how I set up the directory structure for my own webapps so that Apache can

Ajp 1.3 Connector Fails

2002-08-12 Thread Isabel Lameda
I´ve downloaded Tomcat 4.1.8 Beta Released and uncomment the line for the ajp 1.3 Connector, which is: Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ So when i

apache 2.0.40 upgrade w/tomcat 4.0.4 on w2k

2002-08-12 Thread Carrie Salazar
this may be a silly question, but i assume to upgrade to Apache 2.0.40 (with Tomcat 4.0.4). i have to re-compile the mod_jk.dll? if so, anyone have Visual C++ handy ;) ? this is all after i have Apache 2.0.39 working beautifully with Tomcat 4.0.4., but for several reasons i need to

Re: [Q] Realms, Principals, et al...

2002-08-12 Thread Craig R. McClanahan
On Mon, 12 Aug 2002, Per Kreipke wrote: Date: Mon, 12 Aug 2002 12:38:12 -0400 From: Per Kreipke [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Q] Realms, Principals, et al... I have a couple of security questions: Q1: === If

RE: JDBC MySQL again

2002-08-12 Thread Jan Willem Penterman
generally, if you see this problem, your driver is loaded correctly; however, it is unable to connect to your mysql server. i would test this by trying to telnet to port 3306 on localhost and see if you get a connection. if you don't, you need to make sure your mysql is allowing

Re: JDBC MySQL again

2002-08-12 Thread Peter T. Abplanalp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Aug 12, 2002 at 06:57:09PM +0200, Jan Willem Penterman wrote: generally, if you see this problem, your driver is loaded correctly; however, it is unable to connect to your mysql server. i would test this by trying to telnet to port

RE: [Q] Realms, Principals, et al...

2002-08-12 Thread Per Kreipke
Q1: === If GenericPrincipal isn't available from webapps, is there another way to get at the complete list of roles for a given user and their password? Not from a webapp through a portable API. What you see (isUserInRole()) is what you get. However, properly configured web.xml

Page Load Problem in Stand-alone Mode

2002-08-12 Thread Cory Isaacson
When running Tomcat in stand-alone mode, if I successively request pages in two different frames, the second page often does not display. I get a Server not found error in the browser. For example, to keep pages in multiple frames in synch I submit one frame based on the JavaScript ONLOAD event

Does Tomcat eat Exceptions?

2002-08-12 Thread Will Hartung
Hi all, Running Tomcat 3.2, and I'm debugging some new code I've been working on. In my code, it checks for some notable details, and if it finds a problem, it throws a simple RuntimeException describing the problem. But, while running Tomcat, I never see the actual exception. Does Tomcat

Servlet Compilation Taking Way Too Long

2002-08-12 Thread micael
Whenever I change a jsp page, it takes forever for the program to compile. (Forever = five to fifteen minutes.) During that time my site is essentially shut down. I am current running aTomcat 4.0 with Struts 1.2. I have an application set for www.myapp.com with the following code in

Tomcat and SOCKS proxy server

2002-08-12 Thread Rutledge, Aaron
I am trying to use Tomcat behind a SOCKS firewall. I have a servlet that is trying to access information outside the application context and I am getting the following exceptions java.net.NoRouteToHostException: No route to host: connect at

automatically serve index.jsp

2002-08-12 Thread Michael Remijan
hi all, I'm currently working on Apache 2.0.39 - tomcat-4.1.8 with mod_jk2 and jdk1.4.0_01. I've posted previously about apache giving a directory listing instead of returning index.jsp. The only way I've been able to get around this problem is editing the workers2.properties file to

RE: JDBC MySQL again

2002-08-12 Thread Jan Willem Penterman
yay! do i get a medal or something? ;-) Yes you get a medal. Only thing is that it is so incredibly heavy that I can't send it by mail. You have to come pick it up at our office in Amsterdam :P O and I gave my thanks to Hoang, but I was mistaken. Thanks Peter! [off-topic] Is that also

Re: automatically serve index.jsp

2002-08-12 Thread Steve Prior
You're a little ahead of me in doing this, but did you try adding index.jsp to a DirectoryIndex directive in Apache? This was very obious to do in Apache 1.3, not sure as obvious in 2.0. Steve Michael Remijan wrote: hi all, I'm currently working on Apache 2.0.39 - tomcat-4.1.8 with mod_jk2

Re: JDBC MySQL again

2002-08-12 Thread Peter T. Abplanalp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Aug 12, 2002 at 07:45:03PM +0200, Jan Willem Penterman wrote: Yes you get a medal. Only thing is that it is so incredibly heavy that I can't send it by mail. You have to come pick it up at our office in Amsterdam :P next time i'm in

RE: automatically serve index.jsp

2002-08-12 Thread Michael Remijan
... Yes I did. In fact it was the first thing I tried. I also tried getting rid of the AddOutputFilter snippet of the Directory tag thinking it was preventing apache from loading the jsp page. that didn't work either. mike/ -Original Message- From: Steve Prior [mailto:[EMAIL

Tomcat/Apache authentication

2002-08-12 Thread Koes, Derrick
I put this in my httpd.conf file: Location /dora AuthType Basic AuthName protected area AuthUserFile C:/Program Files/Apache Group/users require user koes /Location I get the browser authentication popup and I enter the username and password that is in my

RE: automatically serve index.jsp

2002-08-12 Thread Michael Remijan
... having this snippet workers2.properties also works - workers2.properties (snippet) --- [uri:/diary/] info=Map the whole webapp --- mike/ -Original Message- From:

RE: tomcat jsse help!

2002-08-12 Thread Durham David Cntr 805CSS/SCBE
You have to tell tomcat to use that keystore. I'm not sure how to do that, check the manual. -Original Message- From: Truong Hieu C Sent: Monday, August 12, 2002 11:08 AM To: Tomcat Users List Subject: Re: tomcat jsse help! Thanks David. I created my own keystore

RE: automatically serve index.jsp

2002-08-12 Thread Subir Sengupta
Put this in your web.xml welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list Subir -Original Message- From: Michael Remijan [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 11:02 AM To: Tomcat Users List Subject: RE: automatically serve index.jsp

Re: .shtml with 4.0.4

2002-08-12 Thread rsequeira
First the servlet code.../servlet isn't supported by Tomcat. It isn't a standard tag i.e. it isn't defined in the servlet specs. You should use jsp include / instead. Convert the .shtml files (be careful if you have SSI includes or CGI processing in the shtml files) that contain the servlet

RE: automatically serve index.jsp

2002-08-12 Thread Michael Remijan
... Nope, that does work either. I've been using tomcat for a while so I've already tried the most of those kinds of things. It looks to me like the mappings in the workers2.properties file is looked at first. If a matching is found, it is forwarded to tomcat. If not, it goes to apache.

.htaccess files

2002-08-12 Thread Mark_DiBattista
Hi, I'm trying to configure a .htaccess file to set a compact privacy policy for our web server, IE 6 doesn't like 3rd Party cookies too much. The body of my .htaccess file looks like this. header append P3P 'CP=CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE' I've placed

RE: automatically serve index.jsp

2002-08-12 Thread rsequeira
Add index.jsp in the DirectoryIndex statement of Apache. Also check your JkMount statements. Apache needs to forward all jsps to Tomcat. RS Michael Remijan

AW: form based auth...

2002-08-12 Thread Softwareentwicklung Hauschel
Really stupid to use a jsp error.jsp for login ;-) It works, thank you very much ! -Ursprüngliche Nachricht- Von: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 12. August 2002 08:31 An: Tomcat Users List Betreff: AW: form based auth... The problem lies in your error.jsp.

RE: ADMINS: Ban a user?

2002-08-12 Thread Mona Wong-Barnum
I vote that we do NOT filter out emails with the below keywords. Let's not throw out the baby with the bath water! While we are doing this, why don't we put a filter on subject and exclude the following key words: URGENT REQUIRE DESPERATE HELP!!

RE: [Q] Realms, Principals, et al...

2002-08-12 Thread Craig R. McClanahan
On Mon, 12 Aug 2002, Per Kreipke wrote: Date: Mon, 12 Aug 2002 13:11:56 -0400 From: Per Kreipke [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: [Q] Realms, Principals, et al... Q1: === If GenericPrincipal

Re: automatically serve index.jsp

2002-08-12 Thread Michael Locasto
Mike, I think there was discussion on tomcat-dev about this issue (with jk2) recently (~2/3 weeks ago)... there should also be a bug report in bugzilla. Try searching both those archives. Of course, it's been a while and I wasn't really paying attention to the conversation because it didn't

RE: automatically serve index.jsp

2002-08-12 Thread Michael Remijan
... Nope, I've tried that too. and I'm using mod_jk2 so the JkMount doesn't apply mike/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 2:19 PM To: Tomcat Users List Subject: RE: automatically serve index.jsp Add index.jsp in the

  1   2   >