tomcat older version 5.0.18
Hi, I am trying to download a old version of Tomcat 5.0.18. But I could not find on http://jakarta.apache.org/tomcat/ Does anyone know if older versions are kept somewhere? Thank you very much for your help. regards, Sarah - Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more.
tomcat 5 and UTF-8 encoding
Hi, I need to use jsp to display some data in Japanese character from MS SQL server database. I have already set the encoding in jsp to be: %@ page language=java contentType=text/html; charset=UTF-8 % If I use tomcat version 5.0.18, then the japanese character is displayed correctly. However, if I use 5.0.28 or 5.5.4, the characters are something like ???. If I right click the html page generated from jsp on the above versions, I can see the encoding to be Western instead of UTF-8 like what happened with 5.0.18. Does anyone know what cause this problem and if any configuration of Tomcat needs to be made. Thank you very much for your help. Sarah - Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard.
PLEASE HELP! How can I make Tomcat see DB2 jdbc driver?
Hi All, I am using Tomcat 4.1.29 and DB2 8.1. I try to use the servlet below to see if it can find DB2 jdbc driver: public class Test extends HttpServlet { public void init(ServletConfig config) throws ServletException { super.init(config); } public void service(HttpServletRequest request, HttpServletResponse response) { try{ Class.forName (COM.ibm.db2.jdbc.app.DB2Driver).newInstance (); } catch (Exception e) { System.err.println (\n Error loading DB2 Driver...\n + e); } } } I have tried to put db2java.zip in Tomcat common\lib or webapp\web-inf\lib. Also I tried to add db2java.zip to set classpath in catalina.bat in Tomcat bin. It didnot work. Your help will be very much appreciated. Sarah - Do you Yahoo!? Free Pop-Up Blocker - Get it now
PLEASE HELP! How can I make Tomcat see DB2 jdbc driver?
Hi, A thousand thanks to everyone for the help! I have made it work! Cheers, Sarah Freek Woerts [EMAIL PROTECTED] wrote: Hello Sarah, See: http://www.cs.wisc.edu/~dbbook/openAccess/thirdEdition/DB2/Database%20Web%20Server%20Software%20Install%20Guide.htm It works also with DB2 UDB 8.1 Greetings, Freek. - Original Message - From: Sarah Zou To: Sent: Wednesday, December 03, 2003 9:09 PM Subject: PLEASE HELP! How can I make Tomcat see DB2 jdbc driver? Hi All, I am using Tomcat 4.1.29 and DB2 8.1. I try to use the servlet below to see if it can find DB2 jdbc driver: public class Test extends HttpServlet { public void init(ServletConfig config) throws ServletException { super.init(config); } public void service(HttpServletRequest request, HttpServletResponse response) { try{ Class.forName (COM.ibm.db2.jdbc.app.DB2Driver).newInstance (); } catch (Exception e) { System.err.println (\n Error loading DB2 Driver...\n + e); } } } I have tried to put db2java.zip in Tomcat common\lib or webapp\web-inf\lib. Also I tried to add db2java.zip to set classpath in catalina.bat in Tomcat bin. It didnot work. Your help will be very much appreciated. Sarah - Do you Yahoo!? Free Pop-Up Blocker - Get it now - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Free Pop-Up Blocker - Get it now
Error 500 - Internal servlet error - unable to compile class for jsp
Hi All, I am hoping someone might be able to explain the problem I have come across. I am new to Tomcat and have just installed Tomcat4112 on a Windows2000 machine with IIS5 and j2sdk1.4.0. I am trying to run a webapp but keep getting the above error. I am running Tomcat as an NT service so decide to stop this and start it up from the bat file. When running like this I was able to view the jsp pages without a problem, there was no longer any errors. I then shutdown Tomcat and restart the NT service and then had the ability to see the pages without the error. However any page that had not been accessed while I was running Tomcat from the startup.bat still came up with the compile error. Why do I need to view each page while running Tomcat from the startup script before they can be viewed without the unable to compile class for jsp error with the NT service? Any pointers would be me much appreciated. Regards Sarah - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Help: Tomcat swallowOutput, system.err, catalina.out and my log
We are trying to have our errors (SYSTEM.ERR, SYSTEM.OUT) sent to web-app specific logs, instead of catalina.out. We thought that the following would work, but seqreq_log_XXX only ends up with Java errors, everything else goes to catalina.out: !-- Tomcat seqreq Context -- Context path=/seqreq docBase=seqreq debug=0 reloadable=true crossContext=true swallowOutput=true Logger className=org.apache.catalina.logger.FileLogger prefix=seqreq_log. suffix=.txt timestamp=true verbosity=4/ Resources className=org.apache.naming.resources.FileDirContext allowLinking=true/ /Context Is there something else we need to modify? Thanks, Sarah - With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs
Tomcat 3.3.1 Problem
Hello! I am having a problem with Tomcat 3.3.1 running with Apache. I have set up an xml file named apps-BS.xml under the conf directory as is shown with the apps-examples.xml file. However, I am still unable to access the BS app from a browser. Basically, I copied the apps-examples.xml file.but my XML file text is shown below. Am I missing something simple here? ?xml version=1.0 encoding=ISO-8859-1 ? - webapps - !-- Setting special properties for /examples ( as an example of overriding the defaults ) -- - Context path=/BS docBase=webapps/BS debug=0 reloadable=true SimpleRealm filename=conf/users/BS-users.xml / /Context /webapps Thanks, Sarah -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat 3.3.1 Problem
Thanks, Larry and Paul. (Paul, I don't think I got your whole message, it seemed to be truncated) The '-' at the beginning or some lines are *not* in the actual file. I run tomcat from a window so that I can have live debugging on my development computer instead of running it as a servicein the Tomcat window, it shows ContextXMLReader: Context config=$Tomcat_Home\conf\apps-BS.xml AutoWebApp: Loaded from config: DEFAULT:/BS ContextManager: Tomcat configured and in stable state ContextManager: Adding DEFAULT:/BS So that all looks goodbut then there is an error... XMLMapper: Can't find resource for entity: -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN --http://java.sun.com/dtd/web-app_2.3.dtd null What does this error mean? Thanks a lot! Sarah Larry Isaacs wrote: There doesn't appear to be anything wrong with the XML below, assuming the '-' at the beginning of some lines are *not* in the actual file. Check the log output of Tomcat to make sure no problems are being reported at startup and when tomcat receives the browser request. Cheers, Larry -Original Message- From: Sarah Stevens [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 12:12 PM To: [EMAIL PROTECTED] Subject: Tomcat 3.3.1 Problem Hello! I am having a problem with Tomcat 3.3.1 running with Apache. I have set up an xml file named apps-BS.xml under the conf directory as is shown with the apps-examples.xml file. However, I am still unable to access the BS app from a browser. Basically, I copied the apps-examples.xml file.but my XML file text is shown below. Am I missing something simple here? ?xml version=1.0 encoding=ISO-8859-1 ? - webapps - !-- Setting special properties for /examples ( as an example of overriding the defaults ) -- - Context path=/BS docBase=webapps/BS debug=0 reloadable=true SimpleRealm filename=conf/users/BS-users.xml / /Context /webapps Thanks, Sarah -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Advice please: Apache doesn't seem to resolve Tomcat symbolic links
Hi John and Martin. Yes, I am on Tomcat jakarta-tomcat-4.1.12. As I said before, the access to the gifs and templates works fine on the 'standalone' version, which I have put on port 8200. Under this URL (http://sbio4.ph.chbs:8200/seqreq/icons), since I added the 'allowLinking' flag to the I can see the directory listing my gifs, and I can click on and view my gifs: Under this URL, (http://sbio4.ph.chbs/seqreq/icons), I get the 404 error message, however in principle, the access to my non-symlinked files and directories works fine. Thank you for any advice you can give me... do you think that all I need to do is go to jakarta-tomcat-4.1.15? This does not seem to make sense, since on 4.1.12 it 'nearly works'. - With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs
RE: Advice please: Apache doesn't seem to resolve Tomcat symbolic links
Yes I enabled symlinking in apache, I forgot to include this in my original mail... DocumentRoot /blah blah blah/html Directory / Options FollowSymLinks AllowOverride None /Directory Have no idea how to change mod_webapp to mod_jk(2). If this involves a lot of work, I will postpone till after Christmas : ) Are you suggesting that if I do, it will solve the problem of symlinks? Meanwhile I half-followed Johns advice... It seems that to work in Apache, I have to edit the links, instead to be 'relative' to the DocRoot, and then I don't need my Tomcat 'symlink' as an additional 'alias'. Needless to say, this means that now the gifs pages no longer resolve 'standalone' version, but for now this quick and dirty (in my mind) solution allows me to get on. Thanks to John, Ralph and Martin, for your feedback. Sarah - With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs
Advice please: Apache doesn't seem to resolve Tomcat symbolic links
Inside my WEBAPP my subfolders 'ICONS' and 'TEMPLATES' are actually symbolic links to folders elsewhere. I have enabled them to be accessed by my WebApp, by placing this code inside the Tomcat server.xml: !-- Tomcat MY_APP Context -- Context path=/MY_APP docBase=MY_APP debug=0 reloadable=true crossContext=true Logger className=org.apache.catalina.logger.FileLogger prefix=MY_APP_log. suffix=.txt timestamp=true/ Resources className =org.apache.naming.resources.FileDirContext allowLinking=true/ /Context I can then refer to gifs in my HTML as: ../icons/mypicture.gif This all works fine when I used Tomcat as standalone. Now I want to use Apache with Tomcat as the webserver. I configure Apache as follows: IfModule mod_webapp.c WebAppConnection warpConnection warp localhost:8008 WebAppDeploy examples warpConnection /examples/ WebAppInfo /webapp-info WebAppDeploy seqreq warpConnection /MY_APP/ /IfModule I also include following in the Tomcat server.xml: Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=75 enableLookups=true appBase=webapps acceptCount=10 debug=0/ Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache debug=0 Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true/ Realm className=org.apache.catalina.realm.MemoryRealm / /Engine /Service Now my problem is that the symbolic links no longer resolve... so my gifs are not found. The rest of the files can be accesses no problem, so I am sure it is because of the 'virtual' links to the icon folder. Can anybody help me to solve this problem? Thank you. - With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs
RE: Advice please: Apache doesn't seem to resolve Tomcat symbolic links
Hi John, I hope this is what you mean: apache access_log: 170.237.230.231 - - 2002-12-09 17:55:53 0 GET /seqreq/icons/seqwright.gif HTTP/1.1 404 758 170.237.230.231 - - 2002-12-09 17:55:53 0 GET /seqreq/icons/info9.gif HTTP/1.1 404 746 170.237.230.231 - - 2002-12-09 17:55:53 0 GET /seqreq/icons/w2_reset.gif HTTP/1.1 404 755 170.237.230.231 - - 2002-12-09 17:55:53 0 GET /seqreq/icons/w2_submit.gif HTTP/1.1 404 758 Turner, John [EMAIL PROTECTED] wrote: What do the Apache logs say for those requests? John -Original Message- From: Sarah Grimley [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 10:51 AM To: Tomcat Users List Subject: Advice please: Apache doesn't seem to resolve Tomcat symbolic links Inside my WEBAPP my subfolders 'ICONS' and 'TEMPLATES' are actually symbolic links to folders elsewhere. I have enabled them to be accessed by my WebApp, by placing this code inside the Tomcat server.xml: reloadable=true crossContext=true prefix=MY_APP_log. suffix=.txt timestamp=true/ =org.apache.naming.resources.FileDirContext allowLinking=true/ I can then refer to gifs in my HTML as: ../icons/mypicture.gif This all works fine when I used Tomcat as standalone. Now I want to use Apache with Tomcat as the webserver. I configure Apache as follows: WebAppConnection warpConnection warp localhost:8008 WebAppDeploy examples warpConnection /examples/ WebAppInfo /webapp-info WebAppDeploy seqreq warpConnection /MY_APP/ I also include following in the Tomcat server.xml: className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=75 enableLookups=true appBase=webapps acceptCount=10 debug=0/ name=Apache debug=0 prefix=apache_log. suffix=.txt timestamp=true/ Now my problem is that the symbolic links no longer resolve... so my gifs are not found. The rest of the files can be accesses no problem, so I am sure it is because of the 'virtual' links to the icon folder. Can anybody help me to solve this problem? Thank you. - With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs -- To unsubscribe, e-mail: For additional commands, e-mail: - With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs
Tomcat servlet recieves no posts from JSP - but code works in JBuilder?
Please can you explain to me why the servlet is not getting any parameters from the JSP, when I run it in TOMCAT 4.1. The code works fine in JBuilder/Tomcat IDE. It also works fine in TOMCAT 4.1, when I call it from an HTML page. However, I want to call it from a JSP. NOTE: the form names and values are defined in the included JSP, and then should be passed to the servlet when the SUBMIT button is clicked. Taken from my_main_red.JSP (the full code is at bottom of mail): form method=post name=reddoit action=../myreq_servlet onSubmit=return validateAndSubmit_red() ENCTYPE=multipart/form-data %@ include file=my_body_red.jsp % /form Taken from myreq_servlet: //Process the HTTP Post request public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { Enumeration enum = request.getParameterNames(); while (enum.hasMoreElements()) { // Get the name of the request parameter String name = (String)enum.nextElement(); // Get the value of the request parameter and set to uppercase String value = request.getParameter(name).toUpperCase(); System.out.println(servlet name: +name+ value: +value); } System.out.println(After while); Taken from catalina.out Starting service Tomcat-Apache Apache Tomcat/4.1.12 After while Thank you in advance for any advice ===. HTML (generated from my_main.jsp): html head !-- header.jsp -- !-- Depends on variables title -- !-- Includes files template/biobench.css, template/biobench2.css -- title sequence - Redundant parameters /title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1/ link href=http://sbio4.ph.chbs:8200/seqreq/html/template/biobench.css; rel=stylesheet title=Biobench type=text/css/ link href=http://sbio4.ph.chbs:8200/seqreq/html/template/biobench2.css; rel=stylesheet title=Biobench type=text/css/ SCRIPT LANGUAGE=JavaScript SRC=utility_function.js /SCRIPT SCRIPT LANGUAGE=JavaScript SRC=checkparam_red.js /SCRIPT /head body bgcolor=#FF text=#00 link=#FF vlink=#FF marginwidth=0 marginheight=0 style=margin: 0 onLoad=writeMenus() onResize=if (isNS4) nsResizeHandler() !-- top_red.jsp -- !-- Depends on variables title, contactInfo -- table width=100% bgcolor=#006699 border=0 cellpadding=0 cellspacing=0 tr td class=TOP /td /tr /table table width=650 border=0 align=center tr td align=center class=BOLDTEXT colspan=4 H1 sequence - Redundant parameters /H1/td /tr tr td align=center class=BBLOCKTEXT colspan=4 SMALLSTRONGbr/ Please enter a href=http://sbio4.ph.chbs:8200/seqreq/html/sequence_info.html#REDUNDANT; target=_blankRedundant parameters/a below. They will be propogated to each sample.br/ /STRONG/SMALLbr/ /td /tr trtd height=10 colspan=4hr/ /td /tr /table form method=post name=reddoit action=../seqreq_servlet1 onSubmit=return validateAndSubmit_red() ENCTYPE=multipart/form-data !-- sequence_body_red.jsp -- !-- Depends on variables title -- !-- Includes files sequence_primer.inc -- !-- Connect to jsp sequence_main.jsp -- table width=650 border=1 align=center cellspacing=0 cellpadding=4 class=FORMTEXT tr td colspan=2 height=50 Build request for input type=TEXT name=numberOfSamples size=8 maxlength=3 value=1/ sample(s). /td /tr !--Store the hidden parameters -- input type=hidden name=REDUNDANT value=YES/ input type=hidden name=sequence value=on/ tr tda class=FORMTEXT href=http://sbio4.ph.chbs:8200/seqreq/html/sequence_info.html#NAME;Sample name/a/td tdinput type=text name=sampleName size=10 maxlength=10 value=//td /tr tr tda class=FORMTEXT href=http://sbio4.ph.chbs:8200/seqreq/html/sequence_info.html#INCREMENT;Increment sample numbering/a/td td input type=checkbox name=incrementCheckbox/ starting with input type=TEXT name=incrementStart size=4 maxlength=7 value=1/ /td /tr tr tda class=FORMTEXT href=http://sbio4.ph.chbs:8200/seqreq/html/sequence_info.html#PRIMER;Primer/a/td td select name=primer option value=T7 selected=selectedT7/option option value=T3T3/option option value=SP6SP6/option option value=M13FM13F/option option value=M13RM13R/option option value=DON1DON1/option option value=DON2DON2/option option value=customcustom/option /select /td /tr tr tda class=FORMTEXT href=http://sbio4.ph.chbs:8200/seqreq/html/sequence_info.html#NAME;Customer primer name/a/td tdinput type=text name=customPrimer size=10 maxlength=10//td /tr tr tda class=FORMTEXT href=http://sbio4.ph.chbs:8200/seqreq/html/sequence_info.html#SIZE;Vector size (kb)/a/td tdinput type=text name=vectorSize size=10 maxlength=10//td /tr tr tda class=FORMTEXT href=http://sbio4.ph.chbs:8200/seqreq/html/sequence_info.html#SIZE;Insert size (kb)/a/td tdinput type=text name=insertSize size=10 maxlength=10//td /tr tr tda class=FORMTEXT href=http://sbio4.ph.chbs:8200/seqreq/html/sequence_info.html#LENGTH;Read length (bp)/a/td tdinput type=text name=readLength size=10 maxlength=10//td /tr tr tda class=FORMTEXT
RMI and Tomcat
Hello all. I am new to Tomcat, and am having a problem with RMI. I have a Java application that basically just sits on my server waiting for a data vector to be passed to it from my servlet. However, when I run the servlet and try to have it pass the data to the application through RMI, I get: javax.servlet.ServletException: Cannot allocate servlet instance for path /examples/servlet/MyServlet java.lang.NoClassDefFoundError: MyApplicationStarter The application resides in a directory on the root of the c drive (i.e. c:\MyApplication), and the servlet I am working with is in catalina_home/webapps/examples. Could it be that my problem is due to the fact that Tomcat can't locate the classes that are in the c:\MyApplication directory? How can I remidy that problem, if that is, in fact, the problem. I am running Tomcat 4 with jdk 1.3.1 on Win2K. Please let me know if you need any more information. Any help would be appreciated. Thanks! Sarah -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: RMI and Tomcat
Thanks for your reply. My servlet class is in examples/WEB-INF/classes. If I comment out the RMI step, the servlet runs fine, so I'm left to think that the servlet location, etc. are OK, but something relating to RMI is the culprit. At 11:01 AM 11/27/2002 +0800, you wrote: Cannot allocate servlet instance for path /examples/servlet/MyServlet means that it can't find the requested servlet for that web app which implies that your servlet class isn't where it should be. Servlets classes go in /examples/WEB-INF/classes or /examples/WEB-INF/lib for jar packages. Sarah L. Moore wrote: Hello all. I am new to Tomcat, and am having a problem with RMI. I have a Java application that basically just sits on my server waiting for a data vector to be passed to it from my servlet. However, when I run the servlet and try to have it pass the data to the application through RMI, I get: javax.servlet.ServletException: Cannot allocate servlet instance for path /examples/servlet/MyServlet java.lang.NoClassDefFoundError: MyApplicationStarter The application resides in a directory on the root of the c drive (i.e. c:\MyApplication), and the servlet I am working with is in catalina_home/webapps/examples. Could it be that my problem is due to the fact that Tomcat can't locate the classes that are in the c:\MyApplication directory? How can I remidy that problem, if that is, in fact, the problem. I am running Tomcat 4 with jdk 1.3.1 on Win2K. Please let me know if you need any more information. Any help would be appreciated. Thanks! Sarah -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: RMI and Tomcat
Well, I just moved the application classes over to the examples/WEB-INF/classes directory and re-ran my servlet. I get a slightly different message: java.rmi.ServerError: Error occurred in server thread; nested exception is: java.lang.NoClassDefFoundError: javax/servlet/ServletRequest From the output of my application, it looks as though the application begins to run, but it is the servlet that is throwing the above exception upon the call to the RMI application. I did a search for servlet.jar, and it looks as though it is where it should be in the Tomcat directory structure (i.e. catalina_home/common/lib). Any other advice? I'm at a total loss. Thanks again! Sarah At 11:30 AM 11/27/2002 +0800, you wrote: Sorry, did not correctly see which class it was complaining about. Try and move MyApplicationStarter to the said directories. Sarah L. Moore wrote: Thanks for your reply. My servlet class is in examples/WEB-INF/classes. If I comment out the RMI step, the servlet runs fine, so I'm left to think that the servlet location, etc. are OK, but something relating to RMI is the culprit. At 11:01 AM 11/27/2002 +0800, you wrote: Cannot allocate servlet instance for path /examples/servlet/MyServlet means that it can't find the requested servlet for that web app which implies that your servlet class isn't where it should be. Servlets classes go in /examples/WEB-INF/classes or /examples/WEB-INF/lib for jar packages. Sarah L. Moore wrote: Hello all. I am new to Tomcat, and am having a problem with RMI. I have a Java application that basically just sits on my server waiting for a data vector to be passed to it from my servlet. However, when I run the servlet and try to have it pass the data to the application through RMI, I get: javax.servlet.ServletException: Cannot allocate servlet instance for path /examples/servlet/MyServlet java.lang.NoClassDefFoundError: MyApplicationStarter The application resides in a directory on the root of the c drive (i.e. c:\MyApplication), and the servlet I am working with is in catalina_home/webapps/examples. Could it be that my problem is due to the fact that Tomcat can't locate the classes that are in the c:\MyApplication directory? How can I remidy that problem, if that is, in fact, the problem. I am running Tomcat 4 with jdk 1.3.1 on Win2K. Please let me know if you need any more information. Any help would be appreciated. Thanks! Sarah -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Authentication and role management
This is my first post to the tomcat list, so hello all. I am working on a project to automate management of a service via a web interface. I need to be able to authenticate users of my software and assign roles to them. So far, standard Realm stuff. But I have a couple of hiccups. Firstly, I do not want to have to add users to a database. I am looking at several hundred potential users of the system, and I want them to use their existing unix/email passwords. The passwords are stored in NIS+, and only root has access to them. We have a program that can confirm if a password is true or false, and I am considering writing my own realm implementation that first checks their passwords using this program (setuid) then gets role information elsewhere. We also have a radius server, and LDAP, but I cannot add role information to the LDAP directory. All the users who will need to access the service are members of a particular unix group. I would like to base the role on the user's GID. I will need some extra roles as well, to allow for extra functionality for certain staff. I can store that information in a database. I am thinking that I will need to write my own Realm, with appropriate classes to support it. Before I tackle that, does anyone have a better idea? Also, would you use radius or make a system call to a program? Thanks, Sarah -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
JDBCRealm Extension
Hi, I searched your archives briefly, which leads me to believe that I would be asking this question in the right place, but I haven't searched them extensively, so I might be re-asking a FAQ. If I am, then please forgive me. I'm attempting to use the Tomcat servlet engine's Realm authentication to protect a website. In addition to doing that, I would like Realm to pick up an additional piece of data from the database, and associate it with the session in tomcat's memory (somewhere?). I have found the appropriate file to extend (org.apache.catalina.realm.JDBCRealm), made the appropriate change to the sql statement, but now I'm stumped as to how to associate this piece of information with the SessionID that Tomcat sets in the cookie. Can anyone help me gain a bit more insight into this part of the black box? Thanks in advance, Sarah -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Problem in Installing Tomcat 4.0 in Tru64 Unix
Hi, I'm installing Apache Tomcat 4.0 in Tru64 Unix. I downloaded jakarta-tomcat-4.0.1.tar.gz and successfully unpack it. When I execute the command ./startup.sh which startup Tomcat, the following messages appeared; Using CLASSPATH:/tomcat/jakarta-tomcat-4.0.1/bin/bootstrap.jar:/usr/opt/java122/li b/tools.jar Using CATALINA_BASE: /tomcat/jakarta-tomcat4.0.1 Using CATALINA_HOME: /tomcat/jakarta-tomcat4.0.1 Using JAVA_HOME: /usr/opt/java122 The problem is after startup the default applications included with Tomcat 4.0 wasn't available for browsing. When I entered in Netscape http://localhost:8080/ the following error appeared: Netscape is unable to locate the server keyword:netscape.com Please check the server name and try again. Please advise.Thanks. Sarah -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Making over Half Million Dollars every 4 to 5 Months from your Home!!!
AS SEEN ON NATIONAL TV:Making over Half Million Dollars every 4 to 5 Months from your Home for an investment of only$25 U.S. Dollars expense one timeTHANK'S TO THE COMPUTER AGE AND THE INTERNET!==BE A MILLIONAIRE LIKE OTHERS WITHIN A YEAR!!!Before you say ''Bull'', please read the following.This is the letter you have been hearing about on the news lately. Due to the popularityof this letter on the Internet, a national weekly news program recently devoted an entireshow to the investigation of this program described below, to see if it really can makepeople money. The show also investigated whether or not the program was legal. Their findingsproved once and for all that there are ''absolutely NO Laws prohibiting the participation inthe program and if people can follow the simple instructions, they are bound to make somemega bucks with only $25 out of pocket cost''. DUE TO THE RECENT INCREASE OF POPULARITY RESPECT THIS PROGRAM HAS ATTAINED, IT IS CURRENTLY WORKING BETTER THAN EVER.This is what one had to say: ''Thanks to this profitable opportunity. I was approached many times beforebut each time I passed on it. I am so glad I finally joined just to see what one could expectin return for the minimal effort and money required. To my astonishment, I receivedtotal $610,470.00 in 21 weeks, with money still coming in." Pam Hedland, Fort Lee, New Jersey.===Here is another testimonial: "This program has been around for a long time but I never believedin it. But one day when I received this again in the mail I decided to gamble my $25 on it. Ifollowed the simple instructions and 3 weeks later the money started to come in.First month I only made $240.00 but the next 2 months after that I made a total of $290,000.00.So far, in the past 8 months by re-entering the program, I have made over $710,000.00 and I amplaying it again. The key to success in this program is to follow the simple steps and NOT changeanything.'' More testimonials later but first,= PRINT THIS NOW FOR YOUR FUTURE REFERENCE ==$If you would like to make at least $500,000 every 4 to 5 months easily And comfortably, pleaseread the following...THEN READ IT AGAIN and AGAIN!!!$FOLLOW THE SIMPLE INSTRUCTION BELOW AND YOUR FINANCIAL DREAMS WILL COME TRUE,GUARANTEED!INSTRUCTIONS:=Order all 5 reports shown on the list below =For each report, send $5 CASH, THE NAME NUMBER OF THE REPORT YOU ARE ORDERING andYOUR E-MAIL ADDRESS to the person whose name appears ON THAT LIST next to the report.MAKE SURE YOUR RETURN ADDRESS IS ON YOUR ENVELOPE TOP LEFT CORNER in case of any mailproblems.=== When you place your order, make sure you order each of the 5 reports.You will need all 5 reports so that you can save them on your computer and resell them.YOUR TOTAL COST $5 X 5=$25.00.Within a few days you will receive, vie e-mail, each of the 5 reports from these 5 different individuals.Save them on your computer so they will be accessible for you to send to the 1,000's of peoplewho will order them from you. Also make a floppy of these reports and keep it on your desk incase something happen to your computer.IMPORTANT - DO NOT alter the names of the people who are listed next to each report, ortheir sequence on the list, in any way other than what is instructed below in step'' 1 through 6 '' or you will lose out on majority of your profits. Once you understandthe way this works, you will also see how it does not work if you change it. Remember, thismethod has been tested, and if you alter, it will NOT work !!! People have tried to put theirfriends/relatives names on all five thinking they could get all the money. But it does notwork this way. Believe us, we all have tried to be greedy and then nothing happened. So Do Nottry to change anything other than what is instructed. Because if you do, it will not work foryou. Remember, honesty reaps the reward!!!1 After you have ordered all 5 reports, take this advertisement and REMOVE thename address of the person in REPORT # 5. This person has made it through the cycle andis no doubt counting their fortune.2 Move the name address in REPORT # 4 down TO REPORT # 5.3 Move the name address in REPORT # 3 down TO REPORT # 4.4 Move the name address in REPORT # 2 down TO REPORT # 3.5 Move the name address in REPORT # 1 down TO REPORT # 26 Insert YOUR name address in the REPORT # 1 Position.PLEASE MAKE SURE you copy every name address ACCURATELY!== Take this entire letter, with the modified list of names, and save it on your computer.DO NOT MAKE ANY OTHER CHANGES.Save this on a disk as well just in case you lose any data. To assist you with
I need a working mod_jk.so for Linux
I have read in the email list archives that other people are having problems with the mod_jk.so downloaded from apache.org for Linux. When I use it in apache (in the httpd.conf file) I see the error below on apache startup: "Syntax error on line 240 of /usr/local/apache/conf/httpd.conf: API module structure `jk_module' in file /usr/local/apache/libexec/mod_jk.so is garbled - perhaps this is not an Apache module DSO? /usr/local/apache/bin/apachectl start: httpd could not be started" So, as suggested, I tried to build my own. I downloaded the Tomcat source and used the Makefile.Linux under the .../jakarta-tomcat-3.2.1-src/src/native/apache1.3/ directory. I can build all of the object files, but I'm having some sort of problem when linking So then I circumvented the makefile and used the command: "/usr/local/apache/bin/apxs -i -a -c mod_jk.c gcc -fpic -DSHARED_MODULE -I/usr/local/apache/include -c mod_jk.c ld -Bshareable -o mod_jk.so mod_jk.o" (after copying the ../jk/* files to the apache1.3 directory for simplicity). So I'm still unable to link. The output from the above command is: "gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c mod_jk.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c mod_jk.c -o mod_jk.so mod_jk.o mod_jk.o gcc -fpic -DSHARED_MODULE -I/usr/local/apache/include -c ld -Bshareable -o mod_jk.so mod_jk.o apxs:Break: Command failed with rc=255" So, can someone please point me to a *working*, precompiled mod_jk.so file for Linux? I've spent quite a bit of time on this today. Thank you!! Sarah
I still can't get the IIS service
Sorry for asking the question-- When I read the document (Tomcat IIS How To),I try again and again, but it doesn't work. I have made the ISAPI work, but I really don't know what the meaning of "worker" in the worker.properties file,and what's apj2,the default user? And I don't realize how to start mylinking ,what shall I type in the Link TextField "Http://examples/servlets/"?or other else Feeled So confused. My enviromment is Windows 2000 advanced server My Tomcat is installed at C:\ Somebody help, it will be killing me. Michael