I need to create multiple price rules with different pricing for the
same products. Catalog A just reads the Product prices Catalog B has all the same products, but I want one product to have a different price so I setup a price rule as below: Conditions Product Catalog= Catalog B Product= B1000 Action Flat Amount Override $9.00 When I place an Order, using Catalog B, the Order is priced at the original price ($12) instead of the desired price from Catalog B ($9) Anyone have any idea what I am missing here? thanks, -- Dave Tenerowicz [hidden email] Office: 303.493.6727 Mobile 303.906.6116 Fax 303.814.8330 Visit us at http://www.salmonllc.com |
I was try to deploy a new application in hot-deploy but got "content is not allowed in prolog" error as extracted from the detail below:
2007-07-24 21:05:38,515 (main) [ ComponentContainer.java:183:ERROR] ---- exception report ---------------------------------------------------------- Cannot load component : gallery @ C:\ofbiz\hot-deploy\gallery : Error reading the component config file: file:/C:/ofbiz/hot-deploy/gallery/ofbiz-component.xml (Content is not allowed in prolog.) Exception: org.ofbiz.base.component.ComponentException Message: Error reading the component config file: file:/C:/ofbiz/hot-deploy/gallery/ofbiz-component.xml (Content is not allowed in prolog.) ---- stack trace --------------------------------------------------------------- org.ofbiz.base.component.ComponentException: Error reading the component config file: file:/C:/ofbiz/hot-deploy/gallery/ofbiz-component.xml (Content is not allowed in prolog.) org.ofbiz.base.component.ComponentConfig.<init>(ComponentConfig.java:373) org.ofbiz.base.component.ComponentConfig.getComponentConfig(ComponentConfig.java:71) org.ofbiz.base.container.ComponentContainer.loadComponentDirectory(ComponentContainer.java:181) org.ofbiz.base.container.ComponentContainer.loadComponentFromConfig(ComponentContainer.java:140) org.ofbiz.base.container.ComponentContainer.loadComponents(ComponentContainer.java:109) org.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java:76) org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:141) org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65) org.ofbiz.base.start.Start.initStartLoaders(Start.java:248) org.ofbiz.base.start.Start.init(Start.java:87) org.ofbiz.base.start.Start.main(Start.java:403) org.xml.sax.SAXParseException: Content is not allowed in prolog. org.apache.xerces.parsers.DOMParser.parse(Unknown Source) org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:76) org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:240) org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:179) org.ofbiz.base.component.ComponentConfig.<init>(ComponentConfig.java:371) org.ofbiz.base.component.ComponentConfig.getComponentConfig(ComponentConfig.java:71) org.ofbiz.base.container.ComponentContainer.loadComponentDirectory(ComponentContainer.java:181) org.ofbiz.base.container.ComponentContainer.loadComponentFromConfig(ComponentContainer.java:140) org.ofbiz.base.container.ComponentContainer.loadComponents(ComponentContainer.java:109) org.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java:76) org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:141) org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65) org.ofbiz.base.start.Start.initStartLoaders(Start.java:248) org.ofbiz.base.start.Start.init(Start.java:87) org.ofbiz.base.start.Start.main(Start.java:403) -------------------------------------------------------------------------------- 2007-07-24 21:05:38,515 (main) [ ComponentContainer.java:186:ERROR] Cannot load component : gallery @ C:\ofbiz\hot-deploy\gallery help is highly appreciated. thanks. --------------------------------- Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. |
Check your ofbiz-component.xml, there is obviously something not right in
there. Regards Scott On 25/07/07, kurtis shipp <[hidden email]> wrote: > > I was try to deploy a new application in hot-deploy but got "content is > not allowed in prolog" error as extracted from the detail below: > > > > 2007-07-24 21:05:38,515 (main) [ ComponentContainer.java:183:ERROR] > ---- exception report > ---------------------------------------------------------- > Cannot load component : gallery @ C:\ofbiz\hot-deploy\gallery : Error > reading the component config file: file:/C:/ofbiz/hot-deploy/gallery/ofbiz- > component.xml (Content is not allowed in prolog.) > Exception: org.ofbiz.base.component.ComponentException > Message: Error reading the component config file: > file:/C:/ofbiz/hot-deploy/gallery/ofbiz-component.xml (Content is not > allowed in prolog.) > ---- stack trace > --------------------------------------------------------------- > org.ofbiz.base.component.ComponentException: Error reading the component > config file: file:/C:/ofbiz/hot-deploy/gallery/ofbiz-component.xml(Content is not allowed in prolog.) > org.ofbiz.base.component.ComponentConfig.<init>(ComponentConfig.java:373) > org.ofbiz.base.component.ComponentConfig.getComponentConfig( > ComponentConfig.java:71) > org.ofbiz.base.container.ComponentContainer.loadComponentDirectory( > ComponentContainer.java:181) > org.ofbiz.base.container.ComponentContainer.loadComponentFromConfig( > ComponentContainer.java:140) > org.ofbiz.base.container.ComponentContainer.loadComponents( > ComponentContainer.java:109) > org.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java > :76) > org.ofbiz.base.container.ContainerLoader.loadContainer( > ContainerLoader.java:141) > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65) > org.ofbiz.base.start.Start.initStartLoaders(Start.java:248) > org.ofbiz.base.start.Start.init(Start.java:87) > org.ofbiz.base.start.Start.main(Start.java:403) > org.xml.sax.SAXParseException: Content is not allowed in prolog. > org.apache.xerces.parsers.DOMParser.parse(Unknown Source) > org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) > javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:76) > org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:240) > org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:179) > org.ofbiz.base.component.ComponentConfig.<init>(ComponentConfig.java:371) > org.ofbiz.base.component.ComponentConfig.getComponentConfig( > ComponentConfig.java:71) > org.ofbiz.base.container.ComponentContainer.loadComponentDirectory( > ComponentContainer.java:181) > org.ofbiz.base.container.ComponentContainer.loadComponentFromConfig( > ComponentContainer.java:140) > org.ofbiz.base.container.ComponentContainer.loadComponents( > ComponentContainer.java:109) > org.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java > :76) > org.ofbiz.base.container.ContainerLoader.loadContainer( > ContainerLoader.java:141) > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65) > org.ofbiz.base.start.Start.initStartLoaders(Start.java:248) > org.ofbiz.base.start.Start.init(Start.java:87) > org.ofbiz.base.start.Start.main(Start.java:403) > > -------------------------------------------------------------------------------- > 2007-07-24 21:05:38,515 (main) [ ComponentContainer.java:186:ERROR] > Cannot load component : gallery @ C:\ofbiz\hot-deploy\gallery > > > help is highly appreciated. > > thanks. > > > --------------------------------- > Looking for a deal? Find great prices on flights and hotels with Yahoo! > FareChase. |
hey scott,
thanks got it right,it was a file format problem, grateful Scott Gray <[hidden email]> wrote: Check your ofbiz-component.xml, there is obviously something not right in there. Regards Scott On 25/07/07, kurtis shipp wrote: > > I was try to deploy a new application in hot-deploy but got "content is > not allowed in prolog" error as extracted from the detail below: > > > > 2007-07-24 21:05:38,515 (main) [ ComponentContainer.java:183:ERROR] > ---- exception report > ---------------------------------------------------------- > Cannot load component : gallery @ C:\ofbiz\hot-deploy\gallery : Error > reading the component config file: file:/C:/ofbiz/hot-deploy/gallery/ofbiz- > component.xml (Content is not allowed in prolog.) > Exception: org.ofbiz.base.component.ComponentException > Message: Error reading the component config file: > file:/C:/ofbiz/hot-deploy/gallery/ofbiz-component.xml (Content is not > allowed in prolog.) > ---- stack trace > --------------------------------------------------------------- > org.ofbiz.base.component.ComponentException: Error reading the component > config file: file:/C:/ofbiz/hot-deploy/gallery/ofbiz-component.xml(Content is not allowed in prolog.) > org.ofbiz.base.component.ComponentConfig.(ComponentConfig.java:373) > org.ofbiz.base.component.ComponentConfig.getComponentConfig( > ComponentConfig.java:71) > org.ofbiz.base.container.ComponentContainer.loadComponentDirectory( > ComponentContainer.java:181) > org.ofbiz.base.container.ComponentContainer.loadComponentFromConfig( > ComponentContainer.java:140) > org.ofbiz.base.container.ComponentContainer.loadComponents( > ComponentContainer.java:109) > org.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java > :76) > org.ofbiz.base.container.ContainerLoader.loadContainer( > ContainerLoader.java:141) > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65) > org.ofbiz.base.start.Start.initStartLoaders(Start.java:248) > org.ofbiz.base.start.Start.init(Start.java:87) > org.ofbiz.base.start.Start.main(Start.java:403) > org.xml.sax.SAXParseException: Content is not allowed in prolog. > org.apache.xerces.parsers.DOMParser.parse(Unknown Source) > org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) > javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:76) > org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:240) > org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:179) > org.ofbiz.base.component.ComponentConfig.(ComponentConfig.java:371) > org.ofbiz.base.component.ComponentConfig.getComponentConfig( > ComponentConfig.java:71) > org.ofbiz.base.container.ComponentContainer.loadComponentDirectory( > ComponentContainer.java:181) > org.ofbiz.base.container.ComponentContainer.loadComponentFromConfig( > ComponentContainer.java:140) > org.ofbiz.base.container.ComponentContainer.loadComponents( > ComponentContainer.java:109) > org.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java > :76) > org.ofbiz.base.container.ContainerLoader.loadContainer( > ContainerLoader.java:141) > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65) > org.ofbiz.base.start.Start.initStartLoaders(Start.java:248) > org.ofbiz.base.start.Start.init(Start.java:87) > org.ofbiz.base.start.Start.main(Start.java:403) > > -------------------------------------------------------------------------------- > 2007-07-24 21:05:38,515 (main) [ ComponentContainer.java:186:ERROR] > Cannot load component : gallery @ C:\ofbiz\hot-deploy\gallery > > > help is highly appreciated. > > thanks. > > > --------------------------------- > Looking for a deal? Find great prices on flights and hotels with Yahoo! > FareChase. --------------------------------- Need a vacation? Get great deals to amazing places on Yahoo! Travel. |
In reply to this post by Scott Gray
after trying to deploy an hello1 application I got the following from console log:
2007-07-30 16:30:07,562 (main) [ StandardContext.java:3714:ERROR] Error configuring application listener of class org.ofbiz.securityext.login.LoginEventListener java.lang.ClassNotFoundException: org.ofbiz.securityext.login.LoginEventListener at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3711) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.startup.Embedded.start(Embedded.java:821) at org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:222) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) 2007-07-30 16:30:07,578 (main) [ StandardContext.java:3721:ERROR] Skipped installing application listeners due to previous error(s) 2007-07-30 16:30:07,578 (main) [ StandardContext.java:4212:ERROR] Error listenerStart 2007-07-30 16:30:07,578 (main) [ StandardContext.java:4239:ERROR] Context [/hello1] startup failed due to previous errors help is highly appreciated. Thanks and cheers. --------------------------------- Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. |
Free forum by Nabble | Edit this page |