[jboss-user] [JBoss Portal] - jboss portal under netbeans

dbraun do-not-reply at jboss.com
Fri Oct 12 06:54:03 EDT 2007


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



More information about the jboss-user mailing list