using a recent nightly build
when I set the mount-point="/" and I am using the AJP 1.3 I get an error, which I can not see because of another problem. it does not show in the logs. not asking to debug why I have an error, more why ofbiz has this way of handling an error when using AJP. when I first installed and before much modification, url http://somedomain.com/ worked fine. Now the first url http://somedomain.com/ creates an error. yet when I do a url http://somedomain.com/ecommerce the first time, this work and the rest of the URL's are using the mount-point="/". work as expected. so my url is http://somedomain.com/control/* Note: this works fine with a local copy and not using AJP with the same mods. anyone have any thoughts ======================== BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> |
BJ - This doesn't really answer your question but this is how I handle it.
I do not mount any OFBiz webapp with mount point= "/". This is because I have had other problems in the past trying to do this and getting OFBiz to find resources such as style sheets and images. There is probably a reasonable explanation and solution but I chose to just avoid it. When using Apache to proxy requests I use a server side include. Here is the content in my index.shtml file: <!--#include virtual="/store/control/main" --> That's it. So I do not have to mount any OFBiz webapp as root, I can still serve other resources from Apache if I want to. Any mount point I need to proxy to OFBiz is configured in the Apache config file. Vince Clark [hidden email] (303) 493-6723 office (303) 523-4843 cell ----- Original Message ----- From: "BJ Freeman" <[hidden email]> To: [hidden email] Sent: Monday, April 26, 2010 10:55:17 AM Subject: puzzling error on ajp using a recent nightly build when I set the mount-point="/" and I am using the AJP 1.3 I get an error, which I can not see because of another problem. it does not show in the logs. not asking to debug why I have an error, more why ofbiz has this way of handling an error when using AJP. when I first installed and before much modification, url http://somedomain.com/ worked fine. Now the first url http://somedomain.com/ creates an error. yet when I do a url http://somedomain.com/ecommerce the first time, this work and the rest of the URL's are using the mount-point="/". work as expected. so my url is http://somedomain.com/control/* Note: this works fine with a local copy and not using AJP with the same mods. anyone have any thoughts ======================== BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> |
In reply to this post by BJ Freeman
thanks vince.
yes when I use /mystorename it works what puzzle me is that the localhost / works fine that is what I use to test. so what is changed. ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> Vince Clark sent the following on 4/26/2010 11:05 AM: > BJ - This doesn't really answer your question but this is how I handle it. > > I do not mount any OFBiz webapp with mount point= "/". This is because I have had other problems in the past trying to do this and getting OFBiz to find resources such as style sheets and images. There is probably a reasonable explanation and solution but I chose to just avoid it. > > When using Apache to proxy requests I use a server side include. Here is the content in my index.shtml file: > <!--#include virtual="/store/control/main" --> > > That's it. So I do not have to mount any OFBiz webapp as root, I can still serve other resources from Apache if I want to. Any mount point I need to proxy to OFBiz is configured in the Apache config file. > > > Vince Clark > [hidden email] > (303) 493-6723 office > (303) 523-4843 cell > > > ----- Original Message ----- > From: "BJ Freeman" <[hidden email]> > To: [hidden email] > Sent: Monday, April 26, 2010 10:55:17 AM > Subject: puzzling error on ajp > > using a recent nightly build > when I set the mount-point="/" and I am using the AJP 1.3 > I get an error, which I can not see because of another problem. > it does not show in the logs. > not asking to debug why I have an error, more why ofbiz has this way of > handling an error when using AJP. > > > when I first installed and before much modification, url > http://somedomain.com/ worked fine. > > > Now the first url http://somedomain.com/ creates an error. > > yet when I do a url http://somedomain.com/ecommerce the first time, this > work and the rest of the URL's are using the mount-point="/". work as > expected. so my url is http://somedomain.com/control/* > > Note: this works fine with a local copy and not using AJP with the same > mods. > > anyone have any thoughts > > ======================== > BJ Freeman > http://bjfreeman.elance.com Strategic Power Office with Supplier > Automation > <http://www.businessesnetwork.com/automation/viewforum.php?f=93> > Specialtymarket.com <http://www.specialtymarket.com/> > > Systems Integrator-- Glad to Assist > > Chat Y! messenger: bjfr33man > <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> > |
In reply to this post by BJ Freeman
I set the mount-point="/"
when the http://www.somedomain.com/ is done it shows up in the access log which says tomcat saw the request. 95.132.219.24 - - [27/Apr/2010:01:03:56 -0700] "GET / HTTP/1.0" 200 3 "http://www.somedomain.com/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; ru) Opera 8.50" That is as far as the request gets. it does not show up in any ofbiz logs, including serverhits. As a side note if http://www.somedomain.com/anycharacter is done then it is processed by ofbiz and http://www.somedomain.com/control/main happens. I am guessing it is where the controller gets a bad request and a blank page(really blank) is served up. it should at least server upthe error message from the components web.xml any hints where in the ofbiz I could look for what might be filtering this. ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> BJ Freeman sent the following on 4/26/2010 11:18 AM: > thanks vince. > yes when I use /mystorename it works > what puzzle me is that the localhost / works fine that is what I use to > test. > so what is changed. > > > ========================= > BJ Freeman > http://bjfreeman.elance.com > Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93> > Specialtymarket.com <http://www.specialtymarket.com/> > > Systems Integrator-- Glad to Assist > > Chat Y! messenger: bjfr33man > <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> > > > Vince Clark sent the following on 4/26/2010 11:05 AM: >> BJ - This doesn't really answer your question but this is how I handle it. >> >> I do not mount any OFBiz webapp with mount point= "/". This is because I have had other problems in the past trying to do this and getting OFBiz to find resources such as style sheets and images. There is probably a reasonable explanation and solution but I chose to just avoid it. >> >> When using Apache to proxy requests I use a server side include. Here is the content in my index.shtml file: >> <!--#include virtual="/store/control/main" --> >> >> That's it. So I do not have to mount any OFBiz webapp as root, I can still serve other resources from Apache if I want to. Any mount point I need to proxy to OFBiz is configured in the Apache config file. >> >> >> Vince Clark >> [hidden email] >> (303) 493-6723 office >> (303) 523-4843 cell >> >> >> ----- Original Message ----- >> From: "BJ Freeman" <[hidden email]> >> To: [hidden email] >> Sent: Monday, April 26, 2010 10:55:17 AM >> Subject: puzzling error on ajp >> >> using a recent nightly build >> when I set the mount-point="/" and I am using the AJP 1.3 >> I get an error, which I can not see because of another problem. >> it does not show in the logs. >> not asking to debug why I have an error, more why ofbiz has this way of >> handling an error when using AJP. >> >> >> when I first installed and before much modification, url >> http://somedomain.com/ worked fine. >> >> >> Now the first url http://somedomain.com/ creates an error. >> >> yet when I do a url http://somedomain.com/ecommerce the first time, this >> work and the rest of the URL's are using the mount-point="/". work as >> expected. so my url is http://somedomain.com/control/* >> >> Note: this works fine with a local copy and not using AJP with the same >> mods. >> >> anyone have any thoughts >> >> ======================== >> BJ Freeman >> http://bjfreeman.elance.com Strategic Power Office with Supplier >> Automation >> <http://www.businessesnetwork.com/automation/viewforum.php?f=93> >> Specialtymarket.com <http://www.specialtymarket.com/> >> >> Systems Integrator-- Glad to Assist >> >> Chat Y! messenger: bjfr33man >> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >> > > > |
Free forum by Nabble | Edit this page |