Shared Drives

2002-08-10 Thread Jacob Hookom
I had mentioned before that I was looking to access my network within a servlet. Someone had mentioned that I need to run tomcat as a service under the user that has the mapped drive. ServerA -Win2k Login: Administrator Mapped: F:/ to ServerB via 'TomcatUser' login Runnin

Re: REPOST (+more comments) - Classloading problems with JNI

2002-08-10 Thread Shimon Crown
Thanks Michael while this is not the solution it does give me some clues as to where to look. Looking at my over two year old JNI code I see that I do pass a reference to the JVM as initialization parameter to the C++ code. In order to find the classes for the callback I do the following JNIEn

Re: Problems with *

2002-08-10 Thread Alexander Wallace
Thankyou criag, your explanation is very clear. I have / right now, and though I seem to be getting the result I was expecting (I see the requested url with servletPath, and when i do the forward to the jsp, I do get the content of the jsp), I think i should follow your advice, i don't want to r

RE: Problems with *

2002-08-10 Thread Alexander Wallace
Thank you! I will read the info in those links. I hope i can handle it! This is all very new and sometimes confusing to me. I do have / But if i type /whatever, i'm checking in my servlet for that and doing a forward to my desired jsp or whatever. Although this seems to be working now ( i do get

Re: Command line jspc throws NPE for page using JSTL

2002-08-10 Thread Kris Schneider
Problem's still there in 4.1.9. Is this something I should move to the dev list? Has anyone gotten command line jspc to work for tag libraries packaged similarly to JSTL? Struts demonstrates the same problem (same web.xml): index.jsp: <%@ page language="java" %> <%@ taglib prefix="struts-html" u

server.xml guru needed for tomcat 4 on apache 1.3 issue

2002-08-10 Thread Dan Lindy
So here's the deal: I've got several virtual hosts running under apache 1.3 each with it's own tomcat JVM. No issues there. The problem is that I am attempting to get them all to work with mod_ssl. Even worse, I've only got one IP to work with and SSL is IP-based so I can only define one virtu

Re: Reading from files in servlet from Tomcat-4.0.4

2002-08-10 Thread Ben Walding
Your best bet is to put them in webapps//bob.txt Then read them using servletContext.getResourceAsStream("/bob.txt"); This will still work when the application is packaged up as a WAR file. khozaima shakir wrote: > Hi all, > I am trying to read from a file : filename > Where should i put this

Reading from files in servlet from Tomcat-4.0.4

2002-08-10 Thread khozaima shakir
Hi all, I am trying to read from a file : filename Where should i put this file in tomcat 4.0.4 directory structure? I tried putting the file in directories: webapps/ROOT, webapps/ROOT/WEB-INF, webapps/ROOT/WEB-INF/classes in each instance i get the error message "The system cannot find the file

Re: Problems with *

2002-08-10 Thread Craig R. McClanahan
On 10 Aug 2002, Alexander Wallace wrote: > Date: 10 Aug 2002 13:56:15 +0100 > From: Alexander Wallace <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: Problems with * > > Ok, but what I mean by access rights are a s

RE: Problems with *

2002-08-10 Thread Jacob Hookom
| -Original Message- | From: Alexander Wallace [mailto:[EMAIL PROTECTED]] | Sent: Saturday, August 10, 2002 7:56 AM | To: Tomcat Users List | Subject: Re: Problems with * | | Ok, but what I mean by access rights are a set of very custom | permissions (existing in a database table) given

Re: Problems with *

2002-08-10 Thread Alexander Wallace
Ok, but what I mean by access rights are a set of very custom permissions (existing in a database table) givent to different roles asigned to users of my web app, is that also handled by filters? Also, at this point I my servlet does receive requests (let's say /login) and checks if the users (in

Re: Problems with *

2002-08-10 Thread Craig R. McClanahan
On 10 Aug 2002, Alexander Wallace wrote: > Date: 10 Aug 2002 12:17:03 +0100 > From: Alexander Wallace <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: Problems with * > > What I need to be able to do is to make sure

RE: unpacking of WAR

2002-08-10 Thread Craig R. McClanahan
On Sat, 10 Aug 2002, Andrew wrote: > Date: Sat, 10 Aug 2002 12:18:50 -0400 > From: Andrew <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: RE: unpacking of WAR > > Craig, I was under the impression that the WAR would

Re: NetBeans + Tomcat 4.0.4

2002-08-10 Thread Alexander Wallace
I checked the link out and actually found out that it's possible to do the same by just starting tomcat with./catalina.sh jpda start... One thing the link mentions is that he uses the context with reload so that tomcat doesn't have to be restarted. How do you go about doing that? The tomcat si

Re: Problems with *

2002-08-10 Thread Alexander Wallace
What I need to be able to do is to make sure, that every request, for any page has enought rights to view the page and use it, So i thought of using a servlet as a controller. If I understand correctly what you talked about in this and your previous post, using the servlet mapping to "/" will not

[4.1.9] New test milestone released

2002-08-10 Thread Remy Maucherat
A new test milestone of Tomcat 4.1 has just been released. Downloads: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.9/ Significant changes over 4.1.8 Beta include: - Jasper 2 bugfixes - Catalina classloader bugfixes - Coyote HTTP/1.1 fixes - Updated commons-dbcp connection pool

RE: unpacking of WAR

2002-08-10 Thread Andrew
Craig, I was under the impression that the WAR would only be expanded if there was no existing Context of that name. Is this correct? - Andrew > -Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > Sent: Saturday, August 10, 2002 1:01 AM > To: Tomcat Users List >

RE: Newbie to Tomcat on IIS

2002-08-10 Thread Andrew
Directions can be found here http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm - Andrew > -Original Message- > From: Vishal Mukherjee [mailto:[EMAIL PROTECTED]] > Sent: Saturday, August 10, 2002 6:05 AM > To: Tomcat Users List > Subject: Newbie to Tomcat on IIS > Importance: High >

RE: Tomcat and IIS

2002-08-10 Thread Andrew
Instructions and files can be located here. http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm - Andrew > -Original Message- > From: ed banfa [mailto:[EMAIL PROTECTED]] > Sent: Saturday, August 10, 2002 9:11 AM > To: Tomcat Users List > Subject: Tomcat and IIS > > > > Hi all, >

Re: Command line jspc throws NPE for page using JSTL

2002-08-10 Thread Kris Schneider
>From the original note: > Here's index.jsp: > > <%@ page language="java" %> > <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %> > > JSPC Test > Welcome to the JSPC test page > > > Here's web.xml: > > > "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" >

Default context

2002-08-10 Thread Henrik Oddershede
Hi. I'm having a problem with my Tomcat-4.0.4 running on solaris. I want Tomcat to create a default context for every user who has a ".public_dw3/tomcat" in their home dir. To accomplish that, I have edited server.xml and added the following lines in the -tag: This works to a certain extend

Re: Fwd: Re: help with data insertion on postgresql on tomcat4/apache2

2002-08-10 Thread Paul Yunusov
> > Use java.util.Enumeration instead of Enumeration. You can also import > > this interface using a page directive. > > Paul > On Saturday 10 August 2002 10:39 am, sibusiso xolo <[EMAIL PROTECTED]> wrote: > Thanks a millionm it worked first time. > > I would be gratrful for more info (on or off

Re: help with data insertion on postgresql on tomcat4/apache2

2002-08-10 Thread sibusiso xolo
> Use java.util.Enumeration instead of Enumeration. You can also import this > interface using a page directive. > Paul Thanks a millionm it worked first time. On Saturday 10 August 2002 12:16, Paul Yunusov wrote: > On Saturday 10 August 2002 08:27 am, you wrote: > > > Error messages, please. >

Tomcat and IIS

2002-08-10 Thread ed banfa
Hi all, please I hear you can run tomcat on iis, but that one needs a couple of dll's can any one tell where i can get these dynamic link libraries and how to install them, i have a couple of web apps that i have tested and tried on other servlet/jsp enable servers now the problem is how t

Re: help with data insertion on postgresql on tomcat4/apache2

2002-08-10 Thread Paul Yunusov
On Saturday 10 August 2002 08:27 am, you wrote: > > Error messages, please. > > Paul > > Dear Paul, > > Thanks for your consideration, > > please find attached the text file that is used to generate the jsp I am > having problems with. It is saved as updateTREES.jsp in the tomcat4 > /examples/js

Re: new to tomcat

2002-08-10 Thread Amit Luktuke
Hello Marius Thank u very much.. I am developing web application from scratch using tomcat/stuts... will need ur help from time to time.. regards Amit - Original Message - From: "Marius Urbietis" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Saturday, August

Re: help with data insertion on postgresql on tomcat4/apache2

2002-08-10 Thread sibusiso xolo
> Error messages, please. > Paul Dear Paul, Thanks for your consideration, please find attached the text file that is used to generate the jsp I am having problems with. It is saved as updateTREES.jsp in the tomcat4 /examples/jsp directory of machine with jdk1.4/Apache2/Tomcat4.04 The

Re: new to tomcat

2002-08-10 Thread Marius Urbietis
Amit Luktuke wrote: > hello > > I am very new to Tomcat4.0. > I have successfully installed tomcat4.0 on my machine but can not able to run simple >HelloWorld.jsp file. > > I have put it in folder > C:\Tomcat4.0\webaaps\TestJSP\Helloworld.jsp You must register your application in file c:\Tomc

Newbie to Tomcat on IIS

2002-08-10 Thread Vishal Mukherjee
hi all I am new to tomcat 4.04 has installed tomcat on Win NT 4.0 with IIS. Want to know a few things 1.Is in necessary to deploy your website under the Webapps directory. 2.My directory name is "intranet' so what will be the context. and what all I need to change. so that JSP and Beans

Re: new to tomcat

2002-08-10 Thread Amit Luktuke
Hello Ben.. That was my type error only.. I have created HelloWorld.jsp & compile it When i put it in ROOT folder of Tomcat4.0 & view in browse .. http://localhost:8080/HelloWorld.jsp it works. But when i create TESTJSP directory under Tomcat4.0 - webapps

Re: new to tomcat

2002-08-10 Thread Ben Walding
Possibly : You should have called the dir webapps not webaaps Although this is probably just a typo in your email :) Amit Luktuke wrote: >hello > >I am very new to Tomcat4.0. >I have successfully installed tomcat4.0 on my machine but can not able to run simple >HelloWorld.jsp file. > >I have

new to tomcat

2002-08-10 Thread Amit Luktuke
hello I am very new to Tomcat4.0. I have successfully installed tomcat4.0 on my machine but can not able to run simple HelloWorld.jsp file. I have put it in folder C:\Tomcat4.0\webaaps\TestJSP\Helloworld.jsp On brower .. http://localhost:8080/TestJSP/Helloworld.jsp My O.S is windows 2000 pr

Tomcat and SapDB

2002-08-10 Thread Marius Urbietis
I am trying to configure Tomcat 4.0.4 and SapDB JDBCRealm In server.xml file I write these lines: but I get error: Catalina.start: LifecycleException: Exception opening database connection: com.sap.dbtech.jdbc.exceptions.SQLExceptionSapDB: no password given Can anybody help me? Thanx. -