RE: using a datasource connection pool resource with username and password supplied by user

2005-10-10 Thread Akoulov, Alexandre [IT]
Hi Jeff, >I will implement storing the connection in > the session with the log > out killing the connection. what happens if the user never logs out? then your Tomcat might end up with quite a few open connections that it cannot close and the only way to close such connections wo

FW: Tomcat security realms question

2005-07-18 Thread Akoulov, Alexandre [IT]
Thanks Mark. I agree, but they are the security people and I have to at least try to comply. Do you think it would be feasible for us to change the org.apache.catalina.authenticator.AuthenticatorBase for Tomcat 4.1.18 to change the session ID post logging in? We'd obviously have to reco

RE: Tomcat security realms question

2005-07-17 Thread Akoulov, Alexandre [IT]
ttacker has physical access to a machine it is game over - they have won. Your security team knows the threat model for you situation far better than I do but it sounds to me like they are trying too hard in one area and have missed a bunch of other threats. Mark Akoulov, Alexandre [IT] wr

Tomcat security realms question

2005-07-14 Thread Akoulov, Alexandre [IT]
ogin screen, then goes to make themselves a cup of coffee. A hacker goes to their computer and writes down the session ID. The user comes back and logs in, and the hacker pretends to be them from another computer. My question is: how can I avoid this situation and keep the security guys happ

RE: non-web app in tomcat

2005-07-06 Thread Akoulov, Alexandre [IT]
If your non-web application is to be only accessed by web apps why would not you run it in the tomcat's JVM (just place non-web application in the ${catalina.base}/shared/classes or as a jar file into ${catalina.base}/shared/classes). In this scenario you eliminate the need for maintainin

RE: WELCOME to tomcat-user@jakarta.apache.org

2005-06-24 Thread Lusinyants, Ruben \(IT\)
I am new to TOMCAT. I used MyEclipse Workbench to develop the site which I run of a local installation on my XP box. I then created a MyApplication.war file and used Tomcat Web Application Manager to deploy it on a shared server. The war file is in . /MyApplication/QA/kuula/.sc.9501/webapps

RE: Use JSPC

2005-06-19 Thread Akoulov, Alexandre [IT]
Hi Mino, that is what we do: a) generate java files with JspC compiler b) compile java files with javac compiler c) copy class files to the required location (ie class directory under WEB-INF ) Hope it helps, Sasha. -Original Message- From: Giacomino Raccuia [mailto:[EMAIL PROTECTED

RE: Tomcat 5.0.30 - UTF-8 encoding not working

2005-06-02 Thread Karanjkar, Sanjay V \(IT\)
Hi Mark, Adding URIEncoding="UTF-8" to the coyote connector did the trick. Thanks a bunch! My guess is that our app will be hosted on a tomcat instance that only hosts UTF-8-aware apps. Thanks and regards Sanjay -Original Message- From: Karanjkar, Sanjay V (IT) Sent: Fr

RE: Tomcat 5.0.30 - UTF-8 encoding not working

2005-06-02 Thread Karanjkar, Sanjay V \(IT\)
Hi, Apologies, my previous mail was missing a few things... Correction -> Tomcat *does* show UTF-8 encoded data correctly (after fetching from the database). It also saves UTF-8 encoded data correctly (I verified this by looking at a saved record). However, the place where it fails is whe

Tomcat 5.0.30 - UTF-8 encoding not working

2005-06-02 Thread Karanjkar, Sanjay V \(IT\)
Hi msjava, I'm trying to migrate our webapp from ServletExec4.1.1/JDK1.3.1 to Tomcat5.0.30/JDK1.4.2. On ServletExec, our app was showing/saving UTF-8 strings correctly. However, after migration to Tomcat, the pages are not showing UTF-8 encoded content correctly. All our JSP pages contain the

RE: problem: Session invalidation in the servlet accessed via foreign context

2005-05-23 Thread Akoulov, Alexandre [IT]
essed via foreign context OK. So... your conclusion is that you can't do that, right? That's what I'm reading the servlet 2.4 spec as saying, because you can't invalidate a session in one context that is not accessible to you in another context, irrespective of whether you use

RE: problem: Session invalidation in the servlet accessed via foreign context

2005-05-22 Thread Akoulov, Alexandre [IT]
Thanks again, Steve, for your time. I am not trying to share sessions between different apps. I just want to ensure that when we're programmatically accessing web application in the different context it can do its own session management (ie invalidate / create new ones) -Original Me

RE: problem: Session invalidation in the servlet accessed via foreign context

2005-05-22 Thread Akoulov, Alexandre [IT]
that when invalidating/creating a session in ForeignContextServlet it in fact did not create a new session and left us with the reference to old (ie invalidated) session after line No.3. My next step is start looking into the tomcat source code to try to work out what's happening. Do you

Re: problem: Session invalidation in the servlet accessed via foreign context

2005-05-22 Thread Akoulov, Alexandre [IT]
Hi all, I'd greatly appreciate if you could shed a ray of light on the following problem ( see below) -Original Message- From: Akoulov, Alexandre [IT] Sent: Friday, 20 May 2005 11:15 AM To: Tomcat Users List Subject: problem: Session invalidation in the servlet accessed via fo

problem: Session invalidation in the servlet accessed via foreign context

2005-05-19 Thread Akoulov, Alexandre [IT]
Hi all, It seems that there is a problem with session invalidation in tomcat5.0. Please refer to the explanation below: 1. HttpSession session = req.getSession(true); // get existing user session or create one if does not exist 2. session.invalidate(); // invalidate user session

RE: Recent spam

2005-05-18 Thread Akoulov, Alexandre [IT]
get through and another 10 hours to confirm. Since (as much as I'd like not to have to work for a living) I don't monitor my Apache e-mail 24x7 it wasn't sometime early Wednesday morning (UK time) that the messages were finally blocked. A couple of more general points about s

RE: Problem with the classloader in jakarta-tomcat-5.0.28 - cannot add a jar file to class repository

2005-04-22 Thread Akoulov, Alexandre [IT]
>Apparently, individual jars should be added as URLs rather than >normal file system paths. I suppose that means using >file:.jar, but I haven't tried it. I guess that would work because Bootstrap.java has the following piece of code in its createClassLoader(Strin

RE: Problem with the classloader in jakarta-tomcat-5.0.28 - cannot add a jar file to class repository

2005-04-21 Thread Akoulov, Alexandre [IT]
whether there is "*.jar" at the end of the path, strips it from the path and then adds to the packed list. If the path ends in anything other than "*.jar" it gets added to unpacked list (that is where the jar file ends up) -

RE: Problem with the classloader in jakarta-tomcat-5.0.28 - cannot add a jar file to class repository

2005-04-21 Thread Akoulov, Alexandre [IT]
Thanks Chuck for your reply. I still think it is a bug!!! Please try the following: add a jar file (eg, foo/bar.jar) as a class repository in the catalina.properties and then use one of the classes from this jar file in one the servlets - will get a ClassNotFoundException. I've att

Problem with the classloader in jakarta-tomcat-5.0.28 - cannot add a jar file to class repository

2005-04-21 Thread Akoulov, Alexandre [IT]
Hi all, I'd greatly appreciate your thoughts on the following issue (and the proposed solution ): When adding a jar file (eg, "foo/bar.jar") to the class loader's repository it treats as a directory and therefore it cannot load any classes from this jar. The follo

AW: port number

2005-04-13 Thread Canto IT System Manager
h, 13. April 2005 16:56 An: Tomcat Users List Betreff: RE: port number Is that even possible? Port 80 is the default HTTP port. Port 443 is the default HTTPS port. That said, Microsoft Internet Information Server, Apache web server and most servers default to port 80 which makes sense since it is for

RE: Problem with BASIC authentication

2005-03-17 Thread Karanjkar, Sanjay V \(IT\)
nel Farbos [mailto:[EMAIL PROTECTED] Sent: 17 March 2005 09:58 To: Tomcat Users List Cc: Karanjkar, Sanjay V (IT) Subject: Re: Problem with BASIC authentication Hi, Compared to Manager's web.xml, it seems you don't have the section with the link to your user DataBase. Perhaps, try to put th

RE: Problem with BASIC authentication

2005-03-16 Thread Karanjkar, Sanjay V \(IT\)
Hi, Anyone had a chance to look at this one yet? Thanks Sanjay -Original Message- From: Karanjkar, Sanjay V (IT) Sent: 15 March 2005 11:19 To: tomcat-user@jakarta.apache.org Subject: Problem with BASIC authentication Hi, I have the following setup: 1. A copied version of Tomcat

Problem with BASIC authentication

2005-03-15 Thread Karanjkar, Sanjay V \(IT\)
Hi, I have the following setup: 1. A copied version of Tomcat 4.1.24 on Unix (i.e. I have merely *copied* the entire tomcat folder from another installed location instead of installing it) 2. My application WAR file referenced by the following Context in Server.xml

AW: how do I unsubscribe from this mailing list?

2004-11-01 Thread Canto IT System Manager
Be sure that you use the right email account by sending your email ;-) -Ursprüngliche Nachricht- Von: spammemothers [mailto:[EMAIL PROTECTED] Im Auftrag von Adrian Harrison Gesendet: Montag, 1. November 2004 10:31 An: 'Tomcat Users List' Betreff: how do I unsubscribe from this mailing lis

Fw: The value for the useBean class attribute com.company.product.thing is invalid.

2004-08-20 Thread Kenneth Ho \(IT Department Ltd\)
Hi, I have an application running on Tomcat 4.1.24 with JapserReport 0.5.0. When I try to print JasperReport with large amount of data, there is a OutofMemoryError there. The tomcat will then shutdown unexpectedly. I search on google and set java -Xms256m -Xmx512m, but it doesn't help. I

RE: CGI and exe

2004-08-17 Thread share-it!
needs. Let us know if we can be of further assistance. Sincerely, Jason Your share-it! team __ share-it! - a service of digital river http://www.shareit.com __ Original Message Fo

RE: Mod JK - RedHat Enterprise 2.1 - Tomcat

2004-08-16 Thread McGovern, James F (HTSC, IT)
Thanks for the various URLs. Was hoping that I would get a better answer than having to find source and compile or reinstall. Those answers are what I expect from MS. Was hoping for a simple get patch here download. This communication, including attachments, is for the exclusive use of address

RE: Mod JK - RedHat Enterprise 2.1 - Tomcat

2004-08-16 Thread McGovern, James F (HTSC, IT)
: Mod JK - RedHat Enterprise 2.1 - Tomcat I would suggest building it yourself, that way you are guaranteed to get the right one. Ta Matt -Original Message- From: McGovern, James F (HTSC, IT) [mailto:[EMAIL PROTECTED] Sent: 16 August 2004 18:42 To: '[EMAIL PROTECTED]' Subje

Mod JK - RedHat Enterprise 2.1 - Tomcat

2004-08-16 Thread McGovern, James F (HTSC, IT)
Been searching the Internet and reading every FAQ I could find but still do not know the answer to my problem. Attempting to make the version of Apache that ships with RedHat Enterprise 2.1 talk to Tomcat via MOD_JK. Getting an error message: Cannot load /etc/httpd/modules/mod_jk.so into server: /

Re: Application directory outside webapp in tomcat

2004-03-09 Thread Kenneth Ho \(IT Department Ltd\)
Thanks for all replies. My Tomcat version is 4.1.24. I think I should modify server.xml. I will try to configure it. - Original Message - From: "Harry Mantheakis" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, Ma

Application directory outside webapp in tomcat

2004-03-07 Thread Kenneth Ho \(IT Department Ltd\)
Is that possible to have application directory located outside the default webapp directory inside tomcat? How to configure the server.xml to do it? I've tried to do that but failed. Please help. Kenneth

Logging for DBCP?

2004-01-27 Thread Boemio, Neil (IT, FGIC)
Is there some kind of logging I can turn on for troubleshooting problems with the Tomcat Database Connection Pool. I'm using 4.1.29. Are errors relating to the DBCP supposed to go to the catalina log because I'm not seeing these types of errors there. -

Apache Tomcat on Linux through Checkpoint firewall to Oracle on W2K

2004-01-26 Thread Boemio, Neil (IT, FGIC)
port 1521 to Oracle, Windows replies back on a random port number different from 1521 and so it can't get through the firewall. So in order to just open up 1521 through the firewall, there are 3 possible solutions? Can people who are using Oracle on Windows with Tomcat tell me which o

RE: Getting short reads

2004-01-14 Thread Prabhat Kumar (IT)
irst. Regards, Nitin This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, prin

Tomcat: Connection reset by peer: socket write error

2004-01-07 Thread Boemio, Neil (IT, FGIC)
ce: About every minute in the jk2.log, I get this set or errors over and over again. This doesn't seem to be directly related to my problem because this happens even when everything is OK but I thought I would include it as well: [Wed Jan 07 14:19:27 2004] (error ) [jk_channe

RE: [OFF-TOPIC] Tomcat web hosting

2003-12-08 Thread Prabhat Kumar (IT)
http://www.webappcabaret.com/index.html -Original Message- From: Pitre, Russell [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 4:24 PM To: Tomcat Users List Subject: [OFF-TOPIC] Tomcat web hosting Hello All- Sorry to bother you with another one of my questions.. Ca

Could not read system property "log4j.configDebug".

2003-12-04 Thread Richard Drent \(Drent IT BV\)
Thus some one now a way to fix this, >>>Browser msg<< Internal Servlet Error: javax.servlet.ServletException at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508) at javax.servlet.http.HttpServlet.ser

RE: best way to debug JSP's ???

2003-11-05 Thread Anderson, James H [IT]
ude a JSP at the bottom of every page that is essentially a JSP Debugging page. This code mines all of the JSP objects and displays all of the values. I can toggle on or off what I want to see and when I go to production I either comment out the include or remove it. I also use log4j within my

RE: best way to debug JSP's ???

2003-11-05 Thread Anderson, James H [IT]
Thanks for all the responses! jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

best way to debug JSP's ???

2003-11-05 Thread Anderson, James H [IT]
I hope this isn't terribly off topic, but I couldn't think of a better list... jim (BTW, is there a way to get at the servlet that's generated by compiling the JSP?) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

RE: JNDI problem using 4.1.27

2003-11-03 Thread Anderson, James H [IT]
Sure, here it is. -Original Message- From: Vincent Aumont [mailto:[EMAIL PROTECTED] Sent: Saturday, November 01, 2003 6:15 PM To: Tomcat Users List Subject: Re: JNDI problem using 4.1.27 Could you post your server.xml file? You attachment did not make it to the list. -Vincent

JNDI problem using 4.1.27

2003-10-31 Thread Anderson, James H [IT]
I can't seem to get JNDI working. I'm trying to access an MySQL database via JNDI and it's not working. catalina.out contains this msg: DBCP borrowObject failed: ..., underlying cause: Unexpected end of input stream The following compressed tar file contains portions of all the relevant files, AF

RE: JNDI problem using 4.1.27

2003-10-31 Thread Anderson, James H [IT]
I should amend this to say that the problem looks more like it has to do with connection pooling than with JNDI. > -Original Message- > From: Anderson, James H [IT] > Sent: Friday, October 31, 2003 3:36 PM > To: '[EMAIL PROTECTED]' > Subject:

RE: JDBC Realm

2003-10-28 Thread Gardner, David [IT]
Hello, Please let me explain a little more. It is the password that the JDBC realm uses to connect to the database that should be encrypted for example connectionPassword="foobar" should look something like connectionPassword="3dc69416b0783cac9f3dda37b6bb0862". I have been ab

JDBC Realm

2003-10-27 Thread Gardner, David [IT]
I have a JDBC Realm configured against a sybase database and it works fine. See below I have changed the details for obvious security reasons. I also have the user passwords encrypted using MD5 and this works fine. However we have a need to have all clear text passwords encrypted in

RE: [OT] log4j to file or db -- which will be faster

2003-10-22 Thread Prabhat Kumar (IT)
will be faster Howdy, I'd prefer the file usually, to avoid any transactional and translational overhead associated with SQL calls. Of course, the best thing to do is for you to try it out and convince yourself. Yoav Shapira Millennium ChemInformatics >-Original Message---

[OT] log4j to file or db -- which will be faster

2003-10-22 Thread Prabhat Kumar (IT)
? I guess one way to find out would be to actually try it out, but was wondering if you guys had thoughts about it. Thanks, Prabhat.

RE: Profiler (was: RE: application eats up memory)

2003-10-21 Thread Prabhat Kumar (IT)
plugin for profiling? http://eclipsecolorer.sourceforge.net/index_profiler.html I realize that it is still beta, but I was wondering how good it is. Charlie > -Original Message- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 21, 2003 9:27 AM > To: Tomca

RE: Constant strukle with connecting to firebird/interbase

2003-10-14 Thread Richard Drent \(Drent IT BV\)
Tomcat version = 3.2.3 Sdk = 1.3 Met vriendelijke groeten Richard Drent Guyzzz Im trying to connect my tomcat to a firebird database server. The first time after a restart of the httpd/tomcat he gifs as an error start Root cause: java.lang.ExceptionIn

RE: how to solve "java.lang.NoClassDefFoundError"

2003-10-13 Thread Richard Drent \(Drent IT BV\)
Look at tomcat_home/work/../localhost/yourwebapp/jsp/_0002fconnect_00033_0002ejspcon nect3_jsp_20.java Can you check if your dependent jar (firebirdsql-full.jar) is placed under WEB-INF/lib folder. Placing dependent jar files here must solve your problems. hope it could help. regards SM -O

how to solve "java.lang.NoClassDefFoundError"

2003-10-13 Thread Richard Drent \(Drent IT BV\)
Can anyone tell me what this meens, and how to solve. This error accurse when I try to connect to a firebird db, using firebirdsql-full.jar Root cause: java.lang.NoClassDefFoundError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:120) at

RE: NEWBEE: try to connect to Firebird database.

2003-10-11 Thread Richard Drent \(Drent IT BV\)
Diego - Original Message - From: "Richard Drent (Drent IT BV)" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Saturday, October 11, 2003 5:33 PM Subject: NEWBEE: try to connect to Firebird database. Hi all I'm lost, I

NEWBEE: try to connect to Firebird database.

2003-10-11 Thread Richard Drent \(Drent IT BV\)
Hi all I'm lost, I try to connect to a firebird database with the Jaybird jdbc. I have her the syntax of my page, because I don't now if it is tomcat, the JDBC or my page who is making the error. The error is at the bottom of this msg. So can some body tell me what is wrong here, o

RE: Stop Tomcat Remotely

2003-09-24 Thread Prabhat Kumar (IT)
your hands to decide. I know it can be done in unix. It can be done in windows as well if you enable telnet or using WMI scripts ( those involve other security rights issues same as in unix). What I was expecting is somehow make a socket ( telnet ) connection to a port on which the tomcat server is

tomcat-users.xml not written to when not configured to be in defa ult location

2003-09-23 Thread Gardner, David [IT]
The Tomcat Administration tool does not appear to write to the tomcat-user.xml file if it is not located in the default conf directory. I have configured a UserDatabase to point to a location other than conf in the tomcat installation for the tomcat-user.xml. For example

Tomcat 4.1.18 Administration Tool does not appear to support pass word encryption

2003-09-19 Thread Gardner, David [IT]
no facility to configure it to write encrypted passwords. Has anyone set this up or changed the admin tool to allow this? David Gardner Software Developer Cititech Level 11, 2 Park Street Sydney NSW Australia 2000 Phone: (+612) 8225 4803 Fax:(+612) 8225 Email: [EMAIL

RE: Log4j problem mixing 2 apps

2003-06-26 Thread Prabhat Kumar (IT)
Thanks, I read Ceki's article at http://qos.ch/logging/sc.html . Tomcat already has an implementation of the CRS, right? Is there a how-to document somewhere that explains how to configure Tomcat to use it? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thu

RE: Log4j problem mixing 2 apps

2003-06-26 Thread Prabhat Kumar (IT)
oblem mixing 2 apps > >I've two different applications running, using log4j to log. For some >reason output destined for one app gets in the others log. It looks >like only one application can have a log at a time. > >What might I have done to cause this problem? It looks like

AW: chart in jsp

2003-03-13 Thread Wollbold Gerhard , ITS-IT
the terms of the GNU Lesser General Public Licence); * requires JDK 1.2.2 or later; You could also have a look at jetchart. It's a very easy to use and versatile java applet. I'ts not a free package but it's not too expensive (around $160). You can find it at: www.ji

RE: Tomcat class loader problems?

2003-03-05 Thread White, Joshua A (CASD, IT)
class file. Joshua > -Original Message- > From: White, Joshua A (CASD, IT) > Sent: Wednesday, March 05, 2003 9:16 AM > To: [EMAIL PROTECTED] > Subject: Tomcat class loader problems? > > When deploying my app as a war, I receive an > javax.servl

Tomcat class loader problems?

2003-03-05 Thread White, Joshua A (CASD, IT)
When deploying my app as a war, I receive an javax.servlet.ServletException with the message "Truncated class file" or "Extra bytes at the end of the class file" for one of my classes. If I unzip the war file and deploy it in the webapps directory, all is fine. Any suggestions

Tomcat Class loader problems?

2003-03-05 Thread White, Joshua A (CASD, IT)
When deploying my app as a war, I receive an javax.servlet.ServletException with the message "Truncated class file" or "Extra bytes at the end of the class file" for one of my classes. If I unzip the war file and deploy it in the webapps directory, all is fine. Any suggestions

Configuring JNDI LDAP Datasource - NOT USED FOR AUTHENTICATION

2003-02-20 Thread White, Joshua A (CASD, IT)
How can I declare an LDAP datasource in the server.xml file without the need to use it for authentication. The documentation I have read so far assumes that I am using LDAP for authentication. When looking at the datasources section of the JNDI docs, it assumes a relational database. Can

LDAP connection pool suggestions?

2003-02-17 Thread White, Joshua A (CASD, IT)
Hello all, I finally got MSSQL 2000 to work with DBCP. (I am putting together my lessons learned now) I am looking for a similar facility for LDAP connections. Can anyone suggest a similar solution? I am using JDK 1.3.x. Regards, Joshua This communication, including attachments, is for the

RE: Web app configuration problems

2003-02-14 Thread White, Joshua A (CASD, IT)
development without removing the entries that were defined in the server.xml file from memory? -Joshua > -Original Message- > From: White, Joshua A (CASD, IT) > Sent: Friday, February 14, 2003 11:14 AM > To: '[EMAIL PROTECTED]' > Subject: Web a

Web app configuration problems

2003-02-14 Thread White, Joshua A (CASD, IT)
I am hoping someone could explain how Tomcat uses context paths. In my server.xml file, I have declared a seperate context and some JNDI resources for /myapp-web. The way I deploy my web application determines if these resources will be available or not. If I drop my web applications war file (m

RE: JNDI datasource frustrations - almost there

2003-02-14 Thread White, Joshua A (CASD, IT)
Thanks for your help Dan. It seems as though DBCP is having a problem opening a connection on port 1433. I wrote a little java class to test out my url. It works, no problem! Here is how it is defined in my server.xml file: jdbc:microsoft:sqlserver://localhost:1433 Here is the error that

RE: JNDI datasource frustrations...

2003-02-13 Thread White, Joshua A (CASD, IT)
It looks like this is a common problem. I have found several posts on several boards about this problem. Unfortunately, no solution. Does it matter whether I declare the resource in the server.xml under the global naming resources or do I need to define one specific to my applications path

RE: JNDI datasource frustrations...

2003-02-13 Thread White, Joshua A (CASD, IT)
"This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -Original Message- From: White, Joshua A (CASD, IT) [mailto:[EMAIL PROTECTED]] Sent: February 13, 2003 3:36 PM To: '[EMAIL PROTECTED]' Subject: JNDI datasource frustrations..

JNDI datasource frustrations...

2003-02-13 Thread White, Joshua A (CASD, IT)
All, It seems that I may be having a problem instantiating the Sql server jdbc driver. I have copied the following jars into my $CATALINA_HOME/common/lib directory: msbase.jar mssqlserver.jar msutil.jar I have the following in my server.xml file: username

Re-using roles defined in web.xml file

2003-02-10 Thread White, Joshua A (CASD, IT)
Hello everyone, I need to authenticate visitors to my site using ldap. Based on some ldap attributes, I can determine which role a person should be in. Is there a way I can dynamically associate users with the roles defined in the web.xml file? Joshua This communication, including attachment

Virtual Host + Tomcat + Apache

2003-01-06 Thread Adrian Damn it!
Having trouble with the vhosts with mod_jk. I can`t seem to get http://stafford.com/index.html to show up unless I set the DocumentRoot in the VirtualHost directive to /usr/local/tomcat/webapps/stafford. But when I add an additional Virtual host it pulls the same DocumentRoot

TC 404 Servlet Registration?

2002-09-20 Thread Oakes, Jeff (HTSC, IT)
I can run the examples fine. But when I make my own test case I can run the html, but keep getting the message "xxx not available", where xxx is the servlet reference to my servlet. It is in web.xml, and the class file is located in WebApps/MyHome/WEB-INF/classes . Any suggestions, o

RE: Dumb Question com.justatest.test.MyServlet error

2002-09-20 Thread Oakes, Jeff (HTSC, IT)
List' Subject: RE: Dumb Question com.justatest.test.MyServlet error I just experimented with this a bit. It seems tomcat provides standard mappings for the servlets you deploy under the document base of your webapp. A servlet residing in /webapps/jat/classes/com/justatest/test/MyServlet.cla

Bug in Tomcat 4.0.2 with running JDBC-ODBC-Bridge/MS Access

2002-08-29 Thread Christiansen,Bernd,VEVEY,GL-IS/IT
> Hi, > > I have written a small JSP that is accessing a MS Access database > using the JDBC-ODBC-Bridge. The Access database is defined as > a Datasource in the Microsoft ODBC Administration Tool. > Now I have just reorganized my project file structure so that the > definition in this Datasource

Login-Password http://localhost/manager ????? Please help me....

2002-07-24 Thread IT-INDIA.com
hi, I have installed TomCat 4.0.4 on W2K. Everything seems OK. I can access the examples and run them thru http://localhost:8080 Now when I access http://localhost:8080/manager I enter tomcat/tomcat it doesn't run this way. I have also gone thru the user configuration file where I fo

Re: Compatibility between Tomcat4.04 and JDK1.22

2002-07-23 Thread IT-INDIA.com
yes, it is tomcat 4.04 is compatible with JDK 1.2+ sam - Original Message - From: Gunter D'Hondt <[EMAIL PROTECTED]> To: 'Tomcat Users List' <[EMAIL PROTECTED]> Sent: Tuesday, July 23, 2002 6:24 AM Subject: Compatibility between Tomcat4.04 and JDK1.22 >

servlet in multiple Tomcat-instances

2002-04-25 Thread it
Hi, I'm using multiple instances of Tomcat 3.2.4. The problem is, that I can access servlets of one instance even if the servlet is NOT in the webapps-directory of another instance. This is very confusing during the development of the servlet, because it still "lives" in the

SSInclude and servlet chaining

2002-01-17 Thread Wu, Wenjie [IT]
Hi, Can anyone tell me if Tomcat is supporting Server side include and servlet chaining ? I know there are modern ways to achieve those. Thanks, -- To unsubscribe: For additional commands: Troubles with the list:

RE: mod_webapp compiling problems

2001-11-14 Thread Petry Roman, ITS-IT
ke[2]: Leaving directory `/root/webapp-module-2002/apache-1.3' make[1]: Exiting directory "apache-1.3" -- snipp--- and now.. was it wrong to delete the line ?? or is this a new problem which has nothing to to with the deleted line..?? Thanks.. bye Roman > -Origin

RE: mod_webapp compiling problems

2001-11-14 Thread Petry Roman, ITS-IT
le=env \ --disable-module=info \ --disable-module=mmap_static \ --disable-module=speling \ --enable-module=ssl \ --activate-module=src/modules/perl/libperl.a \ --activate-module=src/modules/php4/libphp4.a \ i used the Apachetoolbox-1.5.44 to build the Apache, and it seems to look good.. apxs returns

mod_webapp compiling problems

2001-11-14 Thread Petry Roman, ITS-IT
downloaded the glib2.2 binary from the jakarta site, but the only thing it does is a segmentation fault... then i thought.. maybe the source is with you .. and i downloaded the webapp-module-2002.tar.gz but i had no luck... -- snipp --- nrz86:~/webapp-module-2002 # ./configure --with-apxs

RE: Deploying an XSLT filter in Tomcat 4.0

2001-06-21 Thread Samson, Lyndon [IT]
>>My current web.xml looks like (excluding prolog) It's pretty cool that tomcat's web.xml lets you code in prolog, although I think that will fail the sun standards test :-) -Original Message- From: Martin Coxall [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 21, 2001 10:56 PM To: [EM

Any luck with the Verisign certificate and Tomcat/SSL?

2001-06-12 Thread Fernandes, Steven (HSD, IT, Mastech)
Verisign certificate, but upon importing the certificate, we get the identical errors you encountered; viz : Page cannot be displayed (in the browser) IOException : Socket closed etc etc on the server. Could you please email me back with any solution you know of? It will be much appreciated

forward() question

2001-06-06 Thread Samson, Lyndon [IT]
xception e ) { } The question is does control ever continue after the forward() method call? It would seem sensible that it didn't if you viewed forward as, I no longer wan't this page, but another one instead. My problem is that the above code is in a bean, which does an isValid user check an

RE: Context loading of .properties files

2001-05-22 Thread Samson, Lyndon [IT]
Hi Ronald This has come up quite a few times. Search the archives @ http://marc.theaimsgroup.com for things like "getResource". cheers lyndon -Original Message- From: Ronald G. Louzon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 3:33 PM To

RE: Problem in refresh the new jsp file

2001-05-09 Thread Samson, Lyndon [IT]
problem that I get an outdated JSP page even if I have updated the JSP file in the server. It shows me the old content in the browser even I have refreshed the page. Is there something that I need to set about the caching? Thanks!

RE: Accessing a packaged file

2001-04-24 Thread Samson, Lyndon [IT]
The String parm is the name of the resource, ie it doesn't list resources. -Original Message- From: Jim Downing [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 6:15 PM To: [EMAIL PROTECTED] Subject: Re: Accessing a packaged file I've tried both ways, and I'

RE: xslt processing

2001-04-24 Thread Samson, Lyndon [IT]
doc inside a servlet or jsp, and to use XALAN to perform the XSLT (xml.apache.org) The JDOM api uses XERCES (from the apache found.) but makes it easy to build a doc, so you'll need three jar files, xerces.jar xalan.jar and jdomb6.jar. Copy them to your lib directory. Cheers. - Ori

RE: Accessing a packaged file

2001-04-23 Thread Samson, Lyndon [IT]
ay, April 23, 2001 9:09 AM > To: [EMAIL PROTECTED] > Subject: Accessing a packaged file > > > Hi, > I'm trying to get a servlet to access a text file that has been packaged > with the servlet in a .war file. Is it possible to access the file without > knowing it's

RE: How to read property files?

2001-04-18 Thread Samson, Lyndon [IT]
Make sure the directory with the properties file in it is part of your CLASSPATH. Ie add . if the properties is in the current directory. -Original Message- From: Mark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 18, 2001 4:18 PM To: [EMAIL PROTECTED] Subject: Re: How to read

RE: How to read property files?

2001-04-18 Thread Samson, Lyndon [IT]
Works fine for me? My jar file had a manifest, a class ( default package ) and a properties file. I added the jar to the CLASSPATH and executed the class. Voila! As the InputStream has no concept of file paths there is no easy way to determine where in the CLASSPATH it was loaded from. CLASSPATH

RE: Logging, server.xml and so on

2001-04-18 Thread Samson, Lyndon [IT]
API docs for HttpServletContext for more details. As to how you > can tailor this logging to reflect the debug level set for your context (ala > log4j), I don't know. This works a treat in all my stuff anyway. Damn. Missed it by *that* much. That's too simple. Thank you. Will

RE: xalan and xerces

2001-04-18 Thread Samson, Lyndon [IT]
f the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by

RE: How to read property files?

2001-04-18 Thread Samson, Lyndon [IT]
This works a treat for me InputStream is = this.getClass().getResourceAsStream("myapp.properties"); Properties p = new Properties(); try { p.load(is); } catch ( java.io.IOException e ) { // Can't load props file } That way the properties file can be anywhere in the classpath.

RE: Fed up to the back teeth with tomcat !!!

2001-04-12 Thread Samson, Lyndon [IT]
Hi Alistair, I tried to get to the Virtuso link www.openlink.com buts its a redirect to internet.com Was your email some kind of clever spam :-) -Original Message- From: Alistair Hopkins [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 12, 2001 11:48 AM To: [EMAIL PROTECTED]; [EMAIL PR

RE: Fed up to the back teeth with tomcat !!!

2001-04-12 Thread Samson, Lyndon [IT]
ysql as well as SQL-server7.0. As I have intimated in another message SQL-server is being used as it is is a "legacy" database. The main page is generated from a mysql databse, only release date queries are being generated from SQL-server. I also have the problem that after a month of

RE: XSLT vs. JSP

2001-04-06 Thread Samson, Lyndon [IT]
Well actually in the context of generating web applications, XSLT and JSP are both competing. IMHO, XSLT has the huge advantage of separating content and format, unlike JSP. XSLT is also turing complete, I would think for many applications it would be a much better solution than Perl/LineNoise

RE: tomcat in comb. with apache randomly rejecting requests

2001-04-05 Thread Samson, Lyndon [IT]
cache and this might be causing the problem. -Original Message- From: Lyle H. Ward [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 05, 2001 1:59 PM To: [EMAIL PROTECTED] Subject: Re: tomcat in comb. with apache randomly rejecting requests Not that it is any help, but! I use IE over

  1   2   >