Yep we'll get you added. On Apr 9, 2011 2:09 PM, "David Kanter" <[email protected]> wrote: > It says to send an email to a mailing list for an account? Can > someone do this for me? > > DK > > On Apr 8, 12:42 pm, Jordan Michaels <[email protected]> wrote: >> Oops, forgot to answer this earlier. I'm pretty sure that the wiki is >> open by default, so you should just need to register for an account and >> once you do, you'll be able to contribute to it. >> >> We'd welcome the help! =) >> >> Warm regards, >> Jordan Michaels >> Vivio Technologieshttp://www.viviotech.net/ >> 509.593.4207 x 1001 >> >> On 04/08/2011 12:04 PM, David Kanter wrote: >> >> >> >> > On Apr 8, 11:53 am, Jordan Michaels<[email protected]> wrote: >> >> Aha: >> >> >> > Based on my understanding of server.xml it seems like my request to >> >> >http://localhost/RWT_cloneshouldget mapped to >> >> >> > C:/inetpub/wwwroot/RWT_clone/index.cfm >> >> >> This is the problem. In your server.xml file you have mapped your host as... >> >> >> >>> <Host name="rwtclone.com" appBase="webapps"> >> >> >>> <Context path="" >> >> docBase="C:\inetpub\wwwroot\RWT_clone" / >> >> >> >>> </Host> >> >> >> But then when you do your request, you're actually requesting >> >> "localhost" and not "rwtclone.com". >> >> > Doh! >> >> >> I would not suggest re-mapping "localhost" though, as you would lose >> >> easy access to the Tomcat and OpenBD administrators if you did. Instead, >> >> try mapping your 127.0.0.1 address, like so: >> >> >> <Host name="127.0.0.1" appBase="webapps"> >> >> <Context path="" docBase="C:\inetpub\wwwroot\RWT_clone" /> >> >> </Host> >> >> >> Or you can add an alias to your existing mapping, like so: >> >> >> <Host name="rwtclone.com" appBase="webapps"> >> >> <Context path="" docBase="C:\inetpub\wwwroot\RWT_clone" /> >> >> <Alias>127.0.0.1</Alias> >> >> </Host> >> >> >> Give Tomcat a kick (quick restart), and then hit the following URL: >> >> >>http://127.0.0.1/ >> >> >> IIS will pass the request to Tomcat like normal, and Tomcat will see >> >> that you're requesting the "127.0.0.1" domain and find the files for it >> >> in the "RWT_clone" directory. >> >> >> Make sense? >> >> > OK perfect. Now I get to write up this part of the process. >> >> > Next step is getting all our custom tags set up, and then SQL Server! >> >> > Thanks again, and you'll probably see me back here with more questions >> > soon. >> >> > David >> >> >> On 04/08/2011 11:38 AM, David Kanter wrote: >> >> >>> On Apr 8, 11:24 am, Jordan Michaels<[email protected]> wrote: >> >>>> Ahh, that makes a lot of sense. The newer versions of the installer have >> >>>> the default document configs already set up by default, so no need to >> >>>> remake them. =) The documentation on the site was for previous releases, >> >>>> where I called the tomcat worker "openbdlb". I've since started calling >> >>>> it by the default "ajp13" to comply a bit more with standards. >> >> >>>> Your server.xml looks good. >> >>>> Your workers.properties file looks good. >> >>>> Your uriworkermap.properties file looks good. >> >> >>> Excellent news. >> >> >>> BTW, once I'm fully set up...if you give me write access to the IIS7 >> >>> wiki page, I can make an updated one documenting what I did. >> >> >>>> For the OpenBD 404 message you're getting (which is good because we know >> >>>> the request is getting passed to Tomcat now), does OpenBD tell you the >> >>>> path that it's looking in? I cannot remember if OpenBD does this or not. >> >> >>> The error is pretty sparse, here's it says: >> >> >>> "File Not Found" >> >> >>> "Request" "/RWT_clone/index.cfm" >> >> >>> Then it has date/time of the error. >> >> >>> Based on my understanding of server.xml it seems like my request to >> >>>http://localhost/RWT_cloneshouldget mapped to >> >> >>> C:/inetpub/wwwroot/RWT_clone/index.cfm >> >> >>> And that file definitely exists, with full permissions for the admin. >> >>> But I'm very much stumped on the rest. >> >> >>>> Typically, if OpenBD cannot find the file, it's usually a problem with >> >>>> the server.xml and how the site you're hitting is mapped. >> >> >>>> The server.xml file tells Tomcat, "If you get a request for this domain, >> >>>> look for the files for that domain over here." >> >> >>> Gotcha. >> >> >>> David >> >> >>>> On 04/08/2011 10:49 AM, David Kanter wrote: >> >> >>>>> Hi Jordan, >> >> >>>>> OK, looks like I made a reado (as opposed to a typo). One of the >> >>>>> steps in the walk through (#4 in default document section) indicated >> >>>>> that I should add a line: >> >> >>>>> '/=openbdlb' to uriworkermap. I misread that as a '/=openbdlib'. >> >> >>>>> I changed the typo to '/openbdlb' and then received the following >> >>>>> errors: >> >> >>>>> [Fri Apr 08 10:32:43.891 2011] [1652:2908] [warn] >> >>>>> jk_map_handle_duplicates::jk_map.c (446): Duplicate key '/' detected - >> >>>>> previous value 'ajp13' will be overwritten with 'openbdlb'. >> >>>>> [Fri Apr 08 10:32:43.891 2011] [1652:2908] [error] >> >>>>> uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker >> >>>>> with name 'openbdlb' in uri map post processing. >> >>>>> [Fri Apr 08 10:32:43.891 2011] [1652:2908] [info] >> >>>>> uri_worker_map_update::jk_uri_worker_map.c (1187): Reloaded urimaps >> >>>>> from C:\openbd\tomcat\conf\uriworkermap.properties >> >>>>> [Fri Apr 08 10:32:43.891 2011] [1652:2908] [info] >> >>>>> ajp_send_request::jk_ajp_common.c (1574): (ajp13w) all endpoints are >> >>>>> disconnected, detected by connect check (1), cping (0), send (0) >> >> >>>>> So then trying your suggestion, I removed the line entirely from >> >>>>> uriworkermap and got the following errors: >> >>>>> [Fri Apr 08 10:35:48.309 2011] [1652:2908] [info] >> >>>>> uri_worker_map_update::jk_uri_worker_map.c (1187): Reloaded urimaps >> >>>>> from C:\openbd\tomcat\conf\uriworkermap.properties >> >>>>> [Fri Apr 08 10:35:48.309 2011] [1652:2908] [info] >> >>>>> ajp_send_request::jk_ajp_common.c (1574): (ajp13w) all endpoints are >> >>>>> disconnected, detected by connect check (1), cping (0), send (0) >> >> >>>>> I'm still getting the 'file not found' error from OpenBD when trying >> >>>>> to access index.cfm though. >> >> >>>>> Just in case this is helpful, here's the various info I entered into >> >>>>> the config files. >> >> >>>>> server.xml: >> >> >>>>> ... >> >>>>> <Engine name="Catalina" defaultHost="localhost"> >> >> >>>>> <!--For clustering, please take a look at documentation at: >> >>>>> /docs/cluster-howto.html (simple how to) >> >>>>> /docs/config/cluster.html (reference documentation) --> >> >>>>> <!-- >> >>>>> <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/ >> >> >>>>> --> >> >> >>>>> <!-- The request dumper valve dumps useful debugging information >> >>>>> about >> >>>>> the request and response data received and sent by Tomcat. >> >>>>> Documentation at: /docs/config/valve.html --> >> >>>>> <!-- >> >>>>> <Valve className="org.apache.catalina.valves.RequestDumperValve"/ >> >> >>>>> --> >> >> >>>>> <!-- This Realm uses the UserDatabase configured in the global >> >>>>> JNDI >> >>>>> resources under the key "UserDatabase". Any edits >> >>>>> that are performed against this UserDatabase are >> >>>>> immediately >> >>>>> available for use by the Realm. --> >> >>>>> <Realm className="org.apache.catalina.realm.UserDatabaseRealm" >> >>>>> resourceName="UserDatabase"/> >> >> >>>>> <!-- Define the default virtual host >> >>>>> Note: XML Schema validation will not work with Xerces 2.2. >> >>>>> --> >> >>>>> <Host name="localhost" appBase="webapps" >> >>>>> unpackWARs="true" autoDeploy="true" >> >>>>> xmlValidation="false" xmlNamespaceAware="false"> >> >>>>> </Host> >> >> >>>>> <!-- >> >>>>> Add additional VIRTUALHOSTS by copying the following example >> >>>>> config: >> >>>>> REPLACE: >> >>>>> [ENTER DOMAIN NAME] with a domain, IE:www.mysite.com >> >>>>> [ENTER SYSTEM PATH] with your web site's base directory. IE: / >> >>>>> home/user/public_html/ or C:\websites\www.mysite.com\etc... >> >>>>> Don't forget to remove comments! ;) >> >>>>> --> >> >> >>>>> <Host name="rwtclone.com" appBase="webapps"> >> >>>>> <Context path="" docBase="C:\inetpub\wwwroot\RWT_clone" / >> >> >>>>> </Host> >> >>>>> </Engine> >> >>>>> ... >> >> >>>>> uriworkersmap (note walk through refers to this as uri.properties, >> >>>>> which doesn't seem to exist): >> >> >>>>> /*.cfm=ajp13 >> >>>>> /*.cfc=ajp13 >> >>>>> /*.cfml=ajp13 >> >>>>> /*.cfres=ajp13 >> >>>>> /*.cfchart=ajp13 >> >>>>> /*.cfm/*=ajp13 >> >>>>> /*.cfml/*=ajp13 >> >>>>> /*.cfc/*=ajp13 >> >>>>> /*.jsp=ajp13 >> >>>>> /*.do=ajp13 >> >>>>> /=ajp13 >> >> >>>>> Workers.properties: >> >> >>>>> worker.list=ajp13,jkstatus >> >>>>> # Defining a worker named ajp13w and of type ajp13 >> >>>>> # Note that the name and the type do not have to match. >> >>>>> worker.ajp13w.type=ajp13 >> >>>>> worker.ajp13w.host=localhost >> >>>>> worker.ajp13w.port=8009 >> >>>>> # Defining a load balancer >> >>>>> worker.ajp13.type=lb >> >>>>> worker.ajp13.balance_workers=ajp13w >> >>>>> # Define status worker >> >>>>> worker.jkstatus.type=status >> >> >>>>> Do I need to worry about the fact that I specified a port in >> >>>>> workers.properties? >> >> >>>>> Thanks again, >> >> >>>>> David >> >> >>>>> PS: Sorry for the top posting. >> >> >>>>> On Apr 7, 5:20 pm, Jordan Michaels<[email protected]> wrote: >> >>>>>> On 04/07/2011 04:48 PM, David Kanter wrote: >> >> >>>>>>> [Thu Apr 07 16:29:03.606 2011] [2952:3000] [warn] >> >>>>>>> jk_map_handle_duplicates::jk_map.c (446): Duplicate key '/' detected - >> >>>>>>> previous value 'ajp13' will be overwritten with 'openbdlib'. >> >> >>>>>> Hmm... I do not recognize this, and I do not know what "openbdlib" is. I >> >>>>>> suspect this is what's interfering with your connection though. >> >> >>>>>> If you're not using that mapping, you could remove it and potentially >> >>>>>> take care of this issue. >> >> >>>>>> Warm regards, >> >>>>>> Jordan Michaels >> >>>>>> Vivio Technologieshttp://www.viviotech.net/ >> >>>>>> 509.593.4207 x 1001 >> >> > > -- > official tag/function reference: http://openbd.org/manual/ > mailing list - http://groups.google.com/group/openbd?hl=en
-- official tag/function reference: http://openbd.org/manual/ mailing list - http://groups.google.com/group/openbd?hl=en
