[jboss-dev-forums] [Design of JBoss Portal] - Re: optimistick locking configuration with hibernate and jbo
prabhat.jha@jboss.com
do-not-reply at jboss.com
Thu Nov 1 18:25:16 EDT 2007
Following http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCacheHibernate, I have made following changes:
1. Created treecache.xml and placed that in jboss-portal-ha.sar. This file basically has TreeCache mbean and it's attribute defined.
2. Modified conf/hibernate/**/hibernate.cfg.xml so that it has org.hibernate.cache.OptimisticTreeCacheProvider as provider class.
I get following error during deployment now.
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: portal:service=Hibernate,type=Portlet
State: FAILED
Reason: org.hibernate.cache.CacheException: javax.management.MalformedObjectNameException: Invalid character ':' in value part of property
I Depend On:
jboss.jca:service=DataSourceBinding,name=PortalDS
portal:service=TreeCacheProvider,type=hibernate
Depends On Me:
portal.wsrp:service=PersistenceManager
portal:service=PersistenceManager,type=Producer
ObjectName: portal:service=Hibernate,type=PortalObject
State: FAILED
Reason: org.hibernate.cache.CacheException: javax.management.MalformedObjectNameException: Invalid character ':' in value part of property
I Depend On:
jboss.jca:service=DataSourceBinding,name=PortalDS
portal:service=TreeCacheProvider,type=hibernate
Depends On Me:
portal:container=PortalObject
ObjectName: portal:service=Hibernate
State: FAILED
Reason: org.hibernate.cache.CacheException: javax.management.MalformedObjectNameException: Invalid character ':' in value part of property
I Depend On:
jboss.jca:service=DataSourceBinding,name=PortalDS
portal:service=TreeCacheProvider,type=hibernate
Depends On Me:
portal:service=Module,type=IdentityServiceController
ObjectName: portal:service=Hibernate,type=Instance
State: FAILED
Reason: org.hibernate.cache.CacheException: javax.management.MalformedObjectNameException: Invalid character ':' in value part of property
I Depend On:
jboss.jca:service=DataSourceBinding,name=PortalDS
portal:service=TreeCacheProvider,type=hibernate
Depends On Me:
portal:service=InstanceContainerContext
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101105#4101105
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101105
More information about the jboss-dev-forums
mailing list