[OT Friday] Parse HTML file to underlying text
I know I missed the Friday deadline but... Has anyone any recommendations for parsing html. I use Lucene and the example has its own HTML parser but I was wondering if anyone has used an existing project or whether there is some built in functionality in an Apache lib to convert pHello iWorld/i/p To Hello World Your thoughts are appreciated.
Re: JSF Please Help with a simple question thanks ???
Bovy, Stephen J wrote: Thank you for the clarification ... So is Tomcat 5.x using the appache MYFACES Which version of jsf is included/supported by tomcat 5.x ??? Is there any difference between the Sun version and the appache version ??? Stephen Bovy Computer Associates 6100 Center Drive Suite 700 Los Angeles, CA 90045 Tel: (310) 957-3930 Fax: (310) 957-3917 e-mail: [EMAIL PROTECTED] It's not really a question of Tomcat using MyFaces or JSF RI - they are really independent technologies which can work together. You choose which one you want to use based upon your needs and any company policies which might apply. Both support the same API (JSR 127). Try thinking of it this way. Both MyFaces and JSF RI offer you a library (jar) of methods which allow you to develop JSF format web pages. Each library offers the same standard set of capabilities - the JSR 127 API. Each library is written and supported by a different group. Both will run on Tomcat (or any other reasonable application server) since both are written using Java. To integrate either with Tomcat, you simply download the library, add it to your project's classpath, and then write JSF-specific web pages to take advantage of the JSF technology. You might find this http://www.jsfcentral.com/faq/index.html (JSF Central's FAQ) to be helpful as a starting point. -david- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
switching
Could someone point out what's wrong with this setup? I have a laptop, sometimes going offline and don't want to change strings each time I'm online or offline. (And don't want to run any db server on the laptop if I can avoid it.) Error is here: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 1 in the jsp file: conn_products.jsp Generated servlet error: sDriver cannot be resolved In setup.jsp, % if(request.getServerName().equals(server.com)) { String sDriver = com.mysql.jdbc.Driver; String sUser = user; String sPass = password; String sDSN = jdbc:mysql://localhost:3306/products; } else if (request.getServerName().equals(localhost)) { String sDriver = sun.jdbc.odbc.JdbcOdbcDriver; String sUser = ; String sPass = ; String sDSN = jdbc:odbc:products; } % In conn_products.jsp, % String MM_products_DRIVER = sDriver ; String MM_products_USERNAME = sUser ; String MM_products_PASSWORD = sPass ; String MM_products_STRING = sDSN ; % And in list.jsp, %include file=setup.jsp% %include file=conn_products.jsp% Jhn __ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: switching
Hi, sDriver, as well as all your other variables, are declared locally within the if block. Once out of that block, they no longer exist. So, when the code in conn_products.jsp executes, which would of course happen after that if block, those variables do not exist. Add this right before the if block begins: String sDriver; String sUser; String sPass; String sDSN; ...and of course remove the String type declaration before each variable in the if block, and you should be good to go. Frank [EMAIL PROTECTED] wrote: Could someone point out what's wrong with this setup? I have a laptop, sometimes going offline and don't want to change strings each time I'm online or offline. (And don't want to run any db server on the laptop if I can avoid it.) Error is here: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 1 in the jsp file: conn_products.jsp Generated servlet error: sDriver cannot be resolved In setup.jsp, % if(request.getServerName().equals(server.com)) { String sDriver = com.mysql.jdbc.Driver; String sUser = user; String sPass = password; String sDSN = jdbc:mysql://localhost:3306/products; } else if (request.getServerName().equals(localhost)) { String sDriver = sun.jdbc.odbc.JdbcOdbcDriver; String sUser = ; String sPass = ; String sDSN = jdbc:odbc:products; } % In conn_products.jsp, % String MM_products_DRIVER = sDriver ; String MM_products_USERNAME = sUser ; String MM_products_PASSWORD = sPass ; String MM_products_STRING = sDSN ; % And in list.jsp, %include file=setup.jsp% %include file=conn_products.jsp% Jhn __ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Shared object between Tomcat and external program?
Look at JMS. Should do exactly what you want. Mark wolverine my wrote: I'm running Tomcat 5.5. I want to create a servlet to accept a HTTP request. The servlet creates an object based on the request parameters and forward the object (using Queue) to another standalone Java process started from the command line, a background process. In this case, the same Queue object should be accessible both in the servlet and in the standalone Java process: - the servlet adds object into the Queue and, - the standalone Java process retrieve the object from the same Queue How can we do this? Is there a way the servlet to lookup an Queue object created by the standalone Java program or vise versa? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: switching
Is there any chance getServerName is not returning server.com or localhost? If so, sDriver would not be defined... -david- [EMAIL PROTECTED] wrote: Could someone point out what's wrong with this setup? I have a laptop, sometimes going offline and don't want to change strings each time I'm online or offline. (And don't want to run any db server on the laptop if I can avoid it.) Error is here: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 1 in the jsp file: conn_products.jsp Generated servlet error: sDriver cannot be resolved In setup.jsp, % if(request.getServerName().equals(server.com)) { String sDriver = com.mysql.jdbc.Driver; String sUser = user; String sPass = password; String sDSN = jdbc:mysql://localhost:3306/products; } else if (request.getServerName().equals(localhost)) { String sDriver = sun.jdbc.odbc.JdbcOdbcDriver; String sUser = ; String sPass = ; String sDSN = jdbc:odbc:products; } % In conn_products.jsp, % String MM_products_DRIVER = sDriver ; String MM_products_USERNAME = sUser ; String MM_products_PASSWORD = sPass ; String MM_products_STRING = sDSN ; % And in list.jsp, %include file=setup.jsp% %include file=conn_products.jsp% Jhn __ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat imbedded open source componets ??
Bovy, Stephen J wrote: Our company has a strictly controlled policy for using open source. We must get approval for each and every component on a version by version basis. Can someone give me a list or point me to a link where the list is located of all imbedded open source sub components that are used by tomcat 5.x http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-5/build.properties.default?view=markup You are probably aware that Tomcat 5 is distributed under the Apache 2 licence (http://www.apache.org/licenses/). Apache goes to great lengths to ensure that the use of any and all sub-components is compatible with distribution under this licence. If the Apache 2 licence is acceptable then you should be fine. Of course if the lawyers want more... Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: After 1st installation of JDBCRealm?
梁炳場 wrote: I just install JDBCRealm of Tomcat 5.5 It works. Very simple to configure. But I have a few questions to ask. 1. How can users change password? They can't without you writing some custom code. And if password is encrypted, how to manage password? eg, how to create the 1st user name and password? Again, custom code. If you use digest passwords, you can use the same digest mechanism. 2. Can the Struts Action class get the value of request.isUserInRole()? Yes. 3. Can JDBCRealm support policy like JAASRealm? No. 4. Roles are defined in web.xml and database's tables. Is it double work? If there is a difference of roles in web.xml and tables for the same username, which prevail? There is no user to role mapping in web.xml therefore there is no question of one prevailing over another. Database defines mapping between users and roles. web.xml defines mappign between roles and application resources - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat SSL and Virtual Domains
We are running tomcat 4 standalone. I have things running fine with one host but now we need to add two more virtual hosts. I am pretty sure the problem is with my server.xml file but I haven't been able to figure it out. I have read through the docs and looked through the postings and I'm still stuck. Can someone help me out here? Please? Here's the file: Server is running and the sterling domain is fine. Just the others that have problems. Thank you in advance D Blaine Server port=8005 shutdown=SHUTDOWN debug=0 Service name=Tomcat-Standalone Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=false redirectPort=8443 acceptCount=100 debug=0 connectionTimeout=2 useURIValidationHack=false disableUploadTimeout=true / !-- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=false redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=0 useURIValidationHack=false protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8443 minProcessors=5 maxProcessors=75 enableLookups=false acceptCount=100 debug=0 scheme=https secure=true useURIValidationHack=false disableUploadTimeout=true Factory className=org.apache.coyote.tomcat4.CoyoteServerSocketFactory keystoreFile=/home/svhrs-1/keystore.kdb clientAuth=false protocol=TLS/ /Connector !-- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8443 minProcessors=5 maxProcessors=75 enableLookups=false acceptCount=100 debug=0 scheme=https secure=true useURIValidationHack=false disableUploadTimeout=true Factory className=org.apache.coyote.tomcat4.CoyoteServerSocketFactory keystoreFile=/home/kinres/ssl2/keystore1.kdb keystorePass=kinseth clientAuth=false protocol=TLS/ /Connector -- Engine name=Standalone defaultHost=sterling-vizcaya-hotel-reservations-sacramento.com debug=0 Logger className=org.apache.catalina.logger.FileLogger prefix=catalina_log. suffix=.txt timestamp=true/ Host appBase=/home/svhrs-1/sterling-vizcaya-hotel-reservations-sacramento-www/webapps unpackWARs=true autoDeploy=true debug=0 name=sterling-vizcaya-hotel-reservations-sacramento.com Valve className=org.apache.catalina.valves.AccessLogValve pattern=common prefix=access-log directory=/home/svhrs-1/sterling-vizcaya-hotel-reservations-sacramento-logs / Context path=/home/svhrs-1/sterling-vizcaya-hotel-reservations-sacramento-www/webapps/hotel docBase=hotel privileged=true debug=0 Manager className=org.apache.catalina.session.PersistentManager debug=0 saveOnRestart=true maxActiveSessions=-1 minIdleSwap=-1 maxIdleSwap=-1 maxIdleBackup=-1 Store className=org.apache.catalina.session.FileStore/ /Manager Environment name=maxExemptions type=java.lang.Integer value=15/ /Context /Host Host appBase=/home/kinres/esavvy-reservations-www/webapps unpackWARs=true autoDeploy=true debug=0 name=esavvy-reservations.com Valve className=org.apache.catalina.valves.AccessLogValve pattern=common prefix=access-log directory=/home/kinres/esavvy-reservations-logs / Context path=/home/kinres/esavvy-reservations-www/webapps/esavvyres docBase=esavvyres privileged=true debug=0 Manager className=org.apache.catalina.session.PersistentManager debug=0 saveOnRestart=true maxActiveSessions=-1 minIdleSwap=-1 maxIdleSwap=-1 maxIdleBackup=-1 Store className=org.apache.catalina.session.FileStore/ /Manager Environment name=maxExemptions type=java.lang.Integer value=15/ /Context /Host Host appBase=/home/esavvy/esavvysystems-www/webapps unpackWARs=true autoDeploy=true debug=0 name=esavvysystems.com Valve className=org.apache.catalina.valves.AccessLogValve pattern=common prefix=access-log directory=/home/esavvy/esavvysystems-logs / Context path=/home/esavvy/esavvysystems-www/webapps/esavvyres docBase=esavvyres privileged=true debug=0 Manager className=org.apache.catalina.session.PersistentManager debug=0 saveOnRestart=true maxActiveSessions=-1 minIdleSwap=-1 maxIdleSwap=-1 maxIdleBackup=-1 Store className=org.apache.catalina.session.FileStore/ /Manager Environment name=maxExemptions type=java.lang.Integer value=15/ /Context /Host -- /Engine /Service /Server
Re: Tomcat SSL and Virtual Domains
I had a similar issue. I too had a doubt in servr.xml. Search the archives for the topic Virtual Hosting with WAR files. I've posted in detail what the configurations that helped me with virtual hosting. Hope it helps you too Regards Thanks Mahesh S Kudva -Original Message- From: Dawn Blaine [EMAIL PROTECTED] To: Dawn Blaine [EMAIL PROTECTED] Cc: tomcat-user@jakarta.apache.org Date: Sat, 03 Sep 2005 11:45:12 -0500 Subject: Tomcat SSL and Virtual Domains We are running tomcat 4 standalone. I have things running fine with one host but now we need to add two more virtual hosts. I am pretty sure the problem is with my server.xml file but I haven't been able to figure it out. I have read through the docs and looked through the postings and I'm still stuck. Can someone help me out here? Please? Here's the file: Server is running and the sterling domain is fine. Just the others that have problems. Thank you in advance D Blaine Server port=8005 shutdown=SHUTDOWN debug=0 Service name=Tomcat-Standalone Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=false redirectPort=8443 acceptCount=100 debug=0 connectionTimeout=2 useURIValidationHack=false disableUploadTimeout=true / !-- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=false redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=0 useURIValidationHack=false protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8443 minProcessors=5 maxProcessors=75 enableLookups=false acceptCount=100 debug=0 scheme=https secure=true useURIValidationHack=false disableUploadTimeout=true Factory className=org.apache.coyote.tomcat4.CoyoteServerSocketFactory keystoreFile=/home/svhrs-1/keystore.kdb clientAuth=false protocol=TLS/ /Connector !-- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8443 minProcessors=5 maxProcessors=75 enableLookups=false acceptCount=100 debug=0 scheme=https secure=true useURIValidationHack=false disableUploadTimeout=true Factory className=org.apache.coyote.tomcat4.CoyoteServerSocketFactory keystoreFile=/home/kinres/ssl2/keystore1.kdb keystorePass=kinseth clientAuth=false protocol=TLS/ /Connector -- Engine name=Standalone defaultHost=sterling-vizcaya-hotel-reservations-sacramento.com debug=0 Logger className=org.apache.catalina.logger.FileLogger prefix=catalina_log. suffix=.txt timestamp=true/ Host appBase=/home/svhrs-1/sterling-vizcaya-hotel-reservations-sacramento-w ww/webapps unpackWARs=true autoDeploy=true debug=0 name=sterling-vizcaya-hotel-reservations-sacramento.com Valve className=org.apache.catalina.valves.AccessLogValve pattern=common prefix=access-log directory=/home/svhrs-1/sterling-vizcaya-hotel-reservations-sacramento -logs / Context path=/home/svhrs-1/sterling-vizcaya-hotel-reservations-sacramento-www/ webapps/hotel docBase=hotel privileged=true debug=0 Manager className=org.apache.catalina.session.PersistentManager debug=0 saveOnRestart=true maxActiveSessions=-1 minIdleSwap=-1 maxIdleSwap=-1 maxIdleBackup=-1 Store className=org.apache.catalina.session.FileStore/ /Manager Environment name=maxExemptions type=java.lang.Integer value=15/ /Context /Host Host appBase=/home/kinres/esavvy-reservations-www/webapps unpackWARs=true autoDeploy=true debug=0 name=esavvy-reservations.com Valve className=org.apache.catalina.valves.AccessLogValve pattern=common prefix=access-log directory=/home/kinres/esavvy-reservations-logs / Context path=/home/kinres/esavvy-reservations-www/webapps/esavvyres docBase=esavvyres privileged=true debug=0 Manager className=org.apache.catalina.session.PersistentManager debug=0 saveOnRestart=true maxActiveSessions=-1 minIdleSwap=-1 maxIdleSwap=-1 maxIdleBackup=-1 Store className=org.apache.catalina.session.FileStore/ /Manager Environment name=maxExemptions type=java.lang.Integer value=15/ /Context /Host Host appBase=/home/esavvy/esavvysystems-www/webapps unpackWARs=true autoDeploy=true debug=0 name=esavvysystems.com Valve className=org.apache.catalina.valves.AccessLogValve pattern=common prefix=access-log
Re: Multiple IP addresses
If you are using a security certificate it willl certainly complain if the IP or hostname of the server is changed. Regards, Luis Fadil wrote: this is a good idea, and I try these multiples, I get two IP, like this : IPA:80 = IPServer:80 (IIS server) IPB:80 = IPServer:8443(Tomcat Server but SSL port) So I tried to setup tomcat, by add IPB in all connector and in host. I changed config in server.xml by adding IPServer and not the IPB, it stay to me only (I think a keystore pb) : GRAVE: Erreur au dÚmarrage du point de contact java.io.IOException: Keystore was tampered with, or password was incorrect at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:765) at java.security.KeyStore.load(KeyStore.java:652) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore( JSSESocketFactory.java:278) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore( JSSESocketFactory.java:220) at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.getKeyManagers( JSSE14SocketFactory.java:143) at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.init( JSSE14SocketFactory.java:109) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket( JSSESocketFactory.java:98) at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint( PoolTcpEndpoint.java:261) at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint( PoolTcpEndpoint.java:281) at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:171) at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java :1527) at org.apache.catalina.core.StandardService.start(StandardService.java:489) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313) at org.apache.catalina.startup.Catalina.start(Catalina.java:556) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) 2 sept. 2005 18:45:56 org.apache.catalina.startup.Catalina start GRAVE: Catalina.start: LifecycleException: Le dÚmarrage du gestionnaire de protocole a ÚchouÚ: java.io.IOException: Keystore was tampered with, or password was incorrect at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java :1529) at org.apache.catalina.core.StandardService.start(StandardService.java:489) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313) at org.apache.catalina.startup.Catalina.start(Catalina.java:556) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) 2 sept. 2005 18:45:56 org.apache.catalina.startup.Catalina start What password expect tomcat if we don't specify it in server.xml ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT Friday] Parse HTML file to underlying text
pgpLSiBrHu0aH.pgp Description: PGP signature
Where can I get isapi.dll?
Hi; I downloaded and installed 5.5 for windows on my system. Tomcat runs fine but I can't find isapi_redirector.dll anywhere in my install or on the jakarta site? Does anyone know where I can download it? (the 5.5 version.) Also, are there complete instructions anywhere for workers.properties? (and while uriworkermap.properties seems simple enough, if there are docs for that too can someone give me a url?) Thanks - dave David Thielen 303-499-2544 www.windwardreports.com http://www.windwardreports.com/
Re: Where can I get isapi.dll?
h I think you were thinking about this http://www.popularshareware.com/JspISAPI-download-11630.html jmail Wiadomość Oryginalna Od: David Thielen [EMAIL PROTECTED] Do: tomcat-user@jakarta.apache.org Data: Sat, 3 Sep 2005 15:29:11 -0600 Temat: Where can I get isapi.dll? Hi; I downloaded and installed 5.5 for windows on my system. Tomcat runs fine but I can't find isapi_redirector.dll anywhere in my install or on the jakarta site? Does anyone know where I can download it? (the 5.5 version.) Also, are there complete instructions anywhere for workers.properties? (and while uriworkermap.properties seems simple enough, if there are docs for that too can someone give me a url?) Thanks - dave David Thielen 303-499-2544 www.windwardreports.com http://www.windwardreports.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Where can I get isapi.dll?
Tomcat itself has this - but all I can find is the source, not the compiled dll. Also the popularshareware is for 4.0 from the looks of it. Thanks - dave David Thielen 303-499-2544 www.windwardreports.com -Original Message- From: jmail [mailto:[EMAIL PROTECTED] Sent: Saturday, September 03, 2005 3:36 PM To: Tomcat Users List Subject: Re: Where can I get isapi.dll? h I think you were thinking about this http://www.popularshareware.com/JspISAPI-download-11630.html jmail Wiadomość Oryginalna Od: David Thielen [EMAIL PROTECTED] Do: tomcat-user@jakarta.apache.org Data: Sat, 3 Sep 2005 15:29:11 -0600 Temat: Where can I get isapi.dll? Hi; I downloaded and installed 5.5 for windows on my system. Tomcat runs fine but I can't find isapi_redirector.dll anywhere in my install or on the jakarta site? Does anyone know where I can download it? (the 5.5 version.) Also, are there complete instructions anywhere for workers.properties? (and while uriworkermap.properties seems simple enough, if there are docs for that too can someone give me a url?) Thanks - dave David Thielen 303-499-2544 www.windwardreports.com http://www.windwardreports.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
isapi_redirect dll location
To whomever was looking for isapi_redirect dll: As much as I hate to promote IIS: isapi_redirect dll can be found here http://apache.towardex.com/jakarta/tomcat-connectors/jk/binaries/win32/jk-1.2.14 «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤» Education is what remains after one has forgotten everything he learned in school. -Albert Einstein Steve O. http://www.steveo.us New pics: B17G and B24 http://www.steveo.us/B17-B24/ B17G WWII Bomber Yankee Lady Flight I took http://www.steveo.us/b17ride SUNY NCC Physical Sciences Dept. Network Admin SUNY NCC MATH/COMPUTER Unix Admin http://www.matcmp.ncc.edu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: isapi_redirect dll location
First off - thank you. Second there is a isapi_redirect-1.2.14.exe file also - does this do a complete install of the dll? Thanks - dave David Thielen 303-499-2544 www.windwardreports.com -Original Message- From: Steve Ochani [mailto:[EMAIL PROTECTED] Sent: Saturday, September 03, 2005 4:12 PM To: tomcat-user@jakarta.apache.org Subject: isapi_redirect dll location To whomever was looking for isapi_redirect dll: As much as I hate to promote IIS: isapi_redirect dll can be found here http://apache.towardex.com/jakarta/tomcat-connectors/jk/binaries/win32/jk-1. 2.14 «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤» Education is what remains after one has forgotten everything he learned in school. -Albert Einstein Steve O. http://www.steveo.us New pics: B17G and B24 http://www.steveo.us/B17-B24/ B17G WWII Bomber Yankee Lady Flight I took http://www.steveo.us/b17ride SUNY NCC Physical Sciences Dept. Network Admin SUNY NCC MATH/COMPUTER Unix Admin http://www.matcmp.ncc.edu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Manager error 'FAIL - Invalid context path null was specified'
Hi All, I'm trying to configure the manager application with virtual hosts. When I request a reload like this - http://testxtb.example.com/manager/reload?xtb I get this response- FAIL - Invalid context path null was specified However according to this page - http://jakarta.apache.org/tomcat/tomcat-5.5-doc/manager-howto.html This is a valid syntax, as 'xtb' is my web application name in the webapps directory - my web application works fine btw, and so does the manager's list command. I can only think I haven't understood something correctly, and my configuration is somehow wrong. It would be great if somebody could tell me what's wrong so I don't spend an entire weekend on this. My config follows - $CATALINA_HOME/conf/server.xml (chopped) Engine name=Catalina defaultHost=testxtb.example.com Host name=testxtb.example.com appBase=C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false ... chopped ... /Host /Engine $CATALINA_HOME/conf/Catalina/testxtb.example.com/context.xml.default Context docBase=xtb privileged=true antiResourceLocking=false antiJARLocking=false /Context $CATALINA_HOME/conf/Catalina/testxtb.example.com/manager.xml - Context docBase=${catalina.home}/server/webapps/manager privileged=true antiResourceLocking=false antiJARLocking=false !-- Link to the user database we will get roles from -- ResourceLink name=users global=UserDatabase type=org.apache.catalina.UserDatabase/ /Context $CATALINA_HOME/webapps/xtb/ -- Web application files under this directory - this is why reload?xtb should work. Thanks, Andy. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Configuring Apache tomcat
I need help to configure jakarta-tomcat to send a high volume of packet sockets trhought a servlet application. It should send aprox 5000 sockets in a short time Can someone recommend me a configuration of maxThreads etc, at the web.xml file. I think what you are looking for is an application to excercise your Tomcat setup. Try looking at Apache JMeter, which is a good all round testing tool. As for the recommendation of settings, this is something that you are going to have to find out for yourself. Since your test is to only over 15 minutes, then it should be easy for you to setup a set of benchmarks, adjusting values each time to observe the 'cause-n-effect'. The key thing to this sort of testing, is changing only one variable at a time. And remember, this is only ever going to be a general performance tune for that given application. As soon as you move to another servlet or JSP page, you will have to start the profiling all over again. Hope this helps, alan -- Alan Williamson, Technology Evangelist SpikeSource Inc. Daily OS News @ http://compiledby.spikesource.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: After 1st installation of JDBCRealm?
Thank you Mark, How about security manager? Can I use policy file under $CATALINA_HOME/conf/catalina.policy file with JDBCRealm? 2005/9/3, Mark Thomas [EMAIL PROTECTED]: 梁炳場 wrote: I just install JDBCRealm of Tomcat 5.5 It works. Very simple to configure. But I have a few questions to ask. 1. How can users change password? They can't without you writing some custom code. And if password is encrypted, how to manage password? eg, how to create the 1st user name and password? Again, custom code. If you use digest passwords, you can use the same digest mechanism. 2. Can the Struts Action class get the value of request.isUserInRole()? Yes. 3. Can JDBCRealm support policy like JAASRealm? No. 4. Roles are defined in web.xml and database's tables. Is it double work? If there is a difference of roles in web.xml and tables for the same username, which prevail? There is no user to role mapping in web.xml therefore there is no question of one prevailing over another. Database defines mapping between users and roles. web.xml defines mappign between roles and application resources - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]