facing problem during installation-new user

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

facing problem during installation-new user

damanpreet singh
hi
I am a new user, and I'm facing problem ,while installing apache ofbiz
i followed the following steps:
> I downloaded the apache ofbiz from :
http://www.apache.org/dyn/closer.cgi/ofbiz/apache-ofbiz-10.04.02.zip
> I installed 1.6 version of JDK on my system
> I then tried to run the following command, in the directory containing
the extracted folder.

./ant run-install

After running the above command, following error is shown

BUILD FAILED
/home/demon/Documents/apache-ofbiz-10.04.02/build.xml:183: The following
error occurred while executing this line:
/home/demon/Documents/apache-ofbiz-10.04.02/framework/build.xml:147: The
following error occurred while executing this line:
/home/demon/Documents/apache-ofbiz-10.04.02/macros.xml:27: The following
error occurred while executing this line:
/home/demon/Documents/apache-ofbiz-10.04.02/common.xml:97: The following
error occurred while executing this line:
/home/demon/Documents/apache-ofbiz-10.04.02/macros.xml:90:
/home/demon/Documents/apache-ofbiz-10.04.02/framework/security/build/lib/ofbiz-security.jar
is read-only.

>I am using the following version of java:

  Selection    Path                                           Priority
Status
------------------------------------------------------------
  0            /usr/lib/jvm/java-6-openjdk/jre/bin/java        1061
 auto mode
  1            /usr/lib/jvm/java-6-openjdk/jre/bin/java        1061
 manual mode
* 2            /usr/lib/jvm/java-6-sun/jre/bin/java            63
 manual mode
  3            /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java   1051
 manual mode



Please help!!
Reply | Threaded
Open this post in threaded view
|

Re: facing problem during installation-new user

Pierre Smits
Hi,

Please read this:
https://cwiki.apache.org/OFBTECH/apache-ofbiz-technical-production-setup-guide.html

I believe you problem has to do with:

   - having the incorrect java version, or
   - having insufficient access right set to files.

Regards,

Pierre

2012/5/22 damanpreet singh <[hidden email]>

> hi
> I am a new user, and I'm facing problem ,while installing apache ofbiz
> i followed the following steps:
> > I downloaded the apache ofbiz from :
> http://www.apache.org/dyn/closer.cgi/ofbiz/apache-ofbiz-10.04.02.zip
> > I installed 1.6 version of JDK on my system
> > I then tried to run the following command, in the directory containing
> the extracted folder.
>
> ./ant run-install
>
> After running the above command, following error is shown
>
> BUILD FAILED
> /home/demon/Documents/apache-ofbiz-10.04.02/build.xml:183: The following
> error occurred while executing this line:
> /home/demon/Documents/apache-ofbiz-10.04.02/framework/build.xml:147: The
> following error occurred while executing this line:
> /home/demon/Documents/apache-ofbiz-10.04.02/macros.xml:27: The following
> error occurred while executing this line:
> /home/demon/Documents/apache-ofbiz-10.04.02/common.xml:97: The following
> error occurred while executing this line:
> /home/demon/Documents/apache-ofbiz-10.04.02/macros.xml:90:
>
> /home/demon/Documents/apache-ofbiz-10.04.02/framework/security/build/lib/ofbiz-security.jar
> is read-only.
>
> >I am using the following version of java:
>
>  Selection    Path                                           Priority
> Status
> ------------------------------------------------------------
>  0            /usr/lib/jvm/java-6-openjdk/jre/bin/java        1061
>  auto mode
>  1            /usr/lib/jvm/java-6-openjdk/jre/bin/java        1061
>  manual mode
> * 2            /usr/lib/jvm/java-6-sun/jre/bin/java            63
>  manual mode
>  3            /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java   1051
>  manual mode
>
>
>
> Please help!!
>