if I run it with derby it works fine. I changed to localpostnew using 8.4.4 and it working fine with a 9.04 install I was able to log into the db with psql so that all works. get the following error when it is trying to connect to db. [java] 2010-06-13 12:02:52,088 (main) [ ModelEntityChecker.java:502:INFO ] [initReservedWords] array length=1023 [java] Exception in thread "main" java.lang.NullPointerException [java] at org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555) [java] at org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) looking at the code field-type-name="postnew" public ModelFieldType getEntityFieldType(ModelEntity entity, String type) throws GenericEntityException { return this.getModelFieldTypeReader(entity).getModelFieldType(type); } /* (non-Javadoc) * @see org.ofbiz.entity.Delegator#getModelFieldTypeReader(org.ofbiz.entity.model.ModelEntity) */ public ModelFieldTypeReader getModelFieldTypeReader(ModelEntity entity) { String helperName = getEntityHelperName(entity); if (helperName == null || helperName.length() <= 0) { return null; } that is about the best I can do so far. any suggestions? ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> 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> |
just did a install of 10.4 using postresql and it is working fine.
so what ever it is has to do with changes since 10.04 and June 10th. can you help Scott? BJ Freeman sent the following on 6/13/2010 12:50 PM: ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> 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> > > if I run it with derby it works fine. > I changed to localpostnew using 8.4.4 and it working fine with a 9.04 > install > I was able to log into the db with psql so that all works. > > get the following error when it is trying to connect to db. > > > > [java] 2010-06-13 12:02:52,088 (main) [ ModelEntityChecker.java:502:INFO > ] [initReservedWords] array length=1023 > [java] Exception in thread "main" java.lang.NullPointerException > [java] at > org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555) > > [java] at > org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) > > > looking at the code field-type-name="postnew" > public ModelFieldType getEntityFieldType(ModelEntity entity, String > type) throws GenericEntityException { > return this.getModelFieldTypeReader(entity).getModelFieldType(type); > } > > /* (non-Javadoc) > * @see > org.ofbiz.entity.Delegator#getModelFieldTypeReader(org.ofbiz.entity.model.ModelEntity) > > */ > public ModelFieldTypeReader getModelFieldTypeReader(ModelEntity entity) { > String helperName = getEntityHelperName(entity); > if (helperName == null || helperName.length() <= 0) { > return null; > } > that is about the best I can do so far. > any suggestions? > > ========================= > BJ Freeman > http://bjfreeman.elance.com > Strategic Power Office with Supplier Automation > <http://www.businessesnetwork.com/automation/viewforum.php?f=52> > 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> > > > |
No sorry I can't help, I don't have the time right now to setup a local postgres instance and figure what is going on. I highly doubt the problem, if there is one, is related to anything I've committed recently.
Regards Scott HotWax Media http://www.hotwaxmedia.com On 14/06/2010, at 11:12 AM, BJ Freeman wrote: > just did a install of 10.4 using postresql and it is working fine. > so what ever it is has to do with changes since 10.04 and June 10th. > can you help Scott? > > BJ Freeman sent the following on 6/13/2010 12:50 PM: > > > ========================= > BJ Freeman > http://bjfreeman.elance.com > Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> > Specialtymarket.com <http://www.specialtymarket.com/> > > Systems Integrator-- Glad to Assist > > Chat Y! messenger: bjfr33man > Linkedin <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> > >> >> if I run it with derby it works fine. >> I changed to localpostnew using 8.4.4 and it working fine with a 9.04 >> install >> I was able to log into the db with psql so that all works. >> >> get the following error when it is trying to connect to db. >> >> >> >> [java] 2010-06-13 12:02:52,088 (main) [ ModelEntityChecker.java:502:INFO >> ] [initReservedWords] array length=1023 >> [java] Exception in thread "main" java.lang.NullPointerException >> [java] at >> org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555) >> >> [java] at >> org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) >> >> >> looking at the code field-type-name="postnew" >> public ModelFieldType getEntityFieldType(ModelEntity entity, String >> type) throws GenericEntityException { >> return this.getModelFieldTypeReader(entity).getModelFieldType(type); >> } >> >> /* (non-Javadoc) >> * @see >> org.ofbiz.entity.Delegator#getModelFieldTypeReader(org.ofbiz.entity.model.ModelEntity) >> >> */ >> public ModelFieldTypeReader getModelFieldTypeReader(ModelEntity entity) { >> String helperName = getEntityHelperName(entity); >> if (helperName == null || helperName.length() <= 0) { >> return null; >> } >> that is about the best I can do so far. >> any suggestions? >> >> ========================= >> BJ Freeman >> http://bjfreeman.elance.com >> Strategic Power Office with Supplier Automation >> <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >> 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> >> >> >> smime.p7s (3K) Download Attachment |
I was hoping since you had worked with the code in this area you could
point me in what it was looking for and did not find. saves me having to put debug.info in to find out. ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> 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> Scott Gray sent the following on 6/13/2010 4:37 PM: > No sorry I can't help, I don't have the time right now to setup a local postgres instance and figure what is going on. I highly doubt the problem, if there is one, is related to anything I've committed recently. > > Regards > Scott > > HotWax Media > http://www.hotwaxmedia.com > > On 14/06/2010, at 11:12 AM, BJ Freeman wrote: > >> just did a install of 10.4 using postresql and it is working fine. >> so what ever it is has to do with changes since 10.04 and June 10th. >> can you help Scott? >> >> BJ Freeman sent the following on 6/13/2010 12:50 PM: >> >> >> ========================= >> BJ Freeman >> http://bjfreeman.elance.com >> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >> Specialtymarket.com<http://www.specialtymarket.com/> >> >> Systems Integrator-- Glad to Assist >> >> Chat Y! messenger: bjfr33man >> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >> >>> >>> if I run it with derby it works fine. >>> I changed to localpostnew using 8.4.4 and it working fine with a 9.04 >>> install >>> I was able to log into the db with psql so that all works. >>> >>> get the following error when it is trying to connect to db. >>> >>> >>> >>> [java] 2010-06-13 12:02:52,088 (main) [ ModelEntityChecker.java:502:INFO >>> ] [initReservedWords] array length=1023 >>> [java] Exception in thread "main" java.lang.NullPointerException >>> [java] at >>> org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555) >>> >>> [java] at >>> org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) >>> >>> >>> looking at the code field-type-name="postnew" >>> public ModelFieldType getEntityFieldType(ModelEntity entity, String >>> type) throws GenericEntityException { >>> return this.getModelFieldTypeReader(entity).getModelFieldType(type); >>> } >>> >>> /* (non-Javadoc) >>> * @see >>> org.ofbiz.entity.Delegator#getModelFieldTypeReader(org.ofbiz.entity.model.ModelEntity) >>> >>> */ >>> public ModelFieldTypeReader getModelFieldTypeReader(ModelEntity entity) { >>> String helperName = getEntityHelperName(entity); >>> if (helperName == null || helperName.length()<= 0) { >>> return null; >>> } >>> that is about the best I can do so far. >>> any suggestions? >>> >>> ========================= >>> BJ Freeman >>> http://bjfreeman.elance.com >>> Strategic Power Office with Supplier Automation >>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>> 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> >>> >>> >>> > |
There isn't much code I haven't worked on or dug through now by this point :-) I'm certainly not instantly familiar with all of it though.
I cringe every time someone mentions using debug statements to identify the source of a problem. I would suggest that you learn how to perform remote debugging and insert breakpoints into the code, once you know how you'll never look back. Uncomment this line in startofbiz.sh: #DEBUG="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8091" Setup a new debug configuration in eclipse of type "Remote Java Application" and change the port to 8091 Insert a breakpoint on the line where you want to pause OFBiz, usually you can just double click on the line number in the editor Start OFBiz and launch the debug configuration Wait for OFBiz to hit the breakpoint Use eclipse to step through the code and see what is going on, the variables panel will be your friend I use this on a daily basis. Regards Scott On 14/06/2010, at 12:18 PM, BJ Freeman wrote: > I was hoping since you had worked with the code in this area you could point me in what it was looking for and did not find. > saves me having to put debug.info in to find out. > > ========================= > BJ Freeman > http://bjfreeman.elance.com > Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> > Specialtymarket.com <http://www.specialtymarket.com/> > > Systems Integrator-- Glad to Assist > > Chat Y! messenger: bjfr33man > Linkedin <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> > > > Scott Gray sent the following on 6/13/2010 4:37 PM: >> No sorry I can't help, I don't have the time right now to setup a local postgres instance and figure what is going on. I highly doubt the problem, if there is one, is related to anything I've committed recently. >> >> Regards >> Scott >> >> HotWax Media >> http://www.hotwaxmedia.com >> >> On 14/06/2010, at 11:12 AM, BJ Freeman wrote: >> >>> just did a install of 10.4 using postresql and it is working fine. >>> so what ever it is has to do with changes since 10.04 and June 10th. >>> can you help Scott? >>> >>> BJ Freeman sent the following on 6/13/2010 12:50 PM: >>> >>> >>> ========================= >>> BJ Freeman >>> http://bjfreeman.elance.com >>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>> Specialtymarket.com<http://www.specialtymarket.com/> >>> >>> Systems Integrator-- Glad to Assist >>> >>> Chat Y! messenger: bjfr33man >>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>> >>>> >>>> if I run it with derby it works fine. >>>> I changed to localpostnew using 8.4.4 and it working fine with a 9.04 >>>> install >>>> I was able to log into the db with psql so that all works. >>>> >>>> get the following error when it is trying to connect to db. >>>> >>>> >>>> >>>> [java] 2010-06-13 12:02:52,088 (main) [ ModelEntityChecker.java:502:INFO >>>> ] [initReservedWords] array length=1023 >>>> [java] Exception in thread "main" java.lang.NullPointerException >>>> [java] at >>>> org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555) >>>> >>>> [java] at >>>> org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) >>>> >>>> >>>> looking at the code field-type-name="postnew" >>>> public ModelFieldType getEntityFieldType(ModelEntity entity, String >>>> type) throws GenericEntityException { >>>> return this.getModelFieldTypeReader(entity).getModelFieldType(type); >>>> } >>>> >>>> /* (non-Javadoc) >>>> * @see >>>> org.ofbiz.entity.Delegator#getModelFieldTypeReader(org.ofbiz.entity.model.ModelEntity) >>>> >>>> */ >>>> public ModelFieldTypeReader getModelFieldTypeReader(ModelEntity entity) { >>>> String helperName = getEntityHelperName(entity); >>>> if (helperName == null || helperName.length()<= 0) { >>>> return null; >>>> } >>>> that is about the best I can do so far. >>>> any suggestions? >>>> >>>> ========================= >>>> BJ Freeman >>>> http://bjfreeman.elance.com >>>> Strategic Power Office with Supplier Automation >>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>> 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> >>>> >>>> >>>> >> > smime.p7s (3K) Download Attachment |
thanks guess I have to figure out how to install eclipse on my centos box.
can't do remote debug through the boxes firewall. ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> 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> Scott Gray sent the following on 6/13/2010 5:44 PM: > There isn't much code I haven't worked on or dug through now by this point :-) I'm certainly not instantly familiar with all of it though. > > I cringe every time someone mentions using debug statements to identify the source of a problem. I would suggest that you learn how to perform remote debugging and insert breakpoints into the code, once you know how you'll never look back. > > Uncomment this line in startofbiz.sh: > #DEBUG="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8091" > Setup a new debug configuration in eclipse of type "Remote Java Application" and change the port to 8091 > Insert a breakpoint on the line where you want to pause OFBiz, usually you can just double click on the line number in the editor > Start OFBiz and launch the debug configuration > Wait for OFBiz to hit the breakpoint > Use eclipse to step through the code and see what is going on, the variables panel will be your friend > > I use this on a daily basis. > > Regards > Scott > > On 14/06/2010, at 12:18 PM, BJ Freeman wrote: > >> I was hoping since you had worked with the code in this area you could point me in what it was looking for and did not find. >> saves me having to put debug.info in to find out. >> >> ========================= >> BJ Freeman >> http://bjfreeman.elance.com >> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >> Specialtymarket.com<http://www.specialtymarket.com/> >> >> Systems Integrator-- Glad to Assist >> >> Chat Y! messenger: bjfr33man >> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >> >> >> Scott Gray sent the following on 6/13/2010 4:37 PM: >>> No sorry I can't help, I don't have the time right now to setup a local postgres instance and figure what is going on. I highly doubt the problem, if there is one, is related to anything I've committed recently. >>> >>> Regards >>> Scott >>> >>> HotWax Media >>> http://www.hotwaxmedia.com >>> >>> On 14/06/2010, at 11:12 AM, BJ Freeman wrote: >>> >>>> just did a install of 10.4 using postresql and it is working fine. >>>> so what ever it is has to do with changes since 10.04 and June 10th. >>>> can you help Scott? >>>> >>>> BJ Freeman sent the following on 6/13/2010 12:50 PM: >>>> >>>> >>>> ========================= >>>> BJ Freeman >>>> http://bjfreeman.elance.com >>>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>> >>>> Systems Integrator-- Glad to Assist >>>> >>>> Chat Y! messenger: bjfr33man >>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>> >>>>> >>>>> if I run it with derby it works fine. >>>>> I changed to localpostnew using 8.4.4 and it working fine with a 9.04 >>>>> install >>>>> I was able to log into the db with psql so that all works. >>>>> >>>>> get the following error when it is trying to connect to db. >>>>> >>>>> >>>>> >>>>> [java] 2010-06-13 12:02:52,088 (main) [ ModelEntityChecker.java:502:INFO >>>>> ] [initReservedWords] array length=1023 >>>>> [java] Exception in thread "main" java.lang.NullPointerException >>>>> [java] at >>>>> org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555) >>>>> >>>>> [java] at >>>>> org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) >>>>> >>>>> >>>>> looking at the code field-type-name="postnew" >>>>> public ModelFieldType getEntityFieldType(ModelEntity entity, String >>>>> type) throws GenericEntityException { >>>>> return this.getModelFieldTypeReader(entity).getModelFieldType(type); >>>>> } >>>>> >>>>> /* (non-Javadoc) >>>>> * @see >>>>> org.ofbiz.entity.Delegator#getModelFieldTypeReader(org.ofbiz.entity.model.ModelEntity) >>>>> >>>>> */ >>>>> public ModelFieldTypeReader getModelFieldTypeReader(ModelEntity entity) { >>>>> String helperName = getEntityHelperName(entity); >>>>> if (helperName == null || helperName.length()<= 0) { >>>>> return null; >>>>> } >>>>> that is about the best I can do so far. >>>>> any suggestions? >>>>> >>>>> ========================= >>>>> BJ Freeman >>>>> http://bjfreeman.elance.com >>>>> Strategic Power Office with Supplier Automation >>>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>> 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> >>>>> >>>>> >>>>> >>> >> > |
You can if you open up the port for access. Or you can just replicate the problem locally and deal with it there.
Regards Scott On 14/06/2010, at 12:53 PM, BJ Freeman wrote: > thanks guess I have to figure out how to install eclipse on my centos box. > can't do remote debug through the boxes firewall. > > ========================= > BJ Freeman > http://bjfreeman.elance.com > Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> > Specialtymarket.com <http://www.specialtymarket.com/> > > Systems Integrator-- Glad to Assist > > Chat Y! messenger: bjfr33man > Linkedin <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> > > > Scott Gray sent the following on 6/13/2010 5:44 PM: >> There isn't much code I haven't worked on or dug through now by this point :-) I'm certainly not instantly familiar with all of it though. >> >> I cringe every time someone mentions using debug statements to identify the source of a problem. I would suggest that you learn how to perform remote debugging and insert breakpoints into the code, once you know how you'll never look back. >> >> Uncomment this line in startofbiz.sh: >> #DEBUG="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8091" >> Setup a new debug configuration in eclipse of type "Remote Java Application" and change the port to 8091 >> Insert a breakpoint on the line where you want to pause OFBiz, usually you can just double click on the line number in the editor >> Start OFBiz and launch the debug configuration >> Wait for OFBiz to hit the breakpoint >> Use eclipse to step through the code and see what is going on, the variables panel will be your friend >> >> I use this on a daily basis. >> >> Regards >> Scott >> >> On 14/06/2010, at 12:18 PM, BJ Freeman wrote: >> >>> I was hoping since you had worked with the code in this area you could point me in what it was looking for and did not find. >>> saves me having to put debug.info in to find out. >>> >>> ========================= >>> BJ Freeman >>> http://bjfreeman.elance.com >>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>> Specialtymarket.com<http://www.specialtymarket.com/> >>> >>> Systems Integrator-- Glad to Assist >>> >>> Chat Y! messenger: bjfr33man >>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>> >>> >>> Scott Gray sent the following on 6/13/2010 4:37 PM: >>>> No sorry I can't help, I don't have the time right now to setup a local postgres instance and figure what is going on. I highly doubt the problem, if there is one, is related to anything I've committed recently. >>>> >>>> Regards >>>> Scott >>>> >>>> HotWax Media >>>> http://www.hotwaxmedia.com >>>> >>>> On 14/06/2010, at 11:12 AM, BJ Freeman wrote: >>>> >>>>> just did a install of 10.4 using postresql and it is working fine. >>>>> so what ever it is has to do with changes since 10.04 and June 10th. >>>>> can you help Scott? >>>>> >>>>> BJ Freeman sent the following on 6/13/2010 12:50 PM: >>>>> >>>>> >>>>> ========================= >>>>> BJ Freeman >>>>> http://bjfreeman.elance.com >>>>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>>> >>>>> Systems Integrator-- Glad to Assist >>>>> >>>>> Chat Y! messenger: bjfr33man >>>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>>> >>>>>> >>>>>> if I run it with derby it works fine. >>>>>> I changed to localpostnew using 8.4.4 and it working fine with a 9.04 >>>>>> install >>>>>> I was able to log into the db with psql so that all works. >>>>>> >>>>>> get the following error when it is trying to connect to db. >>>>>> >>>>>> >>>>>> >>>>>> [java] 2010-06-13 12:02:52,088 (main) [ ModelEntityChecker.java:502:INFO >>>>>> ] [initReservedWords] array length=1023 >>>>>> [java] Exception in thread "main" java.lang.NullPointerException >>>>>> [java] at >>>>>> org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555) >>>>>> >>>>>> [java] at >>>>>> org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) >>>>>> >>>>>> >>>>>> looking at the code field-type-name="postnew" >>>>>> public ModelFieldType getEntityFieldType(ModelEntity entity, String >>>>>> type) throws GenericEntityException { >>>>>> return this.getModelFieldTypeReader(entity).getModelFieldType(type); >>>>>> } >>>>>> >>>>>> /* (non-Javadoc) >>>>>> * @see >>>>>> org.ofbiz.entity.Delegator#getModelFieldTypeReader(org.ofbiz.entity.model.ModelEntity) >>>>>> >>>>>> */ >>>>>> public ModelFieldTypeReader getModelFieldTypeReader(ModelEntity entity) { >>>>>> String helperName = getEntityHelperName(entity); >>>>>> if (helperName == null || helperName.length()<= 0) { >>>>>> return null; >>>>>> } >>>>>> that is about the best I can do so far. >>>>>> any suggestions? >>>>>> >>>>>> ========================= >>>>>> BJ Freeman >>>>>> http://bjfreeman.elance.com >>>>>> Strategic Power Office with Supplier Automation >>>>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>>> 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> >>>>>> >>>>>> >>>>>> >>>> >>> >> > smime.p7s (3K) Download Attachment |
does not seem to what to work on boot up.
this is what started this thread. 2010-06-13 18:23:58,531 (main) [ ModelReader.java:389:INFO ] FINISHED LOADING ENTITIES - ALL FILES; #Entities=848 #ViewEntities=269 #Fields=8859 #Relationships=2927 #AutoRelationships=2159 2010-06-13 18:23:58,565 (main) [ GenericDelegator.java:244:INFO ] Doing entity definition check... 2010-06-13 18:23:58,572 (main) [ ModelEntityChecker.java:502:INFO ] [initReservedWords] array length=1023 java.lang.NullPointerException at org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555) at org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) at org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:245) at org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:33) at org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:25) at org.ofbiz.base.util.UtilObject.getObjectFromFactory(UtilObject.java:202) at org.ofbiz.entity.DelegatorFactory.getDelegator(DelegatorFactory.java:47) at org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:174) at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:188) at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65) at org.ofbiz.base.start.Start.initStartLoaders(Start.java:259) at org.ofbiz.base.start.Start.init(Start.java:96) at org.ofbiz.base.start.Start.main(Start.java:410) [ ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> 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> Scott Gray sent the following on 6/13/2010 5:58 PM: > You can if you open up the port for access. Or you can just replicate the problem locally and deal with it there. > > Regards > Scott > > On 14/06/2010, at 12:53 PM, BJ Freeman wrote: > >> thanks guess I have to figure out how to install eclipse on my centos box. >> can't do remote debug through the boxes firewall. >> >> ========================= >> BJ Freeman >> http://bjfreeman.elance.com >> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >> Specialtymarket.com<http://www.specialtymarket.com/> >> >> Systems Integrator-- Glad to Assist >> >> Chat Y! messenger: bjfr33man >> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >> >> >> Scott Gray sent the following on 6/13/2010 5:44 PM: >>> There isn't much code I haven't worked on or dug through now by this point :-) I'm certainly not instantly familiar with all of it though. >>> >>> I cringe every time someone mentions using debug statements to identify the source of a problem. I would suggest that you learn how to perform remote debugging and insert breakpoints into the code, once you know how you'll never look back. >>> >>> Uncomment this line in startofbiz.sh: >>> #DEBUG="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8091" >>> Setup a new debug configuration in eclipse of type "Remote Java Application" and change the port to 8091 >>> Insert a breakpoint on the line where you want to pause OFBiz, usually you can just double click on the line number in the editor >>> Start OFBiz and launch the debug configuration >>> Wait for OFBiz to hit the breakpoint >>> Use eclipse to step through the code and see what is going on, the variables panel will be your friend >>> >>> I use this on a daily basis. >>> >>> Regards >>> Scott >>> >>> On 14/06/2010, at 12:18 PM, BJ Freeman wrote: >>> >>>> I was hoping since you had worked with the code in this area you could point me in what it was looking for and did not find. >>>> saves me having to put debug.info in to find out. >>>> >>>> ========================= >>>> BJ Freeman >>>> http://bjfreeman.elance.com >>>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>> >>>> Systems Integrator-- Glad to Assist >>>> >>>> Chat Y! messenger: bjfr33man >>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>> >>>> >>>> Scott Gray sent the following on 6/13/2010 4:37 PM: >>>>> No sorry I can't help, I don't have the time right now to setup a local postgres instance and figure what is going on. I highly doubt the problem, if there is one, is related to anything I've committed recently. >>>>> >>>>> Regards >>>>> Scott >>>>> >>>>> HotWax Media >>>>> http://www.hotwaxmedia.com >>>>> >>>>> On 14/06/2010, at 11:12 AM, BJ Freeman wrote: >>>>> >>>>>> just did a install of 10.4 using postresql and it is working fine. >>>>>> so what ever it is has to do with changes since 10.04 and June 10th. >>>>>> can you help Scott? >>>>>> >>>>>> BJ Freeman sent the following on 6/13/2010 12:50 PM: >>>>>> >>>>>> >>>>>> ========================= >>>>>> BJ Freeman >>>>>> http://bjfreeman.elance.com >>>>>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>>>> >>>>>> Systems Integrator-- Glad to Assist >>>>>> >>>>>> Chat Y! messenger: bjfr33man >>>>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>>>> >>>>>>> >>>>>>> if I run it with derby it works fine. >>>>>>> I changed to localpostnew using 8.4.4 and it working fine with a 9.04 >>>>>>> install >>>>>>> I was able to log into the db with psql so that all works. >>>>>>> >>>>>>> get the following error when it is trying to connect to db. >>>>>>> >>>>>>> >>>>>>> >>>>>>> [java] 2010-06-13 12:02:52,088 (main) [ ModelEntityChecker.java:502:INFO >>>>>>> ] [initReservedWords] array length=1023 >>>>>>> [java] Exception in thread "main" java.lang.NullPointerException >>>>>>> [java] at >>>>>>> org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555) >>>>>>> >>>>>>> [java] at >>>>>>> org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) >>>>>>> >>>>>>> >>>>>>> looking at the code field-type-name="postnew" >>>>>>> public ModelFieldType getEntityFieldType(ModelEntity entity, String >>>>>>> type) throws GenericEntityException { >>>>>>> return this.getModelFieldTypeReader(entity).getModelFieldType(type); >>>>>>> } >>>>>>> >>>>>>> /* (non-Javadoc) >>>>>>> * @see >>>>>>> org.ofbiz.entity.Delegator#getModelFieldTypeReader(org.ofbiz.entity.model.ModelEntity) >>>>>>> >>>>>>> */ >>>>>>> public ModelFieldTypeReader getModelFieldTypeReader(ModelEntity entity) { >>>>>>> String helperName = getEntityHelperName(entity); >>>>>>> if (helperName == null || helperName.length()<= 0) { >>>>>>> return null; >>>>>>> } >>>>>>> that is about the best I can do so far. >>>>>>> any suggestions? >>>>>>> >>>>>>> ========================= >>>>>>> BJ Freeman >>>>>>> http://bjfreeman.elance.com >>>>>>> Strategic Power Office with Supplier Automation >>>>>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>>>> 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> >>>>>>> >>>>>>> >>>>>>> >>>>> >>>> >>> >> > |
I have a pretty standard way of installing.
do the svn compile change the ofbiz-container so ports don't conflict make the /etc/init.d/scriptname set the user and group ./ant run-install su username /etc/init.d/scriptname start check it runs under derby and I can access both http and https su username /etc/init.d/scriptname stop create the postgresql and test them. modify the entityengine.xml su username /etc/init.d/scriptname start the is the only one of 5 installs that did not work. have a 9.04, 10.4, trunk using derby and 9.04 svn using derby. the last two are my demo servers I have spent two days going over each thing to see what I might have done, but as you can see that is only one thing that caused the trunk to fail. that was hooking up to postgresql. I even when as far as to try to hook up to a db that already was working with ofbiz and change the entityengine to use it. ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> 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 6/13/2010 6:30 PM: > does not seem to what to work on boot up. > this is what started this thread. > > 2010-06-13 18:23:58,531 (main) [ ModelReader.java:389:INFO ] FINISHED > LOADING ENTITIES - ALL FILES; #Entities=848 #ViewEntities=269 > #Fields=8859 #Relationships=2927 #AutoRelationships=2159 > 2010-06-13 18:23:58,565 (main) [ GenericDelegator.java:244:INFO ] Doing > entity definition check... > 2010-06-13 18:23:58,572 (main) [ ModelEntityChecker.java:502:INFO ] > [initReservedWords] array length=1023 > java.lang.NullPointerException > at > org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555) > > at > org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) > > at org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:245) > at > org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:33) > > at > org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:25) > > at org.ofbiz.base.util.UtilObject.getObjectFromFactory(UtilObject.java:202) > at org.ofbiz.entity.DelegatorFactory.getDelegator(DelegatorFactory.java:47) > at > org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:174) > > at > org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:188) > > at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65) > at org.ofbiz.base.start.Start.initStartLoaders(Start.java:259) > at org.ofbiz.base.start.Start.init(Start.java:96) > at org.ofbiz.base.start.Start.main(Start.java:410) > [ > > ========================= > BJ Freeman > http://bjfreeman.elance.com > Strategic Power Office with Supplier Automation > <http://www.businessesnetwork.com/automation/viewforum.php?f=52> > 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> > > > > Scott Gray sent the following on 6/13/2010 5:58 PM: >> You can if you open up the port for access. Or you can just replicate >> the problem locally and deal with it there. >> >> Regards >> Scott >> >> On 14/06/2010, at 12:53 PM, BJ Freeman wrote: >> >>> thanks guess I have to figure out how to install eclipse on my centos >>> box. >>> can't do remote debug through the boxes firewall. >>> >>> ========================= >>> BJ Freeman >>> http://bjfreeman.elance.com >>> Strategic Power Office with Supplier >>> Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>> >>> Specialtymarket.com<http://www.specialtymarket.com/> >>> >>> Systems Integrator-- Glad to Assist >>> >>> Chat Y! messenger: bjfr33man >>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>> >>> >>> >>> Scott Gray sent the following on 6/13/2010 5:44 PM: >>>> There isn't much code I haven't worked on or dug through now by this >>>> point :-) I'm certainly not instantly familiar with all of it though. >>>> >>>> I cringe every time someone mentions using debug statements to >>>> identify the source of a problem. I would suggest that you learn how >>>> to perform remote debugging and insert breakpoints into the code, >>>> once you know how you'll never look back. >>>> >>>> Uncomment this line in startofbiz.sh: >>>> #DEBUG="-Xdebug -Xnoagent -Djava.compiler=NONE >>>> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8091" >>>> Setup a new debug configuration in eclipse of type "Remote Java >>>> Application" and change the port to 8091 >>>> Insert a breakpoint on the line where you want to pause OFBiz, >>>> usually you can just double click on the line number in the editor >>>> Start OFBiz and launch the debug configuration >>>> Wait for OFBiz to hit the breakpoint >>>> Use eclipse to step through the code and see what is going on, the >>>> variables panel will be your friend >>>> >>>> I use this on a daily basis. >>>> >>>> Regards >>>> Scott >>>> >>>> On 14/06/2010, at 12:18 PM, BJ Freeman wrote: >>>> >>>>> I was hoping since you had worked with the code in this area you >>>>> could point me in what it was looking for and did not find. >>>>> saves me having to put debug.info in to find out. >>>>> >>>>> ========================= >>>>> BJ Freeman >>>>> http://bjfreeman.elance.com >>>>> Strategic Power Office with Supplier >>>>> Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>> >>>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>>> >>>>> Systems Integrator-- Glad to Assist >>>>> >>>>> Chat Y! messenger: bjfr33man >>>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>>> >>>>> >>>>> >>>>> Scott Gray sent the following on 6/13/2010 4:37 PM: >>>>>> No sorry I can't help, I don't have the time right now to setup a >>>>>> local postgres instance and figure what is going on. I highly >>>>>> doubt the problem, if there is one, is related to anything I've >>>>>> committed recently. >>>>>> >>>>>> Regards >>>>>> Scott >>>>>> >>>>>> HotWax Media >>>>>> http://www.hotwaxmedia.com >>>>>> >>>>>> On 14/06/2010, at 11:12 AM, BJ Freeman wrote: >>>>>> >>>>>>> just did a install of 10.4 using postresql and it is working fine. >>>>>>> so what ever it is has to do with changes since 10.04 and June 10th. >>>>>>> can you help Scott? >>>>>>> >>>>>>> BJ Freeman sent the following on 6/13/2010 12:50 PM: >>>>>>> >>>>>>> >>>>>>> ========================= >>>>>>> BJ Freeman >>>>>>> http://bjfreeman.elance.com >>>>>>> Strategic Power Office with Supplier >>>>>>> Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>>>> >>>>>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>>>>> >>>>>>> Systems Integrator-- Glad to Assist >>>>>>> >>>>>>> Chat Y! messenger: bjfr33man >>>>>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>>>>> >>>>>>> >>>>>>>> >>>>>>>> if I run it with derby it works fine. >>>>>>>> I changed to localpostnew using 8.4.4 and it working fine with a >>>>>>>> 9.04 >>>>>>>> install >>>>>>>> I was able to log into the db with psql so that all works. >>>>>>>> >>>>>>>> get the following error when it is trying to connect to db. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> [java] 2010-06-13 12:02:52,088 (main) [ >>>>>>>> ModelEntityChecker.java:502:INFO >>>>>>>> ] [initReservedWords] array length=1023 >>>>>>>> [java] Exception in thread "main" java.lang.NullPointerException >>>>>>>> [java] at >>>>>>>> org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555) >>>>>>>> >>>>>>>> >>>>>>>> [java] at >>>>>>>> org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> looking at the code field-type-name="postnew" >>>>>>>> public ModelFieldType getEntityFieldType(ModelEntity entity, String >>>>>>>> type) throws GenericEntityException { >>>>>>>> return >>>>>>>> this.getModelFieldTypeReader(entity).getModelFieldType(type); >>>>>>>> } >>>>>>>> >>>>>>>> /* (non-Javadoc) >>>>>>>> * @see >>>>>>>> org.ofbiz.entity.Delegator#getModelFieldTypeReader(org.ofbiz.entity.model.ModelEntity) >>>>>>>> >>>>>>>> >>>>>>>> */ >>>>>>>> public ModelFieldTypeReader getModelFieldTypeReader(ModelEntity >>>>>>>> entity) { >>>>>>>> String helperName = getEntityHelperName(entity); >>>>>>>> if (helperName == null || helperName.length()<= 0) { >>>>>>>> return null; >>>>>>>> } >>>>>>>> that is about the best I can do so far. >>>>>>>> any suggestions? >>>>>>>> >>>>>>>> ========================= >>>>>>>> BJ Freeman >>>>>>>> http://bjfreeman.elance.com >>>>>>>> Strategic Power Office with Supplier Automation >>>>>>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>>>>> 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> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>> >>>>> >>>> >>> >> > > |
Administrator
|
In reply to this post by BJ Freeman
You can debug in Eclipse without going through the boxes firewall.
https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse#RunningandDebuggingOFBizinEclipse-Debugging(orrunning)OFBizinEclipse Jacques From: "BJ Freeman" <[hidden email]> > thanks guess I have to figure out how to install eclipse on my centos box. > can't do remote debug through the boxes firewall. > > ========================= > BJ Freeman > http://bjfreeman.elance.com > Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> > Specialtymarket.com <http://www.specialtymarket.com/> > > Systems Integrator-- Glad to Assist > > Chat Y! messenger: bjfr33man > Linkedin <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> > > > Scott Gray sent the following on 6/13/2010 5:44 PM: >> There isn't much code I haven't worked on or dug through now by this point :-) I'm certainly not instantly familiar with all of >> it though. >> >> I cringe every time someone mentions using debug statements to identify the source of a problem. I would suggest that you learn >> how to perform remote debugging and insert breakpoints into the code, once you know how you'll never look back. >> >> Uncomment this line in startofbiz.sh: >> #DEBUG="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8091" >> Setup a new debug configuration in eclipse of type "Remote Java Application" and change the port to 8091 >> Insert a breakpoint on the line where you want to pause OFBiz, usually you can just double click on the line number in the editor >> Start OFBiz and launch the debug configuration >> Wait for OFBiz to hit the breakpoint >> Use eclipse to step through the code and see what is going on, the variables panel will be your friend >> >> I use this on a daily basis. >> >> Regards >> Scott >> >> On 14/06/2010, at 12:18 PM, BJ Freeman wrote: >> >>> I was hoping since you had worked with the code in this area you could point me in what it was looking for and did not find. >>> saves me having to put debug.info in to find out. >>> >>> ========================= >>> BJ Freeman >>> http://bjfreeman.elance.com >>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>> Specialtymarket.com<http://www.specialtymarket.com/> >>> >>> Systems Integrator-- Glad to Assist >>> >>> Chat Y! messenger: bjfr33man >>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>> >>> >>> Scott Gray sent the following on 6/13/2010 4:37 PM: >>>> No sorry I can't help, I don't have the time right now to setup a local postgres instance and figure what is going on. I >>>> highly doubt the problem, if there is one, is related to anything I've committed recently. >>>> >>>> Regards >>>> Scott >>>> >>>> HotWax Media >>>> http://www.hotwaxmedia.com >>>> >>>> On 14/06/2010, at 11:12 AM, BJ Freeman wrote: >>>> >>>>> just did a install of 10.4 using postresql and it is working fine. >>>>> so what ever it is has to do with changes since 10.04 and June 10th. >>>>> can you help Scott? >>>>> >>>>> BJ Freeman sent the following on 6/13/2010 12:50 PM: >>>>> >>>>> >>>>> ========================= >>>>> BJ Freeman >>>>> http://bjfreeman.elance.com >>>>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>>> >>>>> Systems Integrator-- Glad to Assist >>>>> >>>>> Chat Y! messenger: bjfr33man >>>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>>> >>>>>> >>>>>> if I run it with derby it works fine. >>>>>> I changed to localpostnew using 8.4.4 and it working fine with a 9.04 >>>>>> install >>>>>> I was able to log into the db with psql so that all works. >>>>>> >>>>>> get the following error when it is trying to connect to db. >>>>>> >>>>>> >>>>>> >>>>>> [java] 2010-06-13 12:02:52,088 (main) [ ModelEntityChecker.java:502:INFO >>>>>> ] [initReservedWords] array length=1023 >>>>>> [java] Exception in thread "main" java.lang.NullPointerException >>>>>> [java] at >>>>>> org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555) >>>>>> >>>>>> [java] at >>>>>> org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) >>>>>> >>>>>> >>>>>> looking at the code field-type-name="postnew" >>>>>> public ModelFieldType getEntityFieldType(ModelEntity entity, String >>>>>> type) throws GenericEntityException { >>>>>> return this.getModelFieldTypeReader(entity).getModelFieldType(type); >>>>>> } >>>>>> >>>>>> /* (non-Javadoc) >>>>>> * @see >>>>>> org.ofbiz.entity.Delegator#getModelFieldTypeReader(org.ofbiz.entity.model.ModelEntity) >>>>>> >>>>>> */ >>>>>> public ModelFieldTypeReader getModelFieldTypeReader(ModelEntity entity) { >>>>>> String helperName = getEntityHelperName(entity); >>>>>> if (helperName == null || helperName.length()<= 0) { >>>>>> return null; >>>>>> } >>>>>> that is about the best I can do so far. >>>>>> any suggestions? >>>>>> >>>>>> ========================= >>>>>> BJ Freeman >>>>>> http://bjfreeman.elance.com >>>>>> Strategic Power Office with Supplier Automation >>>>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>>> 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> >>>>>> >>>>>> >>>>>> >>>> >>> >> > |
thanks
every bit helps. ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> 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> Jacques Le Roux sent the following on 6/13/2010 10:57 PM: > You can debug in Eclipse without going through the boxes firewall. > https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse#RunningandDebuggingOFBizinEclipse-Debugging(orrunning)OFBizinEclipse > > > Jacques > > From: "BJ Freeman" <[hidden email]> >> thanks guess I have to figure out how to install eclipse on my centos >> box. >> can't do remote debug through the boxes firewall. >> >> ========================= >> BJ Freeman >> http://bjfreeman.elance.com >> Strategic Power Office with Supplier Automation >> <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >> 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> >> >> >> >> Scott Gray sent the following on 6/13/2010 5:44 PM: >>> There isn't much code I haven't worked on or dug through now by this >>> point :-) I'm certainly not instantly familiar with all of it though. >>> >>> I cringe every time someone mentions using debug statements to >>> identify the source of a problem. I would suggest that you learn how >>> to perform remote debugging and insert breakpoints into the code, >>> once you know how you'll never look back. >>> >>> Uncomment this line in startofbiz.sh: >>> #DEBUG="-Xdebug -Xnoagent -Djava.compiler=NONE >>> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8091" >>> Setup a new debug configuration in eclipse of type "Remote Java >>> Application" and change the port to 8091 >>> Insert a breakpoint on the line where you want to pause OFBiz, >>> usually you can just double click on the line number in the editor >>> Start OFBiz and launch the debug configuration >>> Wait for OFBiz to hit the breakpoint >>> Use eclipse to step through the code and see what is going on, the >>> variables panel will be your friend >>> >>> I use this on a daily basis. >>> >>> Regards >>> Scott >>> >>> On 14/06/2010, at 12:18 PM, BJ Freeman wrote: >>> >>>> I was hoping since you had worked with the code in this area you >>>> could point me in what it was looking for and did not find. >>>> saves me having to put debug.info in to find out. >>>> >>>> ========================= >>>> BJ Freeman >>>> http://bjfreeman.elance.com >>>> Strategic Power Office with Supplier >>>> Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>> >>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>> >>>> Systems Integrator-- Glad to Assist >>>> >>>> Chat Y! messenger: bjfr33man >>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>> >>>> >>>> >>>> Scott Gray sent the following on 6/13/2010 4:37 PM: >>>>> No sorry I can't help, I don't have the time right now to setup a >>>>> local postgres instance and figure what is going on. I highly doubt >>>>> the problem, if there is one, is related to anything I've committed >>>>> recently. >>>>> >>>>> Regards >>>>> Scott >>>>> >>>>> HotWax Media >>>>> http://www.hotwaxmedia.com >>>>> >>>>> On 14/06/2010, at 11:12 AM, BJ Freeman wrote: >>>>> >>>>>> just did a install of 10.4 using postresql and it is working fine. >>>>>> so what ever it is has to do with changes since 10.04 and June 10th. >>>>>> can you help Scott? >>>>>> >>>>>> BJ Freeman sent the following on 6/13/2010 12:50 PM: >>>>>> >>>>>> >>>>>> ========================= >>>>>> BJ Freeman >>>>>> http://bjfreeman.elance.com >>>>>> Strategic Power Office with Supplier >>>>>> Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>>> >>>>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>>>> >>>>>> Systems Integrator-- Glad to Assist >>>>>> >>>>>> Chat Y! messenger: bjfr33man >>>>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>>>> >>>>>> >>>>>>> >>>>>>> if I run it with derby it works fine. >>>>>>> I changed to localpostnew using 8.4.4 and it working fine with a >>>>>>> 9.04 >>>>>>> install >>>>>>> I was able to log into the db with psql so that all works. >>>>>>> >>>>>>> get the following error when it is trying to connect to db. >>>>>>> >>>>>>> >>>>>>> >>>>>>> [java] 2010-06-13 12:02:52,088 (main) [ >>>>>>> ModelEntityChecker.java:502:INFO >>>>>>> ] [initReservedWords] array length=1023 >>>>>>> [java] Exception in thread "main" java.lang.NullPointerException >>>>>>> [java] at >>>>>>> org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555) >>>>>>> >>>>>>> >>>>>>> [java] at >>>>>>> org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) >>>>>>> >>>>>>> >>>>>>> >>>>>>> looking at the code field-type-name="postnew" >>>>>>> public ModelFieldType getEntityFieldType(ModelEntity entity, String >>>>>>> type) throws GenericEntityException { >>>>>>> return this.getModelFieldTypeReader(entity).getModelFieldType(type); >>>>>>> } >>>>>>> >>>>>>> /* (non-Javadoc) >>>>>>> * @see >>>>>>> org.ofbiz.entity.Delegator#getModelFieldTypeReader(org.ofbiz.entity.model.ModelEntity) >>>>>>> >>>>>>> >>>>>>> */ >>>>>>> public ModelFieldTypeReader getModelFieldTypeReader(ModelEntity >>>>>>> entity) { >>>>>>> String helperName = getEntityHelperName(entity); >>>>>>> if (helperName == null || helperName.length()<= 0) { >>>>>>> return null; >>>>>>> } >>>>>>> that is about the best I can do so far. >>>>>>> any suggestions? >>>>>>> >>>>>>> ========================= >>>>>>> BJ Freeman >>>>>>> http://bjfreeman.elance.com >>>>>>> Strategic Power Office with Supplier Automation >>>>>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>>>> 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 Jacques Le Roux
I notice that document describes start OFBiz via the ofbiz.jar directly from the command line, that's pretty outdated approach and we should advise everyone to use the provided shell/batch scripts.
Regards Scott On 14/06/2010, at 5:57 PM, Jacques Le Roux wrote: > You can debug in Eclipse without going through the boxes firewall. > https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse#RunningandDebuggingOFBizinEclipse-Debugging(orrunning)OFBizinEclipse > > Jacques > > From: "BJ Freeman" <[hidden email]> >> thanks guess I have to figure out how to install eclipse on my centos box. >> can't do remote debug through the boxes firewall. >> >> ========================= >> BJ Freeman >> http://bjfreeman.elance.com >> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >> Specialtymarket.com <http://www.specialtymarket.com/> >> >> Systems Integrator-- Glad to Assist >> >> Chat Y! messenger: bjfr33man >> Linkedin <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >> >> >> Scott Gray sent the following on 6/13/2010 5:44 PM: >>> There isn't much code I haven't worked on or dug through now by this point :-) I'm certainly not instantly familiar with all of it though. >>> >>> I cringe every time someone mentions using debug statements to identify the source of a problem. I would suggest that you learn how to perform remote debugging and insert breakpoints into the code, once you know how you'll never look back. >>> >>> Uncomment this line in startofbiz.sh: >>> #DEBUG="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8091" >>> Setup a new debug configuration in eclipse of type "Remote Java Application" and change the port to 8091 >>> Insert a breakpoint on the line where you want to pause OFBiz, usually you can just double click on the line number in the editor >>> Start OFBiz and launch the debug configuration >>> Wait for OFBiz to hit the breakpoint >>> Use eclipse to step through the code and see what is going on, the variables panel will be your friend >>> >>> I use this on a daily basis. >>> >>> Regards >>> Scott >>> >>> On 14/06/2010, at 12:18 PM, BJ Freeman wrote: >>> >>>> I was hoping since you had worked with the code in this area you could point me in what it was looking for and did not find. >>>> saves me having to put debug.info in to find out. >>>> >>>> ========================= >>>> BJ Freeman >>>> http://bjfreeman.elance.com >>>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>> >>>> Systems Integrator-- Glad to Assist >>>> >>>> Chat Y! messenger: bjfr33man >>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>> >>>> >>>> Scott Gray sent the following on 6/13/2010 4:37 PM: >>>>> No sorry I can't help, I don't have the time right now to setup a local postgres instance and figure what is going on. I highly doubt the problem, if there is one, is related to anything I've committed recently. >>>>> >>>>> Regards >>>>> Scott >>>>> >>>>> HotWax Media >>>>> http://www.hotwaxmedia.com >>>>> >>>>> On 14/06/2010, at 11:12 AM, BJ Freeman wrote: >>>>> >>>>>> just did a install of 10.4 using postresql and it is working fine. >>>>>> so what ever it is has to do with changes since 10.04 and June 10th. >>>>>> can you help Scott? >>>>>> >>>>>> BJ Freeman sent the following on 6/13/2010 12:50 PM: >>>>>> >>>>>> >>>>>> ========================= >>>>>> BJ Freeman >>>>>> http://bjfreeman.elance.com >>>>>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>>>> >>>>>> Systems Integrator-- Glad to Assist >>>>>> >>>>>> Chat Y! messenger: bjfr33man >>>>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>>>> >>>>>>> >>>>>>> if I run it with derby it works fine. >>>>>>> I changed to localpostnew using 8.4.4 and it working fine with a 9.04 >>>>>>> install >>>>>>> I was able to log into the db with psql so that all works. >>>>>>> >>>>>>> get the following error when it is trying to connect to db. >>>>>>> >>>>>>> >>>>>>> >>>>>>> [java] 2010-06-13 12:02:52,088 (main) [ ModelEntityChecker.java:502:INFO >>>>>>> ] [initReservedWords] array length=1023 >>>>>>> [java] Exception in thread "main" java.lang.NullPointerException >>>>>>> [java] at >>>>>>> org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555) >>>>>>> >>>>>>> [java] at >>>>>>> org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) >>>>>>> >>>>>>> >>>>>>> looking at the code field-type-name="postnew" >>>>>>> public ModelFieldType getEntityFieldType(ModelEntity entity, String >>>>>>> type) throws GenericEntityException { >>>>>>> return this.getModelFieldTypeReader(entity).getModelFieldType(type); >>>>>>> } >>>>>>> >>>>>>> /* (non-Javadoc) >>>>>>> * @see >>>>>>> org.ofbiz.entity.Delegator#getModelFieldTypeReader(org.ofbiz.entity.model.ModelEntity) >>>>>>> >>>>>>> */ >>>>>>> public ModelFieldTypeReader getModelFieldTypeReader(ModelEntity entity) { >>>>>>> String helperName = getEntityHelperName(entity); >>>>>>> if (helperName == null || helperName.length()<= 0) { >>>>>>> return null; >>>>>>> } >>>>>>> that is about the best I can do so far. >>>>>>> any suggestions? >>>>>>> >>>>>>> ========================= >>>>>>> BJ Freeman >>>>>>> http://bjfreeman.elance.com >>>>>>> Strategic Power Office with Supplier Automation >>>>>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>>>> 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> >>>>>>> >>>>>>> >>>>>>> >>>>> >>>> >>> > > smime.p7s (3K) Download Attachment |
Administrator
|
+1, but maybe we should then check more than this document ... (to keep things consistent AMAP)
Jacques PS: always this quirk with Outlook Express and some emails. As, most of the time, I notice it when I send I don't have the courage to load OR-Quotefix and create a new email. Sorry for that, though I do it every time I know there will be really needed. From: "Scott Gray" <[hidden email]> I notice that document describes start OFBiz via the ofbiz.jar directly from the command line, that's pretty outdated approach and we should advise everyone to use the provided shell/batch scripts. Regards Scott On 14/06/2010, at 5:57 PM, Jacques Le Roux wrote: > You can debug in Eclipse without going through the boxes firewall. > https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse#RunningandDebuggingOFBizinEclipse-Debugging(orrunning)OFBizinEclipse > > Jacques > > From: "BJ Freeman" <[hidden email]> >> thanks guess I have to figure out how to install eclipse on my centos box. >> can't do remote debug through the boxes firewall. >> >> ========================= >> BJ Freeman >> http://bjfreeman.elance.com >> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >> Specialtymarket.com <http://www.specialtymarket.com/> >> >> Systems Integrator-- Glad to Assist >> >> Chat Y! messenger: bjfr33man >> Linkedin <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >> >> >> Scott Gray sent the following on 6/13/2010 5:44 PM: >>> There isn't much code I haven't worked on or dug through now by this point :-) I'm certainly not instantly familiar with all of >>> it though. >>> >>> I cringe every time someone mentions using debug statements to identify the source of a problem. I would suggest that you learn >>> how to perform remote debugging and insert breakpoints into the code, once you know how you'll never look back. >>> >>> Uncomment this line in startofbiz.sh: >>> #DEBUG="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8091" >>> Setup a new debug configuration in eclipse of type "Remote Java Application" and change the port to 8091 >>> Insert a breakpoint on the line where you want to pause OFBiz, usually you can just double click on the line number in the >>> editor >>> Start OFBiz and launch the debug configuration >>> Wait for OFBiz to hit the breakpoint >>> Use eclipse to step through the code and see what is going on, the variables panel will be your friend >>> >>> I use this on a daily basis. >>> >>> Regards >>> Scott >>> >>> On 14/06/2010, at 12:18 PM, BJ Freeman wrote: >>> >>>> I was hoping since you had worked with the code in this area you could point me in what it was looking for and did not find. >>>> saves me having to put debug.info in to find out. >>>> >>>> ========================= >>>> BJ Freeman >>>> http://bjfreeman.elance.com >>>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>> >>>> Systems Integrator-- Glad to Assist >>>> >>>> Chat Y! messenger: bjfr33man >>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>> >>>> >>>> Scott Gray sent the following on 6/13/2010 4:37 PM: >>>>> No sorry I can't help, I don't have the time right now to setup a local postgres instance and figure what is going on. I >>>>> highly doubt the problem, if there is one, is related to anything I've committed recently. >>>>> >>>>> Regards >>>>> Scott >>>>> >>>>> HotWax Media >>>>> http://www.hotwaxmedia.com >>>>> >>>>> On 14/06/2010, at 11:12 AM, BJ Freeman wrote: >>>>> >>>>>> just did a install of 10.4 using postresql and it is working fine. >>>>>> so what ever it is has to do with changes since 10.04 and June 10th. >>>>>> can you help Scott? >>>>>> >>>>>> BJ Freeman sent the following on 6/13/2010 12:50 PM: >>>>>> >>>>>> >>>>>> ========================= >>>>>> BJ Freeman >>>>>> http://bjfreeman.elance.com >>>>>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>>>> >>>>>> Systems Integrator-- Glad to Assist >>>>>> >>>>>> Chat Y! messenger: bjfr33man >>>>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>>>> >>>>>>> >>>>>>> if I run it with derby it works fine. >>>>>>> I changed to localpostnew using 8.4.4 and it working fine with a 9.04 >>>>>>> install >>>>>>> I was able to log into the db with psql so that all works. >>>>>>> >>>>>>> get the following error when it is trying to connect to db. >>>>>>> >>>>>>> >>>>>>> >>>>>>> [java] 2010-06-13 12:02:52,088 (main) [ ModelEntityChecker.java:502:INFO >>>>>>> ] [initReservedWords] array length=1023 >>>>>>> [java] Exception in thread "main" java.lang.NullPointerException >>>>>>> [java] at >>>>>>> org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555) >>>>>>> >>>>>>> [java] at >>>>>>> org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) >>>>>>> >>>>>>> >>>>>>> looking at the code field-type-name="postnew" >>>>>>> public ModelFieldType getEntityFieldType(ModelEntity entity, String >>>>>>> type) throws GenericEntityException { >>>>>>> return this.getModelFieldTypeReader(entity).getModelFieldType(type); >>>>>>> } >>>>>>> >>>>>>> /* (non-Javadoc) >>>>>>> * @see >>>>>>> org.ofbiz.entity.Delegator#getModelFieldTypeReader(org.ofbiz.entity.model.ModelEntity) >>>>>>> >>>>>>> */ >>>>>>> public ModelFieldTypeReader getModelFieldTypeReader(ModelEntity entity) { >>>>>>> String helperName = getEntityHelperName(entity); >>>>>>> if (helperName == null || helperName.length()<= 0) { >>>>>>> return null; >>>>>>> } >>>>>>> that is about the best I can do so far. >>>>>>> any suggestions? >>>>>>> >>>>>>> ========================= >>>>>>> BJ Freeman >>>>>>> http://bjfreeman.elance.com >>>>>>> Strategic Power Office with Supplier Automation >>>>>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>>>> 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> >>>>>>> >>>>>>> >>>>>>> >>>>> >>>> >>> > > |
Get a Mac, you'll never look back :-)
Regards Scott On 14/06/2010, at 7:41 PM, Jacques Le Roux wrote: > +1, but maybe we should then check more than this document ... (to keep things consistent AMAP) > > Jacques > PS: always this quirk with Outlook Express and some emails. As, most of the time, I notice it when I send I don't have the courage to load OR-Quotefix and create a new email. Sorry for that, though I do it every time I know there will be really needed. > > From: "Scott Gray" <[hidden email]> > I notice that document describes start OFBiz via the ofbiz.jar directly from the command line, that's pretty outdated approach and we should advise everyone to use the provided shell/batch scripts. > > Regards > Scott > > On 14/06/2010, at 5:57 PM, Jacques Le Roux wrote: > >> You can debug in Eclipse without going through the boxes firewall. >> https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse#RunningandDebuggingOFBizinEclipse-Debugging(orrunning)OFBizinEclipse >> >> Jacques >> >> From: "BJ Freeman" <[hidden email]> >>> thanks guess I have to figure out how to install eclipse on my centos box. >>> can't do remote debug through the boxes firewall. >>> >>> ========================= >>> BJ Freeman >>> http://bjfreeman.elance.com >>> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>> Specialtymarket.com <http://www.specialtymarket.com/> >>> >>> Systems Integrator-- Glad to Assist >>> >>> Chat Y! messenger: bjfr33man >>> Linkedin <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>> >>> >>> Scott Gray sent the following on 6/13/2010 5:44 PM: >>>> There isn't much code I haven't worked on or dug through now by this point :-) I'm certainly not instantly familiar with all of it though. >>>> >>>> I cringe every time someone mentions using debug statements to identify the source of a problem. I would suggest that you learn how to perform remote debugging and insert breakpoints into the code, once you know how you'll never look back. >>>> >>>> Uncomment this line in startofbiz.sh: >>>> #DEBUG="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8091" >>>> Setup a new debug configuration in eclipse of type "Remote Java Application" and change the port to 8091 >>>> Insert a breakpoint on the line where you want to pause OFBiz, usually you can just double click on the line number in the editor >>>> Start OFBiz and launch the debug configuration >>>> Wait for OFBiz to hit the breakpoint >>>> Use eclipse to step through the code and see what is going on, the variables panel will be your friend >>>> >>>> I use this on a daily basis. >>>> >>>> Regards >>>> Scott >>>> >>>> On 14/06/2010, at 12:18 PM, BJ Freeman wrote: >>>> >>>>> I was hoping since you had worked with the code in this area you could point me in what it was looking for and did not find. >>>>> saves me having to put debug.info in to find out. >>>>> >>>>> ========================= >>>>> BJ Freeman >>>>> http://bjfreeman.elance.com >>>>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>>> >>>>> Systems Integrator-- Glad to Assist >>>>> >>>>> Chat Y! messenger: bjfr33man >>>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>>> >>>>> >>>>> Scott Gray sent the following on 6/13/2010 4:37 PM: >>>>>> No sorry I can't help, I don't have the time right now to setup a local postgres instance and figure what is going on. I highly doubt the problem, if there is one, is related to anything I've committed recently. >>>>>> >>>>>> Regards >>>>>> Scott >>>>>> >>>>>> HotWax Media >>>>>> http://www.hotwaxmedia.com >>>>>> >>>>>> On 14/06/2010, at 11:12 AM, BJ Freeman wrote: >>>>>> >>>>>>> just did a install of 10.4 using postresql and it is working fine. >>>>>>> so what ever it is has to do with changes since 10.04 and June 10th. >>>>>>> can you help Scott? >>>>>>> >>>>>>> BJ Freeman sent the following on 6/13/2010 12:50 PM: >>>>>>> >>>>>>> >>>>>>> ========================= >>>>>>> BJ Freeman >>>>>>> http://bjfreeman.elance.com >>>>>>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>>>>> >>>>>>> Systems Integrator-- Glad to Assist >>>>>>> >>>>>>> Chat Y! messenger: bjfr33man >>>>>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>>>>> >>>>>>>> >>>>>>>> if I run it with derby it works fine. >>>>>>>> I changed to localpostnew using 8.4.4 and it working fine with a 9.04 >>>>>>>> install >>>>>>>> I was able to log into the db with psql so that all works. >>>>>>>> >>>>>>>> get the following error when it is trying to connect to db. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> [java] 2010-06-13 12:02:52,088 (main) [ ModelEntityChecker.java:502:INFO >>>>>>>> ] [initReservedWords] array length=1023 >>>>>>>> [java] Exception in thread "main" java.lang.NullPointerException >>>>>>>> [java] at >>>>>>>> org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555) >>>>>>>> >>>>>>>> [java] at >>>>>>>> org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) >>>>>>>> >>>>>>>> >>>>>>>> looking at the code field-type-name="postnew" >>>>>>>> public ModelFieldType getEntityFieldType(ModelEntity entity, String >>>>>>>> type) throws GenericEntityException { >>>>>>>> return this.getModelFieldTypeReader(entity).getModelFieldType(type); >>>>>>>> } >>>>>>>> >>>>>>>> /* (non-Javadoc) >>>>>>>> * @see >>>>>>>> org.ofbiz.entity.Delegator#getModelFieldTypeReader(org.ofbiz.entity.model.ModelEntity) >>>>>>>> >>>>>>>> */ >>>>>>>> public ModelFieldTypeReader getModelFieldTypeReader(ModelEntity entity) { >>>>>>>> String helperName = getEntityHelperName(entity); >>>>>>>> if (helperName == null || helperName.length()<= 0) { >>>>>>>> return null; >>>>>>>> } >>>>>>>> that is about the best I can do so far. >>>>>>>> any suggestions? >>>>>>>> >>>>>>>> ========================= >>>>>>>> BJ Freeman >>>>>>>> http://bjfreeman.elance.com >>>>>>>> Strategic Power Office with Supplier Automation >>>>>>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>>>>> 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> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>> >>>>> >>>> >> >> > > > smime.p7s (3K) Download Attachment |
Linux specially Ubuntu Linux is not bad either. I used Mac briefly and
found many standard Linux/Unix scripts not working (Mac OSX is based on BSD Unix). Thunderbird with Lightening extension is powerful solution for emails, calendar, news and RSS. Thanks, Raj On 14/06/10 13:39, Scott Gray wrote: > Get a Mac, you'll never look back :-) > > Regards > Scott > > On 14/06/2010, at 7:41 PM, Jacques Le Roux wrote: > > >> +1, but maybe we should then check more than this document ... (to keep things consistent AMAP) >> >> Jacques >> PS: always this quirk with Outlook Express and some emails. As, most of the time, I notice it when I send I don't have the courage to load OR-Quotefix and create a new email. Sorry for that, though I do it every time I know there will be really needed. >> >> From: "Scott Gray"<[hidden email]> >> I notice that document describes start OFBiz via the ofbiz.jar directly from the command line, that's pretty outdated approach and we should advise everyone to use the provided shell/batch scripts. >> >> Regards >> Scott >> >> On 14/06/2010, at 5:57 PM, Jacques Le Roux wrote: >> >> >>> You can debug in Eclipse without going through the boxes firewall. >>> https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse#RunningandDebuggingOFBizinEclipse-Debugging(orrunning)OFBizinEclipse >>> >>> Jacques >>> >>> From: "BJ Freeman"<[hidden email]> >>> >>>> thanks guess I have to figure out how to install eclipse on my centos box. >>>> can't do remote debug through the boxes firewall. >>>> >>>> ========================= >>>> BJ Freeman >>>> http://bjfreeman.elance.com >>>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>> >>>> Systems Integrator-- Glad to Assist >>>> >>>> Chat Y! messenger: bjfr33man >>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>> >>>> >>>> Scott Gray sent the following on 6/13/2010 5:44 PM: >>>> >>>>> There isn't much code I haven't worked on or dug through now by this point :-) I'm certainly not instantly familiar with all of it though. >>>>> >>>>> I cringe every time someone mentions using debug statements to identify the source of a problem. I would suggest that you learn how to perform remote debugging and insert breakpoints into the code, once you know how you'll never look back. >>>>> >>>>> Uncomment this line in startofbiz.sh: >>>>> #DEBUG="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8091" >>>>> Setup a new debug configuration in eclipse of type "Remote Java Application" and change the port to 8091 >>>>> Insert a breakpoint on the line where you want to pause OFBiz, usually you can just double click on the line number in the editor >>>>> Start OFBiz and launch the debug configuration >>>>> Wait for OFBiz to hit the breakpoint >>>>> Use eclipse to step through the code and see what is going on, the variables panel will be your friend >>>>> >>>>> I use this on a daily basis. >>>>> >>>>> Regards >>>>> Scott >>>>> >>>>> On 14/06/2010, at 12:18 PM, BJ Freeman wrote: >>>>> >>>>> >>>>>> I was hoping since you had worked with the code in this area you could point me in what it was looking for and did not find. >>>>>> saves me having to put debug.info in to find out. >>>>>> >>>>>> ========================= >>>>>> BJ Freeman >>>>>> http://bjfreeman.elance.com >>>>>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>>>> >>>>>> Systems Integrator-- Glad to Assist >>>>>> >>>>>> Chat Y! messenger: bjfr33man >>>>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>>>> >>>>>> >>>>>> Scott Gray sent the following on 6/13/2010 4:37 PM: >>>>>> >>>>>>> No sorry I can't help, I don't have the time right now to setup a local postgres instance and figure what is going on. I highly doubt the problem, if there is one, is related to anything I've committed recently. >>>>>>> >>>>>>> Regards >>>>>>> Scott >>>>>>> >>>>>>> HotWax Media >>>>>>> http://www.hotwaxmedia.com >>>>>>> >>>>>>> On 14/06/2010, at 11:12 AM, BJ Freeman wrote: >>>>>>> >>>>>>> >>>>>>>> just did a install of 10.4 using postresql and it is working fine. >>>>>>>> so what ever it is has to do with changes since 10.04 and June 10th. >>>>>>>> can you help Scott? >>>>>>>> >>>>>>>> BJ Freeman sent the following on 6/13/2010 12:50 PM: >>>>>>>> >>>>>>>> >>>>>>>> ========================= >>>>>>>> BJ Freeman >>>>>>>> http://bjfreeman.elance.com >>>>>>>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>>>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>>>>>> >>>>>>>> Systems Integrator-- Glad to Assist >>>>>>>> >>>>>>>> Chat Y! messenger: bjfr33man >>>>>>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>>>>>> >>>>>>>> >>>>>>>>> if I run it with derby it works fine. >>>>>>>>> I changed to localpostnew using 8.4.4 and it working fine with a 9.04 >>>>>>>>> install >>>>>>>>> I was able to log into the db with psql so that all works. >>>>>>>>> >>>>>>>>> get the following error when it is trying to connect to db. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> [java] 2010-06-13 12:02:52,088 (main) [ ModelEntityChecker.java:502:INFO >>>>>>>>> ] [initReservedWords] array length=1023 >>>>>>>>> [java] Exception in thread "main" java.lang.NullPointerException >>>>>>>>> [java] at >>>>>>>>> org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555) >>>>>>>>> >>>>>>>>> [java] at >>>>>>>>> org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) >>>>>>>>> >>>>>>>>> >>>>>>>>> looking at the code field-type-name="postnew" >>>>>>>>> public ModelFieldType getEntityFieldType(ModelEntity entity, String >>>>>>>>> type) throws GenericEntityException { >>>>>>>>> return this.getModelFieldTypeReader(entity).getModelFieldType(type); >>>>>>>>> } >>>>>>>>> >>>>>>>>> /* (non-Javadoc) >>>>>>>>> * @see >>>>>>>>> org.ofbiz.entity.Delegator#getModelFieldTypeReader(org.ofbiz.entity.model.ModelEntity) >>>>>>>>> >>>>>>>>> */ >>>>>>>>> public ModelFieldTypeReader getModelFieldTypeReader(ModelEntity entity) { >>>>>>>>> String helperName = getEntityHelperName(entity); >>>>>>>>> if (helperName == null || helperName.length()<= 0) { >>>>>>>>> return null; >>>>>>>>> } >>>>>>>>> that is about the best I can do so far. >>>>>>>>> any suggestions? >>>>>>>>> >>>>>>>>> ========================= >>>>>>>>> BJ Freeman >>>>>>>>> http://bjfreeman.elance.com >>>>>>>>> Strategic Power Office with Supplier Automation >>>>>>>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>>>>>> 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> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>> >>>>>> >>>>> >>> >>> >> >> >> > |
Administrator
|
My 2d choise is also Ubuntu which has the advantage to be free. I tried 5 years ago to turn complety to it, but I got an issue with
my near than 500 OE filters which are stored in the Windows registry and I was not able to quickly migrate them to Thunderbird at this time. At this moment I was still using Win2000 which had still some issues. Now XP is really clean, and I have all these softwares around so I decided to stay until M$ will die :D. Maybe I will turn to Win7 with my future new machine, but I'm not eager to. Jacques From: "Raj Saini" <[hidden email]> > Linux specially Ubuntu Linux is not bad either. I used Mac briefly and found many standard Linux/Unix scripts not working (Mac OSX > is based on BSD Unix). Thunderbird with Lightening extension is powerful solution for emails, calendar, news and RSS. > > Thanks, > > Raj > > > On 14/06/10 13:39, Scott Gray wrote: >> Get a Mac, you'll never look back :-) >> >> Regards >> Scott >> >> On 14/06/2010, at 7:41 PM, Jacques Le Roux wrote: >> >> >>> +1, but maybe we should then check more than this document ... (to keep things consistent AMAP) >>> >>> Jacques >>> PS: always this quirk with Outlook Express and some emails. As, most of the time, I notice it when I send I don't have the >>> courage to load OR-Quotefix and create a new email. Sorry for that, though I do it every time I know there will be really >>> needed. >>> >>> From: "Scott Gray"<[hidden email]> >>> I notice that document describes start OFBiz via the ofbiz.jar directly from the command line, that's pretty outdated approach >>> and we should advise everyone to use the provided shell/batch scripts. >>> >>> Regards >>> Scott >>> >>> On 14/06/2010, at 5:57 PM, Jacques Le Roux wrote: >>> >>> >>>> You can debug in Eclipse without going through the boxes firewall. >>>> https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse#RunningandDebuggingOFBizinEclipse-Debugging(orrunning)OFBizinEclipse >>>> >>>> Jacques >>>> >>>> From: "BJ Freeman"<[hidden email]> >>>> >>>>> thanks guess I have to figure out how to install eclipse on my centos box. >>>>> can't do remote debug through the boxes firewall. >>>>> >>>>> ========================= >>>>> BJ Freeman >>>>> http://bjfreeman.elance.com >>>>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>>> >>>>> Systems Integrator-- Glad to Assist >>>>> >>>>> Chat Y! messenger: bjfr33man >>>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>>> >>>>> >>>>> Scott Gray sent the following on 6/13/2010 5:44 PM: >>>>> >>>>>> There isn't much code I haven't worked on or dug through now by this point :-) I'm certainly not instantly familiar with all >>>>>> of it though. >>>>>> >>>>>> I cringe every time someone mentions using debug statements to identify the source of a problem. I would suggest that you >>>>>> learn how to perform remote debugging and insert breakpoints into the code, once you know how you'll never look back. >>>>>> >>>>>> Uncomment this line in startofbiz.sh: >>>>>> #DEBUG="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8091" >>>>>> Setup a new debug configuration in eclipse of type "Remote Java Application" and change the port to 8091 >>>>>> Insert a breakpoint on the line where you want to pause OFBiz, usually you can just double click on the line number in the >>>>>> editor >>>>>> Start OFBiz and launch the debug configuration >>>>>> Wait for OFBiz to hit the breakpoint >>>>>> Use eclipse to step through the code and see what is going on, the variables panel will be your friend >>>>>> >>>>>> I use this on a daily basis. >>>>>> >>>>>> Regards >>>>>> Scott >>>>>> >>>>>> On 14/06/2010, at 12:18 PM, BJ Freeman wrote: >>>>>> >>>>>> >>>>>>> I was hoping since you had worked with the code in this area you could point me in what it was looking for and did not find. >>>>>>> saves me having to put debug.info in to find out. >>>>>>> >>>>>>> ========================= >>>>>>> BJ Freeman >>>>>>> http://bjfreeman.elance.com >>>>>>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>>>>> >>>>>>> Systems Integrator-- Glad to Assist >>>>>>> >>>>>>> Chat Y! messenger: bjfr33man >>>>>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>>>>> >>>>>>> >>>>>>> Scott Gray sent the following on 6/13/2010 4:37 PM: >>>>>>> >>>>>>>> No sorry I can't help, I don't have the time right now to setup a local postgres instance and figure what is going on. I >>>>>>>> highly doubt the problem, if there is one, is related to anything I've committed recently. >>>>>>>> >>>>>>>> Regards >>>>>>>> Scott >>>>>>>> >>>>>>>> HotWax Media >>>>>>>> http://www.hotwaxmedia.com >>>>>>>> >>>>>>>> On 14/06/2010, at 11:12 AM, BJ Freeman wrote: >>>>>>>> >>>>>>>> >>>>>>>>> just did a install of 10.4 using postresql and it is working fine. >>>>>>>>> so what ever it is has to do with changes since 10.04 and June 10th. >>>>>>>>> can you help Scott? >>>>>>>>> >>>>>>>>> BJ Freeman sent the following on 6/13/2010 12:50 PM: >>>>>>>>> >>>>>>>>> >>>>>>>>> ========================= >>>>>>>>> BJ Freeman >>>>>>>>> http://bjfreeman.elance.com >>>>>>>>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>>>>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>>>>>>> >>>>>>>>> Systems Integrator-- Glad to Assist >>>>>>>>> >>>>>>>>> Chat Y! messenger: bjfr33man >>>>>>>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>>>>>>> >>>>>>>>> >>>>>>>>>> if I run it with derby it works fine. >>>>>>>>>> I changed to localpostnew using 8.4.4 and it working fine with a 9.04 >>>>>>>>>> install >>>>>>>>>> I was able to log into the db with psql so that all works. >>>>>>>>>> >>>>>>>>>> get the following error when it is trying to connect to db. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> [java] 2010-06-13 12:02:52,088 (main) [ ModelEntityChecker.java:502:INFO >>>>>>>>>> ] [initReservedWords] array length=1023 >>>>>>>>>> [java] Exception in thread "main" java.lang.NullPointerException >>>>>>>>>> [java] at >>>>>>>>>> org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555) >>>>>>>>>> >>>>>>>>>> [java] at >>>>>>>>>> org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> looking at the code field-type-name="postnew" >>>>>>>>>> public ModelFieldType getEntityFieldType(ModelEntity entity, String >>>>>>>>>> type) throws GenericEntityException { >>>>>>>>>> return this.getModelFieldTypeReader(entity).getModelFieldType(type); >>>>>>>>>> } >>>>>>>>>> >>>>>>>>>> /* (non-Javadoc) >>>>>>>>>> * @see >>>>>>>>>> org.ofbiz.entity.Delegator#getModelFieldTypeReader(org.ofbiz.entity.model.ModelEntity) >>>>>>>>>> >>>>>>>>>> */ >>>>>>>>>> public ModelFieldTypeReader getModelFieldTypeReader(ModelEntity entity) { >>>>>>>>>> String helperName = getEntityHelperName(entity); >>>>>>>>>> if (helperName == null || helperName.length()<= 0) { >>>>>>>>>> return null; >>>>>>>>>> } >>>>>>>>>> that is about the best I can do so far. >>>>>>>>>> any suggestions? >>>>>>>>>> >>>>>>>>>> ========================= >>>>>>>>>> BJ Freeman >>>>>>>>>> http://bjfreeman.elance.com >>>>>>>>>> Strategic Power Office with Supplier Automation >>>>>>>>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>>>>>>> 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 rajsaini
Thunderbird + Lightning = pure heaven. I use Lightning as a Work Effort
client. -Adrian On 6/14/2010 1:48 AM, Raj Saini wrote: > Linux specially Ubuntu Linux is not bad either. I used Mac briefly and > found many standard Linux/Unix scripts not working (Mac OSX is based on > BSD Unix). Thunderbird with Lightening extension is powerful solution > for emails, calendar, news and RSS. > > Thanks, > > Raj > > > On 14/06/10 13:39, Scott Gray wrote: >> Get a Mac, you'll never look back :-) >> >> Regards >> Scott >> >> On 14/06/2010, at 7:41 PM, Jacques Le Roux wrote: >> >>> +1, but maybe we should then check more than this document ... (to >>> keep things consistent AMAP) >>> >>> Jacques >>> PS: always this quirk with Outlook Express and some emails. As, most >>> of the time, I notice it when I send I don't have the courage to load >>> OR-Quotefix and create a new email. Sorry for that, though I do it >>> every time I know there will be really needed. >>> >>> From: "Scott Gray"<[hidden email]> >>> I notice that document describes start OFBiz via the ofbiz.jar >>> directly from the command line, that's pretty outdated approach and >>> we should advise everyone to use the provided shell/batch scripts. >>> >>> Regards >>> Scott >>> >>> On 14/06/2010, at 5:57 PM, Jacques Le Roux wrote: >>> >>>> You can debug in Eclipse without going through the boxes firewall. >>>> https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse#RunningandDebuggingOFBizinEclipse-Debugging(orrunning)OFBizinEclipse >>>> >>>> >>>> Jacques >>>> >>>> From: "BJ Freeman"<[hidden email]> >>>>> thanks guess I have to figure out how to install eclipse on my >>>>> centos box. >>>>> can't do remote debug through the boxes firewall. >>>>> >>>>> ========================= >>>>> BJ Freeman >>>>> http://bjfreeman.elance.com >>>>> Strategic Power Office with Supplier >>>>> Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>> >>>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>>> >>>>> Systems Integrator-- Glad to Assist >>>>> >>>>> Chat Y! messenger: bjfr33man >>>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>>> >>>>> >>>>> >>>>> Scott Gray sent the following on 6/13/2010 5:44 PM: >>>>>> There isn't much code I haven't worked on or dug through now by >>>>>> this point :-) I'm certainly not instantly familiar with all of it >>>>>> though. >>>>>> >>>>>> I cringe every time someone mentions using debug statements to >>>>>> identify the source of a problem. I would suggest that you learn >>>>>> how to perform remote debugging and insert breakpoints into the >>>>>> code, once you know how you'll never look back. >>>>>> >>>>>> Uncomment this line in startofbiz.sh: >>>>>> #DEBUG="-Xdebug -Xnoagent -Djava.compiler=NONE >>>>>> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8091" >>>>>> Setup a new debug configuration in eclipse of type "Remote Java >>>>>> Application" and change the port to 8091 >>>>>> Insert a breakpoint on the line where you want to pause OFBiz, >>>>>> usually you can just double click on the line number in the editor >>>>>> Start OFBiz and launch the debug configuration >>>>>> Wait for OFBiz to hit the breakpoint >>>>>> Use eclipse to step through the code and see what is going on, the >>>>>> variables panel will be your friend >>>>>> >>>>>> I use this on a daily basis. >>>>>> >>>>>> Regards >>>>>> Scott >>>>>> >>>>>> On 14/06/2010, at 12:18 PM, BJ Freeman wrote: >>>>>> >>>>>>> I was hoping since you had worked with the code in this area you >>>>>>> could point me in what it was looking for and did not find. >>>>>>> saves me having to put debug.info in to find out. >>>>>>> >>>>>>> ========================= >>>>>>> BJ Freeman >>>>>>> http://bjfreeman.elance.com >>>>>>> Strategic Power Office with Supplier >>>>>>> Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>>>> >>>>>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>>>>> >>>>>>> Systems Integrator-- Glad to Assist >>>>>>> >>>>>>> Chat Y! messenger: bjfr33man >>>>>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Scott Gray sent the following on 6/13/2010 4:37 PM: >>>>>>>> No sorry I can't help, I don't have the time right now to setup >>>>>>>> a local postgres instance and figure what is going on. I highly >>>>>>>> doubt the problem, if there is one, is related to anything I've >>>>>>>> committed recently. >>>>>>>> >>>>>>>> Regards >>>>>>>> Scott >>>>>>>> >>>>>>>> HotWax Media >>>>>>>> http://www.hotwaxmedia.com >>>>>>>> >>>>>>>> On 14/06/2010, at 11:12 AM, BJ Freeman wrote: >>>>>>>> >>>>>>>>> just did a install of 10.4 using postresql and it is working fine. >>>>>>>>> so what ever it is has to do with changes since 10.04 and June >>>>>>>>> 10th. >>>>>>>>> can you help Scott? >>>>>>>>> >>>>>>>>> BJ Freeman sent the following on 6/13/2010 12:50 PM: >>>>>>>>> >>>>>>>>> >>>>>>>>> ========================= >>>>>>>>> BJ Freeman >>>>>>>>> http://bjfreeman.elance.com >>>>>>>>> Strategic Power Office with Supplier >>>>>>>>> Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>>>>>> >>>>>>>>> Specialtymarket.com<http://www.specialtymarket.com/> >>>>>>>>> >>>>>>>>> Systems Integrator-- Glad to Assist >>>>>>>>> >>>>>>>>> Chat Y! messenger: bjfr33man >>>>>>>>> Linkedin<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>>>>>>> >>>>>>>>> >>>>>>>>>> if I run it with derby it works fine. >>>>>>>>>> I changed to localpostnew using 8.4.4 and it working fine with >>>>>>>>>> a 9.04 >>>>>>>>>> install >>>>>>>>>> I was able to log into the db with psql so that all works. >>>>>>>>>> >>>>>>>>>> get the following error when it is trying to connect to db. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> [java] 2010-06-13 12:02:52,088 (main) [ >>>>>>>>>> ModelEntityChecker.java:502:INFO >>>>>>>>>> ] [initReservedWords] array length=1023 >>>>>>>>>> [java] Exception in thread "main" java.lang.NullPointerException >>>>>>>>>> [java] at >>>>>>>>>> org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555) >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> [java] at >>>>>>>>>> org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> looking at the code field-type-name="postnew" >>>>>>>>>> public ModelFieldType getEntityFieldType(ModelEntity entity, >>>>>>>>>> String >>>>>>>>>> type) throws GenericEntityException { >>>>>>>>>> return >>>>>>>>>> this.getModelFieldTypeReader(entity).getModelFieldType(type); >>>>>>>>>> } >>>>>>>>>> >>>>>>>>>> /* (non-Javadoc) >>>>>>>>>> * @see >>>>>>>>>> org.ofbiz.entity.Delegator#getModelFieldTypeReader(org.ofbiz.entity.model.ModelEntity) >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> */ >>>>>>>>>> public ModelFieldTypeReader >>>>>>>>>> getModelFieldTypeReader(ModelEntity entity) { >>>>>>>>>> String helperName = getEntityHelperName(entity); >>>>>>>>>> if (helperName == null || helperName.length()<= 0) { >>>>>>>>>> return null; >>>>>>>>>> } >>>>>>>>>> that is about the best I can do so far. >>>>>>>>>> any suggestions? >>>>>>>>>> >>>>>>>>>> ========================= >>>>>>>>>> BJ Freeman >>>>>>>>>> http://bjfreeman.elance.com >>>>>>>>>> Strategic Power Office with Supplier Automation >>>>>>>>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>>>>>>>>> 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
Not sure why it worked in derby mode but not in postgresql.
but it hung up on the tenant entity. but adding the tenant stuff into the entityengine.xml it no longer errors. I am such a slouch I used one line of debug.loginfo to find the problem. someday I will put energy into the remote debugging. :D BJ Freeman sent the following on 6/13/2010 12:50 PM: > > if I run it with derby it works fine. > I changed to localpostnew using 8.4.4 and it working fine with a 9.04 > install > I was able to log into the db with psql so that all works. > > get the following error when it is trying to connect to db. > > > > [java] 2010-06-13 12:02:52,088 (main) [ ModelEntityChecker.java:502:INFO > ] [initReservedWords] array length=1023 > [java] Exception in thread "main" java.lang.NullPointerException > [java] at > org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555) > > [java] at > org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) > > > looking at the code field-type-name="postnew" > public ModelFieldType getEntityFieldType(ModelEntity entity, String > type) throws GenericEntityException { > return this.getModelFieldTypeReader(entity).getModelFieldType(type); > } > > /* (non-Javadoc) > * @see > org.ofbiz.entity.Delegator#getModelFieldTypeReader(org.ofbiz.entity.model.ModelEntity) > > */ > public ModelFieldTypeReader getModelFieldTypeReader(ModelEntity entity) { > String helperName = getEntityHelperName(entity); > if (helperName == null || helperName.length() <= 0) { > return null; > } > that is about the best I can do so far. > any suggestions? > > ========================= > BJ Freeman > http://bjfreeman.elance.com > Strategic Power Office with Supplier Automation > <http://www.businessesnetwork.com/automation/viewforum.php?f=52> > 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> > > > |
Ok now I made a fool of myself once again.
I used the default entityengine.xml which had the tenant datasource in it. takes awhile but I get there. :D ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> 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 6/14/2010 11:08 AM: > Not sure why it worked in derby mode but not in postgresql. > but it hung up on the tenant entity. > but adding the tenant stuff into the entityengine.xml it no longer errors. > I am such a slouch I used one line of debug.loginfo to find the problem. > someday I will put energy into the remote debugging. > :D > > BJ Freeman sent the following on 6/13/2010 12:50 PM: >> >> if I run it with derby it works fine. >> I changed to localpostnew using 8.4.4 and it working fine with a 9.04 >> install >> I was able to log into the db with psql so that all works. >> >> get the following error when it is trying to connect to db. >> >> >> >> [java] 2010-06-13 12:02:52,088 (main) [ ModelEntityChecker.java:502:INFO >> ] [initReservedWords] array length=1023 >> [java] Exception in thread "main" java.lang.NullPointerException >> [java] at >> org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555) >> >> >> [java] at >> org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) >> >> >> >> looking at the code field-type-name="postnew" >> public ModelFieldType getEntityFieldType(ModelEntity entity, String >> type) throws GenericEntityException { >> return this.getModelFieldTypeReader(entity).getModelFieldType(type); >> } >> >> /* (non-Javadoc) >> * @see >> org.ofbiz.entity.Delegator#getModelFieldTypeReader(org.ofbiz.entity.model.ModelEntity) >> >> >> */ >> public ModelFieldTypeReader getModelFieldTypeReader(ModelEntity entity) { >> String helperName = getEntityHelperName(entity); >> if (helperName == null || helperName.length() <= 0) { >> return null; >> } >> that is about the best I can do so far. >> any suggestions? >> >> ========================= >> BJ Freeman >> http://bjfreeman.elance.com >> Strategic Power Office with Supplier Automation >> <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >> 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> >> >> >> >> > |
Hi BJ,
need to get back on this one as I am facing the very same issue. Can you hint a little on how you "included the tenant stuff" into the entityengine.xml as this and the data/TenantData.xml refer to different root elements. How did you add the tenant data sources to the entityengine.xml? And did you get to the root of why this fails with portgres but not with derby? A driver load issue? Thanks for a short note :) Regards Carsten 2010/6/14 BJ Freeman <[hidden email]> > Ok now I made a fool of myself once again. > I used the default entityengine.xml which had the tenant datasource in > it. > takes awhile but I get there. > :D > > > ========================= > BJ Freeman > http://bjfreeman.elance.com > Strategic Power Office with Supplier Automation < > http://www.businessesnetwork.com/automation/viewforum.php?f=52> > Specialtymarket.com <http://www.specialtymarket.com/> > > Systems Integrator-- Glad to Assist > > Chat Y! messenger: bjfr33man > Linkedin < > http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro > > > > > BJ Freeman sent the following on 6/14/2010 11:08 AM: > > Not sure why it worked in derby mode but not in postgresql. >> but it hung up on the tenant entity. >> but adding the tenant stuff into the entityengine.xml it no longer errors. >> I am such a slouch I used one line of debug.loginfo to find the problem. >> someday I will put energy into the remote debugging. >> :D >> >> BJ Freeman sent the following on 6/13/2010 12:50 PM: >> >>> >>> if I run it with derby it works fine. >>> I changed to localpostnew using 8.4.4 and it working fine with a 9.04 >>> install >>> I was able to log into the db with psql so that all works. >>> >>> get the following error when it is trying to connect to db. >>> >>> >>> >>> [java] 2010-06-13 12:02:52,088 (main) [ ModelEntityChecker.java:502:INFO >>> ] [initReservedWords] array length=1023 >>> [java] Exception in thread "main" java.lang.NullPointerException >>> [java] at >>> >>> org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555) >>> >>> >>> [java] at >>> >>> org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) >>> >>> >>> >>> looking at the code field-type-name="postnew" >>> public ModelFieldType getEntityFieldType(ModelEntity entity, String >>> type) throws GenericEntityException { >>> return this.getModelFieldTypeReader(entity).getModelFieldType(type); >>> } >>> >>> /* (non-Javadoc) >>> * @see >>> >>> org.ofbiz.entity.Delegator#getModelFieldTypeReader(org.ofbiz.entity.model.ModelEntity) >>> >>> >>> */ >>> public ModelFieldTypeReader getModelFieldTypeReader(ModelEntity entity) { >>> String helperName = getEntityHelperName(entity); >>> if (helperName == null || helperName.length() <= 0) { >>> return null; >>> } >>> that is about the best I can do so far. >>> any suggestions? >>> >>> ========================= >>> BJ Freeman >>> http://bjfreeman.elance.com >>> Strategic Power Office with Supplier Automation >>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>> 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 >>> > >>> >>> >>> >>> >>> >> > -- Best Carsten Schinzer Waisenhausstr. 53a 80637 München Germany |
Free forum by Nabble | Edit this page |