TC4: java.lang.LinkageError: duplicate class definition. PLEASE HELP!

2001-10-03 Thread Roytman, Alex
Hello, I am getting following error when invoke my jsps for the first time after TC start. It happens only first time - once all classes has been loaded it works fine i.e. I click refresh after the error and it doesn't happen any more. It only happens when two clients trying to access my pages

Encoding =. Catalina does not understand http parameter with un-encoded equal sign inside param value

2001-08-13 Thread Roytman, Alex
Hello Catalina does not understand http parameter with un-encoded equal sign inside i.e. myparam=fname='alex';lname='roytman' It use to work in Tomcat 3.x and I wonder if equal sign in parameter value has to be encoded according to specs or not

Catalina. Class Loader problem. java.lang.LinkageError: duplicate class definition

2001-08-09 Thread Roytman, Alex
Hello, I am getting this error when hit my web page first time. What is the most puzzling that after few retries it works no more errors. There is no duplicate class paths in my class path and WEB-INF/class(lib) I would really appreciate if you can point me in right direction Alex

Catalina. Resource factory gets re-created on every resource lookup!

2001-08-08 Thread Roytman, Alex
Hello I am not sure it is desired behavior so I would like to bring it to your attention New instance of my factory gets created every time I lookup up a resource in the environment. i.e. Context ctx = new InitialContext(); DataSource ds =

Catalina. Jasper generates invalid java code

2001-08-08 Thread Roytman, Alex
The problem with this piece of code generated for my JSP by tomcat4.0b6 is that it catches Throwable t and then call pageContext.handlePageException(t) which takse Exception NOT throwable !! as parameter as a result I am getting class cast exception: org.apache.jasper.JasperException: Unable to

Adding contextPpath and realPath to tomcat environment jndi

2001-08-08 Thread Roytman, Alex
Hello I would like to propose to add several things to tomcat's context's environment jndi when a context gets created Specifically I am interested in context path, context real path and any other tomcat context runtime info If it will not violate security I would be happy if Context itself can

RE: Catalina: How to specify factory class name for a Resource inserver.xml

2001-08-07 Thread Roytman, Alex
To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Catalina: How to specify factory class name for a Resource inserver.xml On Tue, 7 Aug 2001, Roytman, Alex wrote: Hello, I am writing several jndi factories for catalina's JNDI implementation and I am trying to figure out how

RE: LDAP realms.

2001-06-25 Thread Roytman, Alex
Steve, Type of realm should not make any difference for your web.xml Your web.xml setup will be the same with JDBCRealm, or SimpleRealm or JndiRealm. You can use either form based auth (like in your example) or basic auth with JndiRealm. All JndiRealm config is done in tomcat's server.xml file

RE: LDAPRealm JNDIReam for Tomcat 3.2 and 4.0 beta 1 is availab le

2001-06-05 Thread Roytman, Alex
Title: RE: LDAPRealm JNDIReam for Tomcat 3.2 and 4.0 beta 1 is availab le Hello Henri, Has Interceptor architecture changed in TC3.3? If not 3.2 version should work just fine. In general I do not mind doing it however I did not see much interest from apache developers and little from

RE: LDAPRealm JNDIReam for Tomcat 3.2 and 4.0 beta 1 is availab le

2001-06-05 Thread Roytman, Alex
Message- From: Roytman, Alex [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 5:37 PM To: 'GOMEZ Henri'; [EMAIL PROTECTED] Subject: RE: LDAPRealm JNDIReam for Tomcat 3.2 and 4.0 beta 1 is availab le Hello Henri, Has Interceptor architecture changed in TC3.3? If not 3.2 version should

LDAPRealm JNDIReam for Tomcat 3.2 and 4.0 beta 1 is available

2001-06-04 Thread Roytman, Alex
Title: LDAPRealm JNDIReam for Tomcat 3.2 and 4.0 beta 1 is available http://www.peacetech.com/java/files/apache/tomcat/default.htm JndiRealm authenticates and authorizes users against JNDI. It was tested against LDAP JNDI with Sun's and Netscape's jndi providers LdapRealm authenticates

RE: Upgrading tomcat 3.2.1 to 3.2.2

2001-06-01 Thread Roytman, Alex
Title: RE: Upgrading tomcat 3.2.1 to 3.2.2 Did it for RedHat Linux 7.1 and Win2k (Apache server 1.3.19) today took 15 min each. Did stress test for an hour on linux - no problems -Original Message- From: Brandon Cruz [mailto:[EMAIL PROTECTED]] Sent: Friday, June 01, 2001 4:49 PM To:

Form based Authentication - URLs with username:password are not supported

2001-05-23 Thread Roytman, Alex
Title: Form based Authentication - URLs with username:password are not supported When using form based authentication urls username and password do not work i.e. http://alex:[EMAIL PROTECTED]/examples it works just fine with basic authentication but not with form based

Please help. Accessing protected url from java when using form based authentication

2001-05-23 Thread Roytman, Alex
Title: Please help. Accessing protected url from java when using form based authentication I need to access a protected resource on my web site from java. I use form based authentication and I was hoping that following sequence will make it but it dos not 1. Open url to protected resource.

NullPointerException in Catalina StandardClassLoader when JAR with no manifest is added to one of the lib directories

2001-04-02 Thread Roytman, Alex
NullPointerException in Catalina StandardClassLoader when JAR with no manifest is added to one of the lib directories Adding manifest to the jar fixes the problem D:\java\apache\tomcat4\bincatalina runUsing CLASSPATH:

JNDI LDAP Realm for Tomcat 4.0 Tomcat 3.2x alpha3 available: NEED YOUR FEEDBACK!

2001-04-02 Thread Roytman, Alex
Title: JNDI LDAP Realm for Tomcat 4.0 Tomcat 3.2x alpha3 available: NEED YOUR FEEDBACK! Dear tomcat users and developers, This is an implementation of JNDI and LDAP realm for Tomcat 3 and 4 I would greatly appreciate you feedback regarding its functionality. Alex Roytman download

JndiRealm for Tomcat 4.0 and 3.2x alpha2 is available

2001-03-31 Thread Roytman, Alex
Title: JndiRealm for Tomcat 4.0 and 3.2x alpha2 is available JndiRealm for Tomcat 3.2 and Tomcat 4.0 readme: http://www.peacetech.com/java/files/apache/tomcat/jndi-auth.html JndiRealm for Tomcat 3.2 and Tomcat 4 Alpha 2 download:

Tomcat Security Architecture and RSA ACE authentication

2001-03-26 Thread Roytman, Alex
Title: Tomcat Security Architecture and RSA ACE authentication Hello, I wrote JNDI(LDAP) realm for tomcat 3.x based similar to JDBCRealm provided with tomcat My client is going to adopt RSA ACE security infrastructure which to my understanding will require users to append a hardware

RE: Tomcat Security Architecture and RSA ACE authentication

2001-03-26 Thread Roytman, Alex
Title: RE: Tomcat Security Architecture and RSA ACE authentication -Original Message- From: Roytman, Alex Sent: Monday, March 26, 2001 1:38 PM To: '[EMAIL PROTECTED]' Subject: RE: Tomcat Security Architecture and RSA ACE authentication Craig, Thank you for such a prompt reply

RE: RequestInterceptor authenticate and authorize. Need advise

2001-01-24 Thread Roytman, Alex
-Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 24, 2001 6:10 PM To: [EMAIL PROTECTED] Subject: Re: RequestInterceptor authenticate and authorize. Need advise "Roytman, Alex" wrote: Hello, As I understand, RequestInterceptor.au

Xalan2 in server environment (was Xalan2 Stree Module spans second thread to do transform?)

2001-01-06 Thread Roytman, Alex
Yeah, I've been a bit worried about this. However, I've not yet heard of any problems that have been caused by it, and XalanJ1 has long had a two threaded system (though not as effective as in XalanJ2). Ultimately, I would rather use a pull model for this, and only have one thread, but a)

Xalan2 in server environment (was Xalan2 Stree Module spans second thread to do transform?)

2001-01-06 Thread Roytman, Alex
al modules. -scott "Roytman, Alex" To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] roytmana@peaccc: (bcc: Scott Boag/CAM/Lotus)

RE: HANDLER THREAD PROBLEM: Stream closed prematurely

2000-11-24 Thread Roytman, Alex
If you are running Tomcat standalone I would suggest to try it with Apache web server. We had some problems with tomcat built in web server - POST input stream would only give you first 1300 bytes of POST data and some other problems I do not remember. I believe apache inherited it from Sun

Thread.currentThread().getContextClassLoader() in Tomcat 3.2

2000-11-21 Thread Roytman, Alex
I would like to use Thread.currentThread().getContextClassLoader() with Tomcat 3.2 to resolve one common problem when class from system classpath needs to call something loaded by tomcat context's loader. As far as I understand Tomcat 3.2 suppose to run under jdk1.1 so it does not do

Context Interceptor gets fired multiple times (3.2b6)

2000-11-08 Thread Roytman, Alex
I have a class which implements both ContextInterceptor and RequestInterceptor. The ContextInterceptor.addContext() gets fired twice. ContextInterceptor className="com.peacetech.webtools.tomcat.JndiContextInterceptor"/ RequestInterceptor

ContextInterceptor.removeContext() does not get fired for all contexts (3.2b6) BUG?

2000-11-08 Thread Roytman, Alex
Hello, I was struggling with my interceptors trying to figure out why all resources do not get freed up and then I realized that ContextInterceptor.removeContext() does not get consistently fired for every registered context. When I print list of all contexts from ContextManager in

Tomcat JNDI

2000-11-06 Thread Roytman, Alex
I am trying to tie Tomcat with JNDI to use J2EE pattern to obtain resources: Context context = new InitialContext(); dataSource = (DataSource)context.lookup("java:comp/env/jdbc/myDataSource"); (I know Tomcat team is planning to have it for Tomcat 4 eventually) I have my own little in memory

Tomcat JNDI

2000-11-06 Thread Roytman, Alex
I am trying to tie Tomcat with JNDI to use J2EE pattern to obtain resources: Context context = new InitialContext(); dataSource = (DataSource)context.lookup("java:comp/env/jdbc/myDataSource"); (I know Tomcat team is planning to have it for Tomcat 4 eventually) I have my own little in memory