felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivo K. Koga" <ivo.k...@gmail.com>
Subject Re: Embedding Felix in an Java Web Start App
Date Wed, 07 Mar 2007 01:04:45 GMT
Hi Niclas,

My jnlp file is:

  spec="1.0+" codebase="http://localhost/ice0.06/"
    <title>ICE - Internet Computer network Eye</title>
    <vendor>Grupo de Medicoes - 2 </vendor>
    <homepage href="http://www.nuperc.unifacs.br/gtmed"/>
    <description>ICE - Internet Computer network Eye</description>
    <description kind="short">A network visualization and configuration
    <icon href="ice.jpg"/>
     <j2se version="1.4+" href="http://java.sun.com/products/autodl/j2se"/>
     <jar href="ice.jar"/>
     <!-- external libs -->
<jar href="lib/axis-1.4-ant.jar" download="eager"/>
<jar href="lib/axis-1.4-commons-discovery-0.2.jar" download="eager"/>
<jar href="lib/axis-1.4-commons-logging-1.0.4.jar" download="eager"/>
<jar href="lib/axis-1.4-jaxrpc.jar" download="eager"/>
<jar href="lib/axis-1.4-log4j-1.2.8.jar" download="eager"/>
<jar href="lib/axis-1.4-saaj.jar" download="eager"/>
<jar href="lib/axis-1.4-wsdl4j-1.5.1.jar" download="eager"/>
<jar href="lib/axis-1.4.jar" download="eager"/>
<jar href="lib/felix-
<jar href="lib/felix-semlog-20061121-org.osgi.core-0.8.0-SNAPSHOT.jar"
<jar href="lib/flavor-2007-02-19.jar" download="eager"/>
<jar href="lib/jaxen-1.1-beta-8.jar" download="eager"/>
<jar href="lib/jdom-1.0-ant.jar" download="eager"/>
<jar href="lib/jdom-1.0-jaxen-core.jar" download="eager"/>
<jar href="lib/jdom-1.0-jaxen-jdom.jar" download="eager"/>
<jar href="lib/jdom-1.0-jdom.jar" download="eager"/>
<jar href="lib/jdom-1.0-saxpath.jar" download="eager"/>
<jar href="lib/jdom-1.0-xalan.jar" download="eager"/>
<jar href="lib/jdom-1.0-xerces.jar" download="eager"/>
<jar href="lib/jdom-1.0-xml-apis.jar" download="eager"/>
<jar href="lib/jfreechart-1.0.4-experimental.jar" download="eager"/>
<jar href="lib/jfreechart-1.0.4-swt.jar" download="eager"/>
<jar href="lib/jfreechart-1.0.4.jar" download="eager"/>
<jar href="lib/jfreechart-itext-1.4.8.jar" download="eager"/>
<jar href="lib/jfreechart-jcommon-1.0.8.jar" download="eager"/>
<jar href="lib/jfreechart-junit.jar" download="eager"/>
<jar href="lib/jfreechart-servlet.jar" download="eager"/>
<jar href="lib/jfreechart-swtgraphics2d.jar" download="eager"/>
<jar href="lib/jung-1.7.2-colt.jar" download="eager"/>
<jar href="lib/jung-1.7.2-commons-collections-3.1.jar" download="eager"/>
<jar href="lib/jung-1.7.2-concurrent.jar" download="eager"/>
<jar href="lib/jung-1.7.2.jar" download="eager"/>
<jar href="lib/ls-DPS-API-withoutLogConf-2007-02-14.jar" download="eager"/>
<jar href="lib/ls-soap.jar" download="eager"/>
<jar href="lib/ls-uddi4j-sem-output-2007-02-12.jar" download="eager"/>
<jar href="lib/mysql-connector-java-3.0.17-ga-bin.jar" download="eager"/>
<jar href="lib/rocksaw-0.4.5.jar" download="eager"/>
<jar href="lib/skinlf-6.7-nativeskin.jar" download="eager"/>
<jar href="lib/skinlf-6.7-skinlf.jar" download="eager"/>
<jar href="lib/vserv-tcpip-0.8.0.jar" download="eager"/>
<jar href="lib/xerces-2_8_0-resolver.jar" download="eager"/>
<jar href="lib/xerces-2_8_0-xercesImpl.jar" download="eager"/>
<jar href="lib/xerces-2_8_0-xercesSamples.jar" download="eager"/>
<jar href="lib/xerces-2_8_0-xml-apis.jar" download="eager"/>
     <extension name="activation" href="activation.jnlp"/>
     <extension name="javamail" href="javamail.jnlp"/>

     <resources os="Windows">
           <nativelib href="lib/windows/rocksaw-0.4.5-corewindowslibs.jar"/>
     <resources os="Linux">
           <nativelib href="lib/linux/rocksaw-0.4.5-corelinuxlibs.jar"/>


  <application-desc main-class="br.unifacs.nuperc.ice.MainWindow"/>

I just start this jnlp. This launches successfully the application, but when
I install and try to run the bundle I got the error I sent before.

I didn´t understand the "what I do next (in detail)" question. Does this
answer the question? If not, please let me know.

Ivo Koga

On 3/6/07, Niclas Hedhman <niclas@hedhman.org> wrote:
> On Wednesday 07 March 2007 00:24, Ivo K. Koga wrote:
> > Hi all,
> >
> > Has anyone tried embedding felix into a Java Web Start application?
> >
> > I think I did it sucessfully, but I´m havin some problems when starting
> one
> > bundle I installed on it.
> >
> > I now got this error:
> >
> > [Felix error] java.security.AccessControlException:
> > PackagePermission.IMPORTdenied for import:
> > org.jdom.output
> >
> > I signed this same bundle with the same certificate as the main
> > application.
> Sounds like the security policy is lacking permissions for the jar of the
> bundle being loaded.
> Perhaps if you give more detail on your jnlp file and what you do next (in
> detail), we can figure this out.
> Cheers
> Niclas

Msc. Candidate in Computer Networks at Universidade Salvador/BA/Brazil
Measurement WG - RNP/Brazil

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message