ofbiz.log is not generated in runtime/logs (Fedora 16, 64 bit)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

ofbiz.log is not generated in runtime/logs (Fedora 16, 64 bit)

Fred Quan
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
Reply | Threaded
Open this post in threaded view
|

Re: ofbiz.log is not generated in runtime/logs (Fedora 16, 64 bit)

Deepak Agarwal-2
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 <[hidden email]> 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: [hidden email]
> Mobile: +91 9910322604
>
>
Reply | Threaded
Open this post in threaded view
|

Re: ofbiz.log is not generated in runtime/logs (Fedora 16, 64 bit)

Deepak Agarwal-2
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 <[hidden email]>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 <[hidden email]> 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: [hidden email]
>> Mobile: +91 9910322604
>>
>>


--
Thanks,
Deepak Agarwal,

Paxcel Technologies Pvt Ltd.
Hartron Complex, Sector 18, Gurgaon, India.
E-Mail: [hidden email]
Mobile: +91 9910322604
Reply | Threaded
Open this post in threaded view
|

Re: ofbiz.log is not generated in runtime/logs (Fedora 16, 64 bit)

Deepak Agarwal-2
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 <[hidden email]>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 <[hidden email]>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 <[hidden email]> 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: [hidden email]
>>> Mobile: +91 9910322604
>>>
>>>
>
>
> --
> Thanks,
> Deepak Agarwal,
>
> Paxcel Technologies Pvt Ltd.
> Hartron Complex, Sector 18, Gurgaon, India.
> E-Mail: [hidden email]
> Mobile: +91 9910322604
>



--
Thanks,
Deepak Agarwal,

Paxcel Technologies Pvt Ltd.
Hartron Complex, Sector 18, Gurgaon, India.
E-Mail: [hidden email]
Mobile: +91 9910322604
Reply | Threaded
Open this post in threaded view
|

Re: ofbiz.log is not generated in runtime/logs (Fedora 16, 64 bit)

Adrian Crum-3
Please create a Jira issue for this.

-Adrian

On 5/14/2012 7:47 PM, Deepak Agarwal wrote:

> 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<[hidden email]>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<[hidden email]>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<[hidden email]>  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: [hidden email]
>>>> Mobile: +91 9910322604
>>>>
>>>>
>>
>> --
>> Thanks,
>> Deepak Agarwal,
>>
>> Paxcel Technologies Pvt Ltd.
>> Hartron Complex, Sector 18, Gurgaon, India.
>> E-Mail: [hidden email]
>> Mobile: +91 9910322604
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: ofbiz.log is not generated in runtime/logs (Fedora 16, 64 bit)

Deepak Agarwal
Jira link seems to be down.

On Tue, May 15, 2012 at 12:19 AM, Adrian Crum <
[hidden email]> wrote:

> Please create a Jira issue for this.
>
> -Adrian
>
>
> On 5/14/2012 7:47 PM, Deepak Agarwal wrote:
>
>> 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<[hidden email]>**
>> 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<[hidden email]>**
>>> 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<[hidden email]>  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: [hidden email]
>>>>> Mobile: +91 9910322604
>>>>>
>>>>>
>>>>>
>>> --
>>> Thanks,
>>> Deepak Agarwal,
>>>
>>> Paxcel Technologies Pvt Ltd.
>>> Hartron Complex, Sector 18, Gurgaon, India.
>>> E-Mail: [hidden email]
>>> Mobile: +91 9910322604
>>>
>>>
>>
>>


--
Thanks,
Deepak Agarwal,

Paxcel Technologies Pvt Ltd.
Hartron Complex, Sector 18, Gurgaon, India.
E-Mail: [hidden email]
Mobile: +91 9910322604
Reply | Threaded
Open this post in threaded view
|

Re: ofbiz.log is not generated in runtime/logs (Fedora 16, 64 bit)

Deepak Agarwal-2
Isn't https://issues.apache.org/jira/browse/OFBIZ is link to JIRA ? It is
down.

On Tue, May 15, 2012 at 12:24 AM, Deepak Agarwal
<[hidden email]>wrote:

> Jira link seems to be down.
>
>
> On Tue, May 15, 2012 at 12:19 AM, Adrian Crum <
> [hidden email]> wrote:
>
>> Please create a Jira issue for this.
>>
>> -Adrian
>>
>>
>> On 5/14/2012 7:47 PM, Deepak Agarwal wrote:
>>
>>> 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<[hidden email]>**
>>> 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<[hidden email]>**
>>>> 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<[hidden email]>  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: [hidden email]
>>>>>> Mobile: +91 9910322604
>>>>>>
>>>>>>
>>>>>>
>>>> --
>>>> Thanks,
>>>> Deepak Agarwal,
>>>>
>>>> Paxcel Technologies Pvt Ltd.
>>>> Hartron Complex, Sector 18, Gurgaon, India.
>>>> E-Mail: [hidden email]
>>>> Mobile: +91 9910322604
>>>>
>>>>
>>>
>>>
>
>
> --
> Thanks,
> Deepak Agarwal,
>
> Paxcel Technologies Pvt Ltd.
> Hartron Complex, Sector 18, Gurgaon, India.
> E-Mail: [hidden email]
> Mobile: +91 9910322604
>
> --
> Thanks,
> Deepak Agarwal,
>
> Paxcel Technologies Pvt Ltd.
> Hartron Complex, Sector 18, Gurgaon, India.
> E-Mail: [hidden email]
> Mobile: +91 9910322604
>
>  <%2B91%209910322604>
>
Reply | Threaded
Open this post in threaded view
|

Re: ofbiz.log is not generated in runtime/logs (Fedora 16, 64 bit)

Jacques Le Roux
Administrator
ASF Jira has been down almost all day, it's back again...

Jacques

From: "Deepak Agarwal" <[hidden email]>

> Isn't https://issues.apache.org/jira/browse/OFBIZ is link to JIRA ? It is
> down.
>
> On Tue, May 15, 2012 at 12:24 AM, Deepak Agarwal
> <[hidden email]>wrote:
>
>> Jira link seems to be down.
>>
>>
>> On Tue, May 15, 2012 at 12:19 AM, Adrian Crum <
>> [hidden email]> wrote:
>>
>>> Please create a Jira issue for this.
>>>
>>> -Adrian
>>>
>>>
>>> On 5/14/2012 7:47 PM, Deepak Agarwal wrote:
>>>
>>>> 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<[hidden email]>**
>>>> 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<[hidden email]>**
>>>>> 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<[hidden email]>  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: [hidden email]
>>>>>>> Mobile: +91 9910322604
>>>>>>>
>>>>>>>
>>>>>>>
>>>>> --
>>>>> Thanks,
>>>>> Deepak Agarwal,
>>>>>
>>>>> Paxcel Technologies Pvt Ltd.
>>>>> Hartron Complex, Sector 18, Gurgaon, India.
>>>>> E-Mail: [hidden email]
>>>>> Mobile: +91 9910322604
>>>>>
>>>>>
>>>>
>>>>
>>
>>
>> --
>> Thanks,
>> Deepak Agarwal,
>>
>> Paxcel Technologies Pvt Ltd.
>> Hartron Complex, Sector 18, Gurgaon, India.
>> E-Mail: [hidden email]
>> Mobile: +91 9910322604
>>
>> --
>> Thanks,
>> Deepak Agarwal,
>>
>> Paxcel Technologies Pvt Ltd.
>> Hartron Complex, Sector 18, Gurgaon, India.
>> E-Mail: [hidden email]
>> Mobile: +91 9910322604
>>
>>  <%2B91%209910322604>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: ofbiz.log is not generated in runtime/logs (Fedora 16, 64 bit)

Jacques Le Roux
Administrator
In reply to this post by Fred Quan
There are still some minor issues, the infra team is facing strong problems with last upgrade it seems...

Jacques

From: "Jacques Le Roux" <[hidden email]>

> ASF Jira has been down almost all day, it's back again...
>
> Jacques
>
> From: "Deepak Agarwal" <[hidden email]>
>> Isn't https://issues.apache.org/jira/browse/OFBIZ is link to JIRA ? It is
>> down.
>>
>> On Tue, May 15, 2012 at 12:24 AM, Deepak Agarwal
>> <[hidden email]>wrote:
>>
>>> Jira link seems to be down.
>>>
>>>
>>> On Tue, May 15, 2012 at 12:19 AM, Adrian Crum <
>>> [hidden email]> wrote:
>>>
>>>> Please create a Jira issue for this.
>>>>
>>>> -Adrian
>>>>
>>>>
>>>> On 5/14/2012 7:47 PM, Deepak Agarwal wrote:
>>>>
>>>>> 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<[hidden email]>**
>>>>> 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<[hidden email]>**
>>>>>> 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<[hidden email]>  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: [hidden email]
>>>>>>>> Mobile: +91 9910322604
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>> --
>>>>>> Thanks,
>>>>>> Deepak Agarwal,
>>>>>>
>>>>>> Paxcel Technologies Pvt Ltd.
>>>>>> Hartron Complex, Sector 18, Gurgaon, India.
>>>>>> E-Mail: [hidden email]
>>>>>> Mobile: +91 9910322604
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>
>>>
>>> --
>>> Thanks,
>>> Deepak Agarwal,
>>>
>>> Paxcel Technologies Pvt Ltd.
>>> Hartron Complex, Sector 18, Gurgaon, India.
>>> E-Mail: [hidden email]
>>> Mobile: +91 9910322604
>>>
>>> --
>>> Thanks,
>>> Deepak Agarwal,
>>>
>>> Paxcel Technologies Pvt Ltd.
>>> Hartron Complex, Sector 18, Gurgaon, India.
>>> E-Mail: [hidden email]
>>> Mobile: +91 9910322604
>>>
>>>  <%2B91%209910322604>
>>>
>>