Package Details: java-service-wrapper 3.5.59-1

Git Clone URL: https://aur.archlinux.org/java-service-wrapper.git (read-only, click to copy)
Package Base: java-service-wrapper
Description: Enables a Java Application to be run as a Windows Service or Unix Daemon
Upstream URL: https://wrapper.tanukisoftware.com/doc/english/introduction.html
Licenses: GPL2, custom:tanuki-community
Submitter: None
Maintainer: Salama
Last Packager: Salama
Votes: 144
Popularity: 0.24
First Submitted: 2011-09-28 06:51 (UTC)
Last Updated: 2024-10-03 13:19 (UTC)

Dependencies (2)

Sources (1)

Pinned Comments

skydrome commented on 2020-02-06 04:41 (UTC) (edited on 2020-02-06 04:44 (UTC) by skydrome)

pacman.conf

[home_skydrome_Arch]
Server = https://download.opensuse.org/repositories/home:/skydrome/Arch/x86_64

Add key

wget https://download.opensuse.org/repositories/home:/skydrome/Arch/x86_64/home_skydrome_Arch.key
pacman-key --add home_skydrome_Arch.key
pacman-key --lsign-key 2e4b3a0b799d7113

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 12 Next › Last »

skydrome commented on 2022-04-19 02:58 (UTC)

miguelmsoler, this might be because of how outdated the package was, ive just updated it on the repo and installed with the key verification working fine. If it still shows you an error it could be you need to refresh your key db again

miguelmsoler commented on 2022-04-18 12:59 (UTC)

Hi. I started to see this error when running pacman -Sy

error: home_skydrome_Arch: signature from "home:skydrome OBS Project <home:skydrome@build.opensuse.org>" is unknown trust
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))
error: home_skydrome_Arch: signature from "home:skydrome OBS Project <home:skydrome@build.opensuse.org>" is unknown trust
error: database 'home_skydrome_Arch' is not valid (invalid or corrupted database (PGP signature))

I added the key again, but it didn't fix it.

pegasus commented on 2020-08-15 18:14 (UTC) (edited on 2020-08-15 18:15 (UTC) by pegasus)

That seems redundant and weird, but it also doesn't answer the question about /usr/bin/java existing and not being used instead.

You are correct about $ sudo archlinux-java fix/set setting it up properly, though, so hat's off to you for that one.

skydrome commented on 2020-08-15 17:20 (UTC)

default and default-runtime are created by archlinux-java they point to exactly the same place. Try running archlinux-java fix/set

pegasus commented on 2020-08-15 10:09 (UTC)

We have tried to execute /usr/lib/jvm/default/bin/java but failed.


pegasus@Li⁺:~$ which java
/usr/bin/java
pegasus@Li⁺:~$ ls -l /usr/bin/java
lrwxrwxrwx 1 root root 37 May 16 09:25 /usr/bin/java -> /usr/lib/jvm/default-runtime/bin/java*

1) why are you calling /usr/lib/jvm/default/bin/java when /usr/bin/java exists?

2) is /default/ Arch, and /default-runtime/ Artix-specific?

I'm tempted to flag this package out of date, but it's been a while since I ran Arch proper, and have no memory of where java actually lived back then.

skydrome commented on 2020-02-06 04:41 (UTC) (edited on 2020-02-06 04:44 (UTC) by skydrome)

pacman.conf

[home_skydrome_Arch]
Server = https://download.opensuse.org/repositories/home:/skydrome/Arch/x86_64

Add key

wget https://download.opensuse.org/repositories/home:/skydrome/Arch/x86_64/home_skydrome_Arch.key
pacman-key --add home_skydrome_Arch.key
pacman-key --lsign-key 2e4b3a0b799d7113

AlPiotrowicz commented on 2019-11-25 23:02 (UTC)

Hey @applebloom. I had the exactly same problem. Try to compile inside a clean chroot.

applebloom commented on 2019-11-24 02:06 (UTC) (edited on 2019-11-24 02:07 (UTC) by applebloom)

I tried to build today (no aur helper) and got:

BUILD FAILED
/tmp/java-service-wrapper/src/wrapper_3.5.41_src/build.xml:552: javah does not exist under Java 10 and higher, use the javac task with nativeHeaderDir instead
% archlinux-java status
Available Java environments:
  java-10-openjdk
  java-13-openjdk (default)
  java-8-openjdk

skydrome commented on 2019-11-08 01:47 (UTC)

I removed settings JAVA_HOME from the pkgbuild thinking it wasnt needed, but I still had it in my environment which is why it built for me. I added it back, sry

AlPiotrowicz commented on 2019-11-07 20:11 (UTC)

It fails in the clean chroot:


==> Detected Java 13.0.1
patching file build.xml
Hunk #1 succeeded at 515 with fuzz 2 (offset -47 lines).
Hunk #2 succeeded at 545 (offset -47 lines).
==> Starting build()...
Buildfile: /build/java-service-wrapper/src/wrapper_3.5.41_src/build.xml

init-setup:

init-windows:

init-unix:

init-bits-check:

init-bits-mismatch-check:

init:

init:msg: [echo] ********** [echo] * About to build a 64-bit version of Java Service Wrapper Community 3.5.41. [echo] * The OS Name is "linux", resolved from "Linux". [echo] * The Architecture is "x86", resolved from "amd64". [echo] * The distribution name will be: wrapper-linux-x86-64-3.5.41 [echo] **********

init:java-missing:

convert:

update-info: [copy] Copying 1 file to /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper

compile-java-warn: [echo] ********** [echo] * WARNING [echo] * The jar is being built for Java version 8. This will not be [echo] * compatible with older JVMs. [echo] **********

compile-java:core: [mkdir] Created dir: /build/java-service-wrapper/src/wrapper_3.5.41_src/build/classes [mkdir] Created dir: /build/java-service-wrapper/src/wrapper_3.5.41_src/build/testclasses [mkdir] Created dir: /build/java-service-wrapper/src/wrapper_3.5.41_src/lib [javac] Compiling 108 source files to /build/java-service-wrapper/src/wrapper_3.5.41_src/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 8 [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperActionServer.java:208: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] action = (Runnable)m_actions.get( new Integer( command ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperActionServer.java:349: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_actions.put( new Integer( command ), action ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperActionServer.java:363: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_actions.remove( new Integer( command ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperJarApp.java:308: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_outDebug.println( WrapperManager.getRes().getString(" Classpath[{0}]=", new Integer( i ) ) + classURLs[i] ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperJarApp.java:525: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_mainExitCode = new Integer( 1 ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperJarApp.java:562: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] return new Integer( 1 ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperJarApp.java:591: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] "start(args) Will wait up to {0} seconds for the main method to complete.", new Integer( maxLoops ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperJarApp.java:653: warning: [deprecation] Boolean(boolean) in Boolean has been deprecated [javac] new Boolean( m_mainComplete ), m_mainExitCode ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperJarApp.java:695: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] "controlEvent({0}) Stopping", new Integer( event ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:563: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_outDebug.println( getRes().getString( " Size: {0}", new Integer( jarSize ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:994: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( offsetDiff * TICK_MS ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:999: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( -1 * offsetDiff * TICK_MS ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:1026: warning: [deprecation] Long(long) in Long has been deprecated [javac] new Long( age / 1000 ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:1169: warning: [deprecation] finalize() in Object has been deprecated [javac] protected void finalize() [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:1182: warning: [deprecation] finalize() in Object has been deprecated [javac] super.finalize(); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:2346: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( i) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:2889: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_outInfo.println( getRes().getString( "WARNING: Making JVM appear to be slow using a delay of {0} seconds...", new Integer( slowSeconds ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:3242: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_outDebug.println( getRes().getString( "Initial thread: {0} Priority: {1}", thisThread.getName(), new Integer( thisThread.getPriority() ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:3323: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] thisThread.getName(), new Integer( lock.m_count ), new Integer( m_shutdownLocks ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:3323: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] thisThread.getName(), new Integer( lock.m_count ), new Integer( m_shutdownLocks ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:3353: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] thisThread.getName(), new Integer( lock.m_count ), new Integer( m_shutdownLocks ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:3353: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] thisThread.getName(), new Integer( lock.m_count ), new Integer( m_shutdownLocks ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:3375: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] "wait for {0} shutdown locks to be released.", new Integer(m_shutdownLocks ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:3392: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] "Waiting for {0} shutdown locks to be released..." , new Integer(m_shutdownLocks ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4367: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_outDebug.println( getRes().getString( "Pausing for {0}ms to allow a clean shutdown...", new Integer( delay ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4489: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_outDebug.println( getRes().getString( "Application start main thread: {0} Priority: {1}", thisThread.getName(), new Integer( thisThread.getPriority() ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4533: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( exitCode ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4585: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( exitCode ), Thread.currentThread().getName() ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4610: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( exitCode ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4639: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( exitCode ), e.toString() ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4642: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( exitCode ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4812: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] final Integer[] codeF = new Integer[] {new Integer(code)}; [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4831: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_outDebug.println( getRes().getString( "Application stop main thread: {0} Priority: {1}", thisThread.getName(), new Integer( thisThread.getPriority() ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4839: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] codeF[0] = new Integer( m_listener.stop( codeF[0].intValue() ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4899: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( code ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4958: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] eventName = getRes().getString( "Unexpected event: {0}", new Integer( event ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5166: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( tryPort ), e.toString() ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5186: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( tryPort ), new Integer( m_port ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5186: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( tryPort ), new Integer( m_port ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5199: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_port ), e ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5222: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( tryPort ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5253: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( tryPort ), Integer.toString( portStatus ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5276: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_jvmPort ), new Integer( tryPort ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5276: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_jvmPort ), new Integer( tryPort ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5294: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_port ), new Integer( m_jvmPortMin ), new Integer( m_jvmPortMax ), causeMessage ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5294: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_port ), new Integer( m_jvmPortMin ), new Integer( m_jvmPortMax ), causeMessage ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5294: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_port ), new Integer( m_jvmPortMin ), new Integer( m_jvmPortMax ), causeMessage ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5300: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_port ), new Integer( m_jvmPortMin ), causeMessage ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5300: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_port ), new Integer( m_jvmPortMin ), causeMessage ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5319: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_soTimeout ), new Integer( m_backendSocket.getSoTimeout() ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5319: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_soTimeout ), new Integer( m_backendSocket.getSoTimeout() ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5420: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_outDebug.println( getRes().getString( "Waiting for {0} threads to finish launching child processes...", new Integer( m_runningExecs ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5431: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_outError.println( getRes().getString( "Timed out waiting for {0} threads to finish launching child processes.", new Integer( m_runningExecs ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5858: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_outDebug.println( getRes().getString( " Delay packet processing by {0} seconds.", new Integer( m_slowSeconds ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5929: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_lowLogLevel ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5951: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( serviceControlCode ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:6052: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] "Wrapper code received an unknown packet type: {0}", new Integer( code ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:6062: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_backendSocket.getSoTimeout() ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperResources.java:96: warning: [deprecation] finalize() in Object has been deprecated [javac] protected void finalize() [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperResources.java:118: warning: [deprecation] finalize() in Object has been deprecated [javac] super.finalize(); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperProcessConfig.java:336: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer ( softShutdownTimeout ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperProcessConfig.java:366: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( startType ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperProcess.java:62: warning: [deprecation] finalize() in Object has been deprecated [javac] protected void finalize() [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperProcess.java:74: warning: [deprecation] finalize() in Object has been deprecated [javac] super.finalize(); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperSimpleApp.java:428: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_mainExitCode = new Integer( 1 ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperSimpleApp.java:467: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] return new Integer( 1 ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperSimpleApp.java:497: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer(maxLoops) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperSimpleApp.java:559: warning: [deprecation] Boolean(boolean) in Boolean has been deprecated [javac] new Boolean( m_mainComplete ), m_mainExitCode ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperSimpleApp.java:573: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] "stop({0})", new Integer ( exitCode ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperSimpleApp.java:602: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] "controlEvent({0}) Stopping", new Integer( event ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperStartStopApp.java:509: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_mainExitCode = new Integer( 1 ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperStartStopApp.java:546: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] return new Integer( 1 ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperStartStopApp.java:576: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer(maxLoops) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperStartStopApp.java:638: warning: [deprecation] Boolean(boolean) in Boolean has been deprecated [javac] new Boolean( m_mainComplete ), m_mainExitCode ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperStartStopApp.java:651: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_outDebug.println(WrapperManager.getRes().getString( "stop({0})", new Integer( exitCode ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperStartStopApp.java:695: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( threadCnt - systemThreadCount ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperStartStopApp.java:756: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] "controlEvent({0}) Stopping", new Integer( event ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperStartStopApp.java:925: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_initError = WrapperManager.getRes().getString( "Not enough arguments. Argument count of {0} was specified.", new Integer( argCount) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/demo/DeadLock.java:30: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] System.out.println( DemoApp.getRes().getString( "Locker-{0}: Started", new Integer( m_id ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/demo/DeadLock.java:42: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] System.out.println( DemoApp.getRes().getString( "Locker-{0}: Complete", new Integer( m_id ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/demo/DeadLock.java:53: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] System.out.println( DemoApp.getRes().getString( "Locker-{0}: Try locking {1}...", new Integer( m_id ), m_obj2.toString() ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/demo/DeadLock.java:56: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] System.out.println( DemoApp.getRes().getString( "Locker-{0}: Oops! Locked {1}", new Integer( m_id ), m_obj2.toString() ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/demo/DeadLock.java:82: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] System.out.println( DemoApp.getRes().getString( "Locker-{0}: Locking {1}...", new Integer( m_id ), m_obj1.toString() ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/demo/DeadLock.java:85: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] System.out.println( DemoApp.getRes().getString( "Locker-{0}: Locked {1}", new Integer( m_id ), m_obj1.toString() ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/demo/DemoApp.java:111: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] System.out.println( getRes().getString( "TestWrapper: controlEvent({0})", new Integer( event ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/event/WrapperServiceActionEvent.java:135: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] return WrapperManager.getRes().getString( "Unknown Code {0}", new Integer( actionSourceCode ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/security/WrapperUserEventPermission.java:223: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] throw new AccessControlException( WrapperManager.getRes().getString( "Value {0} is out of bounds.", new Integer( lastValue ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/security/WrapperUserEventPermission.java:233: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] throw new AccessControlException( WrapperManager.getRes().getString( "Value {0} is out of bounds.", new Integer( lastValue ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/security/WrapperUserEventPermission.java:237: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] throw new AccessControlException( WrapperManager.getRes().getString( "Value {0} is not sorted.", new Integer( currentValue ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/security/WrapperUserEventPermission.java:251: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] throw new AccessControlException( WrapperManager.getRes().getString( "Value {0} is out of bounds.", new Integer( lastValue ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/security/WrapperUserEventPermission.java:255: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] throw new AccessControlException( WrapperManager.getRes().getString( "Value {0} is not sorted.", new Integer( currentValue ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/security/WrapperUserEventPermission.java:261: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] throw new AccessControlException( WrapperManager.getRes().getString( "Value {0} is out of bounds.", new Integer( lastValue ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/security/WrapperUserEventPermission.java:265: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] throw new AccessControlException( WrapperManager.getRes().getString( "Value {0} is not sorted.", new Integer( currentValue ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/security/WrapperUserEventPermission.java:276: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] throw new java.security.AccessControlException( WrapperManager.getRes().getString( "Value {0} is not sorted.", new Integer( currentValue ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/test/AbstractActionApp.java:643: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] System.out.println( Main.getRes().getString( "Service after user code {0} : {1}", new Integer( i ), service ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/test/DeadLockBase.java:43: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_id = new Integer( id ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/test/DeadLockBase.java:96: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] rentrantLockClass.getMethod( "lock", null ).invoke( lock2, [javac] ^ [javac] cast to Class for a varargs call [javac] cast to Class[] for a non-varargs call and to suppress this warning [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/test/DeadLockBase.java:104: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] rentrantLockClass.getMethod( "unlock", null ).invoke( lock2, [javac] ^ [javac] cast to Class for a varargs call [javac] cast to Class[] for a non-varargs call and to suppress this warning [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/test/DeadLockBase.java:162: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] rentrantLockClass.getMethod( "lock", null ).invoke( lock1, [javac] ^ [javac] cast to Class for a varargs call [javac] cast to Class[] for a non-varargs call and to suppress this warning [javac] Note: Some input files additionally use or override a deprecated API. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 100 warnings [javac] only showing the first 100 warnings, of 103 total; use -Xmaxwarns if you would like to see more [copy] Copying 18 files to /build/java-service-wrapper/src/wrapper_3.5.41_src/build/classes

check:junit: [echo] ********** [echo] * JUnit jar not found. Not running tests. [echo] **********

compile-java:junit:

compile-java:

jar:jar: [jar] Building jar: /build/java-service-wrapper/src/wrapper_3.5.41_src/lib/wrapper.jar [jar] Building jar: /build/java-service-wrapper/src/wrapper_3.5.41_src/lib/wrappertest.jar [jar] Building jar: /build/java-service-wrapper/src/wrapper_3.5.41_src/lib/wrapperdemo.jar [jar] Building jar: /build/java-service-wrapper/src/wrapper_3.5.41_src/lib/wrappertest2.jar

jar:

init-setup:

init-windows:

init-unix:

init-bits-check:

init-bits-mismatch-check:

init:

init:msg: [echo] ********** [echo] * About to build a 64-bit version of Java Service Wrapper Community 3.5.41. [echo] * The OS Name is "linux", resolved from "Linux". [echo] * The Architecture is "x86", resolved from "amd64". [echo] * The distribution name will be: wrapper-linux-x86-64-3.5.41 [echo] **********

update-info-c: [copy] Copying 1 file to /build/java-service-wrapper/src/wrapper_3.5.41_src/src/c

compile-c-unix-check:

compile-c-unix: [mkdir] Created dir: /build/java-service-wrapper/src/wrapper_3.5.41_src/bin [mkdir] Created dir: /build/java-service-wrapper/src/wrapper_3.5.41_src/test [echo] Build native components using 'make' and Makefile: Makefile-linux-x86-64.make [exec] if test ! -d .deps; then mkdir .deps; fi [exec] gcc -O3 -fPIC -Wall --pedantic -DLINUX -D_FORTIFY_SOURCE=2 -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE -Wl,-z,relro,-z,now -pthread wrapper.c wrapperinfo.c wrappereventloop.c wrapper_unix.c property.c logger.c logger_file.c wrapper_file.c wrapper_i18n.c wrapper_hashmap.c wrapper_ulimit.c wrapper_encoding.c wrapper_jvminfo.c -lm -o ../../bin/wrapper [exec] gcc -O3 -fPIC -Wall --pedantic -DLINUX -D_FORTIFY_SOURCE=2 -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE -c wrapper_i18n.c [exec] gcc -O3 -fPIC -Wall --pedantic -DLINUX -D_FORTIFY_SOURCE=2 -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE -c wrapperjni_unix.c [exec] In file included from wrapperjni.h:33, [exec] from wrapperjni_unix.c:44: [exec] org_tanukisoftware_wrapper_WrapperManager.h:2:10: fatal error: jni.h: No such file or directory [exec] 2 | #include <jni.h> [exec] | ^~~~~~~ [exec] compilation terminated. [exec] make: [Makefile-linux-x86-64.make:50: wrapperjni_unix.o] Error 1 [exec] make: Waiting for unfinished jobs....

BUILD FAILED /build/java-service-wrapper/src/wrapper_3.5.41_src/build.xml:680: exec returned: 2

Total time: 9 seconds