Problem Installing ofbiz - build works but startofbiz does not

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

Problem Installing ofbiz - build works but startofbiz does not

BlueGreenTechnologies.com
I have been trying to sucessfully install ofbiz for about three weeks now. As yet I have not had a sucessful working result. but have learnt much during the process as well as my fitst introduction to the java ee sdk amongst other java offerings.

Now the install,

I have followed the instructions on the apache ofbiz site to the bitter end.

two days ago i finally had a sucessful build using ant.
I am working through the cmd.exe window on a windows(evil) ;o) XP laptop. [evaluation]

one problem i discovered is the 'java_ee_sdk_5' ran a application server on port 8080. i reinstalled this to port 8085 - this looks like fun to play with, also by installing it along side the sdk mentioned below the ant build was finally sucessful.

i also have java sdk combined jvm 'j2sdk1.4.2_16' installed under program files.

i believe i have all the correct environmental variables set correctly - i.e. things have started to work so far.

apache ant seems to be ok. i have not set classpath as suggested in the ofbiz/ant install pages.

and i am using subversion [working] to checkout - the trunks i have tried are:
http://svn.apache.org/repos/asf/ofbiz/trunk
http://svn.ofbiz.org/svn/ofbiz/trunk

i initially did the ant.bat build
and also the ant run-install    these were both sucessfull (using ant clean after each attempt)

then doing startofbiz.bat from the command line does not work.
I do get a load of start up output in the cmd window but this is like greek to me. but i do see some errors such as

connection refused to host 127.0.0.1 --- mentioned three times at the current count

I have had popups from windows to allow internet access and have clicked ok etc

so far i am completely stumped, bamboozaled and getting tired but am still fighting!

Please Please Please can someone help -

p.s. before you say... I cant afford a new computer at the moment but i do have a spare fedora core 6 machine - but am too instatutionalised in the windows environment to get my head round feodora linux env in a single evening. lol ;o). that is a play time task for a later date....





Reply | Threaded
Open this post in threaded view
|

Re: Problem Installing ofbiz - build works but startofbiz does not

BJ Freeman
correct is
http://svn.apache.org/repos/asf/ofbiz/trunk
if you do a java -version what do you get? should be 1.5 or better
you can leave the address at 0.0.0.0 and it will work. running both
trunk and branch on an XP home computer.
I just copy, edit and paste the start line from startofbiz.bat
I take and added the path to the front of the /java
you can hard code it into the bat file if you want.

helps if you attach the log file so we can see what is happening.

BlueGreenTechnologies.com sent the following on 12/7/2007 9:04 AM:

> I have been trying to sucessfully install ofbiz for about three weeks now. As
> yet I have not had a sucessful working result. but have learnt much during
> the process as well as my fitst introduction to the java ee sdk amongst
> other java offerings.
>
> Now the install,
>
> I have followed the instructions on the apache ofbiz site to the bitter end.
>
> two days ago i finally had a sucessful build using ant.
> I am working through the cmd.exe window on a windows(evil) ;o) XP laptop.
> [evaluation]
>
> one problem i discovered is the 'java_ee_sdk_5' ran a application server on
> port 8080. i reinstalled this to port 8085 - this looks like fun to play
> with, also by installing it along side the sdk mentioned below the ant build
> was finally sucessful.
>
> i also have java sdk combined jvm 'j2sdk1.4.2_16' installed under program
> files.
>
> i believe i have all the correct environmental variables set correctly -
> i.e. things have started to work so far.
>
> apache ant seems to be ok. i have not set classpath as suggested in the
> ofbiz/ant install pages.
>
> and i am using subversion [working] to checkout - the trunks i have tried
> are:
> http://svn.apache.org/repos/asf/ofbiz/trunk
> http://svn.ofbiz.org/svn/ofbiz/trunk
>
> i initially did the ant.bat build
> and also the ant run-install    these were both sucessfull (using ant clean
> after each attempt)
>
> then doing startofbiz.bat from the command line does not work.
> I do get a load of start up output in the cmd window but this is like greek
> to me. but i do see some errors such as
>
> connection refused to host 127.0.0.1 --- mentioned three times at the
> current count
>
> I have had popups from windows to allow internet access and have clicked ok
> etc
>
> so far i am completely stumped, bamboozaled and getting tired but am still
> fighting!
>
> Please Please Please can someone help -
>
> p.s. before you say... I cant afford a new computer at the moment but i do
> have a spare fedora core 6 machine - but am too instatutionalised in the
> windows environment to get my head round feodora linux env in a single
> evening. lol ;o). that is a play time task for a later date....
>
>
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Problem Installing ofbiz - build works but startofbiz does not

BlueGreenTechnologies.com
many thanks for your answers/additional questions BJ Freeman...

BJ Freeman wrote
I will try it again but i do think this is the one i am using....

BJ Freeman wrote
if you do a java -version what do you get? should be 1.5 or better
Ans --- java -version is 1.6.0_03

BJ Freeman wrote
you can leave the address at 0.0.0.0 and it will work.
running both trunk and branch on an XP home computer.
question --- is this the default address "http://0.0.0.0" rather than "http://localhost:8080/" or "http://127.0.0.1:8080/" i.e. building direct from svn trunk to do a test run will use 0.0.0.0 in the browser to see ofbiz.

BJ Freeman wrote
I just copy, edit and paste the start line from startofbiz.bat
I take and added the path to the front of the /java
you can hard code it into the bat file if you want.
Do you mean like this:?
change
"%JAVA_HOME%\bin\java" -Xms256M -Xmx512M -jar ofbiz.jar > framework\logs\console.log
to
"c:\Program Files\j2sdk1.4.2_16\bin\java" -Xms256M -Xmx512M -jar ofbiz.jar > framework\logs\console.log
type above in at the comand line in cmd.exe window or as you say hard code it in the bat file.

BJ Freeman wrote
helps if you attach the log file so we can see what is happening.
please see logs attached.
ofbiz/framework/logs/
console.log
ofbiz.log

Many thanks
Matt









BlueGreenTechnologies.com sent the following on 12/7/2007 9:04 AM:
> I have been trying to sucessfully install ofbiz for about three weeks now. As
> yet I have not had a sucessful working result. but have learnt much during
> the process as well as my fitst introduction to the java ee sdk amongst
> other java offerings.
>
> Now the install,
>
> I have followed the instructions on the apache ofbiz site to the bitter end.
>
> two days ago i finally had a sucessful build using ant.
> I am working through the cmd.exe window on a windows(evil) ;o) XP laptop.
> [evaluation]
>
> one problem i discovered is the 'java_ee_sdk_5' ran a application server on
> port 8080. i reinstalled this to port 8085 - this looks like fun to play
> with, also by installing it along side the sdk mentioned below the ant build
> was finally sucessful.
>
> i also have java sdk combined jvm 'j2sdk1.4.2_16' installed under program
> files.
>
> i believe i have all the correct environmental variables set correctly -
> i.e. things have started to work so far.
>
> apache ant seems to be ok. i have not set classpath as suggested in the
> ofbiz/ant install pages.
>
> and i am using subversion [working] to checkout - the trunks i have tried
> are:
> http://svn.apache.org/repos/asf/ofbiz/trunk
> http://svn.ofbiz.org/svn/ofbiz/trunk
>
> i initially did the ant.bat build
> and also the ant run-install    these were both sucessfull (using ant clean
> after each attempt)
>
> then doing startofbiz.bat from the command line does not work.
> I do get a load of start up output in the cmd window but this is like greek
> to me. but i do see some errors such as
>
> connection refused to host 127.0.0.1 --- mentioned three times at the
> current count
>
> I have had popups from windows to allow internet access and have clicked ok
> etc
>
> so far i am completely stumped, bamboozaled and getting tired but am still
> fighting!
>
> Please Please Please can someone help -
>
> p.s. before you say... I cant afford a new computer at the moment but i do
> have a spare fedora core 6 machine - but am too instatutionalised in the
> windows environment to get my head round feodora linux env in a single
> evening. lol ;o). that is a play time task for a later date....
>
>
>
>
>
>



Reply | Threaded
Open this post in threaded view
|

Re: Problem Installing ofbiz - build works but startofbiz does not

BlueGreenTechnologies.com
In reply to this post by BlueGreenTechnologies.com
cmd.exe window output when trying to run ofbiz
jpeg --- cmd_output.JPG
Reply | Threaded
Open this post in threaded view
|

Re: Problem Installing ofbiz - build works but startofbiz does not

BJ Freeman
In reply to this post by BlueGreenTechnologies.com
you seem to have a earlier version of the trunk
there was a structural change and the
framework\logs\console.log
is now
framework\runtime\logs\console.log
so you may want to update from the svn.
When you type the url it should be
http://localhost:8080/ and https://localhost:8443/
your host file on the machine translates that into an ip address,
normally 127.0.0.1

it also looks like you have a conflict with the java server
I would suggest shutting it down. ofbiz has its own embedded tomcat web
server.


BlueGreenTechnologies.com sent the following on 12/7/2007 11:35 AM:

> many thanks for your answers/additional questions BJ Freeman...
>
>
> BJ Freeman wrote:
>> correct is --- http://svn.apache.org/repos/asf/ofbiz/trunk
>>
>
> I will try it again but i do think this is the one i am using....
>
>
> BJ Freeman wrote:
>> if you do a java -version what do you get? should be 1.5 or better
>>
>
> Ans --- java -version is 1.6.0_03
>
>
> BJ Freeman wrote:
>> you can leave the address at 0.0.0.0 and it will work.
>> running both trunk and branch on an XP home computer.
>>
>
> question --- is this the default address "http://0.0.0.0" rather than
> "http://localhost:8080/" or "http://127.0.0.1:8080/" i.e. building direct
> from svn trunk to do a test run will use 0.0.0.0 in the browser to see
> ofbiz.
>
>
> BJ Freeman wrote:
>> I just copy, edit and paste the start line from startofbiz.bat
>> I take and added the path to the front of the /java
>> you can hard code it into the bat file if you want.
>>
>
> Do you mean like this:?
> change
> "%JAVA_HOME%\bin\java" -Xms256M -Xmx512M -jar ofbiz.jar >
> framework\logs\console.log
> to
> "c:\Program Files\j2sdk1.4.2_16\bin\java" -Xms256M -Xmx512M -jar ofbiz.jar >
> framework\logs\console.log
> type above in at the comand line in cmd.exe window or as you say hard code
> it in the bat file.
>
>
> BJ Freeman wrote:
>> helps if you attach the log file so we can see what is happening.
>>
>
> please see logs attached.
> ofbiz/framework/logs/
> http://www.nabble.com/file/p14219218/console.log console.log
> http://www.nabble.com/file/p14219218/ofbiz.log ofbiz.log
>
> Many thanks
> Matt
>
>
>
>
>
>
>
>
>
> BlueGreenTechnologies.com sent the following on 12/7/2007 9:04 AM:
>> I have been trying to sucessfully install ofbiz for about three weeks now.
>> As
>> yet I have not had a sucessful working result. but have learnt much during
>> the process as well as my fitst introduction to the java ee sdk amongst
>> other java offerings.
>>
>> Now the install,
>>
>> I have followed the instructions on the apache ofbiz site to the bitter
>> end.
>>
>> two days ago i finally had a sucessful build using ant.
>> I am working through the cmd.exe window on a windows(evil) ;o) XP laptop.
>> [evaluation]
>>
>> one problem i discovered is the 'java_ee_sdk_5' ran a application server
>> on
>> port 8080. i reinstalled this to port 8085 - this looks like fun to play
>> with, also by installing it along side the sdk mentioned below the ant
>> build
>> was finally sucessful.
>>
>> i also have java sdk combined jvm 'j2sdk1.4.2_16' installed under program
>> files.
>>
>> i believe i have all the correct environmental variables set correctly -
>> i.e. things have started to work so far.
>>
>> apache ant seems to be ok. i have not set classpath as suggested in the
>> ofbiz/ant install pages.
>>
>> and i am using subversion [working] to checkout - the trunks i have tried
>> are:
>> http://svn.apache.org/repos/asf/ofbiz/trunk
>> http://svn.ofbiz.org/svn/ofbiz/trunk
>>
>> i initially did the ant.bat build
>> and also the ant run-install    these were both sucessfull (using ant
>> clean
>> after each attempt)
>>
>> then doing startofbiz.bat from the command line does not work.
>> I do get a load of start up output in the cmd window but this is like
>> greek
>> to me. but i do see some errors such as
>>
>> connection refused to host 127.0.0.1 --- mentioned three times at the
>> current count
>>
>> I have had popups from windows to allow internet access and have clicked
>> ok
>> etc
>>
>> so far i am completely stumped, bamboozaled and getting tired but am still
>> fighting!
>>
>> Please Please Please can someone help -
>>
>> p.s. before you say... I cant afford a new computer at the moment but i do
>> have a spare fedora core 6 machine - but am too instatutionalised in the
>> windows environment to get my head round feodora linux env in a single
>> evening. lol ;o). that is a play time task for a later date....
>>
>>
>>
>>
>>
>>
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Problem Installing ofbiz - build works but startofbiz does not

BlueGreenTechnologies.com
Many Thanks for your help BJ Freeman

BJ Freeman wrote
you seem to have a earlier version of the trunk
there was a structural change and the
framework\logs\console.log
is now
framework\runtime\logs\console.log
so you may want to update from the svn.
When you type the url it should be
http://localhost:8080/ and https://localhost:8443/
your host file on the machine translates that into an ip address,
normally 127.0.0.1

it also looks like you have a conflict with the java server
I would suggest shutting it down. ofbiz has its own embedded tomcat web
server.