sybrix / easygsp

Automatically exported from code.google.com/p/easygsp
Other
0 stars 0 forks source link

Incompatible with 64bit OS? #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi dsmith03, easygsp is exactly what I want for my bioinformatics
development. Thank you for this great tool.

Here is a problem I met:

1. CentOS x64 5.4
2. Sun JDK: 1.6.0_18 64-Bit
when I set up JAVA_HOME in start.sh and run this script, I got the
following error message:

EASYGSP_VERSION: 0.4.2
JRE_HOME: /usr/java/jdk1.6.0_18/jre
JAVA_VERSION: 1.6.0_18
GROOVY_VERSION: 1.7.0
WORKING_DIR: /usr/local/easygsp
Groovy Script Server Started. Listening on port 4444

Exception in thread "main" java.lang.UnsatisfiedLinkError:
/usr/local/easygs                                                         
                       p-0.4.2/lib/native/libjnotify.so:
/usr/local/easygsp-0.4.2/lib/native/libjno                                
                                                tify.so: wrong ELF class:
ELFCLASS32 (Possible cause: architecture word widt                        
                                                        h mismatch)
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728)
        at java.lang.Runtime.loadLibrary0(Runtime.java:823)
        at java.lang.System.loadLibrary(System.java:1028)
        at net.contentobjects.jnotify.linux.JNotify_linux.<clinit>(Unknown
S                                                                         
       ource)
        at
net.contentobjects.jnotify.linux.JNotifyAdapterLinux.<init>(Unkno         
                                                                       wn
Source)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Met                                                                       
         hod)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConst         

ructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delegat         

ingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at net.contentobjects.jnotify.JNotify.<clinit>(Unknown Source)
        at com.sybrix.easygsp.http.FileMonitor.listen(FileMonitor.java:44)
        at com.sybrix.easygsp.server.EasyGServer.start(EasyGServer.java:148)
        at com.sybrix.easygsp.server.EasyGServer.main(EasyGServer.java:361)

It looks a 32/64 bit problem. I tried it in a 32-bit fedora and sun jvm, it
works fine.

Original issue reported on code.google.com by daixin...@gmail.com on 16 May 2010 at 7:21

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Temporary workaround

open $EASYGSP_HOME/conf/server.properties

Modify these properties to match these values.

file.monitor.enabled
use.manual.file.monitor=true

Then delete the *.so files in $EASYGSP_HOME/lib/native

Then start easygsp again.

a thread will be checking the file system at a regular interval instead of 
jnotify

Original comment by dsmit...@gmail.com on 27 May 2010 at 2:14