Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Bundle resource location when unpacked?
Bundle resource location when unpacked? [message #106852] Wed, 26 March 2008 15:40
Eclipse UserFriend
Originally posted by: Boyan.Yurukov.softwareag.com

Hello,

Like I mentioned before I am trying to pack an Axis2 in a bundle. I know
about the Knopflerfish implementation, but I need my own. Long story.

I managed to pack it and start it. The http calls get passed to the axis2
servlets. However there is a problem when loading resources inside the
bundle. Such are the .aar files (they contain the actual web services). So
far, when axis2 was deployed as war file in a Tomcat, for example, those
..aar files were here:
....\Tomcat 5.5\webapps\axis2\WEB-INF\services
Now I tried to put them here:
....\Tomcat 5.5\webapps\bridge\WEB-INF\services
and even here:
...\Tomcat
5.5\work\Catalina\localhost\bridge\eclipse\configuration\org .eclipse.osgi\bundles\171\1\.cp\WEB-INF\services
, but it doesn't work. I have the same problem with the axis2.xml, which is
the configuration file and stays in ..\axis2\WEB-INF\conf.

Here are my queston:
What is the working path for the bundle when it is started - webapps\.. or
work\..?
Can a bundle load resourses outside of his jar?
Can a bundle use the workspace of eclipse to store files that can later be
loaded automatically?

Greetings,
Boyan Yurukov.
Previous Topic:extension points vs osgi services
Next Topic:Dynamically enable/disable Plugins/Bundles
Goto Forum:
  


Current Time: Thu Apr 25 10:25:23 GMT 2024

Powered by FUDForum. Page generated in 0.70640 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top