7 Replies Latest reply on Dec 2, 2005 5:29 PM by Scott Dawson

    Problems in installing Jboss portal 2.0

    sikhar saikia Newbie

      Hi
      I am a newbie to portals and am trying to install JBoss portal 2.0.
      My configurations are
      AS: Jboss 4.0.2
      My SQL driver: mysql-connector-java-3.1.10-bin-g
      MySQL 4.1
      I have also explicitly set the dialect in hibernate.cfg to org.hibernate.dialect.MySQLDialect

      But after doing these whenever I try to run JBOSS I get the following errors. Would really appreciate if somebody can help.


      --- MBeans waiting for other MBeans ---
      ObjectName: portal:service=Hibernate
      State: FAILED
      Reason: org.hibernate.exception.GenericJDBCException: Cannot open connection
      I Depend On:
      jboss.jca:service=DataSourceBinding,name=PortalDS
      Depends On Me:
      portal:service=Module,type=User
      portal:service=Module,type=Role
      portal:service=Module,type=Security
      portal:service=ServerManager

      ObjectName: portal.forums:service=Hibernate
      State: FAILED
      Reason: org.hibernate.exception.GenericJDBCException: Cannot open connection
      I Depend On:
      jboss.jca:service=DataSourceBinding,name=PortalDS

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: portal:service=Hibernate
      State: FAILED
      Reason: org.hibernate.exception.GenericJDBCException: Cannot open connection
      I Depend On:
      jboss.jca:service=DataSourceBinding,name=PortalDS
      Depends On Me:
      portal:service=Module,type=User
      portal:service=Module,type=Role
      portal:service=Module,type=Security
      portal:service=ServerManager

      ObjectName: portal.forums:service=Hibernate
      State: FAILED
      Reason: org.hibernate.exception.GenericJDBCException: Cannot open connection
      I Depend On:
      jboss.jca:service=DataSourceBinding,name=PortalDS


      Thanks in advance

      Sikhar

        • 1. Re: Problems in installing Jboss portal 2.0
          Boleslaw Dawidowicz Master

          This looks similar...

          http://www.jboss.org/index.html?module=bb&op=viewtopic&t=67039

          Try to copy portal-ds.xml instead of portal-mysql-ds.xml into deploy dir.

          • 2. Re: Problems in installing Jboss portal 2.0
            sikhar saikia Newbie

            Thanks Bdaw
            But that didnot remove the errors. they are still there

            Sikhar

            • 3. Re: Problems in installing Jboss portal 2.0
              Martin Giljohann Newbie

              Maybe your mysql driver is too new? Although i can't it no more there was a similar post here answered by Roy Russo; but it was not confirmed that changing the driver solved the problem.

              I am using an older mysql-connector-java-3.0.16-ga-bin.jar with the mysql 4.1 db - works very well.

              • 4. Re: Problems in installing Jboss portal 2.0
                sikhar saikia Newbie

                No, I domnt think so. Actulaay I was using mysql-connector-java-3.0.16-ga-bin initially, but then thought may be the error is because of that and hence changed to the latest driver. Thanks anyway
                Sikhar

                • 5. Re: Problems in installing Jboss portal 2.0
                  sarief zakri Newbie

                  I also have the same problems..

                  here are the log..

                  org.jboss.deployment.DeploymentInfo@a4736e95 { url=file:/C:/server/default/deplo
                  y/ejb3.deployer/ }
                  deployer: org.jboss.deployment.SARDeployer@1cd0888
                  status: Deployment FAILED reason: Unexpected error during load of: org.jboss.e
                  jb3.EJB3Deployer, msg=org/jboss/ejb3/EJB3Deployer (Unsupported major.minor versi
                  on 49.0); - nested throwable: (java.lang.ClassNotFoundException: Unexpected erro
                  r during load of: org.jboss.ejb3.EJB3Deployer, msg=org/jboss/ejb3/EJB3Deployer (
                  Unsupported major.minor version 49.0))
                  state: FAILED
                  watch: file:/C:/server/default/deploy/ejb3.deployer/META-INF/jboss-service.xml

                  altDD: null
                  lastDeployed: 1133512006912
                  lastModified: 1133411376396
                  mbeans:

                  org.jboss.deployment.DeploymentInfo@9b3fcaa7 { url=file:/C:/server/default/deplo
                  y/ejb3-interceptors-aop.xml }
                  deployer: org.jboss.aop.deployment.AspectDeployer@1478a43
                  status: Deployment FAILED reason: org/jboss/aop/advice/Scope
                  state: FAILED
                  watch: file:/C:/server/default/deploy/ejb3-interceptors-aop.xml
                  altDD: null
                  lastDeployed: 1133512007818
                  lastModified: 1133512007818
                  mbeans:

                  org.jboss.deployment.DeploymentInfo@2fbb6fd8 { url=file:/C:/server/default/deplo
                  y/ejb3-clustered-sfsbcache-service.xml }
                  deployer: org.jboss.deployment.SARDeployer@1cd0888
                  status: Deployment FAILED reason: No ClassLoaders found for: org.jboss.ejb3.ca
                  che.tree.PassivationTreeCache; - nested throwable: (java.lang.ClassNotFoundExcep
                  tion: No ClassLoaders found for: org.jboss.ejb3.cache.tree.PassivationTreeCache)

                  state: FAILED
                  watch: file:/C:/server/default/deploy/ejb3-clustered-sfsbcache-service.xml
                  altDD: null
                  lastDeployed: 1133512012225
                  lastModified: 1133512012209
                  mbeans:

                  --- MBeans waiting for other MBeans ---
                  ObjectName: jboss.aop:service=AspectManager
                  State: FAILED
                  Reason: java.lang.NoClassDefFoundError: org/jboss/aop/advice/Scope

                  ObjectName: portal:service=Hibernate
                  State: FAILED
                  Reason: org.hibernate.HibernateException: The dialect was not set. Set the pro
                  perty hibernate.dialect.
                  I Depend On:
                  jboss.jca:name=PortalDS,service=DataSourceBinding
                  Depends On Me:
                  portal:service=Module,type=User
                  portal:service=Module,type=Role
                  portal:service=Module,type=Security
                  portal:service=ServerManager

                  ObjectName: portal.forums:service=Hibernate
                  State: FAILED
                  Reason: org.hibernate.HibernateException: The dialect was not set. Set the pro
                  perty hibernate.dialect.
                  I Depend On:
                  jboss.jca:name=PortalDS,service=DataSourceBinding

                  --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
                  ObjectName: portal.forums:service=Hibernate
                  State: FAILED
                  Reason: org.hibernate.HibernateException: The dialect was not set. Set the pro
                  perty hibernate.dialect.
                  I Depend On:
                  jboss.jca:name=PortalDS,service=DataSourceBinding

                  ObjectName: jboss.aop:service=AspectManager
                  State: FAILED
                  Reason: java.lang.NoClassDefFoundError: org/jboss/aop/advice/Scope

                  ObjectName: portal:service=Hibernate
                  State: FAILED
                  Reason: org.hibernate.HibernateException: The dialect was not set. Set the pro
                  perty hibernate.dialect.
                  I Depend On:
                  jboss.jca:name=PortalDS,service=DataSourceBinding
                  Depends On Me:
                  portal:service=Module,type=User
                  portal:service=Module,type=Role
                  portal:service=Module,type=Security
                  portal:service=ServerManager


                  please help.. it's confusing to install jboss portal using binaries.. :(

                  • 6. Re: Problems in installing Jboss portal 2.0
                    ryan.campbell Expert

                     

                    "danial79" wrote:
                    I also have the same problems..
                    ...
                    please help.. it's confusing to install jboss portal using binaries.. :(


                    Actually, your problems are completely different. You used the installer which explicitly says that the ejb3 components you installed require java 5, but for some reason you are running with a 1.4 JVM. Please take this to the installation/configuration forum. This has nothing to do with portal.

                    • 7. Re: Problems in installing Jboss portal 2.0
                      Scott Dawson Apprentice

                      Sikhar,
                      Please post the contents of your portal datasource file.

                      Scott