1 2 3 Previous Next 31 Replies Latest reply on Jun 13, 2007 12:57 AM by Sonal K.

    from hibernate to sybase

    Sonal K. Newbie

      Hello,
      Can anyone tell me how to switch from hibernet databese that portlet is using to sybase database that i want to use???

      Thank you.

        • 1. Re: from hibernate to sybase
          Thomas Heute Master

          Hibernate is not a database, it can *use* pretty much any database.

          You just need to define the datasource descriptor and add the JDBC driver of sybase in server/default/lib.

          See the JBoss Portal documentation:
          http://docs.jboss.com/jbportal/v2.6/reference-guide/en/html/installation.html#d0e672

          You should also read:
          http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources
          and:
          http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpASybaseDatasource

          • 2. Re: from hibernate to sybase
            Sonal K. Newbie

            Thanks for your reply.
            But I am not quite comfertable with the 3rd step.

            Deploy Your JDBC Connector

            What am i supposed to do in it?? Please explain..

            • 3. Re: from hibernate to sybase
              Thomas Heute Master

              Get the JDBC driver for Sybase (it's a jar) then put it in:
              JBOSS_INSTALL_DIRECTORY/server/default/lib/

              See Sybase documentation if you cannot find it.

              • 4. Re: from hibernate to sybase
                Sonal K. Newbie


                Ok. Now I got the jar file called jtds-1.2.jar and I copied it in the lib folder of my jboss installation directory.
                But I m not getting which xml file i should change and how?
                Sorry but I m new to Porlets and sybase also.

                Thanks.

                • 5. Re: from hibernate to sybase
                  Sonal K. Newbie

                  These are the errors I m getting when i'm starting my Jboss

                  16:08:54,773 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

                  --- Incompletely deployed packages ---
                  org.jboss.deployment.DeploymentInfo@63b6fff6 { url=file:/D:/jboss-portal-
                  /server/default/deploy/portal-sybase-ds.xml }
                  deployer: org.jboss.deployment.XSLSubDeployer@392814
                  status: null
                  state: FAILED
                  watch: file:/D:/jboss-portal-2.6-CR2/server/default/deploy/portal-sybas
                  l
                  altDD: null
                  lastDeployed: 1180694322288
                  lastModified: 1180694322273
                  mbeans:

                  --- MBeans waiting for other MBeans ---
                  ObjectName: portal:name=User,service=Interceptor,type=Server
                  State: CONFIGURED
                  I Depend On:
                  portal:service=Module,type=IdentityServiceController
                  Depends On Me:
                  portal:service=InterceptorStackFactory,type=Server

                  ObjectName: portal:service=InterceptorStackFactory,type=Server
                  State: CONFIGURED
                  I Depend On:
                  portal:name=SessionLock,service=Interceptor,type=Server
                  portal:name=Transaction,service=Interceptor,type=Server
                  portal:name=UserEvent,service=Interceptor,type=Server
                  portal:name=SessionInvalidator,service=Interceptor,type=Server
                  portal:name=User,service=Interceptor,type=Server
                  portal:name=Locale,service=Interceptor,type=Server
                  portal:name=ContentType,service=Interceptor,type=Server

                  ObjectName: portal:service=Hibernate
                  State: CONFIGURED
                  I Depend On:
                  jboss.jca:name=PortalDS,service=DataSourceBinding
                  Depends On Me:
                  portal:service=Module,type=IdentityServiceController

                  ObjectName: portal:service=Hibernate,type=Instance
                  State: CONFIGURED
                  I Depend On:
                  jboss.jca:name=PortalDS,service=DataSourceBinding
                  Depends On Me:
                  portal:container=Instance

                  ObjectName: portal:service=Hibernate,type=PortalObject
                  State: CONFIGURED
                  I Depend On:
                  jboss.jca:name=PortalDS,service=DataSourceBinding
                  Depends On Me:
                  portal:container=PortalObject

                  ObjectName: portal:service=Hibernate,type=Portlet
                  State: CONFIGURED
                  I Depend On:
                  jboss.jca:name=PortalDS,service=DataSourceBinding
                  Depends On Me:
                  portal:service=PersistenceManager,type=Producer

                  ObjectName: portal:service=Module,type=IdentityServiceController
                  State: CONFIGURED
                  I Depend On:
                  portal:service=Hibernate
                  portal:service=IdentityEventManager
                  Depends On Me:
                  portal:name=User,service=Interceptor,type=Server
                  portal:service=Module,type=Mail
                  portal:service=CustomizationManager

                  ObjectName: portal:service=Module,type=Mail
                  State: CONFIGURED
                  I Depend On:
                  jboss:service=Mail
                  portal:service=Module,type=IdentityServiceController

                  ObjectName: portal:container=Instance
                  State: CONFIGURED
                  I Depend On:
                  portal:service=Hibernate,type=Instance
                  portal:service=InterceptorStackFactory,type=Instance
                  portal:service=PortletInvoker,type=Federating
                  portal:service=PortalAuthorizationManagerFactory
                  portal:service=AuthorizationDomainRegistry
                  Depends On Me:
                  portal:container=PortalObject
                  portal:service=CustomizationManager
                  portal:service=ContentRenderer,type=portlet
                  portal:service=Controller
                  portal:deployer=PortalWebApp
                  portal:deploymentFactory=PortletApp

                  ObjectName: portal:container=PortalObject
                  State: CONFIGURED
                  I Depend On:
                  portal:service=Hibernate,type=PortalObject
                  portal:service=PortalAuthorizationManagerFactory
                  portal:service=AuthorizationDomainRegistry
                  portal:container=Instance
                  portal:service=ContentProviderRegistry
                  Depends On Me:
                  portal:service=CustomizationManager
                  portal:commandFactory=DefaultPortal
                  portal:commandFactory=PortalObject
                  portal:service=ResponseHandler,type=Ajax
                  portal:service=Controller
                  portal:deployer=PortalWebApp
                  portal:deploymentFactory=Object

                  ObjectName: portal:service=CustomizationManager
                  State: CONFIGURED
                  I Depend On:
                  portal:service=PortalAuthorizationManagerFactory
                  portal:container=Instance
                  portal:container=PortalObject
                  portal:service=Module,type=IdentityServiceController
                  Depends On Me:
                  portal:service=ContentRenderer,type=portlet
                  portal:service=IdentityDashboardBridge
                  portal:service=Controller

                  ObjectName: portal:service=ContentRenderer,type=portlet
                  State: CONFIGURED
                  I Depend On:
                  portal:service=ContentProviderRegistry
                  portal:service=CustomizationManager
                  portal:container=Instance

                  ObjectName: portal:service=IdentityDashboardBridge
                  State: CONFIGURED
                  I Depend On:
                  portal:service=IdentityEventManager
                  portal:service=CustomizationManager

                  ObjectName: portal:commandFactory=DefaultPortal
                  State: CONFIGURED
                  I Depend On:
                  portal:commandFactory=Delegating
                  portal:container=PortalObject
                  Depends On Me:
                  portal:service=Controller

                  ObjectName: portal:commandFactory=PortalObject
                  State: CONFIGURED
                  I Depend On:
                  portal:container=PortalObject
                  Depends On Me:
                  portal:commandFactory=Delegate,path=portal

                  ObjectName: portal:commandFactory=Delegate,path=portal
                  State: CONFIGURED
                  I Depend On:
                  portal:commandFactory=Delegating
                  portal:commandFactory=PortalObject

                  ObjectName: portal:service=PersistenceManager,type=Producer
                  State: CONFIGURED
                  I Depend On:
                  portal:service=Hibernate,type=Portlet
                  Depends On Me:
                  portal:service=PortletInvoker,type=Producer

                  ObjectName: portal:service=PortletInvoker,type=Producer
                  State: CONFIGURED
                  I Depend On:
                  portal:service=PortletInvoker,type=Container
                  portal:service=PersistenceManager,type=Producer
                  portal:service=StateManagementPolicy,type=Producer
                  portal:service=StateConverter,type=Producer
                  Depends On Me:
                  portal:id=local,service=PortletInvokerRegistration

                  ObjectName: portal:id=local,service=PortletInvokerRegistration
                  State: CONFIGURED
                  I Depend On:
                  portal:service=PortletInvoker,type=Producer
                  portal:service=PortletInvoker,type=Federating
                  Depends On Me:
                  portal:deploymentFactory=PortletApp

                  ObjectName: portal:service=ResponseHandler,type=Ajax
                  State: CONFIGURED
                  I Depend On:
                  portal:service=PageService
                  portal:container=PortalObject
                  Depends On Me:
                  portal:service=ResponseHandler,type=Selector

                  ObjectName: portal:service=ResponseHandler,type=Selector
                  State: CONFIGURED
                  I Depend On:
                  portal:service=ResponseHandler,type=Classic
                  portal:service=ResponseHandler,type=Ajax
                  Depends On Me:
                  portal:service=Controller

                  ObjectName: portal:service=Controller
                  State: CONFIGURED
                  I Depend On:
                  portal:service=PageService
                  portal:commandFactory=DefaultPortal
                  portal:urlFactory=Delegating
                  portal:service=InterceptorStackFactory,type=Command
                  portal:container=PortalObject
                  portal:container=Instance
                  portal:service=PortalAuthorizationManagerFactory
                  portal:service=CustomizationManager
                  portal:service=ContentProviderRegistry
                  portal:service=ResponseHandler,type=Selector
                  Depends On Me:
                  portal:service=ControllerFactory

                  ObjectName: portal:service=ControllerFactory
                  State: CONFIGURED
                  I Depend On:
                  portal:service=Controller

                  ObjectName: portal:deployer=PortalWebApp
                  State: CONFIGURED
                  I Depend On:
                  jboss.system:service=MainDeployer
                  portal:container=PortalObject
                  portal:container=Instance
                  portal:service=Server
                  Depends On Me:
                  portal:deploymentFactory=Object
                  portal:deploymentFactory=PortletApp
                  portal:deploymentFactory=Layout
                  portal:deploymentFactory=LayoutFeatures
                  portal:deploymentFactory=Theme
                  portal:deployer=Adapter

                  ObjectName: portal:deploymentFactory=Object
                  State: CONFIGURED
                  I Depend On:
                  portal:deployer=PortalWebApp
                  portal:container=PortalObject
                  portal:service=ContentProviderRegistry
                  portal:service=EntityResolver

                  ObjectName: portal:deploymentFactory=PortletApp
                  State: CONFIGURED
                  I Depend On:
                  portal:id=local,service=PortletInvokerRegistration
                  portal:deployer=PortalWebApp
                  portal:service=WebAppRegistry
                  portal:service=ServerConfig
                  portal:service=PortletSecurityService
                  portal:container=Instance
                  portal:service=EntityResolver

                  ObjectName: portal:deploymentFactory=Layout
                  State: CONFIGURED
                  I Depend On:
                  portal:deployer=PortalWebApp
                  portal:service=LayoutService

                  ObjectName: portal:deploymentFactory=LayoutFeatures
                  State: CONFIGURED
                  I Depend On:
                  portal:deployer=PortalWebApp
                  portal:service=LayoutService

                  ObjectName: portal:deploymentFactory=Theme
                  State: CONFIGURED
                  I Depend On:
                  portal:deployer=PortalWebApp
                  portal:service=ThemeService

                  ObjectName: portal:deployer=Adapter
                  State: CONFIGURED
                  I Depend On:
                  jboss.web:service=WebServer
                  portal:deployer=PortalWebApp
                  portal:service=EntityResolver

                  --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
                  ObjectName: jboss.jca:name=PortalDS,service=DataSourceBinding
                  State: NOTYETINSTALLED
                  Depends On Me:
                  portal:service=Hibernate
                  portal:service=Hibernate,type=Instance
                  portal:service=Hibernate,type=PortalObject
                  portal:service=Hibernate,type=Portlet

                  • 6. Re: from hibernate to sybase
                    Thomas Heute Master

                    Your datasource must be called PortalDS check your descriptor (ending with -ds.xml) you must have:

                    <jndi-name>PortalDS</jndi-name>
                    


                    • 7. Re: from hibernate to sybase
                      Sonal K. Newbie

                      yes it is PortalDS only.

                      • 8. Re: from hibernate to sybase
                        Sonal K. Newbie


                        what is that dialect?? Should i change it?? how?

                        • 9. Re: from hibernate to sybase
                          Prabhat Jha Master

                          Once you have correct -ds.xml, in most cases you would not have to set hibernate dialect. But if you are getting error related to hibernate not being able to pick correct dialect, please explicitly change dialects in all hibernate.cfg.xml under jboss-portal.sar/**/

                          • 10. Re: from hibernate to sybase
                            Sonal K. Newbie

                            Thanks for your reply.
                            I have made those changes.
                            But still of new use. Its not working still.

                            • 11. Re: from hibernate to sybase
                              Prabhat Jha Master

                              Can you send me a lit of *-ds.xml you have in deploy folder, paste contents of portal*-ds.xml and error that you are getting?

                              • 12. Re: from hibernate to sybase
                                Sonal K. Newbie

                                This is my portal-sybase-ds.xml file.

                                <?xml version="1.0" encoding="UTF-8"?>

                                <local-tx-datasource>
                                <jndi-name>PortalDS</jndi-name>
                                <connection-url>jdbc:sybase:Tds:cc3:5000/jbossportal</connection-url>
                                <driver-class>com.sybase.jdbc2.jdbc.SybDataSource</driver-class>
                                <user-name>admin</user-name>
                                admin123

                                <type-mapping>Sybase</type-mapping>

                                </local-tx-datasource>

                                • 13. Re: from hibernate to sybase
                                  Prabhat Jha Master

                                  The only thing I can think of type-mapping element in portal-sybase-ds.xml. I dont think that's needed. Little googling suggests that that's probably required for CMP. This is how mine looks like for MySql and this works:

                                  <local-tx-datasource>
                                  <jndi-name>PortalDS</jndi-name>
                                  <connection-url>jdbc:mysql://localhost:3306/portal</connection-url>
                                  <driver-class>org.gjt.mm.mysql.Driver</driver-class>
                                  <user-name>portal</user-name>

                                  </local-tx-datasource>


                                  So, try removing type-mapping element and see how it goes. If you still get error then you need to post error log as well otherwise it's hard to find the solution.

                                  • 14. Re: from hibernate to sybase
                                    Sonal K. Newbie

                                    hi
                                    thanks for your reply...

                                    I tried what you said. This time some different exceptions are coming.

                                    No classloaders found for sybase

                                    Exception-----

                                    Caused by: org.jboss.resource.JBossResourceException: Could not create connectio
                                    n; - nested throwable: (org.jboss.resource.JBossResourceException: Failed to reg
                                    ister driver for: com.sybase.jdbc2.jdbc.SybaseDataSource; - nested throwable: (j
                                    ava.lang.ClassNotFoundException: No ClassLoaders found for: com.sybase.jdbc2.jdb
                                    c.SybaseDataSource))
                                    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.c
                                    reateManagedConnection(LocalManagedConnectionFactory.java:179)
                                    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.cr
                                    eateConnectionEventListener(InternalManagedConnectionPool.java:565)
                                    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.ge
                                    tConnection(InternalManagedConnectionPool.java:250)
                                    at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BaseP
                                    ool.getConnection(JBossManagedConnectionPool.java:491)
                                    at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManage
                                    dConnection(BaseConnectionManager2.java:341)
                                    at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedCo
                                    nnection(TxConnectionManager.java:301)
                                    at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateC
                                    onnection(BaseConnectionManager2.java:396)
                                    at org.jboss.resource.connectionmanager.BaseConnectionManager2$Connectio
                                    nManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
                                    at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(Wrapp
                                    erDataSource.java:88)
                                    ... 119 more
                                    Caused by: org.jboss.resource.JBossResourceException: Failed to register driver
                                    for: com.sybase.jdbc2.jdbc.SybaseDataSource; - nested throwable: (java.lang.Clas
                                    sNotFoundException: No ClassLoaders found for: com.sybase.jdbc2.jdbc.SybaseDataS
                                    ource)
                                    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.g
                                    etDriver(LocalManagedConnectionFactory.java:287)
                                    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.c
                                    reateManagedConnection(LocalManagedConnectionFactory.java:170)
                                    ... 127 more
                                    Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: com.syba
                                    se.jdbc2.jdbc.SybaseDataSource
                                    at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
                                    at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryCl
                                    assLoader.java:511)
                                    at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassL
                                    oader.java:405)
                                    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
                                    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
                                    at java.lang.Class.forName0(Native Method)
                                    at java.lang.Class.forName(Class.java:217)
                                    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.g
                                    etDriver(LocalManagedConnectionFactory.java:272)
                                    ... 128 more
                                    10:12:05,244 INFO [TomcatDeployer] deploy, ctxPath=/helloworldjsfportlet, warUr
                                    l=.../tmp/deploy/tmp917helloworldjsfportlet-exp.war/
                                    10:12:05,541 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep
                                    loy/jmx-console.war/
                                    10:12:05,838 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

                                    --- MBeans waiting for other MBeans ---
                                    ObjectName: portal:service=Hibernate
                                    State: FAILED
                                    Reason: org.jboss.util.NestedSQLException: Could not create connection; - nest
                                    ed throwable: (org.jboss.resource.JBossResourceException: Failed to register dri
                                    ver for: com.sybase.jdbc2.jdbc.SybaseDataSource; - nested throwable: (java.lang.
                                    ClassNotFoundException: No ClassLoaders found for: com.sybase.jdbc2.jdbc.SybaseD
                                    ataSource)); - nested throwable: (org.jboss.resource.JBossResourceException: Cou
                                    ld not create connection; - nested throwable: (org.jboss.resource.JBossResourceE
                                    xception: Failed to register driver for: com.sybase.jdbc2.jdbc.SybaseDataSource;
                                    - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found fo
                                    r: com.sybase.jdbc2.jdbc.SybaseDataSource)))
                                    I Depend On:
                                    jboss.jca:name=PortalDS,service=DataSourceBinding
                                    Depends On Me:
                                    portal:service=Module,type=IdentityServiceController

                                    ObjectName: portal:service=Hibernate,type=Instance
                                    State: FAILED
                                    Reason: org.jboss.util.NestedSQLException: Could not create connection; - nest
                                    ed throwable: (org.jboss.resource.JBossResourceException: Failed to register dri
                                    ver for: com.sybase.jdbc2.jdbc.SybaseDataSource; - nested throwable: (java.lang.
                                    ClassNotFoundException: No ClassLoaders found for: com.sybase.jdbc2.jdbc.SybaseD
                                    ataSource)); - nested throwable: (org.jboss.resource.JBossResourceException: Cou
                                    ld not create connection; - nested throwable: (org.jboss.resource.JBossResourceE
                                    xception: Failed to register driver for: com.sybase.jdbc2.jdbc.SybaseDataSource;
                                    - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found fo
                                    r: com.sybase.jdbc2.jdbc.SybaseDataSource)))
                                    I Depend On:
                                    jboss.jca:name=PortalDS,service=DataSourceBinding
                                    Depends On Me:
                                    portal:container=Instance

                                    ObjectName: portal:service=Hibernate,type=PortalObject
                                    State: FAILED
                                    Reason: org.jboss.util.NestedSQLException: Could not create connection; - nest
                                    ed throwable: (org.jboss.resource.JBossResourceException: Failed to register dri
                                    ver for: com.sybase.jdbc2.jdbc.SybaseDataSource; - nested throwable: (java.lang.
                                    ClassNotFoundException: No ClassLoaders found for: com.sybase.jdbc2.jdbc.SybaseD
                                    ataSource)); - nested throwable: (org.jboss.resource.JBossResourceException: Cou
                                    ld not create connection; - nested throwable: (org.jboss.resource.JBossResourceE
                                    xception: Failed to register driver for: com.sybase.jdbc2.jdbc.SybaseDataSource;
                                    - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found fo
                                    r: com.sybase.jdbc2.jdbc.SybaseDataSource)))
                                    I Depend On:
                                    jboss.jca:name=PortalDS,service=DataSourceBinding
                                    Depends On Me:
                                    portal:container=PortalObject

                                    ObjectName: portal:service=Hibernate,type=Portlet
                                    State: FAILED
                                    Reason: org.jboss.util.NestedSQLException: Could not create connection; - nest
                                    ed throwable: (org.jboss.resource.JBossResourceException: Failed to register dri
                                    ver for: com.sybase.jdbc2.jdbc.SybaseDataSource; - nested throwable: (java.lang.
                                    ClassNotFoundException: No ClassLoaders found for: com.sybase.jdbc2.jdbc.SybaseD
                                    ataSource)); - nested throwable: (org.jboss.resource.JBossResourceException: Cou
                                    ld not create connection; - nested throwable: (org.jboss.resource.JBossResourceE
                                    xception: Failed to register driver for: com.sybase.jdbc2.jdbc.SybaseDataSource;
                                    - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found fo
                                    r: com.sybase.jdbc2.jdbc.SybaseDataSource)))
                                    I Depend On:
                                    jboss.jca:name=PortalDS,service=DataSourceBinding
                                    Depends On Me:
                                    portal:service=PersistenceManager,type=Producer

                                    --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
                                    ObjectName: portal:service=Hibernate,type=Instance
                                    State: FAILED
                                    Reason: org.jboss.util.NestedSQLException: Could not create connection; - nest
                                    ed throwable: (org.jboss.resource.JBossResourceException: Failed to register dri
                                    ver for: com.sybase.jdbc2.jdbc.SybaseDataSource; - nested throwable: (java.lang.
                                    ClassNotFoundException: No ClassLoaders found for: com.sybase.jdbc2.jdbc.SybaseD
                                    ataSource)); - nested throwable: (org.jboss.resource.JBossResourceException: Cou
                                    ld not create connection; - nested throwable: (org.jboss.resource.JBossResourceE
                                    xception: Failed to register driver for: com.sybase.jdbc2.jdbc.SybaseDataSource;
                                    - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found fo
                                    r: com.sybase.jdbc2.jdbc.SybaseDataSource)))
                                    I Depend On:
                                    jboss.jca:name=PortalDS,service=DataSourceBinding
                                    Depends On Me:
                                    portal:container=Instance

                                    ObjectName: portal:service=Hibernate,type=Portlet
                                    State: FAILED
                                    Reason: org.jboss.util.NestedSQLException: Could not create connection; - nest
                                    ed throwable: (org.jboss.resource.JBossResourceException: Failed to register dri
                                    ver for: com.sybase.jdbc2.jdbc.SybaseDataSource; - nested throwable: (java.lang.
                                    ClassNotFoundException: No ClassLoaders found for: com.sybase.jdbc2.jdbc.SybaseD
                                    ataSource)); - nested throwable: (org.jboss.resource.JBossResourceException: Cou
                                    ld not create connection; - nested throwable: (org.jboss.resource.JBossResourceE
                                    xception: Failed to register driver for: com.sybase.jdbc2.jdbc.SybaseDataSource;
                                    - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found fo
                                    r: com.sybase.jdbc2.jdbc.SybaseDataSource)))
                                    I Depend On:
                                    jboss.jca:name=PortalDS,service=DataSourceBinding
                                    Depends On Me:
                                    portal:service=PersistenceManager,type=Producer

                                    ObjectName: portal:service=Hibernate,type=PortalObject
                                    State: FAILED
                                    Reason: org.jboss.util.NestedSQLException: Could not create connection; - nest
                                    ed throwable: (org.jboss.resource.JBossResourceException: Failed to register dri
                                    ver for: com.sybase.jdbc2.jdbc.SybaseDataSource; - nested throwable: (java.lang.
                                    ClassNotFoundException: No ClassLoaders found for: com.sybase.jdbc2.jdbc.SybaseD
                                    ataSource)); - nested throwable: (org.jboss.resource.JBossResourceException: Cou
                                    ld not create connection; - nested throwable: (org.jboss.resource.JBossResourceE
                                    xception: Failed to register driver for: com.sybase.jdbc2.jdbc.SybaseDataSource;
                                    - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found fo
                                    r: com.sybase.jdbc2.jdbc.SybaseDataSource)))
                                    I Depend On:
                                    jboss.jca:name=PortalDS,service=DataSourceBinding
                                    Depends On Me:
                                    portal:container=PortalObject

                                    ObjectName: portal:service=Hibernate
                                    State: FAILED
                                    Reason: org.jboss.util.NestedSQLException: Could not create connection; - nest
                                    ed throwable: (org.jboss.resource.JBossResourceException: Failed to register dri
                                    ver for: com.sybase.jdbc2.jdbc.SybaseDataSource; - nested throwable: (java.lang.
                                    ClassNotFoundException: No ClassLoaders found for: com.sybase.jdbc2.jdbc.SybaseD
                                    ataSource)); - nested throwable: (org.jboss.resource.JBossResourceException: Cou
                                    ld not create connection; - nested throwable: (org.jboss.resource.JBossResourceE
                                    xception: Failed to register driver for: com.sybase.jdbc2.jdbc.SybaseDataSource;
                                    - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found fo
                                    r: com.sybase.jdbc2.jdbc.SybaseDataSource)))
                                    I Depend On:
                                    jboss.jca:name=PortalDS,service=DataSourceBinding
                                    Depends On Me:
                                    portal:service=Module,type=IdentityServiceController

                                    what does this mean?? I have copied the jar file in lib folder. Anything else I need to copy there??

                                    Thanks.

                                    1 2 3 Previous Next