Hi all,
While trying to install Ramadda, I stumbling upon t the following:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
$ ./ramadda.sh
RAMADDA: running at http://localhost:8080/repository
RAMADDA: home directory: /data/ramadda-data
RAMADDA: Configuring log4j. Note: this may print out a stack trace.
log4j:WARN No appenders could be found for logger (org.apache.commons.httpclient.HttpClient).
log4j:WARN Please initialize the log4j system properly.
RAMADDA: DatabaseManager connection url:jdbc:derby:repository;create=true user name:null
RAMADDA: repository started
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
then I go to my browser in order to complete the installation. I choose an admin login and a password. I get the follown error.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ERROR:Creating IdvOutputHandler
java.lang.ClassNotFoundException: javax.media.j3d.SceneGraphObject
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at visad.util.Util.<clinit>(Util.java:299)
at ucar.unidata.idv.IntegratedDataViewer.checkSystem(IntegratedDataViewer.java:391)
at ucar.unidata.idv.IntegratedDataViewer.<init>(IntegratedDataViewer.java:285)
at ucar.unidata.idv.IdvServer$MyIdv.<init>(IdvServer.java:133)
at ucar.unidata.idv.IdvServer.<init>(IdvServer.java:57)
at org.ramadda.geodata.idv.IdvOutputHandler.checkIdv(IdvOutputHandler.java:543)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at ucar.unidata.util.Misc$2.run(Misc.java:1063)
at ucar.unidata.util.Misc$3.run(Misc.java:1091)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
I am running a standalong install using CentOS 6.2
Can anybody give me a hint on how to solve my problem.
Thx. ;-)
ramadda.sh
#############################################################################################################
#!/bin/sh
JAVA=java
echo 'RAMADDA: running at http://localhost:8080/repository'
#${JAVA} -Xmx512m -XX:MaxPermSize=256m -jar lib/ramadda.jar -port 8080 $*
##RAMADDA will create a home directory under ~/.ramadda to store content
##and the database. To change the directory do:
${JAVA} -Xmx512m -XX:MaxPermSize=256m -jar lib/ramadda.jar -port 8080 -Dramadda_home=/data/ramadda-data
#The default above is to use Java Derby as the database
#To run with mysql you do:
#${JAVA} -Xmx512m -XX:MaxPermSize=256m -jar lib/ramadda.jar -port 8080 -Dramadda.db=mysql -Dramadda_home=/data/ramadda-data
#############################################################################################################
#For more information see:
#http://facdev.unavco.org/repository/userguide/installing.html
Hi,
Are you getting that stack trace in your browser or on the command line? The Idv plugin will fail gracefully if there isn't a window system.
-Jeff