Hi AshishI'm just taking a guess here but try changing the following in your .classpath file:
From: <classpathentry kind="src" path="framework/webslinger/src"/>To: <classpathentry excluding="META-INF/vfs-providers.xml" kind="src" path="framework/webslinger/src"/>
Hope that helps. Regards Scott On 14/07/2009, at 3:17 AM, Ashish Vijaywargiya wrote:
Hello Adam, Did you get a chance to look at this problem? I tried to run OFBiz in Eclipse from the tips provided at http://docs.ofbiz.org/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse still I am getting same error.FYI, I was able to run OFBiz in eclipse in past when webslinger componentwas not added in trunk. -- Ashish On Tue, Jul 7, 2009 at 10:55 AM, Ashish Vijaywargiya < [email protected]> wrote:Sending it on dev list so that who are not authorized on user list can seethis. PS: Adam the file vfs-providers.xml file is associated to webslinger component.I will appreciate if you take a look at this issue as I have very lessknowledge of webslinger component. -- Ashish ---------- Forwarded message ---------- From: Ashish Vijaywargiya <[email protected]> Date: Mon, Jul 6, 2009 at 10:45 AMSubject: Unable to run OFBiz from Eclipse due to loading VFS configuration.To: Ofbiz User ML <[email protected]> In past I was able to run OFBiz inside Eclipse. I tried to start OFBiz from Start.java file with Debug as --> Java Application option in Eclipse. But now a days I am getting following error.I am exploring the reason behind it and will try to solve this issue assoon as I can.In the meantime if someone came across the same error then please providethe details. 2009-07-06 10:36:48,733 (main) [ ContainerLoader.java:96 :INFO ] [Startup] Starting containers...2009-07-06 10:36:48,966 (main) [ VfsLog.java:122:INFO ] Using"/tmp/vfs_cache" as temporary files store. org.ofbiz.base.start.StartupException: Cannot start() org.ofbiz.commons.vfs.CommonsVfsContainer (Initializing StandardFileSystemManager (Could not load VFS configuration from"file:/home/ashish/ofbiz_dev/testing/bin/META-INF/vfs- providers.xml".))atorg.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java: 103)at org.ofbiz.base.start.Start.startStartLoaders(Start.java:271) at org.ofbiz.base.start.Start.startServer(Start.java:320) at org.ofbiz.base.start.Start.start(Start.java:324) at org.ofbiz.base.start.Start.main(Start.java:407) org.ofbiz.base.container.ContainerException: Initializing StandardFileSystemManager (Could not load VFS configuration from"file:/home/ashish/ofbiz_dev/testing/bin/META-INF/vfs- providers.xml".)atorg .ofbiz .commons.vfs.CommonsVfsContainer.start(CommonsVfsContainer.java:49)atorg.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java: 101)at org.ofbiz.base.start.Start.startStartLoaders(Start.java:271) at org.ofbiz.base.start.Start.startServer(Start.java:320) at org.ofbiz.base.start.Start.start(Start.java:324) at org.ofbiz.base.start.Start.main(Start.java:407)Caused by: org.apache.commons.vfs.FileSystemException: Could not load VFSconfiguration from "file:/home/ashish/ofbiz_dev/testing/bin/META-INF/vfs-providers.xml". atorg .apache .commons .vfs .impl .StandardFileSystemManager.configure(StandardFileSystemManager.java: 199)atorg .apache .commons .vfs .impl .StandardFileSystemManager .configurePlugins(StandardFileSystemManager.java:156)atorg .apache .commons .vfs .impl.StandardFileSystemManager.init(StandardFileSystemManager.java: 129)atorg .webslinger .commons.vfs.VFSUtil.createStandardFileSystemManager(VFSUtil.java: 351)atorg .webslinger .commons.vfs.VFSUtil.createStandardFileSystemManager(VFSUtil.java: 345)atorg .ofbiz .commons.vfs.CommonsVfsContainer.start(CommonsVfsContainer.java:44)... 5 moreCaused by: org.apache.commons.vfs.FileSystemException: Multiple providersregistered for URL scheme "ofbiz-home". atorg .apache .commons .vfs .impl .DefaultFileSystemManager.addProvider(DefaultFileSystemManager.java: 174)atorg .apache .commons .vfs .impl .StandardFileSystemManager .addProvider(StandardFileSystemManager.java:362)atorg .apache .commons .vfs .impl .StandardFileSystemManager.configure(StandardFileSystemManager.java: 262)atorg .apache .commons .vfs .impl .StandardFileSystemManager.configure(StandardFileSystemManager.java: 195)... 10 more org.ofbiz.base.container.ContainerException: Initializing StandardFileSystemManager (Could not load VFS configuration from"file:/home/ashish/ofbiz_dev/testing/bin/META-INF/vfs- providers.xml".)atorg .ofbiz .commons.vfs.CommonsVfsContainer.start(CommonsVfsContainer.java:49)atorg.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java: 101)at org.ofbiz.base.start.Start.startStartLoaders(Start.java:271) at org.ofbiz.base.start.Start.startServer(Start.java:320) at org.ofbiz.base.start.Start.start(Start.java:324) at org.ofbiz.base.start.Start.main(Start.java:407)Caused by: org.apache.commons.vfs.FileSystemException: Could not load VFSconfiguration from "file:/home/ashish/ofbiz_dev/testing/bin/META-INF/vfs-providers.xml". atorg .apache .commons .vfs .impl .StandardFileSystemManager.configure(StandardFileSystemManager.java: 199)atorg .apache .commons .vfs .impl .StandardFileSystemManager .configurePlugins(StandardFileSystemManager.java:156)atorg .apache .commons .vfs .impl.StandardFileSystemManager.init(StandardFileSystemManager.java: 129)atorg .webslinger .commons.vfs.VFSUtil.createStandardFileSystemManager(VFSUtil.java: 351)atorg .webslinger .commons.vfs.VFSUtil.createStandardFileSystemManager(VFSUtil.java: 345)atorg .ofbiz .commons.vfs.CommonsVfsContainer.start(CommonsVfsContainer.java:44)... 5 moreCaused by: org.apache.commons.vfs.FileSystemException: Multiple providersregistered for URL scheme "ofbiz-home". atorg .apache .commons .vfs .impl .DefaultFileSystemManager.addProvider(DefaultFileSystemManager.java: 174)atorg .apache .commons .vfs .impl .StandardFileSystemManager .addProvider(StandardFileSystemManager.java:362)atorg .apache .commons .vfs .impl .StandardFileSystemManager.configure(StandardFileSystemManager.java: 262)atorg .apache .commons .vfs .impl .StandardFileSystemManager.configure(StandardFileSystemManager.java: 195)... 10 more 2009-07-06 10:36:49,112 (OFBiz_Shutdown_Hook) [ ContainerLoader.java:114:INFO ] Shutting down containers java.lang.NullPointerException atorg .ofbiz .service.rmi.RmiServiceContainer.stop(RmiServiceContainer.java:169)atorg .ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java: 122)at org.ofbiz.base.start.Start.shutdownServer(Start.java:309) at org.ofbiz.base.start.Start.access$0(Start.java:303) at org.ofbiz.base.start.Start$2.run(Start.java:286) Thanks in Advance. -- Ashish
smime.p7s
Description: S/MIME cryptographic signature
