RE: how can I disable directory listing at client side

2003-02-27 Thread Kwong Chong
Hmmm should have thought to check this out earlier.. it looks like tomcat is indeed processing the request. But given that there is no uri directive governing the forwarding of /images/ would it be a bug then that it is forwarded to tomcat? -Original Message- From: Tam, Michael

RE: Invalid no-cache http headers

2003-02-27 Thread Dennis van den Berg
Adam, Your solution should work fine. However, I consider this is a bug, and therefore I wondered if other people agree with me on this point. I used a simple Filter to work around the Tomcat bug; /** * pTitle: /p * pDescription: Reset cache-control headers set by Tomcat. * These headers are

tomcat 4.1.18 commons-dbcp

2003-02-27 Thread Georges Roux
*hi,* *When I try to set up a PostgreSQL Datasource for connection Pooling I ve this Exception:* 2003-02-27 02:00:27 StandardContext[/PhotoBaseManager]: Servlet /PhotoBaseManager threw load() exception javax.servlet.ServletException: Servlet.init() for servlet PostgresqlClient threw exception

Re: JDBC connectivityfor ORACLE !!!

2003-02-27 Thread Peng Tuck Kwok
Unfortunately Swapneel, I know nuts about oracle :) .I'm more of a SAP DB person. Connecting tomcat and oracle using jndi should be ok I guess, there is a example in the tomcat docs. Swapneel Dange wrote: hi MIKE, PENG , CHONG !! guys, there seems to be a problem here for me with the

Java / Tomcat

2003-02-27 Thread Alberto A C A S Magalhães
** Este email assim como os ficheiros que possa ter em anexo são confidenciais e para uso exclusivo da pessoa ou organização para o qual foi enviado. Se recebeu este email por engano por favor notifique [EMAIL PROTECTED] Esta

mod_jk2 + apache2... almost there...

2003-02-27 Thread Ori Tend
Hi guys, I've set up tomcat 4.1.18 with apache2, connected via mod_jk2. everything seems to work fine- servlets, jsps and static content. however, apache error log shows some suspicious activity... this keeps showing every 5 minutes or so. also, I never restart apache, yet every now and then I

Proxy

2003-02-27 Thread Alberto A C A S Magalhães
** Este email assim como os ficheiros que possa ter em anexo são confidenciais e para uso exclusivo da pessoa ou organização para o qual foi enviado. Se recebeu este email por engano por favor notifique [EMAIL PROTECTED] Esta

RE: JDBC connectivityfor ORACLE !!!

2003-02-27 Thread Swapneel Dange
hi ~ thanx for the files u sent me . hope that i should be able to use then successfully, but i am curious to know if i will use another version of ORACLE such as the Oracle Personal Edition then will this driver still be applicable. Swapneel Dange 505-642-4126 http://www.cs.nmsu.edu/~sdange

Re: crontab problems

2003-02-27 Thread Jon Wingfield
For jdk1.4 you should be able to set the networkaddress.cache.negative.ttl system property to control this. (Assuming the lookups are made using the java.net.* sub-system) http://java.sun.com/j2se/1.4/docs/guide/net/properties.html http://java.sun.com/j2se/1.4.1/networking-relnotes.html We're

Configuring jasper jsp compiler options

2003-02-27 Thread Robert Godfrey
Hi I have been trying to find out whether you can configure javac options such as -nowarn for the jsp compiler that jasper uses. The JSP Engine Config HOW-TO indicates that you can set the 'compiler' option but doesn't seem to provide a mechanism to pass any compiler options. Does anyhone know if

RE: mod_jk problems on Apache 2.0

2003-02-27 Thread Turner, John
RH 8 ships with Apache 2.0.40, and if you've applied RPM updates to your RH installation, the 2.0.40 is further munged from a standard 2.0.40, as RH has gone and backported all of the security and other fixes between .40 and .44 to their .40 instead of just distributing .44. Depending on where

RE: Manual servlet deployment problems on 4.1.18

2003-02-27 Thread Turner, John
There are examples of how to setup servlets in web.xml in the web.xml file in the /examples webapp that comes with Tomcat. There's other good stuff in the examples webapp as well. John -Original Message- From: Steve Hole [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003

RE: Manual servlet deployment problems on 4.1.18

2003-02-27 Thread Turner, John
Yes, the Invoker servlet is disabled by default. You need to either: - enable the Invoker servlet (not recommended) OR - explicitly declare your servlet in your web application's web.xml file John -Original Message- From: Ray Tayek [mailto:[EMAIL PROTECTED] Sent: Wednesday,

?cache problem with context

2003-02-27 Thread Euan Guttridge
Hi, I have tomcat 4.1.18le, jdk 141. I deploy my web-app to /webapps/mywebapp, and set the context in conf/server.xml to : !-- Tomcat Root Context -- Context path= docBase=mywebapp debug=0 reloadable=true/ ..then I start tomcat and browse to http://localhost, I get a resource '/' unavailable

Filter - ServletContext

2003-02-27 Thread Günter Kukies
Hello, I want to read some context-param from web.xml within a filter. But the getAttribute is always null. There is no problem to get the same context-param within a Servlet. Thanks Günter Here is the code snippet: import java.io.*; import java.net.*; import java.util.*; import

RE: build-unix.sh error for mod_jk.so

2003-02-27 Thread David . Vann
I went ahead and ignored the warnings and now I get: # cd /usr/local/apache/bin # apachectl start Syntax error on line 4 of /usr/local/tomcat/conf/auto/mod_jk.conf: Cannot load /usr/local/apache/libexec/mod_jk.so into server: dlopen: /usr/local/ apache/libexec/mod_jk.so: symbol

Configuring Tyrex in tomcat 4.1.2

2003-02-27 Thread Ian Venter (IT_SBS)
Hi I am trying to configure tyrex to work with tomcat to get transaction management working. I've downloaded the six jar files as per the documentation and placed them in the $TOMCAT_HOME$/common/lib I have created myself a domain-config.xml file which looks as follows: domain

mod_webapp config problem

2003-02-27 Thread Selvaraj N
Hi, I am experiencing problems in configuring webapp with Apache 1.3.26 and Tomcat 4.0.3. httpd.conf --- LoadModule webapp_module libexec/mod_webapp.so WebAppConnection warpConnection warp localhost:8008 WebAppDeploy examples warpConnection /examples/ Tomcat starts fine and listens

RE: JDBC connectivityfor ORACLE !!!

2003-02-27 Thread Peter Lin
As long as you are using the version of that release, ie 8 or 9, it should work. there's no difference in the jdbc driver for 8i Ent vs personal. peter --- Swapneel Dange [EMAIL PROTECTED] wrote: hi ~ thanx for the files u sent me . hope that i should be able to use then successfully, but

RE: Re[2]: Shared servlets between webapps

2003-02-27 Thread Edson Alves Pereira
Maybe i wasn´t so clear and explained wrong whant happened. I´m don´t want values from classes´s variables, like MyClass.dAssuranceTax, the variables that i said are session atributes. I have some servlets that are global for some aplications, for example: webapp A and webapp B uses

Re: JDBC connectivityfor ORACLE !!!

2003-02-27 Thread Peter Lin
I haven't had a chance to play with Oracle 9i, but I do have experience with 8i and classes112.zip is the drivier you want. the older 8i jdbc driver did not have pooling support and had several bugs. one bug I found with a co-worker was verified in classes111.zip driver and fixed in

Re: Filter - ServletContext

2003-02-27 Thread Jon Wingfield
Try: sctx.getInitParameter(...) instead of sctx.getAttribute(...) Günter Kukies wrote: Hello, I want to read some context-param from web.xml within a filter. But the getAttribute is always null. There is no problem to get the same context-param within a Servlet. Thanks Günter Here is the

LE Binaries

2003-02-27 Thread Kennedy Clark
I know the answer is probably right in front of my face, but I have not been able to locate an explanation for what the LE binaries represent and how they are different from the non-LE binaries. They obviously appear to be specific to JDK 1.4, but other than that I'm trying to decide which

JSPC pre-compilation and java encoding

2003-02-27 Thread Christophe MESTRALLET
Hello, I am trying to pre-compile JSP files using JSPC and Tomcat 4.1.18. Everything works great except one thing. I can't modify the java encoding of resulting java files. I would like JSPC to build java files in ISO-8859-1, but even if I use java -Dfile.encoding=ISO-8859-1 ..., JSPC

CLASSPATH in mac os x

2003-02-27 Thread apratim sharma
i'm not able to compile servlet files on mac os x. i think it's because CLASSPATH is not set properly. can anybody tell me the correct way... - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more

RE: LE Binaries

2003-02-27 Thread Shapira, Yoav
Howdy, Hmm. It used to be right on this page: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.18/ But it's not there anymore. To paraphrase, the main difference is that JDK 1.4 includes crimson and jaxp, so the tomcat -LE-jdk14 distribution does NOT include those files. The

Four questions (about logging, connectors and manager)

2003-02-27 Thread Tomasz Nowak
Hello. I have four questions for which I could not find any good answers in web, usenet gruops or this mailing-list archive. Q #1 Tomcat logs HTTP errors (ie 404 File Not Found) in access_log with other regulary HTTP status codes. It does it in: a) its own access_log

Re: Please: How do I get application redeploy to work with Apache front-end to Tomcat?

2003-02-27 Thread Jim Cobban
- Original Message - From: Oscar Carrillo [EMAIL PROTECTED] Subject: RE: Please: How do I get application redeploy to work with Apache front-end to Tomcat? Look at your logs for hints. Is there info about the webapp connector or whatever you are using. if you can see those logs.

RE: Four questions (about logging, connectors and manager)

2003-02-27 Thread Turner, John
A #2: I don't feel the connectors are complex. JK is easy to configure, easy to get working (once you understand how it works), and stable. If you don't want to use a connector, don't even deal with mod_rewrite or mod_proxy, just run Tomcat on port 80 and be done with it. Or better yet, run it

TOMCAT- PROXY

2003-02-27 Thread Alberto A C A S Magalhães
** Este email assim como os ficheiros que possa ter em anexo são confidenciais e para uso exclusivo da pessoa ou organização para o qual foi enviado. Se recebeu este email por engano por favor notifique [EMAIL PROTECTED] Esta

Invalid Bean construtor error

2003-02-27 Thread Edson Alves Pereira
Hello folks, i´m having this error on one of my webapps, all of them use the same library: 2003-02-27 11:39:40 StandardManager[/intranet] IOException while loading persisted sessions: java.io.InvalidClassException: appi.beans.html.JTable; no valid constructor

RE: tomcat shutdown.sh bails

2003-02-27 Thread Takeshi L Toyohara
oscar - thanks for the tip. my machine was not rebooting, so im still not sure why my tomcat wouldnt shut down. however i am going to use your idea of grep'ing the ps ax output) cheers, t -Original Message- From: Oscar Carrillo [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26,

Re: Tomcat 4.1.18 - IIS 5.0 plugin

2003-02-27 Thread Schleimer, Ben
Hi, You need to get isapi_redirector2.dll from the JK2 connectors part of the website. I had the same problem. Also, the registry keys need to be in 2.0, not 1.0. 4.1.18 is compiled to use jk2, not jk. Good luck, Ben --- Johannes Fiala [EMAIL PROTECTED] wrote: hi there, I just tried to get

Sharing session info between Tomcat and IIS

2003-02-27 Thread Schleimer, Ben
Hi, I am working on a project which must securely Timeout the user for security purposes. Unfortunately, all of the login/logout code has been written (not by me) in ASP. I really want to use Servlets for the project instead of ASP. I was thinking of storing the user's last access time in the

Re: JDBC connectivityfor ORACLE !!!

2003-02-27 Thread Mark
Actually, I believe it's classes12.zip (and needs to be renamed classes12.jar). Keep in mind Oracle recommends using ojdbc14.jar with JDK 1.4. I've used it, and it works fine. At 2/27/2003 05:15 AM, you wrote: I haven't had a chance to play with Oracle 9i, but I do have experience with 8i

RE: Sharing session info between Tomcat and IIS

2003-02-27 Thread Edson Alves Pereira
Try to use cookies, if you between ASP and JSP.to share information or you could the the URL like http://127.0.0.1/blah.jsp?login=edson -- De: Schleimer, Ben[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: quinta-feira, 27 de fevereiro de 2003 11:19

Re: Four questions (about logging, connectors and manager)

2003-02-27 Thread Tomasz Nowak
Turner, John [EMAIL PROTECTED] wrote: A #2: I don't feel the connectors are complex. JK is easy to configure, easy to get working (once you understand how it works), and stable. Hi, John. Browsing the archive I've remebered you as a very competent developer/user, so I'm really very glad you

Re: JDBC connectivityfor ORACLE !!!

2003-02-27 Thread Peter Lin
thanks for the correction :) I haven't updated my driver, since I'm still using 8i myself for my dev toys. All else fails, go to Oracle's site and check for the latest driver. Oracle also provides sample jdbc code if you are new to oracle. You can download all of it through oracle (OTN)

Container Servlet not initialized with Tomcat 4.1.18

2003-02-27 Thread Frederic Brunel
Hi all, I'm using Tomcat 4.1.18 and I need to access its internals in my webapp (as in the manager). So, I've extended my servlet to implement the ContainerServlet interface, make it deployed in the $TOMCAT_HOME/ server/webapps directory (beside the admin and manager servlets). My servlet runs

RE: Container Servlet not initialized with Tomcat 4.1.18

2003-02-27 Thread Shapira, Yoav
Howdy, First off, I don't have an answer to your question. Sorry ;) I'm using Tomcat 4.1.18 and I need to access its internals in my webapp Why? Context path=/download docBase=../server/webapps/download debug=0 privileged=true reloadable=true/ That looks similar enough to the

RE: Four questions (about logging, connectors and manager)

2003-02-27 Thread Turner, John
I'm sorry, I didn't realize you were going to argue with me and criticize my reply. I thought you were asking for an opinion. First, Ajp13Connector is not the recommended connector to use for 4.1.18. CoyoteConnector is the recommended connector. Second, the compatibility problems between

Re: Filter - ServletContext

2003-02-27 Thread Erik Price
Günter Kukies wrote: Hello, I want to read some context-param from web.xml within a filter. But the getAttribute is always null. There is no problem to get the same context-param within a Servlet. Don't you want getInitParameter() ? Erik

Performance .. Jsp compile import wildcards

2003-02-27 Thread Reynir Hübner
Hi, I'm wondering what kind of performance decrease (if any) it has to use wildcards in jsp import lines. example : %@ page import=java.util.* % .. but not : %@ page import=java.util.ArrayList % I know in normal java classes using wildcards when importing packages or classes does not

Re: Load Balanced Tomcat freezing under high load

2003-02-27 Thread Mike Bradford
Hi Kwong.. thanks for your post... I did some experimenting last night and think I found that my problem was garbage collection; it was the garbage collector process that was going haywire and consuming all the CPU. Starting Tomcat with a lower heap size (I had over-allocated slightly and it

realm getRole() method ?

2003-02-27 Thread laurent marot
hi all, using realm authentication is there a method to get remoteUser role without sending a datbase request ? thanks for your help - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Performance .. Jsp compile import wildcards

2003-02-27 Thread Erik Price
Reynir Hübner wrote: Hi, I'm wondering what kind of performance decrease (if any) it has to use wildcards in jsp import lines. example : %@ page import=java.util.* % .. but not : %@ page import=java.util.ArrayList % I know in normal java classes using wildcards when importing packages

RE: realm getRole() method ?

2003-02-27 Thread Raible, Matt
request.isUserInRole(rolename) ?? -Original Message- From: laurent marot [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 9:02 AM To: Tomcat Users List Subject: realm getRole() method ? hi all, using realm authentication is there a method to get remoteUser role

RE: Manual servlet deployment problems on 4.1.18

2003-02-27 Thread Steve Hole
On Wed, 26 Feb 2003 22:04:56 -0800 (PST) Steve Guo [EMAIL PROTECTED] wrote: Steve Hole [EMAIL PROTECTED] wrote: This implies that the element defines the name of the web application? -- what do you mean? the webapp is defined by the name of the folder (test) Ah! Which explains the

Re: realm getRole() method ?

2003-02-27 Thread laurent marot
thanks but this method just allows checking if user match a role, i'd like to get a method to discover the role. - Original Message - From: Raible, Matt [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED]; 'laurent marot' [EMAIL PROTECTED] Sent: Thursday, February 27, 2003 5:03 PM

RE: Container Servlet not initialized with Tomcat 4.1.18

2003-02-27 Thread Frederic Brunel
I'm using Tomcat 4.1.18 and I need to access its internals in my webapp Why? I would like to have access to the sessions associated with my applications because I've to deal with some buggy clients (Java phones) which doesn't not support correctly the cookie mechanism. For those clients I

RE: Manual servlet deployment problems on 4.1.18

2003-02-27 Thread Turner, John
Tomcat doesn't follow symbolic links by default. You have to enable this in server.xml for each Context where you want to use symbolic links. I'm not saying 100% that that was the problem, just that symlink support is not available out of the box with recent versions of Tomcat. John

Re: Filter - ServletContext

2003-02-27 Thread Günter Kukies
Oh, sorry getInitParameter() was the solution. Thanks for your hint. But why is the ServletContext not the same in Filter and HTTPServlet? Günter - Original Message - From: Erik Price [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, February 27, 2003 4:54 PM

RE: Performance .. Jsp compile import wildcards

2003-02-27 Thread Reynir Hübner
But JSPs are compiled, so this is still only a compile-time issue. (Unless I'm mistaken?) Erik Yup, that's true... I'm really just trying to find out how much this can slow down the compile of a jsp page (jspc). I'm guessing not much but I am no compiler specialist. Maybe this

Re: Performance .. Jsp compile import wildcards

2003-02-27 Thread Tim Funk
The only increase is the compile time increase, a one time cost. There is no extra run time cost since compilation takes care of all class reference locations. But importing * is still very very bad. -Tim Reynir Hübner wrote: Hi, I'm wondering what kind of performance decrease (if any) it

RE: build-unix.sh error for mod_jk.so

2003-02-27 Thread David . Vann
Ok, I know Tru64 Unix has a limited life, but has anyone successfully gotten apache1.3 and tomcat 3.3 to work together on Tru64 5.1? After searching the archives it doesn't look like it. I think I'm close to a resolution, but continue with the below problem. Can anyone help or am I

Re: Performance .. Jsp compile import wildcards

2003-02-27 Thread Jon Wingfield
http://www.javaworld.com/javaworld/javaqa/2001-04/01-qa-0406-import.html Reynir Hübner wrote: Hi, I'm wondering what kind of performance decrease (if any) it has to use wildcards in jsp import lines. example : %@ page import=java.util.* % .. but not : %@ page import=java.util.ArrayList %

Re: Filter - ServletContext

2003-02-27 Thread Erik Price
Günter Kukies wrote: Oh, sorry getInitParameter() was the solution. Thanks for your hint. But why is the ServletContext not the same in Filter and HTTPServlet? I am confused. There is one ServletContext in a webapp (as far as I know, which isn't very far). You can access it from a Filter

RE: build-unix.sh error for mod_jk.so

2003-02-27 Thread Turner, John
I have zero experience with Tru64. The only thing I would try, if it were me, is statically linking JK into Apache, instead of using DSO. Something isn't jiving in your current configuration, if I had to guess I would say that your Apache version is too old and doesn't support something that JK

Re: Performance .. Jsp compile import wildcards

2003-02-27 Thread Erik Price
Reynir Hübner wrote: But JSPs are compiled, so this is still only a compile-time issue. (Unless I'm mistaken?) Erik Yup, that's true... I'm really just trying to find out how much this can slow down the compile of a jsp page (jspc). I'm guessing not much but I am no compiler

RE: build-unix.sh error for mod_jk.so

2003-02-27 Thread David . Vann
I'm using apache 1.3.27--Should I upgrade, if so which version would you recommend? Sincerely, David Vann Martha Jefferson Hospital 459 Locust Avenue Charlottesville, VA 22902 [EMAIL PROTECTED] Phone (434) 244-5911 Fax (434) 982-7351 Turner, John [EMAIL PROTECTED] 02/27/2003 11:35 AM

RE: build-unix.sh error for mod_jk.so

2003-02-27 Thread Turner, John
No, that's the latest I think. Sorry, I just couldn't remember what you were using. Did you build that Apache from source? If so, I might try statically linking JK instead of using DSO. John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday,

RE: JDBC connectivityfor ORACLE !!!

2003-02-27 Thread Mike Jackson
To Install Oracle: Create three groups, sysdba, sysoper, oinstall Create an oracle user, default group oinstall, member of sysdba and sysoper Setup environment variables for ORACLE_HOME, and ORACLE_SID Change the PATH to include $ORACLE_HOME/bin Get the

Re: New startup

2003-02-27 Thread Saket Barve
When you view the default index.jsp page, you are actually seeing the JSP page in the ROOT directory. By default, it'll read from this directory (read context) if you don't specify any. For viewing anything placed somewhere other than the ROOT directory in /webapps, you need to specify the

RE: New startup

2003-02-27 Thread Alberto A C A S Magalhães
** Este email assim como os ficheiros que possa ter em anexo são confidenciais e para uso exclusivo da pessoa ou organização para o qual foi enviado. Se recebeu este email por engano por favor notifique [EMAIL PROTECTED] Esta

RE: JDBC connectivityfor ORACLE !!!

2003-02-27 Thread Mike Jackson
Also, http://www.orafaq.com is extremely helpful for answering questions. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Mike Jackson [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 8:53 AM To: Tomcat Users List Subject: RE: JDBC connectivityfor

RE: New startup

2003-02-27 Thread Turner, John
JSP pages do need to be compiled, they are compiled into servlets before being executed, but this is handled automatically by Tomcat. Do you have a Context for myWork in server.xml? If you have a Context, do you also have a web.xml file for your web application? There are some specific steps

Java Plug-in4

2003-02-27 Thread Alberto A C A S Magalhães
** Este email assim como os ficheiros que possa ter em anexo são confidenciais e para uso exclusivo da pessoa ou organização para o qual foi enviado. Se recebeu este email por engano por favor notifique [EMAIL PROTECTED] Esta

RE: Java Plug-in4

2003-02-27 Thread Mike Jackson
You probably need to tell the plugin that you're using a proxy. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Alberto A C A S Magalhães [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 8:52 AM To: Tomcat Users List Subject: Java Plug-in4

locale

2003-02-27 Thread Felipe Schnack
How can i set the default locale of my application? There is a system property to do that? I can't find it anywhere, and need to set mine to pt-BR locale. -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis

RE: Java Plug-in4

2003-02-27 Thread Alberto A C A S Magalhães
** Este email assim como os ficheiros que possa ter em anexo são confidenciais e para uso exclusivo da pessoa ou organização para o qual foi enviado. Se recebeu este email por engano por favor notifique [EMAIL PROTECTED] Esta

RE: Java Plug-in4

2003-02-27 Thread Mike Jackson
Probably via the control panel, but I've not played with it in a 6 monthes to a year. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Alberto A C A S Magalhães [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 9:04 AM To: 'Tomcat Users List'

Re: Four questions (about logging, connectors and manager)

2003-02-27 Thread Tomasz Nowak
Turner, John [EMAIL PROTECTED] wrote: Arguing is a waste of my time. That is very true! Believe me or not, but I really didn't want to argue with you, John. 1. I asked why is it so complex?. 2. You answered that it isn't complex that for you and said that it is stable 3. So I presented an

RE: Four questions (about logging, connectors and manager)

2003-02-27 Thread Turner, John
My point about the connectors was that, in server.xml, you should DISABLE Ajp13Connector and ENABLE CoyoteConnector on port 8009. CoyoteConnector supports both JK and JK2 *and HTTP and HTTPS). So, you can use Apache 1.3, mod_jk, but then on the Tomcat side choose CoyoteConnector instead of

RE: Four questions (about logging, connectors and manager)

2003-02-27 Thread Mike Jackson
Should I be using the AJP1.3 connector for the mod_jk and apache I just setup (1.3.27), or should I be using the coyote connector? I did try the coyote connector, but couldn't seem to get it to connect. The AJP1.3 connector seems to work perfectly for me once I disabled the JMX stuff. --mikej

RE: Four questions (about logging, connectors and manager)

2003-02-27 Thread Turner, John
If it works, I say go for it and call it good...you've got an unusual beast there (Unixware). Common setups for other operating systems might not work for you, so you should go with what works. John -Original Message- From: Mike Jackson [mailto:[EMAIL PROTECTED] Sent: Thursday,

Re: realm getRole() method ?

2003-02-27 Thread Donald Ball
On 2/27/2003 at 5:07 PM laurent marot wrote: thanks but this method just allows checking if user match a role, i'd like to get a method to discover the role. There is no such facility in the servlet api. Given a user, there is no way to get a list of roles to which the user belongs. I too find

Re: New startup

2003-02-27 Thread Steve Guo
what URL are you using to access the file? Tim Laly Huffman [EMAIL PROTECTED] wrote:I have Tomcat installed, along with JDK1.3.1. As far as I know, all variables are set. When I start up Tomcat, I am able to see the default index page from Apache. I can maneuver through all pages using port

Re: locale

2003-02-27 Thread Jon Wingfield
via a static method on java.util.Locale. In your case the Locale call will be Locale.setDefault(new Locale(br, PT)); You may also want to set the TimeZone in a similar manner. Felipe Schnack wrote: How can i set the default locale of my application? There is a system property to do that? I

mod_jk load balancing not evenly distributed

2003-02-27 Thread Mike Bradford
Has anyone else had experience with mod_jk (and mod_jk2) not evenly distributing requests across systems? It seems that the first system listed in the workers.properties (or workers2.properties) gets far more requests passed to it than the others. The magnitude is pretty huge; 1 - 762

Re: CLASSPATH in mac os x

2003-02-27 Thread bido
Here's a section of my .tcshrc file (located in my home directory): setenv CLASSPATH . setenv CLASSPATH ${CLASSPATH}:/Users/bido/Dev/framework/jsp/activation.jar setenv CLASSPATH ${CLASSPATH}:/Users/bido/Dev/framework/jsp/jasper-runtime.jar setenv CLASSPATH

Re: mod_jk load balancing not evenly distributed

2003-02-27 Thread Jake Robb
There's a setting... I think it's in workers.properties, called lbfactor, which allows you to control the balancing factors. -Jake Mike Bradford wrote: Has anyone else had experience with mod_jk (and mod_jk2) not evenly distributing requests across systems? It seems that the first system

JSP or Servlet wrt security

2003-02-27 Thread mls
For creating a totally new web site, is there any difference from security point of view of using only servlets or using only JSPs? Environment (if it matters) non-root Tomcat 4.1.18 (serving both static and dynamic pages - no web server ahead of it), Linux (RH 7.3), DMZ (packet filter), JNDI and

Re: realm getRole() method ?

2003-02-27 Thread Donald Ball
There is no such facility in the servlet api. Given a user, there is no way to get a list of roles to which the user belongs. I too find this a distressing limitation in using container managed security. In some complex security scenarios, it is not always possible for a container to

Re: Four questions (about logging, connectors and manager)

2003-02-27 Thread Tomasz Nowak
Turner, John [EMAIL PROTECTED] wrote: My point about the connectors was that, in server.xml, you should DISABLE Ajp13Connector and ENABLE CoyoteConnector on port 8009. CoyoteConnector supports both JK and JK2 *and HTTP and HTTPS). So, you can use Apache 1.3, mod_jk, but then on the Tomcat

Re: realm getRole() method ?

2003-02-27 Thread Craig R. McClanahan
On Thu, 27 Feb 2003, Donald Ball wrote: Date: Thu, 27 Feb 2003 12:49:40 -0500 From: Donald Ball [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: realm getRole() method ? There is no such facility in the servlet

Segmentation Violation with HttpCoyoteConnector

2003-02-27 Thread Juan
Hello I have a Tomcat 4.1.18 standalone server installed on Red Hat Linux 7.3, using the Sun JVM 1.3.1_03, green threads, standalone. After having some problems with Http11Connector, I activated Coyote about 10 days ago. In these days JVM has crashed, obtaining a Segmentation Violation message,

Re: locale

2003-02-27 Thread Felipe Schnack
Yes, but this is an per-instance attribute, isn't it? How could I make it be set in all f Tomcat's VMs? Maybe a java -D option? On Thu, 2003-02-27 at 14:38, Jon Wingfield wrote: via a static method on java.util.Locale. In your case the Locale call will be Locale.setDefault(new Locale(br,

Q: java.security.manager

2003-02-27 Thread David Boyer
I'm using java.security.manager with catalina.policy. Is it possible to make changes to catalina.policy and apply the changes without restarting Tomcat? I don't think it will be necessary to change security policy very often, but it'd be nice to be able to do it on the fly if possible. TIA!

Re: locale

2003-02-27 Thread Kris Schneider
You can try setting the user.language and user.region system properties at startup. Where user.region can be country, country_variant, or _variant. Quoting Felipe Schnack [EMAIL PROTECTED]: Yes, but this is an per-instance attribute, isn't it? How could I make it be set in all f Tomcat's

manager app. login Tomcat4.0.4

2003-02-27 Thread Andoni
Hello, I have just set up the manager app. in Tomcat 4.0.4 I have the username/password coming from the tomcat-users.xml file. I have many hosts each of whom I want to give access to their own manager app. Can I have multiple new roles called arbitrary names and set them up in

JNDI Datasource failed to start

2003-02-27 Thread Sébastien Col
Hi, I'm trying to get JNDI Datasource working on Tomcat 4.1.18, but can't. I followed the instructions on the jakarta's HowTO, I got a lot of tips on similar problems from the list, but I still can't start my application. Here is the exception I have in the datasource logger. I attached my

Re: locale

2003-02-27 Thread Felipe Schnack
So java _Duser.country=pt_BR? On Thu, 2003-02-27 at 15:23, Kris Schneider wrote: You can try setting the user.language and user.region system properties at startup. Where user.region can be country, country_variant, or _variant. Quoting Felipe Schnack [EMAIL PROTECTED]: Yes, but

RE: JNDI Datasource failed to start

2003-02-27 Thread Sébastien Col
Oooops, here the server.xml!-- Example Server Configuration File -- !-- Note that component elements are nested corresponding to their parent-child relationships with each other -- !-- A Server is a singleton element that represents the entire JVM, which may contain one or more Service

Re: locale

2003-02-27 Thread Kris Schneider
java -Duser.language=pt -Duser.region=BR Which is Portuguese/Brazil java -Duser.language=br -Duser.region=PT Which is Breton/Portugal Quoting Felipe Schnack [EMAIL PROTECTED]: So java _Duser.country=pt_BR? On Thu, 2003-02-27 at 15:23, Kris Schneider wrote: You can try setting the

RE: JNDI Datasource failed to start

2003-02-27 Thread Phillip Qin
What's in your web.xml? Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Sébastien Col [mailto:[EMAIL PROTECTED] Sent: February 27, 2003 1:37 PM To: Tomcat Users List Subject: RE: JNDI Datasource failed to start

No processor available

2003-02-27 Thread Sankaranarayanan (Ganesh) Ganapathy
Hi All, Currently I see that tomcat rejects requests with the message No processor available if it has reached the maximum number of processors and the processors are busy processing requests. Is there a way to make tomcat wait until a processor becomes available? Thanx Ganesh

Need a basic configuration for Tomcat 4.1.18, Apache 2.0.39, mod_jkunder Solaris.

2003-02-27 Thread Julio César Mejia Vergara
Hello, I have a SunBlade 100 (SPARC) with Solaris 8 running Apache 2.0.39 (Compiled) and Tomcat 4.1.18 (Binary) , i just finished compiling mod_jk.so yesterday whit no errors and everything looks good when a start Tomcat and Apache but when i try to run the jsp and servelt examples

Re: No processor available

2003-02-27 Thread Ben Ricker
On Thu, 2003-02-27 at 12:53, Sankaranarayanan (Ganesh) Ganapathy wrote: Hi All, Currently I see that tomcat rejects requests with the message No processor available if it has reached the maximum number of processors and the processors are busy processing requests. Is there a way to make

How to connect with DB2 by jdbc:odbc

2003-02-27 Thread Cora
I use W2K, tomcat 4.1.18, DB2 database, jdk1.4.0. I have already add the DB at ODBC Data Source Administrator. and set the class driver (sun.jdbc.odbc.JdbcOdbcDriver) and URL (jdbc:odbc:dbname) in the java file. but when I try to run the login and check the userid. It seems cannot connect to the

RE: No processor available

2003-02-27 Thread Shufelt, Jonathan S.
Hey all, I wonder if anyone else has gotten the thwte test certificate working. I followed the directions on http://www.orionserver.com/docs/ssl.html#obtain 1)keytool -genkey -keyalg RSA -keystore C:\server\my.keystore -storepass changeit -validity 360 User firstname lastname: - Make this

  1   2   >