[jitsi-dev] missing dependency felix-framework on OpenSUSE 12.2


#1

Hi,

I installed jitsi-1.1-4458.10420.x86_64.rpm on openSUSE 12.2 (x86_64)
with JRE 1.6.0_39-b04

The dependency felix-framework is not part of the distribution.

Ignoring it leads to:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/felix/main/Main

Do I have to install this dependency manually?

Thanks,
Thomas


#2

Hi,

can you test with latest builds, does they fix the issue for you?

Thanks
damencho

···

On Sat, Feb 2, 2013 at 5:36 PM, Thomas Oberndörfer <toberndo@yarkon.de> wrote:

Hi,

I installed jitsi-1.1-4458.10420.x86_64.rpm on openSUSE 12.2 (x86_64)
with JRE 1.6.0_39-b04

The dependency felix-framework is not part of the distribution.

Ignoring it leads to:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/felix/main/Main

Do I have to install this dependency manually?

Thanks,
Thomas


#3

Tested with jitsi-1.1-4460.10426.x86_64.rpm

The dependency to felix-framework is now gone in the installation process -
no more warnings.
But exception on startup is still there:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/felix/main/Main
        at
net.java.sip.communicator.launcher.SIPCommunicator.main(SIPCommunicator.java:153)

Thomas

···

Hi,

can you test with latest builds, does they fix the issue for you?

Thanks
damencho

On Sat, Feb 2, 2013 at 4:36 PM, Thomas Oberndörfer <toberndo@yarkon.de>wrote:

Hi,

I installed jitsi-1.1-4458.10420.x86_64.rpm on openSUSE 12.2 (x86_64)
with JRE 1.6.0_39-b04

The dependency felix-framework is not part of the distribution.

Ignoring it leads to:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/felix/main/Main

Do I have to install this dependency manually?

Thanks,
Thomas

--
Thomas Oberndörfer
Twitter: https://twitter.com/toberndo
LinkedIn: http://de.linkedin.com/in/toberndo
PGP: 0x4A5CC77F<http://keyserver.linux.it:11371/pks/lookup?op=index&search=0x4A5CC77F>


#4

Tested with jitsi-1.1-4465.10438.x86_64.rpm

gives

Exception in thread "main" java.lang.NoClassDefFoundError:
net/java/sip/communicator/launcher/SIPCommunicator
Caused by: java.lang.ClassNotFoundException:
net.java.sip.communicator.launcher.SIPCommunicator

Seems like SCDIR=/usr/share/jitsi is wrong as this folder does not exist

I changed to SCDIR=/usr/lib/jitsi

Which then resulted in the already known exception:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/felix/main/Main
        at net.java.sip.communicator.launcher.SIPCommunicator.main(SIPCommunicator.java:153)
Caused by: java.lang.ClassNotFoundException: org.apache.felix.main.Main

Thomas

···

On Tue, Feb 5, 2013 at 9:47 AM, Thomas Oberndörfer <toberndo@yarkon.de> wrote:

Tested with jitsi-1.1-4460.10426.x86_64.rpm

The dependency to felix-framework is now gone in the installation process -
no more warnings.
But exception on startup is still there:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/felix/main/Main
        at
net.java.sip.communicator.launcher.SIPCommunicator.main(SIPCommunicator.java:153)

Thomas

Hi,

can you test with latest builds, does they fix the issue for you?

Thanks
damencho

On Sat, Feb 2, 2013 at 4:36 PM, Thomas Oberndörfer <toberndo@yarkon.de> > wrote:

Hi,

I installed jitsi-1.1-4458.10420.x86_64.rpm on openSUSE 12.2 (x86_64)
with JRE 1.6.0_39-b04

The dependency felix-framework is not part of the distribution.

Ignoring it leads to:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/felix/main/Main

Do I have to install this dependency manually?

Thanks,
Thomas


#5

Ok, I added now felix.jar to the classpath and this fixed the problem.
Therefore the following changes were required.

From:

SCDIR=/usr/share/jitsi
CLASSPATH=$LIBPATH/jdic_stub.jar:$LIBPATH/jdic-all.jar:/usr/share/java/felix/org.apache.felix.framework.jar:
...

To:

SCDIR=/usr/lib/jitsi
CLASSPATH=$LIBPATH/jdic_stub.jar:$LIBPATH/jdic-all.jar:$LIBPATH/felix.jar: ...

Jitsi starts now and seems functional. What remains is the following exception.

11:38:13.469 SCHWERWIEGEND:
impl.osdependent.SystemTray.getDefaultDesktop().66 Failed to
initialize the java.awt.SystemTray implementation.
java.lang.UnsupportedOperationException:
java.lang.reflect.InvocationTargetException
        at net.java.sip.communicator.impl.osdependent.Desktop$AWTDesktopPeer.<init>(Desktop.java:188)
        at net.java.sip.communicator.impl.osdependent.Desktop.getDefaultDesktop(Desktop.java:62)
        at net.java.sip.communicator.impl.osdependent.DesktopServiceImpl.<init>(DesktopServiceImpl.java:30)
        at net.java.sip.communicator.impl.osdependent.OsDependentActivator.start(OsDependentActivator.java:87)
        at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:1904)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
        at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at net.java.sip.communicator.impl.osdependent.Desktop$AWTDesktopPeer.<init>(Desktop.java:180)
        ... 9 more
Caused by: java.lang.UnsupportedOperationException: Desktop API is not
supported on the current platform
        at java.awt.Desktop.getDesktop(Unknown Source)
        ... 14 more

Thomas

···

On Sat, Feb 9, 2013 at 11:11 AM, Thomas Oberndörfer <toberndo@yarkon.de> wrote:

Tested with jitsi-1.1-4465.10438.x86_64.rpm

gives

Exception in thread "main" java.lang.NoClassDefFoundError:
net/java/sip/communicator/launcher/SIPCommunicator
Caused by: java.lang.ClassNotFoundException:
net.java.sip.communicator.launcher.SIPCommunicator

Seems like SCDIR=/usr/share/jitsi is wrong as this folder does not exist

I changed to SCDIR=/usr/lib/jitsi

Which then resulted in the already known exception:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/felix/main/Main
        at net.java.sip.communicator.launcher.SIPCommunicator.main(SIPCommunicator.java:153)
Caused by: java.lang.ClassNotFoundException: org.apache.felix.main.Main

Thomas

On Tue, Feb 5, 2013 at 9:47 AM, Thomas Oberndörfer <toberndo@yarkon.de> wrote:

Tested with jitsi-1.1-4460.10426.x86_64.rpm

The dependency to felix-framework is now gone in the installation process -
no more warnings.
But exception on startup is still there:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/felix/main/Main
        at
net.java.sip.communicator.launcher.SIPCommunicator.main(SIPCommunicator.java:153)

Thomas

Hi,

can you test with latest builds, does they fix the issue for you?

Thanks
damencho

On Sat, Feb 2, 2013 at 4:36 PM, Thomas Oberndörfer <toberndo@yarkon.de> >> wrote:

Hi,

I installed jitsi-1.1-4458.10420.x86_64.rpm on openSUSE 12.2 (x86_64)
with JRE 1.6.0_39-b04

The dependency felix-framework is not part of the distribution.

Ignoring it leads to:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/felix/main/Main

Do I have to install this dependency manually?

Thanks,
Thomas


#6

Hi,

can you test build 4468. There were some changes in debian stuff and as it
is reused seems to broke the rpm.

Thanks
damencho

···

On Sat, Feb 9, 2013 at 12:45 PM, Thomas Oberndörfer <toberndo@yarkon.de>wrote:

Ok, I added now felix.jar to the classpath and this fixed the problem.
Therefore the following changes were required.

From:

SCDIR=/usr/share/jitsi

CLASSPATH=$LIBPATH/jdic_stub.jar:$LIBPATH/jdic-all.jar:/usr/share/java/felix/org.apache.felix.framework.jar:
...

To:

SCDIR=/usr/lib/jitsi
CLASSPATH=$LIBPATH/jdic_stub.jar:$LIBPATH/jdic-all.jar:$LIBPATH/felix.jar:
...

Jitsi starts now and seems functional. What remains is the following
exception.

11:38:13.469 SCHWERWIEGEND:
impl.osdependent.SystemTray.getDefaultDesktop().66 Failed to
initialize the java.awt.SystemTray implementation.
java.lang.UnsupportedOperationException:
java.lang.reflect.InvocationTargetException
        at
net.java.sip.communicator.impl.osdependent.Desktop$AWTDesktopPeer.<init>(Desktop.java:188)
        at
net.java.sip.communicator.impl.osdependent.Desktop.getDefaultDesktop(Desktop.java:62)
        at
net.java.sip.communicator.impl.osdependent.DesktopServiceImpl.<init>(DesktopServiceImpl.java:30)
        at
net.java.sip.communicator.impl.osdependent.OsDependentActivator.start(OsDependentActivator.java:87)
        at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:1904)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
        at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
        at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at
net.java.sip.communicator.impl.osdependent.Desktop$AWTDesktopPeer.<init>(Desktop.java:180)
        ... 9 more
Caused by: java.lang.UnsupportedOperationException: Desktop API is not
supported on the current platform
        at java.awt.Desktop.getDesktop(Unknown Source)
        ... 14 more

Thomas

On Sat, Feb 9, 2013 at 11:11 AM, Thomas Oberndörfer <toberndo@yarkon.de> > wrote:
> Tested with jitsi-1.1-4465.10438.x86_64.rpm
>
> gives
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> net/java/sip/communicator/launcher/SIPCommunicator
> Caused by: java.lang.ClassNotFoundException:
> net.java.sip.communicator.launcher.SIPCommunicator
>
> Seems like SCDIR=/usr/share/jitsi is wrong as this folder does not exist
>
> I changed to SCDIR=/usr/lib/jitsi
>
> Which then resulted in the already known exception:
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/felix/main/Main
> at
net.java.sip.communicator.launcher.SIPCommunicator.main(SIPCommunicator.java:153)
> Caused by: java.lang.ClassNotFoundException: org.apache.felix.main.Main
>
>
> Thomas
>
> On Tue, Feb 5, 2013 at 9:47 AM, Thomas Oberndörfer <toberndo@yarkon.de> > wrote:
>>
>> Tested with jitsi-1.1-4460.10426.x86_64.rpm
>>
>> The dependency to felix-framework is now gone in the installation
process -
>> no more warnings.
>> But exception on startup is still there:
>>
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> org/apache/felix/main/Main
>> at
>>
net.java.sip.communicator.launcher.SIPCommunicator.main(SIPCommunicator.java:153)
>>
>> Thomas
>>
>>
>>> Hi,
>>>
>>> can you test with latest builds, does they fix the issue for you?
>>>
>>> Thanks
>>> damencho
>>
>>
>> On Sat, Feb 2, 2013 at 4:36 PM, Thomas Oberndörfer <toberndo@yarkon.de> > >> wrote:
>>>
>>> Hi,
>>>
>>> I installed jitsi-1.1-4458.10420.x86_64.rpm on openSUSE 12.2 (x86_64)
>>> with JRE 1.6.0_39-b04
>>>
>>> The dependency felix-framework is not part of the distribution.
>>>
>>> Ignoring it leads to:
>>>
>>> Exception in thread "main" java.lang.NoClassDefFoundError:
>>> org/apache/felix/main/Main
>>>
>>> Do I have to install this dependency manually?
>>>
>>> Thanks,
>>> Thomas
>>
>>
>>
>>