3 Replies Latest reply on Oct 18, 2007 6:46 AM by David Braun

    jboss portal under netbeans

    David Braun Newbie

      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?