This commit is contained in:
Fabio Sinibaldi 2016-11-22 17:00:24 +00:00
parent 3c2f1d73a9
commit f3963724bf
13 changed files with 50076 additions and 36522 deletions

34
GeonetworkSE.xml Normal file
View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Resource version="0.4.x">
<ID>974cfbf5-035d-4972-84ad-137c1cfbae3e</ID>
<Type>RuntimeResource</Type>
<Profile>
<Category>Gis</Category>
<Platform>
<Name>geonetwork</Name>
<Version>3</Version>
<MinorVersion>2</MinorVersion>
<RevisionVersion>1</RevisionVersion>
<BuildVersion>5</BuildVersion>
</Platform>
<RunTime>
<HostedOn>node3-d-d4s.d4science.org</HostedOn>
<Status>READY</Status>
</RunTime>
<AccessPoint>
<Interface>
<Endpoint EntryName="geonetwork">http://node3-d-d4s.d4science.org/geonetwork</Endpoint>
</Interface>
<AccessData>
<Username>admin</Username>
<Password>5jykeFZrlF1Xfa4vohyDYg==</Password>
</AccessData>
<Properties>
<Property>
<Name>priority</Name>
<Value encrypted="false">1</Value>
</Property>
</Properties>
</AccessPoint>
</Profile>
</Resource>

736
hs_err_pid29383.log Normal file
View File

@ -0,0 +1,736 @@
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f4820878428, pid=29383, tid=139947477530368
#
# JRE version: OpenJDK Runtime Environment (7.0_111-b01) (build 1.7.0_111-b01)
# Java VM: OpenJDK 64-Bit Server VM (24.111-b01 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 2.6.7
# Distribution: Ubuntu 14.04 LTS, package 7u111-2.6.7-0ubuntu0.14.04.3
# Problematic frame:
# V [libjvm.so+0x656428]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
# http://icedtea.classpath.org/bugzilla
#
--------------- T H R E A D ---------------
Current thread (0x00007f48180b9000): JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_vm, id=29400, stack(0x00007f480f9f7000,0x00007f480faf8000)]
siginfo:si_signo=SIGSEGV: si_errno=0, si_code=128 (), si_addr=0x0000000000000000
Registers:
RAX=0xfefefefefefefefe, RBX=0x00007f4818005980, RCX=0x00007f482146b320, RDX=0x0000000000000001
RSP=0x00007f480faf69b0, RBP=0x00007f480faf69c0, RSI=0x00007f48180b9000, RDI=0x73696c2e72657375
R8 =0x0000000000000000, R9 =0x00007f47d8004670, R10=0x00007f4818569301, R11=0x00007f48217ec360
R12=0x00007f480faf6a97, R13=0x73696c2e72657375, R14=0x00007f48180b9000, R15=0x00007f480faf69e0
RIP=0x00007f4820878428, EFLAGS=0x0000000000010202, CSGSFS=0x0000000000000033, ERR=0x0000000000000000
TRAPNO=0x000000000000000d
Top of Stack: (sp=0x00007f480faf69b0)
0x00007f480faf69b0: 00007f480faf6a97 00007f4818005980
0x00007f480faf69c0: 00007f480faf6a30 00007f482086d7f8
0x00007f480faf69d0: 00007f4821019048 00007f48208b6fd6
0x00007f480faf69e0: 00007f48180b9000 0000000000000000
0x00007f480faf69f0: 00007f4800000000 0000000000000000
0x00007f480faf6a00: 00007f480faf6b80 00007f480faf6a97
0x00007f480faf6a10: 00007f481f3b9f00 73696c2e72657375
0x00007f480faf6a20: 00007f480faf6a97 00007f480faf6a9c
0x00007f480faf6a30: 00007f480faf6a60 00007f481f1a5ab9
0x00007f480faf6a40: 00007f480faf6a60 0000000000000015
0x00007f480faf6a50: 00007f480faf6b80 73696c2e72657375
0x00007f480faf6a60: 00007f480faf6af0 00007f481f1865f8
0x00007f480faf6a70: 00007f480faf6ab0 00007f480faf6ab0
0x00007f480faf6a80: 00007f480faf6ab8 000000011f18b4d9
0x00007f480faf6a90: 00007f480faf6b50 0000000a00000016
0x00007f480faf6aa0: 00007f47d800ab50 0000000000000000
0x00007f480faf6ab0: 0000000000000000 0000000000000000
0x00007f480faf6ac0: 00007f480faf6b50 00000000000f0200
0x00007f480faf6ad0: 00007f480faf6b50 0000000000000002
0x00007f480faf6ae0: 00007f480faf6b80 00007f481f3b9f00
0x00007f480faf6af0: 00007f480faf6d40 00007f481f190698
0x00007f480faf6b00: 0000065f00000013 00007f47d80f0200
0x00007f480faf6b10: 00007f47d0000fb0 00007f48209f9dba
0x00007f480faf6b20: 00007f48180b9000 00007f47d000080f
0x00007f480faf6b30: 0000065f00000013 00007f47d80f0200
0x00007f480faf6b40: 00007f47d0000fb0 00007f48208da744
0x00007f480faf6b50: 00007f47d0000fb8 000000000000000b
0x00007f480faf6b60: 0000065f00000013 00007f47d80f0200
0x00007f480faf6b70: 00007f47d0000fb0 00007f47d80051f0
0x00007f480faf6b80: 00007f47d800bfb6 000000000000005a
0x00007f480faf6b90: 00007f47d8005100 00007f480000012c
0x00007f480faf6ba0: 00007f480faf6bd0 00007f47d800aa70
Instructions: (pc=0x00007f4820878428)
0x00007f4820878408: 0f 1f 84 00 00 00 00 00 48 85 ff 74 7b 55 48 b8
0x00007f4820878418: fe fe fe fe fe fe fe fe 48 89 e5 53 48 83 ec 08
0x00007f4820878428: 48 8b 1f 48 39 c3 74 38 48 85 db 74 33 48 8d 05
0x00007f4820878438: 88 b3 79 00 80 38 00 75 37 48 8b 53 08 48 8b 42
Register to memory mapping:
RAX=0xfefefefefefefefe is an unknown value
RBX=0x00007f4818005980 is an unknown value
RCX=0x00007f482146b320: <offset 0x219320> in /lib/x86_64-linux-gnu/libpthread.so.0 at 0x00007f4821252000
RDX=0x0000000000000001 is an unknown value
RSP=0x00007f480faf69b0 is pointing into the stack for thread: 0x00007f48180b9000
RBP=0x00007f480faf69c0 is pointing into the stack for thread: 0x00007f48180b9000
RSI=0x00007f48180b9000 is a thread
RDI=0x73696c2e72657375 is an unknown value
R8 =0x0000000000000000 is an unknown value
R9 =0x00007f47d8004670 is an unknown value
R10=0x00007f4818569301 is an unknown value
R11=0x00007f48217ec360: <offset 0x178360> in /lib/x86_64-linux-gnu/libc.so.6 at 0x00007f4821674000
R12=0x00007f480faf6a97 is pointing into the stack for thread: 0x00007f48180b9000
R13=0x73696c2e72657375 is an unknown value
R14=0x00007f48180b9000 is a thread
R15=0x00007f480faf69e0 is pointing into the stack for thread: 0x00007f48180b9000
Stack: [0x00007f480f9f7000,0x00007f480faf8000], sp=0x00007f480faf69b0, free space=1022k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x656428]
V [libjvm.so+0x64b7f8]
C [libjdwp.so+0x26ab9]
C [libjdwp.so+0x75f8]
C [libjdwp.so+0x11698]
C [libjdwp.so+0x23795]
V [libjvm.so+0x6b3d5b]
V [libjvm.so+0x90d5f0]
V [libjvm.so+0x90d880]
V [libjvm.so+0x7d0852]
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x00007f48182e4000 JavaThread "ReaderThread" [_thread_in_native, id=29412, stack(0x00007f480dd1e000,0x00007f480de1f000)]
0x00007f48180c4800 JavaThread "Service Thread" daemon [_thread_blocked, id=29410, stack(0x00007f480f4f2000,0x00007f480f5f3000)]
0x00007f48180c2000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=29409, stack(0x00007f480f5f3000,0x00007f480f6f4000)]
0x00007f48180bf000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=29408, stack(0x00007f480f6f4000,0x00007f480f7f5000)]
0x00007f47d8001000 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=29404, stack(0x00007f480f7f5000,0x00007f480f8f6000)]
0x00007f48180bd000 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=29403, stack(0x00007f480f8f6000,0x00007f480f9f7000)]
=>0x00007f48180b9000 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_vm, id=29400, stack(0x00007f480f9f7000,0x00007f480faf8000)]
0x00007f48180ab800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=29398, stack(0x00007f480fcfd000,0x00007f480fdfe000)]
0x00007f4818081000 JavaThread "Finalizer" daemon [_thread_blocked, id=29397, stack(0x00007f480fdfe000,0x00007f480feff000)]
0x00007f481807f000 JavaThread "Reference Handler" daemon [_thread_blocked, id=29396, stack(0x00007f480feff000,0x00007f4810000000)]
0x00007f481800f800 JavaThread "main" [_thread_blocked, id=29389, stack(0x00007f4821d44000,0x00007f4821e45000)]
Other Threads:
0x00007f481807b000 VMThread [stack: 0x00007f481406d000,0x00007f481416e000] [id=29395]
0x00007f48180cf000 WatcherThread [stack: 0x00007f480f3f1000,0x00007f480f4f2000] [id=29411]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
PSYoungGen total 75264K, used 31263K [0x00000007ac800000, 0x00000007b1b80000, 0x0000000800000000)
eden space 65024K, 48% used [0x00000007ac800000,0x00000007ae687c30,0x00000007b0780000)
from space 10240K, 0% used [0x00000007b1180000,0x00000007b1180000,0x00000007b1b80000)
to space 10240K, 0% used [0x00000007b0780000,0x00000007b0780000,0x00000007b1180000)
ParOldGen total 171008K, used 0K [0x0000000705800000, 0x000000070ff00000, 0x00000007ac800000)
object space 171008K, 0% used [0x0000000705800000,0x0000000705800000,0x000000070ff00000)
PSPermGen total 21504K, used 12475K [0x00000006fb200000, 0x00000006fc700000, 0x0000000705800000)
object space 21504K, 58% used [0x00000006fb200000,0x00000006fbe2ef78,0x00000006fc700000)
Card table byte_map: [0x00007f481d62c000,0x00007f481de54000] byte_map_base: 0x00007f4819e53000
Polling page: 0x00007f4821e66000
Code Cache [0x00007f4815000000, 0x00007f4815270000, 0x00007f4818000000)
total_blobs=374 nmethods=86 adapters=249 free_code_cache=48487Kb largest_free_block=49614272
Compilation events (10 events):
Event: 0,722 Thread 0x00007f48180bf000 82 java.lang.String::endsWith (17 bytes)
Event: 0,724 Thread 0x00007f48180bf000 nmethod 82 0x00007f4815080210 code [0x00007f4815080360, 0x00007f4815080618]
Event: 0,730 Thread 0x00007f48180c2000 83 java.lang.StringBuilder::<init> (7 bytes)
Event: 0,731 Thread 0x00007f48180c2000 nmethod 83 0x00007f48150a2e10 code [0x00007f48150a2f60, 0x00007f48150a3058]
Event: 0,732 Thread 0x00007f48180bf000 84 java.lang.AbstractStringBuilder::append (29 bytes)
Event: 0,734 Thread 0x00007f48180bf000 nmethod 84 0x00007f48150a4250 code [0x00007f48150a43a0, 0x00007f48150a46b8]
Event: 0,887 Thread 0x00007f48180c2000 85 s java.lang.StringBuffer::append (8 bytes)
Event: 0,888 Thread 0x00007f48180c2000 nmethod 85 0x00007f48150a3d10 code [0x00007f48150a3e60, 0x00007f48150a4188]
Event: 0,906 Thread 0x00007f48180bf000 86 % sun.misc.URLClassPath::getResource @ 39 (74 bytes)
Event: 0,929 Thread 0x00007f48180bf000 nmethod 86% 0x00007f481509dbd0 code [0x00007f481509df60, 0x00007f481509f020]
GC Heap History (0 events):
No events
Deoptimization events (10 events):
Event: 0,374 Thread 0x00007f481800f800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007f481506bef8 method=java.lang.AbstractStringBuilder.append(Ljava/lang/String;)Ljava/lang/AbstractStringBuilder; @ 1
Event: 0,418 Thread 0x00007f481800f800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007f481506983c method=java.lang.String.equals(Ljava/lang/Object;)Z @ 8
Event: 0,439 Thread 0x00007f481800f800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007f481506983c method=java.lang.String.equals(Ljava/lang/Object;)Z @ 8
Event: 0,439 Thread 0x00007f481800f800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007f481506983c method=java.lang.String.equals(Ljava/lang/Object;)Z @ 8
Event: 0,489 Thread 0x00007f481800f800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007f4815082a2c method=sun.misc.URLClassPath$JarLoader.getResource(Ljava/lang/String;Z)Lsun/misc/Resource; @ 15
Event: 0,631 Thread 0x00007f481800f800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007f481506e820 method=java.lang.String.startsWith(Ljava/lang/String;I)Z @ 25
Event: 0,677 Thread 0x00007f481800f800 Uncommon trap: reason=null_check action=make_not_entrant pc=0x00007f4815069850 method=java.lang.String.equals(Ljava/lang/Object;)Z @ 8
Event: 0,692 Thread 0x00007f481800f800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007f48150889d0 method=java.lang.String.toLowerCase(Ljava/util/Locale;)Ljava/lang/String; @ 85
Event: 0,912 Thread 0x00007f481800f800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007f4815086ef8 method=java.util.Properties$LineReader.readLine()I @ 62
Event: 0,912 Thread 0x00007f481800f800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007f4815086abc method=java.util.Properties$LineReader.readLine()I @ 315
Internal exceptions (10 events):
Event: 0,911 Thread 0x00007f481800f800 Threw 0x00000007ae5efc30 at /build/openjdk-7-ueNuwK/openjdk-7-7u111-2.6.7/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1322
Event: 0,913 Thread 0x00007f481800f800 Threw 0x00000007ae5fa530 at /build/openjdk-7-ueNuwK/openjdk-7-7u111-2.6.7/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1322
Event: 0,914 Thread 0x00007f481800f800 Threw 0x00000007ae604638 at /build/openjdk-7-ueNuwK/openjdk-7-7u111-2.6.7/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1322
Event: 0,915 Thread 0x00007f481800f800 Threw 0x00000007ae611350 at /build/openjdk-7-ueNuwK/openjdk-7-7u111-2.6.7/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1322
Event: 0,915 Thread 0x00007f481800f800 Threw 0x00000007ae61bac8 at /build/openjdk-7-ueNuwK/openjdk-7-7u111-2.6.7/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1322
Event: 0,918 Thread 0x00007f481800f800 Threw 0x00000007ae62d958 at /build/openjdk-7-ueNuwK/openjdk-7-7u111-2.6.7/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1322
Event: 0,919 Thread 0x00007f481800f800 Threw 0x00000007ae6358f8 at /build/openjdk-7-ueNuwK/openjdk-7-7u111-2.6.7/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1322
Event: 0,920 Thread 0x00007f481800f800 Threw 0x00000007ae63cfa8 at /build/openjdk-7-ueNuwK/openjdk-7-7u111-2.6.7/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1322
Event: 0,920 Thread 0x00007f481800f800 Threw 0x00000007ae646c98 at /build/openjdk-7-ueNuwK/openjdk-7-7u111-2.6.7/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1322
Event: 0,922 Thread 0x00007f481800f800 Threw 0x00000007ae651fc8 at /build/openjdk-7-ueNuwK/openjdk-7-7u111-2.6.7/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1322
Events (10 events):
Event: 1,236 Executing VM operation: GetOrSetLocal
Event: 1,236 Executing VM operation: GetOrSetLocal done
Event: 4,118 Executing VM operation: EnableBiasedLocking
Event: 4,118 Executing VM operation: EnableBiasedLocking done
Event: 425,220 Executing VM operation: GetOrSetLocal
Event: 425,220 Executing VM operation: GetOrSetLocal done
Event: 425,221 Executing VM operation: GetOrSetLocal
Event: 425,221 Executing VM operation: GetOrSetLocal done
Event: 572,969 Executing VM operation: RedefineClasses
Event: 572,969 Executing VM operation: RedefineClasses done
Dynamic libraries:
00400000-00401000 r-xp 00000000 fc:00 28710985 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
00600000-00601000 r--p 00000000 fc:00 28710985 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
00601000-00602000 rw-p 00001000 fc:00 28710985 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
00f18000-00f39000 rw-p 00000000 00:00 0 [heap]
6fb200000-6fc700000 rw-p 00000000 00:00 0
6fc700000-705800000 rw-p 00000000 00:00 0
705800000-70ff00000 rw-p 00000000 00:00 0
70ff00000-7ac800000 rw-p 00000000 00:00 0
7ac800000-7b1b80000 rw-p 00000000 00:00 0
7b1b80000-800000000 rw-p 00000000 00:00 0
7f47b8000000-7f47b8021000 rw-p 00000000 00:00 0
7f47b8021000-7f47bc000000 ---p 00000000 00:00 0
7f47c0000000-7f47c02d4000 rw-p 00000000 00:00 0
7f47c02d4000-7f47c4000000 ---p 00000000 00:00 0
7f47c4000000-7f47c4021000 rw-p 00000000 00:00 0
7f47c4021000-7f47c8000000 ---p 00000000 00:00 0
7f47c8000000-7f47c8021000 rw-p 00000000 00:00 0
7f47c8021000-7f47cc000000 ---p 00000000 00:00 0
7f47d0000000-7f47d0021000 rw-p 00000000 00:00 0
7f47d0021000-7f47d4000000 ---p 00000000 00:00 0
7f47d4000000-7f47d47d7000 rw-p 00000000 00:00 0
7f47d47d7000-7f47d8000000 ---p 00000000 00:00 0
7f47d8000000-7f47d8021000 rw-p 00000000 00:00 0
7f47d8021000-7f47dc000000 ---p 00000000 00:00 0
7f47dc000000-7f47dc021000 rw-p 00000000 00:00 0
7f47dc021000-7f47e0000000 ---p 00000000 00:00 0
7f47e0000000-7f47e0021000 rw-p 00000000 00:00 0
7f47e0021000-7f47e4000000 ---p 00000000 00:00 0
7f47e4000000-7f47e4021000 rw-p 00000000 00:00 0
7f47e4021000-7f47e8000000 ---p 00000000 00:00 0
7f47e8000000-7f47e8021000 rw-p 00000000 00:00 0
7f47e8021000-7f47ec000000 ---p 00000000 00:00 0
7f47efd90000-7f47f8000000 rw-p 00000000 00:00 0
7f47f8000000-7f47f8021000 rw-p 00000000 00:00 0
7f47f8021000-7f47fc000000 ---p 00000000 00:00 0
7f47fc000000-7f47fc021000 rw-p 00000000 00:00 0
7f47fc021000-7f4800000000 ---p 00000000 00:00 0
7f4800000000-7f4800021000 rw-p 00000000 00:00 0
7f4800021000-7f4804000000 ---p 00000000 00:00 0
7f4808000000-7f4808021000 rw-p 00000000 00:00 0
7f4808021000-7f480c000000 ---p 00000000 00:00 0
7f480c1ab000-7f480c1b0000 r-xp 00000000 fc:00 12058721 /lib/x86_64-linux-gnu/libnss_dns-2.19.so
7f480c1b0000-7f480c3af000 ---p 00005000 fc:00 12058721 /lib/x86_64-linux-gnu/libnss_dns-2.19.so
7f480c3af000-7f480c3b0000 r--p 00004000 fc:00 12058721 /lib/x86_64-linux-gnu/libnss_dns-2.19.so
7f480c3b0000-7f480c3b1000 rw-p 00005000 fc:00 12058721 /lib/x86_64-linux-gnu/libnss_dns-2.19.so
7f480c3b1000-7f480c3b3000 r-xp 00000000 fc:00 12062999 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7f480c3b3000-7f480c5b2000 ---p 00002000 fc:00 12062999 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7f480c5b2000-7f480c5b3000 r--p 00001000 fc:00 12062999 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7f480c5b3000-7f480c5b4000 rw-p 00002000 fc:00 12062999 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7f480c5b4000-7f480c62f000 r-xp 00000000 fc:00 26609148 /usr/lib/x86_64-linux-gnu/nss/libfreebl3.so
7f480c62f000-7f480c82e000 ---p 0007b000 fc:00 26609148 /usr/lib/x86_64-linux-gnu/nss/libfreebl3.so
7f480c82e000-7f480c830000 r--p 0007a000 fc:00 26609148 /usr/lib/x86_64-linux-gnu/nss/libfreebl3.so
7f480c830000-7f480c831000 rw-p 0007c000 fc:00 26609148 /usr/lib/x86_64-linux-gnu/nss/libfreebl3.so
7f480c831000-7f480c835000 rw-p 00000000 00:00 0
7f480c835000-7f480c8e9000 r-xp 00000000 fc:00 26222982 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7f480c8e9000-7f480cae9000 ---p 000b4000 fc:00 26222982 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7f480cae9000-7f480caeb000 r--p 000b4000 fc:00 26222982 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7f480caeb000-7f480caed000 rw-p 000b6000 fc:00 26222982 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7f480caed000-7f480caee000 rw-p 00000000 00:00 0
7f480caee000-7f480cb2f000 r-xp 00000000 fc:00 26609147 /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so
7f480cb2f000-7f480cd2e000 ---p 00041000 fc:00 26609147 /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so
7f480cd2e000-7f480cd2f000 r--p 00040000 fc:00 26609147 /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so
7f480cd2f000-7f480cd30000 rw-p 00041000 fc:00 26609147 /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so
7f480cd30000-7f480cd69000 r-xp 00000000 fc:00 26222309 /usr/lib/x86_64-linux-gnu/libnspr4.so
7f480cd69000-7f480cf68000 ---p 00039000 fc:00 26222309 /usr/lib/x86_64-linux-gnu/libnspr4.so
7f480cf68000-7f480cf69000 r--p 00038000 fc:00 26222309 /usr/lib/x86_64-linux-gnu/libnspr4.so
7f480cf69000-7f480cf6a000 rw-p 00039000 fc:00 26222309 /usr/lib/x86_64-linux-gnu/libnspr4.so
7f480cf6a000-7f480cf6d000 rw-p 00000000 00:00 0
7f480cf6d000-7f480cf70000 r-xp 00000000 fc:00 26222308 /usr/lib/x86_64-linux-gnu/libplds4.so
7f480cf70000-7f480d16f000 ---p 00003000 fc:00 26222308 /usr/lib/x86_64-linux-gnu/libplds4.so
7f480d16f000-7f480d170000 r--p 00002000 fc:00 26222308 /usr/lib/x86_64-linux-gnu/libplds4.so
7f480d170000-7f480d171000 rw-p 00003000 fc:00 26222308 /usr/lib/x86_64-linux-gnu/libplds4.so
7f480d171000-7f480d175000 r-xp 00000000 fc:00 26222307 /usr/lib/x86_64-linux-gnu/libplc4.so
7f480d175000-7f480d374000 ---p 00004000 fc:00 26222307 /usr/lib/x86_64-linux-gnu/libplc4.so
7f480d374000-7f480d375000 r--p 00003000 fc:00 26222307 /usr/lib/x86_64-linux-gnu/libplc4.so
7f480d375000-7f480d376000 rw-p 00004000 fc:00 26222307 /usr/lib/x86_64-linux-gnu/libplc4.so
7f480d376000-7f480d39b000 r-xp 00000000 fc:00 26222311 /usr/lib/x86_64-linux-gnu/libnssutil3.so
7f480d39b000-7f480d59b000 ---p 00025000 fc:00 26222311 /usr/lib/x86_64-linux-gnu/libnssutil3.so
7f480d59b000-7f480d5a1000 r--p 00025000 fc:00 26222311 /usr/lib/x86_64-linux-gnu/libnssutil3.so
7f480d5a1000-7f480d5a2000 rw-p 0002b000 fc:00 26222311 /usr/lib/x86_64-linux-gnu/libnssutil3.so
7f480d5a2000-7f480d6d7000 r-xp 00000000 fc:00 26222460 /usr/lib/x86_64-linux-gnu/libnss3.so
7f480d6d7000-7f480d8d6000 ---p 00135000 fc:00 26222460 /usr/lib/x86_64-linux-gnu/libnss3.so
7f480d8d6000-7f480d8db000 r--p 00134000 fc:00 26222460 /usr/lib/x86_64-linux-gnu/libnss3.so
7f480d8db000-7f480d8dd000 rw-p 00139000 fc:00 26222460 /usr/lib/x86_64-linux-gnu/libnss3.so
7f480d8dd000-7f480d8de000 rw-p 00000000 00:00 0
7f480d8fb000-7f480d90b000 r-xp 00000000 fc:00 28711010 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libj2pkcs11.so
7f480d90b000-7f480db0a000 ---p 00010000 fc:00 28711010 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libj2pkcs11.so
7f480db0a000-7f480db0b000 r--p 0000f000 fc:00 28711010 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libj2pkcs11.so
7f480db0b000-7f480db0c000 rw-p 00010000 fc:00 28711010 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libj2pkcs11.so
7f480db0c000-7f480db1c000 r-xp 00000000 fc:00 28711029 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnio.so
7f480db1c000-7f480dd1c000 ---p 00010000 fc:00 28711029 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnio.so
7f480dd1c000-7f480dd1d000 r--p 00010000 fc:00 28711029 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnio.so
7f480dd1d000-7f480dd1e000 rw-p 00011000 fc:00 28711029 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnio.so
7f480dd1e000-7f480dd21000 ---p 00000000 00:00 0
7f480dd21000-7f480de50000 rw-p 00000000 00:00 0
7f480de50000-7f480de8d000 r-xp 00000000 fc:00 12063226 /lib/x86_64-linux-gnu/libpcre.so.3.13.1
7f480de8d000-7f480e08c000 ---p 0003d000 fc:00 12063226 /lib/x86_64-linux-gnu/libpcre.so.3.13.1
7f480e08c000-7f480e08d000 r--p 0003c000 fc:00 12063226 /lib/x86_64-linux-gnu/libpcre.so.3.13.1
7f480e08d000-7f480e08e000 rw-p 0003d000 fc:00 12063226 /lib/x86_64-linux-gnu/libpcre.so.3.13.1
7f480e08e000-7f480e095000 r-xp 00000000 fc:00 26222370 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1
7f480e095000-7f480e294000 ---p 00007000 fc:00 26222370 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1
7f480e294000-7f480e295000 r--p 00006000 fc:00 26222370 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1
7f480e295000-7f480e296000 rw-p 00007000 fc:00 26222370 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1
7f480e296000-7f480e2ad000 r-xp 00000000 fc:00 12058629 /lib/x86_64-linux-gnu/libresolv-2.19.so
7f480e2ad000-7f480e4ad000 ---p 00017000 fc:00 12058629 /lib/x86_64-linux-gnu/libresolv-2.19.so
7f480e4ad000-7f480e4ae000 r--p 00017000 fc:00 12058629 /lib/x86_64-linux-gnu/libresolv-2.19.so
7f480e4ae000-7f480e4af000 rw-p 00018000 fc:00 12058629 /lib/x86_64-linux-gnu/libresolv-2.19.so
7f480e4af000-7f480e4b1000 rw-p 00000000 00:00 0
7f480e4b1000-7f480e4d1000 r-xp 00000000 fc:00 12063048 /lib/x86_64-linux-gnu/libselinux.so.1
7f480e4d1000-7f480e6d0000 ---p 00020000 fc:00 12063048 /lib/x86_64-linux-gnu/libselinux.so.1
7f480e6d0000-7f480e6d1000 r--p 0001f000 fc:00 12063048 /lib/x86_64-linux-gnu/libselinux.so.1
7f480e6d1000-7f480e6d2000 rw-p 00020000 fc:00 12063048 /lib/x86_64-linux-gnu/libselinux.so.1
7f480e6d2000-7f480e6d4000 rw-p 00000000 00:00 0
7f480e6d4000-7f480e6d7000 r-xp 00000000 fc:00 26222483 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4002.0
7f480e6d7000-7f480e8d6000 ---p 00003000 fc:00 26222483 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4002.0
7f480e8d6000-7f480e8d7000 r--p 00002000 fc:00 26222483 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4002.0
7f480e8d7000-7f480e8d8000 rw-p 00003000 fc:00 26222483 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4002.0
7f480e8d8000-7f480e9de000 r-xp 00000000 fc:00 12062949 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0
7f480e9de000-7f480ebdd000 ---p 00106000 fc:00 12062949 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0
7f480ebdd000-7f480ebde000 r--p 00105000 fc:00 12062949 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0
7f480ebde000-7f480ebdf000 rw-p 00106000 fc:00 12062949 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0
7f480ebdf000-7f480ebe0000 rw-p 00000000 00:00 0
7f480ebe0000-7f480ec2f000 r-xp 00000000 fc:00 26222499 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4002.0
7f480ec2f000-7f480ee2f000 ---p 0004f000 fc:00 26222499 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4002.0
7f480ee2f000-7f480ee30000 r--p 0004f000 fc:00 26222499 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4002.0
7f480ee30000-7f480ee31000 rw-p 00050000 fc:00 26222499 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4002.0
7f480ee31000-7f480ef9d000 r-xp 00000000 fc:00 26222471 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4002.0
7f480ef9d000-7f480f19c000 ---p 0016c000 fc:00 26222471 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4002.0
7f480f19c000-7f480f1a0000 r--p 0016b000 fc:00 26222471 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4002.0
7f480f1a0000-7f480f1a2000 rw-p 0016f000 fc:00 26222471 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4002.0
7f480f1a2000-7f480f1a4000 rw-p 00000000 00:00 0
7f480f1b1000-7f480f1b3000 rw-p 00000000 00:00 0
7f480f1b3000-7f480f1b7000 r--s 0004f000 fc:00 28710996 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jsse.jar
7f480f1b7000-7f480f1c1000 r--s 000ae000 fc:00 28710994 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/resources.jar
7f480f1c1000-7f480f1d8000 r-xp 00000000 fc:00 28711027 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnet.so
7f480f1d8000-7f480f3d7000 ---p 00017000 fc:00 28711027 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnet.so
7f480f3d7000-7f480f3d8000 r--p 00016000 fc:00 28711027 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnet.so
7f480f3d8000-7f480f3d9000 rw-p 00017000 fc:00 28711027 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnet.so
7f480f3d9000-7f480f3df000 r--s 00036000 fc:00 22151784 /home/fabio/.m2/repository/junit/junit/4.11/junit-4.11.jar
7f480f3df000-7f480f3f1000 r--s 00110000 fc:00 22024695 /home/fabio/.m2/repository/org/projectlombok/lombok/1.14.8/lombok-1.14.8.jar
7f480f3f1000-7f480f3f2000 ---p 00000000 00:00 0
7f480f3f2000-7f480f4f2000 rw-p 00000000 00:00 0
7f480f4f2000-7f480f4f5000 ---p 00000000 00:00 0
7f480f4f5000-7f480f5f3000 rw-p 00000000 00:00 0
7f480f5f3000-7f480f5f6000 ---p 00000000 00:00 0
7f480f5f6000-7f480f6f4000 rw-p 00000000 00:00 0
7f480f6f4000-7f480f6f7000 ---p 00000000 00:00 0
7f480f6f7000-7f480f7f5000 rw-p 00000000 00:00 0
7f480f7f5000-7f480f7f8000 ---p 00000000 00:00 0
7f480f7f8000-7f480f8f6000 rw-p 00000000 00:00 0
7f480f8f6000-7f480f8f9000 ---p 00000000 00:00 0
7f480f8f9000-7f480f9f7000 rw-p 00000000 00:00 0
7f480f9f7000-7f480f9fa000 ---p 00000000 00:00 0
7f480f9fa000-7f480faf8000 rw-p 00000000 00:00 0
7f480faf8000-7f480fafc000 r-xp 00000000 fc:00 28711012 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libdt_socket.so
7f480fafc000-7f480fcfb000 ---p 00004000 fc:00 28711012 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libdt_socket.so
7f480fcfb000-7f480fcfc000 r--p 00003000 fc:00 28711012 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libdt_socket.so
7f480fcfc000-7f480fcfd000 rw-p 00004000 fc:00 28711012 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libdt_socket.so
7f480fcfd000-7f480fd00000 ---p 00000000 00:00 0
7f480fd00000-7f480fdfe000 rw-p 00000000 00:00 0
7f480fdfe000-7f480fe01000 ---p 00000000 00:00 0
7f480fe01000-7f480feff000 rw-p 00000000 00:00 0
7f480feff000-7f480ff02000 ---p 00000000 00:00 0
7f480ff02000-7f4810000000 rw-p 00000000 00:00 0
7f4810000000-7f4810021000 rw-p 00000000 00:00 0
7f4810021000-7f4814000000 ---p 00000000 00:00 0
7f4814000000-7f4814002000 r--s 00018000 fc:00 28710992 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar
7f4814002000-7f4814003000 r--s 00002000 fc:00 22024532 /home/fabio/.m2/repository/org/slf4j/slf4j-log4j12/1.6.4/slf4j-log4j12-1.6.4.jar
7f4814003000-7f4814005000 r--s 00009000 fc:00 22151650 /home/fabio/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
7f4814005000-7f4814007000 r--s 00005000 fc:00 22024693 /home/fabio/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar
7f4814007000-7f4814014000 r--s 0006a000 fc:00 22024662 /home/fabio/.m2/repository/com/thoughtworks/xstream/xstream/1.4.4/xstream-1.4.4.jar
7f4814014000-7f4814016000 r--s 0004c000 fc:00 22024850 /home/fabio/.m2/repository/java3d/vecmath/1.5.2/vecmath-1.5.2.jar
7f4814016000-7f4814025000 r--s 000eb000 fc:00 22024848 /home/fabio/.m2/repository/org/geotoolkit/geotk-referencing/3.20/geotk-referencing-3.20.jar
7f4814025000-7f4814027000 r--s 00005000 fc:00 22024631 /home/fabio/.m2/repository/org/w3c/dom/2.3.0-jaxb-1.0.6/dom-2.3.0-jaxb-1.0.6.jar
7f4814027000-7f481402c000 r--s 0003b000 fc:00 22024614 /home/fabio/.m2/repository/javax/measure/jsr-275/0.9.3/jsr-275-0.9.3.jar
7f481402c000-7f4814036000 r--s 0007f000 fc:00 22024846 /home/fabio/.m2/repository/org/geotoolkit/geotk-utility/3.20/geotk-utility-3.20.jar
7f4814036000-7f4814049000 r--s 00060000 fc:00 22024844 /home/fabio/.m2/repository/org/opengis/geoapi-pending/3.1-M04/geoapi-pending-3.1-M04.jar
7f4814049000-7f481404e000 r--s 0001d000 fc:00 22024842 /home/fabio/.m2/repository/org/geotoolkit/geotk-xml-base/3.20/geotk-xml-base-3.20.jar
7f481404e000-7f4814057000 r--s 0004f000 fc:00 22024840 /home/fabio/.m2/repository/org/geotoolkit/geotk-metadata/3.20/geotk-metadata-3.20.jar
7f4814057000-7f4814060000 r--s 0006f000 fc:00 22024149 /home/fabio/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar
7f4814060000-7f4814062000 r--s 00023000 fc:00 22024573 /home/fabio/.m2/repository/org/jdom/jdom/1.1.3/jdom-1.1.3.jar
7f4814062000-7f4814066000 r--s 0002f000 fc:00 22024560 /home/fabio/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar
7f4814066000-7f4814069000 r--s 00018000 fc:00 22024839 /home/fabio/.m2/repository/it/geosolutions/geonetwork-manager/1.4-SNAPSHOT/geonetwork-manager-1.4-SNAPSHOT.jar
7f4814069000-7f481406b000 r--s 0000a000 fc:00 22024741 /home/fabio/.m2/repository/org/json/json/20090211/json-20090211.jar
7f481406b000-7f481406d000 r--s 00006000 fc:00 22024738 /home/fabio/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
7f481406d000-7f481406e000 ---p 00000000 00:00 0
7f481406e000-7f4815000000 rw-p 00000000 00:00 0
7f4815000000-7f4815270000 rwxp 00000000 00:00 0
7f4815270000-7f4818649000 rw-p 00000000 00:00 0
7f4818649000-7f481c000000 ---p 00000000 00:00 0
7f481c000000-7f481c001000 r--s 00001000 fc:00 22024688 /home/fabio/.m2/repository/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar
7f481c001000-7f481c003000 r--s 00008000 fc:00 22024735 /home/fabio/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
7f481c003000-7f481c009000 r--s 00045000 fc:00 22024731 /home/fabio/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar
7f481c009000-7f481c00b000 r--s 00002000 fc:00 22020571 /home/fabio/.m2/repository/org/gcube/portlets/user/gcube-url-shortener/1.1.0-SNAPSHOT/gcube-url-shortener-1.1.0-SNAPSHOT.jar
7f481c00b000-7f481c00d000 r--s 00005000 fc:00 22020569 /home/fabio/.m2/repository/org/gcube/portlets/user/uri-resolver-manager/1.3.1-SNAPSHOT/uri-resolver-manager-1.3.1-SNAPSHOT.jar
7f481c00d000-7f481c178000 rw-p 00000000 00:00 0
7f481c178000-7f481c32b000 r--s 01d3d000 fc:00 28710993 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar
7f481c32b000-7f481cc9d000 rw-p 00000000 00:00 0
7f481cc9d000-7f481cc9e000 ---p 00000000 00:00 0
7f481cc9e000-7f481cd9e000 rw-p 00000000 00:00 0
7f481cd9e000-7f481cd9f000 ---p 00000000 00:00 0
7f481cd9f000-7f481ce9f000 rw-p 00000000 00:00 0
7f481ce9f000-7f481cea0000 ---p 00000000 00:00 0
7f481cea0000-7f481cfa0000 rw-p 00000000 00:00 0
7f481cfa0000-7f481cfa1000 ---p 00000000 00:00 0
7f481cfa1000-7f481d0ac000 rw-p 00000000 00:00 0
7f481d0ac000-7f481d0f4000 rw-p 00000000 00:00 0
7f481d0f4000-7f481d148000 rw-p 00000000 00:00 0
7f481d148000-7f481d62c000 rw-p 00000000 00:00 0
7f481d62c000-7f481d637000 rw-p 00000000 00:00 0
7f481d637000-7f481d67f000 rw-p 00000000 00:00 0
7f481d67f000-7f481d6d3000 rw-p 00000000 00:00 0
7f481d6d3000-7f481dbb7000 rw-p 00000000 00:00 0
7f481dbb7000-7f481dbe1000 rw-p 00000000 00:00 0
7f481dbe1000-7f481de53000 rw-p 00000000 00:00 0
7f481de53000-7f481de54000 rw-p 00000000 00:00 0
7f481de54000-7f481de5c000 r-xp 00000000 fc:00 28711048 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libzip.so
7f481de5c000-7f481e05b000 ---p 00008000 fc:00 28711048 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libzip.so
7f481e05b000-7f481e05c000 r--p 00007000 fc:00 28711048 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libzip.so
7f481e05c000-7f481e05d000 rw-p 00008000 fc:00 28711048 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libzip.so
7f481e05d000-7f481e067000 r-xp 00000000 fc:00 12058727 /lib/x86_64-linux-gnu/libnss_files-2.19.so
7f481e067000-7f481e266000 ---p 0000a000 fc:00 12058727 /lib/x86_64-linux-gnu/libnss_files-2.19.so
7f481e266000-7f481e267000 r--p 00009000 fc:00 12058727 /lib/x86_64-linux-gnu/libnss_files-2.19.so
7f481e267000-7f481e268000 rw-p 0000a000 fc:00 12058727 /lib/x86_64-linux-gnu/libnss_files-2.19.so
7f481e268000-7f481e273000 r-xp 00000000 fc:00 12058719 /lib/x86_64-linux-gnu/libnss_nis-2.19.so
7f481e273000-7f481e472000 ---p 0000b000 fc:00 12058719 /lib/x86_64-linux-gnu/libnss_nis-2.19.so
7f481e472000-7f481e473000 r--p 0000a000 fc:00 12058719 /lib/x86_64-linux-gnu/libnss_nis-2.19.so
7f481e473000-7f481e474000 rw-p 0000b000 fc:00 12058719 /lib/x86_64-linux-gnu/libnss_nis-2.19.so
7f481e474000-7f481e48b000 r-xp 00000000 fc:00 12058715 /lib/x86_64-linux-gnu/libnsl-2.19.so
7f481e48b000-7f481e68a000 ---p 00017000 fc:00 12058715 /lib/x86_64-linux-gnu/libnsl-2.19.so
7f481e68a000-7f481e68b000 r--p 00016000 fc:00 12058715 /lib/x86_64-linux-gnu/libnsl-2.19.so
7f481e68b000-7f481e68c000 rw-p 00017000 fc:00 12058715 /lib/x86_64-linux-gnu/libnsl-2.19.so
7f481e68c000-7f481e68e000 rw-p 00000000 00:00 0
7f481e68e000-7f481e697000 r-xp 00000000 fc:00 12058714 /lib/x86_64-linux-gnu/libnss_compat-2.19.so
7f481e697000-7f481e896000 ---p 00009000 fc:00 12058714 /lib/x86_64-linux-gnu/libnss_compat-2.19.so
7f481e896000-7f481e897000 r--p 00008000 fc:00 12058714 /lib/x86_64-linux-gnu/libnss_compat-2.19.so
7f481e897000-7f481e898000 rw-p 00009000 fc:00 12058714 /lib/x86_64-linux-gnu/libnss_compat-2.19.so
7f481e898000-7f481ef7b000 r--p 00000000 fc:00 26221097 /usr/lib/locale/locale-archive
7f481ef7b000-7f481ef7d000 r-xp 00000000 fc:00 28711015 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnpt.so
7f481ef7d000-7f481f17d000 ---p 00002000 fc:00 28711015 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnpt.so
7f481f17d000-7f481f17e000 r--p 00002000 fc:00 28711015 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnpt.so
7f481f17e000-7f481f17f000 rw-p 00003000 fc:00 28711015 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnpt.so
7f481f17f000-7f481f1b9000 r-xp 00000000 fc:00 28711041 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjdwp.so
7f481f1b9000-7f481f3b8000 ---p 0003a000 fc:00 28711041 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjdwp.so
7f481f3b8000-7f481f3b9000 r--p 00039000 fc:00 28711041 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjdwp.so
7f481f3b9000-7f481f3ba000 rw-p 0003a000 fc:00 28711041 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjdwp.so
7f481f3ba000-7f481f3e5000 r-xp 00000000 fc:00 28711013 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjava.so
7f481f3e5000-7f481f5e5000 ---p 0002b000 fc:00 28711013 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjava.so
7f481f5e5000-7f481f5e6000 r--p 0002b000 fc:00 28711013 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjava.so
7f481f5e6000-7f481f5e8000 rw-p 0002c000 fc:00 28711013 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjava.so
7f481f5e8000-7f481f5f8000 r-xp 00000000 fc:00 28711011 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libverify.so
7f481f5f8000-7f481f7f7000 ---p 00010000 fc:00 28711011 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libverify.so
7f481f7f7000-7f481f7f9000 r--p 0000f000 fc:00 28711011 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libverify.so
7f481f7f9000-7f481f7fa000 rw-p 00011000 fc:00 28711011 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libverify.so
7f481f7fa000-7f481f801000 r-xp 00000000 fc:00 12058723 /lib/x86_64-linux-gnu/librt-2.19.so
7f481f801000-7f481fa00000 ---p 00007000 fc:00 12058723 /lib/x86_64-linux-gnu/librt-2.19.so
7f481fa00000-7f481fa01000 r--p 00006000 fc:00 12058723 /lib/x86_64-linux-gnu/librt-2.19.so
7f481fa01000-7f481fa02000 rw-p 00007000 fc:00 12058723 /lib/x86_64-linux-gnu/librt-2.19.so
7f481fa02000-7f481fa18000 r-xp 00000000 fc:00 12062945 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f481fa18000-7f481fc17000 ---p 00016000 fc:00 12062945 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f481fc17000-7f481fc18000 rw-p 00015000 fc:00 12062945 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f481fc18000-7f481fd1d000 r-xp 00000000 fc:00 12058643 /lib/x86_64-linux-gnu/libm-2.19.so
7f481fd1d000-7f481ff1c000 ---p 00105000 fc:00 12058643 /lib/x86_64-linux-gnu/libm-2.19.so
7f481ff1c000-7f481ff1d000 r--p 00104000 fc:00 12058643 /lib/x86_64-linux-gnu/libm-2.19.so
7f481ff1d000-7f481ff1e000 rw-p 00105000 fc:00 12058643 /lib/x86_64-linux-gnu/libm-2.19.so
7f481ff1e000-7f4820004000 r-xp 00000000 fc:00 26214578 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19
7f4820004000-7f4820203000 ---p 000e6000 fc:00 26214578 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19
7f4820203000-7f482020b000 r--p 000e5000 fc:00 26214578 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19
7f482020b000-7f482020d000 rw-p 000ed000 fc:00 26214578 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19
7f482020d000-7f4820222000 rw-p 00000000 00:00 0
7f4820222000-7f4820d4d000 r-xp 00000000 fc:00 28711018 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so
7f4820d4d000-7f4820f4d000 ---p 00b2b000 fc:00 28711018 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so
7f4820f4d000-7f4820fe7000 r--p 00b2b000 fc:00 28711018 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so
7f4820fe7000-7f482100a000 rw-p 00bc5000 fc:00 28711018 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so
7f482100a000-7f4821039000 rw-p 00000000 00:00 0
7f4821039000-7f4821051000 r-xp 00000000 fc:00 12063081 /lib/x86_64-linux-gnu/libz.so.1.2.8
7f4821051000-7f4821250000 ---p 00018000 fc:00 12063081 /lib/x86_64-linux-gnu/libz.so.1.2.8
7f4821250000-7f4821251000 r--p 00017000 fc:00 12063081 /lib/x86_64-linux-gnu/libz.so.1.2.8
7f4821251000-7f4821252000 rw-p 00018000 fc:00 12063081 /lib/x86_64-linux-gnu/libz.so.1.2.8
7f4821252000-7f482126b000 r-xp 00000000 fc:00 12058716 /lib/x86_64-linux-gnu/libpthread-2.19.so
7f482126b000-7f482146a000 ---p 00019000 fc:00 12058716 /lib/x86_64-linux-gnu/libpthread-2.19.so
7f482146a000-7f482146b000 r--p 00018000 fc:00 12058716 /lib/x86_64-linux-gnu/libpthread-2.19.so
7f482146b000-7f482146c000 rw-p 00019000 fc:00 12058716 /lib/x86_64-linux-gnu/libpthread-2.19.so
7f482146c000-7f4821470000 rw-p 00000000 00:00 0
7f4821470000-7f4821473000 r-xp 00000000 fc:00 12058653 /lib/x86_64-linux-gnu/libdl-2.19.so
7f4821473000-7f4821672000 ---p 00003000 fc:00 12058653 /lib/x86_64-linux-gnu/libdl-2.19.so
7f4821672000-7f4821673000 r--p 00002000 fc:00 12058653 /lib/x86_64-linux-gnu/libdl-2.19.so
7f4821673000-7f4821674000 rw-p 00003000 fc:00 12058653 /lib/x86_64-linux-gnu/libdl-2.19.so
7f4821674000-7f482182e000 r-xp 00000000 fc:00 12058724 /lib/x86_64-linux-gnu/libc-2.19.so
7f482182e000-7f4821a2e000 ---p 001ba000 fc:00 12058724 /lib/x86_64-linux-gnu/libc-2.19.so
7f4821a2e000-7f4821a32000 r--p 001ba000 fc:00 12058724 /lib/x86_64-linux-gnu/libc-2.19.so
7f4821a32000-7f4821a34000 rw-p 001be000 fc:00 12058724 /lib/x86_64-linux-gnu/libc-2.19.so
7f4821a34000-7f4821a39000 rw-p 00000000 00:00 0
7f4821a39000-7f4821a46000 r-xp 00000000 fc:00 28711021 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jli/libjli.so
7f4821a46000-7f4821c45000 ---p 0000d000 fc:00 28711021 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jli/libjli.so
7f4821c45000-7f4821c46000 r--p 0000c000 fc:00 28711021 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jli/libjli.so
7f4821c46000-7f4821c47000 rw-p 0000d000 fc:00 28711021 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jli/libjli.so
7f4821c47000-7f4821c6a000 r-xp 00000000 fc:00 12058717 /lib/x86_64-linux-gnu/ld-2.19.so
7f4821c6a000-7f4821c6b000 r--s 00000000 fc:00 22024606 /home/fabio/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar
7f4821c6b000-7f4821c70000 r--s 00027000 fc:00 22025155 /home/fabio/.m2/repository/org/gcube/resources/common-gcore-resources/1.3.2-SNAPSHOT/common-gcore-resources-1.3.2-SNAPSHOT.jar
7f4821c70000-7f4821c72000 r--s 00008000 fc:00 22025154 /home/fabio/.m2/repository/org/gcube/resources/registry-publisher/1.2.5-SNAPSHOT/registry-publisher-1.2.5-SNAPSHOT.jar
7f4821c72000-7f4821c73000 r--s 00002000 fc:00 22025153 /home/fabio/.m2/repository/org/gcube/core/common-encryption/1.0.2-SNAPSHOT/common-encryption-1.0.2-SNAPSHOT.jar
7f4821c73000-7f4821c75000 r--s 00007000 fc:00 22024836 /home/fabio/.m2/repository/org/gcube/core/common-gcore-stubs/1.2.2-SNAPSHOT/common-gcore-stubs-1.2.2-SNAPSHOT.jar
7f4821c75000-7f4821c77000 r--s 00002000 fc:00 22024835 /home/fabio/.m2/repository/org/gcube/resources/discovery/discovery-client/1.0.1-SNAPSHOT/discovery-client-1.0.1-SNAPSHOT.jar
7f4821c77000-7f4821c78000 r--s 00001000 fc:00 22416334 /home/fabio/.m2/repository/org/gcube/core/common-scope-maps/1.0.5-SNAPSHOT/common-scope-maps-1.0.5-SNAPSHOT.jar
7f4821c78000-7f4821c7a000 r--s 00003000 fc:00 22024833 /home/fabio/.m2/repository/org/gcube/core/common-scope/1.2.1-SNAPSHOT/common-scope-1.2.1-SNAPSHOT.jar
7f4821c7a000-7f4821c7c000 r--s 00003000 fc:00 22024832 /home/fabio/.m2/repository/org/gcube/resources/discovery/ic-client/1.0.2-SNAPSHOT/ic-client-1.0.2-SNAPSHOT.jar
7f4821c7c000-7f4821c7e000 r--s 00005000 fc:00 22024540 /home/fabio/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar
7f4821c7e000-7f4821c80000 r--s 00004000 fc:00 22024831 /home/fabio/.m2/repository/org/gcube/core/common-configuration-scanner/1.1.0-SNAPSHOT/common-configuration-scanner-1.1.0-SNAPSHOT.jar
7f4821c80000-7f4821c82000 r--s 0000a000 fc:00 22024830 /home/fabio/.m2/repository/org/gcube/common/common-authorization/2.0.0-SNAPSHOT/common-authorization-2.0.0-SNAPSHOT.jar
7f4821c82000-7f4821c84000 r--s 00003000 fc:00 22024829 /home/fabio/.m2/repository/org/gcube/common/authorization-client/2.0.1-SNAPSHOT/authorization-client-2.0.1-SNAPSHOT.jar
7f4821c84000-7f4821c8e000 rw-p 00000000 00:00 0
7f4821c8e000-7f4821d44000 rw-p 00000000 00:00 0
7f4821d44000-7f4821d47000 ---p 00000000 00:00 0
7f4821d47000-7f4821e4a000 rw-p 00000000 00:00 0
7f4821e4a000-7f4821e4d000 r--s 0000f000 fc:00 28711059 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/icedtea-sound.jar
7f4821e4d000-7f4821e51000 r--s 00034000 fc:00 28711061 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/sunjce_provider.jar
7f4821e51000-7f4821e52000 r--s 00002000 fc:00 28711062 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/dnsns.jar
7f4821e52000-7f4821e54000 r--s 00006000 fc:00 26609349 /usr/share/java/java-atk-wrapper.jar
7f4821e54000-7f4821e56000 r--s 00012000 fc:00 28711063 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/zipfs.jar
7f4821e56000-7f4821e5a000 r--s 00085000 fc:00 28711060 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/localedata.jar
7f4821e5a000-7f4821e5d000 r--s 0003d000 fc:00 28711058 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/sunpkcs11.jar
7f4821e5d000-7f4821e65000 rw-s 00000000 fc:00 24903823 /tmp/hsperfdata_fabio/29383
7f4821e65000-7f4821e66000 rw-p 00000000 00:00 0
7f4821e66000-7f4821e67000 r--p 00000000 00:00 0
7f4821e67000-7f4821e69000 rw-p 00000000 00:00 0
7f4821e69000-7f4821e6a000 r--p 00022000 fc:00 12058717 /lib/x86_64-linux-gnu/ld-2.19.so
7f4821e6a000-7f4821e6b000 rw-p 00023000 fc:00 12058717 /lib/x86_64-linux-gnu/ld-2.19.so
7f4821e6b000-7f4821e6c000 rw-p 00000000 00:00 0
7ffe71724000-7ffe71746000 rw-p 00000000 00:00 0 [stack]
7ffe717f8000-7ffe717fa000 r--p 00000000 00:00 0 [vvar]
7ffe717fa000-7ffe717fc000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
VM Arguments:
jvm_args: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:40941 -Dfile.encoding=UTF-8
java_command: org.eclipse.jdt.internal.junit.runner.RemoteTestRunner -version 3 -port 36722 -testLoaderClass org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader -loaderpluginname org.eclipse.jdt.junit4.runtime -test org.gcube.spatial.data.geonetwork.test.ScopeTests:getCount
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
SHELL=/bin/bash
DISPLAY=:0.0
Signal Handlers:
SIGSEGV: [libjvm.so+0x95b080], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x95b080], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x7cf020], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGXFSZ: [libjvm.so+0x7cf020], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x7cf020], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x7cf150], sa_mask[0]=0x00000004, sa_flags=0x10000004
SIGHUP: [libjvm.so+0x7cf0a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGINT: [libjvm.so+0x7cf0a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTERM: [libjvm.so+0x7cf0a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGQUIT: [libjvm.so+0x7cf0a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTRAP: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
--------------- S Y S T E M ---------------
OS:Ubuntu 14.04 (trusty)
uname:Linux 4.4.0-45-generic #66~14.04.1-Ubuntu SMP Wed Oct 19 15:05:38 UTC 2016 x86_64
libc:glibc 2.19 NPTL 2.19
rlimit: STACK 8192k, CORE 0k, NPROC 63920, NOFILE 4096, AS infinity
load average:0,56 0,53 0,55
/proc/meminfo:
MemTotal: 16415180 kB
MemFree: 287900 kB
MemAvailable: 8104336 kB
Buffers: 442028 kB
Cached: 7524284 kB
SwapCached: 132 kB
Active: 10407940 kB
Inactive: 4271744 kB
Active(anon): 6114356 kB
Inactive(anon): 1108328 kB
Active(file): 4293584 kB
Inactive(file): 3163416 kB
Unevictable: 132 kB
Mlocked: 132 kB
SwapTotal: 16756732 kB
SwapFree: 16741748 kB
Dirty: 148 kB
Writeback: 0 kB
AnonPages: 6713572 kB
Mapped: 1044404 kB
Shmem: 509312 kB
Slab: 758792 kB
SReclaimable: 697732 kB
SUnreclaim: 61060 kB
KernelStack: 14848 kB
PageTables: 65172 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 24964320 kB
Committed_AS: 15775112 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
HardwareCorrupted: 0 kB
AnonHugePages: 3493888 kB
CmaTotal: 0 kB
CmaFree: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 1073876 kB
DirectMap2M: 15685632 kB
CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, tsc, tscinvbit
/proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
stepping : 7
microcode : 0x14
cpu MHz : 3127.246
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts
bugs :
bogomips : 6386.53
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
stepping : 7
microcode : 0x14
cpu MHz : 3252.457
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 4
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts
bugs :
bogomips : 6386.53
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
stepping : 7
microcode : 0x14
cpu MHz : 3212.011
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 4
apicid : 4
initial apicid : 4
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts
bugs :
bogomips : 6386.53
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
stepping : 7
microcode : 0x14
cpu MHz : 3193.847
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
apicid : 6
initial apicid : 6
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts
bugs :
bogomips : 6386.53
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
Memory: 4k page, physical 16415180k(287900k free), swap 16756732k(16741748k free)
vm_info: OpenJDK 64-Bit Server VM (24.111-b01) for linux-amd64 JRE (1.7.0_111-b01), built on Aug 12 2016 05:30:29 by "buildd" with gcc 4.8.4
time: Fri Nov 18 12:41:41 2016
elapsed time: 572 seconds

85448
log.txt

File diff suppressed because one or more lines are too long

View File

@ -104,6 +104,13 @@
<version>1.14.8</version>
</dependency>
<!-- JSON PARSER -->
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20090211</version>
</dependency>
<!-- TEST -->
<dependency>

View File

@ -408,10 +408,10 @@ public class GeoNetwork implements GeoNetworkAdministration {
//******************************* ADMIN ********************************* //
@Override
public void createGroup(String name, String description, String mail)
public void createGroup(String name, String description, String mail,Integer id)
throws GNLibException, GNServerException, MissingServiceEndpointException {
GNClientExtension client=getClient();
client.createGroup(name, description, mail);
client.createGroup(name, description, mail,id);
}
@Override
@ -479,39 +479,38 @@ public class GeoNetwork implements GeoNetworkAdministration {
// Get existing information
// Set<ScopeConfiguration> parentConfigurations=config.getParentScopesConfiguration();
// log.debug("Got parentScope configurations : "+parentConfigurations);
Set<Group> existingGroups=this.getGroups();
Set<User> existingUsers=this.getUsers();
// Set<User> existingUsers=this.getUsers();
//Generate privateGroup
Group privateGroup=GroupUtils.generateRandomGroup(existingGroups, nameLength);
log.debug("Creating private group ..");
this.createGroup(privateGroup.getName(), "Private group for scope "+currentScopeName, "none");
existingGroups.add(privateGroup);
Group privateGroup=GroupUtils.generateRandomGroup(this.getGroups(), nameLength);
log.debug("Creating private group {} ",privateGroup);
this.createGroup(privateGroup.getName(), "Private group for scope "+currentScopeName, "none", privateGroup.getId());
//Generate public group
Group publicGroup=GroupUtils.generateRandomGroup(existingGroups, nameLength);
log.debug("Creating public group..");
this.createGroup(publicGroup.getName(), "Public group for scope "+currentScopeName, "none");
Group publicGroup=GroupUtils.generateRandomGroup(this.getGroups(), nameLength);
log.debug("Creating public group {} ",publicGroup);
this.createGroup(publicGroup.getName(), "Public group for scope "+currentScopeName, "none", privateGroup.getId());
//Reload info
existingGroups=this.getGroups();
Set<Group> existingGroups=this.getGroups();
privateGroup=GroupUtils.getByName(existingGroups, privateGroup.getName());
log.debug("Resulting private group : "+privateGroup);
publicGroup=GroupUtils.getByName(existingGroups, publicGroup.getName());
log.debug("Resulting publicGroup : "+publicGroup);
// Create ckan user
User ckanUser=UserUtils.generateRandomUser(existingUsers, nameLength, passwordLength);
User ckanUser=UserUtils.generateRandomUser(this.getUsers(), nameLength, passwordLength);
log.debug("Creating ckan user..");
Set<Integer> scopeAccessibleGroups=new HashSet<>();
scopeAccessibleGroups.add(publicGroup.getId());
scopeAccessibleGroups.add(privateGroup.getId());
this.createUsers(ckanUser.getUsername(), ckanUser.getPassword(), Profile.Reviewer, scopeAccessibleGroups);
existingUsers.add(ckanUser);
// Create scope user
User scopeUser=UserUtils.generateRandomUser(existingUsers, nameLength, passwordLength);
User scopeUser=UserUtils.generateRandomUser(this.getUsers(), nameLength, passwordLength);
log.debug("Creating scope user..");
// //Scope has read rights on parent groups
// for(ScopeConfiguration conf:parentConfigurations){

View File

@ -15,7 +15,7 @@ import org.gcube.spatial.data.geonetwork.model.faults.MissingServiceEndpointExce
public interface GeoNetworkAdministration extends GeoNetworkPublisher {
public void createGroup(String name, String description, String mail) throws GNLibException, GNServerException,MissingServiceEndpointException;
public void createGroup(String name, String description, String mail,Integer id) throws GNLibException, GNServerException,MissingServiceEndpointException;
public Set<Group> getGroups() throws GNLibException, GNServerException,MissingServiceEndpointException;
public Set<User> getUsers() throws GNLibException, GNServerException,MissingServiceEndpointException;
public void createUsers(String username, String password, Profile profile,

View File

@ -43,8 +43,8 @@ public class GNClientExtension implements GNClient {
}
}
public void createGroup(String name, String description, String mail)throws GNLibException, GNServerException {
GNMetadataAdminExtension.createGroup(getConnection(), access, name, description, mail);
public void createGroup(String name, String description, String mail,Integer id)throws GNLibException, GNServerException {
GNMetadataAdminExtension.createGroup(getConnection(), access, name, description, mail, id);
}

View File

@ -1,32 +1,37 @@
package org.gcube.spatial.data.geonetwork.extension;
import java.io.UnsupportedEncodingException;
import java.net.MalformedURLException;
import java.util.Collection;
import java.util.List;
import org.apache.commons.httpclient.HttpStatus;
import org.apache.log4j.Logger;
import org.gcube.spatial.data.geonetwork.extension.ServerAccess.Version;
import org.gcube.spatial.data.geonetwork.model.User;
import org.gcube.spatial.data.geonetwork.model.User.Profile;
import org.jdom.Element;
import org.jdom.output.Format;
import org.jdom.output.XMLOutputter;
import org.json.JSONArray;
import org.json.JSONObject;
import it.geosolutions.geonetwork.exception.GNLibException;
import it.geosolutions.geonetwork.exception.GNServerException;
import it.geosolutions.geonetwork.util.HTTPUtils;
import lombok.extern.slf4j.Slf4j;
@Slf4j
public class GNMetadataAdminExtension {
private final static Logger LOGGER = Logger.getLogger(GNMetadataAdminExtension.class);
private final static XMLOutputter outputter = new XMLOutputter(Format.getCompactFormat());
private final static String CREATE_GROUP_METHOD="/srv/en/group.update";
private final static String CREATE_GROUP_METHOD_2="/srv/en/group.update";
private final static String CREATE_GROUP_METHOD_3="/srv/api/0.1/groups";
private final static String GROUP_LIST_METHOD="/srv/en/xml.group.list";
private final static String USER_LIST_METHOD_2="/srv/en/xml.user.list";
private final static String USER_LIST_METHOD_3="/srv/api/0.1/users";
private final static String CREATE_USER_METHOD="/srv/en/user.update";
private final static String GET_GROUPS_BY_USER="/srv/en/xml.usergroups.list";
private final static String METADATA_SELECT="/srv/en/metadata.select";
@ -34,51 +39,45 @@ public class GNMetadataAdminExtension {
private final static String AVAILABLE_OWNERSHIP="/srv/en/xml.ownership.groups";
private final static String METADATA_OWNERS="/srv/en/xml.ownership.editors";
private final static String TRANSFER_OWNSERSHIP="/srv/en/xml.ownership.transfer";
public static String allowedOwnershipTransfer(HTTPUtils connection, ServerAccess access, Integer userId) throws GNServerException{
if(LOGGER.isDebugEnabled())
LOGGER.debug("Getting available ownership transfer for user "+userId);
public static String allowedOwnershipTransfer(HTTPUtils connection, ServerAccess access, Integer userId) throws GNServerException, GNLibException{
log.debug("Getting available ownership transfer for user "+userId);
Element request=new Element("request");
request.addContent(new Element("id").setText(userId+""));
return gnCall(connection,access,request,AVAILABLE_OWNERSHIP);
}
public static String metadataOwners(HTTPUtils connection, ServerAccess access) throws GNServerException{
if(LOGGER.isDebugEnabled())
LOGGER.debug("Getting metadata owners");
public static String metadataOwners(HTTPUtils connection, ServerAccess access) throws GNServerException, GNLibException{
log.debug("Getting metadata owners");
Element request=new Element("request");
return gnCall(connection,access,request,METADATA_OWNERS);
}
public static String selectMeta (HTTPUtils connection, ServerAccess access, List<Long> toSelectIds) throws GNServerException{
if(LOGGER.isDebugEnabled())
LOGGER.debug("Massive metadata selection..");
public static String selectMeta (HTTPUtils connection, ServerAccess access, List<Long> toSelectIds) throws GNServerException, GNLibException{
log.debug("Massive metadata selection..");
Element request=buildSelectMetadata(toSelectIds);
return gnCall(connection,access,request,METADATA_SELECT);
}
public static String clearMetaSelection(HTTPUtils connection, ServerAccess access) throws GNServerException{
if(LOGGER.isDebugEnabled())
LOGGER.debug("Massive metadata selection..");
public static String clearMetaSelection(HTTPUtils connection, ServerAccess access) throws GNServerException, GNLibException{
log.debug("Massive metadata selection..");
Element request=buildClearMetaSelection();
return gnCall(connection,access,request,METADATA_SELECT);
}
public static String assignMassiveOwnership(HTTPUtils connection, ServerAccess access,Integer userId, Integer groupId) throws GNServerException{
if(LOGGER.isDebugEnabled())
LOGGER.debug("Assign massive ownership..");
public static String assignMassiveOwnership(HTTPUtils connection, ServerAccess access,Integer userId, Integer groupId) throws GNServerException, GNLibException{
log.debug("Assign massive ownership to u:{},g:{} ",userId,groupId);
Element request=new Element("request");
request.addContent(new Element("user").setText(userId+""));
request.addContent(new Element("group").setText(groupId+""));
return gnCall(connection,access,request,ASSIGN_MASSIVE_OWNERSHIP);
}
public static String transferOwnership(HTTPUtils connection, ServerAccess access,Integer sourceUserId, Integer sourceGroupId,Integer destUserId, Integer destGroupId) throws GNServerException{
if(LOGGER.isDebugEnabled())
LOGGER.debug("Transfering ownership..");
public static String transferOwnership(HTTPUtils connection, ServerAccess access,Integer sourceUserId, Integer sourceGroupId,Integer destUserId, Integer destGroupId) throws GNServerException, GNLibException{
log.debug("Transfering ownership from u:{},g:{} to u:{},g:{}",sourceUserId,sourceGroupId,destUserId,destGroupId);
Element request=new Element("request");
request.addContent(new Element("sourceUser").setText(sourceUserId+""));
request.addContent(new Element("sourceGroup").setText(sourceGroupId+""));
@ -86,26 +85,23 @@ public class GNMetadataAdminExtension {
request.addContent(new Element("targetGroup").setText(destGroupId+""));
return gnCall(connection,access,request,TRANSFER_OWNSERSHIP);
}
public static String editUser(HTTPUtils connection,ServerAccess access,User toAdd, Collection<Integer> groups)throws GNLibException, GNServerException {
if(LOGGER.isDebugEnabled())
LOGGER.debug("Adding user to a group..");
log.debug("Couplign user {} to groups {} ",toAdd,groups);
Element request=buildUpdateUserRequest(toAdd.getId(), toAdd.getUsername(), toAdd.getPassword(), toAdd.getProfile(), groups);
return gnCall(connection,access,request,CREATE_USER_METHOD);
}
public static String getUserGroupd(HTTPUtils connection,ServerAccess access,Integer userId)throws GNLibException, GNServerException {
if(LOGGER.isDebugEnabled())
LOGGER.debug("Getting user groups..");
log.debug("Getting user groups..");
return gnCall(connection,access,new Element("request").addContent(new Element("id").setText(userId+"")),GET_GROUPS_BY_USER);
}
public static String getUsers(HTTPUtils connection, ServerAccess access) throws GNServerException{
if(LOGGER.isDebugEnabled())
LOGGER.debug("Requesting users..");
public static String getUsers(HTTPUtils connection, ServerAccess access) throws GNServerException, GNLibException{
log.debug("Requesting users..");
if(access.getVersion().equals(Version.DUE)){
return gnCall(connection,access,new Element("request"),USER_LIST_METHOD_2);
}else {
@ -115,57 +111,71 @@ public class GNMetadataAdminExtension {
}
public static String createUser(HTTPUtils connection, ServerAccess access, String name, String password, Profile profile, Collection<Integer> groups ) throws GNServerException, GNLibException{
if(LOGGER.isDebugEnabled())
LOGGER.debug("Requesting users..");
log.debug("Requesting users..");
Element userRequest=buildCreateUserRequest(name, password, profile, groups);
return gnCall(connection,access,userRequest,CREATE_USER_METHOD);
}
public static String createGroup(HTTPUtils connection, ServerAccess access, String groupName, String groupDescription, String groupMail) throws GNLibException, GNServerException {
if(LOGGER.isDebugEnabled())
LOGGER.debug(String.format("Creating group [Name : %s, Description : %s, Mail : %s ",groupName,groupDescription,groupMail));
Element adminRequest = buildCreateGroupRequest(groupName, groupDescription, groupMail);
return gnCall(connection, access, adminRequest,CREATE_GROUP_METHOD);
public static String createGroup(HTTPUtils connection, ServerAccess access, String groupName, String groupDescription, String groupMail, Integer groupId) throws GNLibException, GNServerException {
log.debug(String.format("Creating group [Name : %s, Description : %s, Mail : %s ",groupName,groupDescription,groupMail));
Object adminRequest=null;
String method=null;
if(access.getVersion().equals(Version.DUE)){
Element request = new Element("request");
request.addContent(new Element("name").setText(groupName));
request.addContent(new Element("description").setText(groupDescription));
request.addContent(new Element("email").setText(groupMail));
adminRequest= request;
method=CREATE_GROUP_METHOD_2;
} else {
try{
JSONObject object=new JSONObject();
object.put("name", groupName);
object.put("description", groupDescription);
object.put("email", groupMail);
object.put("id",groupId);
adminRequest= object;
method=CREATE_GROUP_METHOD_3;
}catch(Exception e){
throw new GNLibException("Unabel to create JSON request for group creation ", e);
}
}
return gnCall(connection, access, adminRequest,method);
}
public static String getGroups(HTTPUtils connection,ServerAccess access) throws GNServerException{
if(LOGGER.isDebugEnabled())
LOGGER.debug("Requesting groups..");
public static String getGroups(HTTPUtils connection,ServerAccess access) throws GNServerException, GNLibException{
log.debug("Requesting groups..");
return gnCall(connection, access, new Element("request"),GROUP_LIST_METHOD);
}
private static String gnCall(HTTPUtils connection,ServerAccess access, final Element gnRequest,String toInvokeMethod)throws GNServerException {
private static String gnCall(HTTPUtils connection,ServerAccess access, final Object gnRequest,String toInvokeMethod)throws GNServerException, GNLibException {
String serviceURL = access.getGnServiceURL() + toInvokeMethod;
try{
String result=gnRequest==null?gnGET(connection,serviceURL):gnPut(connection, serviceURL, gnRequest);
if(connection.getLastHttpStatus() != HttpStatus.SC_OK)
throw new GNServerException("Error executing call");
return result;
if(connection.getLastHttpStatus() != HttpStatus.SC_OK)
throw new GNServerException("Error executing call");
return result;
}catch(MalformedURLException e){
throw new GNServerException("WRONG URL ",e);
throw new GNServerException("Unable to send request ",e);
}catch(UnsupportedEncodingException e){
throw new GNServerException("Unable to send request ", e);
}catch(GNLibException e){
throw e;
}
}
/**
*
* @see {@link http://geonetwork-opensource.org/latest/developers/xml_services/metadata_xml_services.html#update-operations-allowed-for-a-metadata-metadata-admin }
*/
private static Element buildCreateGroupRequest(String groupName,String groupDescription,String groupMail) throws GNLibException {
if(LOGGER.isDebugEnabled())
LOGGER.debug("Compiling admin request document");
Element request = new Element("request");
request.addContent(new Element("name").setText(groupName));
request.addContent(new Element("description").setText(groupDescription));
request.addContent(new Element("email").setText(groupMail));
return request;
}
/**
@ -173,8 +183,7 @@ public class GNMetadataAdminExtension {
* @see {@link http://geonetwork-opensource.org/latest/developers/xml_services/metadata_xml_services.html#update-operations-allowed-for-a-metadata-metadata-admin }
*/
private static Element buildCreateUserRequest(String name, String password, Profile profile, Collection<Integer> groups) throws GNLibException {
if(LOGGER.isDebugEnabled())
LOGGER.debug("Compiling admin request document");
log.debug("Compiling admin request document");
Element request = new Element("request");
request.addContent(new Element("operation").setText("newuser"));
@ -193,8 +202,7 @@ public class GNMetadataAdminExtension {
* @see {@link http://geonetwork-opensource.org/latest/developers/xml_services/metadata_xml_services.html#update-operations-allowed-for-a-metadata-metadata-admin }
*/
private static Element buildUpdateUserRequest(Integer id, String name, String password, Profile profile, Collection<Integer> groups) throws GNLibException {
if(LOGGER.isDebugEnabled())
LOGGER.debug("Compiling admin request document");
log.debug("Compiling admin request document");
Element request = new Element("request");
request.addContent(new Element("operation").setText("editinfo"));
@ -207,11 +215,10 @@ public class GNMetadataAdminExtension {
}
return request;
}
private static Element buildSelectMetadata(List<Long> toSelectIds){
if(LOGGER.isDebugEnabled())
LOGGER.debug("building selection request");
log.debug("building selection request");
Element request = new Element("request");
if(toSelectIds!=null){
for(Long id:toSelectIds) request.addContent(new Element("id").setText(id.toString()));
@ -219,28 +226,32 @@ public class GNMetadataAdminExtension {
}else request.addContent(new Element("selected").setText("add-all"));
return request;
}
private static Element buildClearMetaSelection(){
if(LOGGER.isDebugEnabled())
LOGGER.debug("building selection request");
log.debug("building selection request");
Element request = new Element("request");
request.addContent(new Element("selected").setText("remove-all"));
return request;
}
private static String gnPut(HTTPUtils connection, String serviceURL, final Element gnRequest) {
private static String gnPut(HTTPUtils connection, String serviceURL, final Object gnRequest) throws UnsupportedEncodingException, GNLibException {
if(gnRequest instanceof Element){
String s = outputter.outputString(gnRequest);
String s = outputter.outputString((Element)gnRequest);
connection.setIgnoreResponseContentOnSuccess(false);
String res = connection.postXml(serviceURL, s);
// if(LOGGER.isInfoEnabled())
// LOGGER.info(serviceURL + " returned --> " + res);
return res;
connection.setIgnoreResponseContentOnSuccess(false);
String res = connection.postXml(serviceURL, s);
return res;
} else if (gnRequest instanceof JSONObject){
String s=((JSONObject) gnRequest).toString();
connection.setIgnoreResponseContentOnSuccess(false);
return ((HttpUtilsExtensions)connection).putJSON(serviceURL, s);
} else throw new GNLibException("Unable to manage request element "+gnRequest);
}
private static String gnGET(HTTPUtils connection, String serviceURL) throws MalformedURLException {
connection.setIgnoreResponseContentOnSuccess(false);

View File

@ -2,7 +2,9 @@ package org.gcube.spatial.data.geonetwork.extension;
import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.net.ConnectException;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
@ -12,6 +14,8 @@ import org.apache.commons.httpclient.HttpStatus;
import org.apache.commons.httpclient.UsernamePasswordCredentials;
import org.apache.commons.httpclient.auth.AuthScope;
import org.apache.commons.httpclient.methods.GetMethod;
import org.apache.commons.httpclient.methods.PutMethod;
import org.apache.commons.httpclient.methods.StringRequestEntity;
import org.apache.commons.io.IOUtils;
import it.geosolutions.geonetwork.util.HTTPUtils;
@ -23,7 +27,7 @@ public class HttpUtilsExtensions extends HTTPUtils {
private final static String JSON_CONTENT_TYPE="application/json";
private final static String XML_CONTENT_TYPE="text/xml";
@ -35,7 +39,7 @@ public class HttpUtilsExtensions extends HTTPUtils {
String username;
String pw;
private int lastHttpStatus;
private int lastHttpStatus;
public HttpUtilsExtensions(String userName, String password) {
super(userName, password);
@ -51,22 +55,16 @@ public class HttpUtilsExtensions extends HTTPUtils {
GetMethod httpMethod = null;
try {
//Set Auth is not visible
URL u = new URL(url);
Credentials defaultcreds = new UsernamePasswordCredentials(username, pw);
client.getState().setCredentials(new AuthScope(u.getHost(), u.getPort()), defaultcreds);
client.getParams().setAuthenticationPreemptive(true); // if we have the credentials, force them!
setAuth(client, url, username, pw);
// creating call
httpMethod = new GetMethod(url);
//only actual difference from superclass
httpMethod.setRequestHeader("Accept", JSON_CONTENT_TYPE);
client.getHttpConnectionManager().getParams().setConnectionTimeout(5000);
lastHttpStatus = client.executeMethod(httpMethod);
if(lastHttpStatus == HttpStatus.SC_OK) {
@ -93,4 +91,69 @@ public class HttpUtilsExtensions extends HTTPUtils {
return null;
}
public String putJSON(String url, String content) throws UnsupportedEncodingException{
PutMethod httpMethod=null;
try {
setAuth(client, url, username, pw);
httpMethod=new PutMethod(url);
client.getHttpConnectionManager().getParams().setConnectionTimeout(5000);
httpMethod.setRequestEntity(new StringRequestEntity(content,JSON_CONTENT_TYPE,"UTF-8"));
//only actual difference from superclass
httpMethod.setRequestHeader("Accept", JSON_CONTENT_TYPE);
lastHttpStatus = client.executeMethod(httpMethod);
switch(lastHttpStatus) {
case HttpURLConnection.HTTP_OK:
case HttpURLConnection.HTTP_CREATED:
case HttpURLConnection.HTTP_ACCEPTED:
log.debug("HTTP "+ httpMethod.getStatusText() + " <-- " + url);
if(super.isIgnoreResponseContentOnSuccess())
return "";
String response = IOUtils.toString(httpMethod.getResponseBodyAsStream());
return response;
default:
String badresponse = IOUtils.toString(httpMethod.getResponseBodyAsStream());
String message = getGeoNetworkErrorMessage(badresponse);
log.warn("Bad response: "+lastHttpStatus
+ " " + httpMethod.getStatusText()
+ " -- " + httpMethod.getName()
+ " " +url
+ " : "
+ message
);
log.debug("GeoNetwork response:\n"+badresponse);
return null;
}
} catch (ConnectException e) {
log.info("Couldn't connect to ["+url+"]");
return null;
} catch (IOException e) {
log.error("Error talking to " + url + " : " + e.getLocalizedMessage());
return null;
} finally {
if(httpMethod != null)
httpMethod.releaseConnection();
}
}
protected void setAuth(HttpClient client, String url, String username, String pw) throws MalformedURLException {
URL u = new URL(url);
if(username != null && pw != null) {
Credentials defaultcreds = new UsernamePasswordCredentials(username, pw);
client.getState().setCredentials(new AuthScope(u.getHost(), u.getPort()), defaultcreds);
client.getParams().setAuthenticationPreemptive(true); // if we have the credentials, force them!
} else {
log.trace("Not setting credentials to access to " + url);
}
}
}

View File

@ -17,7 +17,9 @@ public class User {
RegisteredUser, // R rights
Administrator,
UserAdmin,
Reviewer
Reviewer,
Guest,
Monitor
}

View File

@ -92,8 +92,12 @@ public class GroupUtils {
public static Group generateRandomGroup(Set<Group> existing, Integer nameLenght){
Set<String> existingNames=new HashSet<>();
for(Group g:existing)existingNames.add(g.getName());
return new Group(StringUtils.generateNewRandom(existingNames, nameLenght), "generated group", "no.mail@nothing.org", null);
int maxId=0;
for(Group g:existing){
existingNames.add(g.getName());
if(maxId<g.getId())maxId=g.getId();
}
return new Group(StringUtils.generateNewRandom(existingNames, nameLenght), "generated group", "no.mail@nothing.org", maxId++);
}

View File

@ -1,7 +1,5 @@
package org.gcube.spatial.data.geonetwork.utils;
import it.geosolutions.geonetwork.exception.GNLibException;
import java.io.StringReader;
import java.util.HashSet;
import java.util.Set;
@ -9,6 +7,10 @@ import java.util.Set;
import org.gcube.spatial.data.geonetwork.model.User;
import org.gcube.spatial.data.geonetwork.model.User.Profile;
import org.jdom.input.SAXBuilder;
import org.json.JSONArray;
import org.json.JSONObject;
import it.geosolutions.geonetwork.exception.GNLibException;
public class UserUtils {
@ -27,14 +29,28 @@ public class UserUtils {
}
return toReturn;
}catch(Exception e){
throw new GNLibException("Unable to parse response", e);
throw new GNLibException("Unable to parse users XML response", e);
}
}
public static Set<User> parseUserJSONResponse(String toParse)throws GNLibException{
return null;
try{
HashSet<User> toReturn=new HashSet<>();
JSONArray array=new JSONArray(toParse);
for(int i=0;i<array.length();i++){
JSONObject userObj=array.getJSONObject(i);
Integer id=userObj.getInt("id");
String username=userObj.getString("username");
String password=null; // password is not returned anymore by service responses
Profile profile=Profile.valueOf(userObj.getString("profile"));
toReturn.add(new User(id, username, password, profile));
}
return toReturn;
}catch(Exception e){
throw new GNLibException("Unable to parse users JSON response ",e);
}
}
public static User generateRandomUser(Set<User> existing, Integer nameLenght, Integer passwordLength){
@ -56,7 +72,7 @@ public class UserUtils {
}
return toReturn;
}catch(Exception e){
throw new GNLibException("Unable to parse response", e);
throw new GNLibException("Unable to Groups By User XML response", e);
}
}

View File

@ -98,18 +98,18 @@ public class ScopeTests {
public GeoNetworkAdministration getClient() throws MissingConfigurationException, EncryptionException, MissingServiceEndpointException, GNLibException, GNServerException, AuthorizationException{
if(toUseConfiguration==null){
// ResourceConfiguration resConfig=new ResourceConfiguration();
// resConfig.setAdminPassword("admin");
// resConfig.setVersion((short)3);
// resConfig.setMinor((short)2);
// resConfig.setRevision((short)1);
// resConfig.setBuild((short)5);
// resConfig.setHost("node3-d-d4s.d4science.org");
// resConfig.setEndpoint("http://node3-d-d4s.d4science.org/geonetwork");
// toUseConfiguration=new LocalResourceConfiguration(resConfig);
ResourceConfiguration resConfig=new ResourceConfiguration();
resConfig.setAdminPassword("admin");
resConfig.setVersion((short)3);
resConfig.setMinor((short)2);
resConfig.setRevision((short)1);
resConfig.setBuild((short)5);
resConfig.setHost("node3-d-d4s.d4science.org");
resConfig.setEndpoint("http://node3-d-d4s.d4science.org/geonetwork");
toUseConfiguration=new LocalResourceConfiguration(resConfig);
toUseConfiguration=new DefaultConfiguration();
// toUseConfiguration=new DefaultConfiguration();
}
return GeoNetwork.get(toUseConfiguration);
}