[jboss-user] [JBoss Portal] - Re: from hibernate to sybase
Sonal K.
do-not-reply at jboss.com
Tue Jun 5 00:41:37 EDT 2007
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.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051163#4051163
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051163
More information about the jboss-user
mailing list