jahp00
Members-
Posts
17 -
Joined
-
Last visited
jahp00's Achievements
-
Hi, I've tried to add that option (-XX:-UseSafeCompiler) but is not recognized by the jvm.. java -jar -cp ...... -XX:-UseSafeCompiler Thanks.
-
Hi, I'm running a job using exported scripts in (opensuse 11.1) java version "1.6.0_07" Java SE Runtime Environment (build 1.6.0_07-b06) Java HotSpot Server VM (build 10.0-b23, mixed mode) Thanks in advance.... The script begins to run, and after a while it shows the message: An unexpected error has been detected by Java Runtime Environment: # # Internal Error (safepoint.cpp:261), pid=26204, tid=1884240784 # Error: guarantee(PageArmed == 0,"invariant") # # Java VM: Java HotSpot Server VM (10.0-b23 mixed mode linux-x86) # An error report file with more information is saved as: # /home/jherrera/Cargar_BD_Completa_1.0/Cargar_BD_Completa/hs_err_pid26204.log /home/jherrera/Cargar_BD_Completa_1.0/ # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # The complete output of the file is : # # An unexpected error has been detected by Java Runtime Environment: # # Internal Error (safepoint.cpp:261), pid=26204, tid=1884240784 # Error: guarantee(PageArmed == 0,"invariant") # # Java VM: Java HotSpot Server VM (10.0-b23 mixed mode linux-x86) # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # --------------- T H R E A D --------------- Current thread (0x70778800): VMThread [stack: 0x70473000,0x704f4000] [id=26210] Stack: [0x70473000,0x704f4000], sp=0x704f2e80, free space=511k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x5ed089] V [libjvm.so+0x2cabdf] V [libjvm.so+0x557ba9] V [libjvm.so+0x5fac0f] V [libjvm.so+0x5fa4ff] V [libjvm.so+0x4fe289] C [libpthread.so.0+0x61b5] --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x7008d800 JavaThread "MySQL Statement Cancellation Timer" daemon [_thread_blocked, id=26218, stack(0x70144000,0x70195000)] 0x70799000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=26216, stack(0x7022d000,0x7027e000)] 0x70797400 JavaThread "CompilerThread1" daemon [_thread_blocked, id=26215, stack(0x7027e000,0x702ff000)] 0x70796000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=26214, stack(0x702ff000,0x70380000)] 0x70794c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=26213, stack(0x70380000,0x703d1000)] 0x7077cc00 JavaThread "Finalizer" daemon [_thread_blocked, id=26212, stack(0x703d1000,0x70422000)] 0x7077b800 JavaThread "Reference Handler" daemon [_thread_blocked, id=26211, stack(0x70422000,0x70473000)] 0x08058c00 JavaThread "main" [_thread_in_Java, id=26207, stack(0xb7e52000,0xb7ea3000)] Other Threads: =>0x70778800 VMThread [stack: 0x70473000,0x704f4000] [id=26210] 0x7079ac00 WatcherThread [stack: 0x701ac000,0x7022d000] [id=26217] VM state:synchronizing (normal execution) VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) [0x08056698/0x080566c0] Safepoint_lock - owner thread: 0x70778800 [0x08056798/0x080567c0] Threads_lock - owner thread: 0x70778800 Heap PSYoungGen total 27648K, used 9476K [0xadb40000, 0xaf7b0000, 0xb4d00000) eden space 26176K, 36% used [0xadb40000,0xae47d2a0,0xaf4d0000) from space 1472K, 1% used [0xaf640000,0xaf644000,0xaf7b0000) to space 1472K, 0% used [0xaf4d0000,0xaf4d0000,0xaf640000) PSOldGen total 233024K, used 963K [0x74d00000, 0x83090000, 0xadb40000) object space 233024K, 0% used [0x74d00000,0x74df0f58,0x83090000) PSPermGen total 16384K, used 5809K [0x70d00000, 0x71d00000, 0x74d00000) object space 16384K, 35% used [0x70d00000,0x712ac458,0x71d00000) Dynamic libraries: 06000000-0665d000 r-xp 00000000 08:01 39843 /usr/lib/jvm/java-1.6.0-sun-1.6.0.u7/jre/lib/i386/server/libjvm.so 0665d000-066a1000 rwxp 0065c000 08:01 39843 /usr/lib/jvm/java-1.6.0-sun-1.6.0.u7/jre/lib/i386/server/libjvm.so 066a1000-06ac3000 rwxp 066a1000 00:00 0 08048000-08052000 r-xp 00000000 08:01 50011 /usr/lib/jvm/java-1.6.0-sun-1.6.0.u7/jre/bin/java.bin 08052000-08053000 rwxp 00009000 08:01 50011 /usr/lib/jvm/java-1.6.0-sun-1.6.0.u7/jre/bin/java.bin 08053000-0859b000 rwxp 08053000 00:00 0 [heap] 6db00000-6db6b000 rwxp 6db00000 00:00 0 6db6b000-6dc00000 ---p 6db6b000 00:00 0 6dc14000-6dc15000 ---p 6dc14000 00:00 0 6dc15000-6dc45000 rwxp 6dc15000 00:00 0 6dc45000-6ddb4000 r-xp 00000000 08:01 52126 /sti/sag/connx/libcnxsqlite.so 6ddb4000-6ddc0000 rwxp 0016f000 08:01 52126 /sti/sag/connx/libcnxsqlite.so 6ddc0000-6dde1000 rwxp 6ddc0000 00:00 0 6dde1000-6dde2000 ---p 6dde1000 00:00 0 6dde2000-6e5e2000 rwxp 6dde2000 00:00 0 6e5e2000-6e5e3000 ---p 6e5e2000 00:00 0 6e5e3000-6ede3000 rwxp 6e5e3000 00:00 0 6ede3000-6f90b000 r-xp 00000000 08:01 52127 /sti/sag/connx/libcnxicu.so 6f90b000-6f917000 rwxp 00b28000 08:01 52127 /sti/sag/connx/libcnxicu.so 6f917000-6f91e000 rwxp 6f917000 00:00 0 6f91e000-6fdbb000 r-xp 00000000 08:01 52132 /sti/sag/connx/libconnx32.so 6fdbb000-6fddb000 rwxp 0049c000 08:01 52132 /sti/sag/connx/libconnx32.so 6fddb000-6fe00000 rwxp 6fddb000 00:00 0 6fe00000-6ff00000 rwxp 6fe00000 00:00 0 6ff02000-6ff10000 r-xp 00000000 08:01 36444 /lib/libcrypt-2.9.so 6ff10000-6ff11000 r-xp 0000d000 08:01 36444 /lib/libcrypt-2.9.so 6ff11000-6ff12000 rwxp 0000e000 08:01 36444 /lib/libcrypt-2.9.so 6ff12000-6ff39000 rwxp 6ff12000 00:00 0 6ff39000-6ffaa000 r-xp 00000000 08:01 177177 /usr/lib/libodbc.so.1.0.0 6ffaa000-6ffab000 r-xp 00070000 08:01 177177 /usr/lib/libodbc.so.1.0.0 6ffab000-6ffaf000 rwxp 00071000 08:01 177177 /usr/lib/libodbc.so.1.0.0 6ffaf000-6ffc5000 r-xp 00000000 08:01 177182 /usr/lib/libodbcinst.so.1.0.0 6ffc5000-6ffc6000 r-xp 00015000 08:01 177182 /usr/lib/libodbcinst.so.1.0.0 6ffc6000-6ffc7000 rwxp 00016000 08:01 177182 /usr/lib/libodbcinst.so.1.0.0 6ffc7000-70000000 rwxp 6ffc7000 00:00 0 70000000-70100000 rwxp 70000000 00:00 0 70120000-7012f000 r-xp 00000000 08:01 51464 /usr/lib/jvm/java-1.6.0-sun-1.6.0.u7/jre/lib/i386/libJdbcOdbc.so 7012f000-70130000 rwxp 0000e000 08:01 51464 /usr/lib/jvm/java-1.6.0-sun-1.6.0.u7/jre/lib/i386/libJdbcOdbc.so 70130000-70143000 r-xp 00000000 08:01 39743 /usr/lib/jvm/java-1.6.0-sun-1.6.0.u7/jre/lib/i386/libnet.so 70143000-70144000 rwxp 00013000 08:01 39743 /usr/lib/jvm/java-1.6.0-sun-1.6.0.u7/jre/lib/i386/libnet.so 70144000-70147000 ---p 70144000 00:00 0 70147000-70195000 rwxp 70147000 00:00 0 70195000-70196000 r-xs 00005000 08:05 55447 /home/jherrera/Cargar_BD_Completa_1.0/lib/userRoutines.jar 70196000-70198000 r-xs 00011000 08:05 55446 /home/jherrera/Cargar_BD_Completa_1.0/lib/systemRoutines.jar 70198000-7019e000 r-xs 00085000 08:05 55445 /home/jherrera/Cargar_BD_Completa_1.0/lib/mysql-connector-java-5.1.0-bin.jar 7019e000-701a5000 r-xs 00110000 08:01 49164 /usr/lib/jvm/java-1.6.0-sun-1.6.0.u7/jre/lib/resources.jar 701a5000-701ac000 r-xs 00051000 08:05 55444 /home/jherrera/Cargar_BD_Completa_1.0/lib/mail.jar 701ac000-701ad000 ---p 701ac000 00:00 0 701ad000-7022d000 rwxp 701ad000 00:00 0 7022d000-70230000 ---p 7022d000 00:00 0 70230000-7027e000 rwxp 70230000 00:00 0 7027e000-70281000 ---p 7027e000 00:00 0 70281000-702ff000 rwxp 70281000 00:00 0 702ff000-70302000 ---p 702ff000 00:00 0 70302000-70380000 rwxp 70302000 00:00 0 70380000-70383000 ---p 70380000 00:00 0 70383000-703d1000 rwxp 70383000 00:00 0 703d1000-703d4000 ---p 703d1000 00:00 0 703d4000-70422000 rwxp 703d4000 00:00 0 70422000-70425000 ---p 70422000 00:00 0 70425000-70473000 rwxp 70425000 00:00 0 70473000-70474000 ---p 70473000 00:00 0 70474000-704f4000 rwxp 70474000 00:00 0 704f4000-7067f000 r-xs 02def000 08:01 49165 /usr/lib/jvm/java-1.6.0-sun-1.6.0.u7/jre/lib/rt.jar 7067f000-70680000 ---p 7067f000 00:00 0 70680000-70700000 rwxp 70680000 00:00 0 70700000-707fd000 rwxp 70700000 00:00 0 707fd000-70800000 ---p 707fd000 00:00 0 70800000-70802000 r-xp 00000000 08:01 5034 /usr/lib/gconv/ISO8859-1.so 70802000-70803000 r-xp 00001000 08:01 5034 /usr/lib/gconv/ISO8859-1.so 70803000-70804000 rwxp 00002000 08:01 5034 /usr/lib/gconv/ISO8859-1.so 70804000-70805000 r-xs 00007000 08:05 55443 /home/jherrera/Cargar_BD_Completa_1.0/lib/javacsv.jar 70805000-70844000 r-xp 00000000 08:01 5126 /usr/lib/locale/es_NI.utf8/LC_CTYPE 70844000-70876000 rwxp 70844000 00:00 0 70876000-70877000 ---p 70876000 00:00 0 70877000-708ff000 rwxp 70877000 00:00 0 708ff000-70917000 rwxp 708ff000 00:00 0 70917000-70989000 rwxp 70917000 00:00 0 70989000-70adf000 rwxp 70989000 00:00 0 70adf000-70ae7000 rwxp 70adf000 00:00 0 70ae7000-70aff000 rwxp 70ae7000 00:00 0 70aff000-70b71000 rwxp 70aff000 00:00 0 70b71000-70cc6000 rwxp 70b71000 00:00 0 70cc6000-70cd5000 rwxp 70cc6000 00:00 0 70cd5000-70cff000 rwxp 70cd5000 00:00 0 70cff000-71d00000 rwxp 70cff000 00:00 0 71d00000-74d00000 rwxp 71d00000 00:00 0 74d00000-83090000 rwxp 74d00000 00:00 0 83090000-adb40000 rwxp 83090000 00:00 0 adb40000-af7b0000 rwxp adb40000 00:00 0 af7b0000-b4d00000 rwxp af7b0000 00:00 0 b4d00000-b4d02000 r-xs 0000c000 08:05 55442 /home/jherrera/Cargar_BD_Completa_1.0/lib/activation.jar b4d02000-b4d03000 r-xs 00005000 08:05 55440 /home/jherrera/Cargar_BD_Completa_1.0/Cargar_BD_Completa/tabla_pagos_fact_desde_temporal_1_0.jar b4d03000-b4d04000 r-xs 00001000 08:05 55439 /home/jherrera/Cargar_BD_Completa_1.0/Cargar_BD_Completa/poblar_tabla_tiempo_0_1.jar b4d04000-b4d05000 r-xs 00004000 08:05 55438 /home/jherrera/Cargar_BD_Completa_1.0/Cargar_BD_Completa/fecha_limites_1_1.jar b4d05000-b4d0c000 r-xs 00000000 08:01 63397 /usr/lib/gconv/gconv-modules.cache b4d0c000-b4d15000 rwxp b4d0c000 00:00 0 b4d15000-b4dcc000 rwxp b4d15000 00:00 0 b4dcc000-b500c000 rwxp b4dcc000 00:00 0 b500c000-b7dcc000 rwxp b500c000 00:00 0 b7dcc000-b7ddb000 r-xp 00000000 08:01 39756 /usr/lib/jvm/java-1.6.0-sun-1.6.0.u7/jre/lib/i386/libzip.so b7ddb000-b7ddd000 rwxp 0000e000 08:01 39756 /usr/lib/jvm/java-1.6.0-sun-1.6.0.u7/jre/lib/i386/libzip.so b7ddd000-b7e00000 r-xp 00000000 08:01 39732 /usr/lib/jvm/java-1.6.0-sun-1.6.0.u7/jre/lib/i386/libjava.so b7e00000-b7e02000 rwxp 00023000 08:01 39732 /usr/lib/jvm/java-1.6.0-sun-1.6.0.u7/jre/lib/i386/libjava.so b7e02000-b7e0c000 r-xp 00000000 08:01 36450 /lib/libnss_files-2.9.so b7e0c000-b7e0d000 r-xp 00009000 08:01 36450 /lib/libnss_files-2.9.so b7e0d000-b7e0e000 rwxp 0000a000 08:01 36450 /lib/libnss_files-2.9.so b7e0e000-b7e17000 r-xp 00000000 08:01 36452 /lib/libnss_nis-2.9.so b7e17000-b7e18000 r-xp 00008000 08:01 36452 /lib/libnss_nis-2.9.so b7e18000-b7e19000 rwxp 00009000 08:01 36452 /lib/libnss_nis-2.9.so b7e19000-b7e2e000 r-xp 00000000 08:01 1331 /lib/libnsl-2.9.so b7e2e000-b7e2f000 r-xp 00014000 08:01 1331 /lib/libnsl-2.9.so b7e2f000-b7e30000 rwxp 00015000 08:01 1331 /lib/libnsl-2.9.so b7e30000-b7e32000 rwxp b7e30000 00:00 0 b7e32000-b7e34000 r-xs 00003000 08:05 51979 /home/jherrera/Cargar_BD_Completa_1.0/Cargar_BD_Completa/cargar_ruc_1_0.jar b7e34000-b7e3f000 r-xp 00000000 08:01 39752 /usr/lib/jvm/java-1.6.0-sun-1.6.0.u7/jre/lib/i386/libverify.so b7e3f000-b7e40000 rwxp 0000b000 08:01 39752 /usr/lib/jvm/java-1.6.0-sun-1.6.0.u7/jre/lib/i386/libverify.so b7e40000-b7e48000 rwxs 00000000 08:01 150800 /tmp/hsperfdata_jherrera/26204 b7e48000-b7e50000 r-xp 00000000 08:01 36456 /lib/librt-2.9.so b7e50000-b7e51000 r-xp 00007000 08:01 36456 /lib/librt-2.9.so b7e51000-b7e52000 rwxp 00008000 08:01 36456 /lib/librt-2.9.so b7e52000-b7e55000 ---p b7e52000 00:00 0 b7e55000-b7ea3000 rwxp b7e55000 00:00 0 b7ea3000-b7eca000 r-xp 00000000 08:01 36446 /lib/libm-2.9.so b7eca000-b7ecb000 r-xp 00026000 08:01 36446 /lib/libm-2.9.so b7ecb000-b7ecc000 rwxp 00027000 08:01 36446 /lib/libm-2.9.so b7ecc000-b7ecd000 rwxp b7ecc000 00:00 0 b7ecd000-b8022000 r-xp 00000000 08:01 36442 /lib/libc-2.9.so b8022000-b8023000 ---p 00155000 08:01 36442 /lib/libc-2.9.so b8023000-b8025000 r-xp 00155000 08:01 36442 /lib/libc-2.9.so b8025000-b8026000 rwxp 00157000 08:01 36442 /lib/libc-2.9.so b8026000-b802a000 rwxp b8026000 00:00 0 b802a000-b802d000 r-xp 00000000 08:01 36445 /lib/libdl-2.9.so b802d000-b802e000 r-xp 00002000 08:01 36445 /lib/libdl-2.9.so b802e000-b802f000 rwxp 00003000 08:01 36445 /lib/libdl-2.9.so b802f000-b8036000 r-xp 00000000 08:01 39716 /usr/lib/jvm/java-1.6.0-sun-1.6.0.u7/jre/lib/i386/jli/libjli.so b8036000-b8038000 rwxp 00006000 08:01 39716 /usr/lib/jvm/java-1.6.0-sun-1.6.0.u7/jre/lib/i386/jli/libjli.so b8038000-b804e000 r-xp 00000000 08:01 1339 /lib/libpthread-2.9.so b804e000-b804f000 r-xp 00015000 08:01 1339 /lib/libpthread-2.9.so b804f000-b8050000 rwxp 00016000 08:01 1339 /lib/libpthread-2.9.so b8050000-b8052000 rwxp b8050000 00:00 0 b8052000-b8053000 r-xs 00004000 08:05 55264 /home/jherrera/Cargar_BD_Completa_1.0/Cargar_BD_Completa/cargar_tablas_auxiliares_1_0.jar b8053000-b8055000 r-xs 00002000 08:05 50053 /home/jherrera/Cargar_BD_Completa_1.0/Cargar_BD_Completa/cargar_bd_completa_1_0.jar b8055000-b8056000 r-xs 00000000 08:05 55393 /home/jherrera/Cargar_BD_Completa_1.0/Cargar_BD_Completa/classpath.jar b8056000-b805d000 r-xp 00000000 08:01 36448 /lib/libnss_compat-2.9.so b805d000-b805e000 r-xp 00006000 08:01 36448 /lib/libnss_compat-2.9.so b805e000-b805f000 rwxp 00007000 08:01 36448 /lib/libnss_compat-2.9.so b805f000-b8065000 r-xp 00000000 08:01 39764 /usr/lib/jvm/java-1.6.0-sun-1.6.0.u7/jre/lib/i386/native_threads/libhpi.so b8065000-b8066000 rwxp 00006000 08:01 39764 /usr/lib/jvm/java-1.6.0-sun-1.6.0.u7/jre/lib/i386/native_threads/libhpi.so b8066000-b8067000 rwxp b8066000 00:00 0 b8067000-b8068000 ---p b8067000 00:00 0 b8068000-b8069000 rwxp b8068000 00:00 0 b8069000-b8087000 r-xp 00000000 08:01 472 /lib/ld-2.9.so b8087000-b8088000 r-xp 0001d000 08:01 472 /lib/ld-2.9.so b8088000-b8089000 rwxp 0001e000 08:01 472 /lib/ld-2.9.so bff74000-bff89000 rwxp bffeb000 00:00 0 [stack] ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso] VM Arguments: jvm_args: -Xms256M -Xmx1024M java_command: fechas_limite.cargar_bd_completa_1_0.Cargar_BD_Completa --context=Default Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=/usr/lib/jvm/java JRE_HOME=/usr/lib/jvm/java/jre PATH=/opt/kde3/bin:/home/jherrera/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin LD_LIBRARY_PATH=/usr/lib/jvm/java-1.6.0-sun-1.6.0.u7/jre/lib/i386/server:/usr/lib/jvm/java-1.6.0-sun-1.6.0.u7/jre/lib/i386:/usr/lib/jvm/java-1.6.0-sun-1.6.0.u7/jre/../lib/i386 SHELL=/bin/bash DISPLAY=localhost:10.0 HOSTTYPE=i386 OSTYPE=linux MACHTYPE=i686-suse-linux Signal Handlers: SIGSEGV: [libjvm.so+0x5edc30], sa_mask[0]=0x7ffbfeff, sa_flags=0x00000000 SIGBUS: [libjvm.so+0x5edc30], sa_mask[0]=0x7ffbfeff, sa_flags=0x00000000 SIGFPE: [libconnx32.so+0xde7b8], sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGPIPE: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGXFSZ: [libjvm.so+0x4fc6a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGILL: [libjvm.so+0x4fc6a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGUSR2: [libjvm.so+0x4fe6e0], sa_mask[0]=0x00000000, sa_flags=0x10000004 SIGHUP: [libjvm.so+0x4fe480], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGINT: [libjvm.so+0x4fe480], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGTERM: [libjvm.so+0x4fe480], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGQUIT: [libjvm.so+0x4fe480], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 --------------- S Y S T E M --------------- OS:openSUSE 11.1 (i586) VERSION = 11.1 uname:Linux 2.6.27.7-9-pae #1 SMP 2008-12-04 18:10:04 +0100 i686 libc:glibc 2.9 NPTL 2.9 rlimit: STACK 8192k, CORE 0k, NPROC 16309, NOFILE 8192, AS infinity load average:2.00 1.95 1.39 CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 7 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3 Memory: 4k page, physical 2044016k(277420k free), swap 4192912k(4191652k free) vm_info: Java HotSpot Server VM (10.0-b23) for linux-x86 JRE (1.6.0_07-b06), built on Jun 10 2008 01:20:15 by "java_re" with gcc 3.2.1-7a (J2SE release) time: Fri Nov 20 10:08:43 2009 elapsed time: 1604 seconds
-
The First thing you must do it's create a variable that calculates the total, and later create a text field that divide the individual value of each category and total (in the variable you created) and set the evaluation time to auto.
-
Hi, i need to change the font in a Bar Chart, but I don't see that property. Can anybody help me please? Code:<?xml version="1.0" encoding="UTF-8"?><jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="report name" pageWidth="612" pageHeight="792" columnWidth="535" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20"> <style name="style1" isDefault="true" fontSize="6"/> <parameter name="fechainicial" class="java.util.Date"> <defaultValueExpression><![CDATA[new Date()]]></defaultValueExpression> </parameter> <parameter name="fechafinal" class="java.util.Date"> <defaultValueExpression><![CDATA[new Date()]]></defaultValueExpression> </parameter> <queryString> <![CDATA[call reccomparativa($P{fechainicial},$P{fechafinal})]]> </queryString> <field name="tipo" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="monto" class="java.math.BigDecimal"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <background> <band/> </background> <title> <band height="82"> <barChart> <chart isShowLegend="false" evaluationTime="Report" theme="default"> <reportElement style="style1" stretchType="RelativeToTallestObject" x="0" y="0" width="250" height="82"/> <chartTitle> <font size="7"/> </chartTitle> <chartSubtitle> <font size="7"/> </chartSubtitle> <chartLegend position="Top"> <font size="7"/> </chartLegend> </chart> <categoryDataset> <categorySeries> <seriesExpression><![CDATA[$F{tipo}]]></seriesExpression> <categoryExpression><![CDATA[$F{tipo}]]></categoryExpression> <valueExpression><![CDATA[$F{monto}]]></valueExpression> <labelExpression><![CDATA[$F{monto}.toString()]]></labelExpression> <itemHyperlink/> </categorySeries> </categoryDataset> <barPlot isShowLabels="true" isShowTickLabels="true" isShowTickMarks="false"> <plot orientation="Horizontal" labelRotation="0.0"/> <categoryAxisFormat> <axisFormat tickLabelMask=""> <labelFont> <font size="5"/> </labelFont> <tickLabelFont/> </axisFormat> </categoryAxisFormat> <valueAxisFormat> <axisFormat tickLabelMask=""> <labelFont> <font size="5"/> </labelFont> <tickLabelFont> <font size="5"/> </tickLabelFont> </axisFormat> </valueAxisFormat> <rangeAxisMinValueExpression><![CDATA[new java.lang.Integer(1000000)]]></rangeAxisMinValueExpression> <rangeAxisMaxValueExpression><![CDATA[new java.lang.Integer(4000000)]]></rangeAxisMaxValueExpression> </barPlot> </barChart> </band> </title> <pageHeader> <band/> </pageHeader> <columnHeader> <band/> </columnHeader> <detail> <band/> </detail> <columnFooter> <band/> </columnFooter> <pageFooter> <band/> </pageFooter> <summary> <band/> </summary></jasperReport>
-
Thanks, I worked using new java.lang.Integer(1000), I was using 1000
-
I'm trying to set the range axis min value expression in a bar chart but I get Cannot cast from int to Comparable, can anybody helpme please?
-
Does anybody has installed jasperserver 3.5.1 on opensuse 11.1 using the existing version of tomcat6, When I install jasperserver using the linux installer, I use the existing version located in /usr/share/tomcat6, but I get the error Error copying file from /opt/jasperserver-3.5.0/scripts/drivers/mysql-connector- java-5.1.5.jar to /usr/share/tomcat6/common/lib :Destination not writable Abort, Retry, Ignore ? [A/r/i] Any idea to set permissions or something, Thanks
-
Well, that was not a jasperserver problem, that was a browser language, the browser shows in the number formats in the locale defined by browser in the language......
-
Hi, I've installed jasperserver 3.5 on apache tomcat and glassfish, but I have a problem: I defined the locale to en, but the numbers in the analysis view are shown with the format #.###,00: Example: Pagos por período y Renta DimensionsExpand All Members with a '+' Icon Collapse AllrentaImpuestoSectorExpand position All rentasExpand position All ImpuestosExpand position All SectorsShow source data">84.404.982.485,41Filter: Measure=[Measures].[montopagado] I need to change the number format to #,###.00. Any idea please?....
-
The problem was the datasource time zone, I removed the time zone from the datasource and voilá.. everything OK.
-
Thanks Sherman, The sub report works fine in jasperreport using input Controls, but when I upload the report in jasperserver using input controls (DATE datatype) there is a 1 day difference between the parameters selected in the input control and the parameters sended to MySQL. Example: I select a date range 01/01/2009 (dd/mm/yyyy) to 31/01/2009 (dd/mm/yyyy) but the query in MySQL shows both parameters 31/12/2008 and 30/01/2009. And that's why the subreport does not work in jasperserver. May be you can give another idea?, thank you very much. * Jasperserver uses the time/zone America/Managua, locale es_NI. * MySQL uses Central America Standard Time. Post Edited by José Antonio Herrera at 03/05/09 14:03
-
Hi, I got a problem with InputControl/DataType (Date), I select a Date interval startDate endDate but in the report output shows the data with one Day Diference ie: startDate=01-01-2009 endDate=01-31-2009 but the report output shows data from 12-31-2008 to 01-30-2009 (I logged the query sended to MySQL and shows the Dates with 1 day diference.) Any idea?
-
Hi, I got an issue with subreport Date parameters, I set the parameters to date (yyyy-mm-dd) 2009-01-01, I always get null values in the report, I check the query in MySQL and the parameter sended to MySQL was '2008-12-31'. I think maybe this is a Date/Time Zone problem. The setting in Jasperserver time zone is America/Chicago, but the Time Zone in my country is -6GTM (America/Managua). Any idea to fix this problem?
-
hi, I've got a problem with a report chart, it works fine in iReport 3.0.0, but when I use jasperserver doesn't work properly, it shows the following exception: I use two Date Control in jasperserver. Any Idea? net.sf.jasperreports.engine.JRRuntimeException: Category series name is null.net.sf.jasperreports.engine.JRRuntimeException: Category series name is null. at net.sf.jasperreports.charts.fill.JRFillCategoryDataset.customIncrement(JRFillCategoryDataset.java:144) at net.sf.jasperreports.engine.fill.JRFillElementDataset.increment(JRFillElementDataset.java:179) at net.sf.jasperreports.engine.fill.JRCalculator.calculateVariables(JRCalculator.java:152) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:682) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportContent(JRVerticalFiller.java:275) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:117) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:888) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:123) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:420) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.fillReport(EngineServiceImpl.java:661) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.fillReport(EngineServiceImpl.java:356) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.executeReport(EngineServiceImpl.java:788) at com.jaspersoft.jasperserver.api.engine.jasperreports.domain.impl.ReportUnitRequest.execute(ReportUnitRequest.java:60) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.execute(EngineServiceImpl.java:288) at com.jaspersoft.jasperserver.war.action.ViewReportAction.executeReport(ViewReportAction.java:329) at com.jaspersoft.jasperserver.war.action.ViewReportAction.verifyData(ViewReportAction.java:222) at sun.reflect.GeneratedMethodAccessor746.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.webflow.util.DispatchMethodInvoker.invoke(DispatchMethodInvoker.java:103) at org.springframework.webflow.action.MultiAction.doExecute(MultiAction.java:136) at org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:203) at org.springframework.webflow.engine.AnnotatedAction.execute(AnnotatedAction.java:142) at org.springframework.webflow.engine.ActionExecutor.execute(ActionExecutor.java:61) at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:180) at org.springframework.webflow.engine.State.enter(State.java:200) at org.springframework.webflow.engine.Transition.execute(Transition.java:229) at org.springframework.webflow.engine.TransitionableState.onEvent(TransitionableState.java:112) at org.springframework.webflow.engine.Flow.onEvent(Flow.java:572) at org.springframework.webflow.engine.impl.RequestControlContextImpl.signalEvent(RequestControlContextImpl.java:207) at org.springframework.webflow.engine.impl.FlowExecutionImpl.signalEvent(FlowExecutionImpl.java:214) at org.springframework.webflow.executor.FlowExecutorImpl.resume(FlowExecutorImpl.java:238) at sun.reflect.GeneratedMethodAccessor224.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154) at org.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210) at $Proxy13.resume(Unknown Source) at org.springframework.webflow.executor.support.FlowRequestHandler.handleFlowRequest(FlowRequestHandler.java:115) at org.springframework.webflow.executor.mvc.FlowController.handleRequestInternal(FlowController.java:170) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:45) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:820) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:755) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:350) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.jaspersoft.jasperserver.war.common.UploadMultipartFilter.doFilter(UploadMultipartFilter.java:86) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264) at org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:335) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at com.jaspersoft.jasperserver.api.metadata.user.service.impl.MetadataAuthenticationProcessingFilter.doFilter(MetadataAuthenticationProcessingFilter.java:141) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at com.jaspersoft.jasperserver.war.util.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:97) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:181) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:165) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:165) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:191) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148) at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:90) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.jaspersoft.jasperserver.war.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:70) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509) at java.lang.Thread.run(Unknown Source)
-
I've got a problem with a report with subreport, the subreport does not recognize the parameters send by the parent report. Any Idea?