• Dieses Thema ist leer.
Ansicht von 15 Beiträgen - 1 bis 15 (von insgesamt 27)
  • Autor
    Beiträge
  • #15841
    Holliman
    Teilnehmer

      Ich fange nun bald an zu weinen, 4 Tage gemurkse, und ich komme nicht weiter.

      Also:
      Suse 11.2 –

      stefan@NB2:~/jam> uname -a
      Linux NB2 2.6.31.14-0.4-default #1 SMP 2010-10-25 08:45:30 +0200 i686 i686 i386 GNU/Linux

      Das Ganze auf einem Notebook mit PCMCIA-ISDN-Karte und Oliver W. Föhr-Treiber (http://opensuse.foehr-it.de/) und Anpassen von /etc/udev/rules.d/45-isdn.rules:

      NB2:/home/stefan/jam # capiinfo
      Number of Controllers : 1
      Controller 1:
      Manufacturer: AVM GmbH
      CAPI Version: 2.0
      Manufacturer Version: 3.11-07 (49.23)
      Serial Number: 1000001
      BChannels: 2
      Global Options: 0x00000039
      internal controller supported
      DTMF supported
      Supplementary Services supported
      channel allocation supported (leased lines)
      B1 protocols support: 0x4000011f
      64 kbit/s with HDLC framing
      64 kbit/s bit-transparent operation
      V.110 asynconous operation with start/stop byte framing
      V.110 synconous operation with HDLC framing
      T.30 modem for fax group 3
      Modem asyncronous operation with start/stop byte framing
      ….

      Wenn nu der janrufmonitor aufgerufen wird:

      Exception in thread „JAM-CapiMonitorNotifier-Thread-(deamon)“ java.lang.UnsatisfiedLinkError: de.powerisdnmonitor.capi.PIMCapi.nRegister(IIII[I)I
      at de.powerisdnmonitor.capi.PIMCapi.nRegister(Native Method)
      at de.powerisdnmonitor.capi.PIMCapi.register(PIMCapi.java:202)
      at de.powerisdnmonitor.capi.PIMCapi.register(PIMCapi.java:197)
      at de.powerisdnmonitor.capi.CapiMonitor$CapiMonitorNotifier.register(CapiMonitor.java:419)
      at de.powerisdnmonitor.capi.CapiMonitor$CapiMonitorNotifier.run(CapiMonitor.java:109)
      at java.lang.Thread.run(Thread.java:636)

      libcapi20.so.2.0.10 und libcapi20.so.3.0.4 habe ich auch mal gegen die Version von suse 10.3 getauscht. Ohne Erfolg.

      Ich weiß nicht mehr weiter.
      Hat jemand vielleicht noch einen Tipp für mich? Bin für alle Ansätze dankbar.

      Gruß
      Numakukn

      #23065
      Holliman
      Teilnehmer

        Irgendetwas grundsätzliches scheine ich nicht verstanden zu haben.

        Jam in der Consolenvariante:

        stefan@NB2:/usr/jam7> ./jam.sh
        Welcome to jAnrufmonitor 5 Console:
        ===================================

        Starting jAnrufmonitor …
        Configuration must be done in janrufmonitor.properties.

        Help – HELP +
        Status – STATUS +
        Journal – JOURNAL +
        Search updates – SEARCHUPDATES +
        Module update – UPDATE +
        Module installation – INSTALL +
        Import callers – IMPORT +
        Call Simulation – SIMULATE +
        Info – INFO +
        Re-start – RESTART +
        Quit – QUIT +

        JAM>

        Achtung: Die Servererweiterung ist hier nicht aktiv!

        Anders als root:

        stefan@NB2:/usr/jam7> su
        Passwort:
        NB2:/usr/jam7 # ./jam.sh
        Welcome to jAnrufmonitor 5 Console:
        ===================================

        Starting jAnrufmonitor …
        Exception in thread „JAM-CapiMonitorNotifier-Thread-(deamon)“ java.lang.UnsatisfiedLinkError: de.powerisdnmonitor.capi.PIMCapi.nRegister(IIII[I)I
        at de.powerisdnmonitor.capi.PIMCapi.nRegister(Native Method)
        at de.powerisdnmonitor.capi.PIMCapi.register(PIMCapi.java:202)
        at de.powerisdnmonitor.capi.PIMCapi.register(PIMCapi.java:197)
        at de.powerisdnmonitor.capi.CapiMonitor$CapiMonitorNotifier.register(CapiMonitor.java:419)
        at de.powerisdnmonitor.capi.CapiMonitor$CapiMonitorNotifier.run(CapiMonitor.java:109)
        at java.lang.Thread.run(Thread.java:636)
        Configuration must be done in janrufmonitor.properties.

        Help – HELP +
        Status – STATUS +
        Journal – JOURNAL +
        Search updates – SEARCHUPDATES +
        Module update – UPDATE +
        Module installation – INSTALL +
        Import callers – IMPORT +
        Call Simulation – SIMULATE +
        Info – INFO +
        Server Status – SERVERSTATUS +
        Re-start – RESTART +
        Quit – QUIT +

        JAM>Exception in thread „JAM-MonitorSignatureCheck-Thread-(non-deamon)“ java.lang.UnsatisfiedLinkError: de.powerisdnmonitor.capi.PIMCapi.nGetManufacturer(I[I)Ljava/lang/String;
        at de.powerisdnmonitor.capi.PIMCapi.nGetManufacturer(Native Method)
        at de.powerisdnmonitor.capi.PIMCapi.getManufacturer(PIMCapi.java:257)
        at de.powerisdnmonitor.capi.PIMCapi.getManufacturer(PIMCapi.java:252)
        at de.powerisdnmonitor.capi.CapiMonitor$CapiMonitorNotifier.getManufacturer(CapiMonitor.java:337)
        at de.powerisdnmonitor.capi.CapiMonitor.getDescription(CapiMonitor.java:961)
        at de.janrufmonitor.framework.monitor.MonitorListener$1.run(MonitorListener.java:288)

        JAM>serverstatus
        Server Status:



        Server started on Port 5555

        Connected clients: 1

        Client details:



        Client: 192.168.6.137 (192.168.6.137)
        Port: 5554
        Send [bytes]: 0
        Received [bytes]: 0

        JAM>

        Wieso um alles in der Welt bekommt nur root die Servererweiterung?
        Und wieso hat root dann Ärger mit der capi?
        Die Verbindung Server-Client funktioniert ja wenigstens.

        Gruß
        Numakukn

        #23066
        Thilo Brandt
        Keymaster

          Hallo Numakukn,

          also ehrlich gesagt, ist das in der Tat verwunderlich. Aber mal dumm gefragt: Werden denn unter dem normalen Benutzer Anrufe aufgezeichnet? Sprich auf der Console ausgegeben?

          Viele Grüße
          Thilo

          #23067
          Holliman
          Teilnehmer

            Nein, funktioniert nicht:

            stefan@NB2:/usr/jam7> ./jam.sh
            Welcome to jAnrufmonitor 5 Console:
            ===================================

            Starting jAnrufmonitor …
            Configuration must be done in janrufmonitor.properties.

            Help – HELP +
            Status – STATUS +
            Journal – JOURNAL +
            Search updates – SEARCHUPDATES +
            Module update – UPDATE +
            Module installation – INSTALL +
            Import callers – IMPORT +
            Call Simulation – SIMULATE +
            Info – INFO +
            Re-start – RESTART +
            Quit – QUIT +

            JAM>status
            Status of jAnrufmonitor:



            java.lang.NullPointerException
            at de.janrufmonitor.application.console.command.ConsoleStatus.execute(ConsoleStatus.java:31)
            at de.janrufmonitor.application.RunConsole.main(RunConsole.java:89)
            JAM>

            Was läuft da nur schief? 🙁

            Numakukn

            #23068
            Thilo Brandt
            Keymaster

              Hallo Numakukn,

              na, dann tritt der Fehler auch bei der ersten Variante auf, wird nur nicht ausgegeben. Was steht denn im jam-0.log so alles drin? Nur die UnsatisfiedLinkException oder noch mehr?

              Viele Grüße
              Thilo

              #23069
              Holliman
              Teilnehmer

                Ich habe zwischenzeitlich SUSE11.3 installiert. Ist aber die gleiche Misere.

                Die jam0.log:

                [ WARNING – 22/Nov/2010:18:51:11 +0100 – main – de.janrufmonitor.framework.installer.InstallerEngine.addPropagator() – java.lang.ClassNotFoundException : null ]
                [ WARNING – 22/Nov/2010:18:51:12 +0100 – main – de.janrufmonitor.framework.installer.InstallerEngine.installWithoutDescriptor() – No module descriptor available. This module is not intended to be installed in this version: service.Server.i18n ]
                [ WARNING – 22/Nov/2010:18:51:12 +0100 – main – de.janrufmonitor.framework.installer.InstallerEngine.installWithoutDescriptor() – No module descriptor available. This module is not intended to be installed in this version: service.Server.inf ]
                [ WARNING – 22/Nov/2010:18:51:12 +0100 – main – de.janrufmonitor.framework.installer.InstallerEngine.installWithoutDescriptor() – No module descriptor available. This module is not intended to be installed in this version: service.server.http.simple.handler.Configuration.i18n ]
                [ WARNING – 22/Nov/2010:18:51:12 +0100 – main – de.janrufmonitor.framework.installer.InstallerEngine.installWithoutDescriptor() – No module descriptor available. This module is not intended to be installed in this version: service.Server.en.i18n ]
                [ WARNING – 22/Nov/2010:18:51:12 +0100 – main – de.janrufmonitor.framework.installer.InstallerEngine.installWithoutDescriptor() – No module descriptor available. This module is not intended to be installed in this version: application.console.command.ConsoleServerStatus.inf ]
                [ WARNING – 22/Nov/2010:18:51:12 +0100 – main – de.janrufmonitor.framework.installer.InstallerEngine.installWithoutDescriptor() – No module descriptor available. This module is not intended to be installed in this version: ui.jface.configuration.pages.Server.inf ]
                [ WARNING – 22/Nov/2010:18:51:12 +0100 – main – de.janrufmonitor.framework.installer.InstallerEngine.installWithoutDescriptor() – No module descriptor available. This module is not intended to be installed in this version: ui.jface.configuration.pages.Server.i18n ]
                [ WARNING – 22/Nov/2010:18:51:12 +0100 – main – de.janrufmonitor.framework.installer.InstallerEngine.installWithoutDescriptor() – No module descriptor available. This module is not intended to be installed in this version: ui.jface.application.server.StatusMonitor.inf ]
                [ WARNING – 22/Nov/2010:18:51:12 +0100 – main – de.janrufmonitor.framework.installer.InstallerEngine.installWithoutDescriptor() – No module descriptor available. This module is not intended to be installed in this version: service.server.http.simple.handler.Configuration.en.i18n ]
                [ WARNING – 22/Nov/2010:18:51:12 +0100 – main – de.janrufmonitor.framework.installer.InstallerEngine.installWithoutDescriptor() – No module descriptor available. This module is not intended to be installed in this version: ui.jface.application.server.StatusMonitor.en.i18n ]
                [ WARNING – 22/Nov/2010:18:51:12 +0100 – main – de.janrufmonitor.framework.installer.InstallerEngine.installWithoutDescriptor() – No module descriptor available. This module is not intended to be installed in this version: ui.jface.configuration.pages.Server.en.i18n ]
                [ WARNING – 22/Nov/2010:18:51:12 +0100 – main – de.janrufmonitor.framework.installer.InstallerEngine.installWithoutDescriptor() – No module descriptor available. This module is not intended to be installed in this version: ui.jface.application.server.StatusMonitor.i18n ]
                [ WARNING – 22/Nov/2010:18:51:12 +0100 – main – de.janrufmonitor.framework.command.CommandFactory.startup() – Could not find class: de.janrufmonitor.service.trayicon.Activator ]
                [ SEVERE – 22/Nov/2010:18:51:13 +0100 – main – de.powerisdnmonitor.capi.PIMCapi. – de.powerisdnmonitor.capi.PIMCapi.init()V ]
                java.lang.UnsatisfiedLinkError: de.powerisdnmonitor.capi.PIMCapi.init()V
                at de.powerisdnmonitor.capi.PIMCapi.init(Native Method)
                at de.powerisdnmonitor.capi.PIMCapi.(PIMCapi.java:121)
                at de.powerisdnmonitor.capi.CapiMonitor$CapiMonitorNotifier.(CapiMonitor.java:101)
                at de.powerisdnmonitor.capi.CapiMonitor.setListener(CapiMonitor.java:907)
                at de.janrufmonitor.framework.monitor.MonitorListener.start(MonitorListener.java:269)
                at de.janrufmonitor.framework.monitor.MonitorListener.startup(MonitorListener.java:450)
                at de.janrufmonitor.runtime.PIMRuntime.startup(PIMRuntime.java:327)
                at de.janrufmonitor.application.RunConsole.start(RunConsole.java:120)
                at de.janrufmonitor.application.RunConsole.main(RunConsole.java:56)

                Vielleicht weiß ja jemand noch etwas?

                Gruß
                Numakukn

                #23070
                Thilo Brandt
                Keymaster

                  Hallo Numakukn,

                  ich werde den Verdacht nicht los, dass dein Problem mit dem Benutzer aus folgendem Thread identisch ist: viewtopic.php?f=28&t=1355&p=7430#p7430

                  Bei Ihm tritt das Problem unter SUSE 11.2 auf, dort ist das Problem nämlich der CAPI Treiber unter Linux.

                  Schau mal, ob das bei dir auch zutreffen könnte…

                  Viele Grüße
                  Thilo

                  #23071
                  MIB2
                  Teilnehmer

                    Hallo Thilo!

                    Hat sich inzwischen eine Erkenntnis eingestellt, was dieses seltsame Problem mit dem Zugriffsfehler des Java-Library auf die CAPI-Treiber auslöst?

                    Ich vermisse den Abweisungsservice aus dem JAM doch sehr, da ich immer mit SPAM-Faxen vollgepustet werde, die ohne Absenderkennung kommen, und jetzt nicht mehr abgewiesen werden.

                    Es scheint sich ja eher um eine JAVA-Problem denn um ein CAPI-Problem zu handeln, da andere Programme ja problemlos mit den jeweiligen CAPIs zusammen arbeiten.

                    Hast Du irgendwelche Ideen?

                    Gruß, und schönen 3. Advent,

                    Michael.

                    #23072
                    Thilo Brandt
                    Keymaster

                      Hallo Michael,

                      nein, habe leider noch keine weiteren Erkenntnisse. Aber kann es ein 32-bit/64-bit Mischproblem sein? Welche Architektur hat denn der CAPI Treiber von foehr-it? JAM ist nämlich 32-bittig und muss daher in einer 32-bit VM starten, da sonst nicht auf die Treiber zugegriffen werden kann.

                      Viele Grüße
                      Thilo

                      #23073
                      MIB2
                      Teilnehmer

                        Hallo Thilo,

                        aus „schlechten Erfahrungen“ mit den 64-Bit Systemen (erratische Stops und Hänger etc.) habe ich hier ausschließlich 32bit Systeme laufen, uname sagt:

                        Linux 2.6.31.14-0.4-desktop #1 SMP PREEMPT 2010-10-25 08:45:30 +0200 i686 athlon i386 GNU/Linux

                        Daher kann ich von meiner Seite eine 64/32-Bit Problematik ausschließen.

                        Liegt es evtl. an den verwendeten Java-Bibliotheken? Schon die Umstellung des MySQL auf die 5’er Version hat ja einige erstaunliche „Ergebnisse“ gebracht…

                        Ich kann mir auch irgendwie nicht vorstellen, dass es die CAPIs sind, denn HylaFAX und die nativen CAPI-Programme (isdnlog etc.) laufen ja alle.
                        Oder fehlt eine lib?

                        Ich brauche irgendeinen Ansatz zum Suchen, gerne bastel ich auch ein wenig hier rum, die „Möhre“ muss eh neu aufgesetzt werden.

                        Gruß,

                        Michael.

                        #23074
                        Thilo Brandt
                        Keymaster

                          Hallo Michael,

                          [ SEVERE - 19/Nov/2010:19:29:06 +0100 - main - de.powerisdnmonitor.capi.PIMCapi. - de.powerisdnmonitor.capi.PIMCapi.init()V ]
                          java.lang.UnsatisfiedLinkError: de.powerisdnmonitor.capi.PIMCapi.init()V
                          at de.powerisdnmonitor.capi.PIMCapi.init(Native Method)
                          at de.powerisdnmonitor.capi.PIMCapi.(PIMCapi.java:121)
                          at de.powerisdnmonitor.capi.CapiMonitor$CapiMonitorNotifier.(CapiMonitor.java:101)
                          at de.powerisdnmonitor.capi.CapiMonitor.setListener(CapiMonitor.java:907)
                          at de.janrufmonitor.framework.monitor.MonitorListener.start(MonitorListener.java:269)
                          at de.janrufmonitor.framework.monitor.MonitorListener.startup(MonitorListener.java:450)
                          at de.janrufmonitor.runtime.PIMRuntime.startup(PIMRuntime.java:327)
                          at de.janrufmonitor.application.RunUI.go(RunUI.java:77)
                          at de.janrufmonitor.application.RunUI.main(RunUI.java:225)

                          also entscheidend ist diese Meldung im Log. Und die besagt eigentlich, dass die CAPI nicht geladen werden kann. Ursprünglich kommt diese Meldung wenn die CAPI nicht oder falsch installiert ist, aber auch dann, wenn eine 64-bit .SO auf eine 32-Bit CAPI (und umgekehrt) zugreifen möchte. Es ist also schon ein Problem mit der CAPI. Für mich aber von Remot so auch nicht nachvollziehbar.

                          Viele Grüße
                          Thilo

                          #23075
                          MIB2
                          Teilnehmer

                            Hallo Thilo,

                            bin gerade erst wieder zum Lesen gekommen, und gleich eine Frage:

                            Kann man den Tracelevel der Java-App erhöhen, sodass sie ein wenig „gesprächiger“ wird.?

                            AFAIK klemmt es ja (von unten nach oben gelesen) an
                            java.lang.UnsatisfiedLinkError: de.powerisdnmonitor.capi.PIMCapi.init()V

                            Wenn Du möchtest, kann ich das hier mal in Ruhe tracen, und Dir evtl. dann 30 Seiten debug schicken :mrgreen: , oder bei Bedarf mal ein Check-Proggi drüber laufen lassen (muss mich dann erst noch ein wenig in java einarbeiten, bin alter native-C ‚ler :D)

                            Gruß,

                            Michael.

                            EDIT: Es trieb mich gerade zum basteln, also habe ich mal die HiSAX-Treiber aktiviert … 😡


                            <<<>>>
                            [ SEVERE - 17/Dez/2010:16:46:59 +0100 - main - de.powerisdnmonitor.capi.PIMCapi. - de.powerisdnmonitor.capi.PIMCapi.init()V ]
                            java.lang.UnsatisfiedLinkError: de.powerisdnmonitor.capi.PIMCapi.init()V
                            at de.powerisdnmonitor.capi.PIMCapi.init(Native Method)
                            at de.powerisdnmonitor.capi.PIMCapi.(PIMCapi.java:121)
                            at de.powerisdnmonitor.capi.CapiMonitor$CapiMonitorNotifier.(CapiMonitor.java:101)
                            at de.powerisdnmonitor.capi.CapiMonitor.setListener(CapiMonitor.java:907)
                            at de.janrufmonitor.framework.monitor.MonitorListener.start(MonitorListener.java:269)
                            at de.janrufmonitor.framework.monitor.MonitorListener.startup(MonitorListener.java:450)
                            at de.janrufmonitor.runtime.PIMRuntime.startup(PIMRuntime.java:327)
                            at de.janrufmonitor.application.RunUI.go(RunUI.java:77)
                            at de.janrufmonitor.application.RunUI.main(RunUI.java:225)

                            <<<< MARK: Used driver capi from foehr-it
                            [ SEVERE - 17/Dez/2010:16:49:42 +0100 - main - de.powerisdnmonitor.capi.PIMCapi. - de.powerisdnmonitor.capi.PIMCapi.init()V ]
                            java.lang.UnsatisfiedLinkError: de.powerisdnmonitor.capi.PIMCapi.init()V
                            at de.powerisdnmonitor.capi.PIMCapi.init(Native Method)
                            at de.powerisdnmonitor.capi.PIMCapi.(PIMCapi.java:121)
                            at de.powerisdnmonitor.capi.CapiMonitor$CapiMonitorNotifier.(CapiMonitor.java:101)
                            at de.powerisdnmonitor.capi.CapiMonitor.setListener(CapiMonitor.java:907)
                            at de.janrufmonitor.framework.monitor.MonitorListener.start(MonitorListener.java:269)
                            at de.janrufmonitor.framework.monitor.MonitorListener.startup(MonitorListener.java:450)
                            at de.janrufmonitor.runtime.PIMRuntime.startup(PIMRuntime.java:327)
                            at de.janrufmonitor.application.RunUI.go(RunUI.java:77)
                            at de.janrufmonitor.application.RunUI.main(RunUI.java:225)

                            Es liegt wohl mitnichten am CAPI-ISDN-Treiber, da sowohl der HiSAX als auch der AVMCAPI Treiber beide NICHT funktionieren, alle anderen ISDN-Programme die Treiber aber wohl erkennen, auch selektiv HiSAX oder CAPI.

                            #23076
                            Thilo Brandt
                            Keymaster

                              Hallo Bitmitch,

                              das Tracelevel kannst du wie in der FAQ Einstellen eines höheren Loglevel für die Logdatei jam-0.log erhöhen.

                              Viele Grüße
                              Thilo

                              #23077
                              MIB2
                              Teilnehmer

                                @thilo.brandt wrote:

                                Hallo Bitmitch,

                                das Tracelevel kannst du wie in der FAQ Einstellen eines höheren Loglevel für die Logdatei jam-0.log erhöhen.

                                Viele Grüße
                                Thilo

                                Ja … wer lesen kann ist klar im Vorteil 😳

                                OK, ich habe Dir eine Mail an die contact-Adresse gesendet, und die 250kb Trace Datei drangehängt.

                                Vielleicht trägt das ja zur Erhellung bei.

                                Gruß, und einen schönen 4. Advent,

                                Michael.

                                #23078
                                Thilo Brandt
                                Keymaster

                                  Hallo Michael,

                                  also laut Trace hast du eine 32-bit Java VM und 32-bit JAM installiert. Ist evt. die CAPI schon 64-bittig und kann daher nicht geladen werden?

                                  Viele Grüße
                                  Thilo

                                Ansicht von 15 Beiträgen - 1 bis 15 (von insgesamt 27)
                                • Du musst angemeldet sein, um auf dieses Thema antworten zu können.