Results 1 to 10 of 10

Thread: 12.1 breaks Openfire

  1. #1

    Angry 12.1 breaks Openfire

    In 11.4 I had used Openfire from server:messaging repository.
    Upgraded to 12.1 (64 bit) and recently installed Openfire from the same repository.
    It loads fine and I can get into the admin interface. But clients can't connect, and the warnings log shows

    org.apache.mina.common.RuntimeIOException: java.net.SocketException: Protocol not available
    at org.apache.mina.transport.socket.nio.SocketSessionImpl$SessionConfigImpl.getSendBufferSize(SocketSessionImpl.java:335)
    at org.apache.mina.transport.socket.nio.SocketIoProcessor.doFlush(SocketIoProcessor.java:390)
    at org.apache.mina.transport.socket.nio.SocketIoProcessor.doFlush(SocketIoProcessor.java:332)
    at org.apache.mina.transport.socket.nio.SocketIoProcessor.access$500(SocketIoProcessor.java:45)
    at org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker.run(SocketIoProcessor.java:488)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:679)
    Caused by: java.net.SocketException: Protocol not available
    at sun.nio.ch.Net.getIntOption0(Native Method)
    at sun.nio.ch.Net.getIntOption(Net.java:181)
    at sun.nio.ch.SocketChannelImpl$1.getInt(SocketChannelImpl.java:419)
    at sun.nio.ch.SocketOptsImpl.getInt(SocketOptsImpl.java:60)
    at sun.nio.ch.SocketOptsImpl.sendBufferSize(SocketOptsImpl.java:156)
    at sun.nio.ch.SocketOptsImpl$IP$TCP.sendBufferSize(SocketOptsImpl.java:286)
    at sun.nio.ch.OptionAdaptor.getSendBufferSize(OptionAdaptor.java:129)
    at sun.nio.ch.SocketAdaptor.getSendBufferSize(SocketAdaptor.java:328)
    at org.apache.mina.transport.socket.nio.SocketSessionImpl$SessionConfigImpl.getSendBufferSize(SocketSessionImpl.java:333)
    ... 8 more

    This may be related to using OpenJDK instead of Sun's, but the Openfire admin interface seems to detect OpenJDK fine, showing Java Version: 1.6.0_22 Sun Microsystems Inc. -- OpenJDK 64-Bit Server VM.

    Why is this package available for 12.1 if it's not working? Makes no sense!

    I've also tried to get jabberd and ejabberd working and I couldn't get clients to connect to them, which is why I went back to Openfire. This really sucks.
    I need an XMPP server to which Exodus clients on the local network can connect.

  2. #2

    Default Re: 12.1 breaks Openfire

    Besides Openfire, jabberd, and ejabberd, I also have tried prosody and I couldn't get clients to connect to it either after upgrading to 12.1.

  3. #3
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,043

    Default Re: 12.1 breaks Openfire

    On Thu, 16 Feb 2012 21:46:03 +0000, Prune wrote:

    > In 11.4 I had used Openfire from server:messaging repository.
    > Upgraded to 12.1 (64 bit) and recently installed Openfire from the same
    > repository.


    You installed it from the 11.4 repository? Or did you switch to a 12.1
    repository?

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  4. #4
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,043

    Default Re: 12.1 breaks Openfire

    On Thu, 16 Feb 2012 21:56:03 +0000, Prune wrote:

    > Besides Openfire, jabberd, and ejabberd, I also have tried prosody and I
    > couldn't get clients to connect to it either after upgrading to 12.1.


    I just installed OpenFire from the 12.1 repo, and it works flawlessly on
    my system. No crash or anything.

    So a few questions:

    1. How did you configure openfire?

    2. Did you migrate an existing configuration?

    3. Do you have the appropriate ports open in your firewall? (That
    shouldn't cause a java crash)

    4. Have you installed any JDK other than openjdk? (I'm using openjdk)

    Jim

    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  5. #5

    Default Re: 12.1 breaks Openfire

    Hi,

    > You installed it from the 11.4 repository? Or did you switch to a 12.1
    repository?

    I installed version 3.7.1-11.1 x86_64 from Index of /repositories/server:/messaging/openSUSE_12.1

    > 1. How did you configure openfire?

    I selected for it to use its internal database and I added a single user in the management interface.

    > 2. Did you migrate an existing configuration?

    No, it was a completely new installation.

    > 3. Do you have the appropriate ports open in your firewall? (That
    shouldn't cause a java crash)

    According to Yast, the firewall is not on.

    > 4. Have you installed any JDK other than openjdk? (I'm using openjdk)

    No. Running zypper se -i --search-descriptions *java* gives me this:

    i | ant | Antlr Task for ant | package
    i | bleachbit | Remove unnecessary files, free space, and-> | package
    i | gcc-gij | The system GNU Java bytecode interpreter | package
    i | gcc46 | The GNU C Compiler and Support Files | package
    i | gcc46-gij | Java Bytecode Interpreter for gcc | package
    i | gdb | A GNU source-level debugger for C, C++, J-> | package
    i | gjs | JavaScript bindings based on gobject-intr-> | package
    i | gnome-js-common | JavaScript bindings based on gobject-intr-> | package
    i | icedtea-web | Java Web Start and plugin implementation | package
    i | java-1_5_0-gcj-compat | JPackage Runtime Scripts for GCJ | package
    i | java-1_6_0-openjdk | Java runtime environment based on OpenJDK-> | package
    i | java-1_6_0-openjdk-devel | Java SDK based on OpenJDK 6 and IcedTea 6 | package
    i | java-binfmt-misc | The binfmt_misc support for Java | package
    i | java-ca-certificates | Utilities CA certificate import to gcj | package
    i | jline | Java library for reading and editing user-> | package
    i | libQtWebKit4 | Open source Web Browser engine based on Qt4 | package
    i | libgcj46 | Java Runtime Library for gcc | package
    i | libgcj46-jar | Java runtime library (jar files). | package
    i | libgjs0 | JavaScript bindings based on gobject-intr-> | package
    i | libjavascriptcoregtk-1_0-0 | JavaScript Core Engine, GTK+ Port | package
    i | libjavascriptcoregtk-3_0-0 | JavaScript Core Engine, GTK+ Port | package
    i | libjson-glib-1_0-0 | Library for JavaScript Object Notation fo-> | package
    i | libmozjs185-1_0 | JavaScript library | package
    i | libproxy1-pacrunner-mozjs | Libproxy module to support wpad/pac parsi-> | package
    i | libproxy1-pacrunner-webkit | Libproxy module to support WPAD/PAC parsi-> | package
    i | libpython2_7-1_0 | Python Interpreter shared library | package
    i | libpython2_7-1_0-32bit | Python Interpreter shared library | package
    i | libreoffice-pyuno | Python UNO Bridge for LibreOffice | package
    i | libseed-gtk3-0 | JavaScript bindings based on gobject-intr-> | package
    i | libseed0 | JavaScript bindings based on gobject-intr-> | package
    i | libwebkitgtk-1_0-0 | Library for rendering web content, GTK+ P-> | package
    i | libwebkitgtk-3_0-0 | Library for rendering web content, GTK+ P-> | package
    i | links | Text-Based WWW Browser | package
    i | mozilla-js192 | Mozilla JS 1.8 engine | package
    i | openSUSE-2011-101 | update for MozillaFirefox, MozillaThunder-> | patch
    i | perl-PlRPC | Perl Extension for Writing PlRPC Servers | package
    i | perl-XML-SAX | XML::SAX Perl Module | package
    i | php5-json | PHP5 Extension Module | package
    i | pstoedit | PostScript and PDF Converter | package
    i | python | Python Interpreter | package
    i | python-base | Python Interpreter base package | package
    i | rhino | JavaScript for Java | package
    i | seed | JavaScript bindings based on gobject-intr-> | package
    i | timezone-java | Timezone Descriptions | package
    i | xalan-j2 | Java XSLT processor | package
    i | xerces-j2 | Java XML parser | package
    i | xmlbeans | XML-Java binding tool | package

    Could this have anything to do with the Apache MINA which is in the stack trace of the exception I quoted in my first post? But I haven't changed anything in regards to that either.

    Thanks

  6. #6

    Default Re: 12.1 breaks Openfire

    Any help? I don't know what to do

  7. #7
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,043

    Default Re: 12.1 breaks Openfire

    On Fri, 17 Feb 2012 10:46:03 +0000, Prune wrote:

    >> You installed it from the 11.4 repository? Or did you switch to a

    > 12.1 repository?
    >
    > I installed version 3.7.1-11.1 x86_64 from 'Index of
    > /repositories/server:/messaging/openSUSE_12.1'
    > (http://tinyurl.com/737lcgq)


    Same version I have.

    >> 1. How did you configure openfire?

    >
    > I selected for it to use its internal database and I added a single user
    > in the management interface.


    OK, I did something similar, but I do have an LDAP server that I pointed
    my installation at. But the internal database was also selected in my
    installation, so we should be "close enough".

    >> 2. Did you migrate an existing configuration?

    >
    > No, it was a completely new installation.


    OK.

    >> 3. Do you have the appropriate ports open in your firewall? (That

    > shouldn't cause a java crash)
    >
    > According to Yast, the firewall is not on.


    OK.

    >> 4. Have you installed any JDK other than openjdk? (I'm using

    > openjdk)
    >
    > No. Running zypper se -i --search-descriptions *java* gives me this:


    You really should have used code tags for this - but what I can make of
    it, it looks like just openJDK is installed (no Sun/Oracle stuff), same
    as I have here.

    > Could this have anything to do with the Apache MINA which is in the
    > stack trace of the exception I quoted in my first post? But I haven't
    > changed anything in regards to that either.


    If a port used by openfire was already in use, that might cause an
    exception - what ports is MINA using?

    Jim




    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  8. #8
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,043

    Default Re: 12.1 breaks Openfire

    On Fri, 17 Feb 2012 21:16:03 +0000, Prune wrote:

    > Any help? I don't know what to do


    Forums aren't a real-time medium - when you wrote your last post, I was
    sound asleep.

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  9. #9
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: 12.1 breaks Openfire

    Am 17.02.2012 22:16, schrieb Prune:
    >
    > Any help? I don't know what to do
    >
    >

    Did you try the rpm from here instead?
    http://www.igniterealtime.org/index.jsp
    It ships its own local jre in the openfire directory (and I guess there
    is a reason why they do it). I tested that the 32 bit rpm installs on a
    64 bit system, but have no time now to test it (maybe over the weekend
    if I find enough time, since this software looks useful for my needs).

    Independent of that inform the maintainers of the repositories where you
    installed from about your problem. Maybe they know how to fix it.

    --
    PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
    4.6.0 | GeForce GT 420 | 16GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.8.0 |
    nVidia ION | 3GB Ram

  10. #10

    Default Re: 12.1 breaks Openfire

    > what ports is MINA using?

    How can I check? I never used MINA or recall installing it; I assume it was installed when I installed Apache.

    > Forums aren't a real-time medium

    Sorry about that...

    > Ignite Realtime: a real time collaboration community site

    Thanks, I will try that if there's no other solution.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •