Instantiating/declaring classes in JSP (Was: simple question)

2001-07-20 Thread Jim Cheesman
At 11:55 PM 19/07/01, you wrote: (And could you possibly use a more descriptive title in future? Simple question could be anything, and a lot of people would delete it immediately without reading...) I know this is somewhat off topic, but I have looked everywhere and can't find the answer to

tomcat.policy limitation?

2001-07-20 Thread Joe Flowers
I am trying to grant a servlet in the /usr/tomcat/jakarta-tomcat-3.2.2/webapps/ROOT/WEB-INF/classes/joe/ directory write permissions to the /test.txt file. //--- The following code snippet from my tomcat.policy file seems

RE: mod_jk.so for linux

2001-07-20 Thread Yudhy Fajar
unsubscribe me please ... DISCLAIMER : The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If

Re: Fw: Unable to start tomcat server

2001-07-20 Thread Jeff Hoare
Hi, Is this windows?. If so then in your DOS session you have to set a sufficiently high enough value for the initial environment in the memory tab of your dos session (under properties). This is described in section 6.5 of the release notes for tomcat 3.2.2. Hope it helps Jeff On Friday 20

ACME gif encoder - no red ?

2001-07-20 Thread Steve . Quail
Has anyone experienced a problem creating gifs with the ACME gif encoder whereby the colors aren't right. The red component gets zeroed, the green component is what the red should have been and the blue is what the green should have been. Any help appeciated.

Re: [ANNOUNCEMENT] Tomcat 4.0-beta-6 Released

2001-07-20 Thread Jeff Hoare
Ok, So where is the src for the updated Apache connector? It used to be under src/connectors. I've downloaded the binary and src tarballs and can't see it anywhere? Or does you note imply that the connector will be released seperately Jeff On Friday 20 July 2001 17:20, you wrote: The

Too many process?

2001-07-20 Thread Sumith Ail
Hi Friends, Please excuse me if this question has been asked on this list a number of times.I am trying to install Tomcat 3.2.2 from RPM on RH Linux 6.2 using j2sdk 1.2.2 FCS from blackdown.org. I am able to start tomcat but it starts a lot of java process immediately without even anybody

Please help with this error

2001-07-20 Thread Thomas Tighe (EEI)
Internal Servlet Error: javax.servlet.ServletException: Unable to locate a login configuration at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459) at _0002fSearch_0002ejspSearch_jsp_4._jspService(_0002fSearch_0002ejspSearch_jsp_4.java:134)

Error:Unable to locate login configuration?

2001-07-20 Thread Thomas Tighe (EEI)
I was wondering could anyone help me with an error I receive when I run my JSP through Tomcat 3.2.1. I receive the error: javax.servlet.ServletException: unable to instantiate LoginConfiguration I am using a javabean for authentication which uses JAAS and this contains a

Antwort: Re: SSL Apache Tomcat (NameBased VirtualHosts)

2001-07-20 Thread Stefan . Raschke
I think it depends on the apache you use. If it uses mod_ssl you can use one apache for http and https if you use an precompiled package (like the apache-ssl in debian) you need to apaches if you have mod_ssl the virtual hosts should look like this Listen [IP-ADDRESS]:80 VirtualHost

Re: Too many process?

2001-07-20 Thread Jeff Hoare
Hi, Are you using native threads? if so then this is ok (from memory each java thread gets mapped to a seperate process). If you use green threads then they should share a single process (from memory). For example sun's jdk starts 33 processes on my system (depending on your configuration you

Re: Cannot find my JavaBeans

2001-07-20 Thread John Baker
On Thursday 19 July 2001 23:28 pm, you wrote: On Wednesday 18 July 2001 23:36 pm, you wrote: To start a new thread, call x.start(); - in basic terms, this will mean the x.run() method (or runnable.run()) is called, but you can continue doing whatever it was you were doing without waiting

servlet paramers from web.xml

2001-07-20 Thread Matt Dilley
Does anyone know how to pass parameters onto servlets that have been launched through the web.xml file? I have tried adding the parameters as tags into the web.xml file itself, but to no avail. Does anyone know what I should do to make this work? Thanks Matt

Re: Please,please can you help me?

2001-07-20 Thread Christopher Raber
Title: Re: Please,please can you help me? You can pay me back by answering my NT services inquiry :-) -- Chris Raber, Systems Engineer, AvantGo Inc. v: 248-554-9330, cell: 810-839-3684 http://www.avantgo.com/ Sent wirelessly using AvantGo Enterprise RIM!

Re: Problems running as an NT Service

2001-07-20 Thread Christopher Raber
Title: Re: Problems running as an NT Service This was the first thing I checked. -- Chris Raber, Systems Engineer, AvantGo Inc. v: 248-554-9330, cell: 810-839-3684 http://www.avantgo.com/ Sent wirelessly using AvantGo Enterprise RIM! -Original Message- From:

Re: How can I logoff

2001-07-20 Thread Christopher Raber
Title: Re: How can I logoff Using jdbc connections per user is not advisable. You shoukd think in terms of connection pooling. -- Chris Raber, Systems Engineer, AvantGo Inc. v: 248-554-9330, cell: 810-839-3684 http://www.avantgo.com/ Sent wirelessly using AvantGo

Re: Problems running as an NT Service

2001-07-20 Thread Raber Chris
All, Thanks for the suggestions. I found my problem. Here is a short synopsis in case anyone else runs into this. Assuming the problem was security related, I moved my servlet into it's own context and added rules to tomcat.policy for the permissions I needed. I checked the

Re: servlet paramers from web.xml

2001-07-20 Thread FDing
put the code like:yourServletName?parameterName=value in the JSP page, this should pass the parameter and the value into servlet. Flora Ding Matt Dilley

Doubt

2001-07-20 Thread Daniel de Almeida Alvares
Hi all, This is OFF Topic, but I would like to know if there are brazilians here ? Regards Daniel ___ Daniel de Almeida Alvares Sao Paulo - SP - Brasil [EMAIL PROTECTED]

RE: build error

2001-07-20 Thread Farag, Hany M (Hany)
Still getting the same error ! -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 5:01 PM To: '[EMAIL PROTECTED]' Subject: Re: build error On Thu, 19 Jul 2001, Farag, Hany M (Hany) wrote: Hi, I'm getting these errors although

Re: Please,please can you help me?

2001-07-20 Thread Brian McSweeney
Very apt :-) Not really sure here though because I don't know what you mean about running the servlet from the command line. Don't you have to test it from the browser? Christopher Raber wrote: You can pay me back by answering my NT services inquiry :-) -- Chris

Tomcat Frames

2001-07-20 Thread RV Tobin
Corey, have you had a response to that bug report you filed regarding the problem with Tomcat and frames not loading correctly? It seems that the problem gets better for a while, which makes you think that something you did fixed it, when in reality, it is just lying dormant like some gestating

User Authentication Apache+mod_ssl+Tomcat 3.2.3

2001-07-20 Thread Asar . Khan
Hello all, I am using the above config and have a JDBC realm set-up using FORM based login. What I want to know is: 1. Is it possible to get the login page to use SSL (https or 443 port) and once the user is validated continue on the standard (http 80 port)? 2. If so, is there any

IIS 5.0 and Tomcat not connecting

2001-07-20 Thread Dave Linsalata
Hello, I've set up tomcat and IIS 5.0 on my machine (win2k server). Tomcat works fine if I call it wiht the :8080 extension. Likewise, IIS servers normal pages fine. The problem arises when I try to get them to work together:) I've followed the howto exactly, and double checked every

FW: Tomcat Frames

2001-07-20 Thread Cory Powers
Here is the second option... -Original Message- From: Forrest R. Girouard [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 18, 2001 3:18 PM To: [EMAIL PROTECTED] Subject: Re: Tomcat Frames I could be wrong but I thought that if the server supports HTTP 1.1 and the client does not

RE: Tomcat Frames

2001-07-20 Thread Cory Powers
I have forwarded 2 responses I got on the dev list to this list. For me the problem is related to a JavaScript I have in one frame that reloads the other one. Now, this should not cause any problems because there is no loop involved but, it does. If I remove that JavaScript line before I change

WML

2001-07-20 Thread Mike Sanders
Hi, I set the web.xml in the WEB-INF directory with the correct mime types and it works. The problem is that when I put the files in a directory inside the ROOT they do not work. In other words, the same file that works in /webapps/ROOT/ does not work in: /webapps/ROOT/test/ Any ideas?

Re: Fw: Unable to start tomcat server

2001-07-20 Thread Joe Flowers
Since you're on MS Windows 9.x, put shell=c:\command.com /p /e:2048 (anywhere) in your c:\config.sys DOS TEXT file and reboot. This will give you 2048 bytes of environment space in all of your DOS windows in one fell swoop. Joe //---

Re: WML

2001-07-20 Thread Mike Alba
Hi, I am running some wireless apps via tomcat. What do you mean they dont work? Is the browser not finding them? Are you getting a content type error? Let me know Thanks Mike - Original Message - From: Mike Sanders To: [EMAIL PROTECTED] Sent: Friday, July 20,

Attribute language has no value

2001-07-20 Thread FDing
Please help! I pass the parameters from a servlet to a jsp page, but got the following Error: 500 Internal Servlet Error: org.apache.jasper.compiler.ParseException: D: \jboss\tomcat\webapps\test\ViewPage.jsp(0,17) Attribute language has no value at

Re: WML

2001-07-20 Thread Mike Sanders
It just started working... I haven't changed a thing since I was waiting for a response from the list and now it works Thanks anyway. - Original Message - From: Mike Alba To: [EMAIL PROTECTED] Sent: Friday, July 20, 2001 11:12 AM Subject: Re: WML Hi,

Re: Tomcat Frames

2001-07-20 Thread RV Tobin
Hi Corey, I am going to have to go through my pages. I know that there are a couple of places where I refresh the left nav area frame using a page in the main frame. Perhaps this could be the cause. What exactly did you do about it? Thanks for all the info. I really appreciate all your

Re: Doubt

2001-07-20 Thread João Folha
Olá Daniel, não sou brasileiro, mas português, tudo bem cumprimentos João Folha - Original Message - From: Daniel de Almeida Alvares [EMAIL PROTECTED] To: Tomcat-user [EMAIL PROTECTED] Sent: Friday, July 20, 2001 2:30 PM Subject: Doubt Hi all, This is OFF Topic, but I would like to

starting tomcat 3.2.3

2001-07-20 Thread Sampath K Settipalli
Hi , I downloaded tomcat 3.2.3. When I try to start it it displays below messages and then the error messages. It's on sun solaris. Why am I getting this error and how can I overcome this. -- 2001-07-20 09:58:57 - ContextManager: Adding context Ctx(

RE: Tomcat Frames

2001-07-20 Thread Cory Powers
I just change the frame name in index.html and update the javascript to reflect the name change AFTER I have loaded the page at least once because it only seems to happen when Tomcat is recompiling. BTW It happens on both NS and IE so, I doubt it is really a browser bug... -Original

Re: starting tomcat 3.2.3

2001-07-20 Thread David Haraburda
Hi Sampath, This is most likely one of two things: 1) Some other program is already running and using port 8080. You can use netstat to check this out. You might to telnet to port 8080 and see what you get. 2) This may be because you had previously started Tomcat, without stopping it, and

About jndi

2001-07-20 Thread Yonghui Chen
Hi all, I have just set a env-entry in web.xml, how can I use jndi to find it a java:comp/env/test? env-entry env-entry-nametest/env-entry-name env-entry-typejava.lang.String/env-entry-type env-entry-valuethis is a test/env-entry-value /env-entry I just use

RE: starting tomcat 3.2.3

2001-07-20 Thread Gautam Sinha
This usually happens when tomcat's default port (8080) is already in use. A simple check would be to point your browser to http://localhost:8080; and see if you have another http service running on that port. If not, it could be that some other service is using that port. Gautam -Original

connecting to apache PLZ HELP, VERY FUSTRATED!!

2001-07-20 Thread Paul
Hi, I have installed apache 1.3 and tomcat 3.2 on a Linux 6.1 system. They both run fine stand alone (I can see the apache test page and the tomcat examples through my browser). However, when I try to run a JSP example I get... Error: 500 Location: /examples/jsp/colors/colrs.jsp Internal

IIS and tomcat

2001-07-20 Thread Daniel Balaguer Yagan
hi there, I'm troubleshooting the ISAPI redirector. I have followed all the instructions in the Tomcat IIS HowTo document, but I'm still struggling to figure out what's wrong. Just one question: In the following key:

Re: IIS and tomcat

2001-07-20 Thread Dave Linsalata
Following up on this question...do you need to add that key for just win98, or should win2k have an entry there too? please post the reply to his question on the list as well. thank you dave On Sat, 21 Jul 2001, Daniel Balaguer Yagan wrote: hi there, I'm troubleshooting the ISAPI

RE: IIS and tomcat

2001-07-20 Thread Curtis Dougherty
Check the CaPiTaLiZaTiOn...The Windows Registry is Very picky... I know... I was where you are now yesterday. -Original Message-From: Daniel Balaguer Yagan [mailto:[EMAIL PROTECTED]]Sent: Friday, July 20, 2001 11:01 AMTo: '[EMAIL PROTECTED]'Subject: IIS and tomcat hi

Re: connecting to apache PLZ HELP, VERY FUSTRATED!!

2001-07-20 Thread John Hebert
Paul, Did you follow the instructions on integrating Tomcat and Apache? http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-apache-howto.html John Paul wrote: Hi, I have installed apache 1.3 and tomcat 3.2 on a Linux 6.1 system. They both run fine stand alone (I can see the apache

Getting the values of context-params defined in web.xml ??

2001-07-20 Thread beeky
I set up a servlet web.xml based on the sample web.xml provided with the Tomcat 3.2.2 distribution. I left in the example definition of the context-param ( shown below ). I added code (shown below) to the servlet to print the names of all context-params. I didn't see any of the

RE: ACME gif encoder - no red ?

2001-07-20 Thread Jann VanOver
And this has WHAT to do with Tomcat? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, July 20, 2001 2:08 AM To: [EMAIL PROTECTED] Subject: ACME gif encoder - no red ? Has anyone experienced a problem creating gifs with the ACME gif encoder

RE: Win2K security

2001-07-20 Thread Jann VanOver
All of us? -Original Message- From: Gabriel Weinberg [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 7:09 PM To: Tomcat-User (E-mail); Ronnie Millar (E-mail) Subject: Win2K security I think that we should implement a higher standard of security in our Win2K production

request.getAttribute() problems

2001-07-20 Thread Paul Kofon
Hi all, I have a Bean whose scope I would like to set to request. I would like to retrieve this Bean's instance when the next page is requested. On the first page, I have: jsp:useBean id=beanclass class=BeanClass scope=request / On the next page, I have: BeanClass b = (BeanClass)

Re: request.getAttribute() problems

2001-07-20 Thread David Haraburda
When you say next page, what do you mean? How are you going from the first page to the second page? This is important because if you are doing it a certain way (such as a response.sendRedirect) your request object won't get passed along... David Paul Kofon wrote: Hi all, I have a Bean

Re: request.getAttribute() problems

2001-07-20 Thread Paul Kofon
Hi David, On the first page, I've got a form with an action pointing to a certain jsp page. It's on this page (the one pointed to in the action statement) that I try to retrieve the object. Does that make any sense? Regards, Paul From: David Haraburda [EMAIL PROTECTED] Reply-To: [EMAIL

Re: tomcat.policy limitation?

2001-07-20 Thread Joe Flowers
//-- Frank Lawlor wrote: Not sure, but I think Tomcat restricts your access to WEB-INF. If this is the case, then how can I create a directory structure outside of WEB-INF so that my programmers/developers can take advantage of the

Re: Too many process?

2001-07-20 Thread Nils O. Selåsdal
On Friday 20 July 2001 09:04, Sumith Ail wrote: Hi Friends, Please excuse me if this question has been asked on this list a number of times.I am trying to install Tomcat 3.2.2 from RPM on RH Linux 6.2 using j2sdk 1.2.2 FCS from blackdown.org. I am able to start tomcat but it starts a lot of

Re: Getting the values of context-params defined in web.xml ??

2001-07-20 Thread Matt Read
The ServletContext does have getInitParameter() method... Try: getServletContext().getInitParameterNames(); ... works fine for me. Matt. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 20 July 2001 17:35 Subject: Getting the values of context-params defined

internal error: SHA-1 not available ??

2001-07-20 Thread Henderson, Kevin CECOM RDEC STCD
Trying to setup Tomcat 3.2 on win2k. I followed the install guide the best I could...double checked it too... whats goin on? Thanks for the help.

Tomcat configuration for Netscape Webserver for Solaris

2001-07-20 Thread ichan
I can only find the documentation on how to configure Tomcat with Netscape Webserver under Windows. Can someone point me to the documentation on how to configure Tomcat to work with Netscape Enterprise Server 3.6 on Solaris? Thank you Ivan Chan Email: [EMAIL PROTECTED]

uppercase/lowercase conversion?

2001-07-20 Thread Dave Linsalata
heya I just installed tomcat 3.2.3 on win2k, and I noticed that it refuses to accept files with UpperCaseLetters in them - instead, it converts them to all lower case. any way to get around this short of renaming everything to lower case? thanks dave

internal error: SHA-1 not available ??

2001-07-20 Thread Henderson, Kevin CECOM RDEC STCD
I should be more specific... When I use 'tomcat run' to keep it in the same window, classpaths looks ok, then I get this error followed by a stack trace... I just figured someone has seen error this before... is this enough info.. I'm kinda new at this ;P -Original Message- From:

setting the location

2001-07-20 Thread Dave Linsalata
hey guys sorry again for the emails - I've already sent 3 today and I haven't helped anyone else out:( But, if you can help me, I'd really appreciate it:) Anyways, I have some code that worked with an older version of Tomcat. Having recently upgraded to 3.2.3, I'm having some problems.

Re: [ANNOUNCEMENT] Tomcat 4.0-beta-6 Released

2001-07-20 Thread Mark Dzmura
I second the motion - where is the Apache connector in 4.0b6?? In 4.0b5, the directory src/connectors contained C code for the Warp/Apache stuff. In 4.0b6, the src/connectors directory is gone (not in either src or binary dist)!! Should we get it from the CVS server ?? Mark Ok, So where is

Performing actions prior to j_security_check

2001-07-20 Thread Brad Pardee
Hello, I have a single user system and I set up a JDBCRealm where the form-login-page is a servlet which either redirects to a simple login page or to a registration page if this is the first use. The simple login page works fine. However, on the registration page, I want to store the

RE: request.getAttribute() problems

2001-07-20 Thread Jann VanOver
Then the bean must be in the SESSION scope Putting it in the REQUEST scope means -- keep it around with this request When you go to a new JSP page you usually get a new request to go with it. -Original Message- From: Paul Kofon [mailto:[EMAIL PROTECTED]] Sent: Friday, July 20, 2001

Run tomcat as root ?

2001-07-20 Thread Nils O. Selåsdal
Currently we are running Tomcat as root on a linux machine , are there any know security risks by doing so? SHould i rather run tomcat as another, restricted user ? -- Nils O. Selåsdal

Re: Run tomcat as root ?

2001-07-20 Thread Tim O'Neil
At 03:04 PM 7/20/2001, you wrote: Currently we are running Tomcat as root on a linux machine , are there any know security risks by doing so? SHould i rather run tomcat as another, restricted user ? If you want to run tomcat on a port below 1024 you have no choice.

Re: Crystal Reports

2001-07-20 Thread Martin Dengler
Tomcat 4.0b6 now includes CGI support -- any comments appreciated if you would like to take a look. Martin John Hebert wrote: Hey, I know something Dmitri doesn't know! :) Crystal Report files are database query results handled by a client application to display them. Bill, of course

RE: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-20 Thread Li, Jerry
Simply renaming classes12.zip to classes12.jar and putting it into WEB-INF/lib works for me. thanks, Jerry -Original Message- From: Mike Jackson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 17, 2001 4:15 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Oracle JDBC in

[FAQ] jGuru FAQ Update

2001-07-20 Thread Alex Chaffee
jGuru maintains FAQs and Forums on Servlets, JSP, and Tomcat (as well as many other Java topics). Here is an automated update on recent postings to Tomcat-related FAQs. Please direct flames and feedback to [EMAIL PROTECTED] . - Alex

Re: Run tomcat as root ?

2001-07-20 Thread Dmitri Colebatch
I'm not sure about any specific risks, but I wouldn't run _anything_ as root on any unix based system. Tomcat doesn't need to bind to ports under 1024 which is the only reason I can think that you would want to run as root. cheers dim On Fri, 20 Jul 2001, Nils O. [iso-8859-1] Selåsdal wrote:

Fw: Unable to start tomcat server

2001-07-20 Thread Manish Pradhan
- Original Message - From: Manish Pradhan To: [EMAIL PROTECTED] Sent: Friday, July 20, 2001 11:51 AM Subject: Fw: Unable to start tomcat server - Original Message - From: Manish Pradhan To: Filip Hanik Sent: Friday, July 20, 2001 9:24 AM Subject: Re: Unable to start

tomcat starting problem on win98

2001-07-20 Thread Ramkumar Manoharan
Hi, I have searched the archive but couldn't find a relevant posting(please let me know if there is any) i have jboss+tomcat3.2.2 and when i try to start tomcat i get the following message.This happens after loading classpath and all the required jar files.D:\jdk1.3.1\bin\java

Re: Fw: Unable to start tomcat server

2001-07-20 Thread Dmitri Colebatch
Hi, I think someone just answered this, but cant find it in the archives. However, I did find this: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg08353.html which answers your question. friendly tip: the archives are very helpful (o: cheers dim On Sat, 21 Jul 2001, Manish

Help on Thread Pool

2001-07-20 Thread Manjunath BHat
Hi, I have encountered following exception while running tomcat. ** 2001-07-14 09:30:18 - ThreadPool: Unexpected exception - sjava.lang.InterruptedEx ception at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:420) at

IE and tomcat

2001-07-20 Thread Dmitry Skavish
hello, I am having a little bit of problem which is very annoying, so may be somebody here can help me. My servlet processes flash template files (.swt) and genarates flash files (.swf). It handles all files from any directory with extension .swt (for those who is interested it's an open source

Can't get webapps module to work

2001-07-20 Thread Jeff Hoare
Hi, I have built and installed the newset webapp module. However, when I try to access anything I get the following error. I get this error even trying the examples servlets. Is this a config problem? or have I missed something during in the build/deploy? If I'm just viewing stuff its ok. Itrs

/ as path for my webapp

2001-07-20 Thread Mariano Kamp
Hi there, I'd like to assign the / as path for my webapp (cocoon). How do I specify that? I tried to copy the servlet and mapping from the web.xml out of the cocoon.war, but with no success. It seems to me that it doesn't recognize the libraries then?!? Any thoughts? Mariano