[JBoss Portal] - jboss portal under netbeans
by dbraun
I'm trying to run jboss portal under netbeans but I've run into a bit of a snag,
06:49:17,812 WARN [ServiceController] Problem creating service portal:service=ServerConfig
java.lang.ExceptionInInitializerError
at org.jboss.portal.common.util.CLResourceLoader$URLResource.exists(CLResourceLoader.java:82)
at org.jboss.portal.server.config.ServerConfigService.create(ServerConfigService.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
....
Which leads to more errors like the following,
java.lang.NoClassDefFoundError: Could not initialize class org.jboss.portal.common.net.URLTools
at org.jboss.portal.jems.hibernate.SessionFactoryBinder.createService(SessionFactoryBinder.java:179)
at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:188)
...
and
ObjectName: portal:service=Hibernate,type=PortalObject
State: FAILED
Reason: java.lang.NoClassDefFoundError: Could not initialize class org.jboss.portal.common.net.URLTools
I Depend On:
jboss.jca:service=DataSourceBinding,name=PortalDS
Depends On Me:
portal:container=PortalObject
I can run from command line just fine. I'm wondering if I'm missing something in the setup in netbeans. Has anyone else had success?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094475#4094475
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094475
18Â years, 9Â months
[JBoss Seam] - Impossible to change versioned object?
by nagypalg
Hi,
When I have a versioned Hibernate object in a nested conversation, it is impossible to save it because Seam automatically passivates the object, tries to activate it at the end of the conversation, and notices that the version number has been changed, and throws an exception:
anonymous wrote : org.hibernate.StaleStateException: current database version number does not match passivated version number
| at org.jboss.seam.persistence.HibernatePersistenceProvider.checkVersion(HibernatePersistenceProvider.java:277)
Do I do something terribly wrong, or is it now impossible to manipulate DB-objects in a nested conversation? If you save a versioned object, the version number will change, it is normal. Why is an exception thrown?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094467#4094467
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094467
18Â years, 9Â months
[Microcontainer] - Re: lifecycle-configure not found as a child of {urn:jboss:b
by alesj
Could it be very old version of SingletonSchemaResolverFactory in jbossxb?
Meaning that SingletonSchemaResolverFactory does not have this first schema addition:
| private SingletonSchemaResolverFactory()
| {
| addSchema("urn:jboss:aop-beans:1.0", "org.jboss.aop.microcontainer.beans.xml.AOPBeansSchemaInitializer", Boolean.FALSE);
| addSchema("urn:jboss:bean-deployer", "org.jboss.kernel.plugins.deployment.xml.BeanSchemaInitializer", Boolean.FALSE);
| addSchema("urn:jboss:bean-deployer:2.0", "org.jboss.kernel.plugins.deployment.xml.BeanSchemaInitializer20", Boolean.FALSE);
| addSchema("urn:jboss:javabean:1.0", "org.jboss.javabean.plugins.xml.JavaBeanSchemaInitializer", Boolean.FALSE);
| addSchema("urn:jboss:javabean:2.0", "org.jboss.javabean.plugins.xml.JavaBeanSchemaInitializer20", Boolean.FALSE);
| addSchema("urn:jboss:spring-beans:2.0", "org.jboss.spring.deployment.xml.SpringSchemaInitializer", Boolean.FALSE);
| addSchema("urn:jboss:policy:1.0", "org.jboss.kernel.plugins.deployment.xml.PolicySchemaInitializer", Boolean.FALSE);
| addSchema("urn:jboss:osgi-beans:1.0", "org.jboss.osgi.deployment.xml.OSGiSchemaInitializer", Boolean.FALSE);
| addSchema("urn:jboss:seam-components:1.0", "org.jboss.seam.ioc.microcontainer.xml.SeamSchemaInitializer", Boolean.FALSE);
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094465#4094465
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094465
18Â years, 9Â months