JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 19.02.2019, 21:58
honeybee honeybee is offline
Vacuum Cleaner
 
Join Date: Feb 2019
Posts: 18
Thumbs up RAR5 für FreeBSD x64

I need support! This is my log id: jdlog://1231676935451

Hallo zusammen,

Leider macht mein Headless Jdownloader2 keine Anstalten irgendetwas zu entpacken.

Jdownloader läuft in einem iocage auf meinem FreeNAS 11.1 (FreeBSD) System.
Es wird beim Start des jails automatisch über einen Script wie folgt vom root gestartet:
Code:
/usr/local/bin/java -jar /jdownloader/JDownloader.jar -norestart -jar &

Ich habe den Ordner /jdownloader als auch alle Unterordner dem root User gegeben:
Code:
chown -R root:wheel /jdownloader/
Ordner sehen wie folgt aus:
Code:
root@jdownloader:/ # ll jdownloader/
total 10858
-rw-r--r--  1 root  wheel      319 Feb 19 20:26 build.json
drwxr-xr-x  4 root  wheel        4 Feb 19 20:28 captchas/
drwxrwxrwx  3 root  wheel      132 Feb 19 20:28 cfg/
-rw-r--r--  1 root  wheel  7927802 Feb 19 20:26 Core.jar
drwxrwxrwx  2 root  wheel        7 Feb 10 22:54 extensions/
drwxrwxrwx  2 root  wheel        2 Feb 10 22:31 folderwatch/
drwxrwxrwx  2 root  wheel        2 Feb 10 18:26 java/
drwxrwxrwx  5 root  wheel        6 Feb 10 22:54 jd/
-rw-r--r--  1 root  wheel        0 Feb 19 20:26 JD2.lock
-rw-r--r--  1 root  wheel        4 Feb 19 20:26 JD2.port
-rw-r--r--  1 root  wheel  3532177 Feb 19 20:25 JDownloader.jar
-rw-r--r--  1 root  wheel        6 Feb 19 20:26 JDownloader.pid
drwxrwxrwx  5 root  wheel       31 Feb 19 20:26 libs/
-rwxrwxrwx  1 root  wheel    39624 Feb 10 22:53 license_german.txt*
-rwxrwxrwx  1 root  wheel    32034 Feb 10 22:53 license.txt*
drwxrwxrwx  5 root  wheel       58 Feb 10 22:54 licenses/
drwxrwxrwx  7 root  wheel        7 Feb 19 20:26 logs/
drwxrwxrwx  3 root  wheel        3 Feb 10 18:26 themes/
drwxrwxrwx  6 root  wheel        9 Feb 19 20:28 tmp/
drwxrwxrwx  5 root  wheel        5 Feb 10 18:26 tools/
drwxrwxrwx  5 root  wheel        5 Feb 10 18:26 translations/
drwxrwxrwx  3 root  wheel        3 Feb 10 22:52 update/

und
Code:
root@jdownloader:/jdownloader # ll tmp
total 283
-rwxrwxrwx   1 root  wheel  182026 Feb 19 20:27 crawlerCache*
drwxrwxrwx   2 root  wheel       3 Feb 10 22:54 extensioncache/
-rwxrwxrwx   1 root  wheel  342203 Feb 19 20:26 hosterCache*
drwxrwxrwx   2 root  wheel       2 Feb 19 20:26 jna/
drwxrwxrwx  14 root  wheel      14 Feb 11 16:02 logs/
-rw-r--r--   1 root  wheel     416 Feb 19 20:28 myjd.session
drwxrwxrwx   3 root  wheel      16 Feb 19 20:26 update/

Der Downloadordner im root /mnt/Downloads, welcher ein Share des Hostsystems ist hat folgende Rechte:
Code:
drwxrwxrwx  3 1001  wheel  3 Feb 19 20:39 Downloads/

Im Webinterface MyJdownloader habe ich alle Archiv Einstellungen auf Standard gelassen. Allerdings ist die Archivfunktion bei mir dort schon generell augegraut.


Nach dem Download siehts so aus:
Code:
root@jdownloader:/mnt/Downloads/ # ll
total 314108
-rw-r--r--  1 1001  wheel  321703515 Feb 19 20:44 Testfile.rar

Zusatzinfo:
Ich habe im Hintergrund einen Script laufen, der dem Ordner zum Besitz von User 1001 und der Gruppe wheel macht, damit ich es mit meinem Client PC direkt verwalten kann. Aber da der root des Gastsystems, der java ausführt ja Mitglied in wheel ist, sollte er es nach dem Download ohne Probleme lesen können?!

Ich habe auch zum Test mal /mnt/Download via chmod -R 777 als auch chown -R root:wheel gemacht und den Script deaktiviert. Leider ohne Erfolg was das Entpacken angeht.


Ich hoffe sehr ihr könnt mir helfen.


I need support! This is my log id: jdlog://1231676935451


System:
Operating System FreeBSD (BSD 64Bit) (amd64 64Bit)
Java 1.8.0_162-b12 (64Bit) (headless)
Oracle Corporation OpenJDK 64-Bit Server VM

Last edited by honeybee; 21.02.2019 at 11:37.
Reply With Quote
  #2  
Old 19.02.2019, 22:13
honeybee honeybee is offline
Vacuum Cleaner
 
Join Date: Feb 2019
Posts: 18
Default

Hab gesehen die logs werden ja auch abgelegt

Wie fixe ich das nur ?!

Code:
------------------------Thread: 37:ExtractionExtension.log-----------------------
--ID:37TS:1550604419231-2/19/19 8:26:59 PM -  [org.jdownloader.extensions.extraction.multi.Multi(checkLibraries)] -> Try Lib IDs: [FreeBSD-amd64]
--ID:37TS:1550604419231-2/19/19 8:26:59 PM -  [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Try Lib ID: FreeBSD-amd64
--ID:37TS:1550604419231-2/19/19 8:26:59 PM -  [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Try Lib Path: /jdownloader/tmp/7zip->true
--ID:37TS:1550604419241-2/19/19 8:26:59 PM -  [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Could not initialize Multiunpacker:#1
--ID:37TS:1550604419242-2/19/19 8:26:59 PM -  [] -> Exception thrown at org.jdownloader.extensions.extraction.multi.Multi.initLibrary(Multi.java:238):
net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Error loading SevenZipJBinding native library into JVM: error loading property file '/FreeBSD-amd64/sevenzipjbinding-lib.properties' $
        at net.sf.sevenzipjbinding.SevenZip.throwInitException(SevenZip.java:825)
        at net.sf.sevenzipjbinding.SevenZip.throwInitException(SevenZip.java:820)
        at net.sf.sevenzipjbinding.SevenZip.loadSevenZipJBindingLibProperties(SevenZip.java:479)
        at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJARIntern(SevenZip.java:452)
        at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJAR(SevenZip.java:398)
        at org.jdownloader.extensions.extraction.multi.Multi.initLibrary(Multi.java:214)
        at org.jdownloader.extensions.extraction.multi.Multi.checkLibraries(Multi.java:256)
        at org.jdownloader.extensions.extraction.multi.Multi.hasLibrarySupport(Multi.java:396)
        at org.jdownloader.extensions.extraction.multi.Multi.isAvailable(Multi.java:419)
        at org.jdownloader.extensions.extraction.ExtractionExtension.lazyInitOnceOnStart(ExtractionExtension.java:514)
        at org.jdownloader.extensions.extraction.ExtractionExtension.start(ExtractionExtension.java:394)
        at org.jdownloader.extensions.AbstractExtension.setEnabled(AbstractExtension.java:79)
        at org.jdownloader.extensions.AbstractExtension.init(AbstractExtension.java:319)
        at org.jdownloader.extensions.LazyExtension.init(LazyExtension.java:234)
        at org.jdownloader.extensions.ExtensionController.loadFromCache(ExtensionController.java:238)
        at org.jdownloader.extensions.ExtensionController.init(ExtensionController.java:125)
        at jd.SecondLevelLaunch$10$1$2.run(SecondLevelLaunch.java:792)
Reply With Quote
  #3  
Old 20.02.2019, 13:58
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Lass den -norestart Parameter weg! Dieser ist nur für die Ersteinrichtung gedacht und verhindert das Neustarten/Updaten über das Webinterface, da -norestart eben explizit sagt, keinen Neustart
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 20.02.2019, 14:02
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Leider ist die Initialisierung nicht im Log vorhanden und daher kann ich dir keine genauen Gründe nennen. Aber die Meldung oben besagt das irgendwas beim Laden der nativen Library nicht klappt.
Ich würde dir empfehlen du compilierst dir die nötige Library selbst, da die normale keine RAR5 kann, siehe github.com/borisbrodski/sevenzipjbinding/tree/migrate-to-15.09-try2

Kannst du mir mal den gesamten Abschnitt vom Entpacker zeigen? zb an support@jdownloader.org
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 20.02.2019, 17:03
honeybee honeybee is offline
Vacuum Cleaner
 
Join Date: Feb 2019
Posts: 18
Default

Hallo Jiaz,

was genau meinst du mit den gesamten Abschnitt vom Entpacker?

Compiliert habe ich leider noch nichts, da muss ich mich Mal einlesen.

Hier wird am Ende auch ein FreeNAS Jail Problem beschrieben wo es um diesen Fehler geht. **External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #6  
Old 20.02.2019, 17:16
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

pkg install lang/gcc von
forums.freenas.org/index.php?threads/tutorial-jdownloader-in-a-jail.48374/post-437291

Hast du das bereits versucht?
Ich meine den kompletten Fehlerabschnitt und nicht nur den Teil, also mehr davor und danach. In dem Log ist dieser Fehler gar nicht erst vorhanden.

Das selbst compilieren hätte den Vorteil, dass du eine RAR5 fähige Library haben könntest
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 20.02.2019, 17:40
honeybee honeybee is offline
Vacuum Cleaner
 
Join Date: Feb 2019
Posts: 18
Default

Ja, das hatte ich bereits installiert. Hatte gestern beim compiliert einen kryptischen Fehler nach dem anderen. In den Jails fehlen leider immer alle möglichen Pakete -.-

Ich bastel mich da nochmal durch und melde mich wenn ich die Lösung habe.
Reply With Quote
  #8  
Old 20.02.2019, 17:49
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Du musst nicht unbedingt in der Jail selbst compilen. Einfach ein FreeBSD, zb auf dem Host selbst.
Wenn du mir die Fehlermeldungen gibst, kann ich evtl helfen
__________________
JD-Dev & Server-Admin
Reply With Quote
  #9  
Old 20.02.2019, 21:15
honeybee honeybee is offline
Vacuum Cleaner
 
Join Date: Feb 2019
Posts: 18
Default

Also ich komme bei meinem Compilierungsversuch bis hier.
Scheint wohl als gibt es ein Problem mit meinem Java, bzw. cmake findet dies nicht

Code:
root@jdownloader:/7zip # git clone **External links are only visible to Support Staff**
Cloning into 'SevenZipJBinding'...
remote: Enumerating objects: 20336, done.
remote: Total 20336 (delta 0), reused 0 (delta 0), pack-reused 20336
Receiving objects: 100% (20336/20336), 37.74 MiB | 2.57 MiB/s, done.
Resolving deltas: 100% (12436/12436), done.
root@jdownloader:/7zip # cd SevenZipJBinding/
root@jdownloader:/7zip/SevenZipJBinding # ls
.git                    ChangeLog               CTestCustom.cmake       License.txt             THANKS
.gitignore              cmake                   doc                     p7zip                   TODO
.project                CMakeFile-bin-dist.txt  eclipse                 README                  TODO-glib-dump.txt
.settings               CMakeLists.txt          jbinding-cpp            ReleaseNotes.txt        tools
7zip                    COPYING                 jbinding-java           scripts
AUTHORS                 CTestConfig.cmake       LGPL                    test
root@jdownloader:/7zip/SevenZipJBinding # cmake .
-- The C compiler identification is Clang 4.0.0
-- The CXX compiler identification is Clang 4.0.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for java JNI jni.h include path
-- Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
CMake Error at cmake/FindJavaExtended.cmake:71 (MESSAGE):
  Java JNI jni.h include file not found.  Please set JAVA_HOME to jdk1.5 or
  higher or use -DJAVA_JDK=<path-to-jdk> switch for cmake.

  Don't forget to delete 'CMakeCache.txt' file, if you want '-D' parameter to
  take effect.
Call Stack (most recent call first):
  CMakeLists.txt:35 (INCLUDE)


-- Configuring incomplete, errors occurred!
See also "/7zip/SevenZipJBinding/CMakeFiles/CMakeOutput.log".

Last edited by honeybee; 20.02.2019 at 22:22.
Reply With Quote
  #10  
Old 20.02.2019, 22:21
honeybee honeybee is offline
Vacuum Cleaner
 
Join Date: Feb 2019
Posts: 18
Default

Ok, es lag wohl iwi am java

Hab erstmal nach Paketen mit jdk gesucht und openjdk8-jre-8.162.12_2 installiert
Code:
root@jdownloader:/7zip/SevenZipJBinding # pkg search jdk
bootstrap-openjdk6-r450701     Java Development Kit 6
bootstrap-openjdk8-r450802     Java Development Kit 8
openjdk-7.161.01,1             Java Development Kit 7
openjdk-jre-7.161.01,1         Java Runtime Environment 7
openjdk6-b45,1                 Oracle's Java 6 virtual machine release under the GPL v2
openjdk6-jre-b45,1             Oracle's Java 6 Runtime Environment under the GPL v2
openjdk8-8.162.12_2            Java Development Kit 8
openjdk8-jre-8.162.12_2        Java Runtime Environment 8
rxtx-openjdk8-2.2p2_4          Native interface to serial ports in Java
root@jdownloader:/7zip/SevenZipJBinding #
root@jdownloader:/7zip/SevenZipJBinding # pkg install openjdk8-jre-8.162.12_2
Ich habe mit Filezilla mein Jail per SSH nach "jdk" durchsucht und dabei /usr/local/openjdk8 gefunden.

Last edited by honeybee; 21.02.2019 at 01:02.
Reply With Quote
  #11  
Old 20.02.2019, 22:32
honeybee honeybee is offline
Vacuum Cleaner
 
Join Date: Feb 2019
Posts: 18
Default

Wohl zu früh gefreut...
Spoiler:

Code:
root@jdownloader:/7zip/SevenZipJBinding # cmake . -DJAVA_JDK=/usr/local/openjdk8
-- The C compiler identification is Clang 4.0.0
-- The CXX compiler identification is Clang 4.0.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for java JNI jni.h include path
-- Looking for java JNI jni.h include path - found: /usr/local/openjdk8/include
-- Looking for java JNI jni_md.h include path
-- Looking for java JNI jni_md.h include path - found: /usr/local/openjdk8/include/freebsd
-- Looking for java compiler 'javac'
-- Looking for java compiler 'javac' - found: /usr/local/openjdk8/bin/javac
-- Looking for java header compiler 'javah'
-- Looking for java header compiler 'javah' - found: /usr/local/openjdk8/bin/javah
-- Looking for java API Documentation Generator 'javadoc'
-- Looking for java API Documentation Generator 'javadoc' - found: /usr/local/openjdk8/bin/javadoc
-- Looking for java VM 'java'
-- Looking for java VM 'java' - found: /usr/local/openjdk8/bin/java
-- Looking for java archiver 'jar'
-- Looking for java archiver 'jar' - found: /usr/local/openjdk8/bin/jar
-- Checking java compile
-- Checking java compile - ok
-- Checking java system properties
-- Checking java compile - ok (arch: amd64, system: FreeBSD)
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Compiling on posix system: FreeBSD
CMake Warning (dev) at CMakeLists.txt:156 (GET_TARGET_PROPERTY):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "7-Zip-JBinding".  Use
  the target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

This warning is for project developers.  Use -Wno-dev to suppress it.


Build type: , platform: FreeBSD-amd64

Java VM: /usr/local/openjdk8/bin/java
Java compiler: /usr/local/openjdk8/bin/javac
Java header compiler: /usr/local/openjdk8/bin/javah
Java documentation tool: /usr/local/openjdk8/bin/javadoc
Java archiver: /usr/local/openjdk8/bin/jar
MinGW: No
MinGW-32: No
MinGW-64: No
APPLE:
Output package: ./sevenzipjbinding-9.20-2.00beta-FreeBSD-amd64.zip


Type 'make' to compile
Type 'ctest' to run tests (it could take up to 90 minutes on a slow CPU)
Type 'make package' to build a distribution package

-- Prepare for testing
-- Configuring done
-- Generating done
-- Build files have been written to: /7zip/SevenZipJBinding
root@jdownloader:/7zip/SevenZipJBinding # make package
Scanning dependencies of target sevenzipjbinding-test-jar
[  1%] test
warning: [options] bootstrap class path not set in conjunction with -source 1.5
warning: [options] source value 1.5 is obsolete and will be removed in a future release
warning: [options] target value 1.5 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
net/sf/sevenzipjbinding/junit/encoding/UnicodeFilenamesInArchive.java:8: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
                              ^
  symbol:   class ArchiveFormat
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/encoding/UnicodeFilenamesInArchive.java:9: error: cannot find symbol
import net.sf.sevenzipjbinding.ISequentialOutStream;
                              ^
  symbol:   class ISequentialOutStream
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/encoding/UnicodeFilenamesInArchive.java:10: error: cannot find symbol
import net.sf.sevenzipjbinding.IInArchive;
                              ^
  symbol:   class IInArchive
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/encoding/UnicodeFilenamesInArchive.java:11: error: cannot find symbol
import net.sf.sevenzipjbinding.SevenZip;
                              ^
  symbol:   class SevenZip
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/encoding/UnicodeFilenamesInArchive.java:12: error: cannot find symbol
import net.sf.sevenzipjbinding.SevenZipException;
                              ^
  symbol:   class SevenZipException
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/encoding/UnicodeFilenamesInArchive.java:13: error: package net.sf.sevenzipjbinding.impl does not exist
import net.sf.sevenzipjbinding.impl.RandomAccessFileInStream;
                                   ^
net/sf/sevenzipjbinding/junit/encoding/UnicodeFilenamesInArchive.java:15: error: package net.sf.sevenzipjbinding.simple does not exist
import net.sf.sevenzipjbinding.simple.ISimpleInArchive;
                                     ^
net/sf/sevenzipjbinding/junit/encoding/UnicodeFilenamesInArchive.java:16: error: package net.sf.sevenzipjbinding.simple does not exist
import net.sf.sevenzipjbinding.simple.ISimpleInArchiveItem;
                                     ^
net/sf/sevenzipjbinding/junit/JUnitNativeTestBase.java:9: error: cannot find symbol
import net.sf.sevenzipjbinding.SevenZip;
                              ^
  symbol:   class SevenZip
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/JUnitNativeTestBase.java:10: error: cannot find symbol
import net.sf.sevenzipjbinding.SevenZipException;
                              ^
  symbol:   class SevenZipException
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/JUnitNativeTestBase.java:11: error: cannot find symbol
import net.sf.sevenzipjbinding.SevenZipNativeInitializationException;
                              ^
  symbol:   class SevenZipNativeInitializationException
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/jbindingtools/ExceptionHandlingTest.java:17: error: cannot find symbol
import net.sf.sevenzipjbinding.SevenZipException;
                              ^
  symbol:   class SevenZipException
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/tools/ByteArrayStreamTest.java:14: error: cannot find symbol
import net.sf.sevenzipjbinding.ISeekableStream;
                              ^
  symbol:   class ISeekableStream
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/tools/ByteArrayStreamTest.java:16: error: package net.sf.sevenzipjbinding.util does not exist
import net.sf.sevenzipjbinding.util.ByteArrayStream;
                                   ^
net/sf/sevenzipjbinding/junit/tools/VolumedArchiveInStreamTest.java:8: error: cannot find symbol
import net.sf.sevenzipjbinding.IArchiveOpenVolumeCallback;
                              ^
  symbol:   class IArchiveOpenVolumeCallback
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/tools/VolumedArchiveInStreamTest.java:9: error: cannot find symbol
import net.sf.sevenzipjbinding.IInStream;
                              ^
  symbol:   class IInStream
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/tools/VolumedArchiveInStreamTest.java:10: error: cannot find symbol
import net.sf.sevenzipjbinding.PropID;
                              ^
  symbol:   class PropID
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/tools/VolumedArchiveInStreamTest.java:11: error: cannot find symbol
import net.sf.sevenzipjbinding.SevenZipException;
                              ^
  symbol:   class SevenZipException
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/tools/VolumedArchiveInStreamTest.java:12: error: package net.sf.sevenzipjbinding.impl does not exist
import net.sf.sevenzipjbinding.impl.VolumedArchiveInStream;
                                   ^
net/sf/sevenzipjbinding/junit/encoding/UnicodeFilenamesInArchive.java:40: error: cannot find symbol
    protected abstract ArchiveFormat getArchiveFormat();
                       ^
  symbol:   class ArchiveFormat
  location: class UnicodeFilenamesInArchive
net/sf/sevenzipjbinding/junit/encoding/UnicodeFilenamesInArchive.java:89: error: cannot find symbol
    private String extractUTF8ToString(ISimpleInArchiveItem iSimpleInArchiveItem) throws SevenZipException {
                                       ^
  symbol:   class ISimpleInArchiveItem
  location: class UnicodeFilenamesInArchive
net/sf/sevenzipjbinding/junit/encoding/UnicodeFilenamesInArchive.java:89: error: cannot find symbol
    private String extractUTF8ToString(ISimpleInArchiveItem iSimpleInArchiveItem) throws SevenZipException {
                                                                                         ^
  symbol:   class SevenZipException
  location: class UnicodeFilenamesInArchive
net/sf/sevenzipjbinding/junit/SevenZipExceptionStackTracePrinterRule.java:3: error: cannot find symbol
import net.sf.sevenzipjbinding.SevenZipException;
                              ^
  symbol:   class SevenZipException
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/JUnitNativeTestBase.java:54: error: cannot find symbol
    public static void initializeSevenZipJBinding() throws SevenZipNativeInitializationException {
                                                           ^
  symbol:   class SevenZipNativeInitializationException
  location: class JUnitNativeTestBase
net/sf/sevenzipjbinding/junit/jbindingtools/ExceptionHandlingTest.java:472: error: cannot find symbol
            boolean useException, boolean customErrorMessage) throws SevenZipException;
                                                                     ^
  symbol:   class SevenZipException
  location: class ExceptionHandlingTest
net/sf/sevenzipjbinding/junit/jbindingtools/ExceptionHandlingTest.java:481: error: cannot find symbol
            boolean customErrorMessage, int widthIndex, int mtWidthIndex) throws SevenZipException {
                                                                                 ^
  symbol:   class SevenZipException
  location: class ExceptionHandlingTest
net/sf/sevenzipjbinding/junit/jbindingtools/ExceptionHandlingTest.java:757: error: cannot find symbol
    static void checkSevenZipException(SevenZipException sevenZipException) {
                                       ^
  symbol:   class SevenZipException
  location: class ExceptionHandlingTest
net/sf/sevenzipjbinding/junit/tools/ByteArrayStreamTest.java:114: error: cannot find symbol
    private ByteArrayStream byteArrayStream;
            ^
  symbol:   class ByteArrayStream
  location: class ByteArrayStreamTest
net/sf/sevenzipjbinding/junit/tools/VolumedArchiveInStreamTest.java:295: error: cannot find symbol
    private void readTest(long[] streamSizes, int[] readSizes) throws SevenZipException {
                                                                      ^
  symbol:   class SevenZipException
  location: class VolumedArchiveInStreamTest
net/sf/sevenzipjbinding/junit/ArchiveFormatTest.java:5: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
                              ^
  symbol:   class ArchiveFormat
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ArchiveFormatTest.java:6: error: cannot find symbol
import net.sf.sevenzipjbinding.SevenZip;
                              ^
  symbol:   class SevenZip
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/DeclareThrowsSevenZipExceptionTest.java:6: error: cannot find symbol
import net.sf.sevenzipjbinding.SevenZip;
                              ^
  symbol:   class SevenZip
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/DeclareThrowsSevenZipExceptionTest.java:7: error: cannot find symbol
import net.sf.sevenzipjbinding.SevenZipException;
                              ^
  symbol:   class SevenZipException
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/DeclareThrowsSevenZipExceptionTest.java:8: error: cannot find symbol
import net.sf.sevenzipjbinding.SevenZipNativeInitializationException;
                              ^
  symbol:   class SevenZipNativeInitializationException
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/DeclareThrowsSevenZipExceptionTest.java:9: error: package net.sf.sevenzipjbinding.impl does not exist
import net.sf.sevenzipjbinding.impl.InArchiveImpl;
                                   ^
net/sf/sevenzipjbinding/junit/DeclareThrowsSevenZipExceptionTest.java:10: error: package net.sf.sevenzipjbinding.impl does not exist
import net.sf.sevenzipjbinding.impl.OutArchiveImpl;
                                   ^
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:14: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
                              ^
  symbol:   class ArchiveFormat
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:15: error: cannot find symbol
import net.sf.sevenzipjbinding.ExtractAskMode;
                              ^
  symbol:   class ExtractAskMode
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:16: error: cannot find symbol
import net.sf.sevenzipjbinding.ExtractOperationResult;
                              ^
  symbol:   class ExtractOperationResult
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:17: error: cannot find symbol
import net.sf.sevenzipjbinding.IArchiveExtractCallback;
                              ^
  symbol:   class IArchiveExtractCallback
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:18: error: cannot find symbol
import net.sf.sevenzipjbinding.IArchiveOpenCallback;
                              ^
  symbol:   class IArchiveOpenCallback
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:19: error: cannot find symbol
import net.sf.sevenzipjbinding.IArchiveOpenVolumeCallback;
                              ^
  symbol:   class IArchiveOpenVolumeCallback
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:20: error: cannot find symbol
import net.sf.sevenzipjbinding.ICryptoGetTextPassword;
                              ^
  symbol:   class ICryptoGetTextPassword
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:21: error: cannot find symbol
import net.sf.sevenzipjbinding.IInArchive;
                              ^
  symbol:   class IInArchive
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:22: error: cannot find symbol
import net.sf.sevenzipjbinding.IInStream;
                              ^
  symbol:   class IInStream
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:23: error: cannot find symbol
import net.sf.sevenzipjbinding.ISequentialOutStream;
                              ^
  symbol:   class ISequentialOutStream
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:24: error: cannot find symbol
import net.sf.sevenzipjbinding.PropID;
                              ^
  symbol:   class PropID
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:25: error: cannot find symbol
import net.sf.sevenzipjbinding.PropertyInfo;
                              ^
  symbol:   class PropertyInfo
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:26: error: cannot find symbol
import net.sf.sevenzipjbinding.SevenZip;
                              ^
  symbol:   class SevenZip
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:27: error: cannot find symbol
import net.sf.sevenzipjbinding.SevenZipException;
                              ^
  symbol:   class SevenZipException
  location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:28: error: package net.sf.sevenzipjbinding.impl does not exist
import net.sf.sevenzipjbinding.impl.RandomAccessFileInStream;
                                   ^
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:29: error: package net.sf.sevenzipjbinding.impl does not exist
import net.sf.sevenzipjbinding.impl.VolumedArchiveInStream;
                                   ^
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:44: error: cannot find symbol
    protected final ArchiveFormat archiveFormat;
                    ^
  symbol:   class ArchiveFormat
  location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:59: error: cannot find symbol
    public ExtractFileAbstractTest(ArchiveFormat archiveFormat, String extention, int compression1, int compression2,
                                   ^
  symbol:   class ArchiveFormat
  location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:68: error: cannot find symbol
    public ExtractFileAbstractTest(ArchiveFormat archiveFormat, int compression1, int compression2, int compression3) {
                                   ^
  symbol:   class ArchiveFormat
  location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:672: error: cannot find symbol
    protected final void checkArchiveGeneric(IInArchive inArchive) throws SevenZipException {
                                             ^
  symbol:   class IInArchive
  location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:672: error: cannot find symbol
    protected final void checkArchiveGeneric(IInArchive inArchive) throws SevenZipException {
                                                                          ^
  symbol:   class SevenZipException
  location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:345: error: cannot find symbol
        private IInStream randomAccessFileInStream;
                ^
  symbol:   class IInStream
  location: class ExtractFileAbstractTest.ExtractionInArchiveTestHelper
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:600: error: cannot find symbol
    public static class VolumeArchiveOpenCallback implements IArchiveOpenCallback, IArchiveOpenVolumeCallback,
                                                             ^
  symbol:   class IArchiveOpenCallback
  location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:600: error: cannot find symbol
    public static class VolumeArchiveOpenCallback implements IArchiveOpenCallback, IArchiveOpenVolumeCallback,
                                                                                   ^
  symbol:   class IArchiveOpenVolumeCallback
  location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:601: error: cannot find symbol
            ICryptoGetTextPassword {
            ^
  symbol:   class ICryptoGetTextPassword
  location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:352: error: cannot find symbol
        public IInArchive openArchiveFileWithSevenZip(int fileIndex, int compressionIndex,
               ^
  symbol:   class IInArchive
  location: class ExtractFileAbstractTest.ExtractionInArchiveTestHelper
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:353: error: cannot find symbol
                boolean autodetectFormat, String testFileNameWE, String testFileExt) throws SevenZipException {
                                                                                            ^
  symbol:   class SevenZipException
  location: class ExtractFileAbstractTest.ExtractionInArchiveTestHelper
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:368: error: cannot find symbol
        private IInArchive openArchiveFileWithSevenZip(String archiveFilename, boolean autodetectFormat)
                ^
  symbol:   class IInArchive
  location: class ExtractFileAbstractTest.ExtractionInArchiveTestHelper
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:369: error: cannot find symbol
                throws SevenZipException {
                       ^
  symbol:   class SevenZipException
  location: class ExtractFileAbstractTest.ExtractionInArchiveTestHelper
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:616: error: cannot find symbol
        public Object getProperty(PropID propID) {
                                  ^
  symbol:   class PropID
  location: class VolumeArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:628: error: cannot find symbol
        public IInStream getStream(String filename) {
               ^
  symbol:   class IInStream
  location: class VolumeArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:667: error: cannot find symbol
        public String cryptoGetTextPassword() throws SevenZipException {
                                                     ^
  symbol:   class SevenZipException
  location: class VolumeArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:471: error: cannot find symbol
    public class CombinedArchiveOpenCallback implements IArchiveOpenCallback, ICryptoGetTextPassword,
                                                        ^
  symbol:   class IArchiveOpenCallback
  location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:471: error: cannot find symbol
    public class CombinedArchiveOpenCallback implements IArchiveOpenCallback, ICryptoGetTextPassword,
                                                                              ^
  symbol:   class ICryptoGetTextPassword
  location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:472: error: cannot find symbol
            IArchiveOpenVolumeCallback {
            ^
  symbol:   class IArchiveOpenVolumeCallback
  location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:473: error: cannot find symbol
        private final ICryptoGetTextPassword cryptoGetTextPassword;
                      ^
  symbol:   class ICryptoGetTextPassword
  location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:474: error: cannot find symbol
        private final IArchiveOpenVolumeCallback archiveOpenVolumeCallback;
                      ^
  symbol:   class IArchiveOpenVolumeCallback
  location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:475: error: cannot find symbol
        private final IArchiveOpenCallback archiveOpenCallback;
                      ^
  symbol:   class IArchiveOpenCallback
  location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:477: error: cannot find symbol
        public CombinedArchiveOpenCallback(IArchiveOpenCallback archiveOpenCallback,
                                           ^
  symbol:   class IArchiveOpenCallback
  location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:478: error: cannot find symbol
                ICryptoGetTextPassword cryptoGetTextPassword, IArchiveOpenVolumeCallback archiveOpenVolumeCallback) {
                ^
  symbol:   class ICryptoGetTextPassword
  location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:478: error: cannot find symbol
                ICryptoGetTextPassword cryptoGetTextPassword, IArchiveOpenVolumeCallback archiveOpenVolumeCallback) {
                                                              ^
  symbol:   class IArchiveOpenVolumeCallback
  location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:485: error: cannot find symbol
        public void setCompleted(Long files, Long bytes) throws SevenZipException {
                                                                ^
  symbol:   class SevenZipException
  location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:489: error: cannot find symbol
        public void setTotal(Long files, Long bytes) throws SevenZipException {
                                                            ^
  symbol:   class SevenZipException
  location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:493: error: cannot find symbol
        public String cryptoGetTextPassword() throws SevenZipException {
                                                     ^
  symbol:   class SevenZipException
  location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:497: error: cannot find symbol
        public Object getProperty(PropID propID) throws SevenZipException {
                                  ^
  symbol:   class PropID
  location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:497: error: cannot find symbol
        public Object getProperty(PropID propID) throws SevenZipException {
                                                        ^
  symbol:   class SevenZipException
  location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:501: error: cannot find symbol
        public IInStream getStream(String filename) throws SevenZipException {
               ^
  symbol:   class IInStream
  location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:501: error: cannot find symbol
        public IInStream getStream(String filename) throws SevenZipException {
                                                           ^
  symbol:   class SevenZipException
  location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:507: error: cannot find symbol
    public class PasswordArchiveOpenCallback implements IArchiveOpenCallback, ICryptoGetTextPassword {
                                                        ^
  symbol:   class IArchiveOpenCallback
  location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:507: error: cannot find symbol
    public class PasswordArchiveOpenCallback implements IArchiveOpenCallback, ICryptoGetTextPassword {
                                                                              ^
  symbol:   class ICryptoGetTextPassword
  location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:527: error: cannot find symbol
        public String cryptoGetTextPassword() throws SevenZipException {
                                                     ^
  symbol:   class SevenZipException
  location: class ExtractFileAbstractTest.PasswordArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:533: error: cannot find symbol
    public class PasswordArchiveExtractCallback implements IArchiveExtractCallback, ICryptoGetTextPassword {
                                                           ^
  symbol:   class IArchiveExtractCallback
  location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:533: error: cannot find symbol
    public class PasswordArchiveExtractCallback implements IArchiveExtractCallback, ICryptoGetTextPassword {
                                                                                    ^
  symbol:   class ICryptoGetTextPassword
  location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:535: error: cannot find symbol
        private final ISequentialOutStream outputStream;
                      ^
  symbol:   class ISequentialOutStream
  location: class ExtractFileAbstractTest.PasswordArchiveExtractCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:536: error: cannot find symbol
        private ExtractOperationResult extractOperationResult;
                ^
  symbol:   class ExtractOperationResult
  location: class ExtractFileAbstractTest.PasswordArchiveExtractCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:538: error: cannot find symbol
        public PasswordArchiveExtractCallback(ISequentialOutStream outputStream) {
                                              ^
  symbol:   class ISequentialOutStream
  location: class ExtractFileAbstractTest.PasswordArchiveExtractCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:546: error: cannot find symbol
        public ISequentialOutStream getStream(int index, ExtractAskMode extractAskMode) {
                                                         ^
  symbol:   class ExtractAskMode
  location: class ExtractFileAbstractTest.PasswordArchiveExtractCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:546: error: cannot find symbol
        public ISequentialOutStream getStream(int index, ExtractAskMode extractAskMode) {
               ^
  symbol:   class ISequentialOutStream
  location: class ExtractFileAbstractTest.PasswordArchiveExtractCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:554: error: cannot find symbol
        public void prepareOperation(ExtractAskMode extractAskMode) {
                                     ^
  symbol:   class ExtractAskMode
  location: class ExtractFileAbstractTest.PasswordArchiveExtractCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:561: error: cannot find symbol
        public void setOperationResult(ExtractOperationResult extractOperationResult) {
                                       ^
  symbol:   class ExtractOperationResult
  location: class ExtractFileAbstractTest.PasswordArchiveExtractCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:583: error: cannot find symbol
        public String cryptoGetTextPassword() throws SevenZipException {
                                                     ^
  symbol:   class SevenZipException
  location: class ExtractFileAbstractTest.PasswordArchiveExtractCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:587: error: cannot find symbol
        public ExtractOperationResult getExtractOperationResult() {
               ^
  symbol:   class ExtractOperationResult
  location: class ExtractFileAbstractTest.PasswordArchiveExtractCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:592: error: cannot find symbol
    public static class ExtractOperationResultException extends SevenZipException {
                                                                ^
  symbol:   class SevenZipException
  location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:595: error: cannot find symbol
        public ExtractOperationResultException(ExtractOperationResult extractOperationResult) {
                                               ^
  symbol:   class ExtractOperationResult
  location: class ExtractOperationResultException
Note: net/sf/sevenzipjbinding/junit/junittools/MyRunner.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
100 errors
4 warnings
*** Error code 1

Stop.
make[2]: stopped in /7zip/SevenZipJBinding
*** Error code 1

Stop.
make[1]: stopped in /7zip/SevenZipJBinding
*** Error code 1

Stop.
make: stopped in /7zip/SevenZipJBinding
root@jdownloader:/7zip/SevenZipJBinding #

Last edited by honeybee; 21.02.2019 at 01:01.
Reply With Quote
  #12  
Old 20.02.2019, 22:56
honeybee honeybee is offline
Vacuum Cleaner
 
Join Date: Feb 2019
Posts: 18
Default

So, sorry für den Spamm.

Ich habe jetzt nachdem ich gestern und heute tausende Pakete in meine jail installiert habe einfach mal den jdownoader neu runtergeladen und gestartet.

Hatten sachen installiert wie: compat9x, compat10x and compat 11x p7zip, p7zip-codec-rar, unzip, zip
unrar libunrar5 libarchive (Alles im Freenas Forum gelesen)

Siehe da, es geht. Aber erstmal nur für zips. Will aber rar5...

Code:
------------------------Thread: 39:ExtractionExtension.log-----------------------
--ID:39TS:1550695608134-2/20/19 9:46:48 PM -  [org.jdownloader.extensions.extraction.multi.Multi(checkLibraries)] -> Try Lib IDs: [FreeBSD-amd64]
--ID:39TS:1550695608134-2/20/19 9:46:48 PM -  [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Try Lib ID: FreeBSD-amd64
--ID:39TS:1550695608135-2/20/19 9:46:48 PM -  [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Try Lib Path: /jdownloader/tmp/7zip->true
--ID:39TS:1550695608176-2/20/19 9:46:48 PM -  [org.jdownloader.extensions.extraction.multi.Multi(isAvailable)] -> Supported SevenZipJBinding|Version=4.65|RAR5=false|CPU_ARCH=X86|OS_FAM=BSD|OS=FREEBSD|64Bit_JVM=true|64Bit_ARCH=true
--ID:39TS:1550695608178-2/20/19 9:46:48 PM -  [org.jdownloader.extensions.AbstractExtension(init)] -> Init Duration: 135
------------------------Thread: 982:ExtractionExtension.log-----------------------
--ID:982TS:1550695756366-2/20/19 9:49:16 PM -  [org.jdownloader.extensions.extraction.ExtractionExtension(onNewArchive)] -> Archive:test
Type:RAR_SINGLE
Existing:DownloadLink:/mnt/Downloads/test.rar|Complete:true
Complete:true
--ID:982TS:1550695756366-2/20/19 9:49:16 PM -  [org.jdownloader.extensions.extraction.ExtractionExtension(onNewArchive)] -> Caller:Thread[Download: test.rar_http links,1,]|Archive:test|Complete|Size:1
--ID:982TS:1550695756369-2/20/19 9:49:16 PM -  [org.jdownloader.extensions.extraction.ExtractionExtension(addToQueue)] -> Archive:test
Type:RAR_SINGLE
Existing:DownloadLink:/mnt/Downloads/test.rar|Complete:true
Complete:true

Last edited by honeybee; 21.02.2019 at 01:05.
Reply With Quote
  #13  
Old 20.02.2019, 23:44
honeybee honeybee is offline
Vacuum Cleaner
 
Join Date: Feb 2019
Posts: 18
Default

Und er spammt weiter ...

Deine Konversation hier vom letzten Jahr hat mir geholfen.
https://board.jdownloader.org/showpo...&postcount=255
Mit dem git checkout migrate-to-15.09-try2 hat später das make fast geklappt.

Es gab noch einen Fehler,
Code:
[  1%] Linking CXX shared library lib7-Zip-JBinding.so
/usr/bin/ld: cannot find -ldl
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[2]: stopped in /7zip/Seven
*** Error code 1

Stop.
make[1]: stopped in /7zip/Seven
*** Error code 1

Stop.
make: stopped in /7zip/Seven
aber den konnte ich mit diesem Hinweis hier beseitigen.
https://board.jdownloader.org/showpo...37&postcount=5
Hat nur etwas gedauert diese link.txt bei mir zu finden

make package hat dann auch einwandfrei geklappt.
Habe jetzt eine wundeschöne sevenzipjbinding.jar und sevenzipjbinding-FreeBSD-amd64.jar

Habe sie dann noch umgenannt und in libs gepackt wie du hier gesagt hast:
https://board.jdownloader.org/showpo...&postcount=257


Jetzt klappt alles, entpackt brav rar5 als wäre es das normalste überhaupt...
Code:
------------------------Thread: 36:ExtractionExtension.log-----------------------
--ID:36TS:1550698930226-2/20/19 10:42:10 PM -  [org.jdownloader.extensions.extraction.multi.Multi(checkLibraries)] -> Try Lib IDs: [FreeBSD-amd64]
--ID:36TS:1550698930226-2/20/19 10:42:10 PM -  [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Try Lib ID: FreeBSD-amd64
--ID:36TS:1550698930243-2/20/19 10:42:10 PM -  [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Try Lib Path: /jdownloader/tmp/7zip->true
--ID:36TS:1550698930297-2/20/19 10:42:10 PM -  [org.jdownloader.extensions.extraction.multi.Multi(isAvailable)] -> Supported SevenZipJBinding|Version=15.09-2.01beta|RAR5=true|CPU_ARCH=X86|OS_FAM=BSD|OS=FREEBSD|64Bit_JVM=true|64Bit_ARCH=true
--ID:36TS:1550698930368-2/20/19 10:42:10 PM -  [org.jdownloader.extensions.AbstractExtension(init)] -> Init Duration: 222
------------------------Thread: 405:ExtractionExtension.log-----------------------
--ID:405TS:1550698993071-2/20/19 10:43:13 PM -  [org.jdownloader.extensions.extraction.ExtractionExtension(onNewArchive)] -> Archive:test
Type:ZIP_SINGLE
Existing:DownloadLink:/mnt/Downloads/test.zip|Complete:true
Complete:true
--ID:405TS:1550698993071-2/20/19 10:43:13 PM -  [org.jdownloader.extensions.extraction.ExtractionExtension(onNewArchive)] -> Caller:Thread[Download: test.zip_http links,1,]|Archive:test|Complete|Size:1
--ID:405TS:1550698993073-2/20/19 10:43:13 PM -  [org.jdownloader.extensions.extraction.ExtractionExtension(addToQueue)] -> Archive:test
Type:ZIP_SINGLE
Existing:DownloadLink:/mnt/Downloads/test.zip|Complete:true
Complete:true
------------------------Thread: 644:ExtractionExtension.log-----------------------
--ID:644TS:1550699019610-2/20/19 10:43:39 PM -  [org.jdownloader.extensions.extraction.ExtractionExtension(onNewArchive)] -> Archive:test
Type:RAR_SINGLE
Existing:DownloadLink:/mnt/Downloads/test.rar|Complete:true
Complete:true
--ID:644TS:1550699019618-2/20/19 10:43:39 PM -  [org.jdownloader.extensions.extraction.ExtractionExtension(onNewArchive)] -> Caller:Thread[Download: test.rar_http links,1,]|Archive:test|Complete|Size:1
--ID:644TS:1550699019620-2/20/19 10:43:39 PM -  [org.jdownloader.extensions.extraction.ExtractionExtension(addToQueue)] -> Archive:test
Type:RAR_SINGLE
Existing:DownloadLink:/mnt/Downloads/test.rar|Complete:true
Complete:true

Erstmal ein Snapshot von dem Jail machen :-) :-) :-)

Kannst du mit den Dateien irgendwas anfangen, damit andere sich nicht so abmühen müssen in FreeBSD?

Last edited by honeybee; 21.02.2019 at 00:57.
Reply With Quote
  #14  
Old 21.02.2019, 15:22
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Wow, vielen Dank fürs *werkeln* und vor allem fürs *nicht aufgeben*
Könntest du mir die 2 erstellten JAR Dateien an support@jdownloader.org schicken?
Dann bereite ich die vor und verlinke sie dann entsprechend
__________________
JD-Dev & Server-Admin
Reply With Quote
  #15  
Old 21.02.2019, 15:23
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Boris, der Entwickler des Bindings wird demnächst die aktuellste 7Zip ein Binding bauen und dann wollen wir diese auch Out-of-the-Box mitliefern für alle Plattformen wo wir fertige Libs haben
__________________
JD-Dev & Server-Admin
Reply With Quote
  #16  
Old 21.02.2019, 15:24
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Evtl auch nochmal kurz *step by step* schreiben welche Schritte du gemacht hast, dann könnten wir das entsprechend auch verlinken ne art kleines wiki zum selbst bauen der lib
__________________
JD-Dev & Server-Admin
Reply With Quote
  #17  
Old 21.02.2019, 15:59
honeybee honeybee is offline
Vacuum Cleaner
 
Join Date: Feb 2019
Posts: 18
Default

Hallo Jiaz,

ich habe euch gerade die beiden Files geschickt. Ich erstelle am Wochenende mal ein ordentlich dokumentiertes HowTo in einem neuen Jail. Ist aber wie gesagt in so einem FreeNAS Jail immer eine haarsträubende Geschichte. Auf meinem Linux Server geht hingegen immer alles out of the box und völlig problemlos. Zum Glück dank iocage schon etwas besser geworden in letzter Zeit.

Last edited by honeybee; 21.02.2019 at 16:03.
Reply With Quote
  #18  
Old 21.02.2019, 16:00
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Danke für die Mail. Werde das bei Zeiten aufarbeiten und im RAR5 Link verlinken
__________________
JD-Dev & Server-Admin
Reply With Quote
  #19  
Old 22.02.2019, 00:13
honeybee honeybee is offline
Vacuum Cleaner
 
Join Date: Feb 2019
Posts: 18
Default

Ich habe mein step-by-step tutorial mal ins freenas board gepackt:

**External links are only visible to Support Staff****External links are only visible to Support Staff**

Ich werde das in nächster Zeit etwas aufhübschen, dass man leicht folgen kann.
Wie man die libs baut ist ebenfalls enthalten.
Allerdings eben alles auf FreeNAS/FreeBSD im iocage ausgelegt.

Last edited by honeybee; 23.02.2019 at 01:40.
Reply With Quote
  #20  
Old 22.02.2019, 10:35
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Danke für das Tutorial und die Verlinkung
__________________
JD-Dev & Server-Admin
Reply With Quote
  #21  
Old 22.02.2019, 11:55
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Klasse Tutorial !

Habe noch eine Anmerkung. Du solltest noch Direct-Connection Support ermöglichen, damit Clients direkt mit der Instanz reden können. Hierzu ist eine Port-Weiterleitung vom Host in die Jail nötig, da die Jail oftmals einen eigenen IP Bereich hat und nicht direkt von außen erreichbar ist. Oder haben IOCages die gleiche IP wie der Host?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #22  
Old 22.02.2019, 11:58
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Weitere Anmerkung: statt die Eigentümer immer zu richten, einfach die umask anpassen, damit die erstellten Ordner/Dateien von allen zugreifbar sind. zb ein kleines Startscript

Quote:
#!/bin/bash
umask 000
cd /pathtoJDownloader
java -Djava.awt.headless=true -jar JDownloader.jar >/dev/null 2>/dev/null &
Mittels geänderte umask können auch nicht root Nutzer dann *normal* auf die Ordner/Dateien zugreifen

Oder du lässt den JD direkt mit den richtigen Rechten laufen
__________________
JD-Dev & Server-Admin
Reply With Quote
  #23  
Old 23.02.2019, 01:19
honeybee honeybee is offline
Vacuum Cleaner
 
Join Date: Feb 2019
Posts: 18
Default

Super danke, das werde ich mal testen und dann auch in meinen Guide aufnehmen.

Ja hatte mir auch überlegt einfach mein "useraccount" 1001 auf dem jail anzulegen und ihn jdownloader starten zu lassen ... aber erstmal wieder einlesen wie das geht :-)

Klappt mit dem file in /etc/rc.d/ einwandfrei, vielen dank! Habe noch einen stop und restart sowie echos hinzugefügt.

Quote:
#!/bin/sh

. /etc/rc.subr

name=jd2
rcvar=jd2_enable

start_cmd="${name}_start"
stop_cmd="${name}_stop"

load_rc_config $name

jd2_start()
{
#!/bin/bash
echo "starting JDownloader2..."
umask 000
cd /jdownloader/
/usr/local/bin/java -Djava.awt.headless=true -jar JDownloader.jar >/dev/null 2>/dev/null &
}

jd2_stop()
{
#!/bin/bash
echo "killing java (and JDownloader2)..."
pgrep java | xargs kill
}

jd2_restart()
{
#!/bin/bash
echo "killing java (and JDownloader2)..."
pgrep java | xargs kill
umask 000
cd /jdownloader/
echo "starting JDownloader2..."
/usr/local/bin/java -Djava.awt.headless=true -jar JDownloader.jar >/dev/null 2>/dev/null &
}

run_rc_command "$1"
Habe das Tut übrigens ins richtige Subforum gepackt:
forums.freenas.org/threads/guide-jdownloader2-in-11-1-release-iocage-with-rar5-working.74073/

Last edited by Jiaz; 25.02.2019 at 16:34.
Reply With Quote
  #24  
Old 23.02.2019, 02:31
honeybee honeybee is offline
Vacuum Cleaner
 
Join Date: Feb 2019
Posts: 18
Default

Quote:
Originally Posted by Jiaz View Post
Klasse Tutorial !

Habe noch eine Anmerkung. Du solltest noch Direct-Connection Support ermöglichen, damit Clients direkt mit der Instanz reden können. Hierzu ist eine Port-Weiterleitung vom Host in die Jail nötig, da die Jail oftmals einen eigenen IP Bereich hat und nicht direkt von außen erreichbar ist. Oder haben IOCages die gleiche IP wie der Host?
In meinem Setup haben sie eine SharedIP, also eigene IP im normalen Heimsubnetz aber im Grunde geht alles ins selbe System und soweit ich sehe teilen sie sich auch die Ports irgendwie. Sehr komisches setup aber klappt.
Wenn ich im Jail "ifconfig" mache bekomme ich exakt den gleichen Adapter wie im Hostsystem angezeigt mit der selben Mac Adresse, aber nur einer anderen IP.

Sprich sobald man den Direct Connect Modus aktiviert und einen Port vergibt kann dieser auch von außen angesprochen werden bei entsprechend konfiguriertem Router.

Funktioniert also out-of-the-box in dem jail und braucht dort keine extra Konfiguration.
Ich persönlich habe aber lieber so wenig Ports wie möglich offen und nutze stattdessen lieber an meinen Geräten VPN.

Last edited by honeybee; 23.02.2019 at 10:50.
Reply With Quote
  #25  
Old 25.02.2019, 16:34
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Danke fürs Feedback bzgl SharedIP. Ich kenne Jails meist so, das der Container dann eine eigene innere IP hat, und daher Direct-Connections nicht Out-of-the-Box laufen
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 18:45.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.