Details

    • Workaround Description:
      Hide

      Starting the server with -Djuddi.propertiesFile=../server/<serverName>/conf/juddi.properties

      Show
      Starting the server with -Djuddi.propertiesFile=../server/<serverName>/conf/juddi.properties
    • Similar Issues:
      Show 10 results 

      Description

      We had a minor issue when configuring an embedded juddi.

      After commenting out the dependency to JuddiRMI in jbossesb.sar/META-INF/jboss-service.xml and commenting out the registring of the JuddiRMIService in jbossesb-dependencies/META-INF/jboss-service.xml we got the following stacktrace in log:

      2007-02-19 09:21:05,924 ERROR [org.apache.juddi.registry.local.Registry] juddi.properties (No such file or directory)
      java.io.FileNotFoundException: juddi.properties (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:106)
      at org.apache.juddi.registry.local.Registry.init(Registry.java:83)
      at org.apache.juddi.registry.local.Registry.getRegistry(Registry.java:213)
      at org.apache.juddi.registry.local.AbstractService.handleRequest(AbstractService.java:110)
      at org.apache.juddi.registry.local.InquiryService.inquire(InquiryService.java:77)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.apache.ws.scout.transport.LocalTransport.send(LocalTransport.java:63)
      at org.apache.ws.scout.registry.RegistryImpl.execute(RegistryImpl.java:273)
      at org.apache.ws.scout.registry.RegistryImpl.findService(RegistryImpl.java:736)
      at org.apache.ws.scout.registry.BusinessQueryManagerImpl.findServices(BusinessQueryManagerImpl.java:638)
      at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.findService(JAXRRegistryImpl.java:440)
      at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.registerEPR(JAXRRegistryImpl.java:173)
      at org.jboss.soa.esb.listeners.RegistryUtil.register(RegistryUtil.java:138)
      at org.jboss.soa.esb.listeners.message.MessageAwareListener.doInitialise(MessageAwareListener.java:184)
      at org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle.initialise(AbstractManagedLifecycle.java:120)
      at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.initialiseInstances(ManagedLifecycleController.java:78)
      at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.start(ManagedLifecycleController.java:35)
      at org.jboss.soa.esb.listeners.config.ConfigurationController.processConfiguration(ConfigurationController.java:314)
      at org.jboss.soa.esb.listeners.config.ConfigurationController.<init>(ConfigurationController.java:120)
      at org.jboss.soa.esb.listeners.config.ConfigurationControllerService.startService(ConfigurationControllerService.java:49)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:417)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

      We found that the JuddiRMIService startService method set system property "juddi.propertiesFile" ( System.setProperty("juddi.propertiesFile", confDir + "/juddi.properties"); ), but since we are not using the service anymore we hade to set that property when starting the server (-Djuddi.propertiesFile=../server/<serverName>/conf/juddi.properties

      Thanks

      Daniel

      1. jboss-service.xml
        0.6 kB
        Daniel Bevenius
      2. jboss-service.xml
        0.7 kB
        Daniel Bevenius

        Activity

        Hide
        Daniel Bevenius
        added a comment -

        jbossesb.sar/META-INF/jboss-service.xml

        Show
        Daniel Bevenius
        added a comment - jbossesb.sar/META-INF/jboss-service.xml
        Hide
        Daniel Bevenius
        added a comment -

        jbossesb-dependencies.sar/META-INF/jboss-service.xml

        Show
        Daniel Bevenius
        added a comment - jbossesb-dependencies.sar/META-INF/jboss-service.xml
        Hide
        Kurt Stam
        added a comment -

        commented out the RMI registration in the web.xml

        Show
        Kurt Stam
        added a comment - commented out the RMI registration in the web.xml

          People

          • Assignee:
            Kurt Stam
            Reporter:
            Daniel Bevenius
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: