Re: Book

2001-09-03 Thread Stefano Locatelli
:-( Sorry! The idea was to send titles to my other mail account... It's to early in the morning... :-) -- Stefano Locatelli - Original Message - From: "Stefano Locatelli" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, September 04, 2001 9:00 AM Subject:

Faq-O-Matic

2001-09-03 Thread Alexander Jesse
Hi, it seems the Tomcat-FAQ is built on Jyve I tried to find a download of Jyve to build the FAQ for my onw projects, but I cannot find a working download-link. Can somebody give me a hint where to find a working version of Jyve with matching pre-requisits (Turbine,...)? thanks Alexander Je

Re: Limits on the size of the web.xml file?

2001-09-03 Thread Jim Cheesman
> >Consider that you might have the mailboxes for a particular user defined >in a database table called "mailboxes", with columns "username" and >"mailboxname". It would be easy to construct an SQL statement like this: > > select mailboxname from mailboxes > where username = xxx > >and rep

relative paths

2001-09-03 Thread Mark
I am using tomcat 3.2.1 and having trouble with loading images and relative paths. I would like to be able to use something like images/imagename.gif where the images directory will be under TOMCAT_HOME/webapps/MyApp. When I do this I get a 404 error that looks like this: Ctx( /MyApp ): 404 R

Re: Book

2001-09-03 Thread Stefano Locatelli
-- Stefano Locatelli - Original Message - From: "Charles Webber" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 03, 2001 9:10 PM Subject: Re: Book > A couple of good books - both dealing with Tomcat. "Inside Servlets" by > Dustin R. Callaway - Addison-Wesley is th

RE: RE: Book

2001-09-03 Thread Victor Martinez
> A couple of good books - both dealing with Tomcat. "Inside Servlets" by > Dustin R. Callaway - Addison-Wesley is the publisher. The other one is > "Core Servlets and Java Server Pages" - by Marty Hall. > Both have their strong points, and of course the "Core..." book, > coming from Sun deals w

Re: JDBC

2001-09-03 Thread Amit Bakore
Hi, When Tomcat is installed as a service , it requires that all the library jars should be mapped in the "wrapper.properties" file with following line : wrapper.class_path=$(wrapper.tomcat_home)\lib\xxx.jar where xxx.jar is the required jar file. Try to remove the old service. Modify the fil

JDBC

2001-09-03 Thread Yonglin Li
Hi, experts! I met a problem when I tried to make JDBC connection by using the code as follows. The program work well when I use startup.bat to start tomcat. But I cannot use it when I start Tomcat as a service. Yet I can still use all the other JSP sameples, it tells me the URL is n

Re: Limits on the size of the web.xml file?

2001-09-03 Thread Craig R. McClanahan
On Mon, 3 Sep 2001, Calvin Lau wrote: > Date: Mon, 03 Sep 2001 14:23:19 -0700 > From: Calvin Lau <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: Limits on the size of the web.xml file? > > My web.xml file worked fine in Tomcat3.2.1 as did the that >

Re: Tomcat 4.0b7 -> JSP Examples dont work

2001-09-03 Thread Craig R. McClanahan
Double check for an old copy of servlet.jar (or possibly jsdk.jar) in your classpath, or in your system extensions directory ($JAVA_HOME/jre/lib/ext). This particular error message happens whenever there is more than one servlet.jar visible, and one of them is < servlet 2.3 / jsp 1.2. Craig On

Re: Tomcat 4.0b7 -> JSP Examples dont work

2001-09-03 Thread Calvin Lau
I also found versions of jaxp.jar and crimson.jar under JAVA_HOME/lib/jaxp-1.1. Will those conflict with the ones in CATALINA_HOME? Calvin Lau wrote: > Good call Mark...I have a servlet.jar in JAVA_HOME/jre/lib/ext as well as in an old >installation of Tomcat. I removed > the servlet.jar und

Re: Tomcat 4.0b7 -> JSP Examples dont work

2001-09-03 Thread Calvin Lau
Good call Mark...I have a servlet.jar in JAVA_HOME/jre/lib/ext as well as in an old installation of Tomcat. I removed the servlet.jar under JAVA_HOME, and the JSPs work now. I'm very new to all this (Java development, classpaths, etc). >From what I understand, Tomcat4.0 will automatically incl

servlet mapping not recognized

2001-09-03 Thread Chris Gokey
HI everyone, I just downloaded and installed Tomcat 3.2.3 and trying to setup a servlet mapping. For some reason it does not recognize my mapping at all. Here is what I added to web.xml: PyServlet org.python.util.PyServlet python.home

Re: How to access X509 Certificate?

2001-09-03 Thread Christoph Ender
> Christoph Ender wrote: > > Hey all, > > I'm trying to access the certificate that the user has sent to > > authenticate himself. I'm using the Tomcat/Apache combo. Apache correctly > > exports the Certificate to the "SSL_CLIENT_CERT" environment variable, but > > when I try to read "javax.serv

RE: Problems with IIS and Tomcat

2001-09-03 Thread Eric Simpson
Just thought I'd reply saying that I also experienced problems using tomcat and the iis that would send the inetinfo service into cpu lock. It's a dual processor machine running NT 4.0. The only way we "resolved" the problem was to run tomcat in standalone mode. --- Shay Mandel <[EMAIL PROTECTE

Re: Tomcat 4.0b7 -> JSP Examples dont work

2001-09-03 Thread Roland
Well, I had similar problems. I took a time until I realized that I had overwritten the newer jar files in the tomcat_home/lib directory with the older jar files from the b-5 version of Tomcat. Did you do the same mistake? Roland

Re: Tomcat 4.0b7 -> JSP Examples dont work

2001-09-03 Thread Mark Miesfeld
On Mon, 03 Sep 2001 13:49:31 -0700, Calvin Lau wrote: : I can't seem to get Tomcat4.0 running properly. The Servlet examplse work : fine but not the JSPs. : : I get: : : org.apache.jasper.JasperException: Unable to compile class for : :JSPnullC:\dev\jakarta-tomcat-4.0-b7\work\localhost\examples

Re: Limits on the size of the web.xml file?

2001-09-03 Thread Calvin Lau
My web.xml file worked fine in Tomcat3.2.1 as did the that I added to server.xml. Are there differences in the DTD I'm not aware of? Calvin "Craig R. McClanahan" wrote: > On Mon, 3 Sep 2001, Roland wrote: > > > Date: Mon, 3 Sep 2001 16:37:17 -0300 > > From: Roland <[EMAIL PROTECTED]> > >

Re: Tomcat 4.0 Problem

2001-09-03 Thread David Daney
Craig R. McClanahan wrote: > >On Thu, 30 Aug 2001, Calvin Lau wrote: > >>Date: Thu, 30 Aug 2001 21:32:53 -0700 >>From: Calvin Lau <[EMAIL PROTECTED]> >>Reply-To: [EMAIL PROTECTED] >>To: [EMAIL PROTECTED] >>Subject: Tomcat 4.0 Problem >> >>I'm trying to get Tomcat4.0 to recognize an application i

Tomcat 4.0b7 -> JSP Examples dont work

2001-09-03 Thread Calvin Lau
I can't seem to get Tomcat4.0 running properly. The Servlet examplse work fine but not the JSPs. I get: org.apache.jasper.JasperException: Unable to compile class for JSPnullC:\dev\jakarta-tomcat-4.0-b7\work\localhost\examples\jsp\dates\_0002fjsp_0002fdates_0002fdate_jsp.java:167: Incompatible

Re: Limits on the size of the web.xml file?

2001-09-03 Thread Roland
Reading trough the servlet2.3 specs I found another interesting thing. How about using getResource() or getResourceAsStream() on the ServletContext? The specs say you should be able to access ANY file using that. How do I code that in a jps page? getResource() returns an URL object. What do I do w

Re: Limits on the size of the web.xml file?

2001-09-03 Thread Craig R. McClanahan
On Mon, 3 Sep 2001, Roland wrote: > Date: Mon, 3 Sep 2001 16:37:17 -0300 > From: Roland <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: Limits on the size of the web.xml file? > > > The details *vastly* depend on how your app is put together, but it isn'

Re: Limits on the size of the web.xml file?

2001-09-03 Thread Roland
> The details *vastly* depend on how your app is put together, but it isn't > all that complicated to figure out. > > Consider that you might have the mailboxes for a particular user defined > in a database table called "mailboxes", with columns "username" and > "mailboxname". It would be easy to

Re: Tomcat 4.0 Problem

2001-09-03 Thread Craig R. McClanahan
On Thu, 30 Aug 2001, Calvin Lau wrote: > Date: Thu, 30 Aug 2001 21:32:53 -0700 > From: Calvin Lau <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Tomcat 4.0 Problem > > I'm trying to get Tomcat4.0 to recognize an application in > C:/web/blitzDev rather than

Re: Limits on the size of the web.xml file?

2001-09-03 Thread Craig R. McClanahan
On Mon, 3 Sep 2001, Roland wrote: > Date: Mon, 3 Sep 2001 16:19:48 -0300 > From: Roland <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: Limits on the size of the web.xml file? > > > Sounds like a redesign is more appropriate. > > > > Memory issues aside,

Re: Limits on the size of the web.xml file?

2001-09-03 Thread Roland
> Sounds like a redesign is more appropriate. > > Memory issues aside, have you considered the fact that using individual > security constraints for each and every user means that you have to > restart the entire app every time you add a new user? Or, that every time > you add a user and restart,

Re: Book

2001-09-03 Thread Charles Webber
A couple of good books - both dealing with Tomcat. "Inside Servlets" by Dustin R. Callaway - Addison-Wesley is the publisher. The other one is "Core Servlets and Java Server Pages" - by Marty Hall. Both have their strong points, and of course the "Core..." book, coming from Sun deals with Tomcat

Re: Limits on the size of the web.xml file?

2001-09-03 Thread Craig R. McClanahan
On Mon, 3 Sep 2001, Roland wrote: > Date: Mon, 3 Sep 2001 15:15:36 -0300 > From: Roland <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Limits on the size of the web.xml file? > > Hello is there a limit to the size of the web.xml file

Re: Having problem with Tomcat 4.0b7 -> HTTP Status 503 - Thisapplication is not currently available

2001-09-03 Thread Craig R. McClanahan
On Sun, 2 Sep 2001, Roger Wei wrote: > > Then setup the CATALINA_HOME = c:\Tomcat4 , and move the "servlet.jar" > into $catalina_home/lib > Why are you doing this? The Tomcat 4 binary distribution includes servlet.jar in the one and only place where it works correctly (in the "common/lib" dir

Re: Is there a way to get the "docBase" property from within aservlet?

2001-09-03 Thread Craig R. McClanahan
On Sun, 2 Sep 2001, Jeff Turner wrote: > Date: Sun, 2 Sep 2001 16:04:23 +1000 > From: Jeff Turner <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: Is there a way to get the "docBase" property from within a > servlet? > > On Sat, Sep 01, 2001 at 09:48:

Limits on the size of the web.xml file?

2001-09-03 Thread Roland
Hello is there a limit to the size of the web.xml file? This is because if we want to have a large user database with say 500 users, and make a separate security constraint for each user to protect his directories from the other users we will have quite a large web.xml file. Each security constrai

Making webapps reloadable

2001-09-03 Thread Roland
Hello, I'm trying to make my webapp reloadable, but since there is no DTD for the server.xml file it is kinda difficult. I tried to include the following in my server.xml file but Tomcat didnt startup with that, so I had to take it out again: So how do I configure server.xml to make my webap

can't find resource for LocalStrings_en_US

2001-09-03 Thread [EMAIL PROTECTED]
Hi! I'm trying to serve/create a .wrl file (VRML) by using servlets. //- public class prueba extends HttpServlet { ... response.setContentType("model/vrml"); ... out.println("#VRML V1.0 ascii.\n"); ... //- I compile it correctly, but when calling it from the browser I get: Erro

RE: Tomcat+SSL+IBM Java

2001-09-03 Thread Alexander Jesse
Hi, things that come to mind: - are the JSSE-jars in the classpath? - could it be that you have to define an IBM security-provider? good luck Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, September 03, 2001 11:14 AM To: [EMAIL PROTECTED] S

Re: How to access X509 Certificate?

2001-09-03 Thread jean-frederic clere
Christoph Ender wrote: > > Hey all, > > I'm trying to access the certificate that the user has sent to > authenticate himself. I'm using the Tomcat/Apache combo. Apache correctly > exports the Certificate to the "SSL_CLIENT_CERT" environment variable, but > when I try to read "javax.servlet.requ

Re: '.xxx file' served with Tomcat

2001-09-03 Thread [EMAIL PROTECTED]
Hi again! I tried (at tomcat.conf) with: -// AddType text/jsp .xxx AddHandler jserv-servlet .xxx -// I restarted Tomcat, but when typing 'http://myserver:8080/myfile.xxx' , I get <%@page language="java"%> Any suggestion???

'.xxx file' served with Tomcat

2001-09-03 Thread [EMAIL PROTECTED]
Hi! I want to serve 'myfile.xxx', but generated with Tomcat via JSP. I mean, I store 'myfile.xxx' in TOMCAT_HOME/webapps/ROOT/: --//--- <% int number=2; %> The number is <%=number%> //- And I want to see 'The number is 2' How must I configure 'tomcat.conf'???

tomcat with IIS

2001-09-03 Thread Kubo
More specific datas from my problem: When I try to run a jsp page. the browser return the error 405 - not allowed. But I have already changed the "execute permissions" to "scripts and executables" in the site properties. This jsp contain a access to DB. When I try to run simple jsp page lik

Re: standalone jspc ?

2001-09-03 Thread Xavier Marjou
> java -classpath > ./lib/jasper.jar;./lib/webserver.jar;./lib/servlet.jar > org.apache.jasper.JspC -v10 -d ./src/ -webapp > ./mywebapp > > I have tried it without success: It starts with the > line: "2001-09-03 15:04:38 - uriRoot implicitly set > to > ..." but then exits without finishing the jo

tomcat with IIS

2001-09-03 Thread Kubo
hello everybody, I have a big problem (I think so). I´m trying to run tomcat3.2.3 with IIS but IIS doesn´t run jsp pages. Tomcat run, and I made the necessary changes described in http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-iis-howto.html, but it doesn´t work. The green arrow ap

standalone jspc ?

2001-09-03 Thread Xavier Marjou
Hello, Is it possible to use jspc as a standalone tool without Tomcat (ie: without any $TOMCAT_HOME) ? I am thinking of copying the tomcat librairies in a personal lib directory, and then to call jspc through a java command with a line such as: java -classpath ./lib/jasper.jar;./lib/webserver.j

LoginPage and URL rewriting

2001-09-03 Thread pascal prioux
Hi, Tomcat version: 3.2.2 (NT 4.0 SP 5) I must use URL rewriting (Cookies version works fine) When i access to a protected url (GET www.host.com/my_protected_url;jsessionId=my_session_id) Tomcat redirect the browser to the login url ( in web.xml) But tomcat dont' append the session Id to the

Re: newbie: problem with local and static variable

2001-09-03 Thread henri charme
the code is: public class MyServlet extends HttpServlet { int count = 0; // should be separated for each instance static int classcount = 0; public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { this.count++; classcount++; ...

Re: Please respond if using TC in a production env

2001-09-03 Thread Pier Fumagalli
"Peter Shankey" <[EMAIL PROTECTED]> wrote: > Are many people using TC?? > please respond with a link to the web site using TC It would be UN-wise to respond if you have a version of Tomcat different than 3.2.3 or 4.0b7... As older versions might have security holes... It might be un-wise also t

RE: Problems with IIS and Tomcat

2001-09-03 Thread F . Diederich
>No, it doesn't. This is a simple, single CPU NT machine. >Shay. It's also the same by me. Frank -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net

Re: newbie: problem with local and static variable

2001-09-03 Thread ravi shankar
hi henri, i maybe wrong ,but have u declared the counter as static it should not be declared as a class variable ravi On Mon, 03 Sep 2001 henri charme wrote : >hi everybody, >i am currently trying o'reilly example of a counter >with a >static variable and a local one to count access >unfortunat

newbie: problem with local and static variable

2001-09-03 Thread henri charme
hi everybody, i am currently trying o'reilly example of a counter with a static variable and a local one to count access unfortunately their behaviour is the same so every access to my servlet is on the same instance of the class what is wrong in my configuration? i can't find the solution in the

Re: What is an Application Server

2001-09-03 Thread ravi shankar
hi pete, u see TC is a webserver that serves http requests .application servers are generally containers for EJB.application servers also serve http requests,but are mainly involved with managing the EJB lifecycle,resource mgmt etc ravi On Mon, 03 Sep 2001 Peter Shankey wrote : >would you cons

RE: Problems with IIS and Tomcat

2001-09-03 Thread Shay Mandel
No, it doesn't. This is a simple, single CPU NT machine. Shay. -Original Message- From: Govind Agarwal [mailto:[EMAIL PROTECTED]] Sent: Monday, September 03, 2001 1:29 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; Shay Mandel Subject: RE: Problems with IIS and Tomcat Hi, This proble

Re: What is the directory work used for in TC 4.0-b7 dist used for

2001-09-03 Thread Pier Fumagalli
"Peter Shankey" <[EMAIL PROTECTED]> wrote: > Seems to be a log dir or something like that It is actually for "temporary" web-application space... Such as compiling JSPs, and the servlet spec allows you to look for a "temporary" storage space... That's what's for... Pier

What is an Application Server

2001-09-03 Thread Peter Shankey
would you consider TC an Application Server? There does not seem to be much difference between TC - websphere - iplanet - and oracle application server. They all seem to do basicly the same thing. Pete __ Your favorite stores, hel

Re: Tomcat 321 won't parse other than .jsp files

2001-09-03 Thread Pier Fumagalli
"Tarwinder Dhak" <[EMAIL PROTECTED]> wrote: > That would be the simple answer, but I would like to keep the .js extension > keep to the standard for javascript files. > There must be a way for tomcat to compile files that don't end in a .jsp > extension. Yes, it's called extension mapping and ca

Please respond if using TC in a production env

2001-09-03 Thread Peter Shankey
Are many people using TC?? please respond with a link to the web site using TC Pete __ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopn

Re: How to handle the JNI Exception

2001-09-03 Thread Dmitri Colebatch
ou still need to adhere to the servlet api - that says you can throw a ServletException - so you will need to wrap your exception in a servlet exception, although I have no idea how to that in JNI. cheers dim On Mon, 3 Sep 2001, 0xLJCCC6BDDCz/0xLJD1D0BEBFD4BAB7FECEF1C6F7D1D0BEBFCAD2z/0xLJC1AACF

Re: mod_webapp and make !!!

2001-09-03 Thread Pier Fumagalli
"jean-frederic clere" <[EMAIL PROTECTED]> wrote: > > Would it make sense to test this in configure and use ld/cc when apxs is > broken? Yes... Definitely so... Pier

Re: mod_webapp + Tomcat 4 + Apache

2001-09-03 Thread Pier Fumagalli
"ravi shankar" <[EMAIL PROTECTED]> wrote: > hi laurens, > > it depends on where u r going to deploy the appln.if it is for a client,u'll > be better off using 3.0 because it's stabler and if any probs do come up,u can > post it to the list. What, you can't post problems related to 4.0? Are we

What is the directory work used for in TC 4.0-b7 dist used for

2001-09-03 Thread Peter Shankey
Seems to be a log dir or something like that Pete __ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FRE

Re: mod_webapp + Tomcat 4 + Apache

2001-09-03 Thread Pier Fumagalli
"Laurens Fridael" <[EMAIL PROTECTED]> wrote: > > Hi, > > When would the mod_webapp/Tomcat4/Apache combination be ready for production > use? Is anyone using this combination already? In the release notes of Beta > 7 it is stated that the combination does work but there are some limitations > per

Re: RE: Logging the IP addresses of page requests

2001-09-03 Thread ravi shankar
ok nick,i have not tried this but i am sure it'll lead u somewhere.u see tomcat has a log file called access_log in the logs dir .in this file the IP address of the requesting m/c is logged.this acces_log is an entry in server.xml.what u could probably do is create a log file of ur own (say cli

RE: Problems with IIS and Tomcat

2001-09-03 Thread Govind Agarwal
Hi, This problem is encountered by us also when the System has Dual CPU Processor. Does your system also have dual cpu configuration ? Govind -Original Message- From: Shay Mandel [mailto:[EMAIL PROTECTED]] Sent: Monday, September 03, 2001 5:55 PM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PRO

RE: Logging the IP addresses of page requests

2001-09-03 Thread Nick Flowers
Hi Ravi, Any idea how I do it from the server.xml config file? I'm not a java programmer, and have a legacy program I'm trying to get up to security spec. Cheers, Nick. -Original Message- From: ravi shankar [mailto:[EMAIL PROTECTED]] Sent: 03 September 2001 12:25 To: [EMAIL PROTECTED]

RE: Problems with IIS and Tomcat

2001-09-03 Thread David Rosenstark
isapi_redirect.dll is part of the jakarta source code,under native > -Original Message- > From: Shay Mandel [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 03, 2001 3:25 PM > To: '[EMAIL PROTECTED]' > Cc: '[EMAIL PROTECTED]' > Subject: RE: Problems with IIS and Tomcat > > > Hi, >

RE: Problems with IIS and Tomcat

2001-09-03 Thread Shay Mandel
Hi, This sounds familiar. I am having the same problems sometime, and when moving to work with Tomcat alone the problem disappears. I doesn't a clue about how to solve it, as I haven't found the code of the isapi-redirect.dll so I can't debug it. Does someone knows where can I download this code

Re: Logging the IP addresses of page requests

2001-09-03 Thread ravi shankar
hi nick, try request.getRemoteHost() request.getRemoteAddress() etc etc look up the servlet api for more info ravi On Mon, 03 Sep 2001 Nick Flowers wrote : >Hi, > >Anyone know how to do this for a standalone >Tomcat server? v3.2? > >Cheers, Nick. > >ps: If you know how to log just the use

Logging the IP addresses of page requests

2001-09-03 Thread Nick Flowers
Hi, Anyone know how to do this for a standalone Tomcat server? v3.2? Cheers, Nick. ps: If you know how to log just the username, and not username+pw for authentication that would be useful to know too. Thanks. -- Nick Flowers Systems Manager s h o p s m a r t . c o m Tel: +44 (0) 20 82

How to handle the JNI Exception

2001-09-03 Thread 0xLJCCC6BDDCz/0xLJD1D0BEBFD4BAB7FECEF1C6F7D1D0BEBFCAD2z/0xLJC1AACFEBz
We using JNI in servlet. The JNI throws a exception, and the servlet handle the exception. But now, when we throws the Exception which define in JDK, all of thing ok. When we throws the exception which we define, the tomcat think there is no method to handle that exception etc: MyExceptio

RE: Tomcat 321 won't parse other than .jsp file

2001-09-03 Thread Dmitri Colebatch
Try adding the following: menuscript menu.jsp menuscript /menu.js to your server.xml I think those are the right elements. failing that there was a similar post (mapping a jsp to a path) a few weeks ago, have a search for jsp and servlet-mapping and server.xml in the archives and s

Re: Segmentation Fault when modifying classpath?!

2001-09-03 Thread pete
Yeah using -classic works too, but you're much better off using IBM's JVM in that case. I believe the root cause is the fact that Sun make some assumptions (perhaps true for Solaris) with regard to the minimum available stack size for a process, which are not necessarily true under other unice

Re: Newbie question

2001-09-03 Thread asheesh
try http://localhost:8080/ or http://127.0.0.1:8080/ or http://yourmachineIP:8080/ cheers asheesh - Original Message - From: Mark Gargan <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 03, 2001 5:49 PM Subject: Newbie question > Hi folks, > I've just recently

Https and user authentication

2001-09-03 Thread Eirik Yksnøy
I have set up tomcat to use https and user authentication. I have ser clientauth to true in server.xml. The server gets the clients certificate , but the page still can not be displayed. I read in the ie help files that when connection to a secure site that site will send the user it's certificate

Re: any EJB calling example available?

2001-09-03 Thread asheesh
hi, I am not sure if there is some recommended way or not , but it depends on u to decide about the calling mechanism and consider other performance issues according to EJB specifications and J2EE architecture. cheers asheesh - Original Message - From: May <[EMAIL PROTECTED]> To: <[EMAI

Problems with IIS and Tomcat

2001-09-03 Thread F . Diederich
Hallo, i have problems with IIS (win NT 4.0) and tomcat. Normaly it is working, but sometimes the IIS needs 100% of the cpu and then nothing works until I restart the IIS and the tomcat. The IIS only redirect to the tomcat. Is this a problem of the tomcat or of the IIS?? Frank -- GMX - Die

RE: Tomcat 321 won't parse other than .jsp files

2001-09-03 Thread Tarwinder Dhak
That would be the simple answer, but I would like to keep the .js extension keep to the standard for javascript files. There must be a way for tomcat to compile files that don't end in a .jsp extension. Thanks. Tarwinder Dhak -Original Message- From: Burkard Endres [mailto:[EMAIL PROTEC

RE: Newbie question

2001-09-03 Thread Peter Shankey
try http://yourhostname:8080/ if using with apache and you have gone through the setup http://yourhostname/examples/ "Mark Gargan" <[EMAIL PROTECTED]> wrote: >Hi folks, >I've just recently started using Tomcat and so far it's been giving me >a bit of hassle. At first it couldn't find a class

AW: Tomcat 321 won't parse other than .jsp files

2001-09-03 Thread Burkard Endres
simply rename your .js file to .jsp? -Ursprüngliche Nachricht- Von: Tarwinder Dhak [mailto:[EMAIL PROTECTED]] Bereitgestellt: Montag, 3. September 2001 11:33 Bereitgestellt in: tomcat-user Unterhaltung: Tomcat 321 won't parse other than .jsp files Betreff: Tomcat 321 won't parse other tha

Newbie question

2001-09-03 Thread Mark Gargan
Hi folks, I've just recently started using Tomcat and so far it's been giving me a bit of hassle. At first it couldn't find a class in the web-inf/classes directory of an application and then it just wouldn't startup with no log explanation. So I rebuilt it and now anytime I go to try any of t

setting classpath for an application

2001-09-03 Thread Christian . Schildt
Hi I don't want to set classpath generally by starting tomcat but explicitly for my application. Is it possible to do this in web.xml (if yes how)? Mit freundlichen Grüßen Christian Schildt Diplom-Betriebswirt (FH) Softwaredeveloper Phone: 089/89013023 Mailto: [EMAIL PROTECTED] _

Re: any EJB calling example available?

2001-09-03 Thread May
Thank you Asheesh. So my question is where is the right place to do the lookup and stuff when using struts. At the moment, I'm doing them in the Action class, Is there a recommended way calling EJB from struts? Thanks you. May - Original Message - From: "asheesh" <[EMAIL PROTECTED]> To:

Serving a modified file

2001-09-03 Thread [EMAIL PROTECTED]
Hi! I'm using Tomcat 3.2.3. Into my '$TOMCAT_HOME/webapps/ROOT/' directory, I've got 'myfile', and I want users get a modified version of it. I mean. 'myfile' is a plain-text file, and I want to remove the first line, so users can not visualize it. Besides, I want to add an extension, so I try

Tomcat 321 won't parse other than .jsp files

2001-09-03 Thread Tarwinder Dhak
Hi, I'm writing a web application that uses some javascript (in an external file menu.js) that displays some dynamic menus. Each of these menu options then goes to a specific URL. What I want to do is insert some JSP elements into the menu.js file so that when the client requests the file, all

Tomcat+SSL+IBM Java

2001-09-03 Thread Sipos Ágnes
Hi, we are bound to use Tomcat with IBM Java, and we try to start it with SSL, the result is: Exception during startup processing java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: com/sun/net/ssl/SSLContext It seems to be natural, for the relevant class in IBM extens

RE: java.util.MissingResourceException error ... please help!

2001-09-03 Thread Helena Hjertén
MIssingResourceException comes form the code that handles ResourceBundles, a feature for making your code work with several different languages. The exception below shows that your code is looking for a file (text file) with the format key-value, key-value... (there the key matches part of your

RE: Book

2001-09-03 Thread Victor Martinez
>there is also the fact that you are not (or shouldn't be) developing >applicaitons for "tomcat" but rather for a "servlet engine" that supports >the spec (2.2 or 2.3). If you do this a) you can follow the rules laid >out in the spec, which has very good coverage imho, and b) swap easily >between

RE: Book

2001-09-03 Thread Victor Martinez
> just about every book on jsp or servlets ever published uses tomcat as > the example engine. they may not have "tomcat" in the title, but they > all shows how to do the things described in the books specifically with > tomcat. pick one. there are dozens. just imagine the title has "with > tomcat

Re: mod_webapp and make !!!

2001-09-03 Thread jean-frederic clere
Pier Fumagalli wrote: > > "hatim" <[EMAIL PROTECTED]> wrote: > > > Hi > > > > i have redhat 6.2 with kernel 2.2.18 ( Va linux) , apache 1.3.20 > > i tried to use the mod-webapp.so comming from > > webapp-module-1.0-tc40b7-linux.tar.gz > > but apache didnt start because of error > > Cannot load /

Re: Loggin out using JDBC realms

2001-09-03 Thread P.Miller
Hi Roland, you could use session.invalidate(). The next time the user wants to access a protected page he has to log in again. Peter Roland wrote: > > Hello, > when using security realms, more specifically JDBC realms, > how do you log-out? > > Thanks for answers, Roland