[sip-comm-dev] SC with Java Web Start


#1

Hi all,

I'm trying to implement SC within a Java Web Start Application, following
the instructions given by Gabor JAGER.
I start felix.jar successfully, but when I uploaded the rest of the
bundles (all previously signed) I had an error when I'm trying to start
the SC through the HTML link.
I also verified that in the felix_launch.jnlp are included these four jar
files:
    <jar href="sip/lib/jdic-all.jar" />
    <jar href="sip/lib/jdic_stub.jar" />
    <jar href="sip/lib/felix.jar" main="true" />
    <jar href="sip/lib/sc-launcher.jar" main="true" />

Nevertheless, when I can't sign the bundle media.jar, I don't know why,
may be it is too heavy (5MB). I had this error when I try to sign this
file:
jarsigner: unable to sign jar: java.util.zip.ZipException: invalid entry size
xpected 138 but got 89 bytes).

I'll apreciate any kind of help.

Thanks in advance.

Pablo

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#2

Hi!

The problem may be related with duplicated entries in the jar file.

Take a look inside the jar file, and look for files with the same name in the same folder (in zip files is possible).

See you.

Pablo.

···

-----Mensaje original-----
De: prueda@gbt.tfo.upm.es [mailto:prueda@gbt.tfo.upm.es]
Enviado el: miércoles, 06 de mayo de 2009 16:10
Para: dev@sip-communicator.dev.java.net
Asunto: [sip-comm-dev] SC with Java Web Start

Hi all,

I'm trying to implement SC within a Java Web Start Application, following
the instructions given by Gabor JAGER.
I start felix.jar successfully, but when I uploaded the rest of the
bundles (all previously signed) I had an error when I'm trying to start
the SC through the HTML link.
I also verified that in the felix_launch.jnlp are included these four jar
files:
    <jar href="sip/lib/jdic-all.jar" />
    <jar href="sip/lib/jdic_stub.jar" />
    <jar href="sip/lib/felix.jar" main="true" />
    <jar href="sip/lib/sc-launcher.jar" main="true" />

Nevertheless, when I can't sign the bundle media.jar, I don't know why,
may be it is too heavy (5MB). I had this error when I try to sign this
file:
jarsigner: unable to sign jar: java.util.zip.ZipException: invalid entry size
xpected 138 but got 89 bytes).

I'll apreciate any kind of help.

Thanks in advance.

Pablo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net