Re: Connection Pooling
hi, take a look at PoolMan, its a nice generic implementation for datasources, special for jdbc-derived ones like Connections. the url is: http://poolman.sourceforge.net/ by the way: this implementaion was mentioned in the very helpful book: 'Profession JSP' from wrox bAs T. "Carlos Lpez M." wrote: Hi I want to implement conection pooling with jsp. I have alreary read something about it. I khow i could make a servlet a load it on startup but to be honest i dont have a clue about where to find info on this. Could anybody point me in a right direction, and where can i find examples. I have Apache, Tomcat, and Sybase Runing already. 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]
Re: plain text login
If I understand what you're saying, the login.jsp page will include a form with two input elements, username and password, and a submit button. The action attribute will be verify.jsp. And what you're worried about is somebody skipping the login.jsp page and going straight to verify.jsp. First of all, if someone tries to go directly to verify.jsp, you're still going toi check the username and password elements which will return null if they didn't use login.jsp or otherwise fake the post. That's your first clue. If the fields are not null, then you're going to validate the user before presenting the rest of the page, so there's no problem there. If the issue is pages after verify.jsp, you can either create a session or simply create a cookie. Choosing between the two mechanisms should be pretty straight forward. If you're doing session kinds of things like an e-commerce shopping cart, for example, then create a session. But if each successive page, each get and post, etc, is really independent of all the others, such as authenticating prior to viewing a document archive, than a simple cookie will do. And in this latter scenario, if you need an inactivity timneout, use two cookies. One is a persistent cookie with max age set (persistence is implied whenever max age is a positive value). The other cookie should be a non-persistent ccokie to assure that the user has to log back in again if he or she restarts the browser (otherwise, if the machine running the browser is in some sort of public kiosk, somebody coming up to use it right after the authenticated user quit the browser and left, would be able to re-invoke the browser and take advantage of the persistent cookie which might not have timed out yet). -- Rob --On Monday, March 05, 2001 07:24:28 PM -0800 Ryan [EMAIL PROTECTED] wrote: To make things easier, I want to make a plain text login page called login.jsp that contains a form with fields to enter username and password. Then I will submit the info to a verify page (verify.jsp) that checks to see if the username and password combination matches that which is stored in a mySQL database. I was wondering how to keep only valid users from being able to access verify.jsp. meaning not just anyone could login into http://localhost/verify.jsp. Would a session variable be the best way to do this? Where I would store the IP of the client and a special generated ID that would be saved in the session object and appened to the url. Does this sound like a reasonable way of approaching the problem. If so, I don't see the specs for a 'Session' object and how do I obtain the IP of the client? thanx -ryan _ _ _ _ __ _ _ _ _ /\_\_\_\_\/\_\ /\_\_\_\_\_\ /\/_/_/_/_/ /\/_/ \/_/_/_/_/_/ QUIDQUID LATINE DICTUM SIT, /\/_/__\/_/ __/\/_//\/_/ PROFUNDUM VIDITUR /\/_/_/_/_/ /\_\ /\/_//\/_/ /\/_/ \/_/ /\/_/_/\/_//\/_/ (Whatever is said in Latin \/_/ \/_/ \/_/_/_/_/ \/_/ appears profound) Rob Tanner McMinnville, Oregon [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Include files in Tomcat and Apache
hi , I have apache 1.3.14 ( with Jserv) and Tomcat 3.2.1 running in the same machne on linux. All the html and images are in apache, All the Jsp and Servlets are in tomcat Here i have one problem . I have a jsp called login.jsp which has an include statement like %@ include file="http://127.0.0.1/static/msFoot1.html" % or %@ include file="http://abdullah/static/msFoot1.html" % when i call this login.jsp , i am getting the following exception Internal Servlet Error: org.apache.jasper.compiler.CompileException: /usr/local/jakarta-tomcat-3.2.1/webapps/Oilgrains/jsp/ login.jsp(9,0) Bad file argument to include at java.lang.Throwable.(Throwable.java:96) at java.lang.Exception.(Exception.java:44) at javax.servlet.ServletException.(ServletException.java:107) at org.apache.jasper.JasperException.(JasperException.java:73) at org.apache.jasper.compiler.CompileException.(CompileException.java:73) at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:730) at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:116) at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:215) at org.apache.jasper.compiler.Parser.parse(Parser.java:1077) at org.apache.jasper.compiler.Parser.parse(Parser.java:1042) at org.apache.jasper.compiler.Parser.parse(Parser.java:1038) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:182) 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:853) 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.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166) 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:498) please ,anyone can help me? Thanks Abdullah - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re:Wanted: 'mod_jk.so' for *Mandrake* Linux!
You have it in attachment. BTW it is ease to compile, -get tomcat source -go to $tomcat_src/src/native/apache1.3 -here you have Makefile.linux, copy that file to Makefile -type make -if you have gcc properly installed you should get mod_jk.so anyway i send it to you. Tomasz Sucharzewski ING Bank Reply Separator Subject:Wanted: 'mod_jk.so' for *Mandrake* Linux! Author: [EMAIL PROTECTED] Date: 01-03-06 22:25 Hi, Having read tons of entries in the list, I now have the clear impression, that the Linux binary 'mod_jk.so' found on apache.org is known not to work on a Mandrake Linux, only a RedHat Linux box... If anyone have a 'mod_jk.so' working on a Mandrake 7.1/7.x Linux with Tomcat 3.2.1 and Apache 1.3.x, then PLEASE drop me a copy of this binary at mailto:[EMAIL PROTECTED] ! Morten Sabroe Mortensen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - ATTENTION: The information in this electronic mail message is private and confidential, and only intended for the addressee. Should you receive this message by mistake, you are hereby notified that any disclosure, reproduction, distribution or use of this message is strictly prohibited. Please inform the sender by reply transmission and delete the message without copying or opening it. Messages and attachments are scanned for all viruses known. If this message contains password-protected attachments, the files have NOT been scanned for viruses by the ING mail domain. Always scan attachments before opening them. - Unknown data type - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Form Based Authentication with Encryption
Hi Amit, I'm using 3.2 so details may vary. What you want to do is write your own authentication module. Easier than it sounds. Just take a copy of the authentication module you are using (SimpleRealm?) to use as a base for your own code. Add in the functionality you want, compile and include in TOMCAT_HOME/lib/webserver.jar Edit server.xml to use your custom authentication module. Also, I'd recommend you look at JDBCRealm so that you can store usernames and passwords in a database. Quite apart from the other advantages you may then be able to take advantage of the db's encryption facilities (e.g. MySql's Password function) and save yourself the bother of writing your own. Hope this helps Andrew On Wed, 07 Mar 2001, you wrote: Hi All, I'm using tomcat 4.0 Beta1. I successfully tested out the form based authentication provided with tomcat. But , the main problem with it is : It uses plain text to store users,roles and passwords in the "tomcat-users.xml" file placed in TOMCAT_HOME\conf. Is there any plugin for tomcat to encrypt the passwords stored in this file ? or is there any round-about to do so. Thanking you in advance. With Regards, -Amit E-Mail:[EMAIL PROTECTED] Sansui Software Pvt. Ltd.,Pune Content-Type: text/html; name="unnamed" Content-Transfer-Encoding: quoted-printable Content-Description: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: server.xml docs written (GOOD STUFF!)
Go for it! Un saludo, Alex. Mike Slinn wrote: Kevin: I've also started some docs on JDBC realms at http://www.mslinn.com/sites/tomcat/jdbcRealm.html Again, if anyone has corrections or suggestions I am most happy to incorporate them. I am planning to write up web.xml next. Thanks for the encouragement! Mike Slinn Message-ID: 1af001c0a668$cf4d8eb0$1659aac7@ktmcdonald This is really good stuff - maybe the internal Tomcat developers could help proof read and update this doc? The next step would be web.xml? Keep up the good work! Thanx, Kevin I've written up some documentation based on all the information I could find about server.xml at http://www.mslinn.com/sites/tomcat/server.xml.html I'm still writing, but if anyone would like to provide me comments, suggestions, improvements, samples, etc. please contact me via the email address on the web page. Mike Slinn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Pleas help: error strarting tomcat service on win32
Error when I strart tomcan service on Windows NT4 and Windows 2000 C:\jakarta-tomcat\bin\win32\i386jk_nt_service -i Jakarta c:\jakarta-tomcat\conf \wrapper.properties Asked (and given) winsock 1.1 The service named Jakarta was created. Now adding registry entries Registry values were added If you have already updated wrapper.properties you may start the Jakarta service by executing "net start Jakarta" from the command prompt C:\jakarta-tomcat\bin\win32\i386net start Jakarta The Jakarta service is starting. The Jakarta service could not be started. The service did not report an error. More help is available by typing NET HELPMSG 3534. C:\jakarta-tomcat\bin\win32\i386net helpmsg 3534 The service did not report an error. EXPLANATION The service did not report an error. ACTION Try the task later. If the problem persists, contact your network administrator. C:\jakarta-tomcat\bin\win32\i386 Thanks for advice. Johnny - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Tomcat 4.0 Beta 1 Tomcat 4.0 Beta 1 shipped with J2SDKEE 1.3 Beta
I tried to deploy a web application (html + servlets) to the tomcat webcontainer shipped with the j2sdkee 1.3 beta. The static html part works fine but the mapping for the servlet doesn't work (container doesn't find any servlets). I did the same with the tomcat 4.0 beta 1 version downloaded at jakarta.apache.org and everything even the servlet stuff works Are there any known bugs/pitfalls in the j2sdkee 1.3 beta reference implementation ? Markus -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Pleas help: error strarting tomcat service on win32
Did you edit the 'wrapper.properties' according to your tomcat home and java home ? In my case, that was the cause of the error shown below. "Duplák, Ján"[EMAIL PROTECTED]([EMAIL PROTECTED])´ÔÀÌ ¾²½Å ±ÛÀÔ´Ï´Ù. Error when I strart tomcan service on Windows NT4 and Windows 2000 C:\jakarta-tomcat\bin\win32\i386jk_nt_service -i Jakarta c:\jakarta-tomcat\conf \wrapper.properties Asked (and given) winsock 1.1 The service named Jakarta was created. Now adding registry entries Registry values were added If you have already updated wrapper.properties you may start the Jakarta service by executing "net start Jakarta" from the command prompt C:\jakarta-tomcat\bin\win32\i386net start Jakarta The Jakarta service is starting. The Jakarta service could not be started. The service did not report an error. More help is available by typing NET HELPMSG 3534. C:\jakarta-tomcat\bin\win32\i386net helpmsg 3534 The service did not report an error. EXPLANATION The service did not report an error. ACTION Try the task later. If the problem persists, contact your network administrator. C:\jakarta-tomcat\bin\win32\i386 Thanks for advice. Johnny - 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
On Wed, 07 Mar 2001 00:54:34 -0800, Rob Tanner wrote: If the issue is pages after verify.jsp, you can either create a session or simply create a cookie. Choosing between the two mechanisms should be pretty straight forward. If you're doing session kinds of things like an e-commerce shopping cart, for example, then create a session. But if each successive page, each get and post, etc, is really independent of all the others, such as authenticating prior to viewing a document archive, than a simple cookie will do. Hmm.. And what do I check this cookie coming from the browser against? I mean i can't just check to see if ANY coocie is ther, i need to check for a particular value their.. I'm pretty intrested in this not-using sessions approach, but I can not understand it.. Please, Rob, could you tell more on this? Best regards, Tagunov Anthony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
XSQL on tomcat
Hi all, I'm using Tomcat 3.2.1 and Apache 1.3.17 on a Windows NT4.0 OS. Apache is connected to Tomcat with the mod_jk. Everything is working fine. For submitting queries to a database I'm using the oracle XSQL servlet. XSQL pages have an extension .xsql. If I include this line in httpd.conf: JkMount /xsql/*.xsql ajp12 Everything works. If I browse to http://host/xsql, I'm getting the test page. Is it possible to make Tomcat generate the line: "JkMount /xsql/*.xsql ajp12" automatically, so I can omit this line and just include the mod_jk.conf-auto thanks, Kenneth Westelinck _ 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: Form Based Authentication with Encryption
Thanks Andrew, But,I'm using XML to store my whole data (this is requirement of the product) We are not at all using any database. So with this regard,would u like to comment something more ? Also can usuggest some resource for :creating my own cutomized "authentication module" ? Thanks in advance. Regards, -Amit. - Original Message - From: Andrew Robson To: [EMAIL PROTECTED] Sent: Wednesday, March 07, 2001 3:37 PM Subject: Re: Form Based Authentication with Encryption Hi Amit, I'm using 3.2 so details may vary.What you want to do is write your own authentication module.Easier than it sounds. Just take a copy of the authentication module youare using (SimpleRealm?) to use as a base for your own code. Add inthe functionality you want, compile and include in TOMCAT_HOME/lib/webserver.jarEdit server.xml to use your custom authentication module.Also, I'd recommend you look at JDBCRealm so that you can store usernamesand passwords in a database. Quite apart from the other advantages you maythen be able to take advantage of the db's encryption facilities (e.g. MySql'sPassword function) and save yourself the bother of writing your own.Hope this helpsAndrewOn Wed, 07 Mar 2001, you wrote: Hi All, I'm using tomcat 4.0 Beta1. I successfully tested out the form based authentication provided with tomcat. But , the main problem with it is : It uses plain text to store users,roles and passwords in the "tomcat-users.xml" file placed in TOMCAT_HOME\conf. Is there any plugin for tomcat to encrypt the passwords stored in this file ? or is there any round-about to do so. Thanking you in advance. With Regards, -Amit E-Mail:[EMAIL PROTECTED] Sansui Software Pvt. Ltd.,Pune
RE: getSession(true)
It should only happen the first time you get a session. Its because initalizeing SecureRandom takes that long. If you search the archives there is a -D option that you can use to specify a different Random number generator that might work faster, but be careful. If someone can guess what the valid session ids are at any given time, you open yourself up to very large security attacks. Randy -Original Message- From: Alfredo Solano Martinez [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 06, 2001 8:26 PM To: [EMAIL PROTECTED] Subject: Re: getSession(true) Hi again, I'm in a Debian Linux 2.2 with Blackdown JDK1.3, in a PII-333. Anyway, i'll try 3.2.1. Can you guys please tell me your times? I'll apreciate it in order to choose the server the app will be later on. Thx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
bug or wrong Apache+Tomcat configuration???
Hi all! I've encountered following problem. i have a protected area defined in my web.xml file: security-constraint web-resource-collection web-resource-nameProtected Area/web-resource-name url-pattern/protected/*/url-pattern http-methodDELETE/http-method http-methodGET/http-method http-methodPOST/http-method http-methodPUT/http-method /web-resource-collection auth-constraint role-nametest/role-name role-namedevelope/role-name role-nameagent/role-name /auth-constraint /security-constraint under /protected I have serveral jsp files and they cannot be accessed without authorization. however html and js files can be easily accessed without authorization, simply by requesting a proper URL (http://mydomain/protected/somefile.html) !! why is that? vVolf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Pleas help: error strarting tomcat service on win32
Yes, I have edited 'wrapper.properties'... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 12:41 PM To: Dupl?, J?; [EMAIL PROTECTED] Subject: Re: Pleas help: error strarting tomcat service on win32 Did you edit the 'wrapper.properties' according to your tomcat home and java home ? In my case, that was the cause of the error shown below. "Dupl?, J?"[EMAIL PROTECTED]([EMAIL PROTECTED])´ÔÀÌ ¾²½Å ±ÛÀÔ´Ï´Ù. Error when I strart tomcan service on Windows NT4 and Windows 2000 C:\jakarta-tomcat\bin\win32\i386jk_nt_service -i Jakarta c:\jakarta-tomcat\conf \wrapper.properties Asked (and given) winsock 1.1 The service named Jakarta was created. Now adding registry entries Registry values were added If you have already updated wrapper.properties you may start the Jakarta service by executing "net start Jakarta" from the command prompt C:\jakarta-tomcat\bin\win32\i386net start Jakarta The Jakarta service is starting. The Jakarta service could not be started. The service did not report an error. More help is available by typing NET HELPMSG 3534. C:\jakarta-tomcat\bin\win32\i386net helpmsg 3534 The service did not report an error. EXPLANATION The service did not report an error. ACTION Try the task later. If the problem persists, contact your network administrator. C:\jakarta-tomcat\bin\win32\i386 Thanks for advice. Johnny - 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]
Form-Based Auth and tracking Login Attempts
I am using tomcat 3.2.1 + form-based authentication + jdbcRealm with oracle database. Everything has been configured and works perfect. Now I have a requirement to lock a user account upon 3 consecutive login attempt failures. The user then needs to contact the application administrators to get their account unlocked. I have tried searching this mailing list's archives with no luck. In form-based auth my login.jsp page has a html form that is submitted to j_security_check handled by the container. So I have no control it and so not able to count the number of login failures. Any help appreciated! Rajesh _ 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: Form-Based Auth and tracking Login Attempts
One suggestion might be to modify JDBCRealm so that on unsuccessful login it updates a database field (like NUM_BAD_LOGINS) to one more than it is. Then when the magic number is triggered, you don't allow them to login even with the correct password. When the administrator resets the password, the count is also reset. Its also reset on a valid login. Seems pretty straight forward. If you do this, I would suggest making the number of attempts the user gets a parameter from the server.xml file, then publish the code here - it might get incorporated into the code base. On a side note, these systems always seem to me to not work really well. If you want to create a hassle for another user on the system, you just find out their username (usually public information or easily guessed). Also, it seems to me that honest mistakes (typos) can occur equally in either field (username or password). With a large enough user base, one user's typo might be another user's login name and increase their count. Randy -Original Message- From: Rajesh A [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 8:31 AM To: [EMAIL PROTECTED] Subject: Form-Based Auth and tracking Login Attempts I am using tomcat 3.2.1 + form-based authentication + jdbcRealm with oracle database. Everything has been configured and works perfect. Now I have a requirement to lock a user account upon 3 consecutive login attempt failures. The user then needs to contact the application administrators to get their account unlocked. I have tried searching this mailing list's archives with no luck. In form-based auth my login.jsp page has a html form that is submitted to j_security_check handled by the container. So I have no control it and so not able to count the number of login failures. Any help appreciated! Rajesh _ 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: Form-Based Auth and tracking Login Attempts
Why not implement a unix-style login which gets slower after every duff attempt? -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 1:10 PM To: [EMAIL PROTECTED] Subject: RE: Form-Based Auth and tracking Login Attempts One suggestion might be to modify JDBCRealm so that on unsuccessful login it updates a database field (like NUM_BAD_LOGINS) to one more than it is. Then when the magic number is triggered, you don't allow them to login even with the correct password. When the administrator resets the password, the count is also reset. Its also reset on a valid login. Seems pretty straight forward. If you do this, I would suggest making the number of attempts the user gets a parameter from the server.xml file, then publish the code here - it might get incorporated into the code base. On a side note, these systems always seem to me to not work really well. If you want to create a hassle for another user on the system, you just find out their username (usually public information or easily guessed). Also, it seems to me that honest mistakes (typos) can occur equally in either field (username or password). With a large enough user base, one user's typo might be another user's login name and increase their count. Randy -Original Message- From: Rajesh A [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 8:31 AM To: [EMAIL PROTECTED] Subject: Form-Based Auth and tracking Login Attempts I am using tomcat 3.2.1 + form-based authentication + jdbcRealm with oracle database. Everything has been configured and works perfect. Now I have a requirement to lock a user account upon 3 consecutive login attempt failures. The user then needs to contact the application administrators to get their account unlocked. I have tried searching this mailing list's archives with no luck. In form-based auth my login.jsp page has a html form that is submitted to j_security_check handled by the container. So I have no control it and so not able to count the number of login failures. Any help appreciated! Rajesh _ 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: How do I FTP a file to Tomcat Server from a Java clientprogram?
Looks very good. I will follow it up!. Many thanks. Gan Gounden City of Cape Town Ph (021) 400-2174 Fax (021) 425-1096 Cell 083-63-59-268 e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] 03/07/01 09:46AM Ganasen, You can do this easy by downloading the NetComponents.jar from: http://www.savarese.org/oro/products/NetComponents.html It should be obvious how to use this jar. There's a lot of documentation and examples included. good luck, Kenneth Westelinck From: "Ganasen Gounden" [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: How do I FTP a file to Tomcat Server from a Java client program? Date: Wed, 07 Mar 2001 09:36:58 +0200 Hello I need some sample code or guidance on how to FTP or copy a file to a Windows 2000 or Unix Server from within a Java client program. The client java program reads an ascii input text file, processes each line and then writes it out to a new ascii file using the filereader function. I need to however transfer/ftp this file to a destination server as the next step in the program. I could write a batch file to ftp this file but I would like to contain the whole process within one java program for automation and maintenance benefits. If this is not the appropriate list server for this could you also please suggest which listserver might help me in this regard. Many thanks for your help. Gan Gounden City of Cape Town Ph (021) 400-2174 Fax (021) 425-1096 Cell 083-63-59-268 e-mail: [EMAIL PROTECTED] ** Any unauthorized use and interception of this e-mail is illegal. If this e-mail is not intended for you, you may not copy, distribute or disclose the contents to anyone. This e-mail does not give rise to any binding legal obligations upon the City of Cape Town unless the City of Cape Town subsequently confirms the content in writing non-electronically. This e-mail may be confidential, legally privileged or otherwise protected by law. Unauthorised disclosure or copying of any or all of it may be unlawful. If you receive this e-mail in error please notify the sender and delete the message ** - 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] ** Any unauthorized use and interception of this e-mail is illegal. If this e-mail is not intended for you, you may not copy, distribute or disclose the contents to anyone. This e-mail does not give rise to any binding legal obligations upon the City of Cape Town unless the City of Cape Town subsequently confirms the content in writing non-electronically. This e-mail may be confidential, legally privileged or otherwise protected by law. Unauthorised disclosure or copying of any or all of it may be unlawful. If you receive this e-mail in error please notify the sender and delete the message ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Re:SSL
Thanks I did not see that. - Original Message - From: "Mueller, Franz" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 07, 2001 1:06 AM Subject: Re:SSL Hi Stephane, server.xml file under %TOMCAT_HOME%\conf contains a short but a very good description of all the steps, that are required to setup SSL with Tomcat. I've tried it with Tomcat 3.2.2b1 (+ JDK1.3.1) and it worked great. Best regards, fm - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Mod_jk error
I am getting an error message when starting apache - No such file or directory: Error while opening the workers The message is being issued from mod_jk.so. Has anyone seen this problem and if so what is the resolution. I am running Apache and Tomcat on Red Hat 6.2 LINUX. Thanks much. dj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Tomcat/Apache port number sue
Hi, We got Apache running on port 80, and Tomcat on port 8080. Running http://www.kindserver.com:8080 takes me to the Tomcat example page, and the JSP and JServ pages work ok. When I go to http://www.kindserver.com/examples/servlets/ http://www.kindserver.com/examples/jsp/ all the examples return a document contains no data error. How do I setup Apache so that without the need of the port number in the url, the JServ and JSP pages are handled bij Tomcat corecty. I went trough the install instructions, mailing lists and other documentation, but couldn't find a slid answe:~( rgds Hans Kind - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
tomcat on hp-ux 11.00
Hi, wen I start Tomcat on hp-ux 11.00 he start correctly, bat ven I try to connect this error appear: 2001-03-06 05:28:49 - PoolTcpEndpoint: Endpoint ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8090] ignored exception: java.net.SocketException: Socket closed - java.net.SocketException: Socket closed at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:418) at java.net.ServerSocket.implAccept(ServerSocket.java:240) at java.net.ServerSocket.accept(ServerSocket.java:224) at org.apache.tomcat.service.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:286) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:402) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:479) I'm desperate, can somebody help me? Thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Tomcat 4.0 b1
what is the error that you are receiving? Or is it a 404 error? [EMAIL PROTECTED] wrote: Please help me someone, I try to run TOmcat 4.0b1 on a Win NT machine. But after startup and reaching the Tomcat index page I'm not able to reach the jsp and/or servlets. If anybody ha sexperiance with T4.0b1 please reply Thanks Kai - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] begin:vcard n:; x-mozilla-html:FALSE org:BRIMG SRC="http://www.irista.com/logo/irista.gif"BRBRFONT Color=#80FONT SIZE=2BBringing Vision to Your Supply Chain adr:;; version:2.1 end:vcard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Please Help On Static Reference ........
Hi all, I was wondering could someoone please help me with this error im getting. Im trying to output a value saved from a previous page in a text box in a new page using the JSP command: INPUT TYPE="TEXT" NAME="price" SIZE="0" VALUE="%=parkingPriceHandler.getPrice()%" The function getPrice() is defined in parkingPriceHandler. This is the error i get: "Can't make static reference to method java.lang.String getPrice() in class parkingPrice.parkingPricehandler." Error: 500 Location: /project/jsp/view_parking_cost.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSPC:\tomcat\work\localhost_8080%2Fproject\_0002fjsp_0002fview_0005fparking_0005fcost_0002ejspview_0005fparking_0005fcost_jsp_30.java:94: Can't make static reference to method java.lang.String getPrice() in class parkingPrice.parkingPricehandler. out.print(parkingPricehandler.getPrice() ); ^ 1 error at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code) at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java, Compiled Code) at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java, Compiled Code) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java, Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java, Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java, Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java, Compiled Code) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.Handler.service(Handler.java, Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java, Compiled Code) at org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled Code) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java, Compiled Code) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java, Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java, Compiled Code) at java.lang.Thread.run(Thread.java, Compiled Code) Whats the Story with Static Referencing??? Please please help coz my project is due up very soon and Im dead confused, Thanks a million in advance. _ 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/Apache port number sue
Hans Kind wrote: Hi, We got Apache running on port 80, and Tomcat on port 8080. Running http://www.kindserver.com:8080 takes me to the Tomcat example page, and the JSP and JServ pages work ok. When I go to http://www.kindserver.com/examples/servlets/ http://www.kindserver.com/examples/jsp/ all the examples return a document contains no data error. How do I setup Apache so that without the need of the port number in the url, the JServ and JSP pages are handled bij Tomcat corecty. I went trough the install instructions, mailing lists and other documentation, but couldn't find a slid answe:~( rgds Hans Kind - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] Hans, You need to get and install the appropriate apache module; porbably mod_jk . There are Mod_jk faqs available on the jakarta site. Cant really tell you more without details about you apache, tomcat versions and your system. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
AW: Tomcat 4.0 b1
See error message below A Servlet Exception Has Occurred Exception Report: javax.servlet.ServletException: Filter execution threw an exception at javax.servlet.ServletException.(ServletException.java:132) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:197) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:251) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:196) at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:464) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2041) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161 ) at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:414) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :159) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java( Compiled Code)) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java(Comp iled Code)) at java.lang.Thread.run(Thread.java:481) Root Cause: java.lang.IncompatibleClassChangeError: class org.apache.catalina.connector.http.HttpRequestImpl does not implement interface javax.servlet.ServletRequest at filters.ExampleFilter.doFilter(ExampleFilter.java:134) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:180) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:251) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:196) at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:464) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2041) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161 ) at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:414) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :159) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java( Compiled Code)) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java(Comp iled Code)) at java.lang.Thread.run(Thread.java:481) -Ursprngliche Nachricht- Von: Peter Alfors [mailto:[EMAIL PROTECTED]] Gesendet am: Mittwoch, 7. Mrz 2001 15:39 An: [EMAIL PROTECTED] Betreff: Re: Tomcat 4.0 b1 what is the error that you are receiving? Or is it a 404 error? [EMAIL PROTECTED] wrote: Please help me someone, I try to run TOmcat 4.0b1 on a Win NT machine. But after startup and reaching the Tomcat index page I'm not able to reach the jsp and/or servlets. If anybody ha sexperiance with T4.0b1 please reply Thanks Kai - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Build errors on Solaris 2.8
When compiling Tomcat 3.2.1 on Solaris 2.8 using buid.sh, I get the following errors. What am I doing wrong? tomcat: [javac] Compiling 6 source files to /export/home/work/build/tomcat/classes [javac] /export/home/work/jakarta-tomcat-3.2.1-src/src/share/org/apache/jasper/runti me/JspFactoryImpl.java:93: class org.apache.jasper.runtime.PageContextImpl is an abstract class. It can't be instantiated. [javac] if( pc == null ) pc= new PageContextImpl(this); [javac] ^ [javac] /export/home/work/jakarta-tomcat-3.2.1-src/src/share/org/apache/jasper/runti me/JspFactoryImpl.java:95: class org.apache.jasper.runtime.PageContextImpl is an abstract class. It can't be instantiated. [javac] pc = new PageContextImpl(this); [javac] ^ [javac] /export/home/work/jakarta-tomcat-3.2.1-src/src/share/org/apache/jasper/runti me/PageContextImpl.java:99: class org.apache.jasper.runtime.PageContextImpl must be declared abstract. It does not define void handlePageException(java.lang.Throwable) from class javax.servlet.jsp.PageContext. [javac] public class PageContextImpl extends PageContext { [javac] ^ [javac] /export/home/work/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facad e/HttpServletRequestFacade.java:83: class org.apache.tomcat.facade.HttpServletRequestFacade must be declared abstract. It does not define void setCharacterEncoding(java.lang.String) from interface javax.servlet.ServletRequest. [javac] final class HttpServletRequestFacade implements HttpServletRequest { [javac] ^ [javac] /export/home/work/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facad e/HttpServletRequestFacade.java:83: class org.apache.tomcat.facade.HttpServletRequestFacade must be declared abstract. It does not define java.lang.StringBuffer getRequestURL() from interface javax.servlet.http.HttpServletRequest. [javac] final class HttpServletRequestFacade implements HttpServletRequest { [javac] ^ [javac] /export/home/work/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facad e/HttpServletRequestFacade.java:83: class org.apache.tomcat.facade.HttpServletRequestFacade must be declared abstract. It does not define java.util.Map getParameterMap() from interface javax.servlet.ServletRequest. [javac] final class HttpServletRequestFacade implements HttpServletRequest { [javac] ^ [javac] /export/home/work/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facad e/HttpServletResponseFacade.java:84: class org.apache.tomcat.facade.HttpServletResponseFacade must be declared abstract. It does not define void resetBuffer() from interface javax.servlet.ServletResponse. [javac] final class HttpServletResponseFacade implements HttpServletResponse [javac] ^ [javac] /export/home/work/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facad e/ServletContextFacade.java:82: class org.apache.tomcat.facade.ServletContextFacade must be declared abstract. It does not define java.util.Set getResourcePaths() from interface javax.servlet.ServletContext. [javac] final class ServletContextFacade implements ServletContext { [javac] ^ [javac] /export/home/work/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facad e/ServletContextFacade.java:82: class org.apache.tomcat.facade.ServletContextFacade must be declared abstract. It does not define java.lang.String getServletContextName() from interface javax.servlet.ServletContext. [javac] final class ServletContextFacade implements ServletContext { [javac] ^ [javac] /export/home/work/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facad e/SimpleFacadeManager.java:103: class org.apache.tomcat.facade.ServletContextFacade is an abstract class. It can't be instantiated. [javac] return new ServletContextFacade(ctx.getContextManager() , ctx); [javac]^ [javac] /export/home/work/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facad e/SimpleFacadeManager.java:109: class org.apache.tomcat.facade.HttpServletRequestFacade is an abstract class. It can't be instantiated. [javac] return new HttpServletRequestFacade(req); [javac]^ [javac] /export/home/work/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facad e/SimpleFacadeManager.java:115: class org.apache.tomcat.facade.HttpServletResponseFacade is an abstract class. It can't be instantiated. [javac] return new HttpServletResponseFacade(res); [javac]^ [javac] Note: 2 files use or override a deprecated API. Recompile with "-deprecation" for details. [javac] 12 errors, 1 warning BUILD FAILED /export/home/work/jakarta-tomcat-3.2.1-src/build.xml:94: Compile failed, messages should have been provided. Total time: 7 seconds Thank you, David Peterson Supervisor, NOC www.cybersensor.com Tel: 615.860.8750 Fax:
RE: Please Help On Static Reference ........
Is parkingPriceHandler an instantiated object or a class? -Original Message- From: Mick Sullivan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 2:48 PM To: [EMAIL PROTECTED] Subject: Please Help On Static Reference Hi all, I was wondering could someoone please help me with this error im getting. Im trying to output a value saved from a previous page in a text box in a new page using the JSP command: INPUT TYPE="TEXT" NAME="price" SIZE="0" VALUE="%=parkingPriceHandler.getPrice()%" The function getPrice() is defined in parkingPriceHandler. This is the error i get: "Can't make static reference to method java.lang.String getPrice() in class parkingPrice.parkingPricehandler." Error: 500 Location: /project/jsp/view_parking_cost.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSPC:\tomcat\work\localhost_8080%2Fproject\_0002fjsp_0002fview_0005fparking_ 0005fcost_0002ejspview_0005fparking_0005fcost_jsp_30.java:94: Can't make static reference to method java.lang.String getPrice() in class parkingPrice.parkingPricehandler. out.print(parkingPricehandler.getPrice() ); ^ 1 error at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code) at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java, Compiled Code) at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java, Compiled Code) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java, Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java, Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va, Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java, Compiled Code) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.Handler.service(Handler.java, Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java, Compiled Code) at org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled Code) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java, Compiled Code) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java, Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java, Compiled Code) at java.lang.Thread.run(Thread.java, Compiled Code) Whats the Story with Static Referencing??? Please please help coz my project is due up very soon and Im dead confused, Thanks a million in advance. _ 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]
Is there a target date for Tomcat 4.0 release
Sorry if this is in a FAQ. Is there a target date for the 4.0 release? Thank you Tom Ayerst -- If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ or contact the sender. -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Please Help On Static Reference ........
It is a class, a very basic one at that Here it is: package parkingPrice; public class parkingPricehandler{ private String thePrice; public parkingPricehandler() { //thePrice = null; } public void setPrice( String price ) { thePrice = price; } public String getPrice() { return thePrice; } } Any ideas? Original Message Follows From: "Samson, Lyndon [IT]" [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] Subject: RE: Please Help On Static Reference Date: Wed, 7 Mar 2001 14:57:58 - Is parkingPriceHandler an instantiated object or a class? -Original Message- From: Mick Sullivan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 2:48 PM To: [EMAIL PROTECTED] Subject: Please Help On Static Reference Hi all, I was wondering could someoone please help me with this error im getting. Im trying to output a value saved from a previous page in a text box in a new page using the JSP command: INPUT TYPE="TEXT" NAME="price" SIZE="0" VALUE="%=parkingPriceHandler.getPrice()%" The function getPrice() is defined in parkingPriceHandler. This is the error i get: "Can't make static reference to method java.lang.String getPrice() in class parkingPrice.parkingPricehandler." Error: 500 Location: /project/jsp/view_parking_cost.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSPC:\tomcat\work\localhost_8080%2Fproject\_0002fjsp_0002fview_0005fparking_ 0005fcost_0002ejspview_0005fparking_0005fcost_jsp_30.java:94: Can't make static reference to method java.lang.String getPrice() in class parkingPrice.parkingPricehandler. out.print(parkingPricehandler.getPrice() ); ^ 1 error at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code) at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java, Compiled Code) at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java, Compiled Code) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java, Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java, Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va, Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java, Compiled Code) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.Handler.service(Handler.java, Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java, Compiled Code) at org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled Code) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java, Compiled Code) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java, Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java, Compiled Code) at java.lang.Thread.run(Thread.java, Compiled Code) Whats the Story with Static Referencing??? Please please help coz my project is due up very soon and Im dead confused, Thanks a million in advance. _ 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] _ 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: Please Help On Static Reference ........
You have to either make the method a static one, or instantiate an instance of your class to call the method. Jin -Original Message- From: Mick Sullivan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 10:20 AM To: [EMAIL PROTECTED] Subject: RE: Please Help On Static Reference It is a class, a very basic one at that Here it is: package parkingPrice; public class parkingPricehandler{ private String thePrice; public parkingPricehandler() { //thePrice = null; } public void setPrice( String price ) { thePrice = price; } public String getPrice() { return thePrice; } } Any ideas? Original Message Follows From: "Samson, Lyndon [IT]" [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] Subject: RE: Please Help On Static Reference Date: Wed, 7 Mar 2001 14:57:58 - Is parkingPriceHandler an instantiated object or a class? -Original Message- From: Mick Sullivan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 2:48 PM To: [EMAIL PROTECTED] Subject: Please Help On Static Reference Hi all, I was wondering could someoone please help me with this error im getting. Im trying to output a value saved from a previous page in a text box in a new page using the JSP command: INPUT TYPE="TEXT" NAME="price" SIZE="0" VALUE="%=parkingPriceHandler.getPrice()%" The function getPrice() is defined in parkingPriceHandler. This is the error i get: "Can't make static reference to method java.lang.String getPrice() in class parkingPrice.parkingPricehandler." Error: 500 Location: /project/jsp/view_parking_cost.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSPC:\tomcat\work\localhost_8080%2Fproject\_0002fjsp_0002fview _0005fparking_ 0005fcost_0002ejspview_0005fparking_0005fcost_jsp_30.java:94: Can't make static reference to method java.lang.String getPrice() in class parkingPrice.parkingPricehandler. out.print(parkingPricehandler.getPrice() ); ^ 1 error at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code) at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java, Compiled Code) at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java, Compiled Code) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java, Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfN ecessary(JspSe rvlet.java, Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service (JspServlet.ja va, Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java, Compiled Code) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.Handler.service(Handler.java, Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.ContextManager.internalService(ContextM anager.java, Compiled Code) at org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled Code) at org.apache.tomcat.service.http.HttpConnectionHandler.processCo nnection(HttpC onnectionHandler.java, Compiled Code) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java, Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java, Compiled Code) at java.lang.Thread.run(Thread.java, Compiled Code) Whats the Story with Static Referencing??? Please please help coz my project is due up very soon and Im dead confused, Thanks a million in advance. __ ___ 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] _ 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,
Re: Please Help On Static Reference ........
errmm.. you can't access an instance method statically .. You'll have to create a parkingPricehandler object (instance) first .. then use that to reference the instance method Anuj. Mick Sullivan wrote: It is a class, a very basic one at that - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Shutdown problem red-hat 6.2
Hi ! We are running tomcat 3.2 and IBMJava2 SDK 1.3 on an Intel Red Hat 6.2 machine with Apache 1.3.12 and mod_jserv. When shutdown.sh is called, it is very rare that the contexts are removed and java processes are still running for some minutes. Sometimes they don't disappear at all and have to be removed manually with kill. If you try to startup, it won't work because these processes are still running. Sometimes startup does not work even though no tomcat-java processes exist. Tomcat receives the request (there is no Internal Server Error as it occures when tomcat is not running) but does not deliver anything. Does anybody have an idea how to solve this problems? Thanx for your help, Peter. -- Mag. Peter Hrastnik tele.ring Telekom Service GmbH A-1030 Wien, Hainburgerstr. 33 Tel.: +43/1/931012-3277 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Please Help On Static Reference ........
Hi Jin Thanks for replying How do I actually do that? Im kinda new to JSP so bear with me here. I have done the following to the bean (made it static) package parkingPrice; public class parkingPricehandler{ private static String thePrice; public parkingPricehandler() { //thePrice = null; } public void setPrice( String price ) { thePrice = price; } static public String getPrice() { return thePrice; } } but i still get the same error? Any ideads, thanks , Mick Original Message Follows From: Byung Jin Chun [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] Subject: RE: Please Help On Static Reference Date: Wed, 7 Mar 2001 10:29:02 -0500 You have to either make the method a static one, or instantiate an instance of your class to call the method. Jin -Original Message- From: Mick Sullivan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 10:20 AM To: [EMAIL PROTECTED] Subject: RE: Please Help On Static Reference It is a class, a very basic one at that Here it is: package parkingPrice; public class parkingPricehandler{ private String thePrice; public parkingPricehandler() { //thePrice = null; } public void setPrice( String price ) { thePrice = price; } public String getPrice() { return thePrice; } } Any ideas? Original Message Follows From: "Samson, Lyndon [IT]" [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] Subject: RE: Please Help On Static Reference Date: Wed, 7 Mar 2001 14:57:58 - Is parkingPriceHandler an instantiated object or a class? -Original Message- From: Mick Sullivan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 2:48 PM To: [EMAIL PROTECTED] Subject: Please Help On Static Reference Hi all, I was wondering could someoone please help me with this error im getting. Im trying to output a value saved from a previous page in a text box in a new page using the JSP command: INPUT TYPE="TEXT" NAME="price" SIZE="0" VALUE="%=parkingPriceHandler.getPrice()%" The function getPrice() is defined in parkingPriceHandler. This is the error i get: "Can't make static reference to method java.lang.String getPrice() in class parkingPrice.parkingPricehandler." Error: 500 Location: /project/jsp/view_parking_cost.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSPC:\tomcat\work\localhost_8080%2Fproject\_0002fjsp_0002fview _0005fparking_ 0005fcost_0002ejspview_0005fparking_0005fcost_jsp_30.java:94: Can't make static reference to method java.lang.String getPrice() in class parkingPrice.parkingPricehandler. out.print(parkingPricehandler.getPrice() ); ^ 1 error at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code) at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java, Compiled Code) at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java, Compiled Code) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java, Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfN ecessary(JspSe rvlet.java, Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service (JspServlet.ja va, Compiled Code) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java, Compiled Code) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.Handler.service(Handler.java, Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.ContextManager.internalService(ContextM anager.java, Compiled Code) at org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled Code) at org.apache.tomcat.service.http.HttpConnectionHandler.processCo nnection(HttpC onnectionHandler.java, Compiled Code) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java, Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java, Compiled Code) at java.lang.Thread.run(Thread.java, Compiled Code) Whats the Story with Static Referencing??? Please please help coz my project is due up very soon and Im dead confused, Thanks a million in advance.
Re: Tomcat/Apache port number sue
Hi Chris, mod_jk is installed, it's working with the port 8080 in the URL, see the urls I provided. All is according to the install instructions. I spent hours and hours digging trough the documentation, and mailing list, can't find the answer. It might sound stupid, but I'm unable to make any sence of the documentation regarding this. rgds Hans At 15:47 7-3-01 +0100, you wrote: Hans Kind wrote: Hi, We got Apache running on port 80, and Tomcat on port 8080. Running http://www.kindserver.com:8080 takes me to the Tomcat example page, and the JSP and JServ pages work ok. When I go to http://www.kindserver.com/examples/servlets/ http://www.kindserver.com/examples/jsp/ all the examples return a document contains no data error. How do I setup Apache so that without the need of the port number in the url, the JServ and JSP pages are handled bij Tomcat corecty. I went trough the install instructions, mailing lists and other documentation, but couldn't find a slid answe:~( rgds Hans Kind - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] Hans, You need to get and install the appropriate apache module; porbably mod_jk . There are Mod_jk faqs available on the jakarta site. Cant really tell you more without details about you apache, tomcat versions and your system. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
training opportunity?
Hi, Is there a trainng class for Tomcat new users? We currently have a software that is using Jserv, and we need to change to Tomcat, and port on linux, solaris and NT platforms. Could someone please refer me to a good training class? Please reply to [EMAIL PROTECTED], since I am not a user of this list. Thank you very much in advance! Helen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
shared library directory for TC 4.0b1
Hi, I know this is probably an FAQ but searching the archives I couldn't find any answer. (BTW, I think the search routine on the mikal.org site is broken as I typed in "sdfkjlkersdfualsusdfl" and it returned it's standard 20 items... it's doubtful that "sdfkjlkersdfualsusdfl" is in any of those archived emails). If I have multiple webapps which all need to share a bunch of jars (mail.jar, activation.jar, etc), where do I put these libraries? In older versions of Tomcat, the /lib directory at the root of the tomcat directory worked fine without having to put any classpath directives into the startup scripts, etc. Now when I add "any" jar file to that directory, TC 4.0b1 refuses to start with ContainerBase.addChild: start: LifecycleException: start: : java.lang.IllegalArgumentException: addRepository Internal: java.lang.NullPointerException at org.apache.catalina.loader.StandardLoader.start(StandardLoader.java:5 96) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1136) at org.apache.catalina.core.StandardContext.start(StandardContext.java:2 906) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:81 6) etc... errors in the log file. Also adding jar files to the WEB-INF/lib directory causes 404 errors saying the webapp doesn't exist. If I remove the jar files from the WEB-INF/lib directory and restart it works again. This is all from a stock beta1 download. I didn't change any configuration files and haven't added anything except the test webapp directory. Any help would be appreciated.. Cheers mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Please Help On Static Reference ........
Hi Mick, you should consider whether or not it should really be static within the context of your application, or whether it should be instantiated and held in the session or request, etc. If you really want it to be static, then try: snip // should always uppercase first letter :) public class ParkingPricehandler{ private static String thePrice; public static void setPrice( String price ) { thePrice = price; } public static String getPrice() { return thePrice; } } /snip since you included a constructor, it looks like you are wanting it to be instantiated directly, which you can do by either creating an instance of your class in a code snippet or in a jsp tag and then reference the instance in your html: % parkingPriceHandler pph = new parkingPriceHandler(); pph.setPrice("200"); % ... INPUT TYPE="TEXT" NAME="price" SIZE="0" VALUE="%=pph.getPrice()%" Cheers, Jin -Original Message- From: Mick Sullivan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 10:54 AM To: [EMAIL PROTECTED] Subject: RE: Please Help On Static Reference Hi Jin Thanks for replying How do I actually do that? Im kinda new to JSP so bear with me here. I have done the following to the bean (made it static) package parkingPrice; public class parkingPricehandler{ private static String thePrice; public parkingPricehandler() { //thePrice = null; } public void setPrice( String price ) { thePrice = price; } static public String getPrice() { return thePrice; } } but i still get the same error? Any ideads, thanks , Mick Original Message Follows From: Byung Jin Chun [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] Subject: RE: Please Help On Static Reference Date: Wed, 7 Mar 2001 10:29:02 -0500 You have to either make the method a static one, or instantiate an instance of your class to call the method. Jin -Original Message- From: Mick Sullivan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 10:20 AM To: [EMAIL PROTECTED] Subject: RE: Please Help On Static Reference It is a class, a very basic one at that Here it is: package parkingPrice; public class parkingPricehandler{ private String thePrice; public parkingPricehandler() { //thePrice = null; } public void setPrice( String price ) { thePrice = price; } public String getPrice() { return thePrice; } } Any ideas? Original Message Follows From: "Samson, Lyndon [IT]" [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] Subject: RE: Please Help On Static Reference Date: Wed, 7 Mar 2001 14:57:58 - Is parkingPriceHandler an instantiated object or a class? -Original Message- From: Mick Sullivan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 2:48 PM To: [EMAIL PROTECTED] Subject: Please Help On Static Reference Hi all, I was wondering could someoone please help me with this error im getting. Im trying to output a value saved from a previous page in a text box in a new page using the JSP command: INPUT TYPE="TEXT" NAME="price" SIZE="0" VALUE="%=parkingPriceHandler.getPrice()%" The function getPrice() is defined in parkingPriceHandler. This is the error i get: "Can't make static reference to method java.lang.String getPrice() in class parkingPrice.parkingPricehandler." Error: 500 Location: /project/jsp/view_parking_cost.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSPC:\tomcat\work\localhost_8080%2Fproject\_0002fjsp_0002fview _0005fparking_ 0005fcost_0002ejspview_0005fparking_0005fcost_jsp_30.java:94: Can't make static reference to method java.lang.String getPrice() in class parkingPrice.parkingPricehandler. out.print(parkingPricehandler.getPrice() ); ^ 1 error at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code) at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java, Compiled Code) at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java, Compiled Code) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java, Compiled Code) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfN ecessary(JspSe rvlet.java, Compiled Code) at
appending to existing log on restarts?
Is there some way to get logging to append to existing files rather than starting new ones at startup time? -- Thanks -- Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re:SSL
When I execute the command:¸keytool -genkey -alias tomcat -keyalg RSAI get a keytool error: java.security.NoSuchAlgorithmException: RSA KeyPairGenerator not available Is this because I have a package missing ? - Original Message - From: "Stephane Boffin" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 07, 2001 9:01 AM Subject: Re: Re:SSL Thanks I did not see that. - Original Message - From: "Mueller, Franz" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 07, 2001 1:06 AM Subject: Re:SSL Hi Stephane, server.xml file under %TOMCAT_HOME%\conf contains a short but a very good description of all the steps, that are required to setup SSL with Tomcat. I've tried it with Tomcat 3.2.2b1 (+ JDK1.3.1) and it worked great. Best regards, fm - 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/Apache port number sue
Hans, Normally port 8080 is for tomcat's own web server. So when I connect to http://www.kindserver.com:8080, I get tomcat's default home page from the tomcat web server. Mod_jk works with apache on port 80. First what do your mod_jk.log and tomcat.log and apache error.log files say? Next we need to see the relevant parts of you mod_jk.conf and workers.properties files. WHat kind of system are you running on? Chris Hans Kind wrote: Hi Chris, mod_jk is installed, it's working with the port 8080 in the URL, see the urls I provided. All is according to the install instructions. I spent hours and hours digging trough the documentation, and mailing list, can't find the answer. It might sound stupid, but I'm unable to make any sence of the documentation regarding this. rgds Hans At 15:47 7-3-01 +0100, you wrote: Hans Kind wrote: Hi, We got Apache running on port 80, and Tomcat on port 8080. Running http://www.kindserver.com:8080 takes me to the Tomcat example page, and the JSP and JServ pages work ok. When I go to http://www.kindserver.com/examples/servlets/ http://www.kindserver.com/examples/jsp/ all the examples return a document contains no data error. How do I setup Apache so that without the need of the port number in the url, the JServ and JSP pages are handled bij Tomcat corecty. I went trough the install instructions, mailing lists and other documentation, but couldn't find a slid answe:~( rgds Hans Kind - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] Hans, You need to get and install the appropriate apache module; porbably mod_jk . There are Mod_jk faqs available on the jakarta site. Cant really tell you more without details about you apache, tomcat versions and your system. Chris - 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: SSL
You need to install the jce, or some other provider for RSA. Instructions for unix at http://dawnstar.org/jce. You should be able to adapt the instructions for windows. Let me know if there are any errors, so I can make corrections. -- Travis Low mailto:[EMAIL PROTECTED] http://dawnstar.org/travis Stephane Boffin wrote: When I execute the command:keytool -genkey -alias tomcat -keyalg RSA I get a keytool error: java.security.NoSuchAlgorithmException: RSA KeyPairGenerator not available Is this because I have a package missing ? - Original Message - From: "Stephane Boffin" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 07, 2001 9:01 AM Subject: Re: Re:SSL Thanks I did not see that. - Original Message - From: "Mueller, Franz" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 07, 2001 1:06 AM Subject: Re:SSL Hi Stephane, server.xml file under %TOMCAT_HOME%\conf contains a short but a very good description of all the steps, that are required to setup SSL with Tomcat. I've tried it with Tomcat 3.2.2b1 (+ JDK1.3.1) and it worked great. Best regards, fm - 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]
CLASSPATH for beans different than WEB-INF for JSPs?
I running Tomcat 3.2.1 on Linux and when I look at the Jasper log file it shows a classpath for each JSP page that includes the WEB-INF/classes and all of the jar files in WEB-INF/lib. This is great, but it doesn't seem like that classpath is available to the javabeans that my JSPs use. Does that make sense? Is the classpath only setup for the JSPs (and if not, why does Jasper report the classpath setting for each JSP page invoked?)? I've found that I have to include the same JAR files in the classpath when I start tomcat so that the beans can also find those classes. Is that the only way to do it, or should my beans be able to use the same classpath shown by Jasper built from the WEB-INF contents? David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: shared library directory for TC 4.0b1
Michael Engelhart wrote: Hi, I know this is probably an FAQ but searching the archives I couldn't find any answer. (BTW, I think the search routine on the mikal.org site is broken as I typed in "sdfkjlkersdfualsusdfl" and it returned it's standard 20 items... it's doubtful that "sdfkjlkersdfualsusdfl" is in any of those archived emails). If I have multiple webapps which all need to share a bunch of jars (mail.jar, activation.jar, etc), where do I put these libraries? In older versions of Tomcat, the /lib directory at the root of the tomcat directory worked fine without having to put any classpath directives into the startup scripts, etc. Now when I add "any" jar file to that directory, TC 4.0b1 refuses to start with ContainerBase.addChild: start: LifecycleException: start: : java.lang.IllegalArgumentException: addRepository Internal: java.lang.NullPointerException at org.apache.catalina.loader.StandardLoader.start(StandardLoader.java:5 96) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1136) at org.apache.catalina.core.StandardContext.start(StandardContext.java:2 906) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:81 6) etc... errors in the log file. Also adding jar files to the WEB-INF/lib directory causes 404 errors saying the webapp doesn't exist. If I remove the jar files from the WEB-INF/lib directory and restart it works again. This is all from a stock beta1 download. I didn't change any configuration files and haven't added anything except the test webapp directory. Any help would be appreciated.. Cheers mike Hi :-) when I use jakarta-tomcat-4.0-b1 (standalone, JDK1.3, winnt40), I found: * when I put MyHelper.jar in .../WEB-INF/lib, it works. * when I put MyHelper.jar in: TOMCAT_HOME/lib TOMCAT_HOME/lib/shared TOMCAT_HOME/classes from my work, it doesn't work. * and in tomcat-dev List, I found emails which discuss about the following : - 'TOMCAT_HOME/lib/shared' directory and 'TOMCAT_HOME/lib/apps' directory - modifing main.java of TC so I Just Guess perhaps with the new version of TC, perhaps we will put MyHelper.jar in TOMCAT_HOME/lib/apps: all the jar files in this folder can be used by all webapps(Only shared by all webapps). and I also have a question: from my work, I guess with jakarta-tomcat-4.0-b1 (standalone, JDK1.3, winnt40), CLASSPATH is "disabled", am I right? thanks in advance! Bo Mar.07, 2001 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Can't migrate to 3.2.1 - Number of issues
There seem to be a number of issues with 3.2.1, some of which prevent us from moving to it. Looking for any insight into workarounds, fixes, or strategy (ie wait till 3.3?). From perusing the list, we don't seem to be alone in experiencing these. Unfortunately, I haven't gotten a feel for workarounds or fixes for all of them. Maybe my lack of clue, don't know. Ultimately need to run a production stable environment, so I assume 3.3 and 4.0 are out for now. We truly appreciate the product and work of everyone involved, want to be able to stay current. Thanks. Environment: Apache 1.3.12 Tomcat 3.2.1 (from Tomcat 3.1) Linux RH 6.2 Sun JDK 1.3 Weblogic 510sp8 on Solaris host Problems: 1. ClassNotFoundException trying to connect to a J2EE container (Weblogic) naming directory. Approriate jars are in WEB-INF/lib, works under 3.1. Stack trace included at end of message. Moving jars to CLASSPATH fixes this, but leads to problem number 2. (And it is annoying to have to do this - as complicates management of development, testing, staging and production environments). 2. ClassCastException trying to invoke RMI object (now that we can contact directory, trying to load a Session EJB). No clue how to fix. Stack dump included at end of message. 3. Use of AJP13 leading to Internal Server Errors. Annoying, but problem not a production barrier. 4. Use of AJP13 breaks multipart uploads. (We haven't seen this yet but do rely on multipart uploads for our application, seem to be a lot of posts about this). /**/ 2001-03-06 04:54:55 - Ctx( /account ): Exception in: R( /account + /servlet/login + null) - javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory. Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) 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 java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:195) at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:45) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:655) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246) at javax.naming.InitialContext.init(InitialContext.java:222) at javax.naming.InitialContext.init(InitialContext.java:198) at COM.soundbite.web.account.src.LoginServlet.getInitialContext(LoginServlet.ja va:376) at COM.soundbite.web.account.src.LoginServlet.lookupHome(LoginServlet.java:354) at COM.soundbite.web.account.src.LoginServlet.validateParams(LoginServlet.java: 284) at COM.soundbite.web.account.src.LoginServlet.doPost(LoginServlet.java:189) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 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:79 7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection (Ajp13ConnectionHandler.java:160) 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) // java.lang.ClassCastException at weblogic.iiop.PortableRemoteObjectDelegateImpl.narrow(PortableRemoteObjectDe legateImpl.java:94) at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137) at COM.soundbite.util.EJBUtil.lookupHome(EJBUtil.java:73) at COM.soundbite.web.account.src.LoginServlet.validateParams(LoginServlet.java: 279) at COM.soundbite.web.account.src.LoginServlet.doPost(LoginServlet.java:184) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at
RE: Strange custom class behaviour with subdirs in 3.2.1
At the top of your JSP file, be sure to import StatsBean (i.e. %@ page import="StatsBean" %). Tomcat assumes that all of your webapp is in one package structure, so creating a helpdesk directory causes the generated JSP to have a helpdesk package. I don't know if this is in the spec, but I would imagine so. Anyways, you get your problem because the files in the root are in the default (blank) package, just like your class. Randy -Original Message- From: Scott Tatum [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 10:50 AM To: [EMAIL PROTECTED] Subject: Strange custom class behaviour with subdirs in 3.2.1 First, the obligatory setup info: Tomcat 3.2.1 using built-in webserver changed to port 80. RedHat 6.2 Sun JDK 1.3.0_02 I'm having a strange problem that I did not have while using JRun, and I'm hoping someone can shed some light. The situation is simple - say I have a webapp called blah. In blah's WEB-INF/lib directory I have a jar file with some classes that I use frequently. One of these classes is StatsBean. Then I have all my jsp files in the docBase and I can use the StatsBean fine. I also have a helpdesk directory off of the docBase (i.e. webapps/blah/helpdesk) which also needs to use the StatsBean. If I have a jsp file in the helpdesk directory that tries to declare/use a StatsBean, or any of my custom classes, I get this kind of error: (this example is a webapp called ct-dev whose context path is / and is compiling /helpdesk/helpdesk.jsp) org.apache.jasper.JasperException: Unable to compile class for JSP/usr/tomcat/work/xxx.xxx.xxx.xxx_8080/_0002fhelpdesk_0002fhelpdesk_0002ej sphelpdesk_jsp_0.java:73: Class helpdesk.StatsBean not found. StatsBean statsBean = (StatsBean) session.getAttribute("statsBean"); For some reason it thinks all my classes should be in a helpdesk package because the URI has helpdesk in it. Is this expected behaviour? I did not have this problem in JRun. I would expect to be able to use my classes anywhere in the web application, not just the app root. The problem manifests itself both with classes in the WEB-INF/classes dir, and classes in jars in the WEB-INF/lib dir. I'm certainly not counting out a configuration problem. If I need to post the contents of my configuration files I can. Of course, I don't really even know what all configuration files are used! As far as I can tell, the standalone tomcat only needs server.xml and web.xml. A lot of them seem to be only for mod_jk and/or mod_jserv. It's hard to tell from looking at the mass of config files in the conf directory what is needed by tomcat standalone, tomcat+apache, etc. It would be nice to have a document that explains every file in the conf directory and what it is needed for. That way I could do some cleanup and know that the files I have in there all have something to do with my setup. I have this feeling that several of them are jserv (i.e. not mod_jk) related and could be removed in most situations. Now watch someone point me to just such a file that probably comes with Tomcat. 8-) -Scott -- Scott Tatum | [EMAIL PROTECTED] Senior Applications Developer, Special Projects WorldCom | http://www.wcom.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: saving a file on client's machine using servlets
Below is some code I have written which will take a file that was uploaded from an html page that has the file control on it to a servlet. The servlet then inserts the file into a database, it can be easily modified to save to a disk file. FYI--I use the o'reilley package for working with fileparts within the http header so you will need to download it from o'reilley to get it to work. package sitemanager.shr.upload; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import com.oreilly.servlet.multipart.*; import sitemanager.shr.app.AppManager; import java.sql.*; /** * Description of the Class * *@author Scott F. Walter *@createdFebruary 17, 2001 */ public class UploadContent extends HttpServlet { /** * Description of the Method * *@param request Description of Parameter *@param response Description of Parameter *@exception IOException Description of Exception *@exception ServletException Description of Exception */ public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { } /** * Description of the Method * *@param request Description of Parameter *@param response Description of Parameter *@exception IOException Description of Exception *@exception ServletException Description of Exception */ public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { MultipartParser mp = new MultipartParser(request, 1024 * 1024); Part p = mp.readNextPart(); Connection conn = null; byte[] fileData = null; byte[] fileData2 = null; try { conn = AppManager.getConnection(); //while(p != null) { if (p instanceof FilePart) { ByteArrayOutputStream ba = new ByteArrayOutputStream(); ((FilePart) p).writeTo(ba); fileData = ba.toByteArray(); PreparedStatement stmt = conn.prepareStatement("INSERT INTO sm_banners (filename,bannerimage) values(?,?)"); stmt.setString(1, ((FilePart) p).getFileName()); stmt.setBytes(2, fileData); stmt.executeUpdate(); stmt.close(); Statement stmt2 = conn.createStatement(); ResultSet rs = stmt2.executeQuery("select bannerimage from sm_banners"); rs.next(); fileData2 = rs.getBytes(1); } //p = mp.readNextPart(); //} } catch (Exception e) { sitemanager.util.Logger.log(e); } finally { try { conn.close(); } catch (Exception e) { sitemanager.util.Logger.log(e); } } response.setContentType("text/html"); ServletOutputStream out = response.getOutputStream(); out.println("the file was uploaded!"); out.close(); } } --- Adilakshmi Lingam [EMAIL PROTECTED] wrote: Can you please point me to some info on how to do that. I'm kind of a newbie in this area. thanks in advance, Lakshmi -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of David Crooke Sent: Monday, March 05, 2001 11:28 PM To: [EMAIL PROTECTED] Subject: Re: saving a file on client's machine using servlets Sounds like a case for JavaScript, or possibly an applet. Pushing to the server and back is kinda clonky. If you just want them to create a file and save to disk, why not have them crank up a local text editor? "Burgess, Jay" wrote: I believe one solution is to POST the form data from the text area to you servlet, then return it right back, but with an unknown MIME type. Typically, browsers give you the option to "Save to Disk" when they encounter an unknown MIME type. To set the MIME type on the response, simply call "res.setContentType(type);", where "type" is something unknown like "lakshmi/post". Passing this data back and forth doesn't seem to be the most efficient solution, though, so I'm interested to see if
Re: CLASSPATH for beans different than WEB-INF for JSPs?
On Wed, 7 Mar 2001, David Wall wrote: This is great, but it doesn't seem like that classpath is available to the javabeans that my JSPs use. Does that make sense? Is the classpath only setup for the JSPs (and if not, why does Jasper report the classpath setting for each JSP page invoked?)? I ran into this issue and thought it was a classpath problem, but after reading the JSP spec, discovered that you have to use the fully qualified classname for beans. You might want to take a look in the 1.1 spec under the section for jsp:useBean. -- Brett http://www.chapelperilous.net/~bmccoy/ Yow! I'm having a quadrophonic sensation of two winos alone in a steel mill! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Can't migrate to 3.2.1 - Number of issues
Andrew, It seems that Tomcat/WL integration is the problem here. Have you thought about checking out Jboss? It has embedded tomcat 3.2.1 support (tomcat runs in same VM), it's open source , and supported by a very active and dynamic group of developpers. Chris Andrew Gilbert wrote: There seem to be a number of issues with 3.2.1, some of which prevent us from moving to it. Looking for any insight into workarounds, fixes, or strategy (ie wait till 3.3?). From perusing the list, we don't seem to be alone in experiencing these. Unfortunately, I haven't gotten a feel for workarounds or fixes for all of them. Maybe my lack of clue, don't know. Ultimately need to run a production stable environment, so I assume 3.3 and 4.0 are out for now. We truly appreciate the product and work of everyone involved, want to be able to stay current. Thanks. Environment: Apache 1.3.12 Tomcat 3.2.1 (from Tomcat 3.1) Linux RH 6.2 Sun JDK 1.3 Weblogic 510sp8 on Solaris host Problems: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Stopping the correct tomcat for a virtual host
Hi I'm working with several virtual hosts, apache 1.3.12 + mod_ssl + mod_jk + tomcat 3.2.1. I start an instance of tomcat for each virtual host so I can kill the tomcat associatted with a site, without affecting all the sites. I have set up different ports for Ajpv 12, Ajpv 13 connectors associatted with each instance of tomcat. Is there a way to aim tomcat.sh at the correct port to stop a particular instance of tomcat. I looked in the script and couldn't find any mention of the Ajpv12 port. ** Brock Barber Applications Group MBD (McNair Business Development Inc.) Direct: 789-0019 Fax: 789-7630 E-Mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] www.mcnairbd.com A head for business. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Initialization error:connect (code=10060)
Hi, When I invoke a servlet installed in Tomcat, I got error message: Initialization error:connect (code=10060) . Anyone who can help me to know what kind error it is and how to solve it? Thanks! -Charles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Mod_jk error
When I had this problem it was caused by how my localhost was defined, so this line: worker.ajp12.host=localhost was apparently causing me problems. I fixed my localhost, and the error has gone away. "Simmons, Donald" To: [EMAIL PROTECTED] joe.simmons@cc: (bcc: Greyson Smith/CCMG/CVG) ca.com Subject: RE: Mod_jk error 07-03-01 07:33 AM Please respond to tomcat-user The workers.properties files appears to be correct. I may have to modify the source of the mod_jk file and recompile to find out what file it is looking for. A more descriptive message would help. Any other suggestions. thanks!! dj -- 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]
Re: CLASSPATH for beans different than WEB-INF for JSPs?
I ran into this issue and thought it was a classpath problem, but after reading the JSP spec, discovered that you have to use the fully qualified classname for beans. You might want to take a look in the 1.1 spec under the section for jsp:useBean. That shouldn't be the issue at all. In my JSP page, I use a fully qualified name to create that JSP bean. But that bean then may call on other Java classes, such as a class that does JDBC or JMS calls. What I seem to be experiencing is that those other classes don't have access to the same classpath for finding what they are looking for. I put the database and JMS jar files in the WEB-INF/lib folder, but they still could not find the drivers stored in them. But when I modified the CLASSPATH just before starting Tomcat to include those same JAR files (pointing to the same WEB-INF/lib files), then it seemed to work fine. JSP - usebean: com.myeastside.jsp.User - calls method in com.myeastside.jdbc.UserManager - calls method in com.myeastside.jdbc.ConnectionPool - calls method Class.forName() to load the Postgresql driver. But it could not find the driver, even those the postgresql.jar file is in the WEB-INF/lib directory. But when I add to the tomcat classpath, then it works. To be honest, I don't really understand how any of that works. Somehow Jasper creates a classpath for its own use to resolve classes it loads as it processes JSP pages. But it seems that the classes those beans use don't necessarily use the same classloader/classpath. Is that possible? I thought a class would always use the same classloader/classpath as it used to bring in classes it references. David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Shutdown problem red-hat 6.2
Hello! On Wed, 07 Mar 2001 16:38:40 +0100, Peter Hrastnik wrote: We are running tomcat 3.2 and IBMJava2 SDK 1.3 on an Intel Red Hat 6.2 machine with Apache 1.3.12 and mod_jserv. When shutdown.sh is called, it is very rare that the contexts are removed and java processes are still running for some minutes. Well, this problem is very familiar for me too. It look like Tomcat bugs: http://znutar.cortexity.com/BugRatViewer/ShowBug/47 http://znutar.cortexity.com/BugRatViewer/ShowReport/313 (actually a repetition of the previous bugreport) The problem arises when we have more then one 1 or 2 contexts mounted. Would like to know: does it happen only on Linux? Does it happen on NT? And all we - users - can do is await the developer to fix this problem. Sometimes they don't disappear at all and have to be removed manually with kill. Yes, that's what i do too :-( If you try to startup, it won't work because these processes are still running.Sometimes startup does not work even though no tomcat-java processes exist. Tomcat receives the request (there is no Internal Server Error as it occures when tomcat is not running) but does not deliver anything. Does anybody have an idea how to solve this problems? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Initialization error:connect (code=10060)
sounds like a bad or missing servlet parameter initial value in the web.xml in the WEB-INF for the servlet? A mis-spelled parameter name for example. [EMAIL PROTECTED] wrote: Hi, When I invoke a servlet installed in Tomcat, I got error message: Initialization error:connect (code=10060) . Anyone who can help me to know what kind error it is and how to solve it? Thanks! -Charles -- Wishing you an "OOBA OOBA" 21st Century!! Horace...once known as "Kicker" :-) Horace Vallas hav.Software http://www.hav.com/ P.O. Box 354 [EMAIL PROTECTED] Richmond, Tx. 77406-0354 voice: 281-341-5035 USAfax: 281-341-5087 Thawte Web Of Trust Notary in SW Houston, Tx. http://www.hav.com/?content=/thawteWOTnotary.htm ...drop by and chat if I'm online http://www.hav.com/chat/ === === === === === === === === === === What is a Vet? ... He is the barroom loudmouth, dumber than five wooden planks, whose overgrown frat-boy behavior is outweighed a hundred times in the cosmic scales by four hours of exquisite bravery near the 38th parallel. ... - Unknown S/MIME Cryptographic Signature
RE: Can't migrate to 3.2.1 - Number of issues
Chris, Thanks for the suggestion. Unfortunately, not a practical option. We are already deployed and running under WL, would be a major political undertaking to fix that. Previous post from Randy L would also suggest that JBoss integration may have similar issues. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Christopher Albert Sent: Wednesday, March 07, 2001 12:39 PM To: [EMAIL PROTECTED] Subject: Re: Can't migrate to 3.2.1 - Number of issues Andrew, It seems that Tomcat/WL integration is the problem here. Have you thought about checking out Jboss? It has embedded tomcat 3.2.1 support (tomcat runs in same VM), it's open source , and supported by a very active and dynamic group of developpers. Chris Andrew Gilbert wrote: There seem to be a number of issues with 3.2.1, some of which prevent us from moving to it. Looking for any insight into workarounds, fixes, or strategy (ie wait till 3.3?). From perusing the list, we don't seem to be alone in experiencing these. Unfortunately, I haven't gotten a feel for workarounds or fixes for all of them. Maybe my lack of clue, don't know. Ultimately need to run a production stable environment, so I assume 3.3 and 4.0 are out for now. We truly appreciate the product and work of everyone involved, want to be able to stay current. Thanks. Environment: Apache 1.3.12 Tomcat 3.2.1 (from Tomcat 3.1) Linux RH 6.2 Sun JDK 1.3 Weblogic 510sp8 on Solaris host Problems: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Initialization error:connect (code=10060)
Hi, When I invoke a servlet installed in Tomcat, I got error message: Initialization error:connect (code=10060) . Anyone who can help me to know what kind error it is and how to solve it? Thanks! -Charles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
[free tools] Yet another free tool for integrating jsp, xsl, xml, relational databases, Stored procedures, and EJBs
I believe the following free tool running on any servlet engine will help to expedite the web development that involve the following technologies: 1. jsp 2. relational database 3. stored procedures 4. EJB session beans 5. XML/XSL Tool Name: Aspire Availability/cost: * free for commercial/non-commercial use with a limited license as posted on the web site http://www.activeintellect.com/aspire. Support * [EMAIL PROTECTED] Documentation * http://www.activeintellect.com/aspire What can Aspire do for my web development under J2EE environment * 0. An excellent add on to Tomcat for rapidly developing J2EE applications 1. Exposes the relational data by combining multiple sqls/stored procedures/java objects either as an xml data stream or a java tree to either XSL or JSP. 2. As a result programmers only focus on the painting logic of the page via jsp. As this logic only comprises of assignment/if-else/for, you can teach this process to almost any one on the team. 3. Provides an excellent mechanism for combining the output of such tools as FrontPage directly to the databases declaratively (no programming) via JSP 4. You can retrieve the data either as csv, html or xml 5. You can employ multiple transformations: JSP/tags/XSL/Or_Your_own 6. On the update side allows direct access to stored procedures or sql or java objects or EJBs. Depending on the exceptions it can reroute to the appropriate page 7. Provides login/session management out of the box or allows you to plugin to your own security via few lines of java code 8. Provides any member of your team to become productive with the most basic java and there by providing gradual training ground for java programmers 9. Takes care of all of the database access needs via connection pools. Allows you plug in your own connection pool mechanism if you have one 10. Due to it's xml capabilities you can use it as a java library that can convert relational data to xml data declaratively If you are curious please try it out and post any questions to [EMAIL PROTECTED] For JSP programmer Aspire offers * 1. An opportunity to declaratively define data needs, minimizing the coding necessary on the middle tier 2. No jdbc programming necessary 3. Access to multiple data sources as a single hierarchical data sets, either in xml or java tree 4. Focus on application logic and page design 5. Transactionally aware database updates using jdbc, similar to EJBs 6. An excellent transformation library that allows you to choose your transformation For Database programmers Aspire offers *** 1. Ability to develop all of your web site using stored procedures and front end tools. Minimum, if not none, java 2. Ability to do this in a J2EE confirmant manner that allows for app server migration 3. All business logic in stored procedures 4. Import/Export utilities that allows for importing and exporting of data in multiple formats such as text and xml For XSL aware programmers Aspire offers ** 1. Ability to convert relational data to xml 2. Ability to use xalan to convert the resulting xml to html or further processed xml for b2b For Managers Aspire offers * 1. Considerabley faster time to market 2. Ability to use every member of your team (irrepective of their java experience) in the development process 3. Well tested and architecturally sound rapid environment for developing J2EE applications An Aspire example ** 1. Exposes the relational data by combining multiple sqls/stored procedures/java objects either as an xml data stream or a java tree to either XSL or JSP. Here is an example of how Aspire exposes, the data declaratively to a jsp page and how that page is accessed via the web browser. // Identify a jsp page MyFirstPageURL.template=/myapp/myFirstPage.jsp // Identify page data values that are outside any loops MyFirstPageURL.mainData.javaClass=com.ai.db.StoredProcedureExecutor MyFirstPageURL.mainData.db=my_database MyFirstPageURL.mainData.stmt=call stored_proc1({arg1},{arg2.quote}) // Define a set of rows needed by a loop based structure such as a list box or a table MyFirstPageURL.loop.loop1.javaClass=com.ai.db.StoredProcedureExecutor MyFirstPageURL.loop.loop1.db=my_database MyFirstPageURL.loop.loop1.stmt=call stored_proc1({arg1},{arg2.quote}) // Similar, but the rowsets provided by a java object instead of a stored procedure MyFirstPageURL.loop.loop2.javaClass=com.ai.db.MyJavaObject With the above definition you would be able to do the following: http://localhost/myApp/servlets/DisplayServlet?url=MyFirstPageURL?arg1=abca rg2=10 This invocation will call the necessary database calls and arrange the data in the following structure and transfer the call to the jsp page
Re: Stopping the correct tomcat for a virtual host
I am doing the same thing, except I have multiple tomcat.sh files for each context and corrosponding multiple server.xml files Eg tomcata.sh - servera.xml tomcatb.sh - serverb.xml When I want to stop context a, I give tomcata.sh -f servera.xml stop (or whaterver the correct syntax is) tomcat.sh wil read the port from server.xml and stop the corrrect context. Regards Shahed - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Can't migrate to 3.2.1 - Number of issues
[EMAIL PROTECTED] (Andrew Gilbert) writes: There seem to be a number of issues with 3.2.1, some of which prevent us from moving to it. [...] 4. Use of AJP13 breaks multipart uploads. (We haven't seen this yet but do rely on multipart uploads for our application, seem to be a lot of posts about this). You don't need to use ajp13 with Tomcat 3.2.1, you can stay with ajp12. I am using mod_jserv and ajp12 on a particular server owing to the above problem with ajp13, and also avoiding the need to update the Apache server. Also, I believe the problem with file uploads has been fixed, and so should be available in 3.2.2 (or try the current beta). -- `O O' | [EMAIL PROTECTED] // ^ \\ | http://www.pyrites.org.uk/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Shutdown problem red-hat 6.2
I had also seen this - but after moving to rh7, it seemed to vanish? not sure why though... Tagunov Anthony wrote: Hello! On Wed, 07 Mar 2001 16:38:40 +0100, Peter Hrastnik wrote: We are running tomcat 3.2 and IBMJava2 SDK 1.3 on an Intel Red Hat 6.2 machine with Apache 1.3.12 and mod_jserv. When shutdown.sh is called, it is very rare that the contexts are removed and java processes are still running for some minutes. Well, this problem is very familiar for me too. It look like Tomcat bugs: http://znutar.cortexity.com/BugRatViewer/ShowBug/47 http://znutar.cortexity.com/BugRatViewer/ShowReport/313 (actually a repetition of the previous bugreport) The problem arises when we have more then one 1 or 2 contexts mounted. Would like to know: does it happen only on Linux? Does it happen on NT? And all we - users - can do is await the developer to fix this problem. Sometimes they don't disappear at all and have to be removed manually with kill. Yes, that's what i do too :-( If you try to startup, it won't work because these processes are still running.Sometimes startup does not work even though no tomcat-java processes exist. Tomcat receives the request (there is no Internal Server Error as it occures when tomcat is not running) but does not deliver anything. Does anybody have an idea how to solve this problems? -- Wishing you an "OOBA OOBA" 21st Century!! Horace...once known as "Kicker" :-) Horace Vallas hav.Software http://www.hav.com/ P.O. Box 354 [EMAIL PROTECTED] Richmond, Tx. 77406-0354 voice: 281-341-5035 USAfax: 281-341-5087 Thawte Web Of Trust Notary in SW Houston, Tx. http://www.hav.com/?content=/thawteWOTnotary.htm ...drop by and chat if I'm online http://www.hav.com/chat/ === === === === === === === === === === What is a Vet? ... He is the barroom loudmouth, dumber than five wooden planks, whose overgrown frat-boy behavior is outweighed a hundred times in the cosmic scales by four hours of exquisite bravery near the 38th parallel. ... - Unknown S/MIME Cryptographic Signature
Re: Internal Server Error when restarting Tomcat
Hi Carole, Don't know if anyone else has attempted to help you yet, but you cannot shutdown Tomcat and restart it without cycling Apache as well if Apache is talking to Tomcat. When you shutdown Tomcat with Apache listening to the port, Apache will not re-establish the connection without being restarted. Carole Hbrard wrote: Hi. I am using Apache 1.3.14, Tomcat 3.2.1 and AJP13 on Linux. I stop and restart Tomcat without stopping Apache. When I try to access a page, I've got the following error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache/1.3.14 Server at xxx.netcelo.com Port 8443 After some reloads of the page, I've got the page. Any ideas? Carole. - 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: shared library directory for TC 4.0b1
Ooops - sorry. What I meant to say is that when I put the helper files in the WEB-INF/lib directory, I get 404 errors even accessing just a simple html page which has no servlets associated with it. Thanks Mike On Wednesday, March 7, 2001, at 11:05 AM, Bo Xu wrote: * when I put MyHelper.jar in .../WEB-INF/lib, it works. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Mod_jk error
Greyson, I went in and modified the mod_jk.c code to spit out some values when this error is generated. It appears that it is looking for some log file. I thought it might be mod_jk.log, but that exists and in the correct location. There are 3 possible errors that generate this error condition, conf-log file not existing (is there another log file somewhere), conf-workersproperties file which exists, and an error allocating memory for the initialization map. When I print out the error messages the conf-log file is null which generates the error. Is there a configuration log file that I might be missing? dj -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 11:42 AM To: [EMAIL PROTECTED] Subject: RE: Mod_jk error When I had this problem it was caused by how my localhost was defined, so this line: worker.ajp12.host=localhost was apparently causing me problems. I fixed my localhost, and the error has gone away. "Simmons, Donald" To: [EMAIL PROTECTED] joe.simmons@cc: (bcc: Greyson Smith/CCMG/CVG) ca.com Subject: RE: Mod_jk error 07-03-01 07:33 AM Please respond to tomcat-user The workers.properties files appears to be correct. I may have to modify the source of the mod_jk file and recompile to find out what file it is looking for. A more descriptive message would help. Any other suggestions. thanks!! dj -- 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
web.xml
Hi all I am converting our application from tomcat 3.1 to tomcat 3.2.1, just want to make sure here as I did not see any documentation on this, so I had to look in the source code...! From the source code, it says that the default web.xml under TOMCAT_HOME/conf/web.xml is not being read anymore, so we need to put everything in the war file web.xml to be configured properly... Is this write? Benoit Lalumiere Software Architect Jambala Innovation Cell Ericsson Canada (LMC) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Servlet Configuration,
Title: Servlet Configuration, Hello, I'd like to know if there is a way to map servlets without put the classes in the /WEB-INF/classes directory.I already modified the server.xml file and added a context pointing to the directory of my application, and modified the web.xml file to add the servlet map. But, in this directory, I needed to create a directory WEB-INF/classes to run the servlet. Is there any other way to map these servlets just adding my classes in classpath? Thanks to all. Joaquim Cabral da Maia Neto
Re: shared library directory for TC 4.0b1
Michael Engelhart wrote: Ooops - sorry. What I meant to say is that when I put the helper files in the WEB-INF/lib directory, I get 404 errors even accessing just a simple html page which has no servlets associated with it. Thanks [...] Hi :-) with jakarta-tomcat-4.0-b1(standalone, JDK1.3, winnt40), I find: - if I put MyHelper.jar into WEB-INF/lib, it works - if I put MyHelper.class into WEB-INF/classes, it works - if I put MyHelper.class into WEB-INF/lib, it Doesn't work I didn't understand very clearly: did you try to access a Applet class with html? if so, I guess perhaps you need to put MyApplet.class into TOMVAT_HOME/webapps/Root/ and from a email in tomcat-user, perhaps the "normal" client can not access the files in WEB-INF/ : it has a "default security". is this the reason for that "404" error mentioned in your email? Bo Mar.07, 2001 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
jndi DataSource
If I want to set up a DataSource in my server.xml file can I do this with tomcat 3.2? Or must I use 4.0? Or can I even do it at all? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
help with error message in 4.0
I added my web app in the webapps dir and now I get this message... - Starting service Tomcat-Standalone Apache Tomcat/4.0-b1 PARSE error at line 13 column -1 org.xml.sax.SAXParseException: Element "web-app" does not allow "security-constraint" here. - my web.xml is like this: - ?xml version="1.0" encoding="Cp1252"? !DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN' 'http://java.sun.com/j2ee/dtds/web-app_2_2.dtd' web-app login-config auth-methodFORM/auth-method realm-nameExample Form-Based Authentication Area/realm-name form-login-config form-login-page/login/login.jsp/form-login-page form-error-page/servlet/BadLoginServlet/form-error-page /form-login-config /login-config security-constraint web-resource-collection web-resource-nameProtected Area/web-resource-name url-pattern/servlet/LoginServlet/url-pattern /web-resource-collection auth-constraint role-nameA/role-name role-nameE/role-name role-nameC/role-name /auth-constraint /security-constraint /web-app - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: help with error message in 4.0
According to the DTD login-config goes after security-constraint John de la Garza wrote: I added my web app in the webapps dir and now I get this message... - Starting service Tomcat-Standalone Apache Tomcat/4.0-b1 PARSE error at line 13 column -1 org.xml.sax.SAXParseException: Element "web-app" does not allow "security-constraint" here. - my web.xml is like this: - ?xml version="1.0" encoding="Cp1252"? !DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN' 'http://java.sun.com/j2ee/dtds/web-app_2_2.dtd' web-app login-config auth-methodFORM/auth-method realm-nameExample Form-Based Authentication Area/realm-name form-login-config form-login-page/login/login.jsp/form-login-page form-error-page/servlet/BadLoginServlet/form-error-page /form-login-config /login-config security-constraint web-resource-collection web-resource-nameProtected Area/web-resource-name url-pattern/servlet/LoginServlet/url-pattern /web-resource-collection auth-constraint role-nameA/role-name role-nameE/role-name role-nameC/role-name /auth-constraint /security-constraint /web-app - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
connecting tomcat3.2.1 to apache1.3.19 using mod_jk
I have configured tomcat3.2.1 with apache1.3.19 using the mod_jk.so file. Everytime I try to start apache i get this message that say says line 8 of the mod_jk.conf file has a syntax error. it says that "mod_jk.so is garbled -- perhaps this is not an Apache module DSO?" Can anyone tell what is wrong. I followed the instructions that were provided but can not find where i made a mistake.
Re: connecting tomcat3.2.1 to apache1.3.19 using mod_jk
I had the same problem sometime ago, and then I downloaded the source code and compiled it. It worked. Try that. Don Hardaway [EMAIL PROTECTED] wrote: I have configured tomcat3.2.1 with apache1.3.19 using the mod_jk.so file. Everytime I try to start apache i get this message that say says line 8 of the mod_jk.conf file has a syntax error. it says that "mod_jk.so is garbled -- perhaps this is not an Apache module DSO?" Can anyone tell what is wrong. I followed the instructions that were provided but can not find where i made a mistake.Do You Yahoo!? Yahoo! Mail Personal Address - Get email at your own domain with Yahoo! Mail.
RE: help with error message in 4.0
fixed...thanks -Original Message- From: Steve Ruby [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 1:42 PM To: [EMAIL PROTECTED] Subject: Re: help with error message in 4.0 According to the DTD login-config goes after security-constraint John de la Garza wrote: I added my web app in the webapps dir and now I get this message... - Starting service Tomcat-Standalone Apache Tomcat/4.0-b1 PARSE error at line 13 column -1 org.xml.sax.SAXParseException: Element "web-app" does not allow "security-constraint" here. - my web.xml is like this: - ?xml version="1.0" encoding="Cp1252"? !DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN' 'http://java.sun.com/j2ee/dtds/web-app_2_2.dtd' web-app login-config auth-methodFORM/auth-method realm-nameExample Form-Based Authentication Area/realm-name form-login-config form-login-page/login/login.jsp/form-login-page form-error-page/servlet/BadLoginServlet/form-error-page /form-login-config /login-config security-constraint web-resource-collection web-resource-nameProtected Area/web-resource-name url-pattern/servlet/LoginServlet/url-pattern /web-resource-collection auth-constraint role-nameA/role-name role-nameE/role-name role-nameC/role-name /auth-constraint /security-constraint /web-app - - 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: Strange custom class behaviour with subdirs in 3.2.1
You have solved my problem sir and I thank you! It all makes sense now that you have explained it. JRun 3.0, which implements the same servlet spec, didn't need the extra qualification. I wonder which one isn't following the spec? :-o I'm guessing JRun. I have a printout of the 2.2 servlet spec right here. I needed to read it anyway! Thanks again. -Scott Randy Layman wrote: At the top of your JSP file, be sure to import StatsBean (i.e. %@ page import="StatsBean" %). Tomcat assumes that all of your webapp is in one package structure, so creating a helpdesk directory causes the generated JSP to have a helpdesk package. I don't know if this is in the spec, but I would imagine so. Anyways, you get your problem because the files in the root are in the default (blank) package, just like your class. Randy -Original Message- From: Scott Tatum [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 10:50 AM To: [EMAIL PROTECTED] Subject: Strange custom class behaviour with subdirs in 3.2.1 First, the obligatory setup info: Tomcat 3.2.1 using built-in webserver changed to port 80. RedHat 6.2 Sun JDK 1.3.0_02 I'm having a strange problem that I did not have while using JRun, and I'm hoping someone can shed some light. The situation is simple - say I have a webapp called blah. In blah's WEB-INF/lib directory I have a jar file with some classes that I use frequently. One of these classes is StatsBean. Then I have all my jsp files in the docBase and I can use the StatsBean fine. I also have a helpdesk directory off of the docBase (i.e. webapps/blah/helpdesk) which also needs to use the StatsBean. If I have a jsp file in the helpdesk directory that tries to declare/use a StatsBean, or any of my custom classes, I get this kind of error: (this example is a webapp called ct-dev whose context path is / and is compiling /helpdesk/helpdesk.jsp) org.apache.jasper.JasperException: Unable to compile class for JSP/usr/tomcat/work/xxx.xxx.xxx.xxx_8080/_0002fhelpdesk_0002fhelpdesk_0002ej sphelpdesk_jsp_0.java:73: Class helpdesk.StatsBean not found. StatsBean statsBean = (StatsBean) session.getAttribute("statsBean"); For some reason it thinks all my classes should be in a helpdesk package because the URI has helpdesk in it. Is this expected behaviour? I did not have this problem in JRun. I would expect to be able to use my classes anywhere in the web application, not just the app root. The problem manifests itself both with classes in the WEB-INF/classes dir, and classes in jars in the WEB-INF/lib dir. I'm certainly not counting out a configuration problem. If I need to post the contents of my configuration files I can. Of course, I don't really even know what all configuration files are used! As far as I can tell, the standalone tomcat only needs server.xml and web.xml. A lot of them seem to be only for mod_jk and/or mod_jserv. It's hard to tell from looking at the mass of config files in the conf directory what is needed by tomcat standalone, tomcat+apache, etc. It would be nice to have a document that explains every file in the conf directory and what it is needed for. That way I could do some cleanup and know that the files I have in there all have something to do with my setup. I have this feeling that several of them are jserv (i.e. not mod_jk) related and could be removed in most situations. Now watch someone point me to just such a file that probably comes with Tomcat. 8-) -Scott -- Scott Tatum | [EMAIL PROTECTED] Senior Applications Developer, Special Projects WorldCom | http://www.wcom.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] -- Scott Tatum | [EMAIL PROTECTED] Senior Applications Developer, Special Projects WorldCom | http://www.wcom.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Help with Configurationtomcat with IIS 4.0
HI I have a problem with configuration out-of-process conteiner tomcat on IIS 4.0 My system is : Win NT 4.0 services pack 4 Tomcat 3.2.1 IIS 4.0 Thanks
can't set up jdbc security
I guess tomcat 4 doesn't have RequestInteceptors...is that true? Are they now called realms? anyways, I am getting this error Starting service Tomcat-Standalone Apache Tomcat/4.0-b1 Catalina.start: LifecycleException: This Realm has already been started LifecycleException: This Realm has already been started at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:542) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1142) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:217 ) at org.apache.catalina.core.StandardService.start(StandardService.java:3 53) at org.apache.catalina.core.StandardServer.start(StandardServer.java:454 ) at org.apache.catalina.startup.Catalina.start(Catalina.java:654) at org.apache.catalina.startup.Catalina.execute(Catalina.java:595) at org.apache.catalina.startup.Catalina.process(Catalina.java:176) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:157) my server.xml has this: Realm className="org.apache.catalina.realm.JDBCRealm" debug="99" driverName="org.gjt.mm.mysql.Driver" connectionURL="jdbc:mysql://209.19.117.5/didev" connectionName="sa" connectionPassword="" userTable="user" userNameCol="userName" userCredCol="password" userRoleTable="userRole" roleNameCol="role" / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Strange custom class behaviour with subdirs in 3.2.1
I would give 50-50 odds that either JRun is non-conformant or the spec is vague or silent on the packages the generated Java files are a part of. It does make sense though, for Tomcat to do it the way that it does. You class name is your page name and your directory structure is your package name. Does JRun munge the directory structure and the page name together to form the class name, I wonder. Randy -Original Message- From: Scott Tatum [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 4:50 PM To: [EMAIL PROTECTED] Subject: Re: Strange custom class behaviour with subdirs in 3.2.1 You have solved my problem sir and I thank you! It all makes sense now that you have explained it. JRun 3.0, which implements the same servlet spec, didn't need the extra qualification. I wonder which one isn't following the spec? :-o I'm guessing JRun. I have a printout of the 2.2 servlet spec right here. I needed to read it anyway! Thanks again. -Scott Randy Layman wrote: At the top of your JSP file, be sure to import StatsBean (i.e. %@ page import="StatsBean" %). Tomcat assumes that all of your webapp is in one package structure, so creating a helpdesk directory causes the generated JSP to have a helpdesk package. I don't know if this is in the spec, but I would imagine so. Anyways, you get your problem because the files in the root are in the default (blank) package, just like your class. Randy -Original Message- From: Scott Tatum [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 10:50 AM To: [EMAIL PROTECTED] Subject: Strange custom class behaviour with subdirs in 3.2.1 First, the obligatory setup info: Tomcat 3.2.1 using built-in webserver changed to port 80. RedHat 6.2 Sun JDK 1.3.0_02 I'm having a strange problem that I did not have while using JRun, and I'm hoping someone can shed some light. The situation is simple - say I have a webapp called blah. In blah's WEB-INF/lib directory I have a jar file with some classes that I use frequently. One of these classes is StatsBean. Then I have all my jsp files in the docBase and I can use the StatsBean fine. I also have a helpdesk directory off of the docBase (i.e. webapps/blah/helpdesk) which also needs to use the StatsBean. If I have a jsp file in the helpdesk directory that tries to declare/use a StatsBean, or any of my custom classes, I get this kind of error: (this example is a webapp called ct-dev whose context path is / and is compiling /helpdesk/helpdesk.jsp) org.apache.jasper.JasperException: Unable to compile class for JSP/usr/tomcat/work/xxx.xxx.xxx.xxx_8080/_0002fhelpdesk_0002fhelpdesk_0002ej sphelpdesk_jsp_0.java:73: Class helpdesk.StatsBean not found. StatsBean statsBean = (StatsBean) session.getAttribute("statsBean"); For some reason it thinks all my classes should be in a helpdesk package because the URI has helpdesk in it. Is this expected behaviour? I did not have this problem in JRun. I would expect to be able to use my classes anywhere in the web application, not just the app root. The problem manifests itself both with classes in the WEB-INF/classes dir, and classes in jars in the WEB-INF/lib dir. I'm certainly not counting out a configuration problem. If I need to post the contents of my configuration files I can. Of course, I don't really even know what all configuration files are used! As far as I can tell, the standalone tomcat only needs server.xml and web.xml. A lot of them seem to be only for mod_jk and/or mod_jserv. It's hard to tell from looking at the mass of config files in the conf directory what is needed by tomcat standalone, tomcat+apache, etc. It would be nice to have a document that explains every file in the conf directory and what it is needed for. That way I could do some cleanup and know that the files I have in there all have something to do with my setup. I have this feeling that several of them are jserv (i.e. not mod_jk) related and could be removed in most situations. Now watch someone point me to just such a file that probably comes with Tomcat. 8-) -Scott -- Scott Tatum | [EMAIL PROTECTED] Senior Applications Developer, Special Projects WorldCom | http://www.wcom.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] -- Scott Tatum | [EMAIL PROTECTED] Senior Applications Developer, Special Projects WorldCom | http://www.wcom.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail:
RE: Help with Configurationtomcat with IIS 4.0
What is your problem? The most common issues are problems with regsitry settings and not reading the IIS HowTo throughly. Randy -Original Message- From: Umbe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 4:58 PM To: tomcat-mailing-list (E-mail) Subject: Help with Configurationtomcat with IIS 4.0 HI I have a problem with configuration out-of-process conteiner tomcat on IIS 4.0 My system is : Win NT 4.0 services pack 4 Tomcat 3.2.1 IIS 4.0 Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Consider Crossroads
Title: Please profile Crossroads Systems is a leading provider of connectivity for storage networking solutions, based in Austin, Texas. MARKET GROWTH: 250 percent through 2004 according to IDC. CROSSROADS GROWTH: revenues grew 75% to $33 million in 2000 TECHNOLOGY LEADER: 7 patents issued or allowed and 31 patents pending MARKET LEADER: Customers include: SUN, IBM, HP, DELL, Storage TEK, and Siemens AUSTIN, TX: Ranked #1 - Forbes Best Places in America Crossroads' mission is to become the company that customers trust to link business with information, regardless of technology and location. Hello, We found your resume on the web, and after evaluating your qualifications we feel you would be a good fit at Crossroads. We invite you to explore some opportunities, please take two minutes to confidentially register and describe your job requirements by visiting our career site now. Your requirements will be immediately matched against all posted positions. The second there's a match, either now or in the future, you'll instantly be notified via email. It's like having your own private search agent 24x7. It's quick. It's easy. It's free. It's completely confidential. And, best of all, you control the process. Just let the perfect job find you! And, tell your friends about us! Sincerely, Jennifer L. Gose Manager of Staffing Crossroads Systems, Inc. www.crossroads.com If you do not wish to receive future correspondence from Crossroads, click here. ---Please do not change the next line--- ABAADDBLABEAIGLBABGADAHJIAGAIGBL- Powered by MarketFirst - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
FW: Tomcat with IIS
Please bare with me, I'm new to Tomcat. I tried to do what was suggested below (very much appreciated), however, every time I access my jsp page, the Windows Save As.. appears prompting me to save. I assume that the jsp page is not being passed to Tomcat. This is what I have done: In the server.xml, I added the following: Context path="" docBase="c:\inetpub\wwwroot" crossContext="false" debug="0" reloadable="true" /Context In the uriworkermap.properties, I added: /Jsp/*.jsp My jsp page resides in c:\Inetpub\wwwroot\Jsp (or http://localhost/Jsp/date.jsp). Thank you, Christina From: Randy Layman Subject: RE: Tomcat with IIS Date: Thu, 15 Feb 2001 10:31:41 -0500 I haven't tried this, but this should work: 1. Create a new context whose path is c:\inetpub\wwwroot\ 2. In uriworkers.properties map //*.jsp Randy -Original Message- From: Kay, Christina Sent: Thursday, February 15, 2001 10:11 AM To: '[EMAIL PROTECTED]' Subject: Tomcat with IIS Our web pages are hosted on IIS and reside on c:\Inetpub\wwwroot. Tomcat is installed on c:\jakarta-tomcat. Is there any way to run jsp pages residing on c:\Inetpub\wwwroot and have the isapi_redirect.dll send the jsp pages to c:\jakarta-tomcat to be processed? If this is possible, please provide me with some guidance on how to do this. Thank you, Christina - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
setting up Tomcat, newbee question
Hello, To test Java servlet applications, I used Apache webserver with JServ. Now I intend to switch to Tomcat 3.2.1. First attempt is to have Tomcat run as a stand alone servlet container. Second attempt will be adding Tomcat to Apache webserver locally and configure my Win2000 webserver with IIS to work with Tomcat. Therefore, Tomcat doesn't have to work with static web content. On page file:///E|/Java/tomcat/doc/uguide/tomcat_ug.html I read that I need to set TOMCAT_HOME, JAVA_HOME and PATH. After that, Tomcat should start with startup.bat (Win98). Tomcat.bat executes :startServer, I see a Java window with usage information, which closes immediately. On various places, I changed in conf files the wrapper-pointers to tomcat_home and java_home to appropriate values. No result. Questions; - How do I get Tomcat working ? - In doc's I read about WAR's. How can I make them (so far I used only jar's). - I would like to configure Tomcat to recognise different url's and because of that use other jar's (or war's), have other home directories etc. Maybe these questions sound stupid, but any help is greatly appreciated... -- Kind regards, Nico den Boer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Multiple JVM's on same machine
Hi, I am trying to figure out a way of making sure that my two war files located on one physical Linux box are running in separate JVM's. I tried mounting the two separate contexts to two separate ports, using something like: ApJServMount /context1 ajpv12://localhost:8007/context1 ApJServMount /context2 ajpv12://localhost:8009/context2 in my httpd.conf file and defining two different PoolTcpConnector connectors on the corresponding ports in my server.xml file. However, when I start up Tomcat (3.1) I get the following error: FATAL:java.net.BindException: Address already in use java.net.BindException: Address already in use If I dont define the PoolTcpConnector for port 8009 then Tomcat works, except that my two war files are running in the same JVM, which I do not want. I have also tried changing the second connector port, but that does not work either. I thought the point of war files was that you could just drop the war file into the webapps folder at an ISP, for example, and Tomcat would automatically load the context. However, this seems fairly useless if you can't specify that the different war files run in separate JVM's. Is there something I am missing? Any and all comments greatly appreciated. Thanks! -David- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Help with Configurationtomcat with IIS 4.0 -- 2
First Time scusme for my English It's all OK but when i call a servlet by browser i recieve error 404. The isapi.log don't start jk_connection Umbe -Messaggio originale- Da: Randy Layman [mailto:[EMAIL PROTECTED]] Inviato: mercoled 7 marzo 2001 22:30 A: [EMAIL PROTECTED] Oggetto: RE: Help with Configurationtomcat with IIS 4.0 What is your problem? The most common issues are problems with regsitry settings and not reading the IIS HowTo throughly. Randy -Original Message- From: Umbe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 4:58 PM To: tomcat-mailing-list (E-mail) Subject: Help with Configurationtomcat with IIS 4.0 HI I have a problem with configuration out-of-process conteiner tomcat on IIS 4.0 My system is : Win NT 4.0 services pack 4 Tomcat 3.2.1 IIS 4.0 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]
config.getInitParameter() still returning null
The config.getInitParameter() called from within a JSP page is returning null. After changing the web.xml file numerous times and trying all the suggestions from java.sun.com and the tomcat archives I still cannot resolve this problem. Does anyone know why we can't access the init parameters? thanks in advance Here is what my web.xml file looks like (does not work): web-app servlet servlet-name Error /servlet-name servlet-class org.apache.jasper.runtime.JspServlet /servlet-class init-param param-namedebug/param-name param-valuetrue/param-value /init-param /servlet /web-app and my JSP code: % String s = config.getInitParameter(debug); if (s == null) { out.println(Init param must be null!); } else{ out.println(Init param is +s); } %
multiple port configuration
Hi - Q for an expert out there! I have apache and tomcat working together. I recently added a second port to apache for a new site. How do I configure tomcat to work with both sites? -- Erin L. Roach / [EMAIL PROTECTED] Web Developer / Network Commerce, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
jdbc realms with tomcat 4
Is anyone here currently using JDBC realms with tomcat 4? I'm having trouble and just wanted to make sure it wasn't just me. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
JDBC Connection Pools
Is there any way to create a JDBC Connection pool within Tomcat? Thanks, Shantul. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: JDBC Connection Pools
Funny you ask...I've been working all this for the last two days...I run tomcat... Check out: http://poolman.sourceforge.net/PoolMan/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Shantul Nigam Sent: Wednesday, March 07, 2001 5:58 PM To: [EMAIL PROTECTED] Subject: JDBC Connection Pools Is there any way to create a JDBC Connection pool within Tomcat? Thanks, Shantul. - 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 ssl config and apache
Do I need to configure anything on Tomcat for SSL if I already have SSL working on Apache and Apache works together with Tomcat. Why? Thanks, MIkhail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: getSession(true) AND SecureRandom
Then, is it possible to initialize SecureRandom at startup time? You know, the only thing I'm asking for is not to have the first client waiting 20 seconds to have his/her page loaded :-) Alfredo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: multiple port configuration
Tomcat supports virtual hosting. Which can be paired up with the virtual hosts ran by Apache. http://jakarta.apache.org/cvsweb/index.cgi/~checkout~/jakarta-tomcat/src /doc/mod_jk-howto.html I am not an expert, so there is big chance I am wrong. -Original Message- From: Erin Roach [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 7:51 PM To: '[EMAIL PROTECTED]' Subject: multiple port configuration Hi - Q for an expert out there! I have apache and tomcat working together. I recently added a second port to apache for a new site. How do I configure tomcat to work with both sites? -- Erin L. Roach / [EMAIL PROTECTED] Web Developer / Network Commerce, Inc. - 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: setting up Tomcat, newbee question
Hi Nico, First, my best advice is to open a command prompt and run the startup.bat file from there in order to see any error messages generated by the startup. Assuming you had unzipped tomcat into c:\tomcat-3.2.1 and the current JDK into c:\jdk1.3.0_02 you would want to have environment variables of: TOMCAT_HOME=c:\tomcat-3.2.1 JAVA_HOME=c:\jdk1.3.0_02 PATH=c:\jdk1.3.0_02\bin;%PATH% You want the bin folder below c:\jdk1.3.0_02 in your path, as that is where java.exe and javac.exe are located. Finally, you will want to add all the .jars in the c:\tomcat-3.2.1\lib folder to your CLASSPATH env. variable. Although tomcat adds them automatically when you start it, they won't be there when you go to compile a servlet, and javac will just spit out an error (assuming that is how you are compiling them). CLASSPATH=%CLASSPATH%;c:\tomcat-3.2.1\lib\servlet.jar;...etc. You set environment vars, as you probably know, by opening Control Panel, then system, the Advanced (for win2k). You'll probably want to set tomcat up as a service under Win2k/nt. Easy to do, download the jk_nt_service.zip file and use the tomcat docs to do this. .WAR files are web archives, and are a part of the current servlet spec -- they are analogous to .jars. If you put a .war file below c:\tomcat-3.2.1\webapps, it should expand it for you automatically. I'm reasonably sure that the ANT tool creates them, but I *haven't* used it, so I'm speaking based on an impression from looking at it a little on the jakarta.apache.org page. Lots of commercial tools create them. I'm *reasonably* sure there will be a tool on that site if it isn't ANT -- anyone? Gordon A tomcat newbie as of this past Fri. - Original Message - From: "H.F.N. den Boer" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 07, 2001 5:59 PM Subject: setting up Tomcat, newbee question Hello, To test Java servlet applications, I used Apache webserver with JServ. Now I intend to switch to Tomcat 3.2.1. First attempt is to have Tomcat run as a stand alone servlet container. Second attempt will be adding Tomcat to Apache webserver locally and configure my Win2000 webserver with IIS to work with Tomcat. Therefore, Tomcat doesn't have to work with static web content. On page file:///E|/Java/tomcat/doc/uguide/tomcat_ug.html I read that I need to set TOMCAT_HOME, JAVA_HOME and PATH. After that, Tomcat should start with startup.bat (Win98). Tomcat.bat executes :startServer, I see a Java window with usage information, which closes immediately. On various places, I changed in conf files the wrapper-pointers to tomcat_home and java_home to appropriate values. No result. Questions; - How do I get Tomcat working ? - In doc's I read about WAR's. How can I make them (so far I used only jar's). - I would like to configure Tomcat to recognise different url's and because of that use other jar's (or war's), have other home directories etc. Maybe these questions sound stupid, but any help is greatly appreciated... -- Kind regards, Nico den Boer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
why flush=true is a must for jsp:include?
Sorry this is a question about JSP specification in general. It is specified by the JSP 1.1 specification that flush attribute can only be true for jsp:include. Further, the API for PageContext.include() also says "The current JspWriter 'out' for this JSP is flushed as a side-effect of this call, prior to processing the include. " These all look more like implementation considerations. Why they are in the JSP specification? Thanks, Xiao Ma Software Engineer Brokat Technologies Tel: (408)535-1787 Fax: (408)535-1529 Unleashing User-Powered Business(TM) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
gzip
Title: gzip Anybody had any luck with gzip in JSP? Thanks, Jayesh
tomcat problems with double-byte form data?
Hi. I'm having problems when I try to submit double-byte form elements using "method=post" and using Tomcat 3.2.1 and Win NT 4.0. In earlier versions of our product, we used Jrun as the servlet engine. With Jrun, we ended up having to use the Javascript "escape()" function to encode the double-byte form elements. Once we did that, everything worked fine. If we try to use the Javascript "escape()" function with Tomcat, we get a java.lang.IllegalArgumentException: Decode Error at org.apache.tomcat.util.RequestUtil.unUrlDecode(RequestUtil.java: 353). If we don't use the escape function, the double-byte stuff ends up as the ever-popular ??? garbage. I found a patch for Tomcat 3.2.1 that was supposed to fix a some kind of bug for multi-byte characters, but it didn't help. Any ideas? -- Laura E. Lent [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
ȸ½Å: gzip
If you want to handle gzip files in JSP, you can use java.util.zip.* classes directly. Martin -?? ???- ?? ??: Parayali, Jayesh 1065 [mailto:[EMAIL PROTECTED]] ?? ??: Thursday, March 08, 2001 11:59 AM ?? ??: '[EMAIL PROTECTED]' ??: gzip Anybody had any luck with gzip in JSP? Thanks, Jayesh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: tomcat ssl config and apache
On Wed, 7 Mar 2001, mikhail malamud wrote: Do I need to configure anything on Tomcat for SSL if I already have SSL working on Apache and Apache works together with Tomcat. Why? I don't believe so -- that's how I have it set up (i.e. Apache with SSL), and I didn't have to set anything extra up (i.e. to get Tomcat working with it). If you're using Tomcat standalone, I believe there are some extra steps involved (check the comments in the server.xml file). 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]
Re: tomcat ssl config and apachey
On Wed, 7 Mar 2001, mikhail malamud wrote: Do I need to configure anything on Tomcat for SSL if I already have SSL working on Apache and Apache works together with Tomcat. Why? Thanks, MIkhail You do not only need, but you actually cannot configure SSL in Tomcat if your requests are handled by Apache. The SSL in Tomcat is only used when you use Tomcat as a web server. If you use Tomcat as a servlet/JSP container which talks to apache via mod_jk, you have to configure SSL in Apache. Things to remember is that if you want to serve your servlets/JSP ONLY via HTTPS you must incluse all the mod_jk context mounting stuff within the virtual host, e.g., VirtualHost _default_:443 Include /full/path/to/mod_jk.conf /VirtualHost in your httpd.conf, but you must comment out/delete the LoadModule jk_module libexec/mod_jk.so AddModule mod_jk.c within mod_jk.conf file and add them in the Load/Add/Module block at the beginning of your httpd.conf If you want to do HTTP and HTTPS with identical contexts, you just include your /full/path/to/mod_jk.conf in httpd.conf before the SSL virtural host, though it will also work if you include it at the very end of httpd.conf Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] Jan K. Labanowski|phone: 614-292-9279, FAX: 614-292-7168 Ohio Supercomputer Center|Internet: [EMAIL PROTECTED] 1224 Kinnear Rd, |http://www.ccl.net/chemistry.html Columbus, OH 43212-1163 |http://www.osc.edu/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: tomcat ssl config and apache
On 2001.03.07 21:36 mikhail malamud wrote: Do I need to configure anything on Tomcat for SSL if I already have SSL working on Apache and Apache works together with Tomcat. Why? There's very little you need to configure, actually. You will probably want to capture some of the SSL session variables that Apache uses. See http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-ssl-howto.html#s3 for the full details. It's actually quite simple, just a couple of directives in the mod_jk.conf file. Note that you *must* use Ajp13 and mod_jk to be able to do this. -- Brett http://www.chapelperilous.net/~bmccoy/ Any stone in your boot always migrates against the pressure gradient to exactly the point of most pressure. -- Milt Barber - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]