TC logfiles

2003-09-09 Thread Jerald Powel
Hi, I may have posted this previously, but dont think I was subscribed when I did! Enough of that..apologies if so. I am trying to differentiate Apache and Apache Tomcat in terms of the serving mechanism, and subsequent log files. Of course, Apache is a web server, and Tomcat a s

Re: Help with JK2 and Apache 2.0.47

2003-09-09 Thread ABDUL BASIT
I am running windows2000 is there still need of the .so file I think that it is for Linux and Unix Thank you for ur response to my mail. I want to use the Tomcat5.0.9 not the Tomcat4.x.x I have Configured Tomcat5.0.9 with Apache2.0.47 on mod_jk2-2.0.43.dll So thank you once again for ur response.

Re: Development Tools

2003-09-09 Thread Marco Tedone
As regards the first question you may want to look at the following product: www.eclipse.org to integrate with the following plugin: http://www.objectlearn.com/index.jsp I can't reply to the second one. Marco - Original Message - From: "Nihita" <[EMAIL PROTECTED]> To: "Tomcat" <[EMAIL

new Aspen Group Email

2003-09-09 Thread gatkin
Due to problems with SPAM, [EMAIL PROTECTED] has been discontinued. Please note my new email address. To prevent automated systems from obtaining my new email address, I will spell out the @ symbol. Please send all future email to: gordon[at]aspengroup.net

Re: What are the features of Tomcat ?

2003-09-09 Thread Antony Paul
I will ask as I am going to join that firm. it seems that they dont use Tomcat. - Original Message - From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, September 09, 2003 6:29 PM Subject: RE: What are the features of Tomcat ? Howdy, That'

TC as web server

2003-09-09 Thread Jerald Powel
Hello, I am trying to differentiate Apache and Apache Tomcat in terms of the serving mechanism, and subsequent log files. Of course, Apache is a web server, and Tomcat a servlet container, but Tomcat also is a/has a web server? If Tomcat contains a web server as a seperate entity, where can

JNDI Context Environment settings?

2003-09-09 Thread Jon Wilmoth
If accessing a Tomcat (4.1.27 in my case) jndi tree from another jvm (i.e. command line) what values should I use for Context.INITIAL_CONTEXT_FACTORY, Context.PROVIDER_URL, etc. for Tomcat? I believe 4.x has a JDNI implementation, but the description of how to attach to it externally is not very g

Re: Puzzling SAXParseException error

2003-09-09 Thread achana
Hiya. Yes, that's what I did before all these troubles started. I've tried removing all the enties that I've made relating to manager and then re-instating them, same error message in catalina.out. Yet TC404 keeps on working. server.xml has not got a DTD, but that's not required. Tim Funk wrote:

Encrypt passwords for JNDI Resources (Datasource specifically)

2003-09-09 Thread Jon Wilmoth
I'd like to be able to encrypt the database passwords used in the JDBC pool configuration block. Is this possible in 4.1.27? 5.x? Something as simple as base64 encoding would be fine, I just can't store it as easy to read plain text.

new Aspen Group Email

2003-09-09 Thread gatkin
Due to problems with SPAM, [EMAIL PROTECTED] has been discontinued. Please note my new email address. To prevent automated systems from obtaining my new email address, I will spell out the @ symbol. Please send all future email to: gordon[at]aspengroup.net

Re: Development Tools

2003-09-09 Thread Christopher Williams
> > I love cygwin! The ease of use of *nix, the stability of windows. > This combination makes me think of Canadians who could have had British government, French culture and American know-how and instead got French government, British know-how and American culture. Apologies to all Canadians, BT

The function for response.encodeURL....me still not sure

2003-09-09 Thread Anson Zeall
Hi guys, I was asking about the login stuff before from previous emails and trying to avoid the use of cookies. Someone in the group asked me to try and use sessions ...using response.encodeURL and stuff. Can someone explain a bit more what that does, or is there a site that can explain to me

Re: Getting Values from a web.xml file.

2003-09-09 Thread Tim Funk
String value = servletContext.getInitParameter("num"); -Tim Jason Lanpher wrote: Hi everyone, I was wondering if anyone could provide me with a simple code example to allow me to get a value from my web.xml file. I want to get the value from the following example web.xml file.

Re: Tomcat and URL rewriting

2003-09-09 Thread Tim Funk
No. There is no VavleRewrite or FilterRewrite -Tim James Courtney wrote: Does tomcat support ANY URL rewriting functionality similar to Apache's mod_rewrite but using stand alone Tomcat 4.1.24 without Apache? Many thanks! Jamey

Re: Help with JK2 and Apache 2.0.47

2003-09-09 Thread Andrzej Jan Taramina
Jeremy: > I'm finding the documentation out on the apache site to be a little slim > on JK2. Especially in terms of building the .so/.dll file. Is this > code production ready? I'm running an apache (2.0.47) installation and > a tomcat (4.1.27) installation on a windows 2000 server machine, > c

Re: Restrict access to a webapps folder based on ip

2003-09-09 Thread Marco Tedone
Well, you may want to restrict the servlet access, not the folder access. It could be accomplished by a servlet filter for instance, which allow access only if the IP are within a certain range... Marco - Original Message - From: "Joshua Russell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]

Re: Another question - validating user input in fields

2003-09-09 Thread Marco Tedone
Well, if you use Struts, you can use the Validator framework. Everything is almost automatic, with no coding required. Marco - Original Message - From: "Anson Zeall" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, September 09, 2003 11:06 AM Subject: Another

Re: method of implementing a 'login' section in a site

2003-09-09 Thread Marco Tedone
Well, what I can tell you what I've done, and then you're free to choose (what a nice thing freedom...). I authenticated the user against a database; if the user is authenticated, then I set a session attribute like (type String): isUserAuthenticated. Then, I wrote two custom tags (isUserAuthentic

Re: Connetion between Tomcat & MySQL

2003-09-09 Thread Marco Tedone
You may want to put the JDBC driver jar file under %TOMCAT_HOME%/common/lib and try again. This is the location where the classloader loads the classes which makes available to all Tomcat applications. Marco - Original Message - From: "Amy Cheung" <[EMAIL PROTECTED]> To: "Tomcat Users Lis

RE: Active Directory Single Sign-On

2003-09-09 Thread Allen Hadden
Probably the easiest way to accomplish this is to use IIS as a front-end to Tomcat (using the ISAPI redirector). In this mode, you'd set up IIS to require authentication to the web site. So by the time the request hits Tomcat, the user is already authenticated (IIS does the magic SSO authentic

Getting Values from a web.xml file.

2003-09-09 Thread Jason Lanpher
Hi everyone, I was wondering if anyone could provide me with a simple code example to allow me to get a value from my web.xml file. I want to get the value from the following example web.xml file. num 50 I want to get the value

Help with JK2 and Apache 2.0.47

2003-09-09 Thread Jeremy Nix
I'm finding the documentation out on the apache site to be a little slim on JK2. Especially in terms of building the .so/.dll file. Is this code production ready? I'm running an apache (2.0.47) installation and a tomcat (4.1.27) installation on a windows 2000 server machine, communicating over J

RE: Active Directory Single Sign-On

2003-09-09 Thread Pitre, Russell
Okay, Checked it out, can I use this API to grab the username and password with a .jsp or servlet off the NT machine.and then pass it to Tomcat so it then can look up users in Active Directory? I want security to be container managed.So I need to 1.) Grab the username and password 2.

Tomcat and URL rewriting

2003-09-09 Thread James Courtney
Does tomcat support ANY URL rewriting functionality similar to Apache's mod_rewrite but using stand alone Tomcat 4.1.24 without Apache? Many thanks! Jamey

Re: Active Directory Single Sign-On

2003-09-09 Thread Tim Funk
I think you are looking for NTLM authentication which was done by the samba folks. See http://jcifs.samba.org/ -Tim Pitre, Russell wrote: Hey All- Finally Finally, Finally, I figured out how to authenticate to Active Directory...(code below minus the login form).now to go further, I

case insensitive path

2003-09-09 Thread Vladimer Shioshvili
is it possible to make context path case insensitive? Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubsc

Active Directory Single Sign-On

2003-09-09 Thread Pitre, Russell
Hey All- Finally Finally, Finally, I figured out how to authenticate to Active Directory...(code below minus the login form).now to go further, I would like to implement Single Sign-On.somehow we would need to retrieve the user's name and password off their NT machine and use them t

setting the trust store

2003-09-09 Thread Jon Roberts
I am writing a servlet that connects to remote servers using SSL sockets. Although I can create SSL connections to these servers using other software, I can't seem to get my servlet to trust the certificate in tomcat. The crux of the problem seems to be that I used a local CA. I import my ca c

RE: Help with Responses and Internet Explorer

2003-09-09 Thread Jon Nelson
> > > > > > 2. The other thing I noticed in fooling around with this, is > > that if you > > do not specify a MIME type for a response, Tomcat will > default it > > to text/plain for a servlet. Where is this defined > and how can I > > change it? > > > > response.

RE: Help with Responses and Internet Explorer

2003-09-09 Thread Mike Curwen
> -Original Message- > From: Jon Nelson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 09, 2003 2:18 PM > To: '[EMAIL PROTECTED]' > Subject: Help with Responses and Internet Explorer > > > 2. The other thing I noticed in fooling around with this, is > that if you >

Help with Responses and Internet Explorer

2003-09-09 Thread Jon Nelson
Hi, I'm running Tomcat 4.1.24 on a Windows XP machine. I also have Apache 2.0.46 running, but the two are not connected. I have two questions related to Responses and Internet Explorer. My test file (test.xml) is an xml file. We have developed a control for Internet Explorer that requests that

RE: CPU usage 100%

2003-09-09 Thread Jared Walker
Howdy, If it does it when there is no one accessing the server then I would think its the JVM not tomcat. Check your JVM settings. If you're starting up with the -server option I've noticed that the garbage collection will show 100% cpu utilization even though the system responds fine. This may

RE: Tomcat and Active Directory

2003-09-09 Thread Srofe, Douglas (c)
Thanks for the info. I have tried just about everything at this point. I am beginning to think that either the connectionName or password I have been given is incorrect. I am trying to track that down now. Thanks again. -Original Message- From: Jeff Tulley [mailto:[EMAIL PROTECTED] Se

Re: Tomcat and Active Directory

2003-09-09 Thread Jeff Tulley
So maybe it is just my lack of understanding of Active Directory(working for Novell, I'm prejudiced towards Novell eDirectory, of course), but usually in my connectionURL, I put something of the form, "ldap://myhost:636"; Changing that to "ldaps" usually doesn't work for me, and the whole "/ou=mig

RE: Tomcat 5 clustering

2003-09-09 Thread Filip Hanik
can't answer for how the "stickyness" works in mod_jk, but there are some docs on it Filip > -Original Message- > From: Jan Agermose [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 09, 2003 11:10 AM > To: Tomcat Users List > Subject: Re: Tomcat 5 clustering > > > well yes, thats a po

Re: Development Tools

2003-09-09 Thread G. Wade Johnson
LOL! I think that goes in my quotes file. G. Wade Tim Funk wrote: > > Textpad/cygwin/ANT. > > I love cygwin! The ease of use of *nix, the stability of windows. > > -Tim > > Mike Curwen wrote: > > I also use TextPad/ANT. For simple/small projects, it's a breeze. I > > found this for code-co

Re: How to use sendmail program (in Jakarta-Tomcat)

2003-09-09 Thread Christopher Williams
Does the sendmail program use SMTP (presumably it does, because it wouldn't be very useful otherwise)? If so, use the JavaMail API: import javax.mail.*; import javax.mail.internet.*; import java.util.Properties; String mailhost = ...; String from = ...; String to = ...; String subject = ...; Str

Re: jk_nt_service

2003-09-09 Thread Christopher Williams
Have you installed it as a service (with the -I switch)? Services require special entries in the registry so that Windows recognizes them as such. Alternatively, you can get hold of the source code and either modify it to dump out debug information or debug it yourself. My guess is that for some

RE: Development Tools

2003-09-09 Thread Jeremy Whitlock
Code completion is available in NetBeans. It's very good too. It even has the Java Development Documentation update as you type so you can see the API information for the current item you are typing. It's very solid. -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent:

Re: Development Tools

2003-09-09 Thread Mark Eggers
Hopefully Tim that was tongue firmly planted in cheek! Anyway, I use emacs/ant/jde for emacs (http://jdee.sunsite.dk/) I have cygwin on the Windows platform so when I drop into a shell in emacs I have something that works well. I also use xae (http://xae.sunsite.dk/) which is an xml authoring en

NonLoginAuthenticator.java

2003-09-09 Thread Tim Funk
Has anyone used NonLoginAuthenticator? aka org.apache.catalina.authenticator.NonLoginAuthenticator .. found at ... http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/authenticator/NonLoginAuthenticator.java?rev=1.3&content-type=text/vnd.viewcvs-markup From a

Re: Tomcat 5 clustering

2003-09-09 Thread Jan Agermose
well yes, thats a point :-) apache will forward a session to a new host if the host that first "owned" the session (in a sticky sense) fails? Will apache be aware of a tomcat instance getting back online and start reusing it for requests? Of cause, I guess... I will have to start looking into this

RE: Tomcat 5 clustering

2003-09-09 Thread Filip Hanik
yeah, clustering (session replication) will only gain you fail over and high availability, not performance Filip > -Original Message- > From: Jan Agermose [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 09, 2003 10:26 AM > To: Tomcat Users List > Subject: Re: Tomcat 5 clustering > >

RE: CPU usage 100%

2003-09-09 Thread Shapira, Yoav
Howdy, The SIGQUIT works for me even when CPU usage is 100%, so it's strange it doesn't work for you. (I'm on solaris though). One important thing to check is your JSP page; make sure you have no infinite loops or other such locks in the page. Yoav Shapira Millennium ChemInformatics >-Orig

Re: Development Tools

2003-09-09 Thread Tim Funk
Textpad/cygwin/ANT. I love cygwin! The ease of use of *nix, the stability of windows. -Tim Mike Curwen wrote: I also use TextPad/ANT. For simple/small projects, it's a breeze. I found this for code-completion, but haven't been brave enough to try it yet. http://www.textpad.com/add-ons/files/ut

Re: Development Tools

2003-09-09 Thread kevin . hulquest
I used Lomboz to learn jsp and deployment but once you get passed the initial learning curve you outgrow the Lomboz plugin for eclipse. You definitiely get what you pay for. Now I use the base Eclipse IDE and Ant.

CPU usage 100%

2003-09-09 Thread Ravi Puthiyattil
Hi all, I am running Tomcat 4.1 on HPUX11.11, jdk1.4.1 running a small jsp page. Tomcat hangs with 100% cpu after some time. I tried to do a kill -SIGQUIT on the process, but there is no trace dump. Trace dump works only when the cpu is not at 100% (or when tomcat is running normally). I tried us

Delivery Status Notification (Failure)

2003-09-09 Thread hostmaster
This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. [EMAIL PROTECTED] The email address(es) you have sent to is invalid (user unknown). Please check the email address(es) and resend again. --

Delivery Status Notification (Failure)

2003-09-09 Thread hostmaster
This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. [EMAIL PROTECTED] The email address(es) you have sent to is invalid (user unknown). Please check the email address(es) and resend again. --

Delivery Status Notification (Failure)

2003-09-09 Thread hostmaster
This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. [EMAIL PROTECTED] The email address(es) you have sent to is invalid (user unknown). Please check the email address(es) and resend again. --

Re: Tomcat 5 clustering

2003-09-09 Thread Jan Agermose
well I cannot really say I have a problem.. I'm not using clustering - yet :-) But I am somewhat interested in the performance of this... What I mean is, if You have sticky session You do not really cain anythink from ditributing the session, now do you? That looks like a performance hit for nothi

RE: Development Tools

2003-09-09 Thread Mike Curwen
I also use TextPad/ANT. For simple/small projects, it's a breeze. I found this for code-completion, but haven't been brave enough to try it yet. http://www.textpad.com/add-ons/files/utilities/codecompleter1_0.zip > -Original Message- > From: Christopher Williams [mailto:[EMAIL PROTECTED]

Delivery Status Notification (Failure)

2003-09-09 Thread hostmaster
This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. [EMAIL PROTECTED] The email address(es) you have sent to is invalid (user unknown). Please check the email address(es) and resend again. --

Delivery Status Notification (Failure)

2003-09-09 Thread hostmaster
This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. [EMAIL PROTECTED] The email address(es) you have sent to is invalid (user unknown). Please check the email address(es) and resend again. --

Delivery Status Notification (Failure)

2003-09-09 Thread hostmaster
This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. [EMAIL PROTECTED] The email address(es) you have sent to is invalid (user unknown). Please check the email address(es) and resend again. --

Delivery Status Notification (Failure)

2003-09-09 Thread hostmaster
This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. [EMAIL PROTECTED] The email address(es) you have sent to is invalid (user unknown). Please check the email address(es) and resend again. --

Delivery Status Notification (Failure)

2003-09-09 Thread hostmaster
This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. [EMAIL PROTECTED] The email address(es) you have sent to is invalid (user unknown). Please check the email address(es) and resend again. --

Re: Unsubscibe

2003-09-09 Thread Jens Skripczynski
Mario Moroni: > Hi, > according to the instrruction i received when I subscribed, I sent two days > ago a mail for unsubscribing from this mailing list (I'll be far for 3 > months), however I continue to receive mail. Is there someone that could > help me? you should recieve a confirmation email to

Re: Tomcat 5 clustering

2003-09-09 Thread Susie Cody
please take me off this list. - Original Message - From: "Filip Hanik" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, September 09, 2003 11:10 AM Subject: RE: Tomcat 5 clustering > should be set in web.xml according to the latest servlet > spec > feel fre

RE: Tomcat 5 clustering

2003-09-09 Thread Filip Hanik
web.xml must contain according to spec Filip > -Original Message- > From: Cendil [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 09, 2003 2:26 AM > To: [EMAIL PROTECTED] > Subject: Tomcat 5 clustering > > > I am trying to get clustering working with Tomcat 5.0.9 and am > finding a f

RE: Good sites that show you EJB stuff

2003-09-09 Thread Kal Govindu
www.ejbtut.com kal -Original Message- From: Anson Zeall [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 6:49 AM To: Tomcat Users List Subject: Good sites that show you EJB stuff Hi, I want to know if anyone, could show me, or recommend me any sites that show you how to us

RE: Urgent !!! Problem to get TOMCAT/4.1.24 cluster running with sticky session support.

2003-09-09 Thread Filip Hanik
have you tried http://cvs.apache.org/~fhanik/ Filip > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Monday, September 08, 2003 2:32 AM > To: Tomcat Users List > Subject: Urgent !!! Problem to get TOMCAT/4.1.24 cluster running with > sticky session suppor

RE: Tomcat and Active Directory

2003-09-09 Thread Srofe, Douglas (c)
Thanks for the suggestion. I did download the ldap browser. I was able to fetch a dn based on the host but it wouldn't connect. I guess I need to go back to our admin and make sure they have given me other valid information. Thanks for all of your help. -Original Message- From: Christo

JNI-sharedLibs

2003-09-09 Thread grisi
Hello everyboy, is there an Tomcat-JNI expert out there ? The setting: I have serveral servlets in one Tomcat (4.1.24) instance using different functions being bundeled in one DLL (.so respectively). Since native libraries cannot be laoded more than once I wrote a simple loader like this: publ

RE: Tomcat 5 clustering

2003-09-09 Thread Filip Hanik
not sure what your problem is Jan, the clustering code is all-to-all node replication, so whether you have sticky sessions or round robin loadbalancing, it will work Filip > -Original Message- > From: Jan Agermose [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 09, 2003 6:50 AM > To:

RE: Tomcat 5 clustering

2003-09-09 Thread Filip Hanik
should be set in web.xml according to the latest servlet spec feel free to contact me with any problems you might have, several companies are using Tomcat 4.x replication in production already Filip > -Original Message- > From: Jan Agermose [mailto:[EMAIL PROTECTED] > Sent: Tuesday, Sept

RE: Tomcat 4 and 5 cluster

2003-09-09 Thread Filip Hanik
Hi Mats, Clustering is a shipping part of Tomcat 5. It works better in Tomcat 5 since it is container based instead of context based as in Tomcat 4.x. There is not much document nor much noise because the implementation is quite simple. Inside the server.xml that ships with Tomcat 5 you will see c

Re: Development Tools

2003-09-09 Thread Christopher Williams
Having suggested Netbeans and Eclipse as possible development environments, I've been using Textpad and Ant for about six months since I failed to migrate JBuilder 6 to a new system (the license info got screwed up somehow). It works for me. The one thing I really miss is code completion, though.

RE: Development Tools

2003-09-09 Thread Jeremy Whitlock
I agree with Mike. I have been using NetBeans for a long time now and there is nothing it can't do. There are alternatives but NetBeans is my suggestion. Laters, Jeremy -Original Message- From: Mike Hulse [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 09, 2003 8:19 AM To: Tomcat Us

RE: Connetion between Tomcat & MySQL

2003-09-09 Thread Mike Curwen
That's just not good advice at all. I don't know where people get the idea of touching CLASSPATH when they're talking about Tomcat and web-apps in general. Drivers should be placed in common/lib or WEB-INF/lib. That's IT. And mm.mysql.driver? You mean: com.mysql.jdbc.Driver And on

Re: Tomcat and Active Directory

2003-09-09 Thread Christopher Williams
You won't get an intelligent response if you enter your LDAP URL into a web browser, but many email clients are LDAP-compatible (e.g. Outlook Express - add an LDAP link via the Tools\Accounts menu). Also, you can try an LDAP browser, such as the one at http://www.iit.edu/~gawojar/ldap. Another su

Re: Connetion between Tomcat & MySQL

2003-09-09 Thread Amy Cheung
OK. Thanks. It can connects to the database now. Here is a minor problem. The results I obtained from the query is a ResultSet, rs. I keyed in this code: while (rs.next()) { System.out.print(rs.getString("RoomID"); } In the Tomcat server, it printed the results that I wanted. How to incorporate t

Re: Connetion between Tomcat & MySQL

2003-09-09 Thread Schalk
There is two things you can do. Set your CLASSPATH to include mm.mysql.driver and include the jar in your webapps lib folder. HTH Kind Regards Schalk Volume4

RE: Tomcat and Active Directory

2003-09-09 Thread Srofe, Douglas (c)
Thanks for your response. I have changed the url to the following: connectionURL="ldap://nmr001dundom01:636/ou=migrated users,ou=nmr,dc=enterprisenet,dc=org" Our admin said to use port 636. However, I still get the same error saying it can't connect to localhost:389. As a test, should I be ab

RE: Tomcat exception report I don't understand

2003-09-09 Thread Shapira, Yoav
Howdy, This is all a FAQ for this list ;) Consult the release notes, the tomcat faq (http://jakarta.apache.org/tomcat/faq/), and this list's archives for more details. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Stephen Charles Huey [mailto:[EMAIL PROTECTED] >Sen

Re: Restrict access to a webapps folder based on ip

2003-09-09 Thread Christopher Williams
Joshua, Try something like the following: import java.net.InetAddress; import java.io.PrintWriter; String remoteHost = request.getRemoteHost(); InetAddress clientAddr = InetAddress.getByName(remoteHost); String dQuad = clientAddr.getHostAddress(); // Do something with the dotted quad address e.g

Re: Tomcat and Active Directory

2003-09-09 Thread Christopher Williams
There's just been a similar question answered. The URL to your Active Directory appears to be wrong - after all I'm guessing that Active Directory is not running on your development system. Change the URL to: ldap://server.name:389/ou=migrated users... and you might have some success. ---

bug in JDBCStore in 4.1.27

2003-09-09 Thread Ronald Klop
Hello, Is anybody interested to fix BUG# 19034 (InvalidClassException in StoreBase.java)? http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19034 It is still in there and generates a lot of errors if I update my web-application. Greetings, Ronald. -

Tomcat 4 and 5 cluster

2003-09-09 Thread Mats Andersson
Why is there so little noise on the web about clustering/session replication on Tomcat? I think Tomcat is a superior servlet engine (yes that's my opinion), but I need session replication on my latest project. I have tried Filip Haniks package, which works great, but I have not found any recent

Re: Restrict access to a webapps folder based on ip

2003-09-09 Thread Jon Wingfield
Tomcat specific: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/valve.html Portable: Write a Filter which accepts/rejects based on the request ip. This could be configured statically through init parameters within web.xml or by JMX (or other means) on the fly ;) caveat: ip addresses can

RE: Implementing a Login procedure, but avoiding cookies/session

2003-09-09 Thread Anson Zeall
Thanks chris I think I know what to do now..thanks!! =) -Original Message- From: Christopher Williams [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 09, 2003 9:53 PM To: Tomcat Users List Subject: Re: Implementing a Login procedure, but avoiding cookies/session Anson, If coo

Restrict access to a webapps folder based on ip

2003-09-09 Thread Joshua Russell
I was wondering if it was possible to restrict access to a certain webapps folder based on the ip the packet was coming from. So if .../webapps/app1 was for an intranet site with all ip's within a certian range having access, and /webapps/app2 for a web-site allowing machines with any ip. Doe

RE: EJB in tomcat

2003-09-09 Thread Jeremy Whitlock
Anson, The one I've used for over a year and a half is OpenEJB. It's an EJB container and is 100% pluggable into Tomcat. Here is the url: http://openejb.sourceforge.net If you need any help, let me know. Thanks, Jeremy -Original Message- From: zeallousbigpond.net.au [m

Tomcat and Active Directory

2003-09-09 Thread Srofe, Douglas (c)
I am trying to use the JNDI realm to access our Active Directory. The server.xml entry I have is: ldap://ou=migrated users,ou=nmr,dc=enterprisenet,dc=org" userBase="cn=Users,dc=enterprisenet,dc=org" userSearch="(userPrincipalName={0})" userRoleName="member" roleBase="CN=Users,

Re: Development Tools

2003-09-09 Thread Mike Hulse
You can try http://www.netbeans.org I have been using netbeans for several years. Very good and very reliable. Mike - Original Message - From: "Nihita" <[EMAIL PROTECTED]> To: "Tomcat" <[EMAIL PROTECTED]> Sent: Tuesday, September 09, 2003 8:54 AM Subject: Development Tools Are there an

RE: Tomcat exception report I don't understand

2003-09-09 Thread Stephen Charles Huey
I'm not entirely sure my JDK is the exact same, so I guess that could be the problem. Anyway, those two extra JAR files in my Tomcat common lib have been copied to the production server's Tomcat's common lib, and now the site works without any such exception. So is that the most likely cause--tha

RE: limit on size of page

2003-09-09 Thread Mike Curwen
I know a while back Tomcat used to have problems with large numbers of tags, which is I guess directly related to the 64k limit imposed on method bodies. (Is that still around with jdk 1.4.x ?) http://www.caucho.com/support/resin-interest/0207/0182.html There's also large but not infinite number

Re: Tomcat 5 clustering

2003-09-09 Thread Jan Agermose
ok but how would you use it... If you have apache in front of the different tomcat instances, apache would route the same browsersession to the same tomcatinstance on each request, or not? This would make session sharing useless? And if there's no webserver in front you need different domainnames

ZUSTELLUNGSFEHLER: Virus im Dateianhang

2003-09-09 Thread Automatische Verständigung
GROUP securiQ.Watchdog Server: ATRVSI50/RVS/Raiffeisen Sbg. --- Ein Virus wurde im Dateianhang gefunden. Versuchen Sie, den virenfreien Dateianhang erneut an Ihr Mail anzuhängen und zu versenden. --

Re: Tomcat 5 clustering

2003-09-09 Thread jmoliere
> Jan Agermose wrote: > >> I'm not using version 5 but was looking for information on what >> clustering capabilities that where build into tomcat 5 - but I cannot >> find anything on the webpage... looking in the wrong places :-) >> >> Could you offer any links? Is it simply a distributed session

Re: Tomcat 5 clustering

2003-09-09 Thread Remy Maucherat
Jan Agermose wrote: I'm not using version 5 but was looking for information on what clustering capabilities that where build into tomcat 5 - but I cannot find anything on the webpage... looking in the wrong places :-) Could you offer any links? Is it simply a distributed session implementation or?

Re: Development Tools

2003-09-09 Thread epyonne
I use two different setups: 1. Eclipse 2.1.1 with Lomboz plugin (both are free) 2. Eclipse 2.1.1 with MyEclipse plugin (MyEclipse costs $30/year) Both are good, but MyEclipse has better technical support than Lomboz which is practically non-exist. Hope this helps. - Original Message - F

Re: Tomcat 5 clustering

2003-09-09 Thread Jan Agermose
I'm not using version 5 but was looking for information on what clustering capabilities that where build into tomcat 5 - but I cannot find anything on the webpage... looking in the wrong places :-) Could you offer any links? Is it simply a distributed session implementation or?! - Original

Search MOD_JK.SO for RedHat 7.2, Apache/1.3.23, mod_jk/1.2.4, Apache Tomcat/4.1.27-LE-jdk14

2003-09-09 Thread Daniel Schellöh +++ WWW-Crew
Hello, can anybody send me the mod_jk for these configuration?? If not, can anybody send me a how to how i can compile mod_jk self? Many Thanx Daniel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: Another question - validating user input in fields

2003-09-09 Thread Christopher Williams
You'll have to handle it yourself. You could do it server-side or client-side with Javascript and DHTML. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tomcat exception report I don't understand

2003-09-09 Thread Shapira, Yoav
Howdy, >and Tomcat 4, version 1.1 (the same as what's on the server). I took No such version exists of tomcat. Check the string at the beginning of $CATALINA_HOME/logs/catalina.out and tell us what version of tomcat you're using ;) >I did find one notable difference between the Tomcat directo

RE: What are the features of Tomcat ?

2003-09-09 Thread Shapira, Yoav
Howdy, That's an interesting question. Sounds like an interviewer who was just grasping for questions ;) Did you ask him/her what the answer was? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Antony Paul [mailto:[EMAIL PROTECTED] >Sent: Tuesday, September 09, 2003

Re: Development Tools

2003-09-09 Thread Dave Butler
A few days ago on this here list someone had a way of using JDev from Oracle for just this. Did not check it out but you may wish to. Original message >Date: Tue, 9 Sep 2003 05:54:08 -0700 >From: "Nihita" <[EMAIL PROTECTED]> >Subject: Development Tools >To: "Tomcat" <[EMAIL PROTECT

Re: Development Tools

2003-09-09 Thread Christopher Williams
Try Eclipse or Netbeans. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat 5 clustering

2003-09-09 Thread Remy Maucherat
Cendil wrote: Setting distributable="true" on the Context element in server.xml didn't work, but I noticed I had missed out the distributable element in the web.xml. Added is, and all works fine. Sorry, the code had changed since last time I did anything for that feature (maybe 6 months ago). Any

  1   2   >