Re: Apache 2.0 and Tomcat 4.0.3 integration help need

2002-04-23 Thread glen
There have been a lot of threads on the question of Apache 2/Tomcat integration, and I think I have read them all, and tried them all but still I cannot compile a working version of mod_webapp. On Solaris8, I have tried with both the Sun compilers and gcc(2.95.3), using the latest CVS checkout

Session.IsNew problems

2002-04-23 Thread Wiegard, Hanno
We use Tomcat 4.0.1 with Sun JDK 1.3.1_01 on Windows 2000 to run the controller servlet for our application. This servlet is responsible for taking care about the session state in the application and if a new session arrives, it should create the initial for the application. If a session is

Timestamp on logfiles

2002-04-23 Thread Oki DZ
Hi, I have the following in my Engine element: Logger className=org.apache.catalina.logger.FileLogger prefix=local-catalina. suffix=.log timestamp=false/ Unfortunately, the filename still has the timestamp. How can I have a log file without the timestamp? BTW, it's Tomcat 4.0.3.

Re: Security

2002-04-23 Thread Oki DZ
On 04/23 12:25 Joel Rees wrote: Timothy Fisher commented: I understand the question as he's wondering whether or not you could programatically authenticate a user, such that the container would then recognize the user as being authenticated and not require another login when viewing

AW: Session.IsNew problems

2002-04-23 Thread Ralph Einfeldt
This should only happen if the session times out between two requests. Are you shure, that this did not happen ? -Ursprüngliche Nachricht- Von: Wiegard, Hanno [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 23. April 2002 09:48 An: '[EMAIL PROTECTED]' Betreff: Session.IsNew problems

can't register struts-config dtd on tomcat 4.0.3 (1.4 LE)

2002-04-23 Thread Mike Dewhirst
Has anybody ever had this before? I am running struts on freebsd 4.4 (custom), jdk1.4 (linux), tomcat 4.0.3 (1.4 LE), and struts 1.0.2 (stable). Does anybody have any idea what could be causing this and how could I fix it? if i do a manual fetch of

Re: Security

2002-04-23 Thread Joel Rees
Oki DZ commented: On 04/23 12:25 Joel Rees wrote: So, do you have a container-managed solution? Somebody does... Take a look at http://jakarta.apache.org/turbine/ Turbine would be the ultimate servlet container that will take charge in running all your other servlets, so that handling

RE: Why is JDK needed to install Apache Tomcat 4.0 on WinNT?

2002-04-23 Thread Keith Wannamaker
If you are using JSPs in your application, the JDK rather than the JRE is required to compile them at run-time. Keith | -Original Message- | From: Kiran Kumar N (RBIN/DCA-NMS) [mailto:[EMAIL PROTECTED]] | Sent: Monday, April 22, 2002 11:42 PM | To: '[EMAIL PROTECTED]' | Subject: Why is

RE: Why is JDK needed to install Apache Tomcat 4.0 on WinNT?

2002-04-23 Thread Samuel Gabriel
You can avoid the installation by getting the zip file of tomcat and install it yourself on all the machines, Then you will need to change the Tomcat.bat startup script to point to the JRE directory as the javahome and change the TOMCAT_HOME to point to the directory where you are planning the

problem with mysql and tomcat

2002-04-23 Thread Amrinder Singh
hi i've downloaded the mysql and loaded the driver(mm.nysql) driver for it.If i try to use it in a regular program without involving the server(tomcat3.2.1) it works fine . i can get the resultset etc which is fine. But when i created another applicatoin which involved the use of Tomcat it

Standalone meaning??

2002-04-23 Thread staginfo-ar
What does Standalone mean exactly? How can I configure this for running solely jsp and servlets, No html ( i use IIS for it)? Thanks. Jc -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

AW: Standalone meaning??

2002-04-23 Thread Ralph Einfeldt
'Standalone' means using tomcat without any other web server (IIS, Apache) to handle all request. So your second part of the question doesn't make much sense. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 23. April 2002 10:59 An:

Re: Standalone meaning??

2002-04-23 Thread Dominic Parry
IIS will only pass JSP and servlet stuff to Tomcat. All other content, (which it can deal with), eg html will be served by IIS. This is of course assuming you have install the Tomcat extension for IIS? Hope this helps Dom

Re: Security

2002-04-23 Thread Oki DZ
On 04/23 15:20 Joel Rees wrote: So, how do you think Turbine compares to Struts? I've been looking at both, but my colleagues prefer the designated standard track. I can't tell; never been used Struts (but I've taken a look at:

Re: problem with mysql and tomcat

2002-04-23 Thread Tom Oinn
Amrinder Singh wrote: hi i've downloaded the mysql and loaded the driver(mm.nysql) driver for it.If i try to use it in a regular program without involving the server(tomcat3.2.1) it works fine . i can get the resultset etc which is fine. But when i created another applicatoin which

RE: Session.IsNew problems

2002-04-23 Thread Wiegard, Hanno
This should not happen, but I'll test this again with higher timeout values. The only thing that could happen is that a request takes longer than the timeout, e.g. we have a timeout of 10 sec., but the request processing takes about 20 sec. But I guess the timeout is calculated relative to the

Deploy command in the Manager

2002-04-23 Thread Matt Seaborn
The Deploy Task (org.apache.catalina.ant.DeployTask) in the catalina-ant.jar that accompanies the Java XML EA2 seems to support the deploying of WARs into Tomcat using a deploy command, embedding the WAR binary in the HTTP PUT command. However Catalina doesn't appear to support this (it

oci8 driver problem on Linux

2002-04-23 Thread Shiva.Devaguptapu
Hi, I have been using classes12.zip in the CLASSPATH for oci8 driver on Win2k. Now I am porting on Linux6.2. It says the following error : java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path some other exception.. java.lang.UnsatisfiedLinkError: no ocijdbc8 in

Re: oci8 driver problem on Linux

2002-04-23 Thread Dominic Parry
Hi, I have been using classes12.zip in the CLASSPATH for oci8 driver on Win2k. Now I am porting on Linux6.2. It says the following error : java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path some other exception.. java.lang.UnsatisfiedLinkError: no ocijdbc8 in

RE: oci8 driver problem on Linux

2002-04-23 Thread Matt Seaborn
An UnsatisfiedLinkError occurs when a JNI error occurs deu to the libarry being inaccessable. Classes12.zip is making call to a Windows DLL which is, for obvious reasons, not present on Linux. You need to obtain the Oracle Linux driver for Java. This will most likely require you to install

RE: Why is JDK needed to install Apache Tomcat 4.0 on WinNT?

2002-04-23 Thread # Lalit Nagpal #
I do not know if this would work but try to set the JAVA_HOME variable to point to the JRE. I think it should work then. Keith Wannamaker [EMAIL PROTECTED] wrote: If you are using JSPs in your application, the JDK rather than the JRE is required to compile them at run-time. Keith |

Réf. : AW: Standalone meaning??

2002-04-23 Thread staginfo-ar
Nevertheless, i use tomcat whith IIS ( Isapi_redirector) and when I run TOMCAT I've a Start tomcat standalone. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Réf. : Re: Standalone meaning??

2002-04-23 Thread staginfo-ar
What do you think when you speak about Tomcat extension for IIS? I've only the Isapi redirector. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

JDBC-JNDI connection pooling

2002-04-23 Thread Vincent Lambert
I am trying to use database connection pooling with Tomcat 4.0.3 through JNDI (jdk 1.4). I am using MySQL database with mm.mysql driver v 2.0.12. Context initCtx = new InitialContext(); Context envCtx= (Context) initCtx.lookup(java:comp/env); DataSource w_ds = (DataSource)

JSP problems with Tomcat 3.3 on Debian

2002-04-23 Thread tom stuart
hi, this may well turn out to be a dumb question, but i've searched everywhere for answers to it and can't find anything. i'm hoping there may be a debian user on the list who can help me out. tomcat is, apparently, simply broken out of the box on woody -- it runs okay, but it won't compile any

Re: problem with mysql and tomcat

2002-04-23 Thread Gregor Kovaè
Hi! This Access denied for user username@localhost means that your username at localhost has to be in your mysql.user table. In that table you specify what usres at what hostnames can connect to mysql. Best regards, Kovi At 10:15 23.4.2002 +0100, you wrote: Amrinder Singh wrote:

Re: Apache 2.0 and Tomcat 4.0.3 integration help need

2002-04-23 Thread Simon Stewart
A 0 length mod_webapp.slo file appears to be expected (on Linux, at least) I'm using the GNU dev chain. As a shot in the dark, once you've CDd to apache-2.0, try: ${APACHE_HOME}/build/libtool --silent --mode=link \ gcc -shared -o mod_webapp.so -rpath /usr/local/apache2/modules \ -module

AJP13 with TC3.2.3

2002-04-23 Thread Sérgio Serrano
Hi. I've got installed in my box Linux, Apache 1.3.19, JDK 1.3.1 and TC 3.2.3 working with ajp13. The following error appeard in my mod_jk.log after a bit of continuous utilisation: [jk_ajp13_worker.c (325)]: Error ajp13_process_callback - write failed [jk_ajp13_worker.c (325)]: Error

Problem: JSP calls singleton. Singleton's data changes, but JSP still shows old data from that singleton

2002-04-23 Thread Pykäläinen, Eero
I am using Tomcat 4.0.4-b1 (and Struts 1.0.2) on W2K. I have a singleton class that keeps data inside of it. I have a JSP page that calls the singleton. When singleton's data is up-to-date, JSP page opens quickly. When it isn't, singleton updates its data structure from database and then JSP

AW: How can I get the location of the webapps-directory?

2002-04-23 Thread Eichfelder, Frank
Hi, with getServletContext() I get only the name of my running web-application; with getServerInfo() I get Apache Tomcat/4.0.3. But I don't get any directory name... Frank -Ursprüngliche Nachricht- Von: Scott Purcell [mailto:[EMAIL PROTECTED]] Gesendet am: Montag, 22. April 2002

FW: Problems with Tomcat 4.0.3 and Apache 2. PLEASE HELP

2002-04-23 Thread Sefton, Adam
Sorry to resend this, but does anyone have any idea about it? I'm still hopelessly stuck ... I'm sure I'm doing something wrong, but I've got no idea what. Thanks, Adam -Original Message- From: Sefton, Adam Sent: 22 April 2002 16:07 To: 'Tomcat Users List' Subject: Problems with

Re: FW: Problems with Tomcat 4.0.3 and Apache 2. PLEASE HELP

2002-04-23 Thread adrianthiele
I had trouble starting Apache 1.3 on FreeBSd until I changed my server.xml : !-- Define an Apache-Connector Service -- Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=75 enableLookups=true

servlet mapping

2002-04-23 Thread Lea Allison
Hi can anyone tell me how setup servlet mapping and specifiy paths to be left out. For instance I have: servlet-mapping servlet-nameLookupServlet/servlet-name url-pattern/*/url-pattern /servlet-mapping but I want to have the above, but not including index.jsp for example. So any

Re: AW: How can I get the location of the webapps-directory?

2002-04-23 Thread Erwin Ambrosch
Look at the method getRealPath() of class ServletContext. Erwin Am Dienstag, 23. April 2002 13:41 schrieben Sie: Hi, with getServletContext() I get only the name of my running web-application; with getServerInfo() I get Apache Tomcat/4.0.3. But I don't get any directory name... Frank

Re: Security

2002-04-23 Thread Timothy Fisher
The feature that your describing is the standard J2EE security model. This is a part of any servlet container. Tomcat by itself, without struts or turbine, offers you the same container managed authentication features. Tim --- Joel Rees [EMAIL PROTECTED] wrote: Oki DZ commented: On 04/23

Re: Security

2002-04-23 Thread Timothy Fisher
FYI, The following is extracted from another thread here, but it is very relevant to this thread. Craig points out that there currently is no standard API for performing programmatic authentication of the user that would achieve the effect of logging the user into the container, such that you

Re: Security (Struts/Turbine)

2002-04-23 Thread Timothy Fisher
Im not real familiar with Turbine either... But based on your description of it, you point out that it does not use JSPs for view, which Struts does. Im curious, what does Turbine use/recommend for creating the view? Surely it does not reccommend putting all of the view into a servlet??? FYI,

Re: Apache 2.0 and Tomcat 4.0.3 integration help need

2002-04-23 Thread Georg Huettenegger
i can only tell what i used: gcc-2.8.1 on solaris 2.6 /usr/ucb was first in the path. as far as i know there are quite a lot of linkers/make on the typical solaris installation and not all combinations do work. i know that /usr/ucb, /usr/bin, and /usr/ccs/bin often have required binaries in them

How do I pass commands like -verify to the VM in NT Aervice mode?

2002-04-23 Thread Alexander Höglind
Hi, How do I pass commands like -verify to the VM in NT Service mode? Thanks, ALexander Höglind

RE: Deploy command in the Manager

2002-04-23 Thread Matt Seaborn
Found it out. It is not, and will not, be supported in Tomcat 4.0.x. Presumably it will appear in 4.1. -Original Message- From: Matt Seaborn [mailto:[EMAIL PROTECTED]] Sent: 23 April 2002 10:22 To: '[EMAIL PROTECTED]' Subject: Deploy command in the Manager The Deploy Task

RE: oci8 driver problem on Linux

2002-04-23 Thread Shiva.Devaguptapu
I downloaded the classes12.zip and libocijdbc8.so, combined as jdbc816jdk12-sol_20.zip from oracle.com and placed both of them in TOMCAT_HOME/lib. I also downloaded nls_charset12.zip and placed in the same folder. Even now the error is the same. It says no ocijdbc8 in java.library.path. The exact

Re: oci8 driver problem on Linux

2002-04-23 Thread Andrew . Bate
Shiva.Devaguptapu [EMAIL PROTECTED] wrote:- I downloaded the classes12.zip and libocijdbc8.so, combined as jdbc816jdk12-sol_20.zip from oracle.com and placed both of them in TOMCAT_HOME/lib. I also downloaded nls_charset12.zip and placed in the same folder. Even now the error is the same. It

RE: oci8 driver problem on Linux

2002-04-23 Thread Tim Cronin
If you are using arrays/tables you need to use the type 2 driver. All I saw on the oracle site was 8i oci driver for solaris where are the linux drivers? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 9:41 AM To: Tomcat Users List

Re: JDBC-JNDI connection pooling

2002-04-23 Thread Nick Johnson
Take a look at my long spiel about the same problem; it should be in the list archive from a day or two ago. What I'd do first is this: 1. Make sure that the servlet doing the lookup is in the context you think it's in. 2. Make sure you can connect to the database using a short jdbc program

RE: How do I pass commands like -verify to the VM in NT Service mode?

2002-04-23 Thread Andy Eastham
Alexander, I don't run it as a service, but services are controlled under the registry key [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services] You should be able to find the relevant bit underneath here, where the command line for starting up Tomcat will be evident. It will either be a

RE: oci8 driver problem on Linux

2002-04-23 Thread Shiva.Devaguptapu
Yes. In our application, we are using Array, refcursors, etc., which are classes12.zip specific. In my case, one more thing is Oracle server is on the same machine as Tomcat and Apache. -Original Message- From: Tim Cronin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 8:26 PM

RE: oci8 driver problem on Linux

2002-04-23 Thread Reynir Hübner
hi, maybe some of these comments you've seen in previous replies to your question. First of all, the classes12.zip is not the same for Oracle9i and 8i, so you must ensure that you've downloaded the correct one (from otn.oracle.com). You must install the Oracle Client Software to use OCI

RE: Do I have to use j_security_check to authenticate?

2002-04-23 Thread Tim Cronin
I've been dealing with this same problem. All though Form base authentication is session based the realm has no accessibility to the session object. There are also no events that tell when the session is first created only when objects are bound/unbound to the session. The isNew function is on

RE: Deploy command in the Manager

2002-04-23 Thread Craig R. McClanahan
On Tue, 23 Apr 2002, Matt Seaborn wrote: Date: Tue, 23 Apr 2002 14:33:39 +0100 From: Matt Seaborn [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Deploy command in the Manager Found it out. It is not, and will not,

RE: empty xml page using tomcat4.0

2002-04-23 Thread Tim Cronin
did you try HttpServletResponse.setContentType(text/xml)? -Original Message- From: Mathy V Arumugam [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 7:06 PM To: [EMAIL PROTECTED] Subject: empty xml page using tomcat4.0 Hello, I am new to this group. I have just installed

RE: Do I have to use j_security_check to authenticate?

2002-04-23 Thread Craig R. McClanahan
On Tue, 23 Apr 2002, Tim Cronin wrote: I've been dealing with this same problem. All though Form base authentication is session based the realm has no accessibility to the session object. There are also no events that tell when the session is first created only when objects are

Re: oci8 driver problem on Linux

2002-04-23 Thread Austin Gonyou
Same Here as well. On Tue, 2002-04-23 at 09:41, [EMAIL PROTECTED] wrote: Shiva.Devaguptapu [EMAIL PROTECTED] wrote:- I downloaded the classes12.zip and libocijdbc8.so, combined as jdbc816jdk12-sol_20.zip from oracle.com and placed both of them in TOMCAT_HOME/lib. I also downloaded

RE: Do I have to use j_security_check to authenticate?

2002-04-23 Thread Tim Cronin
Sorry I glazed HttpSessionListener thanks. this is all I could find on overriding the FormAuthenticator http://mikal.org/interests/java/tomcat/archive/view?mesg=56125 is there official documentation? do I have to muck with internal properties files to point to my Authenticator class?

RE: JDBC-JNDI connection pooling

2002-04-23 Thread Clearwater, Pete
Hi Vincent. I had the same issue - try changing the driverName parameter to url - it helped me. pete. -Original Message- From: Vincent Lambert [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 2:55 AM To: 'Tomcat Users List' Subject: JDBC-JNDI connection pooling I am trying to

RE: DataSource from JNDI always null

2002-04-23 Thread Clearwater, Pete
Hi Nick. I had similar problems, and have found out a couple of things: 1. I could not get my datasources to be found when using the WARP connector. Same thing as you - null DataSource. No idea what the problem was here. 2. Initially I could not get it to work at all, but found that if I

jsp servlet error in NetBeans

2002-04-23 Thread Nick Wesselman
I'm asking about this over at the netbeans projects, but I figured someone here might be able to help. We're seeing this across multiple versions of Netbeans when we try to run JSPs. cannot load servlet name: jsp 2002-04-23 10:53:20 - Ctx( ): Exception in: R( + /kccat_test.jsp + null) -

RE : JDBC-JNDI connection pooling

2002-04-23 Thread Vincent Lambert
I made it work but i have another problem. I get a No Suitable Driver when calling : Connection conn = w_ds.getConnection(); -Message d'origine- De : Nick Johnson [mailto:[EMAIL PROTECTED]] Envoye : mardi 23 avril 2002 17:02 A : Tomcat Users List Objet : Re: JDBC-JNDI connection

Re: jsp servlet error in NetBeans

2002-04-23 Thread Nick Wesselman
btw, We suspect this may be related to our shared SMB filesystem and bad SMB file locking in OS X. Make sense at all? Nick On Tuesday, April 23, 2002, at 11:08 AM, Nick Wesselman wrote: I'm asking about this over at the netbeans projects, but I figured someone here might be able to help.

Re: Apache 2.0 and Tomcat 4.0.3 integration help need

2002-04-23 Thread Boon K. Chee
Dear Michael, Thanks for the information. Yes, I've found his excellent tutorial and managed to set everything up on my Linux machine. BTW, do you know any good tutorial to set things up on Win 2000 or XP? Thanks. Best regards, Brandon ---Original Message---

Re: Apache 2.0 and Tomcat 4.0.3 integration help need

2002-04-23 Thread Boon K. Chee
Dear Glen Jackson, I have followed the tutorial from Simon Stewart and I have managed to setup everything properly on my Linux(Redhat 7.2) machine. After the make command in the first step, you will get a 0 byte mod_webapp.slo. This is alright. Then, on the next step:

Failover in Apache/Tomcat cluster

2002-04-23 Thread yinglcs
http://e-docs.bea.com/wls/docs70/cluster/servlet.html#1006761 Basically, the load balancer assigned each request with 2 server: one primary, one secondary. The client's session is replica between the primary and secondary server. When the primary fails, the secondary server will take over.

Re: empty xml page using tomcat4.0

2002-04-23 Thread Mathy V Arumugam
Yes, I have HttpServletResponse.setContentType(text/xml). I still have no clue of why I am getting the blank page... Thanks Tim Cronin wrote: did you try HttpServletResponse.setContentType(text/xml)? -Original Message- From: Mathy V Arumugam [mailto:[EMAIL PROTECTED]] Sent:

getRemoteUser(), getAuthType() returning empty string instead ofNULL?

2002-04-23 Thread James Garrison
Scenario: (1) Browser - http://TomcatHTTPServer:8080 (no authentication) getRemoteUser() and getAuthType() return NULL, as expected (2) Browser - https://TomcatHTTPServer:8443 (no authentication) getRemoteUser() and getAuthType() return NULL, as expected (3) Browser -

RE: getRemoteUser(), getAuthType() returning empty string instead of NULL?

2002-04-23 Thread Ignacio J. Ortega
De: James Garrison [mailto:[EMAIL PROTECTED]] Enviado el: martes 23 de abril de 2002 18:48 Needed more information, which Tomcat version?, post the connector or interceptor line for ajp13 prsent in your server.xml file.. Saludos , Ignacio J. Ortega -- To unsubscribe: mailto:[EMAIL

Tomcat, MS Beta 2 driver, and database pooling

2002-04-23 Thread Sean LeBlanc
Does anyone have this working? If so, can you please post your server.xml, your (context)web.xml and your working code? I just cannot get this to work. Any and all ideas are welcome. If it can't work, it'd be nice to know that, too. Thanks. My web.xml has this entry: resource-ref

Tomcat 3.3a as a W2k Service

2002-04-23 Thread Short, Dave
I'm not having much success trying to run Tomcat 3.3a as a W2K service. jk_nt_service -s Tomcat just gives me the following dialog: Asked (and given) winsock 1.1 Starting Tomcat. Tomcat failed to start. The logs are not written and there is no trace of any type of error message. The service was

Tomcat 4.02 on AIX 4.3.3 and Java 1.2.2.17

2002-04-23 Thread Hamish Marson
Hey all. I searched the archives, but didn't find any similiar problems. Has anyone here experienced troubles running tomcat 4.02 on AIX 4.3.3 with IBM Java 1.2.2 (Patch level 17). I'm seeing 2 problems. 1. Tomcat won't start of java is exec'ed with the full path... Tomcat seems to do

Re: getRemoteUser(), getAuthType() returning empty string insteadof NULL?

2002-04-23 Thread James Garrison
Ignacio J. Ortega wrote: De: James Garrison [mailto:[EMAIL PROTECTED]] Enviado el: martes 23 de abril de 2002 18:48 Needed more information, which Tomcat version?, post the connector or interceptor line for ajp13 prsent in your server.xml file.. The Tomcat version is 4.0.2. Here's the

RE: Tomcat 3.3a as a W2k Service

2002-04-23 Thread Lecaros, Noel
When you say the logs are not written, do you mean the file jvm.stderr in the logs subdirectory for Tomcat? On version 3.3.1, there is an issue with jk_nt_service in that it does not properly interpret the wrapper.properties file supplied in the distribution. Specifically, the

web.xml parse error

2002-04-23 Thread Animesh Chaturvedi - US
Hi I am adding the following error-page directive to web.xml. error-page error-code404/error-code location/webdev/notfound.jsp/location /error-page I always get the following error on starting tomcat Apache Tomcat/4.0.3 PARSE error at line 866 column 11

Tomcat Session ID handling??

2002-04-23 Thread John Regan
* I am concerned about how Tomcat identifies whether or not a page hit is part of an old or new session. If you come back the next day and type yesterday's jsessionid= value onto your URL line, will Tomcat be tricked into thinking its the same session? If you bookmark a page so that the

Re: web.xml parse error

2002-04-23 Thread rsequeira
You probably have the web.xml defined in an incorrect order. To answer your other question, you could define a 403 (forbidden) error page. Note this may only work right when using form-based authentication. With Basic authentication, you might need to override the Authenticator class that does

How select a printer to print

2002-04-23 Thread Jack Li
Hello, My users need to select a printer from a list of printers installed on web server. How to get the list of printers and select a printer to print the report? I have JDK1.3 and Tomcat 4 Thanks, Jack Li

Re: Apache 2.0 and Tomcat 4.0.3 integration help need

2002-04-23 Thread Michael Delamere
Hi Brandon, No sorry, I´ve been working on linux to get everything working. The next step will be to extend the how-to with virtual hosts. As far as I know, Simon want´s to include this in his how-to. bye Michael Delamere p.s. I just wanted to thank everyone contributing to this topic

RE: web.xml parse error

2002-04-23 Thread Animesh Chaturvedi - US
Where can I find the correct order for web.xml. I am going through the DTD but it does not mention any preferred order. I tried moving my error-page directive inside web.xml, but that did not help ?? My web.xml (this is the web.xml shipped in tomcat/conf) has following entries in this order

RE: web.xml parse error

2002-04-23 Thread Tim Cronin
the tag tells the order (from DTD) !ELEMENT servlet (icon?, servlet-name, display-name?, description?, (servlet-class|jsp-file), init-param*, load-on-startup?, run-as?, security-role-ref*) web-app servlet icon/icon servlet-name/servlet-name display-name/display-name

Authenticate works but accessControl fails?

2002-04-23 Thread Januski, Ken
Hi, I'm still trying to set up jdbc security realms and have a new problem. I find that depending on what I do in the url-pattern part of web.xml in my application directory I either get in with no authentication being used at all or I get something like this: Authenticator:[/kencat]

mod_jk.dll Apache 2 problem

2002-04-23 Thread Douglas, Rory
Hello I'm trying to use mod_jk.dll with Apache 2.0.35 on W2K to set up load-balancing of a few Tomat 4 servers. Problem is, I can't get Apache to load mod_jk.dll. I have copied mod_jk.dll into %Apache_home%\modules and included the LoadModule directive in httpd.conf Apache says: Cannot load

RE: Authenticate works but accessControl fails?

2002-04-23 Thread Januski, Ken
Answering my own question, after finding some useful information in Hans Bergsten's Java Server Pages: I realized that the access was related to how I set up the mySQL tables for jbdc to authenticate against. Eventually I found that there was a difference in spelling between what I had there and

Re: servlet mapping

2002-04-23 Thread Phillip Morelock
hi -- i had this problem a while back -- i don't know that you've explained it clearly, but it sounds like the same problem i had. The limitation is in the servlet specification itself. Mapping is not designed to work this way...I remember being really disappointed when I read the servlet

Map network drive automatically

2002-04-23 Thread Jack Li
Hello All, Does anybody know how to map a network drive by writing a java program or other program languages? My OS is w2k and web server is IIS and Tomcat 4. Thanks, Jack Li

Re: Map network drive automatically

2002-04-23 Thread Phillip Morelock
check out the net use command -- you can just use a batch file (.bat) On 4/23/02 12:21 PM, Jack Li [EMAIL PROTECTED] wrote: Hello All, Does anybody know how to map a network drive by writing a java program or other program languages? My OS is w2k and web server is IIS and Tomcat 4.

RE: Map network drive automatically

2002-04-23 Thread John Roth
Also, Java does support UNC's (sometimes a little glitchy, you will need to test well). We use all UNC's now due to problems attaching to remote drives, ensuring the drive is mapped correctly on startup, etc. UNC's have worked well for us. John -Original Message- From: Phillip Morelock

file I/O

2002-04-23 Thread cocoonlist78
Tomcat Users, Where do I need to put files (in this case XML files) so that my servlets have access to them without worrying about paths? I've tried a few places but keep getting a nullPointerException. I started this project in JBuilder and have had my XML files just inside the project

RE: Map network drive automatically

2002-04-23 Thread Jim Urban
You can also map drive letters within a Java program for the duration of the Java program: String mapCmd = new String(net use w: computername\\sharename); Runtime rt = Runtime.getRuntime(); try { rt.exec(mapCmd); } catch

Building mod_jk for Apache 2.0 on Red Hat Linux 7.2

2002-04-23 Thread Pascal Forget
I get the followign error when compiling mod_jk/native/apache-2.0 from the 4.04-b2 connectors source on RedHat Linux 7.2 (Intel). Any idea what is wrong? Thanks, Pascal /web/ubeans/build/libtool --silent --mode=compile gcc -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT

VIRUS from htillit@amurititania.mr -- W32Klez.gen@mm

2002-04-23 Thread Micael Padraig Og mac Grene
Watch for a virus. The Subject line says ACCESS KEY. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

RE: Security (Struts/Turbine)

2002-04-23 Thread Anthony Eden
Turbine can use several different view technologies, including JSP, WebMacro, Velocity, and probably more. The recommendation at this point is to use Velocity (I believe). Sincerely, Anthony Eden -Original Message- From: Timothy Fisher [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

Re: How select a printer to print

2002-04-23 Thread rsequeira
First if the users use the browser to view webpages spewed out by Tomcat, then they will only see the printers installed on their machines. If you have a java app, you could probably use JNDI to expose the printers (I think...I've never done that though). But as I said, web users will only see

Trouble getting Apache talking to Tomcat

2002-04-23 Thread zonker harris
Hey all, I've set up Tomcat, I've put mod_webapp.so into apache's libexec directory and after i restart Tomcat, when I restart apache it throws this error. # ../bin/apachectl start Syntax error on line 1159 of /usr/local/apache/conf/httpd.conf: Invalid command 'WebAppMount', perhaps

Re: Trouble getting Apache talking to Tomcat

2002-04-23 Thread adrianthiele
zonker harris wrote: Hey all, I've set up Tomcat, I've put mod_webapp.so into apache's libexec directory and after i restart Tomcat, when I restart apache it throws this error. # ../bin/apachectl start Syntax error on line 1159 of /usr/local/apache/conf/httpd.conf: Invalid command

/index.html works, / doesn't

2002-04-23 Thread Bernd Prager
Sorry, if I that got answered already, but I found just a bunch of questions in the mailing list related to this and never an answer: I can't make welcome-file with tomcat-4.0.3, apache_1.3.24 and mod_webapp working. The url http://myhost/index.html works just fine, the url http://myhost/

Re: Apache 2.0 and Tomcat 4.0.3 integration help need

2002-04-23 Thread glen
That was it! As a rule I make a point of putting /usr/ucb last in the path, but in this case putting it first seems to have been the magic bullet. Thanks i can only tell what i used: gcc-2.8.1 on solaris 2.6 /usr/ucb was first in the path. as far as i know there are quite a lot of

Re: Trouble getting Apache talking to Tomcat

2002-04-23 Thread Oktay Altunergil
I think you should use WebAppDeploy not WebAppMount After that you are likely to see two more error messages.. One related to 'ServerName' the other I don't remember. :) Oktay Altunergil On Tue, 23 Apr 2002 17:00:52 -0400 zonker harris [EMAIL PROTECTED] wrote: Hey all, I've set up

Re: DataSource from JNDI always null

2002-04-23 Thread Cynthia Jeness
I have also experienced 1. below. Does anyone know of there is any resolution? We are temporarily running servlets which use this through Tomcat directly. Cynthia Jeness Clearwater, Pete wrote: Hi Nick. I had similar problems, and have found out a couple of things: 1. I could not get

Re: DataSource from JNDI always null

2002-04-23 Thread bm
Hi Anyone is successful in doing this combination so far windows2000 + apache 2.0.35 + tomcat 4.0.3 + SSL ( open + mod) Since apache is saying 2.0.35 is the most stable one on windows Reg bm Cynthia Jeness wrote: I have also experienced 1. below. Does anyone know of there is any

Re: DataSource from JNDI always null

2002-04-23 Thread James Williamson
Cynthia, Please find a snip of a mail I wrote a while ago about this problem: snip due to how the WarpConnector is configured it doesn't find your original deployed webapp (Context) with all the resources you've specified but it realises it needs a webapp (Context) so it creates a new one

Authentication - is there a way to tell the browser to send a Authorizationheader?

2002-04-23 Thread rsequeira
Is there a way using a servlet/jsp to tell the browser to send the Authorization request header without sending a prior 401 Authorization required reponse header. Well it goes like this: We have a Basic Authentication setup on some of our resources. We would like the user to bypass the

answer: HTTP authentication headers behavior expectations

2002-04-23 Thread Phillip Morelock
this is HTTP AFAIK the only way a browser can send BASIC authentication credentials is: 1) you send them a 401 and the browser prompts the user 2) you format all your links as http://user:[EMAIL PROTECTED]/ but i am not even sure if all browsers will correctly use this, at least in the fashion

Re: answer: HTTP authentication headers behavior expectations

2002-04-23 Thread bm
Hi Anyone is successful in doing this combination so far windows2000 + apache 2.0.35 + tomcat 4.0.3 + SSL ( open + mod) Since apache is saying 2.0.35 is the most stable one on windows Reg bm Phillip Morelock wrote: this is HTTP AFAIK the only way a browser can send BASIC authentication

  1   2   >