The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"Problem with Rapid Miner Installation Ubuntu: Cannot initialize XML serializatio"
Legacy User
Member Posts: 0 Newbie
Hi, I'm trying to run rapid miner on Ubuntu but anytime I try either the scripts or simply
java -jar lib/rapidminer.jar the program quits with the following message.
Header Chunk. Image width:270 height:67 depth:8 color type:6 compression type:0 filter type:0 interlace:0
Header Chunk. Image width:432 height:350 depth:8 color type:2 compression type:0 filter type:0 interlace:0
Header Chunk. Image width:16 height:16 depth:8 color type:6 compression type:0 filter type:0 interlace:0
Header Chunk. Image width:24 height:24 depth:8 color type:6 compression type:0 filter type:0 interlace:0
Header Chunk. Image width:32 height:32 depth:8 color type:6 compression type:0 filter type:0 interlace:0
Header Chunk. Image width:48 height:48 depth:8 color type:6 compression type:0 filter type:0 interlace:0
Header Chunk. Image width:64 height:64 depth:8 color type:6 compression type:0 filter type:0 interlace:0
Header Chunk. Image width:128 height:128 depth:8 color type:6 compression type:0 filter type:0 interlace:0
G 28-Nov-08 10:17:36 AM: Property rapidminer.home is not set. Guessing.
G 28-Nov-08 10:17:36 AM: Trying parent directory of '/home/colin/rapidminer-4.3/lib/rapidminer.jar'...gotcha!
G 28-Nov-08 10:17:36 AM: Trying base directory of classes (build) 'failed
G 28-Nov-08 10:17:36 AM: ----------------------------------------------------
G 28-Nov-08 10:17:36 AM: Initialization Settings
G 28-Nov-08 10:17:36 AM: ----------------------------------------------------
G 28-Nov-08 10:17:36 AM: Default system encoding for IO: UTF-8
G 28-Nov-08 10:17:36 AM: Load core operators...
G 28-Nov-08 10:17:36 AM: Load Weka operators: true
G 28-Nov-08 10:17:36 AM: Load JDBC drivers from lib directory: true
G 28-Nov-08 10:17:36 AM: Load JDBC drivers from classpath: false
G 28-Nov-08 10:17:36 AM: Load plugins: true
G 28-Nov-08 10:17:36 AM: Load plugins from '/home/colin/rapidminer-4.3/lib/plugins'
G 28-Nov-08 10:17:36 AM: ----------------------------------------------------
G 28-Nov-08 10:17:36 AM: Read rcfile '/home/colin/rapidminer-4.3/etc/rapidminerrc'.
G 28-Nov-08 10:17:36 AM: Trying rcfile '/home/colin/rapidminer-4.3/etc/rapidminerrc.Linux'...skipped
G 28-Nov-08 10:17:36 AM: Trying rcfile '/home/colin/.rapidminer/4_3_0_rapidminerrc'...skipped
G 28-Nov-08 10:17:36 AM: Trying rcfile '/home/colin/.rapidminer/4_3_0_rapidminerrc.Linux'...skipped
G 28-Nov-08 10:17:36 AM: Trying rcfile '/home/colin/rapidminer-4.3/rapidminerrc'...skipped
G 28-Nov-08 10:17:36 AM: Trying rcfile '/home/colin/rapidminer-4.3/rapidminerrc.Linux'...skipped
G 28-Nov-08 10:17:36 AM: Trying rapidminer.rcfile. Property not specified...skipped
G 28-Nov-08 10:17:39 AM: Loading operators from 'operators.xml'.
G 28-Nov-08 10:17:52 AM: Loading JDBC driver information from 'etc:jdbc_properties.xml'.
G 28-Nov-08 10:17:52 AM: [Error] Cannot initialize XML serialization. Probably the libraries 'xstream.jar' and 'xpp.jar' were not provided. XML serialization will not work!
Exception in thread "main" java.security.InvalidParameterException: unsupported key size: 21
at gnu.javax.crypto.jce.key.SecretKeyGeneratorImpl.engineInit(libgcj.so.81)
at javax.crypto.KeyGenerator.init(libgcj.so.81)
at com.rapidminer.tools.cipher.KeyGeneratorTool.createAndStoreKey(KeyGeneratorTool.java:66)
at com.rapidminer.RapidMiner.init(RapidMiner.java:311)
at com.rapidminer.RapidMiner.init(RapidMiner.java:228)
at com.rapidminer.RapidMiner.init(RapidMiner.java:404)
at com.rapidminer.gui.RapidMinerGUI.run(RapidMinerGUI.java:159)
at com.rapidminer.gui.RapidMinerGUI.main(RapidMinerGUI.java:608)
xstream.jar and xpp3.jar are in the lib file.
any help on this would be appreciated,
Colin
java -jar lib/rapidminer.jar the program quits with the following message.
Header Chunk. Image width:270 height:67 depth:8 color type:6 compression type:0 filter type:0 interlace:0
Header Chunk. Image width:432 height:350 depth:8 color type:2 compression type:0 filter type:0 interlace:0
Header Chunk. Image width:16 height:16 depth:8 color type:6 compression type:0 filter type:0 interlace:0
Header Chunk. Image width:24 height:24 depth:8 color type:6 compression type:0 filter type:0 interlace:0
Header Chunk. Image width:32 height:32 depth:8 color type:6 compression type:0 filter type:0 interlace:0
Header Chunk. Image width:48 height:48 depth:8 color type:6 compression type:0 filter type:0 interlace:0
Header Chunk. Image width:64 height:64 depth:8 color type:6 compression type:0 filter type:0 interlace:0
Header Chunk. Image width:128 height:128 depth:8 color type:6 compression type:0 filter type:0 interlace:0
G 28-Nov-08 10:17:36 AM: Property rapidminer.home is not set. Guessing.
G 28-Nov-08 10:17:36 AM: Trying parent directory of '/home/colin/rapidminer-4.3/lib/rapidminer.jar'...gotcha!
G 28-Nov-08 10:17:36 AM: Trying base directory of classes (build) 'failed
G 28-Nov-08 10:17:36 AM: ----------------------------------------------------
G 28-Nov-08 10:17:36 AM: Initialization Settings
G 28-Nov-08 10:17:36 AM: ----------------------------------------------------
G 28-Nov-08 10:17:36 AM: Default system encoding for IO: UTF-8
G 28-Nov-08 10:17:36 AM: Load core operators...
G 28-Nov-08 10:17:36 AM: Load Weka operators: true
G 28-Nov-08 10:17:36 AM: Load JDBC drivers from lib directory: true
G 28-Nov-08 10:17:36 AM: Load JDBC drivers from classpath: false
G 28-Nov-08 10:17:36 AM: Load plugins: true
G 28-Nov-08 10:17:36 AM: Load plugins from '/home/colin/rapidminer-4.3/lib/plugins'
G 28-Nov-08 10:17:36 AM: ----------------------------------------------------
G 28-Nov-08 10:17:36 AM: Read rcfile '/home/colin/rapidminer-4.3/etc/rapidminerrc'.
G 28-Nov-08 10:17:36 AM: Trying rcfile '/home/colin/rapidminer-4.3/etc/rapidminerrc.Linux'...skipped
G 28-Nov-08 10:17:36 AM: Trying rcfile '/home/colin/.rapidminer/4_3_0_rapidminerrc'...skipped
G 28-Nov-08 10:17:36 AM: Trying rcfile '/home/colin/.rapidminer/4_3_0_rapidminerrc.Linux'...skipped
G 28-Nov-08 10:17:36 AM: Trying rcfile '/home/colin/rapidminer-4.3/rapidminerrc'...skipped
G 28-Nov-08 10:17:36 AM: Trying rcfile '/home/colin/rapidminer-4.3/rapidminerrc.Linux'...skipped
G 28-Nov-08 10:17:36 AM: Trying rapidminer.rcfile. Property not specified...skipped
G 28-Nov-08 10:17:39 AM: Loading operators from 'operators.xml'.
G 28-Nov-08 10:17:52 AM: Loading JDBC driver information from 'etc:jdbc_properties.xml'.
G 28-Nov-08 10:17:52 AM: [Error] Cannot initialize XML serialization. Probably the libraries 'xstream.jar' and 'xpp.jar' were not provided. XML serialization will not work!
Exception in thread "main" java.security.InvalidParameterException: unsupported key size: 21
at gnu.javax.crypto.jce.key.SecretKeyGeneratorImpl.engineInit(libgcj.so.81)
at javax.crypto.KeyGenerator.init(libgcj.so.81)
at com.rapidminer.tools.cipher.KeyGeneratorTool.createAndStoreKey(KeyGeneratorTool.java:66)
at com.rapidminer.RapidMiner.init(RapidMiner.java:311)
at com.rapidminer.RapidMiner.init(RapidMiner.java:228)
at com.rapidminer.RapidMiner.init(RapidMiner.java:404)
at com.rapidminer.gui.RapidMinerGUI.run(RapidMinerGUI.java:159)
at com.rapidminer.gui.RapidMinerGUI.main(RapidMinerGUI.java:608)
xstream.jar and xpp3.jar are in the lib file.
any help on this would be appreciated,
Colin
Tagged:
0
Answers
which JRE do you use?
Greetings,
Sebastian
I'm using sun-java6-jre,
regards,
Colin
I'm very sorry, but I've never heard of this error. I know some Ubuntu installations running without problem.
Hmm, the line of code tries to initialise the Cryptography engine. Perhabs your installation uses a different Cryptography Implementation, not supporting the, admittedly strange size of the key.
I will ask the developer, why the keysize was chosen on 168 bit...
Greetings,
Sebastian
it looks like the RapidMinerGUI script is doing evil things:
it always runs a `which java` even if a JAVA_HOME has been specified on the begin of the script.
so it tries to run RapidMinerGUI with gcj on my Ubuntu.
You can try the code below and replace the first lines of your RapidMinerGUI script.
It worked well on my Ubuntu 8.10 x86-64 with either the java 1.5 or the java 6 line
make sure to uncomment exactly one of the JAVA_HOME lines
and adjust RAPIDMINER_HOME good luck
It happens with both java versions and with both 32-bit and 64-bit.
I already adjusted the JAVA_HOME and RAPIDMINER_HOME
plz help, thx
greetz
drz
http://rapid-i.com/rapidforum/index.php/topic,863.0.html
greetz