[jira] [Created] (OFBIZ-5202) upload content at party profile is not working

2013-05-27 Thread Moustafa Mahmoud (JIRA)
Moustafa Mahmoud created OFBIZ-5202:
---

 Summary: upload content at party profile is not working
 Key: OFBIZ-5202
 URL: https://issues.apache.org/jira/browse/OFBIZ-5202
 Project: OFBiz
  Issue Type: Bug
  Components: content, party
Affects Versions: Release Branch 12.04
 Environment: ubuntu desktop 12.4
Reporter: Moustafa Mahmoud


i tried to upload content at party profile screen with purpose "Logo Image URL" 
and Is public "YES" but i got the following exception
 exception report --
ERROR: Could not complete the Create Content Alternative URLs. 
[file:/media/68C2E6E0C2E6B18C/Work/Developers_foundation/Workspace/OFBiz/ofbiz/applications/content/script/org/ofbiz/content/content/ContentServices.xml#createContentAlternativeUrl]
 process [problem invoking the [createContent] service with the map named 
[contentCtx] containing [{dataResourceId=10001, statusId=CTNT_IN_PROGRESS, 
localeString=en_US, userLogin=[GenericEntity:UserLogin][createdStamp,2013-05-23 
12:19:58.0(java.sql.Timestamp)][createdTxStamp,2013-05-23 
12:19:58.0(java.sql.Timestamp)][currentPassword,null()][disabledDateTime,null()][enabled,N(java.lang.String)][externalAuthId,null()][hasLoggedOut,null()][isSystem,Y(java.lang.String)][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2013-05-23
 12:19:58.0(java.sql.Timestamp)][lastUpdatedTxStamp,2013-05-23 
12:19:58.0(java.sql.Timestamp)][partyId,null()][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,system(java.lang.String)],
 locale=en_US}]: The following required parameter is missing: [IN] 
[createContentRole.partyId]]
Exception: org.ofbiz.service.ServiceValidationException
Message: The following required parameter is missing: [IN] 
[createContentRole.partyId]
 stack trace ---
org.ofbiz.service.ServiceValidationException: The following required parameter 
is missing: [IN] [createContentRole.partyId]
org.ofbiz.service.ModelService.validate(ModelService.java:626)
org.ofbiz.service.ModelService.validate(ModelService.java:562)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:371)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:138)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:159)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:188)
--
can anyone help me

Cheers

Mostafa

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (OFBIZ-5188) failed to deploy ofbiz12.04 to jboss5.1.0.GA

2013-05-19 Thread Moustafa Mahmoud (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-5188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13661515#comment-13661515
 ] 

Moustafa Mahmoud commented on OFBIZ-5188:
-

Hi Paul,
the previous exception is fixed by adding 2 jars to lib directory of ofbiz.ear 
geronimo-connector-2.1.1.jar 
and
geronimo-transaction-2.1.1.jar

another exception i got 

2013-05-19 10:46:45,311 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/accounting]] 
(main) Exception starting filter ContextFilter
java.lang.AbstractMethodError: 
org.ofbiz.geronimo.GeronimoTransactionFactory.getConnection(Lorg/ofbiz/entity/datasource/GenericHelperInfo;)Ljava/sql/Connection;
at 
org.ofbiz.entity.transaction.TransactionFactory.getConnection(TransactionFactory.java:97)
at 
org.ofbiz.entity.jdbc.ConnectionFactory.getConnection(ConnectionFactory.java:85)
at 
org.ofbiz.entity.jdbc.DatabaseUtil.getConnection(DatabaseUtil.java:99)
at 
org.ofbiz.entity.jdbc.DatabaseUtil.getTableNames(DatabaseUtil.java:1057)
at org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:137)

any suggestions
Thanks in Advance

Mostafa





> failed to deploy ofbiz12.04 to jboss5.1.0.GA
> 
>
> Key: OFBIZ-5188
> URL: https://issues.apache.org/jira/browse/OFBIZ-5188
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Release Branch 12.04
> Environment: Production
>Reporter: Moustafa Mahmoud
>  Labels: build, deploy, deploy,deployment, deployment
> Attachments: jboss-exception.txt
>
>
>  faced a trouble when deploying ofbiz to jboss
> I followed the instructions at 
> https://cwiki.apache.org/OFBTECH/deploying-ofbiz-904-on-jboss-510.html
> but , i got an exception. "please see below".
> i used ofbiz release 12.04 with jboss5.1.0.GA
> 
> 12:18:03,164 ERROR [[/accounting]] Exception starting filter ContextFilter
> java.lang.IllegalStateException: Error loading TransactionFactory class 
> "org.ofbiz.geronimo.GeronimoTransactionFactory": 
> org.ofbiz.geronimo.GeronimoTransactionFactory
>   at 
> org.ofbiz.entity.transaction.TransactionFactory.getTransactionFactory(TransactionFactory.java:61)
>   at 
> org.ofbiz.entity.transaction.TransactionFactory.getUserTransaction(TransactionFactory.java:89)
>   at 
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:136)
>   at 
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:127)
>   at 
> org.ofbiz.entity.GenericDelegator.findCountByCondition(GenericDelegator.java:1837)
>   at org.ofbiz.entity.util.EntityCrypto.(EntityCrypto.java:58)
>   at org.ofbiz.entity.GenericDelegator.(GenericDelegator.java:254)
>   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:51)
>   at 
> org.ofbiz.webapp.control.ContextFilter.getDelegator(ContextFilter.java:413)
>   at org.ofbiz.webapp.control.ContextFilter.init(ContextFilter.java:112)
>   at 
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:234)
>   at 
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:332)
>   at 
> org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:90)
>   at 
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3783)
>   at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4413)
>   at 
> org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
>   at 
> org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
>   at 
> org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
>   at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
>   at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:601)
>   at 
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
>   at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
>   

[jira] [Commented] (OFBIZ-5188) failed to deploy ofbiz12.04 to jboss5.1.0.GA

2013-05-19 Thread Moustafa Mahmoud (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-5188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13661510#comment-13661510
 ] 

Moustafa Mahmoud commented on OFBIZ-5188:
-

Hi Paul
i added "ofbiz-geronimo.jar" to the lib directory
but, i got another exception
---
2013-05-19 10:16:03,874 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/accounting]] 
(main) Exception starting filter ContextFilter
java.lang.NoClassDefFoundError: 
org/apache/geronimo/transaction/manager/TransactionLog
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2398)
at java.lang.Class.getConstructor0(Class.java:2708)


Cheers

Mostafa


> failed to deploy ofbiz12.04 to jboss5.1.0.GA
> 
>
> Key: OFBIZ-5188
> URL: https://issues.apache.org/jira/browse/OFBIZ-5188
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Release Branch 12.04
> Environment: Production
>Reporter: Moustafa Mahmoud
>  Labels: build, deploy, deploy,deployment, deployment
> Attachments: jboss-exception.txt
>
>
>  faced a trouble when deploying ofbiz to jboss
> I followed the instructions at 
> https://cwiki.apache.org/OFBTECH/deploying-ofbiz-904-on-jboss-510.html
> but , i got an exception. "please see below".
> i used ofbiz release 12.04 with jboss5.1.0.GA
> 
> 12:18:03,164 ERROR [[/accounting]] Exception starting filter ContextFilter
> java.lang.IllegalStateException: Error loading TransactionFactory class 
> "org.ofbiz.geronimo.GeronimoTransactionFactory": 
> org.ofbiz.geronimo.GeronimoTransactionFactory
>   at 
> org.ofbiz.entity.transaction.TransactionFactory.getTransactionFactory(TransactionFactory.java:61)
>   at 
> org.ofbiz.entity.transaction.TransactionFactory.getUserTransaction(TransactionFactory.java:89)
>   at 
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:136)
>   at 
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:127)
>   at 
> org.ofbiz.entity.GenericDelegator.findCountByCondition(GenericDelegator.java:1837)
>   at org.ofbiz.entity.util.EntityCrypto.(EntityCrypto.java:58)
>   at org.ofbiz.entity.GenericDelegator.(GenericDelegator.java:254)
>   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:51)
>   at 
> org.ofbiz.webapp.control.ContextFilter.getDelegator(ContextFilter.java:413)
>   at org.ofbiz.webapp.control.ContextFilter.init(ContextFilter.java:112)
>   at 
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:234)
>   at 
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:332)
>   at 
> org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:90)
>   at 
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3783)
>   at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4413)
>   at 
> org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
>   at 
> org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
>   at 
> org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
>   at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
>   at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:601)
>   at 
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
>   at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
>   at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>   at 
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
>   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
>   at 
> org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
>   at $Proxy38.start(Unknown Source)
>   at 
> org.jboss.system.microcontainer.StartStopLifecycleAction

[jira] [Commented] (OFBIZ-5188) failed to deploy ofbiz12.04 to jboss5.1.0.GA

2013-05-16 Thread Moustafa Mahmoud (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-5188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13659436#comment-13659436
 ] 

Moustafa Mahmoud commented on OFBIZ-5188:
-

Hi Paul,
i noticed that when deploy to tomcat 6 and start it, ofbiz derby db recreated.
so, i moved the generated DBs "after running run-install option" to tomcat's 
directory manually.
and every thing is working fine for tomcat 6 and OFBiz 9.04,and 10.04,
when trying to deploy OFBiz 11.04, of 12.04 i got several exceptions.
--
now, i'm trying to deploy both releases "9.04 and 10.04" to jboss 5
i followed the article at 
https://cwiki.apache.org/OFBTECH/deploying-ofbiz-904-on-jboss-510.html
but, i got an exception, there is the exception report
-
 exception report --
Exception: java.lang.ClassNotFoundException
Message: org.ofbiz.geronimo.GeronimoTransactionFactory
 stack trace ---
java.lang.ClassNotFoundException: org.ofbiz.geronimo.GeronimoTransactionFactory
java.net.URLClassLoader$1.run(URLClassLoader.java:202)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(URLClassLoader.java:190)
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:183)
org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:158)
org.ofbiz.entity.transaction.TransactionFactory.getTransactionFactory(TransactionFactory.java:56)
org.ofbiz.entity.transaction.TransactionFactory.getConnection(TransactionFactory.java:95)
org.ofbiz.entity.jdbc.ConnectionFactory.getConnection(ConnectionFactory.java:73)
org.ofbiz.entity.jdbc.DatabaseUtil.getConnection(DatabaseUtil.java:98)
org.ofbiz.entity.jdbc.DatabaseUtil.getTableNames(DatabaseUtil.java:1056)
org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:136)
org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:125)
org.ofbiz.entity.datasource.GenericDAO.checkDb(GenericDAO.java:1090)
org.ofbiz.entity.datasource.GenericHelperDAO.checkDataSource(GenericHelperDAO.java:195)
org.ofbiz.entity.GenericDelegator.(GenericDelegator.java:288)
org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:141)
org.ofbiz.webapp.control.ContextFilter.getDelegator(ContextFilter.java:324)
org.ofbiz.webapp.control.ContextFilter.init(ContextFilter.java:102)
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:234)
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:332)
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:90)
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3783)
org.apache.catalina.core.StandardContext.start(StandardContext.java:4413)
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
org.jboss.web.deployers.WebModule.start(WebModule.java:97)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
com.sun.proxy.$Proxy38.start(Unknown Source)
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
or

[jira] [Commented] (OFBIZ-5188) failed to deploy ofbiz12.04 to jboss5.1.0.GA

2013-05-13 Thread Moustafa Mahmoud (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-5188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13655894#comment-13655894
 ] 

Moustafa Mahmoud commented on OFBIZ-5188:
-

when deploying to tomcat 6, server is started without errors , but when 
invoking party manager application at
https://localhost:8443/partymgr/control/main , and other OFBiz applications
i got an error page containing
"org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen 
[component://common/widget/CommonScreens.xml#GlobalDecorator]: 
java.lang.IllegalArgumentException: Template location is empty (Template 
location is empty)"



and in console i got the following exception 


org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.jav
a:321)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:268)
org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:880)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:149)
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:131)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:7
6)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:390)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:219)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159)
org.ofbiz.widget.screen.ModelScreenAction$Service.runAction(ModelScreenAction.ja
va:481)
org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:1
18)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreen
Widget.java:220)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(Model
ScreenWidget.java:552)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidg
et.java:138)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreen
Widget.java:227)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(Model
ScreenWidget.java:552)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidg
et.java:138)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreen
Widget.java:227)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(Mod
elScreenWidget.java:646)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidg
et.java:138)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreen
Widget.java:227)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:132)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:92)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.j
ava:98)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:795)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:539)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:202)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:259)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
33)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
75)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109
)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Pr
otocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:662)



2013-05-13 12:30:22,667 (http-8443-1) [  ServiceDispatcher.java:528:ERROR] Error
 in Service [getVisualThe

[jira] [Commented] (OFBIZ-5188) failed to deploy ofbiz12.04 to jboss5.1.0.GA

2013-05-12 Thread Moustafa Mahmoud (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-5188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13655563#comment-13655563
 ] 

Moustafa Mahmoud commented on OFBIZ-5188:
-

Hi Paul
i replaced jdk 7 by jdk 6 and build successfully,
and server "jboss.5.1.0.GA" started with the following error

e.xui.style, org.apache.fop.render.txt, 
edu.emory.mathcs.backport.java.util.concurrent.locks, 
org.apache.commons.digester, jimm.datavision.gui.cmd, 
org.codehaus.groovy.tools, org.apache.xmlrpc.client, 
org.krysalis.barcode4j.output, com.sun.syndication.feed.atom, 
org.apache.commons.lang.text, org.apache.tools.ant.taskdefs.optional.clearcase, 
org.webslinger.ext.wiki, org.apache.batik.transcoder.image, 
org.ofbiz.marketing.campaign, org.apache.fop.fonts.type1, 
META-INF.maven.org.apache.ws.commons.ws-commons-util, 
org.apache.velocity.runtime, groovy.mock.interceptor, org.ofbiz.appservers, 
org.codehaus.janino.tools, org.apache.tools.bzip2, 
org.krysalis.barcode4j.output.svg, zoneinfo.America.Argentina, 
org.apache.commons.collections.functors, org.apache.xmlgraphics.xmp.merge, 
org.objectweb.asm.tree, org.apache.batik.ext.awt.geom, 
com.meterware.httpunit.javascript, org.apache.batik.util.gui.resources, 
org.apache.batik.transcoder, groovy.security, org.apache.commons.discovery.jdk, 
freemarker.log, org.krysalis.barcode4j.impl.int2of5, META-INF.services, 
jimm.util, com.jgoodies.looks.windows, com.lowagie.text.xml.simpleparser, 
org.apache.env, junit.awtui, org.apache.velocity.runtime.resource, 
org.apache.tools.ant.taskdefs.optional.net, org.ofbiz.workeffort.workeffort, 
org.apache.tools.ant.taskdefs.optional.unix, org.apache.ws.commons.serialize, 
org.webslinger.commons.vfs.local, org.apache.commons.collections.collection, 
net.sf.json.test, org.cyberneko.html.filters, org.ofbiz.base.util, 
org.apache.fop.render.pdf, net.xoetrope.optional.http, 
org.apache.velocity.texen.defaults, org.webslinger.commons.vfs.handlers, 
org.owasp.validator.html.scan, org.apache.log4j.xml, 
org.apache.axis.description, org.apache.commons.vfs.provider.ram, 
org.apache.axis.transport.mail, javax.xml.transform.sax, 
org.apache.batik.bridge.resources, ant, org.webslinger.junit, 
freemarker.ext.util, org.codehaus.groovy.binding, org.apache.tools.ant.input, 
org.apache.tools.ant.util.depend, com.lowagie.text.rtf.style, 
org.apache.commons.modeler.ant, org.ofbiz.content.survey, 
org.apache.batik.dom.resources, org.apache.batik.anim.resources, 
net.xoetrope.optional.data.pojo, org.apache.commons.digester.substitution, 
org.apache.fop.hyphenation, org.apache.fop.render.pcl, 
org.ofbiz.minilang.method.callops, net.xoetrope.optional.pool, 
org.apache.batik.script.rhino, net.wimpi.pim.contact.io, 
org.webslinger.code.groovy, org.apache.log4j.helpers, jpos.res, 
org.ofbiz.commons.vfs, org.ofbiz.accounting.thirdparty.authorizedotnet, 
org.apache.oro.text.awk, org.apache.poi.hssf.eventusermodel, 
org.ofbiz.pos.screen, net.wimpi.pim.util, org.apache.commons.net, 
org.ofbiz.base.location, org.krysalis.barcode4j.output.eps, groovy.xml, 
org.w3c.dom.ls, org.apache.commons.vfs, org.apache.commons.io, org.apache.poi, 
org.apache.derby.tools, org.apache.tools.ant.taskdefs.optional.javah, 
org.webslinger.code.tests, com.lowagie.tools, com.jgoodies.looks.plastic, 
org.apache.axis.providers.java, jimm.datavision.source, org.ofbiz.sfa, 
org.apache.batik.css.parser.resources, 
META-INF.maven.org.apache.xmlrpc.xmlrpc-client, org.apache.axis.schema, 
org.apache.axis.transport.java, META-INF, org.apache.derby.iapi.services.info, 
org.webslinger.vfs, org.apache.lucene.analysis.standard, org.ofbiz.guiapp.xui, 
org.apache.commons.vfs.provider.jar, org.apache.oro.text.regex, 
org.ofbiz.order.test, org.w3c.dom.html, org.ofbiz.content.search, 
org.apache.commons.collections.keyvalue, net.sf.json.filters, 
javax.wsdl.extensions.http, groovy.text, net.xoetrope.xml.jaxp, 
org.apache.lucene.search.function, org.w3c.dom.css, 
org.apache.velocity.servlet, org.apache.log4j.lf5.config, 
org.apache.tools.ant.types.spi, org.apache.axis.strategies, 
org.apache.poi.hssf.util, com.ibm.icu.impl.data.icudt36b, 
org.apache.xmlgraphics.util.io, org.apache.tools.ant.types.resources, 
org.apache.batik.extensions, freemarker.debug.impl, net.xoetrope.xui.exception, 
org.ofbiz.minerva.pool.jdbc.xa.wrapper, org.apache.commons.fileupload.portlet, 
org.ofbiz.pos.jpos.service, org.apache.poi.hssf.extractor, 
org.webslinger.macros, org.apache.velocity.exception, 
org.ofbiz.accounting.ledger, groovy.xml.dom, org.apache.ws.commons.util, 
org.apache.tools.ant.taskdefs.optional.pvcs, org.ofbiz.common.datasource, 
org.apache.fop.layoutmgr.inline, org.ofbiz.widget.tree, 
org.apache.lucene.search.spans, org.apache.commons.lang.builder, 
org.apache.tools.ant.taskdefs.optional.ejb, org.ofbiz.entityext.permission, 
com.ziclix.python.sql.handler, org.apache.tools.ant.listener, 
org.apache.tools.ant.util.rege

[jira] [Commented] (OFBIZ-5188) failed to deploy ofbiz12.04 to jboss5.1.0.GA

2013-05-09 Thread Moustafa Mahmoud (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-5188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13652787#comment-13652787
 ] 

Moustafa Mahmoud commented on OFBIZ-5188:
-

Many Thanks Paul 
I will check JDK6, but you are talking about ofbiz 9 and ofbiz 10 . I am using 
latest release version of ofbiz from 
http://ofbiz.apache.org/source-repositories.html which is [ofbiz 12.04]. I am 
beginner in ofbiz. do I have to user ofbiz version 9 ? or continue using 
version 12? I mean is there known bugs in  [ofbiz 12.04] or it is still under 
community test?

> failed to deploy ofbiz12.04 to jboss5.1.0.GA
> 
>
> Key: OFBIZ-5188
> URL: https://issues.apache.org/jira/browse/OFBIZ-5188
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Release Branch 12.04
> Environment: Production
>Reporter: Moustafa Mahmoud
>  Labels: build, deploy, deploy,deployment, deployment
> Attachments: jboss-exception.txt
>
>
>  faced a trouble when deploying ofbiz to jboss
> I followed the instructions at 
> https://cwiki.apache.org/OFBTECH/deploying-ofbiz-904-on-jboss-510.html
> but , i got an exception. "please see below".
> i used ofbiz release 12.04 with jboss5.1.0.GA
> 
> 12:18:03,164 ERROR [[/accounting]] Exception starting filter ContextFilter
> java.lang.IllegalStateException: Error loading TransactionFactory class 
> "org.ofbiz.geronimo.GeronimoTransactionFactory": 
> org.ofbiz.geronimo.GeronimoTransactionFactory
>   at 
> org.ofbiz.entity.transaction.TransactionFactory.getTransactionFactory(TransactionFactory.java:61)
>   at 
> org.ofbiz.entity.transaction.TransactionFactory.getUserTransaction(TransactionFactory.java:89)
>   at 
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:136)
>   at 
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:127)
>   at 
> org.ofbiz.entity.GenericDelegator.findCountByCondition(GenericDelegator.java:1837)
>   at org.ofbiz.entity.util.EntityCrypto.(EntityCrypto.java:58)
>   at org.ofbiz.entity.GenericDelegator.(GenericDelegator.java:254)
>   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:51)
>   at 
> org.ofbiz.webapp.control.ContextFilter.getDelegator(ContextFilter.java:413)
>   at org.ofbiz.webapp.control.ContextFilter.init(ContextFilter.java:112)
>   at 
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:234)
>   at 
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:332)
>   at 
> org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:90)
>   at 
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3783)
>   at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4413)
>   at 
> org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
>   at 
> org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
>   at 
> org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
>   at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
>   at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:601)
>   at 
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
>   at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
>   at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>   at 
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
>   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
>   at 
> org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
>   at $Proxy38.start(Unknown Source)
>   at 
> org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
>   at 
> org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
>   at 
> 

[jira] [Commented] (OFBIZ-5188) failed to deploy ofbiz12.04 to jboss5.1.0.GA

2013-05-08 Thread Moustafa Mahmoud (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-5188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13651777#comment-13651777
 ] 

Moustafa Mahmoud commented on OFBIZ-5188:
-

I got the following error when building R9.04

classes:
  [javac15] Compiling 4 source files to 
/home/tamer/ofbiz9.04/framework/security/build/classes
  [javac15] warning: [options] bootstrap class path not set in conjunction with 
-source 1.5
  [javac15] 
/home/tamer/ofbiz9.04/framework/security/src/org/ofbiz/security/OFBizSecurity.java:50:
 error: invalid inferred types for V; inferred type does not conform to 
declared bound(s)
  [javac15] public static final Map> 
simpleRoleEntity = UtilMisc.toMap(
  [javac15] 
  ^
  [javac15] inferred: Map
  [javac15] bound(s): Map
  [javac15]   where V,V1,V2,V3 are type-variables:
  [javac15] V extends Object declared in method 
toMap(String,V1,String,V2,String,V3)
  [javac15] V1 extends V declared in method 
toMap(String,V1,String,V2,String,V3)
  [javac15] V2 extends V declared in method 
toMap(String,V1,String,V2,String,V3)
  [javac15] V3 extends V declared in method 
toMap(String,V1,String,V2,String,V3)
  [javac15] 1 error
  [javac15] 1 warning

BUILD FAILED
/home/tamer/ofbiz9.04/build.xml:148: The following error occurred while 
executing this line:
/home/tamer/ofbiz9.04/framework/build.xml:141: The following error occurred 
while executing this line:
/home/tamer/ofbiz9.04/macros.xml:27: The following error occurred while 
executing this line:
/home/tamer/ofbiz9.04/framework/security/build.xml:46: Compile failed; see the 
compiler error output for details.

Total time: 12 seconds


> failed to deploy ofbiz12.04 to jboss5.1.0.GA
> 
>
> Key: OFBIZ-5188
> URL: https://issues.apache.org/jira/browse/OFBIZ-5188
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Release Branch 12.04
> Environment: Production
>Reporter: Moustafa Mahmoud
>  Labels: build, deploy, deploy,deployment, deployment
> Attachments: jboss-exception.txt
>
>
>  faced a trouble when deploying ofbiz to jboss
> I followed the instructions at 
> https://cwiki.apache.org/OFBTECH/deploying-ofbiz-904-on-jboss-510.html
> but , i got an exception. "please see below".
> i used ofbiz release 12.04 with jboss5.1.0.GA
> 
> 12:18:03,164 ERROR [[/accounting]] Exception starting filter ContextFilter
> java.lang.IllegalStateException: Error loading TransactionFactory class 
> "org.ofbiz.geronimo.GeronimoTransactionFactory": 
> org.ofbiz.geronimo.GeronimoTransactionFactory
>   at 
> org.ofbiz.entity.transaction.TransactionFactory.getTransactionFactory(TransactionFactory.java:61)
>   at 
> org.ofbiz.entity.transaction.TransactionFactory.getUserTransaction(TransactionFactory.java:89)
>   at 
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:136)
>   at 
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:127)
>   at 
> org.ofbiz.entity.GenericDelegator.findCountByCondition(GenericDelegator.java:1837)
>   at org.ofbiz.entity.util.EntityCrypto.(EntityCrypto.java:58)
>   at org.ofbiz.entity.GenericDelegator.(GenericDelegator.java:254)
>   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:51)
>   at 
> org.ofbiz.webapp.control.ContextFilter.getDelegator(ContextFilter.java:413)
>   at org.ofbiz.webapp.control.ContextFilter.init(ContextFilter.java:112)
>   at 
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:234)
>   at 
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:332)
>   at 
> org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:90)
>   at 
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3783)
>   at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4413)
>   at 
> org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
>   at 
> org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
>   at 
> org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
>   at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
>   

[jira] [Updated] (OFBIZ-5188) failed to deploy ofbiz12.04 to jboss5.1.0.GA

2013-05-07 Thread Moustafa Mahmoud (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-5188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Moustafa Mahmoud updated OFBIZ-5188:


Labels: build deploy deploy,deployment deployment  (was: build 
deploy,deployment)

> failed to deploy ofbiz12.04 to jboss5.1.0.GA
> 
>
> Key: OFBIZ-5188
> URL: https://issues.apache.org/jira/browse/OFBIZ-5188
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Release Branch 12.04
> Environment: Production
>Reporter: Moustafa Mahmoud
>  Labels: build, deploy, deploy,deployment, deployment
> Attachments: jboss-exception.txt
>
>
>  faced a trouble when deploying ofbiz to jboss
> I followed the instructions at 
> https://cwiki.apache.org/OFBTECH/deploying-ofbiz-904-on-jboss-510.html
> but , i got an exception. "please see below".
> i used ofbiz release 12.04 with jboss5.1.0.GA
> 
> 12:18:03,164 ERROR [[/accounting]] Exception starting filter ContextFilter
> java.lang.IllegalStateException: Error loading TransactionFactory class 
> "org.ofbiz.geronimo.GeronimoTransactionFactory": 
> org.ofbiz.geronimo.GeronimoTransactionFactory
>   at 
> org.ofbiz.entity.transaction.TransactionFactory.getTransactionFactory(TransactionFactory.java:61)
>   at 
> org.ofbiz.entity.transaction.TransactionFactory.getUserTransaction(TransactionFactory.java:89)
>   at 
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:136)
>   at 
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:127)
>   at 
> org.ofbiz.entity.GenericDelegator.findCountByCondition(GenericDelegator.java:1837)
>   at org.ofbiz.entity.util.EntityCrypto.(EntityCrypto.java:58)
>   at org.ofbiz.entity.GenericDelegator.(GenericDelegator.java:254)
>   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:51)
>   at 
> org.ofbiz.webapp.control.ContextFilter.getDelegator(ContextFilter.java:413)
>   at org.ofbiz.webapp.control.ContextFilter.init(ContextFilter.java:112)
>   at 
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:234)
>   at 
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:332)
>   at 
> org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:90)
>   at 
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3783)
>   at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4413)
>   at 
> org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
>   at 
> org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
>   at 
> org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
>   at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
>   at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:601)
>   at 
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
>   at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
>   at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>   at 
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
>   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
>   at 
> org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
>   at $Proxy38.start(Unknown Source)
>   at 
> org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
>   at 
> org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
>   at 
> org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
>   at 
> org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
>   at 
> org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActio

[jira] [Updated] (OFBIZ-5188) failed to deploy ofbiz12.04 to jboss5.1.0.GA

2013-05-07 Thread Moustafa Mahmoud (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-5188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Moustafa Mahmoud updated OFBIZ-5188:


Attachment: jboss-exception.txt

the exception stack trace

> failed to deploy ofbiz12.04 to jboss5.1.0.GA
> 
>
> Key: OFBIZ-5188
> URL: https://issues.apache.org/jira/browse/OFBIZ-5188
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Release Branch 12.04
> Environment: Production
>Reporter: Moustafa Mahmoud
>  Labels: build, deploy,deployment
> Attachments: jboss-exception.txt
>
>
>  faced a trouble when deploying ofbiz to jboss
> I followed the instructions at 
> https://cwiki.apache.org/OFBTECH/deploying-ofbiz-904-on-jboss-510.html
> but , i got an exception. "please see below".
> i used ofbiz release 12.04 with jboss5.1.0.GA
> 
> 12:18:03,164 ERROR [[/accounting]] Exception starting filter ContextFilter
> java.lang.IllegalStateException: Error loading TransactionFactory class 
> "org.ofbiz.geronimo.GeronimoTransactionFactory": 
> org.ofbiz.geronimo.GeronimoTransactionFactory
>   at 
> org.ofbiz.entity.transaction.TransactionFactory.getTransactionFactory(TransactionFactory.java:61)
>   at 
> org.ofbiz.entity.transaction.TransactionFactory.getUserTransaction(TransactionFactory.java:89)
>   at 
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:136)
>   at 
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:127)
>   at 
> org.ofbiz.entity.GenericDelegator.findCountByCondition(GenericDelegator.java:1837)
>   at org.ofbiz.entity.util.EntityCrypto.(EntityCrypto.java:58)
>   at org.ofbiz.entity.GenericDelegator.(GenericDelegator.java:254)
>   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:51)
>   at 
> org.ofbiz.webapp.control.ContextFilter.getDelegator(ContextFilter.java:413)
>   at org.ofbiz.webapp.control.ContextFilter.init(ContextFilter.java:112)
>   at 
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:234)
>   at 
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:332)
>   at 
> org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:90)
>   at 
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3783)
>   at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4413)
>   at 
> org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
>   at 
> org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
>   at 
> org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
>   at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
>   at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:601)
>   at 
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
>   at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
>   at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>   at 
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
>   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
>   at 
> org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
>   at $Proxy38.start(Unknown Source)
>   at 
> org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
>   at 
> org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
>   at 
> org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
>   at 
> org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
>   at 
> org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
>   at 
> org.jb

[jira] [Created] (OFBIZ-5188) failed to deploy ofbiz12.04 to jboss5.1.0.GA

2013-05-07 Thread Moustafa Mahmoud (JIRA)
Moustafa Mahmoud created OFBIZ-5188:
---

 Summary: failed to deploy ofbiz12.04 to jboss5.1.0.GA
 Key: OFBIZ-5188
 URL: https://issues.apache.org/jira/browse/OFBIZ-5188
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Release Branch 12.04
 Environment: Production
Reporter: Moustafa Mahmoud


 faced a trouble when deploying ofbiz to jboss
I followed the instructions at 
https://cwiki.apache.org/OFBTECH/deploying-ofbiz-904-on-jboss-510.html

but , i got an exception. "attached to email".
i used ofbiz release 12.04 with jboss5.1.0.GA


12:18:03,164 ERROR [[/accounting]] Exception starting filter ContextFilter
java.lang.IllegalStateException: Error loading TransactionFactory class 
"org.ofbiz.geronimo.GeronimoTransactionFactory": 
org.ofbiz.geronimo.GeronimoTransactionFactory
at 
org.ofbiz.entity.transaction.TransactionFactory.getTransactionFactory(TransactionFactory.java:61)
at 
org.ofbiz.entity.transaction.TransactionFactory.getUserTransaction(TransactionFactory.java:89)
at 
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:136)
at 
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:127)
at 
org.ofbiz.entity.GenericDelegator.findCountByCondition(GenericDelegator.java:1837)
at org.ofbiz.entity.util.EntityCrypto.(EntityCrypto.java:58)
at org.ofbiz.entity.GenericDelegator.(GenericDelegator.java:254)
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:51)
at 
org.ofbiz.webapp.control.ContextFilter.getDelegator(ContextFilter.java:413)
at org.ofbiz.webapp.control.ContextFilter.init(ContextFilter.java:112)
at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:234)
at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:332)
at 
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:90)
at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3783)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4413)
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
at 
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at 
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy38.start(Unknown Source)
at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
at 
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at 
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at 
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)