session invalidate does not work
Hi, I use TOMCAT 3.2 I tried to invalidate a session by calling HttpSession session.invalidate() The session is not really invalidated. If the user clicks he does not get the same sessionId (with request.getSession(false)) as before the invalidtae() call: but he gets a session with another sessionId: somehow the invalidate() routine creates a new cookie with another sessionId. Strange is that I never created this sessionId before. Does anybody know about this? AxelLannion/France - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Tomcat as a stand alone
tomcat runs on port 8080 if that helps... though frankly your question is a bit difficult to follow dgd Original Message Follows From: "Zakaria ." [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tomcat as a stand alone Date: Sat, 10 Mar 2001 18:51:39 -0500 hi, im using tomcat as a stand alone server, when i went through the conf files i couldnt see which of these files can work as httpd.conf in apache in the sence of configuring the ip of the server or the server name. I just got a web address from network solutions and i dont know where to make changes in tomcat to make it work... please help. _ Get your FREE download of MSN Explorer at http://explorer.msn.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: JDBC Realm Problems; Probably server.xml related...
It seems a message from PostGres JDBC Driver, saying that it needs user and password to connect to DB.. add the following to your requestinterceptor line ( using the appropiate name pass for you DB installation ) connectionName="name" connectionPassword="password" You will end with something like : RequestInterceptor className="org.apache.tomcat.request.JDBCRealm" debug="99" driverName="org.postgresql.Driver" connectionURL="jdbc:postgresql://localhost:5432/mysite_userdb" userTable="users" userNameCol="user_name" userCredCol="user_pass" userRoleTable="user_roles" roleNameCol="role_name" connectionName="name" connectionPassword="password" / ( it's slightly documented on http://localhost:8080/doc/JDBCRealm-howto.html and in conf/server.xml ) Saludos , Ignacio J. Ortega - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: JDBC Realm Problems; Probably server.xml related...
looks like jdbcrealm is not tip-top finished - it's malfunctioning all the time. Thanks for you help... but JDBCRealm works for a bunch of other people ( me too ).. Your help will be highly appreciatted to help out in "tip-top" finish it.. TIA Saludos , Ignacio J. Ortega - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
ODP: JDBC Realm Problems; Probably server.xml related...
and does not work for bunch of others... vVolf -Oryginalna wiadomooe- Od: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Wysano: 12 marca 2001 09:53 Do: '[EMAIL PROTECTED]' Temat: RE: JDBC Realm Problems; Probably server.xml related... looks like jdbcrealm is not tip-top finished - it's malfunctioning all the time. Thanks for you help... but JDBCRealm works for a bunch of other people ( me too ).. Your help will be highly appreciatted to help out in "tip-top" finish it.. TIA Saludos , Ignacio J. Ortega - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: escaping text?? is it non-latin support question?
Actually, I have spotted what was screwing everything up. If I have a double-quotation mark (") in the textarea, then the text will not get processed properly on the server when I do a getParameter("news") I save the result into a String called 'news' and then attempt to insert the result into a mySQL DB by some line of code, namely: stmt.executeQuery("INSERT INTO news VALUES(\"" + (String)session.getAttribute("login") + "\",NOW(),\"" + news.toString() + "\");"); [inserts the username, date, and text from the submitted textarea] Nothing will get inserted into the mySQL DB if the textarea contained as much as a _single_ double quotation mark. If I want to use double-quotation marks I have to escape it in the text area like so: this is a quotation mark \" I was wondering why this is. -ryan - Original Message - From: "Tagunov Anthony" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, March 11, 2001 7:58 AM Subject: Re: escaping text?? is it non-latin support question? Ryan wrote: I have made an update page where you place your news update in a textarea and then SUBMIT the textarea text to a jsp page via POST method. However, I want HTML to be supported. It is not very clear what you mean here, Ryan I was wondering what would be the best way to do this. I could escape the text on submission through javascript but what about people using lynx? what is the trouble? as far as i understand, IE and NS when it is needed escape chars by themselves.. i don't remember if the posted input fields are %-ed, but anyway IE/NS work in sync with Tomcat request.getParameter(), either both %-it, or both don't. Donno what lynx does. I also don't want to have to write my own escape function in java. Well, there's already static java.net.URLEncoder.encode(String s); - o - Maybe this question is about NLS and in particular about non-latin1 encodings support? Then this is a wired question. - o - Does anybody know, has there been any progress with this in Servlet 2.3 spec? Best regards, Tagunov Anthony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: JDBC Realm Problems; Probably server.xml related...
Well you can: * report a bug in http://nagoya.apache.org/bugzilla * study JDBCRealm and related and send a patch ( trought a bug report I.e. ) to help us solve your problems. * Buy some other container... that resolves your problems.. :) Whichever way you elect to help yourself, will help us too... but only words can not help anybody TIA Saludos , Ignacio J. Ortega -Mensaje original- De: Herchel Wojciech [mailto:[EMAIL PROTECTED]] Enviado el: lunes 12 de marzo de 2001 10:00 Para: '[EMAIL PROTECTED]' Asunto: ODP: JDBC Realm Problems; Probably server.xml related... and does not work for bunch of others... vVolf -Oryginalna wiadomooe- Od: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Wysano: 12 marca 2001 09:53 Do: '[EMAIL PROTECTED]' Temat: RE: JDBC Realm Problems; Probably server.xml related... looks like jdbcrealm is not tip-top finished - it's malfunctioning all the time. Thanks for you help... but JDBCRealm works for a bunch of other people ( me too ).. Your help will be highly appreciatted to help out in "tip-top" finish it.. TIA Saludos , Ignacio J. Ortega - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
ODP: JDBC Realm Problems; Probably server.xml related...
i'm sorry - i did not mean to offend you - my point was only that it is not perfect. i still have a problem with jdbcrealm and it wasn't me who first said that " looks like some of the code [jdbcRealm] in 3.2.1 is never called." anyways, keep up with the good work! :) vVolf -Oryginalna wiadomooe- Od: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Wysano: 12 marca 2001 10:12 Do: '[EMAIL PROTECTED]' Temat: RE: JDBC Realm Problems; Probably server.xml related... Well you can: * report a bug in http://nagoya.apache.org/bugzilla * study JDBCRealm and related and send a patch ( trought a bug report I.e. ) to help us solve your problems. * Buy some other container... that resolves your problems.. :) Whichever way you elect to help yourself, will help us too... but only words can not help anybody TIA Saludos , Ignacio J. Ortega -Mensaje original- De: Herchel Wojciech [mailto:[EMAIL PROTECTED]] Enviado el: lunes 12 de marzo de 2001 10:00 Para: '[EMAIL PROTECTED]' Asunto: ODP: JDBC Realm Problems; Probably server.xml related... and does not work for bunch of others... vVolf -Oryginalna wiadomooec- Od: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Wyslano: 12 marca 2001 09:53 Do: '[EMAIL PROTECTED]' Temat: RE: JDBC Realm Problems; Probably server.xml related... looks like jdbcrealm is not tip-top finished - it's malfunctioning all the time. Thanks for you help... but JDBCRealm works for a bunch of other people ( me too ).. Your help will be highly appreciatted to help out in "tip-top" finish it.. TIA Saludos , Ignacio J. Ortega - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
FREE Biotech Stock Info! 67
Title: Do you want to capitalize on the Biotech Revolution Do you want to capitalize on the Biotech Revolution? Would you like to add groundbreaking biotech, pharmaceutical and medical device companies to your portfolio mix? Does hearing about exciting IPO and private placement offerings from life sciences companies interest you? The exclusive Ruddy-Carlisle Biotech Infoline service keeps you abreast of investment opportunities in the life sciences space. Just sign up for it once and get important information instantly delivered to study at your leisure. Our service is 100% FREE! Sign up! Ruddy-Carlisle Biotech Infoline: Instantly delivers key life sciences investment information directly to you! Learn about biotech, pharmaceutical medical device investment opportunities before others! Includes IPO private placement information! 100% FREE! For the entire last decade there were only three profitable biotech companies. At the end of this year, ten are projected. At the end of 2003, over forty are projected! The genomic promise is about to be delivered and investors know it. The Ruddy-Carlisle Biotech Infoline provides you with critical, decision-making, information that aids the chance of investment success in this lucrative space. Sign up! Please Note- Your information will only be shared with companies that are in the life sciences space and pass our rigorous inspection. Only the best opportunities will come to you. Ruddy-Carlisle respects your privacy. Sign up! List Removal Instructions- Simply click here: remove to be instantly and permanently removed from our list. Send the blank email to the address specified. Please do not try to reply to this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Classpath/loader problems internal to tomcat 3.2.1 [Fwd: RMI and Tomcat]
Hello, Thank you very much David Wall and Andrew Gilbert for your answer. Well I would really like that the way how class loading should work in Tomcat, works this way. I am using 3.2.1. I am using Jeremie that is a RMI like protocol over IIOP, and so implicitely the RMIClassLoader (it has only static methods: it delegates class loading to the right class loader so this should not generate any problem). My servlet is using Jeremie to communicate with a server. If performed as a non-servlet client it works fine, but if performed as a servlet, my Jeremie classes are not found: Class not found: org.objectweb.jeremie.libs.stub_factories.std.OptStub In fact the first Jeremie class used that is searched is not found. I have under the WEB-INF/lib directory of my web application: myProject.jar Jonathan.jar (that contains Jeremie: Jeremie is a sub project of Jonathan). I do not want to put the Jonathan.jar in another place for security reasons. Who can help me ? Is my problem due to a misconfiguration in a configuration file of Tomcat ? Do I have to add a line ? I have found nothing in the configuration files about this. Is anyone using several .jar files in WEB-INF/lib ? Suppose RMIClassLoader does not use the right class loader? (I do not think at all this is the bug). How can I get a reference to the right classloader ? In advance thank you, Grard, I have made two posts to the list about similar problems with 3.2.1 and using JNDI/RMI (EJB's) and not figured much out. Not having the time to delve further I backed off to Tomcat 3.1. You may try that for the interim. Any feedback from any of the implementors that would help us start to figure this out? I've also reported this as "it makes no sense" that it can find a JSP bean in the classpath, but if that bean calls other classes and those classes call others, things get screwed up, as if those other beans have forgotten the classloader/classpath that was in effect at the time the original JSP page bean was referenced. I have found a temporary solution that will likely help you. In your Tomcat startup file, put those two jar files in your CLASSPATH so that when Tomcat itself starts up it will also have the same classpath that your webapp is using. I just set the CLASSPATH in Tomcat's startup script to use te WEB-INF/classes and each jar in my WEB-INF/lib. That does the trick, though it's certainly not what I'd expect, and it would be worse if there was some sort of conflict between jars/classes in two webapps running under the same tomcat process. David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Tomcat security.
Do you mean encrypt the information the user enters in the jsp, ie encrypting the info sent from client desktop to web server? In which case, SSL is the best bet, although I don't think this is what you mean :-) We have a system wehereby a servlet has to send information to a (potentially) remote java process which does the interface with the database. We use very strong encryption - 1024 bits. Not that simple, and I didn't write it. If this is what your after, I could get some more info on it for you. sam - Original Message - From: Thomas O' Connor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 09, 2001 4:21 PM Subject: Tomcat security. Does anyone know a simple way to encrypt information sent from a jsp page hosted on tomcat and then decrypt the info when it reaches the database(ms access). Any help appreciated. Tom. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Tomcat context problem
OK, thanks. The principles are clear to me now. In my case the second option is preferred, I'll test it. Regards, Nico Hi :-) with jakarta-tomcat-4.0-b1(standalone, JDK1.3, wint40), from several emails IMHO ^_^, it is not right, I think it should be: - if you want to use servlet-name: http://localhost:8080/imsapps/servlet/gsServer - if you want to use servlet-mapping: http://localhost:8080/imsapps/mappingName (I suppose in your WEB-INF/web.xml: you already define the following servlet-mapping: ... servlet-mapping servlet-namegsServer/servlet-name url-pattern /mappingName/url-pattern /servlet-mapping ... ) Bo Mar.10, 2001 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Tomcat 3.2 CPU utilisation
Hi there. I notice a few people have claimed to see high cpu utilisations when using tomcat on NT. I have been using tomcat 3.2 on Solaris 7 (Ultra 5). The configuration is pretty much out of the box, except for turning on https support and changing default http port to 80. The load on the machine is very light, and when the server is started CPU utilisation by the tomcat process is very low. However, inevitably over the next few days, CPU utilisation climbs to close to 100% and does not diminish until the server is restarted. Does anyone have any clues as to the probable cause of this? Regards D I Macdonald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: SSL and US encryption law
My understanding is that the embargo on 128bit encryption has been lifted, exception that they can't be sent to embargoed countries (see the standard java license for a list). It all became moot when developers in europe starting selling their own 128bit encryption products.. sam - Original Message - From: Andrew B. Sudell [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, March 12, 2001 4:14 AM Subject: SSL and US encryption law Jim Canniff writes: Does anyone know what the current law is regarding exporting products with SSL? We're building an application that will be deployed in Taiwan and in other non-US sites. I've read various things ranging from: can't export SSL at all to can only use 40 bit (56 if register certificate) encryption in those products. Any resources for current laws would be appreciated. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Classpath
Hi, I've been struggling with about the same things... Steps I took: 1) Make a new servlet context in your server.xml. Something like; Context path="/imsapps" docBase="c:/jakarta-tomcat/webapps/imsapps" crossContext="true" debug="9" reloadable="true" trusted="true" /Context or extend with a virtual host. Server.xml will provide enough info. 2) Make a servlet alias in web.xml servlet servlet-nameWhatever/servlet-name servlet-classfully qualified class name/servlet-class /servlet 3) Map the alias to a url pattern in web.xml servlet-mapping servlet-nameWhatever/servlet-name url-pattern/myservlet/url-pattern /servlet-mapping 4) Call the servlet with http://localhost:8080/imsapps/mappingName Hope this is of help... Nico - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: classpath
Oeps, forgot something... In my example 1) application specific libs (.jar) are in; c:/jakarta-tomcat/webapps/imsapps/lib 2) application specific classes are in; c:/jakarta-tomcat/webapps/imsapps/classes 3) general libs (.jar) are in; c:/jakarta-tomcat/lib Nico - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: SSL and US encryption law
The other source of potential confusion is over patents and RSA authentication: this is a totally separate issue. I believe RSA (the company) have voluntarily relaxed their US patent on RSA (the algwhatever) a few months earlier than they had to. This is what cause those weird non-commuting restrictions esp on non-US developed OS software (eg mod_ssl). -Original Message- From: Sam Newman [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 10:28 AM To: [EMAIL PROTECTED]; Drew Sudell Subject: Re: SSL and US encryption law My understanding is that the embargo on 128bit encryption has been lifted, exception that they can't be sent to embargoed countries (see the standard java license for a list). It all became moot when developers in europe starting selling their own 128bit encryption products.. sam - Original Message - From: Andrew B. Sudell [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, March 12, 2001 4:14 AM Subject: SSL and US encryption law Jim Canniff writes: Does anyone know what the current law is regarding exporting products with SSL? We're building an application that will be deployed in Taiwan and in other non-US sites. I've read various things ranging from: can't export SSL at all to can only use 40 bit (56 if register certificate) encryption in those products. Any resources for current laws would be appreciated. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Coupling IIS - Tomcat
Dear reader, I tried to couple IIS with Tomcat. For so far I know, I followed all the instructions described in the document "Tomcat IIS How To". Only I have one problem, in the document is pointed out that when the ISAPI filter is installed, I should get an uppointing green arrow. All I get is a downpointing red arrow. I double checked all the entries in register. But I could find nothing wrong. I use IIS 5.0, Win 2K, Tomcat 3.2.1 and het ISAPI_redirect.dll that was found under binairies from tomcat 3.2.1. beta. Do you have any clou's about what can be wrong? With kind regards, Albert Schreuder Topicus BV
Re: wmlc
On Sat, 10 Mar 2001, RameshBabu R Muthuvel wrote: Hi Graham I am trying to run WAP application (tomcat-apache on windows NT) using phone simulators. I get a 404 error. I am looking for: 1)can you send some details on configuring tomcat for serving WML decks As far as I can see (and I'm fairly new to this myself) it requires no extra configuration. 2)What plugins i would need I had already added the required mimetype mappings in the tomcat "web.xml" file, and apache "mimi.types" file. If you've done this, the only thing I can think of is setting the mime type in the servlet response: res.setContentType("text/vnd.wap.wml"); Perhaps there is a problem with your emulator? regards, Graham x thanx in advance ramesh _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] Graham Stark The Institute for Fiscal Studies 7 Ridgmount Street, London, WC1E 7AE, UK work: (+044) 020 7291 4837 fax: (+044) 020 7323 4780 home: 01908 618239 mobile: 0774 891 4796 http://www.ifs.org.uk virtual economy! http://ve.ifs.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
how to get authentication error page?
Hi, I'm using container-based authentication and I can't figure out how to return a meaningfull error-page when authentication fails. The error-page is always empty (no content after the headers are sent). It looks as if my servlet's doGet method is never called. I tried to define error-pages for codes 401 and 403 in web.xml but that didn't have any effect. What do I have to do to get a custom error-page?? Regards -- Ingo Luetkebohle / [EMAIL PROTECTED] / 95428014 / | Student of Computational Linguistics Computer Science; | Fargonauten.DE sysadmin; Gimp Registry maintainer; | FP: 3187 4DEC 47E6 1B1E 6F4F 57D4 CD90 C164 34AD CE5B - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Format of log files
Hi! I'd like to ask if there is any possibilities to change the format of the log entries. Now it is set to log the event, but not the datetime event. I need all of imformations (I mean what happened and when happened). Any idea how to change it? Thanks, Jeno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Classpath
On 2001.03.12 02:27 Jeff Finley wrote: I receive the following errors: javax.servlet.ServletException: Cannot create bean of class Joe Here is the source for the jsp: html jsp:useBean id='joe' scope='session' class='Joe'/ head /head /body /html Your bean needs to have the fully qualified class name for the class attribute. It's in the spec for JSP 1.1. -- Brett http://www.chapelperilous.net/~bmccoy/ "Call immediately. Time is running out. We both need to do something monstrous before we die." -- Message from Ralph Steadman to Hunter Thompson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Logout of telnet session - tomcat stops
You can use the nohup command to ensure processes continue after logoff. -Original Message- From: Gary Lawson [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 11:42 AM To: [EMAIL PROTECTED] Subject: Logout of telnet session - tomcat stops Hello I want to be able to control tomcat on a remote (Solaris) machine by telnet from a PC. It starts fine but when I close the telnet session, tomcat stops. More detail: 1. Log in as gary. 2. su root (it runs on port 80) 3. start tomcat (runs fine) 4. logout root (tomcat still running) 5. logout gary (tomcat stops) I have searched the archive but couldn't find the answer. Any ideas? TIA Gary - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Logout of telnet session - tomcat stops
On 2001.03.12 06:41 Gary Lawson wrote: I want to be able to control tomcat on a remote (Solaris) machine by telnet from a PC. It starts fine but when I close the telnet session, tomcat stops. More detail: 1. Log in as gary. 2. su root (it runs on port 80) 3. start tomcat (runs fine) 4. logout root (tomcat still running) 5. logout gary (tomcat stops) Try "nohup startup.sh " when you startup Tomcat. That will start it up and detach it from any running terminals. -- Brett http://www.chapelperilous.net/~bmccoy/ For your penance, say five Hail Marys and one loud BLAH! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Logout of telnet session - tomcat stops
nohup ./tomcat.sh start;tail -f nohup.out -Original Message- From: Gary Lawson [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 11:42 AM To: [EMAIL PROTECTED] Subject: Logout of telnet session - tomcat stops Hello I want to be able to control tomcat on a remote (Solaris) machine by telnet from a PC. It starts fine but when I close the telnet session, tomcat stops. More detail: 1. Log in as gary. 2. su root (it runs on port 80) 3. start tomcat (runs fine) 4. logout root (tomcat still running) 5. logout gary (tomcat stops) I have searched the archive but couldn't find the answer. Any ideas? TIA Gary - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Internal Server Error
Hi, I'll try to run JSP on a Win98/Apache 1.3/Tomcat 3.2.1/JSDK2/JDK1.3 implementation and returns a page with a "Internal Server Error" page. I looked the LOGFILE that includes a line with ... connect() failed errno = 61 ... Error connecting to the Tomcat process. The workers file: --- workers.tomcat_home=. workers.java_home=c:\jdk1.3\ ps=\ worker.list=ajp12,ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 -- Advanced thanks to anyone want to help me! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
mod_jk compile errors
When I run . apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java/include -I/usr/java/include/solaris -c *.c ../jk/*.c I get . ld cannot open ../jk/jk_worker.o: No such file or directory apxs:Break: Command failed with rc=65536 Does anyone have the mod_jk.so binary for Solaris Sparc 2.6?? Thankz in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Logout of telnet session - tomcat stops
Thank you all for prompt responses. "nohup" worked. Thanks Gary -Original Message- From: Alistair Hopkins [mailto:[EMAIL PROTECTED]] Sent: 12 March 2001 11:46 To: [EMAIL PROTECTED] Subject: RE: Logout of telnet session - tomcat stops nohup ./tomcat.sh start;tail -f nohup.out -Original Message- From: Gary Lawson [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 11:42 AM To: [EMAIL PROTECTED] Subject: Logout of telnet session - tomcat stops Hello I want to be able to control tomcat on a remote (Solaris) machine by telnet from a PC. It starts fine but when I close the telnet session, tomcat stops. More detail: 1. Log in as gary. 2. su root (it runs on port 80) 3. start tomcat (runs fine) 4. logout root (tomcat still running) 5. logout gary (tomcat stops) I have searched the archive but couldn't find the answer. Any ideas? TIA Gary - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Immediate reponse from servlet
Hi, my application can upload a long file and I would like to give the user some feedback. For this purpose I use the response.flushBuffer() and that works fine for netscape. When I do the same with IE I get the responses only after a long delay thus the user does not know what's going on. I have tried to use the dispathcer.include() method too but I get the same result. How can inform IE saying "file is being uploaded, please wait..." and that should appear immediately at the client? -- Zsolt Koppany Intland GmbH www.intland.com Schulze-Delitzsch-Strasse 16 D-70565 Stuttgart Tel: +49-711-7871080 Fax: +49-711-7871017 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Help with Apache-Tomcat configuration
Hi! I'm trying to configure Apache with Tomcat using mod_jk as the adapter, and then I write it in the httpd.conf but when I install the mod_jk.so and start Apache, I get the following error: API module structure 'jk_module' in file /etc/httpd/modules/mod_jk.so is garbled - perhaps this is not an Apache module? please if anyone have some information, I'll be very happy!! :) regards. Lic. Martin O. Mauri Profesion + Auge A.F.J.P Parana 666 - Cap. Federal TE: (011) - 43737786/7 [EMAIL PROTECTED] www.profesi.com.ar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: executing a servlet.
[EMAIL PROTECTED] wrote: lets say that I make a servelet and put it in this directory-C:\windows\desktop\TOMCAT\webapps\examples\servlets\TEST.html Excuse me, but what kind of file are you putting there? If you are writing a servlet, it's a .java file. You have to compile it to get a .class file! I think you should place the file in this directory: C:\windows\desktop\TOMCAT\webapps\examples\WEB-INF\classes\test.class And if you are running Tomcat "standalone" (not with IIS or Apache or else) on port 8080: http://localhost:8080/examples/servlet/test -- Arnaud Vandyck http://www.ressource-toi.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: problems with conf
wordpad Robert Keddieweb developmentMarion County, FL [EMAIL PROTECTED] 03/10/01 06:41PM when I open it with notepad it gets all mushed and ugly, very incoherent. Is there any other editor that can open it.-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, email: [EMAIL PROTECTED]
Re: where are my System.println results?
Milt Epstein wrote: On Fri, 9 Mar 2001, Jose Euclides da Silva Junior - DIGR.O wrote: -BEGIN PGP SIGNED MESSAGE- Hi. I would like to know where the results of the println(method) are stored(or logged)? I'm using UNIX, and it looks like System.out and System.err are directed to the window/tty where tomcat was started. As such, it's possible to capture them to files by redirecting stdout and stderr on the command line you use to start tomcat. This happens when you do not set the path attribute in the Logger tag in $TOMCAT_HOME/conf/server.xml Note: This is on UNIX, not sure how things would be on Windows. I think it the same on Windows -- Arnaud Vandyck http://www.ressource-toi.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: problems with conf
http://www.textpad.com does unix text file formats -Original Message- From: Robert Keddie [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 1:20 PM To: [EMAIL PROTECTED] Subject: Re: problems with conf wordpad Robert Keddie web development Marion County, FL [EMAIL PROTECTED] 03/10/01 06:41PM when I open it with notepad it gets all mushed and ugly, very incoherent. Is there any other editor that can open it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: problems with conf
Try textpad (www.textpad.com) From: "Robert Keddie" [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: problems with conf Date: Mon, 12 Mar 2001 08:20:07 -0500 wordpad Robert Keddie web development Marion County, FL [EMAIL PROTECTED] 03/10/01 06:41PM when I open it with notepad it gets all mushed and ugly, very incoherent. Is there any other editor that can open it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Help with Apache-Tomcat configuration
Hum, Well I do not remember exactly the error message, but I remember that if you do not compile Apache to support DSO an error like this one may occur: Apache does not recognize the module as an apache module. So the solution is to compile Apache with DSO support. I hope this helps, Grard Martin Mauri wrote: Hi! I'm trying to configure Apache with Tomcat using mod_jk as the adapter, and then I write it in the httpd.conf but when I install the mod_jk.so and start Apache, I get the following error: API module structure 'jk_module' in file /etc/httpd/modules/mod_jk.so is garbled - perhaps this is not an Apache module? please if anyone have some information, I'll be very happy!! :) regards. Lic. Martin O. Mauri Profesion + Auge A.F.J.P Parana 666 - Cap. Federal TE: (011) - 43737786/7 [EMAIL PROTECTED] www.profesi.com.ar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Logout of telnet session - tomcat stops
Hi Gary, You need to start it from the init.d. Below is a script we use to do the trick. I connect through ssh, change user to root and then run the script: /etc/init.d/tomcat start the stop argument will do the obvious of course. root@www1:/# cat /etc/init.d/tomcat #! /bin/sh case "$1" in 'start') su - httpd -c /home/httpd/tomcat/bin/tomcat_start ;; 'stop') su - httpd -c /home/httpd/tomcat/bin/tomcat_stop ;; esac -Original Message- From: Gary Lawson [mailto:[EMAIL PROTECTED]] Sent: 12 March 2001 12:42 To: [EMAIL PROTECTED] Subject: Logout of telnet session - tomcat stops Hello I want to be able to control tomcat on a remote (Solaris) machine by telnet from a PC. It starts fine but when I close the telnet session, tomcat stops. More detail: 1. Log in as gary. 2. su root (it runs on port 80) 3. start tomcat (runs fine) 4. logout root (tomcat still running) 5. logout gary (tomcat stops) I have searched the archive but couldn't find the answer. Any ideas? TIA Gary - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Help with Apache-Tomcat configuration
The 'garbled' message indicates problems in the mod_jk.so build. See: [EMAIL PROTECTED]; For instructions on rebuilding mod_jk or use mod_jk-howto that comes with Tomcat source... good luck -Original Message- From: Gerard BORREILL To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: 3/12/01 7:40 AM Subject: Re: Help with Apache-Tomcat configuration Hum, Well I do not remember exactly the error message, but I remember that if you do not compile Apache to support DSO an error like this one may occur: Apache does not recognize the module as an apache module. So the solution is to compile Apache with DSO support. I hope this helps, Grard Martin Mauri wrote: Hi! I'm trying to configure Apache with Tomcat using mod_jk as the adapter, and then I write it in the httpd.conf but when I install the mod_jk.so and start Apache, I get the following error: API module structure 'jk_module' in file /etc/httpd/modules/mod_jk.so is garbled - perhaps this is not an Apache module? please if anyone have some information, I'll be very happy!! :) regards. Lic. Martin O. Mauri Profesion + Auge A.F.J.P Parana 666 - Cap. Federal TE: (011) - 43737786/7 [EMAIL PROTECTED] www.profesi.com.ar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: where are my System.println results?
On Mon, 12 Mar 2001, Arnaud Vandyck wrote: Milt Epstein wrote: On Fri, 9 Mar 2001, Jose Euclides da Silva Junior - DIGR.O wrote: -BEGIN PGP SIGNED MESSAGE- Hi. I would like to know where the results of the println(method) are stored(or logged)? I'm using UNIX, and it looks like System.out and System.err are directed to the window/tty where tomcat was started. As such, it's possible to capture them to files by redirecting stdout and stderr on the command line you use to start tomcat. This happens when you do not set the path attribute in the Logger tag in $TOMCAT_HOME/conf/server.xml Actually, I think that's something different, because I set that path attribute, and I still had to do redirection to capture stdout and stderr (i.e. System.out and System.err). Maybe that's where the log() stuff goes. Note: This is on UNIX, not sure how things would be on Windows. I think it the same on Windows Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Ctx( ): IOException in: R( + /tomcat-power.gif + null) socket write error
Hello, I am running tomcat 3.2 on NT. While trying to access http://localhost/index.html I get the following errors: 2000-12-12 09:27:41 - Ctx( ): IOException in: R( + /index.html + null) socket write error (code=10053) 2000-12-12 09:27:41 - Ctx( ): IOException in: R( + /tomcat- power.gif + null) socket write error (code=10053) but page loads fine. Any ideas? _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Tomcat 3.2 CPU utilisation
Read the 3.2.1 release notes doc (http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/readme) and see if the 6.11 issue in there applies to your configuration. Donnie [EMAIL PROTECTED] 03/12/01 05:26AM Hi there. I notice a few people have claimed to see high cpu utilisations when using tomcat on NT. I have been using tomcat 3.2 on Solaris 7 (Ultra 5). The configuration is pretty much out of the box, except for turning on https support and changing default http port to 80. The load on the machine is very light, and when the server is started CPU utilisation by the tomcat process is very low. However, inevitably over the next few days, CPU utilisation climbs to close to 100% and does not diminish until the server is restarted. Does anyone have any clues as to the probable cause of this? Regards D I Macdonald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: tomcat-iis-howto.html
Is this on the docs? Christian Marc Saegesser wrote: When tomcat starts it creates a file in tomcat/conf called iis_redirect.reg-auto that has all the right registry entries with the correct paths based on the current config files. For example the full path to the log file, the full path to the workers and uriworkermap properties files. -Original Message- From: Rob Wloch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 10:54 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: re: tomcat-iis-howto.html Hi, I've attached a simple little file that people installing jakarta-tomcat might find useful. I found doing the Registry stuff a bit time consuming and awkward so I made this .reg file and it worked for me. You just have to double-click it and it will do it automatically create the registry entries. -Rob. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Ctx( ): IOException in: R( + /tomcat-power.gif + null) socket write error
Hi, I think this is an error which has been discussed a number of times on the list. To the best of my recollection problem stems from IE's caching behaviour. You have two choices 1) Ignore it - as you say page loads fine 2) Do something to prevent IE caching the resources however recollection hazy - your best bet is to look through the archives on this list for proper explanation and best course of action andrew On Mon, 12 Mar 2001, you wrote: Hello, I am running tomcat 3.2 on NT. While trying to access http://localhost/index.html I get the following errors: 2000-12-12 09:27:41 - Ctx( ): IOException in: R( + /index.html + null) socket write error (code=10053) 2000-12-12 09:27:41 - Ctx( ): IOException in: R( + /tomcat- power.gif + null) socket write error (code=10053) but page loads fine. Any ideas? _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: plain text login
If you check the Servlet Specs, it explains the default authentication mechanism used. It does everything you guys are coding. Christian Rauh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Tomcat 3.2 CPU utilisation
Very much obliged. That looks like a definite possibility. Regards D I Macdonald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Tomcat Administration Tools
Thomas Klein wrote: But I'm still not comfortable with the way it works... I understand the role name must have the same value as the context path, is that right ? No. This is set by the security constraint on the web.xml file in the webapp web-inf direcotry. In the admin case, this is the webapps/admin/web-inf directory. In the web.xml file you wil find: security-constraint web-resource-collection web-resource-nameProtected Area/web-resource-name url-pattern/contextAdmin/*/url-pattern http-methodDELETE/http-method http-methodGET/http-method http-methodPOST/http-method http-methodPUT/http-method /web-resource-collection auth-constraint role-nameadmin/role-name /auth-constraint /security-constraint login-config auth-methodBASIC/auth-method realm-nameAdmin/realm-name /login-config Note the line with role-name tag, this line sets the role needed to access the protected area defined in the previous tags. User authentication is container based but the security constrain is webapp defined. Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
What does this message mean
I have two simple Tomcat questions: 1. What does the message IllegalArguementException: UnKnown arguement mean in the context below? (in general) 2. If I run Apache with Tomcat, and place my static pages in Apache htdocs, where do the JSP and Java servlets get placed by default in Tomcat? Error: 500 Location: /examples/jsp/dates/date.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSP at java.lang.Throwable.(Compiled Code) at java.lang.Exception.(Compiled Code) at javax.servlet.ServletException.(Compiled Code) at org.apache.jasper.JasperException.(Compiled Code) at org.apache.jasper.servlet.JspServlet.doLoadJSP(Compiled Code) at org.apache.jasper.servlet.JasperLoader.loadJSP(Compiled Code) at org.apache.jasper.servlet.JspServlet.loadJSP(Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Compi led Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code) at org.apache.jasper.servlet.JspServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code) at org.apache.tomcat.core.Handler.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(Compiled Code) at org.apache.tomcat.core.ContextManager.internalService(Compiled Code) at org.apache.tomcat.core.ContextManager.service(Compiled Code) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Compi led Code) at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) at java.lang.Thread.run(Compiled Code) Root cause: java.lang.IllegalArgumentException: Unknown argument at java.lang.Throwable.(Compiled Code) at java.lang.Exception.(Compiled Code) at java.lang.RuntimeException.(Compiled Code) at java.lang.IllegalArgumentException.(Compiled Code) at java.text.MessageFormat.format(Compiled Code) at java.text.MessageFormat.format(Compiled Code) at java.text.Format.format(Compiled Code) at org.apache.jasper.Constants.getString(Compiled Code) at org.apache.jasper.Constants.message(Compiled Code) at org.apache.jasper.compiler.JspParseEventListener.handleDirective(Compiled Code) at org.apache.jasper.compiler.DelegatingListener.handleDirective(Compiled Code) at org.apache.jasper.compiler.Parser$Directive.accept(Compiled Code) at org.apache.jasper.compiler.Parser.parse(Compiled Code) at org.apache.jasper.compiler.Parser.parse(Compiled Code) at org.apache.jasper.compiler.Parser.parse(Compiled Code) at org.apache.jasper.compiler.Compiler.compile(Compiled Code) at org.apache.jasper.servlet.JspServlet.doLoadJSP(Compiled Code) at org.apache.jasper.servlet.JasperLoader.loadJSP(Compiled Code) at org.apache.jasper.servlet.JspServlet.loadJSP(Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Compi led Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code) at org.apache.jasper.servlet.JspServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code) at org.apache.tomcat.core.Handler.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(Compiled Code) at org.apache.tomcat.core.ContextManager.internalService(Compiled Code) at org.apache.tomcat.core.ContextManager.service(Compiled Code) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Compi led Code) at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) at java.lang.Thread.run(Compiled Code) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Encrypting password
Am I right in saying the only method for encrypting user entered data (e.g from client desktopn browser to web server) is SSL? sam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Encrypting password
You could write a custom applet, which could use any encryption algorithm you prefer. -Original Message- From: Sam Newman [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 2:35 PM To: [EMAIL PROTECTED] Subject: Encrypting password Am I right in saying the only method for encrypting user entered data (e.g from client desktopn browser to web server) is SSL? sam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
servlets and configuration
hi, i'm using Apache webserver with tomcat . i have jsp pages and servlets. my jsp pages are in tomcat/webapps/examples/jsp/mypages/ my servlets are in tomcat/webapps/examples/WEB-INF/classes my jsp pages works fine and my servlets works fine too but the only problem is that i can't access my servlets directly as http://[domain]/servlet/Hello but if i include my servlet in my jsp page it works . can anyone tell what should i have to change in my configuration to be able to do so. thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Tomcat 3.2.1 IIS 5.0
I'm trying to working with TOMCAT 3.2.1 and Internet Information Server 5.0 . I have two JSP-pages. If I put them into the directory e:/jakarta-tomcat-3.2.1/webapps/examples and I call them from my browser everything works. BUT I would like to put my JSP-pages into a virtual directory in IIS 5.0. Which configurations files I have to modify? And how I have to modify them? I tried to change the names of the directories into the server.xml file but,... it doesn't work. I also tried to change the workers' files but also without success. The I found in Internet documentation of Tomcat about how to do that, is not completed. I'm looking forward your answer. Sincerely, Klaus Honus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Ctx( ): IOException in: R( + /tomcat-power.gif + null) socket write error
Below is what I believe is the proper explanation. Every time this question comes up, I post a message with similar content and no one has sent me any messages indicating that I am wrong. The reason this occurs from two different facts: 1. In today's Net congested world, we try very hard to transfer as little as possible across the network. As such, web browsers attempt to cache files locally to prevent the necessary reloading of files already visited (note, a file could be html, gif, css, or whatever). Part of HTTP (HyperText Transfer Protocol) allows the server to put a last modified timestamp in the headers. The web browser then looks for this header. If it has the most recent copy, it knows that it doesn't need to download again. However, HTTP does not allow for the client to send a message basically stating that it doesn't need the file. In order to save bandwidth, the client closes the socket. Notice that all of this is browser independent. By the way, Tomcat only does this for static content, its up the developer for the JSP/Servlet to add a last-modified timestamp. The lack of one implies that the content is new every time. 2. Something in the way that IE closes its sockets triggers the Socket Write Error on Sun's Windows JVMs. I don't believe that this error occurs with Netscape and doesn't occur on Unix JVMs. This is why the problem is only seen on Windows with IE. Does that make things clearer? To avoid seeing this error message you must set the logging in server.xml to FATAL for the tc_log. Randy -Original Message- From: Andrew Robson [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 9:24 AM To: [EMAIL PROTECTED] Subject: Re: Ctx( ): IOException in: R( + /tomcat-power.gif + null) socket write error Hi, I think this is an error which has been discussed a number of times on the list. To the best of my recollection problem stems from IE's caching behaviour. You have two choices 1) Ignore it - as you say page loads fine 2) Do something to prevent IE caching the resources however recollection hazy - your best bet is to look through the archives on this list for proper explanation and best course of action andrew On Mon, 12 Mar 2001, you wrote: Hello, I am running tomcat 3.2 on NT. While trying to access http://localhost/index.html I get the following errors: 2000-12-12 09:27:41 - Ctx( ): IOException in: R( + /index.html + null) socket write error (code=10053) 2000-12-12 09:27:41 - Ctx( ): IOException in: R( + /tomcat- power.gif + null) socket write error (code=10053) but page loads fine. Any ideas? _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Encrypting password
You could also use a little javascript to send password coded with md5 and verify in servlet the password for this user via md5 is equal to the password string you received : ie: http://pajhome.org.uk/crypt/md5/index.html -Original Message- From: Samson, Lyndon [IT] [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 3:44 PM To: '[EMAIL PROTECTED]' Subject: RE: Encrypting password You could write a custom applet, which could use any encryption algorithm you prefer. -Original Message- From: Sam Newman [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 2:35 PM To: [EMAIL PROTECTED] Subject: Encrypting password Am I right in saying the only method for encrypting user entered data (e.g from client desktopn browser to web server) is SSL? sam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Encrypting password
The problem with this approach is that, without a challenge-response, having the MD5 digest of the password is as good as having the password. Donnie [EMAIL PROTECTED] 03/12/01 10:05AM You could also use a little javascript to send password coded with md5 and verify in servlet the password for this user via md5 is equal to the password string you received : ie: http://pajhome.org.uk/crypt/md5/index.html -Original Message- From: Samson, Lyndon [IT] [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 3:44 PM To: '[EMAIL PROTECTED]' Subject: RE: Encrypting password You could write a custom applet, which could use any encryption algorithm you prefer. -Original Message- From: Sam Newman [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 2:35 PM To: [EMAIL PROTECTED] Subject: Encrypting password Am I right in saying the only method for encrypting user entered data (e.g from client desktopn browser to web server) is SSL? sam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Encrypting password
On Mon, 12 Mar 2001, Samson, Lyndon [IT] wrote: You could write a custom applet, which could use any encryption algorithm you prefer. -Original Message- From: Sam Newman [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 2:35 PM To: [EMAIL PROTECTED] Subject: Encrypting password Am I right in saying the only method for encrypting user entered data (e.g from client desktopn browser to web server) is SSL? sam but the problem is always 'how to initialize the session keys?' encrypting and decrypting itself is easy. Sloot. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RequestDispatcher.include
Hi! I'm a new user of Tomcat 3.2 . When in my code, i use requestDispatcher.include(servletrequest,servletResponse) this throw an ServletException !? why ??? the explanation ?? Thanks Joel ___ Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, Yahoo! Messenger : http://fr.messenger.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RequestDispatcher.include, ServletException
Hi! I'm a new user of Tomcat 3.2 . When in my code, i use requestDispatcher.include(servletrequest,servletResponse) this throw an ServletException !? why ??? the explanation ?? Thanks Joel ___ Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, Yahoo! Messenger : http://fr.messenger.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: servlets and configuration
From: Georges Boutros [EMAIL PROTECTED] To: Tomcat (E-mail) [EMAIL PROTECTED] Sent: Monday, March 12, 2001 2:44 PM Subject: servlets and configuration snip my jsp pages works fine and my servlets works fine too but the only problem is that i can't access my servlets directly as http://[domain]/servlet/Hello I would guess that you want to access the servlet like this: http://[domain]/webappname/servlet/Hello To change this mapping, you need to change the context for your webapp. Have a look in the server.xml file - there is an example there shoiwng how the mapping for the examples code gets changed. sam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Encrypting password
The problem with this approach is that, without a challenge-response, having the MD5 digest of the password is as good as having the password. What is the challenge-response ? The MD5/SHA1 digest is good over secure line. 1) Store in DB or LDAP only the MD5 digest of user password 2) Use SSL from browser to httpd/tomcat server. 3) Send on the SSL link, user log and md5 password and check in servlet/JSP that for that user the password (md5) and the DB/LDAP content are the same. Donnie [EMAIL PROTECTED] 03/12/01 10:05AM You could also use a little javascript to send password coded with md5 and verify in servlet the password for this user via md5 is equal to the password string you received : ie: http://pajhome.org.uk/crypt/md5/index.html -Original Message- From: Samson, Lyndon [IT] [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 3:44 PM To: '[EMAIL PROTECTED]' Subject: RE: Encrypting password You could write a custom applet, which could use any encryption algorithm you prefer. -Original Message- From: Sam Newman [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 2:35 PM To: [EMAIL PROTECTED] Subject: Encrypting password Am I right in saying the only method for encrypting user entered data (e.g from client desktopn browser to web server) is SSL? sam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Encrypting password
Courier a disk :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 3:09 PM To: '[EMAIL PROTECTED]' Subject: RE: Encrypting password On Mon, 12 Mar 2001, Samson, Lyndon [IT] wrote: You could write a custom applet, which could use any encryption algorithm you prefer. -Original Message- From: Sam Newman [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 2:35 PM To: [EMAIL PROTECTED] Subject: Encrypting password Am I right in saying the only method for encrypting user entered data (e.g from client desktopn browser to web server) is SSL? sam but the problem is always 'how to initialize the session keys?' encrypting and decrypting itself is easy. Sloot. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Encrypting password
JMHO, but I think the point is if you have ssl available, why send a digest, and if you don't, then you are sending the md5 digest in the clear where it can be sniffed. Jin -Original Message- From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 10:18 AM To: [EMAIL PROTECTED] Subject: RE: Encrypting password The problem with this approach is that, without a challenge-response, having the MD5 digest of the password is as good as having the password. What is the challenge-response ? The MD5/SHA1 digest is good over secure line. 1) Store in DB or LDAP only the MD5 digest of user password 2) Use SSL from browser to httpd/tomcat server. 3) Send on the SSL link, user log and md5 password and check in servlet/JSP that for that user the password (md5) and the DB/LDAP content are the same. Donnie [EMAIL PROTECTED] 03/12/01 10:05AM You could also use a little javascript to send password coded with md5 and verify in servlet the password for this user via md5 is equal to the password string you received : ie: http://pajhome.org.uk/crypt/md5/index.html -Original Message- From: Samson, Lyndon [IT] [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 3:44 PM To: '[EMAIL PROTECTED]' Subject: RE: Encrypting password You could write a custom applet, which could use any encryption algorithm you prefer. -Original Message- From: Sam Newman [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 2:35 PM To: [EMAIL PROTECTED] Subject: Encrypting password Am I right in saying the only method for encrypting user entered data (e.g from client desktopn browser to web server) is SSL? sam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: ADMIN HELP TO UNREGISTER
I am trying last couple of weeks to get unregisteredplease help - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 06, 2001 11:16 AM Subject: Re: ADMIN HELP TO UNREGISTER I also need to be unregistered On Tue, 6 Mar 2001 10:39:48 -0500, [EMAIL PROTECTED] wrote: Anastasios Mavroudeas wrote: So please - any administrator - help me to unregister from the list. Done. - Sam Ruby - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] ___ tomcat-users mailing list [EMAIL PROTECTED] https://mailman.real-time.com/mailman/listinfo/tomcat-users ___ Send a cool gift with your E-Card http://www.bluemountain.com/giftcenter/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Parser.jar now in classpath, so what is causing this error
My Parser.jar in now in classpath, so what is causing this error? See log and classpath settings Error: 500 Location: /examples/jsp/dates/date.jsp Internal Servlet Error: javax.servlet.ServletException: org/xml/sax/EntityResolver at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:399) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) Root cause is; java.lang.NoClassDefFoundError: org/xml/sax/EntityResolver at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at java.lang.ClassLoader.loadClass(ClassLoader.java:290) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:178) at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462) at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) Root cause: java.lang.NoClassDefFoundError: org/xml/sax/EntityResolver at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at java.lang.ClassLoader.loadClass(ClassLoader.java:290) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:178) at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462) at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152) at
Re: executing a servlet.
First thing I am using Tomcat as standalone. So do I type : localhost:8080/examples/Tester as a url to envoke it If I write a servlet lets call it Tester and I put it in: C:\windows\desktop\TOMCAT\webapps\examples\Tester.java as servlet. Do I have to compile it first so that it goes in C:\windows\desktop\TOMCAT\webapps\examples\WEB-INF\classes\Tester.class or will the startup automcatically compile it for me. If this is true that means that I have a servlet called Tester.java in: C:\windows\desktop\TOMCAT\webapps\examples\Tester.java And a Tester.class file in C:\windows\desktop\TOMCAT\webapps\examples\WEB-INF\classes\Tester.class Is this all correct up to now??? Now if I invoke it do I have to point it at the servlet Tester.java or the Tester.class??? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Tomcat 3.2.1 IIS 5.0
You should add a new context in server.xml and check/modify web.xml. Nico [EMAIL PROTECTED] wrote: I'm trying to working with TOMCAT 3.2.1 and Internet Information Server 5.0 .. I have two JSP-pages. If I put them into the directory e:/jakarta-tomcat-3.2.1/webapps/examples and I call them from my browser everything works. BUT I would like to put my JSP-pages into a virtual directory in IIS 5.0. Which configurations files I have to modify? And how I have to modify them? I tried to change the names of the directories into the server.xml file but,... it doesn't work. I also tried to change the workers' files but also without success. The I found in Internet documentation of Tomcat about how to do that, is not completed. I'm looking forward your answer. Sincerely, Klaus Honus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Encrypting password
Currently the login is handled by a servlet (actually an RMI client) which cimmunicates with a remote database to get the info. I just don't want to send the users password unencrypted over the web. I'm really looking to avoid using SSL if possible. We want to avoid having to get certificates, as the app could potentially be on allot of machines rather than one central point (the whole system is VERY distributed). We already use secure (1024) encrypted pipes elsewhere, so i may look at using applets as Samson suggested. thanks for the info sam - Original Message - From: GOMEZ Henri [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 12, 2001 3:18 PM Subject: RE: Encrypting password The problem with this approach is that, without a challenge-response, having the MD5 digest of the password is as good as having the password. What is the challenge-response ? The MD5/SHA1 digest is good over secure line. 1) Store in DB or LDAP only the MD5 digest of user password 2) Use SSL from browser to httpd/tomcat server. 3) Send on the SSL link, user log and md5 password and check in servlet/JSP that for that user the password (md5) and the DB/LDAP content are the same. Donnie [EMAIL PROTECTED] 03/12/01 10:05AM You could also use a little javascript to send password coded with md5 and verify in servlet the password for this user via md5 is equal to the password string you received : ie: http://pajhome.org.uk/crypt/md5/index.html -Original Message- From: Samson, Lyndon [IT] [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 3:44 PM To: '[EMAIL PROTECTED]' Subject: RE: Encrypting password You could write a custom applet, which could use any encryption algorithm you prefer. -Original Message- From: Sam Newman [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 2:35 PM To: [EMAIL PROTECTED] Subject: Encrypting password Am I right in saying the only method for encrypting user entered data (e.g from client desktopn browser to web server) is SSL? sam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Building Apache and Tomcat in HPUX and AIX
Is it possible to build and run the apache and tomcat on the operating systems HPUX and AIX? On which platforms does the apache/tomcat run? Thomas Thomas Apsel mailto:[EMAIL PROTECTED] IXOS SOFTWARE AG Tel.: +49.(0)89.4629.1817 Bretonischer Ring 12 Fax.: +49.(0)89.4629.33.1817 D-85630 Grasbrunn http://www.ixos.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
please unregister me
__ Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Encrypting password
Exactly the point! I didn't see SSL mentioned in the prior discussions, so I assumed that it was just a digest of the password over http. Answering the question "what is the 'challenge-response'", that is the standard technique used to ensure that every digest/encryption of a shared secret key is unique and unpredictable. For example, the server issues a challenge which consists of a secure random number. The browser responds with an MD5 hash of that challenge plus the shared secret key (plus typically some other chaff). If someone intercepts that response, they can't reuse it as-is like they could if the hash was of just the shared secret key. Donnie [EMAIL PROTECTED] 03/12/01 10:20AM JMHO, but I think the point is if you have ssl available, why send a digest, and if you don't, then you are sending the md5 digest in the clear where it can be sniffed. Jin -Original Message- From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 10:18 AM To: [EMAIL PROTECTED] Subject: RE: Encrypting password The problem with this approach is that, without a challenge-response, having the MD5 digest of the password is as good as having the password. What is the challenge-response ? The MD5/SHA1 digest is good over secure line. 1) Store in DB or LDAP only the MD5 digest of user password 2) Use SSL from browser to httpd/tomcat server. 3) Send on the SSL link, user log and md5 password and check in servlet/JSP that for that user the password (md5) and the DB/LDAP content are the same. Donnie [EMAIL PROTECTED] 03/12/01 10:05AM You could also use a little javascript to send password coded with md5 and verify in servlet the password for this user via md5 is equal to the password string you received : ie: http://pajhome.org.uk/crypt/md5/index.html -Original Message- From: Samson, Lyndon [IT] [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 3:44 PM To: '[EMAIL PROTECTED]' Subject: RE: Encrypting password You could write a custom applet, which could use any encryption algorithm you prefer. -Original Message- From: Sam Newman [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 2:35 PM To: [EMAIL PROTECTED] Subject: Encrypting password Am I right in saying the only method for encrypting user entered data (e.g from client desktopn browser to web server) is SSL? sam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: ADMIN HELP TO UNREGISTER
Have you looked at the bottom of all emails: To unsubscribe, e-mail: [EMAIL PROTECTED] I am trying last couple of weeks to get unregisteredplease help - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 06, 2001 11:16 AM Subject: Re: ADMIN HELP TO UNREGISTER I also need to be unregistered On Tue, 6 Mar 2001 10:39:48 -0500, [EMAIL PROTECTED] wrote: Anastasios Mavroudeas wrote: So please - any administrator - help me to unregister from the list. Done. - Sam Ruby - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] ___ tomcat-users mailing list [EMAIL PROTECTED] https://mailman.real-time.com/mailman/listinfo/tomcat-users ___ Send a cool gift with your E-Card http://www.bluemountain.com/giftcenter/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] -- Bryce Fischer [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
PageContextImpl.handlePageException
Hi! I'm a new user of Tomcat 3.2 . When in my code, i use requestDispatcher.include(servletrequest,servletResponse) this throw an ServletException !? why ??? the explanation ?? And at the top of the stack Trace i have: javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlepageException Thanks Joel ___ Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, Yahoo! Messenger : http://fr.messenger.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Encrypting password
On Mon, 12 Mar 2001, DONNIE HALE wrote: The problem with this approach is that, without a challenge-response, having the MD5 digest of the password is as good as having the password. Donnie [EMAIL PROTECTED] 03/12/01 10:05AM You could also use a little javascript to send password coded with md5 and verify in servlet the password for this user via md5 is equal to the password string you received : ie: http://pajhome.org.uk/crypt/md5/index.html Of course, you have the server send a random number (or better a date, since it will never repeat). The hash is applied to the password combined with the date. This gets sent to the server and the server know what it sent out so it can calculate what the hash value should be. This is how APOP works. THis, naturally, does nothing to conceal the DATA in transit, but it does a fairly decent job (though not infallable) of concelaing the password. Joe Laffey LAFFEY Computer Imaging St. Louis, MO -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Encrypting password
On Mon, 12 Mar 2001, GOMEZ Henri wrote: The problem with this approach is that, without a challenge-response, having the MD5 digest of the password is as good as having the password. What is the challenge-response ? The MD5/SHA1 digest is good over secure line. 1) Store in DB or LDAP only the MD5 digest of user password 2) Use SSL from browser to httpd/tomcat server. 3) Send on the SSL link, user log and md5 password and check in servlet/JSP that for that user the password (md5) and the DB/LDAP content are the same. If you are using SSL then why even bother hashing the password? I think the original poster said he/she could not use SSL (but I may be mistaken). Joe Laffey LAFFEY Computer Imaging St. Louis, MO -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Encrypting password
if the app is accessed through a single URL and loadbalanced / proxied, you still only need the one SSL cert: it's the URL, not the IP address, that counts. -Original Message- From: Sam Newman [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 3:39 PM To: [EMAIL PROTECTED] Subject: Re: Encrypting password Currently the login is handled by a servlet (actually an RMI client) which cimmunicates with a remote database to get the info. I just don't want to send the users password unencrypted over the web. I'm really looking to avoid using SSL if possible. We want to avoid having to get certificates, as the app could potentially be on allot of machines rather than one central point (the whole system is VERY distributed). We already use secure (1024) encrypted pipes elsewhere, so i may look at using applets as Samson suggested. thanks for the info sam - Original Message - From: GOMEZ Henri [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 12, 2001 3:18 PM Subject: RE: Encrypting password The problem with this approach is that, without a challenge-response, having the MD5 digest of the password is as good as having the password. What is the challenge-response ? The MD5/SHA1 digest is good over secure line. 1) Store in DB or LDAP only the MD5 digest of user password 2) Use SSL from browser to httpd/tomcat server. 3) Send on the SSL link, user log and md5 password and check in servlet/JSP that for that user the password (md5) and the DB/LDAP content are the same. Donnie [EMAIL PROTECTED] 03/12/01 10:05AM You could also use a little javascript to send password coded with md5 and verify in servlet the password for this user via md5 is equal to the password string you received : ie: http://pajhome.org.uk/crypt/md5/index.html -Original Message- From: Samson, Lyndon [IT] [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 3:44 PM To: '[EMAIL PROTECTED]' Subject: RE: Encrypting password You could write a custom applet, which could use any encryption algorithm you prefer. -Original Message- From: Sam Newman [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 2:35 PM To: [EMAIL PROTECTED] Subject: Encrypting password Am I right in saying the only method for encrypting user entered data (e.g from client desktopn browser to web server) is SSL? sam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Encrypting password
On Mon, 12 Mar 2001, Byung Jin Chun wrote: JMHO, but I think the point is if you have ssl available, why send a digest, and if you don't, then you are sending the md5 digest in the clear where it can be sniffed. This is why you use the challenge-reposne. The server gives a challenge (like the current time in millis). The server stores this. The client combines the challenge with the passowrd (with concatenation, or other technique). THIS combined string is hashed. This hash is sent to the server. The server can calculate the same hash because it sent out the challenge in the first place. Like APOP... Joe Laffey LAFFEY Computer Imaging St. Louis, MO -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
servicing .jsp's
Hi, I was wondering if you could help me, I have an apache server and tomcat 3.1 running on my linux machine,all the .jsp files for the default server on port 80 are being processed by tomcat and they all go to /usr/local/jakarta-tomcat/webapps/ROOT, I have setup another virtual server on a different port in apache, everytime it wants to process .jsp files for that virtual server tomcat goes and looks for the jsp files in /usr/local/jakarta-tomcat/webapps/root. i want tomcat process .jsp files for the virtual serverin a diff location i.e /home/virtual, can someone please help me. Thankyou ... _ Get your FREE download of MSN Explorer at http://explorer.msn.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Classpath/loader problems internal to tomcat 3.2.1 [Fwd: RMI and Tomcat]
Gerard, Not sure if you saw the exchange between David and Craig McClanahan on Sunday. Craig provided a lot of helpful information on class loading. David had a clever work around for at least one of the issues likely to be encountered, basically hooking the appropriate javax.* class to use a servlet implemented factory, thus eliminating some of the class not found issues. Hope this helps, Andrew -Original Message- From: Gerard BORREILL [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 4:59 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Classpath/loader problems internal to tomcat 3.2.1 [Fwd: RMI and Tomcat] Hello, Thank you very much David Wall and Andrew Gilbert for your answer. Well I would really like that the way how class loading should work in Tomcat, works this way. I am using 3.2.1. I am using Jeremie that is a RMI like protocol over IIOP, and so implicitely the RMIClassLoader (it has only static methods: it delegates class loading to the right class loader so this should not generate any problem). My servlet is using Jeremie to communicate with a server. If performed as a non-servlet client it works fine, but if performed as a servlet, my Jeremie classes are not found: Class not found: org.objectweb.jeremie.libs.stub_factories.std.OptStub In fact the first Jeremie class used that is searched is not found. I have under the WEB-INF/lib directory of my web application: myProject.jar Jonathan.jar (that contains Jeremie: Jeremie is a sub project of Jonathan). I do not want to put the Jonathan.jar in another place for security reasons. Who can help me ? Is my problem due to a misconfiguration in a configuration file of Tomcat ? Do I have to add a line ? I have found nothing in the configuration files about this. Is anyone using several .jar files in WEB-INF/lib ? Suppose RMIClassLoader does not use the right class loader? (I do not think at all this is the bug). How can I get a reference to the right classloader ? In advance thank you, Grard, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Problem with Tomcat 3.1 and JDK 1.2.2...
Hi! I have the same error, so what's the problem ? Thanks Joel --- Randy Layman [EMAIL PROTECTED] a crit: Without seeing your page this is just a guess, but I would say that you are trying to reference one of the indexes of Value without first checking if its null. (i.e. Value[0] or Value.length). I say this because the root cause is a NullPointerException. I know that this does work just fine in Tomcat 3.2 w/JDK1.2 as I use it. Randy -Original Message- From: Subha Gowri [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 12:22 AM To: '[EMAIL PROTECTED]' Subject: Problem with Tomcat 3.1 and JDK 1.2.2... Hi All, We are working on Tomcat 3.1 with JDK 1.2.2. and deployed all the .jsp pages in Apache server. For that we've created a new context in server.xml to take the .jsp pages from Apache. It's working fine. But the problem is multiple selection list box in it. After submitting the page, if I try to get the value from the List box (multiple) as String Value[] = request.getParameterValues(name); it is throwing an exception as, * Error: 500 Location: /cmt/browser/callagent/callagentmainpage.jsp Internal Servlet Error: javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:386) at browser.callagent._0002fbrowser_0002fcallagent_0002fcallagentmainpage_0002ej spcallagentmainpage_jsp_0._jspService(_0002fbrowser_0002fcallagent_0002fcall agentmainpage_0002ejspcallagentmainpage_jsp_0.java, Compiled Code) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja va, Compiled Code) at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java, Compiled Code) at org.apache.jasper.runtime.JspServlet.service(JspServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled Code) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection (Ajp12ConnectionHandler.java, Compiled Code) at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java, Compiled Code) at java.lang.Thread.run(Thread.java, Compiled Code) Root cause: java.lang.NullPointerException at browser.callagent._0002fbrowser_0002fcallagent_0002fcallagentmainpage_0002ej spcallagentmainpage_jsp_0._jspService(_0002fbrowser_0002fcallagent_0002fcall agentmainpage_0002ejspcallagentmainpage_jsp_0.java, Compiled Code) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja va, Compiled Code) at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java, Compiled Code) at org.apache.jasper.runtime.JspServlet.service(JspServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled Code) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection (Ajp12ConnectionHandler.java, Compiled Code) at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java, Compiled Code) at java.lang.Thread.run(Thread.java, Compiled Code) * Note : The same .jsp page is working fine if I use tomcat 3.1 and JDK 1.3. If any one find the solution for this problem please let me know. Thanks in advance, Subha . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] ___ Do You Yahoo!? -- Pour dialoguer
installing version 4
Hi Just joined the list. I'm attempting to install milestone build: Tomcat 4.0 beta 1 I have simply uncompressed this file, set JAVA_HOME and TOMCAT_HOME and then run startup.sh which produces the following messages: Guessing CATALINA_HOME from catalina.sh to ./.. Setting CATALINA_HOME to ./.. Using CLASSPATH: ./../bin/bootstrap.jar:./../bin/servlet.jar:./../bin/naming.jar:/export/WWW/ docs/javat emp/java1.2/lib/tools.jar Using CATALINA_HOME: ./.. No mention of port 8080 as I was used to with Tomcat 3. And no index.html within webapps. It's almost as if only half of what I expected to find is there. thanks for any advice dave Dave Cheseldine Educational Technology Services University of Wales Bangor tel: 01248 383870 http://qas.bangor.ac.uk/daveches.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Problem with Tomcat 3.1 and JDK 1.2.2...
Could you post your page source? The problem is, alomost 100% guarenteed, in your code and not the Tomcat features. Randy -Original Message- From: Joel Cordonnier [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 11:01 AM To: [EMAIL PROTECTED] Subject: RE: Problem with Tomcat 3.1 and JDK 1.2.2... Hi! I have the same error, so what's the problem ? Thanks Joel --- Randy Layman [EMAIL PROTECTED] a crit : Without seeing your page this is just a guess, but I would say that you are trying to reference one of the indexes of Value without first checking if its null. (i.e. Value[0] or Value.length). I say this because the root cause is a NullPointerException. I know that this does work just fine in Tomcat 3.2 w/JDK1.2 as I use it. Randy -Original Message- From: Subha Gowri [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 12:22 AM To: '[EMAIL PROTECTED]' Subject: Problem with Tomcat 3.1 and JDK 1.2.2... Hi All, We are working on Tomcat 3.1 with JDK 1.2.2. and deployed all the .jsp pages in Apache server. For that we've created a new context in server.xml to take the .jsp pages from Apache. It's working fine. But the problem is multiple selection list box in it. After submitting the page, if I try to get the value from the List box (multiple) as String Value[] = request.getParameterValues(name); it is throwing an exception as, * Error: 500 Location: /cmt/browser/callagent/callagentmainpage.jsp Internal Servlet Error: javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:386) at browser.callagent._0002fbrowser_0002fcallagent_0002fcallagentmainpage_0002ej spcallagentmainpage_jsp_0._jspService(_0002fbrowser_0002fcallagent_0002fcall agentmainpage_0002ejspcallagentmainpage_jsp_0.java, Compiled Code) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja va, Compiled Code) at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java, Compiled Code) at org.apache.jasper.runtime.JspServlet.service(JspServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled Code) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection (Ajp12ConnectionHandler.java, Compiled Code) at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java, Compiled Code) at java.lang.Thread.run(Thread.java, Compiled Code) Root cause: java.lang.NullPointerException at browser.callagent._0002fbrowser_0002fcallagent_0002fcallagentmainpage_0002ej spcallagentmainpage_jsp_0._jspService(_0002fbrowser_0002fcallagent_0002fcall agentmainpage_0002ejspcallagentmainpage_jsp_0.java, Compiled Code) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja va, Compiled Code) at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java, Compiled Code) at org.apache.jasper.runtime.JspServlet.service(JspServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled Code) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection (Ajp12ConnectionHandler.java, Compiled Code) at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java, Compiled Code) at java.lang.Thread.run(Thread.java, Compiled Code) * Note : The same .jsp page is working fine if I use tomcat 3.1 and JDK 1.3. If any one find the solution for this problem please let me know. Thanks in advance, Subha . - To unsubscribe, e-mail:
Re: Encrypting password
If you are using SSL then why even bother hashing the password? The one reason I can think of hashing a password even if you have SSL is because then the password stored on the server must also be hashed to be useful. It is better to *not* store passwrods on the server in plain text, since if your server is compromised the passwords aren't useful. However, if that's the point, then you can probably get by with sending the password in clear text (over SSL, so it's unsniffable) and hash it on the server. -- Richard Seymour : Anarchy Software, Inc. - * - - * - - - * -+- * - - - * - - * - `, ,' `,, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: How to configure tomcat to us xalan and xerces
Scott, Thanks, the problem was that I still had the crimison.jar file on my system, a document FAQ with xalan/xerces and JDK 1.3. It just was not is a spot that I thought would have caused a problem. I removed, as per the FAQ and all is working. Again thanks for the reply. Regard, Todd G. Nist -Original Message- From: Scott Walter [mailto:[EMAIL PROTECTED]] Sent: Friday, March 09, 2001 2:43 PM To: [EMAIL PROTECTED] Subject: Re: How to configure tomcat to us xalan and xerces I just deleted the jaxp.jar and the parser.jar from the tomcat\lib directory and replaced with the xerces/xalan jars and it worked like a champ, scott. --- [EMAIL PROTECTED] wrote: Which files to I have to replace to get tomcat to work with xalan 2.0. Is it simply a matter of removing jaxp.jar and parser.jar and replacing them with xalan and xerces or do I need to do something else? Regards, Todd The information in this electronic mail ("e-mail") message may be confidential and for use of only the named recipient. The information may be protected by privilege, work product immunity or other applicable law. If you are not the intended recipient the retention, dissemination, distribution or copying of this e-mail message is strictly prohibited. If you receive this e-mail message in error please notify us immediately by telephone at 770-723-1011 or [EMAIL PROTECTED] Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] = ~~~ Scott May the Force be with you! __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] The information in this electronic mail ("e-mail") message may be confidential and for use of only the named recipient. The information may be protected by privilege, work product immunity or other applicable law. If you are not the intended recipient the retention, dissemination, distribution or copying of this e-mail message is strictly prohibited. If you receive this e-mail message in error please notify us immediately by telephone at 770-723-1011 or [EMAIL PROTECTED] Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
HELP! -- UNSUBSCRIBE -- lxu@rims.com (or lxx@rims.com)
My email system changed my address. So I am having problem to unsubscribe myself. Please help to remove me from the list. My current address on the list is [EMAIL PROTECTED] (or [EMAIL PROTECTED]), and my new address with our mailing system is [EMAIL PROTECTED] Thanks Lifeng - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Maximum length HTTP Request
Hi all, I'm doing an HTTP request on a Servlet running in Tomcat 3.2.1 and I'm encountering problems with the length. It's a POST request using parameters after the URL. Problem is, when the request exceeds 2 Kilobyte, Tomcat won't receive it!!! At least the HttpRequest doesn't finish so it doesn't arrive in the Servlet. I'm using a plain socket implementation which is working correctly until the 2k limit is reached, after that it won't work anymore! Does anybody know ANYTHING about this??? Thnx in advance for any information... Alef Arendsen SmartHaven www.smarthaven.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Parser.jar now in classpath, so what is causing this error
Here is the definition of the java.lang.NoClassDefFoundError class: Thrown if the Java Virtual Machine or a classloader tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found. The searched-for class definition existed when the currently executing class was compiled, but the definition can no longer be found. I am not an expert on classloaders and it seems that Tomcat does not use the default class loader. However, I would recommend that you move the Parser.jar file to the front of the classpath, as it is possible that another jar file contains a different version of the class. I have seen information about the class loader on this mailing list. You might want to look into it. Paolo Kemp Randy-W18971 wrote: My Parser.jar in now in classpath, so what is causing this error? See log and classpath settings Error: 500 Location: /examples/jsp/dates/date.jsp Internal Servlet Error: javax.servlet.ServletException: org/xml/sax/EntityResolver at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:399) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) Root cause is; java.lang.NoClassDefFoundError: org/xml/sax/EntityResolver at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at java.lang.ClassLoader.loadClass(ClassLoader.java:290) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:178) at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462) at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) Root cause: java.lang.NoClassDefFoundError: org/xml/sax/EntityResolver at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
RE: Mod_jk error (worker.ajp12.host=localhost)
My localhost was ill-defined in the hosts file. When I pinged localhost, I didn't get the correct address, so I fixed it, and the problem stopped. I found the solution in the archives, and the person who lead me to the problem used the ip of the machine rather than localhost, and that fixed their problem. good luck. "Nathan Potter" nathan@npottersTo: [EMAIL PROTECTED] tudio.com cc: (bcc: Greyson Smith/CCMG/CVG) Subject: RE: Mod_jk error (worker.ajp12.host=localhost) 09-03-01 11:15 PM Please respond to tomcat-user I'm having a similar problem. What was wrong with you localhost? -- NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of 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 reply email or by telephone (collect), so that the sender's address records can be corrected. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
license for Tomcat
hello I'm a product manager at a software development company called orsus solutions. We would like to give the installation files of Tomact 3.2.1 with our product's installation, so the user will install Tomcat as is webserver. I would like to know if there is a license we need from you, or if you have any demand, like writing somewhere that we r using your software, or anything else. please do answer me ASAP. thanks in advance. Sharon Moshkovitz Product Manager 5386859 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Encrypting password
There are some things missing here. What we are really talking about is a digest authentication scheme like that which is used in the HTTP/1.1 specification (RFC2617). But since (I presume) we are talking about form based authentication, a number of pieces of RFC 2617 don't apply. Let's discuss those points that do, however. There are three components of the authentication scheme that are applicable even to form based, namely the username, realm, and userpassword. Realm is just a fancy word for the scope of the authorization. The concept of realm is no different here than in HTTP Basic Authentication. Your servlet/jsp page requires access to an MD5 (or SHA) hash comprised of the username, realm, and plaintext password. This forms the basic credential. The form of that data is h(username:realm:userpassword). The h() notation merely refers to that fact that it's the hash of that 3 element, colon separated string, and not the actual plaintext. When you generate the login form, you must include the plaintext realm for which the login applies, plus a challenge. The challenge should be a random generated ASCII string. I don't recollect the RFC specifying a particular length -- I've tended to make mine 64 characters long. You can either restrict the contents of the string to a-zA-Z0-9, escape it as required, of base64 encode it (if you do the latter, don't forget to undo the mechanism is order to reclaim the challenge as originally generated. You javascript at the browser will now have access to all the same elements the servlet/jsp has. You now want to make two separate MD5/SHA passes. You first need to generate the same h(username:realm:userpassword) as is stored on the server. You then need to append the challenge string so that you end up with: h(h(username:realm:userpassword):challenge). Since the servlet/jsp on the server end already has access to the first component (i.e., h(username:realm:userpassword) ), and since your servlet/jsp generated the challenge, it's a simple process to compute h(h(username:realm:userpassword):challenge) at the server end and compare it to the browser response. As far as whether to do MD5 or SHA, it really depends on the ease of computing those hashes at the browser. There are javascript MD5 algorithms available on the web, but I'm not aware of any SHA (you can always write you're own). You could also do it inside an applet, but if you're not otherwise using applets and you can't also be assured that folks are permitting applets and/or are using the plugin, you may find yourself in a world of hurt. Javascript, therefore, is probably the better solution, but ultimately only you know your client base. -- Rob --On Monday, March 12, 2001 04:18:06 PM +0100 GOMEZ Henri [EMAIL PROTECTED] wrote: The problem with this approach is that, without a challenge-response, having the MD5 digest of the password is as good as having the password. What is the challenge-response ? The MD5/SHA1 digest is good over secure line. 1) Store in DB or LDAP only the MD5 digest of user password 2) Use SSL from browser to httpd/tomcat server. 3) Send on the SSL link, user log and md5 password and check in servlet/JSP that for that user the password (md5) and the DB/LDAP content are the same. Donnie [EMAIL PROTECTED] 03/12/01 10:05AM You could also use a little javascript to send password coded with md5 and verify in servlet the password for this user via md5 is equal to the password string you received : ie: http://pajhome.org.uk/crypt/md5/index.html -Original Message- From: Samson, Lyndon [IT] [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 3:44 PM To: '[EMAIL PROTECTED]' Subject: RE: Encrypting password You could write a custom applet, which could use any encryption algorithm you prefer. -Original Message- From: Sam Newman [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 2:35 PM To: [EMAIL PROTECTED] Subject: Encrypting password Am I right in saying the only method for encrypting user entered data (e.g from client desktopn browser to web server) is SSL? sam --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,
NCSA Combined log format. Tomcat limitations?
Ok, the scenario: Who m I? I've no idea about Tomcat, my first contact with it has been an hour ago. I've been LiNUX user for several years and I know how Java servlets serves works, so I think I'm an average system administrator. I've been application programmer for several years also, so I'm an average developer also. I've some contact with Enhydra that perhaps you know, but I've never installed or use it in a production environment. Hope this information helps. What's the matter? In a project, we need some collaborators each one with his own http server and operating system, give us they http logs in NCSA Combined format for generate stats for third parties. Well, one of those collaborators told us that they cannot generate NCSA Combined logs because they're using TomCat... As I CANNOT reproduce each collaborator system environment conditions, you will understand that's not reasonable that I must install a TomCat server just to see if this is true. I've seen that TomCat could be installed standalone or dependant of another web server like Apache or IIS. I think the situation of this collaborator is 'standalone' because another manner should provide they the logs of its apache or IIS web server without troubles. The trouble in a brief? Just two questions: Can TomCat as standalone server produce NCSA Combined logs? if yes... in a brief: How? Please note that by evident reasons I'm not suscribed to TomCat Users list, so if there's an answer, please, send it to my own mail box: fmmarzoa at e-samuelson.com THANKS A LOT everyone in advance, excuse my poor english and have a good one, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Tomcat 3.2.1 and IIS 5.0
I'm trying to working with TOMCAT 3.2.1 and Internet Information Server 5.0 . I have two JSP-pages. If I put them into the directory e:/jakarta-tomcat-3.2.1/webapps/examples and I call them from my browser everything works. BUT I would like to put my JSP-pages into a virtual directory in IIS 5.0. Which configurations files I have to modify? And how I have to modify them? I tried to change the names of the directories into the server.xml file but,... it doesn't work. I also tried to change the workers' files but also without success. The I found in Internet documentation of Tomcat about how to do that, is not completed. I'm looking forward your answer. Sincerely, Klaus Honus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Maximum length HTTP Request
If you are using parameters after the URL (i.e. page.jsp?param1=...param2=...) then you are not performing a POST but a GET. According to the HTTP spec, GET requests are limited to 2048 characters (not sure why, but they are). POST requests, on the other hand, are not limited. If you are attempting to send the data from a form, make sure that your form has the METHOD="POST" attribute. Also the page's ACTION attribute must be less than 2048 characters. If you are attempting to send the data from a servlet to another servlet, then you should look at the URLConnection class, I believe. You can find more information by searching this list's archives. Randy -Original Message- From: Arendsen, Alef [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 11:45 AM To: '[EMAIL PROTECTED]' Subject: Maximum length HTTP Request Hi all, I'm doing an HTTP request on a Servlet running in Tomcat 3.2.1 and I'm encountering problems with the length. It's a POST request using parameters after the URL. Problem is, when the request exceeds 2 Kilobyte, Tomcat won't receive it!!! At least the HttpRequest doesn't finish so it doesn't arrive in the Servlet. I'm using a plain socket implementation which is working correctly until the 2k limit is reached, after that it won't work anymore! Does anybody know ANYTHING about this??? Thnx in advance for any information... Alef Arendsen SmartHaven www.smarthaven.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: license for Tomcat
I think this just about covers your questions... /* * The Apache Software License, Version 1.1 * * Copyright (c) 2000-2001 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright *notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright *notice, this list of conditions and the following disclaimer in *the documentation and/or other materials provided with the *distribution. * * 3. The end-user documentation included with the redistribution, *if any, must include the following acknowledgment: * "This product includes software developed by the *Apache Software Foundation (http://www.apache.org/)." *Alternately, this acknowledgment may appear in the software itself, *if and wherever such third-party acknowledgments normally appear. * * 4. The names "Apache" and "Apache Software Foundation" must *not be used to endorse or promote products derived from this *software without prior written permission. For written *permission, please contact [EMAIL PROTECTED] * * 5. Products derived from this software may not be called "Apache", *nor may "Apache" appear in their name, without prior written *permission of the Apache Software Foundation. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see * http://www.apache.org/. * * Portions of this software are based upon public domain software * originally written at the National Center for Supercomputing Applications, * University of Illinois, Urbana-Champaign. */ -Original Message- From: Sharon Moshkovitz [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 9:06 AM To: '[EMAIL PROTECTED]' Subject: license for Tomcat hello I'm a product manager at a software development company called orsus solutions. We would like to give the installation files of Tomact 3.2.1 with our product's installation, so the user will install Tomcat as is webserver. I would like to know if there is a license we need from you, or if you have any demand, like writing somewhere that we r using your software, or anything else. please do answer me ASAP. thanks in advance. Sharon Moshkovitz Product Manager 5386859 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: license for Tomcat
In your root Tomcat directory (i.e. jakarta-tomcat-3.2.1) there is a file called license. Please read it (I'll wait). Now that you have read it, you shouldn't have any questions. If you do here is how I understand the license (as a non-lawyer): If you distribute Tomcat as part of your software, you must mention that you use Tomcat from the Apache Software Foundation, however you can not state or imply that your product is made or endorsed by Tomcat or ASF (unless it really is). Randy -Original Message- From: Sharon Moshkovitz [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 12:06 PM To: '[EMAIL PROTECTED]' Subject: license for Tomcat hello I'm a product manager at a software development company called orsus solutions. We would like to give the installation files of Tomact 3.2.1 with our product's installation, so the user will install Tomcat as is webserver. I would like to know if there is a license we need from you, or if you have any demand, like writing somewhere that we r using your software, or anything else. please do answer me ASAP. thanks in advance. Sharon Moshkovitz Product Manager 5386859 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Classpath/loader problems internal to tomcat 3.2.1 [Fwd: RMI and Tomcat]
Is anyone using several .jar files in WEB-INF/lib ? This does appear to work just fine. The problem is what we've been discussing the past few days. Suppose RMIClassLoader does not use the right class loader? (I do not think at all this is the bug). How can I get a reference to the right classloader ? You might try pointing the CLASSPATH used to start Tomcat at the jeremie jar file. This may help, but it often leads down a path of pain if you then find it needs access to your application's class files, like for serializing them when sending out, which sounds likely. What I've discovered is that so-called "factory" classes are the biggest obstacle, especially if those classes are found in the CLASSPATH of Tomcat (or part of the standard classpath for Java VMs). You really need to make sure every such class is found in the WEB-INF/lib directory. It may also be a security issue since you need to run Tomcat with the -security flag to install a security manager. If they install a factory for creating sockets (sounds likely), you'll need the following line in tomcat.policy: permission java.lang.RuntimePermission "setFactory"; One thing I do is put "permission java.security.AllPermission;" in the policy file first to see if there's any security issue. For whatever reason, sometimes I get a nice security exception that points out exactly what is missing, and other times I don't see the exception (perhaps the caller is catching it but not reporting it?). This will at least let you know if there's some more fundamental problem. You can even do it for all of the classes in WEB-INF with an entry like; grant codeBase "file:/webapp-path/WEB-INF/lib/-" { permission java.security.AllPermission; }; Good luck. I know this will be hard to fix if it's not the security problem since RMIClassLoader is part of the java.rmi package, and you'll never be able to get that to load from the classloader created for your web app. David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Tomcat as NT Service Error!!
I am having the same problem. Does any one have an answer for it? Thanks. -Original Message- From: Serra Giovanni [mailto:[EMAIL PROTECTED]] Sent: Monday, February 26, 2001 5:44 AM To: '[EMAIL PROTECTED]' Subject: Tomcat as NT Service Error!! Hi all, I am trying to set up Tomcat as a Nt Service but i always got the same error!! it is : The service_name is starting. The service_name service could not be started. The service did not report an error. More help is available by typing NET HELPMSG 3534. what i've done is : 1. open a dos window 2. jk_nt_service -i service_name wrapper.properties (after modified it) 3. net start service_name I am working on win 2k professional I read lot of mailing list and lot of peoples answered that it's a 1.3 jdk bug. I tried with 1.2 and it's the same!! I CANT START THE SERVICE !! Can anyone help please.. thanks a lot !! Giovanni - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re[2]: Tomcat as NT Service Error!!
Hello Mimi, I just compited the same operation on two machins. Everything works OK. What messages do you get in DOS window after BM 2. jk_nt_service -i service_name wrapper.properties (after modified it) command? Do you have Tomcat as standalone application now? Andrey. Monday, March 12, 2001, 1:01:38 PM, you wrote: BM I am having the same problem. Does any one have an answer for it? BM Thanks. BM -Original Message- BM From: Serra Giovanni [mailto:[EMAIL PROTECTED]] BM Sent: Monday, February 26, 2001 5:44 AM BM To: '[EMAIL PROTECTED]' BM Subject: Tomcat as NT Service Error!! BM Hi all, BM I am trying to set up Tomcat as a Nt Service but i always got the same BM error!! BM it is : BM The service_name is starting. BM The service_name service could not be started. BM The service did not report an error. BM More help is available by typing NET HELPMSG 3534. BM what i've done is : BM 1. open a dos window BM 2. jk_nt_service -i service_name wrapper.properties (after modified it) BM 3. net start service_name BM I am working on win 2k professional BM I read lot of mailing list and lot of peoples answered that it's a 1.3 jdk BM bug. BM I tried with 1.2 and it's the same!! BM I CANT START THE SERVICE !! BM Can anyone help please.. BM thanks a lot !! BM Giovanni BM - BM To unsubscribe, e-mail: [EMAIL PROTECTED] BM For additional commands, email: [EMAIL PROTECTED] BM - BM To unsubscribe, e-mail: [EMAIL PROTECTED] BM For additional commands, email: [EMAIL PROTECTED] -- Best regards, Andreymailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re[2]: Tomcat as NT Service Error!!
Hello Mimi, Also you need to define full path to the wrapper.properties file. jk_nt_service -i service_name c:\my_files\wrapper.properties -- Best regards, Andreymailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Tomcat as NT Service Error!!
Title: RE: Tomcat as NT Service Error!! Check your tomcat_home and java_home settings in wrapper.properties -Original Message- From: Balcom, Mimi [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 12:02 PM To: '[EMAIL PROTECTED]' Subject: RE: Tomcat as NT Service Error!! I am having the same problem. Does any one have an answer for it? Thanks. -Original Message- From: Serra Giovanni [mailto:[EMAIL PROTECTED]] Sent: Monday, February 26, 2001 5:44 AM To: '[EMAIL PROTECTED]' Subject: Tomcat as NT Service Error!! Hi all, I am trying to set up Tomcat as a Nt Service but i always got the same error!! it is : The service_name is starting. The service_name service could not be started. The service did not report an error. More help is available by typing NET HELPMSG 3534. what i've done is : 1. open a dos window 2. jk_nt_service -i service_name wrapper.properties (after modified it) 3. net start service_name I am working on win 2k professional I read lot of mailing list and lot of peoples answered that it's a 1.3 jdk bug. I tried with 1.2 and it's the same!! I CANT START THE SERVICE !! Can anyone help please.. thanks a lot !! Giovanni - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Tomcat 3.1 and iPlanet 4.1 Integration
I am running iPlanet 4.1 on Solaris 2.8. I need to use the Tomcat servlet engine instead of the native iPlanet servlet engine. Is there documentation that explains how to route Servlet/JSP requests to Tomcat instead of iPlanet? Thanks John Nelson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Beans with Tomcat 3.2.1
Please help, Have installed Tomcat 3.2.1 successfully on W2K and all examples work fine. JSPs and servlets that we create also are hunky dory. The problem - beans do not work for me. I reference the bean in the JSP in the usual way (have tried it with and without the import): %@ page import = icegroup.beans.MyBean % jsp:usebean id=mytestbean class=icegroup.beans.MyBean/ jsp:getProperty name=mytestbean property=mystring/ The error that results when I run the JSP is: org.apache.jasper.JasperException: Attempted a bean operation on a null object. I have the bean class in my WEB-INF\classes directory (have also tried it in WEB-INF\classes\icegroup\beans). Have also tried setting the CLASSPATH directly to the class folder in the Tomcat startup script. ( The bean code is shown below for completeness. ) I have been digging into docs and forums for a couple of days on this one so your ideas and help are greatly appreciated. Thanks, Rick Palmer IceGroup, Inc. ... package icegroup.beans; public class MyBean implements java.io.Serializable { private int myint; private String mystring; public MyBean() { myint = 1; mystring = MyBean Generated String; } public int getMyint() { return myint; } public void setMyint(int i) { myint = i; } public String getMystring() { return mystring; } public void setMystring(String s) { mystring = s; } }