5 Replies Latest reply on Jan 9, 2004 8:02 AM by fabien

    Mbean loaded class can not find resource.

    Joel Rosi-Schwartz Newbie

      Hi,

      I am writing an MBean to embed the Apache Xindice database. The starting of the service goes fine until one of the classes tries to read a configuration file which is contained in the same jar file as itself. The exceptions is:

      APIService: org.omg.CORBA.INITIALIZE: IOException while parsing XML File "resource:/org/openorb/config/OpenORB.xml" :java.io.FileNotFoundException: Could not locate resource: /org/openorb/config/OpenORB.xml

      Any ideas on how I can resolve this?

      Thanks,
      Joel