You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Fred Quan <qu...@gmail.com> on 2012/05/12 09:23:24 UTC
ofbiz.log is not generated in runtime/logs in Fedora 16
I'm trying to install/run OFBiz in Fedora 16.
I installed Oracle Java jdk1.6.0_25 instead of openjdk and installed
Eclipse Indigo SR2, then download OFBiz 11.04 trunk revision 1337320.
[fred@eserver ~]$ alternatives --display java
java - status is manual.
link currently points to /usr/java/jdk1.6.0_25/bin/java
/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java - priority 16000
/usr/java/jdk1.6.0_25/bin/java - priority 20000
Current `best' version is /usr/java/jdk1.6.0_25/bin/java. <<<===
[fred@eserver ~]$
[fred@eserver ~]$ echo $JAVA_HOME
/usr/java/jdk1.6.0_25/bin
[fred@eserver ~]$
[fred@eserver ~]$ echo $PATH
/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/fred/.local/bin:/home/fred/bin:/usr/java/jdk1.6.0_25/bin
[fred@eserver ~]$
Problem 1:
After run build.xml from Ant build, I didn't see ofbiz.log and ofbiz.html
in runtime/logs directory.
I install the same revision OFBiz to window 7, ofbiz.log will be generated
after run build.xml from Ant build.
Problem 2:
run./startofbiz.sh, there is a warning java classpath
'/usr/java/jdk1.6.0_25/jre/../lib/amd64' is not valid and will be ignored.
'/usr/java/jdk1.6.0_25/jre/../lib/amd64' is real invalid.
'/usr/java/jdk1.6.0_25/jre/./lib/amd64' is a good path.
I don't know if I setup wrong java class path in fedora 16, or ofbiz get
the wrong java class path itself. How to check it.
[fred@eserver ofbiz]$ ./startofbiz.sh
Start.java using configuration file org/ofbiz/base/start/start.properties
Set OFBIZ_HOME to - /home/fred/workspace/ofbiz
Admin socket configured on - /127.0.0.1:10523
58 [main] INFO org.ofbiz.base.container.ContainerLoader - [Startup] Loading
containers...
Warning : Module classpath component
'/usr/java/jdk1.6.0_25/jre/../lib/amd64' is not valid and will be
ignored... <<<===
Warning : Module classpath component '/usr/java/packages/lib/amd64' is not
valid and will be ignored...
660 [main] INFO org.ofbiz.base.container.ComponentContainer - Auto-Loading
component directory : [/home/fred/workspace/ofbiz/framework]
699 [main] INFO org.ofbiz.base.container.ComponentContainer - Loading
component : [base]
720 [main] INFO org.ofbiz.base.container.ComponentContainer - Loading
component : [geronimo]
[fred@eserver ~]$ ls /usr/java/jdk1.6.0_25/jre/../lib/amd64
ls: cannot access /usr/java/jdk1.6.0_25/jre/../lib/amd64: No such file or
directory
[fred@eserver ~]$
[fred@eserver ~]$ ls /usr/java/jdk1.6.0_25/jre/./lib/amd64
headless libdeploy.so libj2pcsc.so libJdbcOdbc.so
libmlib_image.so librmi.so native_threads
jli libdt_socket.so libj2pkcs11.so libjdwp.so
libnative_chmod_g.so libsaproc.so server
jvm.cfg libfontmanager.so libjaas_unix.so libjpeg.so
libnative_chmod.so libsplashscreen.so xawt
libattach.so libhprof.so libjava_crw_demo.so libjsig.so
libnet.so libunpack.so
libawt.so libinstrument.so libjavaplugin_jni.so libjsoundalsa.so
libnio.so libverify.so
libcmm.so libioser12.so libjava.so libjsound.so
libnpjp2.so libzip.so
libdcpr.so libj2gss.so libjawt.so libmanagement.so
libnpt.so motif21
[fred@eserver ~]$
I really appreciate if someone help me to solve these problems.
Thanks,
-Fred