framework only configuration not working on trunk

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

framework only configuration not working on trunk

jignesh
**** My framework/base/config/component-load.xml looks like following:

<component-loader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="
http://ofbiz.apache.org/dtds/component-loader.xsd">
    <load-components parent-directory="framework"/>
    <!--  load-components parent-directory="themes"/>
    <load-components parent-directory="applications"/>
    <load-components parent-directory="specialpurpose"/>
    <load-components parent-directory="hot-deploy"/-->
</component-loader>

**** I build and ran the ofbiz and try to access webtools. It throws
following error. why?

[TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this
stack trace shows where this is happening:
Exception: java.lang.Exception
Message: Error in simple-method [Get visual theme resources
[file:/G:/ofbiz/trunk/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
; [Visual Theme resources not found.]
---- stack trace
---------------------------------------------------------------
java.lang.Exception: Error in simple-method [Get visual theme resources
[file:/G:/ofbiz/trunk/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
; [Visual Theme resources not found.]
org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:378)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:319)
org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:578)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:271)
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:290)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:385)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:220)
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
Reply | Threaded
Open this post in threaded view
|

Re: framework only configuration not working on trunk

Adrian Crum-3
A "framework only" instance excludes the applications and specialpurpose
folders. All other folders are required - including themes.

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 12/18/2013 8:09 AM, jignesh wrote:

> **** My framework/base/config/component-load.xml looks like following:
>
> <component-loader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>          xsi:noNamespaceSchemaLocation="
> http://ofbiz.apache.org/dtds/component-loader.xsd">
>      <load-components parent-directory="framework"/>
>      <!--  load-components parent-directory="themes"/>
>      <load-components parent-directory="applications"/>
>      <load-components parent-directory="specialpurpose"/>
>      <load-components parent-directory="hot-deploy"/-->
> </component-loader>
>
> **** I build and ran the ofbiz and try to access webtools. It throws
> following error. why?
>
> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this
> stack trace shows where this is happening:
> Exception: java.lang.Exception
> Message: Error in simple-method [Get visual theme resources
> [file:/G:/ofbiz/trunk/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
> ; [Visual Theme resources not found.]
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.Exception: Error in simple-method [Get visual theme resources
> [file:/G:/ofbiz/trunk/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
> ; [Visual Theme resources not found.]
> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:378)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:319)
> org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:578)
> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:271)
> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:290)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:385)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:220)
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
>