4 Replies Latest reply on Nov 25, 2014 6:45 AM by Peter Kukucka

    Dashboard web application ERROR

    Fer Gia Newbie

      Hi all!

      I've downloaded the jbpm-6.0.1.Final-installer-full with the jbpm-console and the dashboar-builder wars.

      The jbpm-console works fine in my Jboss AS 7.1.1

      But when I try to deploy the dashboard-builder, I get this error:

       

      java.lang.ClassNotFoundException: oracle.sql.BLOB from [Module "deployment.dashboard-builder.war:main" from Service Module Loader]
        at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
        at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
        at java.lang.Class.forName0(Native Method) [rt.jar:1.7.0_21]
        at java.lang.Class.forName(Class.java:188) [rt.jar:1.7.0_21]
        at org.jboss.dashboard.database.hibernate.LOBHelper.oracleNullSafeSet(LOBHelper.java:92) [dashboard-commons-6.0.1.Final.jar:6.0.1.Final]
        ... 38 more
      

       

      Then I try adding the Oracle dirver in the war file, and the error now is:

       

       java.lang.ClassNotFoundException: com.sun.proxy.$Proxy156 from [Module "deployment.dashboard-builder.war:main" from Service Module Loader]
        at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
        at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
        at java.lang.Class.forName0(Native Method) [rt.jar:1.7.0_21]
        at java.lang.Class.forName(Class.java:188) [rt.jar:1.7.0_21]
        at org.jboss.dashboard.database.hibernate.LOBHelper.oracleNullSafeSet(LOBHelper.java:106) [dashboard-commons-6.0.1.Final.jar:6.0.1.Final]
        ... 58 more
      

       

      I'd update the hibernate.cfg.xml file using the datasource name configurated in the JBoss AS

       

      How can I do to make the dashboard application to work? Any ideas?

      Thanks!

        • 1. Re: Dashboard web application ERROR
          Pierre-Louis Vignot Newbie

          Hi all,

           

          I'am trying to deploy dashboard-builder from jbpm version 6.1.0.CR1 with my own datasource on a oracle database and I have this error (I managed to deploy jbpm-console with the same datasource) :

           

          
          ERROR [org.jboss.dashboard.annotation.StartableProcessor] (MSC service thread 1-2) Error starting bean org.jboss.dashboard.workspace.LayoutsManagerImpl$Proxy$_$$_WeldClientProxy: java.lang.NullPointerException
            at org.jboss.dashboard.error.ErrorManager.notifyError(ErrorManager.java:178) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.error.ErrorManager$Proxy$_$$_WeldClientProxy.notifyError(ErrorManager$Proxy$_$$_WeldClientProxy.java) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.database.hibernate.HibernateTransaction.error(HibernateTransaction.java:232) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.database.hibernate.HibernateTransaction.flush(HibernateTransaction.java:185) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.database.hibernate.HibernateTransaction.complete(HibernateTransaction.java:153) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.database.hibernate.HibernateTxFragment.executeInitiator(HibernateTxFragment.java:182) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.database.hibernate.HibernateTxFragment.execute(HibernateTxFragment.java:167) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.workspace.GraphicElementManagerImpl.deployBaseElements(GraphicElementManagerImpl.java:140) [dashboard-ui-core-6.1.0.CR1.jar:]
            at org.jboss.dashboard.workspace.GraphicElementManagerImpl.start(GraphicElementManagerImpl.java:80) [dashboard-ui-core-6.1.0.CR1.jar:]
            at org.jboss.dashboard.workspace.LayoutsManagerImpl.start(LayoutsManagerImpl.java:34) [dashboard-ui-core-6.1.0.CR1.jar:]
            at org.jboss.dashboard.workspace.LayoutsManagerImpl$Proxy$_$$_WeldClientProxy.start(LayoutsManagerImpl$Proxy$_$$_WeldClientProxy.java) [dashboard-ui-core-6.1.0.CR1.jar:]
            at org.jboss.dashboard.annotation.StartableProcessor.wakeUpStartableBeans(StartableProcessor.java:52) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.Application.start(Application.java:74) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.Application$Proxy$_$$_WeldClientProxy.start(Application$Proxy$_$$_WeldClientProxy.java) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.ui.controller.ControllerServlet.init(ControllerServlet.java:62) [dashboard-ui-core-6.1.0.CR1.jar:]
            at javax.servlet.GenericServlet.init(GenericServlet.java:242) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
            at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.13.Final.jar:]
            at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) [jbossweb-7.0.13.Final.jar:]
            at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3655) [jbossweb-7.0.13.Final.jar:]
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:3873) [jbossweb-7.0.13.Final.jar:]
            at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
            at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
            at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_55]
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_55]
            at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_55]
          
          
          16:00:23,503 INFO  [org.jboss.dashboard.workspace.GraphicElementManagerImpl] (MSC service thread 1-2) Starting org.jboss.dashboard.workspace.SkinsManagerImpl
          16:00:23,626 ERROR [org.jboss.dashboard.annotation.StartableProcessor] (MSC service thread 1-2) Error starting bean org.jboss.dashboard.security.UIPolicy$Proxy$_$$_WeldClientProxy: org.hibernate.HibernateException: Error in oracleNullSafeSet
            at org.jboss.dashboard.database.hibernate.LOBHelper.oracleNullSafeSet(LOBHelper.java:161) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.database.hibernate.LOBHelper.nullSafeSet(LOBHelper.java:170) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.database.hibernate.LOBHelper$Proxy$_$$_WeldClientProxy.nullSafeSet(LOBHelper$Proxy$_$$_WeldClientProxy.java) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.database.hibernate.BinaryBlobType.nullSafeSet(BinaryBlobType.java:55) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            at org.hibernate.type.CustomType.nullSafeSet(CustomType.java:155) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
            at org.hibernate.persister.entity.AbstractEntityPersister.dehydrate(AbstractEntityPersister.java:2593) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
            at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2846) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
            at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3290) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
            at org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:80) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
            at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:272) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
            at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:264) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
            at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:186) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
            at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
            at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
            at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
            at org.jboss.dashboard.security.PermissionDescriptor$2.txFragment(PermissionDescriptor.java:237) [dashboard-security-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.database.hibernate.HibernateTransaction.executeFragment(HibernateTransaction.java:252) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.database.hibernate.HibernateTxFragment.executeChild(HibernateTxFragment.java:194) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.database.hibernate.HibernateTxFragment.execute(HibernateTxFragment.java:168) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.security.PermissionDescriptor.persist(PermissionDescriptor.java:228) [dashboard-security-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.security.PermissionDescriptor$1.txFragment(PermissionDescriptor.java:215) [dashboard-security-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.database.hibernate.HibernateTransaction.executeFragment(HibernateTransaction.java:252) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.database.hibernate.HibernateTxFragment.executeChild(HibernateTxFragment.java:194) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.database.hibernate.HibernateTxFragment.execute(HibernateTxFragment.java:168) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.security.PermissionDescriptor.save(PermissionDescriptor.java:213) [dashboard-security-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.security.UIPolicy.save(UIPolicy.java:470) [dashboard-ui-core-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.security.UIPolicy.start(UIPolicy.java:92) [dashboard-ui-core-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.security.UIPolicy$Proxy$_$$_WeldClientProxy.start(UIPolicy$Proxy$_$$_WeldClientProxy.java) [dashboard-ui-core-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.annotation.StartableProcessor.wakeUpStartableBeans(StartableProcessor.java:52) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.Application.start(Application.java:74) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.Application$Proxy$_$$_WeldClientProxy.start(Application$Proxy$_$$_WeldClientProxy.java) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            at org.jboss.dashboard.ui.controller.ControllerServlet.init(ControllerServlet.java:62) [dashboard-ui-core-6.1.0.CR1.jar:]
            at javax.servlet.GenericServlet.init(GenericServlet.java:242) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
            at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.13.Final.jar:]
            at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) [jbossweb-7.0.13.Final.jar:]
            at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3655) [jbossweb-7.0.13.Final.jar:]
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:3873) [jbossweb-7.0.13.Final.jar:]
            at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
            at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
            at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_55]
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_55]
            at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_55]
          Caused by: java.lang.ClassNotFoundException: com.sun.proxy.$Proxy41 from [Module "deployment.dashbuilder.war:main" from Service Module Loader]
            at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
            at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
            at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
            at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
            at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
            at java.lang.Class.forName0(Native Method) [rt.jar:1.7.0_55]
            at java.lang.Class.forName(Class.java:190) [rt.jar:1.7.0_55]
          
            at org.jboss.dashboard.database.hibernate.LOBHelper.oracleNullSafeSet(LOBHelper.java:106) [dashboard-commons-6.1.0.CR1.jar:6.1.0.CR1]
            ... 42 more
          

           

          I don't know why it doesn't work because I follow the steps to configure dashboard-builder for a new datasource and database :

          - change datasource name in jboss-web.xml

          - add the module dependency in jboss-deployment-structure.xml

           

          Someone already had this problem?

           

          Thanks

          • 2. Re: Dashboard web application ERROR
            Amit Gupta Newbie

            Hi Fer,

            Do you found solution to above problem ? If so, please share..

            Can you tell which oracle driver has been installed ?

             

            Regards,

            • 3. Re: Dashboard web application ERROR
              Amit Gupta Newbie

              Have resolved this issue..

              Added oracle driver module extension in jboss-deployment-web.xml in dashboard-builder war

              However, this shoudn't be in jbpm-console.war..

               

              Thanks!

              • 4. Re: Dashboard web application ERROR
                Peter Kukucka Newbie

                Have you managed to solve it ? I have still the same problem with jbpm 6.0.1 Final running at jboss as 7.1.1. , oracle DB 11g, linux OpenSuse and tried everything I have found out. I also tried with jbpm 6.1.0. Final and have the same error as Vignot. Has somebody manged to run it at oracle ??

                 

                Thanks

                 

                Peter

                Re: Dashboard web application ERROR