Questions regarding development in OfBiz

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

Questions regarding development in OfBiz

Mayank Upadhyay
Hello to All,

First of all thanks to you all for previous help n guide. Now i have
installed Ofbiz properly in my PC.
But  still i am not getting the meaning of this statement that "*Start OFBiz
with embedded Tomcat* " which is written in
http://docs.ofbiz.org/display/OFBADMIN/Demo+and+Test+Setup+Guide link. While
it running so nicely.
Because in my PC Tomcat 6 is already install, so is it required ?
Q 1>I want to  know that how OFBiz is related to Tomcat.
Q 2>Like Tomcat, in OfBiz also i need to restart Ofbiz server  again n again
after each changes in application.
Q 3>When i run ant file , it takes along time to BUILD all
components(application) so is there any way to make short of this time
period.
Q 4>Also please guide me that how can i integrate OFBiz with
*Eclipse*because currently i am using another java editor for the
development.

Please help me out for the above queries.
Thanks in Advance

with warm regards
Mayank Upadhyay
Reply | Threaded
Open this post in threaded view
|

Re: Questions regarding development in OfBiz

Jacques Le Roux
Administrator
From: "Mayank Upadhyay" <[hidden email]>
> Q 4>Also please guide me that how can i integrate OFBiz with
> *Eclipse*because currently i am using another java editor for the
> development.

Search Eclipse in Wiki http://docs.ofbiz.org/dashboard.action

Jacques

Reply | Threaded
Open this post in threaded view
|

Re: Questions regarding development in OfBiz

Ashish Vijaywargiya
In reply to this post by Mayank Upadhyay
In tomcat you need not to restart the Mayank,

Comments Inline :-

On Thu, Jun 12, 2008 at 7:24 AM, Mayank Upadhyay <[hidden email]>
wrote:

> Hello to All,
>
> First of all thanks to you all for previous help n guide. Now i have
> installed Ofbiz properly in my PC.


No problem buddy we are here to help you :-).
And its really great that you are able to run ofbiz on your machine now.


> But  still i am not getting the meaning of this statement that "*Start
> OFBiz
> with embedded Tomcat* " which is written in
> http://docs.ofbiz.org/display/OFBADMIN/Demo+and+Test+Setup+Guide link.
> While
> it running so nicely.
> Because in my PC Tomcat 6 is already install, so is it required ?
> Q 1>I want to  know that how OFBiz is related to Tomcat.


See ofbiz comes with Inbuild Tomcat, so you need not to have external tomcat
on your machine.
You can safely remove the tomcat installed on your machine or if you would
like to keep the external tomcat instance on your machine then
change the port settings for tomcat either in Ofbiz (ofbiz-containers.xml)
or on externally installed instance on your machine.

Inbuild tomcat (that comes with Ofbiz) listen on port 8080 (For http
request) & 8443 (For https request).


>
> Q 2>Like Tomcat, in OfBiz also i need to restart Ofbiz server  again n
> again
> after each changes in application.


While considering the case of External Tomcat you need not to restart the
server.You can redeploy the application from the Tomcat Mangement
console.But you restart the server while doing some changes in Property
files ,configuration files etc.

In case of Ofbiz you need to restart the server when you do changes in
service definition (services.xml) ,java files (run ant before running
server) , property files  and some configuration files. Most of the files
from Screen/Form Widget(For UI preparation) , Beanshell , Groovy (For Data
Preparation) and Services written in Mini Lang (Decides what to do with
data) gives result without restarting the server.



>
> Q 3>When i run ant file , it takes along time to BUILD all
> components(application) so is there any way to make short of this time
> period.


I am sure you are using Windows Box.
BTW what is the configuration of your machine ?


>
> Q 4>Also please guide me that how can i integrate OFBiz with
> *Eclipse*because currently i am using another java editor for the
> development.


Jacques has provided you the answer for this so I am safe on this I think.


>
>
> Please help me out for the above queries.
> Thanks in Advance
>
> with warm regards
> Mayank Upadhyay
>
Reply | Threaded
Open this post in threaded view
|

Re: Questions regarding development in OfBiz

Mayank Upadhyay
Dear Ashish Sir,

I am not  getting  abt Window box  that  what  is Window Box ?  i am
just doing that first I run "run-install" command for ant file in Ofbiz from
console of  Window where it Build  all and then i run Ofbiz bat file.And
finally  through browser i start to access Ofbiz (According to OFbiz setup
guide and link).But yesterday i found some problem for the same and the Page
was not opening.So please.
guide me a proper process to start and access the Ofbiz.
Here my is my PC configuration as you required
O/S:- Window XP / Window 2003 Server
Processor:-1.8 ghz Celeron
RAM::-256 MBDDR
JDK1.6 install

 And regarding Tomcat there i do update web.xml to reload my application
else i do start and stop Tomcat for changes  So is it the same process in
Ofbiz.?

Please help me for the above
Thanks in Advance
with warm regards
Mayank Upadhyay





On 6/12/08, Ashish Vijaywargiya <[hidden email]> wrote:

>
> In tomcat you need not to restart the Mayank,
>
> Comments Inline :-
>
> On Thu, Jun 12, 2008 at 7:24 AM, Mayank Upadhyay <[hidden email]>
> wrote:
>
> > Hello to All,
> >
> > First of all thanks to you all for previous help n guide. Now i have
> > installed Ofbiz properly in my PC.
>
>
> No problem buddy we are here to help you :-).
> And its really great that you are able to run ofbiz on your machine now.
>
>
> > But  still i am not getting the meaning of this statement that "*Start
> > OFBiz
> > with embedded Tomcat* " which is written in
> > http://docs.ofbiz.org/display/OFBADMIN/Demo+and+Test+Setup+Guide link.
> > While
> > it running so nicely.
> > Because in my PC Tomcat 6 is already install, so is it required ?
> > Q 1>I want to  know that how OFBiz is related to Tomcat.
>
>
> See ofbiz comes with Inbuild Tomcat, so you need not to have external
> tomcat
> on your machine.
> You can safely remove the tomcat installed on your machine or if you would
> like to keep the external tomcat instance on your machine then
> change the port settings for tomcat either in Ofbiz (ofbiz-containers.xml)
> or on externally installed instance on your machine.
>
> Inbuild tomcat (that comes with Ofbiz) listen on port 8080 (For http
> request) & 8443 (For https request).
>
>
> >
> > Q 2>Like Tomcat, in OfBiz also i need to restart Ofbiz server  again n
> > again
> > after each changes in application.
>
>
> While considering the case of External Tomcat you need not to restart the
> server.You can redeploy the application from the Tomcat Mangement
> console.But you restart the server while doing some changes in Property
> files ,configuration files etc.
>
> In case of Ofbiz you need to restart the server when you do changes in
> service definition (services.xml) ,java files (run ant before running
> server) , property files  and some configuration files. Most of the files
> from Screen/Form Widget(For UI preparation) , Beanshell , Groovy (For Data
> Preparation) and Services written in Mini Lang (Decides what to do with
> data) gives result without restarting the server.
>
>
>
> >
> > Q 3>When i run ant file , it takes along time to BUILD all
> > components(application) so is there any way to make short of this time
> > period.
>
>
> I am sure you are using Windows Box.
> BTW what is the configuration of your machine ?
>
>
> >
> > Q 4>Also please guide me that how can i integrate OFBiz with
> > *Eclipse*because currently i am using another java editor for the
> > development.
>
>
> Jacques has provided you the answer for this so I am safe on this I think.
>
>
> >
> >
> > Please help me out for the above queries.
> > Thanks in Advance
> >
> > with warm regards
> > Mayank Upadhyay
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Questions regarding development in OfBiz

Ashish Vijaywargiya
Mayank,

Comments Inline :-

On Fri, Jun 13, 2008 at 1:17 AM, Mayank Upadhyay <[hidden email]>
wrote:

> Dear Ashish Sir,


I will feel good if you will call me only by my name "Ashish".



>
>
> I am not  getting  abt Window box  that  what  is Window Box ?

Window box stands for Windows machine.(It can be either Windows XP
,Professional,Vista or 2003 Server )


>  i am
> just doing that first I run "run-install" command for ant file in Ofbiz
> from
> console of  Window where it Build  all and then i run Ofbiz bat file.


You may need to trace out the log.May be something wrong is going on at your
end.
You can send all the log message to a text file by (java -jar ofbiz.jar >
/home/username/Ofbiz_Log.txt)


> And
> finally  through browser i start to access Ofbiz (According to OFbiz setup
> guide and link).But yesterday i found some problem for the same and the
> Page
> was not opening.


Please post the log message.
So that we can see the exact information about the error coming at your end.


> So please.
> guide me a proper process to start and access the Ofbiz.


After taking Ofbiz from repository you only need to run the following steps
:-
ant clean-all
ant
ant run-install
java -jar ofbiz.jar

When tomcat gets started on your machine you can try following URL on your
browser :-
http://localhost:8080/partymgr/control/main



>
> Here my is my PC configuration as you required
> O/S:- Window XP / Window 2003 Server
> Processor:-1.8 ghz Celeron
> RAM::-256 MBDDR
> JDK1.6 install
>

You system configuration is the problem man.
A good system configuration is required while doing development in Ofbiz.
Following details can be considered as good configuration.

Processor :- P4 with 3 Ghz.
RAM :- 1 GB DDR
JDK :- 1.5 (Support of Jdk1.6 is not officially anounced so for now please
try 1.5)

It takes 30 seconds to compile i.e ant and 1 minutes 45 seconds to complete
ant run-install on my Laptop.




>
>  And regarding Tomcat there i do update web.xml to reload my application
> else i do start and stop Tomcat for changes  So is it the same process in
> Ofbiz.?


In ${ofbiz_Home} there are two files startofbiz.bat and stopofbiz.bat.
This two files can be used to start and stop the server.
Mayank, please spend some good time in reading the documents and contents
present in other links on Ofbiz home site (http://ofbiz.apache.org/).

--
Ashish



>
> Please help me for the above
> Thanks in Advance
> with warm regards
> Mayank Upadhyay
>
>
>
>
>
> On 6/12/08, Ashish Vijaywargiya <[hidden email]> wrote:
> >
> > In tomcat you need not to restart the Mayank,
> >
> > Comments Inline :-
> >
> > On Thu, Jun 12, 2008 at 7:24 AM, Mayank Upadhyay <[hidden email]
> >
> > wrote:
> >
> > > Hello to All,
> > >
> > > First of all thanks to you all for previous help n guide. Now i have
> > > installed Ofbiz properly in my PC.
> >
> >
> > No problem buddy we are here to help you :-).
> > And its really great that you are able to run ofbiz on your machine now.
> >
> >
> > > But  still i am not getting the meaning of this statement that "*Start
> > > OFBiz
> > > with embedded Tomcat* " which is written in
> > > http://docs.ofbiz.org/display/OFBADMIN/Demo+and+Test+Setup+Guide link.
> > > While
> > > it running so nicely.
> > > Because in my PC Tomcat 6 is already install, so is it required ?
> > > Q 1>I want to  know that how OFBiz is related to Tomcat.
> >
> >
> > See ofbiz comes with Inbuild Tomcat, so you need not to have external
> > tomcat
> > on your machine.
> > You can safely remove the tomcat installed on your machine or if you
> would
> > like to keep the external tomcat instance on your machine then
> > change the port settings for tomcat either in Ofbiz
> (ofbiz-containers.xml)
> > or on externally installed instance on your machine.
> >
> > Inbuild tomcat (that comes with Ofbiz) listen on port 8080 (For http
> > request) & 8443 (For https request).
> >
> >
> > >
> > > Q 2>Like Tomcat, in OfBiz also i need to restart Ofbiz server  again n
> > > again
> > > after each changes in application.
> >
> >
> > While considering the case of External Tomcat you need not to restart the
> > server.You can redeploy the application from the Tomcat Mangement
> > console.But you restart the server while doing some changes in Property
> > files ,configuration files etc.
> >
> > In case of Ofbiz you need to restart the server when you do changes in
> > service definition (services.xml) ,java files (run ant before running
> > server) , property files  and some configuration files. Most of the files
> > from Screen/Form Widget(For UI preparation) , Beanshell , Groovy (For
> Data
> > Preparation) and Services written in Mini Lang (Decides what to do with
> > data) gives result without restarting the server.
> >
> >
> >
> > >
> > > Q 3>When i run ant file , it takes along time to BUILD all
> > > components(application) so is there any way to make short of this time
> > > period.
> >
> >
> > I am sure you are using Windows Box.
> > BTW what is the configuration of your machine ?
> >
> >
> > >
> > > Q 4>Also please guide me that how can i integrate OFBiz with
> > > *Eclipse*because currently i am using another java editor for the
> > > development.
> >
> >
> > Jacques has provided you the answer for this so I am safe on this I
> think.
> >
> >
> > >
> > >
> > > Please help me out for the above queries.
> > > Thanks in Advance
> > >
> > > with warm regards
> > > Mayank Upadhyay
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Questions regarding development in OfBiz

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

>> Here my is my PC configuration as you required
>> O/S:- Window XP / Window 2003 Server
>> Processor:-1.8 ghz Celeron
>> RAM::-256 MBDDR
>> JDK1.6 install
>>
>
> You system configuration is the problem man.
> A good system configuration is required while doing development in Ofbiz.
> Following details can be considered as good configuration.
>
> Processor :- P4 with 3 Ghz.
> RAM :- 1 GB DDR
> JDK :- 1.5 (Support of Jdk1.6 is not officially anounced so for now please
> try 1.5)
>
> It takes 30 seconds to compile i.e ant and 1 minutes 45 seconds to complete
> ant run-install on my Laptop.
> Ashish

At least you must have 384MB and 500Mhz. Tough this is for Linux, I doubt it's possible with Windows. For instance you may try
http://docs.ofbiz.org/display/OFBIZ/Alternative+Demo+Servers#AlternativeDemoServers-Release4.0

Jacques

>> Please help me for the above
>> Thanks in Advance
>> with warm regards
>> Mayank Upadhyay