ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Agarwal <dagarwa...@gmail.com>
Subject Re: ofbiz.log is not generated in runtime/logs (Fedora 16, 64 bit)
Date Mon, 14 May 2012 18:47:07 GMT
I dug into it and found that log4j-over-slf4j-1.6.4.jar is also being used.
there is no point using both log4j and log4j over slf4j jars. I removed
log4j-over-slf4j-1.6.4.jar and now it is working fine


On Mon, May 14, 2012 at 2:23 AM, Deepak Agarwal <dagarwal82@gmail.com>wrote:

> Yes, even I am not able to see logs other than console and access log in
> linux installation.
>
> On Mon, May 14, 2012 at 1:05 AM, Deepak Agarwal <dagarwal82@gmail.com>wrote:
>
>> Check and configure 2 files:
>>
>> 1) framework/base/config/debug.properties
>> 2) framework/base/config/log4j.xml
>>
>> On Sun, May 13, 2012 at 12:51 PM, Fred Quan <quanfg@gmail.com> wrote:
>>
>>> Hi All,
>>>
>>> I'm trying to install/run OFBiz in Fedora 16 64bit.
>>> 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
>>>
>>> --
>>> Thanks,
>>> Deepak Agarwal,
>>>
>>> Paxcel Technologies Pvt Ltd.
>>> Hartron Complex, Sector 18, Gurgaon, India.
>>> E-Mail: deepak.agarwal@paxcel.net
>>> Mobile: +91 9910322604
>>>
>>>
>
>
> --
> Thanks,
> Deepak Agarwal,
>
> Paxcel Technologies Pvt Ltd.
> Hartron Complex, Sector 18, Gurgaon, India.
> E-Mail: deepak.agarwal@paxcel.net
> Mobile: +91 9910322604
>



-- 
Thanks,
Deepak Agarwal,

Paxcel Technologies Pvt Ltd.
Hartron Complex, Sector 18, Gurgaon, India.
E-Mail: deepak.agarwal@paxcel.net
Mobile: +91 9910322604

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message