RE: Please help me on NT Authentication

2001-12-20 Thread Bongiorno.Christian
Hi there, I can give you all the help you need -- I just did that. You will need to create a custom realm (not tough), and then there are some infrastructure dependent details to consider. Email me back if you want info. Chris -Original Message- From: ans M [mailto:[EMAIL

RE: File upload won't work with Tomcat4 ...

2001-12-20 Thread Bongiorno.Christian
I sniffed around google for 10 minutes and came up with perfect and simple code for this task. Look under java servlet http upload -Original Message- From: martin eberle [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 3:42 AM To: [EMAIL PROTECTED] Subject: File upload

Mildly off topic, but there are too many smart people here

2001-12-20 Thread Bongiorno.Christian
I am a programmer, not an html guy. And as such, I am having some problems getting jsps to work correctly with a frame set. Here is a sample of a web page with the html I need !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 3.2//EN HTML HEAD META HTTP-EQUIV=Content-Type

RE: Please help me on NT Authentication

2001-12-20 Thread Bongiorno.Christian
, December 20, 2001 8:50 AM To: Tomcat Users List Subject: Re: Please help me on NT Authentication I would be interested too, if you can share it. Thanks. Bongiorno.Christian wrote: Hi there, I can give you all the help you need -- I just did that. You will need to create a custom realm

RE: File upload won't work with Tomcat4 ...

2001-12-20 Thread Bongiorno.Christian
in position to think, it's any logical error in my code, not caused by tomcat .. hmm .. anyway, thx for supporting me ... -martin -Ursprüngliche Nachricht- Von: Bongiorno.Christian [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 20. Dezember 2001 14:43 An: Tomcat Users List Betreff: RE

RE: Mildly off topic, but there are too many smart people here

2001-12-20 Thread Bongiorno.Christian
and then for the login page in the web.xml I just put my html page? I thought that might work. I will try! -Original Message- From: Bruno VERNAY [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 9:00 AM To: Tomcat Users List Subject: Re: Mildly off topic, but there are too

RE: Mildly off topic, but there are too many smart people here

2001-12-20 Thread Bongiorno.Christian
Bruno That sorta works. When I load it in IE (no tomcat, just straight page) it looks great. When I go to try using it from TC I.E goes into some sorta freak-out mode and spins -- taking up all my cpu and never producing the page? Ideas? Here is everything in zip form Chris

RE: Please help me on NT Authentication

2001-12-20 Thread Bongiorno.Christian
Are these questions on NT authentication directed at me? Not that I mind, I just need to know my audience -Original Message- From: Bruno VERNAY [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 9:23 AM To: Tomcat Users List Subject: Re: Please help me on NT Authentication

RE: Please help me on NT Authentication

2001-12-20 Thread Bongiorno.Christian
Well, if you create a custom realm you can specify anything your 'lil heart desires in the config.xml file. You have all the right you need to access your NT domain controller if you can log onto the network with your domain username and password. Are you using a 2K domain or an NT domain. Ask

RE: Mildly off topic, but there are too many smart people here

2001-12-20 Thread Bongiorno.Christian
.. ian - Original Message - From: Bongiorno.Christian [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, December 20, 2001 2:28 PM Subject: RE: Mildly off topic, but there are too many smart people here Bruno That sorta works. When I load it in IE (no tomcat, just

RE: Please help me on NT Authentication

2001-12-20 Thread Bongiorno.Christian
are in that situation then this will just plug in. Chris -Original Message- From: ans M [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 10:24 AM To: Bongiorno.Christian Subject: RE: Please help me on NT Authentication Hey Don't tell me how to do this in Weblogic I had mentioned

RE: Please help me on NT Authentication

2001-12-20 Thread Bongiorno.Christian
P.S. The classes for NT authentication in JAAS are WINDOWS dependent. They use a native DLL and JNI. Sorry, been there -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

RE: Mildly off topic, but there are too many smart people here

2001-12-20 Thread Bongiorno.Christian
smart people here Looks like the problem come from the login.jsp. Does it work if you open just login.jsp ? Bongiorno.Christian wrote: I am using I.E 6.0.2479.0006C0 I am using TC 4.1?? This is being called from my machine directly through TC:8080 I am not using localhost for url. I use

RE: Mildly off topic, but there are too many smart people here

2001-12-20 Thread Bongiorno.Christian
, but there are too many smart people here Bongiorno == Bongiorno Christian Bongiorno.Christian writes: Bongiorno Bruno Bongiorno That sorta works. When I load it in IE (no tomcat, just straight page) it looks great. When I go to try using it from TC I.E goes into some sorta freak-out mode

RE: No examples with 4.0.1 install on OSX

2001-12-19 Thread Bongiorno.Christian
I don't know much about mac X, but, did you check the hosts.allow and hosts.deny ? Maybe only 127.0.0.1 is allowed. Given this is unix for COMPLETE PC rookies (let alone unix rookies) they probably don't want people shooting themselves in the foot -Original Message- From: Peter

RE: Can anyone give me an answer?

2001-12-19 Thread Bongiorno.Christian
Get??? Who is Getting them? The web browser or the server? If it is the web-browser you can just upload with http -Original Message- From: Ed Turner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 19, 2001 9:09 AM To: [EMAIL PROTECTED] Subject: Can anyone give me an answer? I am

RE: How to find a file from a class with Tomcat

2001-12-19 Thread Bongiorno.Christian
Stick the resource in along with the JAR. Then they will be loaded together and a simple call to the file without a path should discover it -Original Message- From: Stephan Wiesner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 19, 2001 9:36 AM To: Tomcat Users List Subject: How

RE: Embedding Tomcat 4

2001-12-19 Thread Bongiorno.Christian
Glad I could help. I am finding I enjoy responding to this news group. -Original Message- From: Jean-Robert Haddad [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 19, 2001 10:39 AM To: Tomcat Users List Subject: RE: Embedding Tomcat 4 Thanks Christian. This is just what I

RE: Multiple root context applications

2001-12-19 Thread Bongiorno.Christian
I dont' see why you can't just org.apache.catalina.startup.Bootstrap.main() twice just change the system hash to change the catalina.base and catalina.home ...so System.getProperties().put(catalina.base,/home/tomcat1); System.getProperties().put(catalina.home,/home/tomcat1); // start this in

RE: How to unsubscribe?

2001-12-19 Thread Bongiorno.Christian
click the link at the bottom of this (or any) email -Original Message- From: Siomara Pantarotto [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 19, 2001 2:03 PM To: [EMAIL PROTECTED] Subject: How to unsubscribe? Help Please ... How do I unsuscribe This list is killing my

RE: Basic auth and form based login

2001-12-18 Thread Bongiorno.Christian
Did someone already answer this? This is easy! In the examples directory you will find a jsp/protected (or protect/jsp) directory. In there are two form-based login jsps. In your web.xml where you specify the security constraints (near by?) you will change basic authentication to form. For an

RE: tomcat not starting properly on Linux

2001-12-18 Thread Bongiorno.Christian
Well, all the java processes your seeing are actually threads. Linux treats a thread like a process -- processes that just happen to share the same memory space. I could recommend upgrading to TC 4.0 BTW. As for why you're not getting anything on 8080? Don't know. -Original Message-

RE: ClassCastException, custom Realm, and ClassLoading Repost... this is bugging me.

2001-12-18 Thread Bongiorno.Christian
Help? We have a custom realm written. Works great until I try to downcast the principal returned from an authentication so that I can call a specific method. Upon investigation (everyone knows this, I know) the error is due to the fact that TC has multiple class loaders and this particular

RE: ClassCastException, custom Realm, and ClassLoading Repost... this is bugging me.

2001-12-18 Thread Bongiorno.Christian
... this is bugging me. Christian, I'm sorry I can't help you with your problem, but I'd like to thank you for inadvertently helping me solve mine! Thanks, --- James Radvan e-Business Engineer [EMAIL PROTECTED] +44 7990 624899 -Original Message- From: Bongiorno.Christian

RE: JDBC Driver for MS SQL Server

2001-12-18 Thread Bongiorno.Christian
My suggestion: DUMP the ms driver!!! Another good one is from www.j-netdirect.com They have a complete JDBC 2.0 complaint jdbc-odbc driver. This will allow you to work with SQL Server or access from linux, solaris or windows. Driver is called JDataConnect. We use that here. Very flexible,

RE: Form based Authentication / j_security_check not found

2001-12-18 Thread Bongiorno.Christian
There is a jsp based form login example in the examples directory. That whole directory over to your servlet directory, change the login-config to use form based login (look at the example in ~/webapps/examples/WEB-INF/web.xml) This is a copy and paste trick -- nothing else. so... mkdir

RE: JDBC Driver for MS SQL Server

2001-12-18 Thread Bongiorno.Christian
Hmmm, this might be getting off topic, but, yes, they have gone back and forth between named pipes and TCP/IP (with 2k) as default. Do you have a firewall in the way? Say your servlet is on the DMZ and the dbase is on the private (I hope!) -Original Message- From: Randy Layman

RE: Way to alias/redirect index.html to a servlet with Tomcat 4 in standalone mode?

2001-12-18 Thread Bongiorno.Christian
You need the apache pass-through module and there is some setup. We have had some wierdness with this setup and as far as I can tell apache-tc pass-through is still WIP. Make sure your servlet doesn't do a dynamic lookup on where it was called from. like request.getRequestURL() -- in this

RE: JDBC Driver for MS SQL Server

2001-12-18 Thread Bongiorno.Christian
of the databases. When I query a table, it says it is invalid object name. How to access a table in a database? Thanks Jack -Original Message- From: Bongiorno.Christian [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 12:44 PM To: Tomcat Users List Subject: RE: JDBC Driver for MS SQL

ClassCastException, custom Realm, and ClassLoading

2001-12-17 Thread Bongiorno.Christian
We have a custom realm written. Works great until I try to downcast the principal returned from an authentication so that I can call a specific method. Upon investigation (everyone knows this, I know) the error is due to the fact that TC has multiple class loaders and this particular class was