Bundle resource location when unpacked? [message #106852] |
Wed, 26 March 2008 15:40 |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.70640 seconds