Confluence Space Merge

2010-08-26 Thread Sam Hamilton
Hi Guys,

I would like to bring up again trying to organise an effort to clean up
and better arrange our wiki spaces. Now that Confluence has been
upgraded to 3.2 we can now restrict access to pages based on groups [1]
so that the pages that should not be edited can stay that way and the
ones that are open can also be open all within the same space.

There are methods for moving pages from the space to space [2] or if we
want to leave a redirect from the old page to the new page then we could
either request a macro to be installed in Confluence [3] or otherwise
keep the old space and just write a note saying the content has moved
and give a link to the new page URL.

[1] - http://confluence.atlassian.com/display/CONF32/Page+Restrictions
[2] -
http://confluence.atlassian.com/display/CONF32/Moving+a+family+of+pages+from+one+space+to+another
[3] - https://www.adaptavist.com/display/AtlassianConfluence/redirect+macro

Sam


Re: JRebel

2010-08-26 Thread james_sg

Hi all,

I managed to get it working in ofbiz after reading the doc on rebel.xml

Regards,
James


james_sg wrote:
> 
> Hi all,
> 
> I would like to know if any have got JRebel working in OFBiz, and can
> provide any pointers on it.
> Thanks.
> 
> Regards,
> James
> 

-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/JRebel-tp2339431p2340566.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: MyPortal issue, service error in one portlet causes stack trace in a different portlet

2010-08-26 Thread Scott Gray
On 27/08/2010, at 11:25 AM, David E Jones wrote:

> On Aug 26, 2010, at 5:13 PM, James McGill wrote:
> 
>> On Thu, Aug 26, 2010 at 2:43 PM, James McGill <
>> james.mcg...@ableengineering.com> wrote:
>> 
>>> 
>>> https://issues.apache.org/jira/browse/OFBIZ-3903
>>> 
>>> 
>> I found that by adding TransactionUtil.rollback(); after seeing an error
>> result from the Dispatcher, I can at least hide the problem.
> 
> It looks like you're getting into why this happens. Screen rendering is done 
> within a big single transaction. If you want parts of the screen to fail 
> independently of other parts of the screen, they need to be in a separate 
> transaction (ie pause the original, start new, commit/rollback new, resume 
> original). Just rolling back a failed transaction and leaving the rest of the 
> screen hanging is probably not a good idea.
> 
> -David

Perhaps we should add a require-new-transaction attribute to the screen element?

Regards
Scott

smime.p7s
Description: S/MIME cryptographic signature


Re: MyPortal issue, service error in one portlet causes stack trace in a different portlet

2010-08-26 Thread David E Jones

On Aug 26, 2010, at 5:13 PM, James McGill wrote:

> On Thu, Aug 26, 2010 at 2:43 PM, James McGill <
> james.mcg...@ableengineering.com> wrote:
> 
>> 
>> https://issues.apache.org/jira/browse/OFBIZ-3903
>> 
>> 
> I found that by adding TransactionUtil.rollback(); after seeing an error
> result from the Dispatcher, I can at least hide the problem.

It looks like you're getting into why this happens. Screen rendering is done 
within a big single transaction. If you want parts of the screen to fail 
independently of other parts of the screen, they need to be in a separate 
transaction (ie pause the original, start new, commit/rollback new, resume 
original). Just rolling back a failed transaction and leaving the rest of the 
screen hanging is probably not a good idea.

-David



Re: MyPortal issue, service error in one portlet causes stack trace in a different portlet

2010-08-26 Thread James McGill
On Thu, Aug 26, 2010 at 2:43 PM, James McGill <
james.mcg...@ableengineering.com> wrote:

>
> https://issues.apache.org/jira/browse/OFBIZ-3903
>
>
I found that by adding TransactionUtil.rollback(); after seeing an error
result from the Dispatcher, I can at least hide the problem.


-- 
James McGill
Phoenix AZ


Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread Jacques Le Roux
Maybe more explanations, provided by Ruth, and then everybody will be happy again for a long time (without kids: in French for "And 
they lived happily ever after" we say "ils vécurent heureux et eurent beaucoup d'enfants" which means "they lived happily and had 
many children", the marvellous time of Failry tales...)


Jacques

Scott Gray wrote:

It's already there, underneath the 4.0 download:

You can also get nightly builds from the {link}snapshots{link} page.


Regards
Scott

On 27/08/2010, at 8:12 AM, Ruth Hoffman wrote:


Sure. I'd be happy to do that.
Regards,
Ruth

Jacques Le Roux wrote:

Maybe w e could have a link from http://ofbiz.apache.org/download.html to  
nightly builds with a clear explanation of what it
is, and should be used for? If we agree on that, maybe  Ruth  could provide the 
text...

Also It seems Raj wants to improve the startofbiz files... Let's see with what 
he will come with...

Jacques

From: "Ruth Hoffman" 

Hi BJ
What I suggest is that we just call this a "draw" and move on.
Thanks for all your help.
Regards,
Ruth

BJ Freeman wrote:

You are still confusing nightly builds of the branch 9.04 with the release zip.
the release zip never had jar files.
what you call release were the nightly builds that are still availible and I 
gave you a link to.
what I suggest is you download the nightly build for the equivalent 9.04 
release and allow people to download from your site.
then if fits all your criteria that you set out previously.


=
BJ Freeman  
Strategic Power Office with Supplier Automation  

Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 12:12 PM:

Hi BJ:
Just the way it has always been done. You evaluate the download, decide
what changes you'd like to make, and then set about making those
changes. Nothing new in that.

All I'm suggesting is the we make the evaluation of OFBiz easier for
those who are new to the project by minimizing the possible problems
that may arise when getting started. Note, this was how OFBiz was
distributed as recently as 4 months ago. There is nothing new here!

Regards,
Ruth

BJ Freeman wrote:

so someone download the file like you say it should be.
then they decide to know use ofbiz in production.
how do you propose they do that?

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 11:01 AM:

Hi BJ:
Sorry, I don't understand your question.
Regards,
Ruth

BJ Freeman wrote:


and what do you propose for those that decide to make use ofbiz?

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 10:19 AM:

Hi BJ:
My suggestion - as I have said many times before - is for the official
Apache OFBiz download page (http://ofbiz.apache.org/download.html) to
provide a link to download of a "stable released" version of OFBiz
that is:

Pre-built (all jar files included)
Has the seed, demo and all other available data loaded into the
currently distributed database - which is Derby
And the name of this file should have the SVN version number
included in it. (This is just in case someone like me would like to
participate and provide JIRA posts.)

I'm not concerned with developer's site or the snapshot site. IMHO, no
new user should ever be downloading from these sites unless they
understand upfront how all this works. [To keep this all in
perspective:
You don't see the Tomcat people pointing new users to the
development/source code site.]

Prettty simple.
Regards,
Ruth

BJ Freeman wrote:

for the sake of discussion lets say you have the equivalent of a
nightly build for the release, which btw you can get now, not just as
a release.
what do you propose for those that decide to make use ofbiz? Mind you
the demo is running in derby.

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 9:40 AM:

Hi BJ:
Sorry, my mistake. Yes, I meant seed and demo data. IMHO, the OFBiz
Release that is on the official download page should be fully
functional
out-of-the-box. For 

MyPortal issue, service error in one portlet causes stack trace in a different portlet

2010-08-26 Thread James McGill
I make two portlets.  One of them calls a service.  If that service has an
error, it causes another portlet to render a stack trace.

I put steps to reproduce in a Jira ticket.

https://issues.apache.org/jira/browse/OFBIZ-3903

This is 9.04.  Maybe I'm just doing something wrong.  Is there some way to
flush the dispatcher?  I hope someone can look at this and explain what's
going on.

-- 
James McGill
Phoenix AZ


Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread Scott Gray
It's already there, underneath the 4.0 download:
> You can also get nightly builds from the {link}snapshots{link} page.

Regards
Scott

On 27/08/2010, at 8:12 AM, Ruth Hoffman wrote:

> Sure. I'd be happy to do that.
> Regards,
> Ruth
> 
> Jacques Le Roux wrote:
>> Maybe w e could have a link from http://ofbiz.apache.org/download.html to  
>> nightly builds with a clear explanation of what it is, and should be used 
>> for?
>> If we agree on that, maybe  Ruth  could provide the text...
>> 
>> Also It seems Raj wants to improve the startofbiz files... Let's see with 
>> what he will come with...
>> 
>> Jacques
>> 
>> From: "Ruth Hoffman" 
>>> Hi BJ
>>> What I suggest is that we just call this a "draw" and move on.
>>> Thanks for all your help.
>>> Regards,
>>> Ruth
>>> 
>>> BJ Freeman wrote:
 You are still confusing nightly builds of the branch 9.04 with the release 
 zip.
 the release zip never had jar files.
 what you call release were the nightly builds that are still availible and 
 I gave you a link to.
 what I suggest is you download the nightly build for the equivalent 9.04 
 release and allow people to download from your site.
 then if fits all your criteria that you set out previously.
 
 
 =
 BJ Freeman  
 Strategic Power Office with Supplier Automation  
 
 Specialtymarket.com  
 Systems Integrator-- Glad to Assist
 
 Chat  Y! messenger: bjfr33man
 
 
 Ruth Hoffman sent the following on 8/26/2010 12:12 PM:
> Hi BJ:
> Just the way it has always been done. You evaluate the download, decide
> what changes you'd like to make, and then set about making those
> changes. Nothing new in that.
> 
> All I'm suggesting is the we make the evaluation of OFBiz easier for
> those who are new to the project by minimizing the possible problems
> that may arise when getting started. Note, this was how OFBiz was
> distributed as recently as 4 months ago. There is nothing new here!
> 
> Regards,
> Ruth
> 
> BJ Freeman wrote:
>> so someone download the file like you say it should be.
>> then they decide to know use ofbiz in production.
>> how do you propose they do that?
>> 
>> =
>> BJ Freeman 
>> Strategic Power Office with Supplier Automation
>> 
>> Specialtymarket.com 
>> Systems Integrator-- Glad to Assist
>> 
>> Chat Y! messenger: bjfr33man
>> 
>> 
>> Ruth Hoffman sent the following on 8/26/2010 11:01 AM:
>>> Hi BJ:
>>> Sorry, I don't understand your question.
>>> Regards,
>>> Ruth
>>> 
>>> BJ Freeman wrote:
 
 and what do you propose for those that decide to make use ofbiz?
 
 =
 BJ Freeman 
 Strategic Power Office with Supplier Automation
 
 Specialtymarket.com 
 Systems Integrator-- Glad to Assist
 
 Chat Y! messenger: bjfr33man
 
 
 Ruth Hoffman sent the following on 8/26/2010 10:19 AM:
> Hi BJ:
> My suggestion - as I have said many times before - is for the official
> Apache OFBiz download page (http://ofbiz.apache.org/download.html) to
> provide a link to download of a "stable released" version of OFBiz
> that is:
> 
> Pre-built (all jar files included)
> Has the seed, demo and all other available data loaded into the
> currently distributed database - which is Derby
> And the name of this file should have the SVN version number
> included in it. (This is just in case someone like me would like to
> participate and provide JIRA posts.)
> 
> I'm not concerned with developer's site or the snapshot site. IMHO, no
> new user should ever be downloading from these sites unless they
> understand upfront how all this works. [To keep this all in
> perspective:
> You don't see the Tomcat people pointing new users to the
> development/source code site.]
> 
> Prettty simple.
> Regards,
> Ruth
> 
> BJ Freeman wrote:
>> for the sake of discussion lets say you have the equivalent of a
>> nightly build for the release, which btw you can get now, not just as
>> a release.
>> what do you propose for those that decide to make use ofbiz? Mind you
>> the demo is running in derby.
>> 
>> ==

Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread Ruth Hoffman

Sure. I'd be happy to do that.
Regards,
Ruth

Jacques Le Roux wrote:
Maybe w e could have a link from http://ofbiz.apache.org/download.html 
to  nightly builds with a clear explanation of what it is, and should 
be used for?

If we agree on that, maybe  Ruth  could provide the text...

Also It seems Raj wants to improve the startofbiz files... Let's see 
with what he will come with...


Jacques

From: "Ruth Hoffman" 

Hi BJ
What I suggest is that we just call this a "draw" and move on.
Thanks for all your help.
Regards,
Ruth

BJ Freeman wrote:
You are still confusing nightly builds of the branch 9.04 with the 
release zip.

the release zip never had jar files.
what you call release were the nightly builds that are still 
availible and I gave you a link to.
what I suggest is you download the nightly build for the equivalent 
9.04 release and allow people to download from your site.

then if fits all your criteria that you set out previously.


=
BJ Freeman  
Strategic Power Office with Supplier Automation  


Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 12:12 PM:

Hi BJ:
Just the way it has always been done. You evaluate the download, 
decide

what changes you'd like to make, and then set about making those
changes. Nothing new in that.

All I'm suggesting is the we make the evaluation of OFBiz easier for
those who are new to the project by minimizing the possible problems
that may arise when getting started. Note, this was how OFBiz was
distributed as recently as 4 months ago. There is nothing new here!

Regards,
Ruth

BJ Freeman wrote:

so someone download the file like you say it should be.
then they decide to know use ofbiz in production.
how do you propose they do that?

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 11:01 AM:

Hi BJ:
Sorry, I don't understand your question.
Regards,
Ruth

BJ Freeman wrote:


and what do you propose for those that decide to make use ofbiz?

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 10:19 AM:

Hi BJ:
My suggestion - as I have said many times before - is for the 
official
Apache OFBiz download page 
(http://ofbiz.apache.org/download.html) to

provide a link to download of a "stable released" version of OFBiz
that is:

Pre-built (all jar files included)
Has the seed, demo and all other available data loaded into the
currently distributed database - which is Derby
And the name of this file should have the SVN version number
included in it. (This is just in case someone like me would 
like to

participate and provide JIRA posts.)

I'm not concerned with developer's site or the snapshot site. 
IMHO, no

new user should ever be downloading from these sites unless they
understand upfront how all this works. [To keep this all in
perspective:
You don't see the Tomcat people pointing new users to the
development/source code site.]

Prettty simple.
Regards,
Ruth

BJ Freeman wrote:

for the sake of discussion lets say you have the equivalent of a
nightly build for the release, which btw you can get now, not 
just as

a release.
what do you propose for those that decide to make use ofbiz? 
Mind you

the demo is running in derby.

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 9:40 AM:

Hi BJ:
Sorry, my mistake. Yes, I meant seed and demo data. IMHO, the 
OFBiz

Release that is on the official download page should be fully
functional
out-of-the-box. For example, if you download a version of 
Tomcat or

the
Apache web server, you get a fully functional demonstration 
of how

these
work out-of-the-box. The value in this is that if the user
attempts to
install Tomcat and does not get the index.html page (or 
whatever the

startup page is these days) then they know something is wrong
with the
download and/or with the unpacking of the code.

In the OFBiz case, because is at least one additional step is
involved
and at least 2 more variables are thrown in the mix: 

Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread Jacques Le Roux
Maybe w e could have a link from http://ofbiz.apache.org/download.html to  nightly builds with a clear explanation of what it is, 
and should be used for?

If we agree on that, maybe  Ruth  could provide the text...

Also It seems Raj wants to improve the startofbiz files... Let's see with what 
he will come with...

Jacques

From: "Ruth Hoffman" 

Hi BJ
What I suggest is that we just call this a "draw" and move on.
Thanks for all your help.
Regards,
Ruth

BJ Freeman wrote:

You are still confusing nightly builds of the branch 9.04 with the release zip.
the release zip never had jar files.
what you call release were the nightly builds that are still availible and I 
gave you a link to.
what I suggest is you download the nightly build for the equivalent 9.04 
release and allow people to download from your site.
then if fits all your criteria that you set out previously.


=
BJ Freeman  
Strategic Power Office with Supplier Automation  

Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 12:12 PM:

Hi BJ:
Just the way it has always been done. You evaluate the download, decide
what changes you'd like to make, and then set about making those
changes. Nothing new in that.

All I'm suggesting is the we make the evaluation of OFBiz easier for
those who are new to the project by minimizing the possible problems
that may arise when getting started. Note, this was how OFBiz was
distributed as recently as 4 months ago. There is nothing new here!

Regards,
Ruth

BJ Freeman wrote:

so someone download the file like you say it should be.
then they decide to know use ofbiz in production.
how do you propose they do that?

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 11:01 AM:

Hi BJ:
Sorry, I don't understand your question.
Regards,
Ruth

BJ Freeman wrote:


and what do you propose for those that decide to make use ofbiz?

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 10:19 AM:

Hi BJ:
My suggestion - as I have said many times before - is for the official
Apache OFBiz download page (http://ofbiz.apache.org/download.html) to
provide a link to download of a "stable released" version of OFBiz
that is:

Pre-built (all jar files included)
Has the seed, demo and all other available data loaded into the
currently distributed database - which is Derby
And the name of this file should have the SVN version number
included in it. (This is just in case someone like me would like to
participate and provide JIRA posts.)

I'm not concerned with developer's site or the snapshot site. IMHO, no
new user should ever be downloading from these sites unless they
understand upfront how all this works. [To keep this all in
perspective:
You don't see the Tomcat people pointing new users to the
development/source code site.]

Prettty simple.
Regards,
Ruth

BJ Freeman wrote:

for the sake of discussion lets say you have the equivalent of a
nightly build for the release, which btw you can get now, not just as
a release.
what do you propose for those that decide to make use ofbiz? Mind you
the demo is running in derby.

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 9:40 AM:

Hi BJ:
Sorry, my mistake. Yes, I meant seed and demo data. IMHO, the OFBiz
Release that is on the official download page should be fully
functional
out-of-the-box. For example, if you download a version of Tomcat or
the
Apache web server, you get a fully functional demonstration of how
these
work out-of-the-box. The value in this is that if the user
attempts to
install Tomcat and does not get the index.html page (or whatever the
startup page is these days) then they know something is wrong
with the
download and/or with the unpacking of the code.

In the OFBiz case, because is at least one additional step is
involved
and at least 2 more variables are thrown in the mix: Java and
building
jar files & loading demo data - if something goes wrong, well, for a
seasoned 

Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread Ruth Hoffman

Hi BJ
What I suggest is that we just call this a "draw" and move on.
Thanks for all your help.
Regards,
Ruth

BJ Freeman wrote:
You are still confusing nightly builds of the branch 9.04 with the 
release zip.

the release zip never had jar files.
what you call release were the nightly builds that are still availible 
and I gave you a link to.
what I suggest is you download the nightly build for the equivalent 
9.04 release and allow people to download from your site.

then if fits all your criteria that you set out previously.


=
BJ Freeman  
Strategic Power Office with Supplier Automation  


Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 12:12 PM:

Hi BJ:
Just the way it has always been done. You evaluate the download, decide
what changes you'd like to make, and then set about making those
changes. Nothing new in that.

All I'm suggesting is the we make the evaluation of OFBiz easier for
those who are new to the project by minimizing the possible problems
that may arise when getting started. Note, this was how OFBiz was
distributed as recently as 4 months ago. There is nothing new here!

Regards,
Ruth

BJ Freeman wrote:

so someone download the file like you say it should be.
then they decide to know use ofbiz in production.
how do you propose they do that?

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 11:01 AM:

Hi BJ:
Sorry, I don't understand your question.
Regards,
Ruth

BJ Freeman wrote:


and what do you propose for those that decide to make use ofbiz?

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 10:19 AM:

Hi BJ:
My suggestion - as I have said many times before - is for the 
official
Apache OFBiz download page 
(http://ofbiz.apache.org/download.html) to

provide a link to download of a "stable released" version of OFBiz
that is:

Pre-built (all jar files included)
Has the seed, demo and all other available data loaded into the
currently distributed database - which is Derby
And the name of this file should have the SVN version number
included in it. (This is just in case someone like me would like to
participate and provide JIRA posts.)

I'm not concerned with developer's site or the snapshot site. 
IMHO, no

new user should ever be downloading from these sites unless they
understand upfront how all this works. [To keep this all in
perspective:
You don't see the Tomcat people pointing new users to the
development/source code site.]

Prettty simple.
Regards,
Ruth

BJ Freeman wrote:

for the sake of discussion lets say you have the equivalent of a
nightly build for the release, which btw you can get now, not 
just as

a release.
what do you propose for those that decide to make use ofbiz? 
Mind you

the demo is running in derby.

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 9:40 AM:

Hi BJ:
Sorry, my mistake. Yes, I meant seed and demo data. IMHO, the 
OFBiz

Release that is on the official download page should be fully
functional
out-of-the-box. For example, if you download a version of 
Tomcat or

the
Apache web server, you get a fully functional demonstration of how
these
work out-of-the-box. The value in this is that if the user
attempts to
install Tomcat and does not get the index.html page (or 
whatever the

startup page is these days) then they know something is wrong
with the
download and/or with the unpacking of the code.

In the OFBiz case, because is at least one additional step is
involved
and at least 2 more variables are thrown in the mix: Java and
building
jar files & loading demo data - if something goes wrong, well, 
for a

seasoned user such as yourself, no big deal. But for inexperienced
OFBiz
users, it may mean the difference between giving up and going to
another
project or simply downloading it again.

Maybe no big deal to the developers who frequent this list. But
certainly a big deal to potential new users.

Just my 2cents.
Regards,
Ruth

BJ Freeman 

Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread BJ Freeman
You are still confusing nightly builds of the branch 9.04 with the 
release zip.

the release zip never had jar files.
what you call release were the nightly builds that are still availible 
and I gave you a link to.
what I suggest is you download the nightly build for the equivalent 9.04 
release and allow people to download from your site.

then if fits all your criteria that you set out previously.


=
BJ Freeman  
Strategic Power Office with Supplier Automation  

Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 12:12 PM:

Hi BJ:
Just the way it has always been done. You evaluate the download, decide
what changes you'd like to make, and then set about making those
changes. Nothing new in that.

All I'm suggesting is the we make the evaluation of OFBiz easier for
those who are new to the project by minimizing the possible problems
that may arise when getting started. Note, this was how OFBiz was
distributed as recently as 4 months ago. There is nothing new here!

Regards,
Ruth

BJ Freeman wrote:

so someone download the file like you say it should be.
then they decide to know use ofbiz in production.
how do you propose they do that?

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 11:01 AM:

Hi BJ:
Sorry, I don't understand your question.
Regards,
Ruth

BJ Freeman wrote:


and what do you propose for those that decide to make use ofbiz?

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 10:19 AM:

Hi BJ:
My suggestion - as I have said many times before - is for the official
Apache OFBiz download page (http://ofbiz.apache.org/download.html) to
provide a link to download of a "stable released" version of OFBiz
that is:

Pre-built (all jar files included)
Has the seed, demo and all other available data loaded into the
currently distributed database - which is Derby
And the name of this file should have the SVN version number
included in it. (This is just in case someone like me would like to
participate and provide JIRA posts.)

I'm not concerned with developer's site or the snapshot site. IMHO, no
new user should ever be downloading from these sites unless they
understand upfront how all this works. [To keep this all in
perspective:
You don't see the Tomcat people pointing new users to the
development/source code site.]

Prettty simple.
Regards,
Ruth

BJ Freeman wrote:

for the sake of discussion lets say you have the equivalent of a
nightly build for the release, which btw you can get now, not just as
a release.
what do you propose for those that decide to make use ofbiz? Mind you
the demo is running in derby.

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 9:40 AM:

Hi BJ:
Sorry, my mistake. Yes, I meant seed and demo data. IMHO, the OFBiz
Release that is on the official download page should be fully
functional
out-of-the-box. For example, if you download a version of Tomcat or
the
Apache web server, you get a fully functional demonstration of how
these
work out-of-the-box. The value in this is that if the user
attempts to
install Tomcat and does not get the index.html page (or whatever the
startup page is these days) then they know something is wrong
with the
download and/or with the unpacking of the code.

In the OFBiz case, because is at least one additional step is
involved
and at least 2 more variables are thrown in the mix: Java and
building
jar files & loading demo data - if something goes wrong, well, for a
seasoned user such as yourself, no big deal. But for inexperienced
OFBiz
users, it may mean the difference between giving up and going to
another
project or simply downloading it again.

Maybe no big deal to the developers who frequent this list. But
certainly a big deal to potential new users.

Just my 2cents.
Regards,
Ruth

BJ Freeman wrote:

did you mean Demo data.
with seed data alone you can not even login to ofbiz.

=
BJ Freeman 

Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread Ruth Hoffman

Hi BJ:
Just the way it has always been done. You evaluate the download, decide 
what changes you'd like to make, and then set about making those 
changes. Nothing new in that.


All I'm suggesting is the we make the evaluation of OFBiz easier for 
those who are new to the project by minimizing the possible problems 
that may arise when getting started. Note, this was how OFBiz was 
distributed as recently as 4 months ago. There is nothing new here!


Regards,
Ruth

BJ Freeman wrote:

so someone download the file like you say it should be.
then they decide to know use ofbiz in production.
how do you propose they do that?

=
BJ Freeman  
Strategic Power Office with Supplier Automation  


Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 11:01 AM:

Hi BJ:
Sorry, I don't understand your question.
Regards,
Ruth

BJ Freeman wrote:


and what do you propose for those that decide to make use ofbiz?

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 10:19 AM:

Hi BJ:
My suggestion - as I have said many times before - is for the official
Apache OFBiz download page (http://ofbiz.apache.org/download.html) to
provide a link to download of a "stable released" version of OFBiz
that is:

Pre-built (all jar files included)
Has the seed, demo and all other available data loaded into the
currently distributed database - which is Derby
And the name of this file should have the SVN version number
included in it. (This is just in case someone like me would like to
participate and provide JIRA posts.)

I'm not concerned with developer's site or the snapshot site. IMHO, no
new user should ever be downloading from these sites unless they
understand upfront how all this works. [To keep this all in 
perspective:

You don't see the Tomcat people pointing new users to the
development/source code site.]

Prettty simple.
Regards,
Ruth

BJ Freeman wrote:

for the sake of discussion lets say you have the equivalent of a
nightly build for the release, which btw you can get now, not just as
a release.
what do you propose for those that decide to make use ofbiz? Mind you
the demo is running in derby.

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 9:40 AM:

Hi BJ:
Sorry, my mistake. Yes, I meant seed and demo data. IMHO, the OFBiz
Release that is on the official download page should be fully
functional
out-of-the-box. For example, if you download a version of Tomcat or
the
Apache web server, you get a fully functional demonstration of how
these
work out-of-the-box. The value in this is that if the user 
attempts to

install Tomcat and does not get the index.html page (or whatever the
startup page is these days) then they know something is wrong 
with the

download and/or with the unpacking of the code.

In the OFBiz case, because is at least one additional step is 
involved
and at least 2 more variables are thrown in the mix: Java and 
building

jar files & loading demo data - if something goes wrong, well, for a
seasoned user such as yourself, no big deal. But for inexperienced
OFBiz
users, it may mean the difference between giving up and going to
another
project or simply downloading it again.

Maybe no big deal to the developers who frequent this list. But
certainly a big deal to potential new users.

Just my 2cents.
Regards,
Ruth

BJ Freeman wrote:

did you mean Demo data.
with seed data alone you can not even login to ofbiz.

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 9:04 AM:

Hi All:
I respectfully beg to differ here:

There is no reason for a small business to have to use SVN in
order to
implement OFBiz. While it is nice to have that functionality, 
and I

miss
the SVN version information that is no longer available in the
recent
"releases" from the download site, I've successfully implement
many an
OFBiz application without ever using the SVN functionality. Of
course,
I'm just one developer - SVN really shines when 

Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread BJ Freeman

+1

=
BJ Freeman  
Strategic Power Office with Supplier Automation  

Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Adrian Crum sent the following on 8/26/2010 11:03 AM:

On 8/26/2010 10:56 AM, Ruth Hoffman wrote:

Hi Adrian:
Funny you should mention that. I've often thought of doing this...but I
don't have the resources right now. Maybe some day...


And that is where the speeding train of idealism crashes into the brick
wall of reality.


Regards
Ruth Hoffman

Adrian Crum wrote:

On 8/26/2010 10:19 AM, Ruth Hoffman wrote:

Hi BJ:
My suggestion - as I have said many times before - is for the official
Apache OFBiz download page (http://ofbiz.apache.org/download.html) to
provide a link to download of a "stable released" version of OFBiz
that is:

Pre-built (all jar files included)
Has the seed, demo and all other available data loaded into the
currently distributed database - which is Derby
And the name of this file should have the SVN version number
included in it. (This is just in case someone like me would like to
participate and provide JIRA posts.)


That sounds like a valuable service that someone like yourself could
provide.

-Adrian









Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread BJ Freeman

so someone download the file like you say it should be.
then they decide to know use ofbiz in production.
how do you propose they do that?

=
BJ Freeman  
Strategic Power Office with Supplier Automation  

Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 11:01 AM:

Hi BJ:
Sorry, I don't understand your question.
Regards,
Ruth

BJ Freeman wrote:


and what do you propose for those that decide to make use ofbiz?

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 10:19 AM:

Hi BJ:
My suggestion - as I have said many times before - is for the official
Apache OFBiz download page (http://ofbiz.apache.org/download.html) to
provide a link to download of a "stable released" version of OFBiz
that is:

Pre-built (all jar files included)
Has the seed, demo and all other available data loaded into the
currently distributed database - which is Derby
And the name of this file should have the SVN version number
included in it. (This is just in case someone like me would like to
participate and provide JIRA posts.)

I'm not concerned with developer's site or the snapshot site. IMHO, no
new user should ever be downloading from these sites unless they
understand upfront how all this works. [To keep this all in perspective:
You don't see the Tomcat people pointing new users to the
development/source code site.]

Prettty simple.
Regards,
Ruth

BJ Freeman wrote:

for the sake of discussion lets say you have the equivalent of a
nightly build for the release, which btw you can get now, not just as
a release.
what do you propose for those that decide to make use ofbiz? Mind you
the demo is running in derby.

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 9:40 AM:

Hi BJ:
Sorry, my mistake. Yes, I meant seed and demo data. IMHO, the OFBiz
Release that is on the official download page should be fully
functional
out-of-the-box. For example, if you download a version of Tomcat or
the
Apache web server, you get a fully functional demonstration of how
these
work out-of-the-box. The value in this is that if the user attempts to
install Tomcat and does not get the index.html page (or whatever the
startup page is these days) then they know something is wrong with the
download and/or with the unpacking of the code.

In the OFBiz case, because is at least one additional step is involved
and at least 2 more variables are thrown in the mix: Java and building
jar files & loading demo data - if something goes wrong, well, for a
seasoned user such as yourself, no big deal. But for inexperienced
OFBiz
users, it may mean the difference between giving up and going to
another
project or simply downloading it again.

Maybe no big deal to the developers who frequent this list. But
certainly a big deal to potential new users.

Just my 2cents.
Regards,
Ruth

BJ Freeman wrote:

did you mean Demo data.
with seed data alone you can not even login to ofbiz.

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 9:04 AM:

Hi All:
I respectfully beg to differ here:

There is no reason for a small business to have to use SVN in
order to
implement OFBiz. While it is nice to have that functionality, and I
miss
the SVN version information that is no longer available in the
recent
"releases" from the download site, I've successfully implement
many an
OFBiz application without ever using the SVN functionality. Of
course,
I'm just one developer - SVN really shines when you have multiple
developers working on the same code.

Secondly, why would the compiled binary always be updated? I thought
once a "Release" was released, the only updates are bug fixes. And
from
past conversations on this list, those only happen - maybe once a
quarter.

This is not rocket science. The proposal to re-instate the binary
jar
files and install the seed-data for a fully functional version of
OFBiz
- one that runs out-of-the-box, is what was available as an official
Apache OFBiz Rele

Re: jQuery Branch

2010-08-26 Thread Jacques Le Roux

From: "Jacques Le Roux" 

No there are no onlin demo. You have to follow the std path for that...
https://cwiki.apache.org/confluence/display/OFBADMIN/Demo+and+Test+Setup+Guide


Sorry forgot: of course you need to use svn to get to the branch
http://svn.apache.org/repos/asf/ofbiz/branches/jquery

Jacques

Yes it will be default in future. It's actually the trunk with Proptotype and Dojo slowly replaced by jQuery. Some are already 
using it for new project.

https://issues.apache.org/jira/browse/OFBIZ-3814 You are welcome to join the 
effort...

Jacques

From: "usemetoemail" 

Hello All,

Is there a demo version of the jQuery branch available? Would that branch
likely become the default for ofbiz in the future?









Re: Related entity's data in a form field

2010-08-26 Thread Bruno Busco
Hi Mansour,
please search for 

> Let me clarify what I want.
> from
> http://www.opensourcestrategies.com/ofbiz/ofbiz_form_widget_cookbook.txt I
> got this:
>
> 
>
> target="ListGlAccountEntries?glAccountId=${glAccountId}"
> description="[${glAccountId}]" link-style="tabletext"/>
>
> 
>
>
> My code is :
>
>
> 
> key-field-name="productCategoryId" description="${categoryName}">
> target-type="intra-app">
> value="${primaryProductCategoryId}" />
>
>
> 
>
>
> But this is not working. I need to put the CategoryName and not the
> "categoryId" in the link. Any one can help ?
>
>
>
> On Thu Aug 26,2010 03:20 pm, Mansour Al Akeel wrote:
> > Bruno,
> > this will resolve the issue with exception. But still don't know how to
> > display a value from the related entity.
> > Here's the code:
> >
> >
> > 
> >  > key-field-name="productCategoryId"
> description="${categoryName}">
> >  > description="${categoryName}"
> target-type="intra-app">
> >  value="${primaryProductCategoryId}" />
> > 
> > 
> > 
> >
> > How can I use the "${categoryName}" in the sub-hyperlink ?
> >
> >
> >
> > On Thu Aug 26,2010 11:07 am, Bruno Busco wrote:
> > > I think you cannot have "spaces" in field names.
> > > Try 
> > > instead of
> > > 
> > >
> > > 2010/8/26 Mansour Al Akeel 
> > >
> > > > Hello all:
> > > > I need to reference a value from a related entity. For example, I am
> > > > displaying a list of Product, and one of the fields is the Category
> > > > Name.
> > > >
> > > >
> > > > > > >key-field-name="productCategoryId"
> > > > description="${categoryName}" >
> > > > > > > description="${categoryName}"  >
> > > > > > > value="${primaryProductCategoryId}" />
> > > >
> > > >
> > > >
> > > >
> > > > I want to display ProductCategory.categoryName instead of
> > > > ProductCategory.productCategoryId which is matched on
> > > > Product.primaryProductCategoryId
> > > >
> > > > On the other hand, I keep on getting an exception that I don't
> understand:
> > > > 2010-08-26 08:03:45,061 (http-0.0.0.0-8443-3)
> > > > [FlexibleMapAccessor.java:141:INFO ] UEL exception while getting
> value:
> > > > javax.el.ELException: Error parsing '${Primary Catgory}': syntax
> error at
> > > > position 10, encountered 'Catgory', expected '}', original = Primary
> Catgory
> > > >
> > > >
> > > > Any idea ?
> > > >
> > > >
> > > >
> > > >
>


Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread Adrian Crum

On 8/26/2010 10:56 AM, Ruth Hoffman wrote:

Hi Adrian:
Funny you should mention that. I've often thought of doing this...but I
don't have the resources right now. Maybe some day...


And that is where the speeding train of idealism crashes into the brick 
wall of reality.



Regards
Ruth Hoffman

Adrian Crum wrote:

On 8/26/2010 10:19 AM, Ruth Hoffman wrote:

Hi BJ:
My suggestion - as I have said many times before - is for the official
Apache OFBiz download page (http://ofbiz.apache.org/download.html) to
provide a link to download of a "stable released" version of OFBiz
that is:

Pre-built (all jar files included)
Has the seed, demo and all other available data loaded into the
currently distributed database - which is Derby
And the name of this file should have the SVN version number
included in it. (This is just in case someone like me would like to
participate and provide JIRA posts.)


That sounds like a valuable service that someone like yourself could
provide.

-Adrian





Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread Ruth Hoffman

Hi BJ:
Sorry, I don't understand your question.
Regards,
Ruth

BJ Freeman wrote:


and what do you propose for those that decide to make use ofbiz?

=
BJ Freeman  
Strategic Power Office with Supplier Automation  


Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 10:19 AM:

Hi BJ:
My suggestion - as I have said many times before - is for the official
Apache OFBiz download page (http://ofbiz.apache.org/download.html) to
provide a link to download of a "stable released" version of OFBiz 
that is:


Pre-built (all jar files included)
Has the seed, demo and all other available data loaded into the
currently distributed database - which is Derby
And the name of this file should have the SVN version number
included in it. (This is just in case someone like me would like to
participate and provide JIRA posts.)

I'm not concerned with developer's site or the snapshot site. IMHO, no
new user should ever be downloading from these sites unless they
understand upfront how all this works. [To keep this all in perspective:
You don't see the Tomcat people pointing new users to the
development/source code site.]

Prettty simple.
Regards,
Ruth

BJ Freeman wrote:

for the sake of discussion lets say you have the equivalent of a
nightly build for the release, which btw you can get now, not just as
a release.
what do you propose for those that decide to make use ofbiz? Mind you
the demo is running in derby.

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 9:40 AM:

Hi BJ:
Sorry, my mistake. Yes, I meant seed and demo data. IMHO, the OFBiz
Release that is on the official download page should be fully 
functional
out-of-the-box. For example, if you download a version of Tomcat or 
the
Apache web server, you get a fully functional demonstration of how 
these

work out-of-the-box. The value in this is that if the user attempts to
install Tomcat and does not get the index.html page (or whatever the
startup page is these days) then they know something is wrong with the
download and/or with the unpacking of the code.

In the OFBiz case, because is at least one additional step is involved
and at least 2 more variables are thrown in the mix: Java and building
jar files & loading demo data - if something goes wrong, well, for a
seasoned user such as yourself, no big deal. But for inexperienced 
OFBiz
users, it may mean the difference between giving up and going to 
another

project or simply downloading it again.

Maybe no big deal to the developers who frequent this list. But
certainly a big deal to potential new users.

Just my 2cents.
Regards,
Ruth

BJ Freeman wrote:

did you mean Demo data.
with seed data alone you can not even login to ofbiz.

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 9:04 AM:

Hi All:
I respectfully beg to differ here:

There is no reason for a small business to have to use SVN in 
order to

implement OFBiz. While it is nice to have that functionality, and I
miss
the SVN version information that is no longer available in the 
recent
"releases" from the download site, I've successfully implement 
many an
OFBiz application without ever using the SVN functionality. Of 
course,

I'm just one developer - SVN really shines when you have multiple
developers working on the same code.

Secondly, why would the compiled binary always be updated? I thought
once a "Release" was released, the only updates are bug fixes. And
from
past conversations on this list, those only happen - maybe once a
quarter.

This is not rocket science. The proposal to re-instate the binary 
jar

files and install the seed-data for a fully functional version of
OFBiz
- one that runs out-of-the-box, is what was available as an official
Apache OFBiz Release and download as recently as 4 months ago. Then,
someone decided (ok Adrian, say what you must) to change this.

Regards,
Ruth
Matt Warnock wrote:

I have to agree with Scott, there is no big effort required here.
OFBiz
is a development platform, it is constantly being updated, and
even the
branches are getting new fixes constantly. It is inefficient to
download a "compiled binary distribution" which is constantly being
updated, so learning to use SVN, even for branches, i

Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread Ruth Hoffman

Hi Adrian:
Funny you should mention that. I've often thought of doing this...but I 
don't have the resources right now. Maybe some day...

Regards
Ruth Hoffman

Adrian Crum wrote:

On 8/26/2010 10:19 AM, Ruth Hoffman wrote:

Hi BJ:
My suggestion - as I have said many times before - is for the official
Apache OFBiz download page (http://ofbiz.apache.org/download.html) to
provide a link to download of a "stable released" version of OFBiz 
that is:


Pre-built (all jar files included)
Has the seed, demo and all other available data loaded into the
currently distributed database - which is Derby
And the name of this file should have the SVN version number
included in it. (This is just in case someone like me would like to
participate and provide JIRA posts.)


That sounds like a valuable service that someone like yourself could 
provide.


-Adrian



Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread BJ Freeman


and what do you propose for those that decide to make use ofbiz?

=
BJ Freeman  
Strategic Power Office with Supplier Automation  

Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 10:19 AM:

Hi BJ:
My suggestion - as I have said many times before - is for the official
Apache OFBiz download page (http://ofbiz.apache.org/download.html) to
provide a link to download of a "stable released" version of OFBiz that is:

Pre-built (all jar files included)
Has the seed, demo and all other available data loaded into the
currently distributed database - which is Derby
And the name of this file should have the SVN version number
included in it. (This is just in case someone like me would like to
participate and provide JIRA posts.)

I'm not concerned with developer's site or the snapshot site. IMHO, no
new user should ever be downloading from these sites unless they
understand upfront how all this works. [To keep this all in perspective:
You don't see the Tomcat people pointing new users to the
development/source code site.]

Prettty simple.
Regards,
Ruth

BJ Freeman wrote:

for the sake of discussion lets say you have the equivalent of a
nightly build for the release, which btw you can get now, not just as
a release.
what do you propose for those that decide to make use ofbiz? Mind you
the demo is running in derby.

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 9:40 AM:

Hi BJ:
Sorry, my mistake. Yes, I meant seed and demo data. IMHO, the OFBiz
Release that is on the official download page should be fully functional
out-of-the-box. For example, if you download a version of Tomcat or the
Apache web server, you get a fully functional demonstration of how these
work out-of-the-box. The value in this is that if the user attempts to
install Tomcat and does not get the index.html page (or whatever the
startup page is these days) then they know something is wrong with the
download and/or with the unpacking of the code.

In the OFBiz case, because is at least one additional step is involved
and at least 2 more variables are thrown in the mix: Java and building
jar files & loading demo data - if something goes wrong, well, for a
seasoned user such as yourself, no big deal. But for inexperienced OFBiz
users, it may mean the difference between giving up and going to another
project or simply downloading it again.

Maybe no big deal to the developers who frequent this list. But
certainly a big deal to potential new users.

Just my 2cents.
Regards,
Ruth

BJ Freeman wrote:

did you mean Demo data.
with seed data alone you can not even login to ofbiz.

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 9:04 AM:

Hi All:
I respectfully beg to differ here:

There is no reason for a small business to have to use SVN in order to
implement OFBiz. While it is nice to have that functionality, and I
miss
the SVN version information that is no longer available in the recent
"releases" from the download site, I've successfully implement many an
OFBiz application without ever using the SVN functionality. Of course,
I'm just one developer - SVN really shines when you have multiple
developers working on the same code.

Secondly, why would the compiled binary always be updated? I thought
once a "Release" was released, the only updates are bug fixes. And
from
past conversations on this list, those only happen - maybe once a
quarter.

This is not rocket science. The proposal to re-instate the binary jar
files and install the seed-data for a fully functional version of
OFBiz
- one that runs out-of-the-box, is what was available as an official
Apache OFBiz Release and download as recently as 4 months ago. Then,
someone decided (ok Adrian, say what you must) to change this.

Regards,
Ruth
Matt Warnock wrote:

I have to agree with Scott, there is no big effort required here.
OFBiz
is a development platform, it is constantly being updated, and
even the
branches are getting new fixes constantly. It is inefficient to
download a "compiled binary distribution" which is constantly being
updated, so learning to use SVN, even for branches, is really a must.
And that means recompiling the code.
As someone pointed out earlier, the instructio

Re: jQuery Branch

2010-08-26 Thread Jacques Le Roux

No there are no onlin demo. You have to follow the std path for that...
https://cwiki.apache.org/confluence/display/OFBADMIN/Demo+and+Test+Setup+Guide

Yes it will be default in future. It's actually the trunk with Proptotype and Dojo slowly replaced by jQuery. Some are already using 
it for new project.

https://issues.apache.org/jira/browse/OFBIZ-3814 You are welcome to join the 
effort...

Jacques

From: "usemetoemail" 

Hello All,

Is there a demo version of the jQuery branch available? Would that branch
likely become the default for ofbiz in the future?






Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread Adrian Crum

On 8/26/2010 10:19 AM, Ruth Hoffman wrote:

Hi BJ:
My suggestion - as I have said many times before - is for the official
Apache OFBiz download page (http://ofbiz.apache.org/download.html) to
provide a link to download of a "stable released" version of OFBiz that is:

Pre-built (all jar files included)
Has the seed, demo and all other available data loaded into the
currently distributed database - which is Derby
And the name of this file should have the SVN version number
included in it. (This is just in case someone like me would like to
participate and provide JIRA posts.)


That sounds like a valuable service that someone like yourself could 
provide.


-Adrian


Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread Ruth Hoffman

Hi BJ:
My suggestion - as I have said many times before - is for the official 
Apache OFBiz download page (http://ofbiz.apache.org/download.html) to 
provide a link to download of a "stable released" version of OFBiz that is:


   Pre-built (all jar files included)
   Has the seed, demo and all other available data loaded into the
   currently distributed database - which is Derby
   And the name of this file should have the SVN version number
   included in it. (This is just in case someone like me would like to
   participate and provide JIRA posts.)

I'm not concerned with developer's site or the snapshot site. IMHO, no 
new user should ever be downloading from these sites unless they 
understand upfront how all this works. [To keep this all in perspective: 
You don't see the Tomcat people pointing new users to the 
development/source code site.]


Prettty simple.
Regards,
Ruth

BJ Freeman wrote:
for the sake of discussion lets say you have the equivalent of a 
nightly build for the release, which btw you can get now, not just as 
a release.
what do you propose for those that decide to make use ofbiz? Mind you 
the demo is running in derby.


=
BJ Freeman  
Strategic Power Office with Supplier Automation  


Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 9:40 AM:

Hi BJ:
Sorry, my mistake. Yes, I meant seed and demo data. IMHO, the OFBiz
Release that is on the official download page should be fully functional
out-of-the-box. For example, if you download a version of Tomcat or the
Apache web server, you get a fully functional demonstration of how these
work out-of-the-box. The value in this is that if the user attempts to
install Tomcat and does not get the index.html page (or whatever the
startup page is these days) then they know something is wrong with the
download and/or with the unpacking of the code.

In the OFBiz case, because is at least one additional step is involved
and at least 2 more variables are thrown in the mix: Java and building
jar files & loading demo data - if something goes wrong, well, for a
seasoned user such as yourself, no big deal. But for inexperienced OFBiz
users, it may mean the difference between giving up and going to another
project or simply downloading it again.

Maybe no big deal to the developers who frequent this list. But
certainly a big deal to potential new users.

Just my 2cents.
Regards,
Ruth

BJ Freeman wrote:

did you mean Demo data.
with seed data alone you can not even login to ofbiz.

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 9:04 AM:

Hi All:
I respectfully beg to differ here:

There is no reason for a small business to have to use SVN in order to
implement OFBiz. While it is nice to have that functionality, and I 
miss

the SVN version information that is no longer available in the recent
"releases" from the download site, I've successfully implement many an
OFBiz application without ever using the SVN functionality. Of course,
I'm just one developer - SVN really shines when you have multiple
developers working on the same code.

Secondly, why would the compiled binary always be updated? I thought
once a "Release" was released, the only updates are bug fixes. And 
from

past conversations on this list, those only happen - maybe once a
quarter.

This is not rocket science. The proposal to re-instate the binary jar
files and install the seed-data for a fully functional version of 
OFBiz

- one that runs out-of-the-box, is what was available as an official
Apache OFBiz Release and download as recently as 4 months ago. Then,
someone decided (ok Adrian, say what you must) to change this.

Regards,
Ruth
Matt Warnock wrote:
I have to agree with Scott, there is no big effort required here. 
OFBiz
is a development platform, it is constantly being updated, and 
even the

branches are getting new fixes constantly. It is inefficient to
download a "compiled binary distribution" which is constantly being
updated, so learning to use SVN, even for branches, is really a must.
And that means recompiling the code.
As someone pointed out earlier, the instructions just need to be 
fixed

so that new user expectations are appropriately managed.

As to the effort of creating a binary distribution, I would much 
rather

see that same effort spent on solving the in-place database upgrade
issues that have been discussed here for some time, for example.

Those bit me on the butt this week. :-)












Re: Related entity's data in a form field

2010-08-26 Thread Mansour Al Akeel
Let me clarify what I want. 
from http://www.opensourcestrategies.com/ofbiz/ofbiz_form_widget_cookbook.txt I 
got this:








My code is : 











But this is not working. I need to put the CategoryName and not the
"categoryId" in the link. Any one can help ?



On Thu Aug 26,2010 03:20 pm, Mansour Al Akeel wrote:
> Bruno,
> this will resolve the issue with exception. But still don't know how to
> display a value from the related entity.
> Here's the code:
> 
> 
> 
>  key-field-name="productCategoryId" 
> description="${categoryName}">
>  description="${categoryName}" 
> target-type="intra-app">
>  value="${primaryProductCategoryId}" />
> 
> 
> 
> 
> How can I use the "${categoryName}" in the sub-hyperlink ?
> 
> 
> 
> On Thu Aug 26,2010 11:07 am, Bruno Busco wrote:
> > I think you cannot have "spaces" in field names.
> > Try 
> > instead of
> > 
> > 
> > 2010/8/26 Mansour Al Akeel 
> > 
> > > Hello all:
> > > I need to reference a value from a related entity. For example, I am
> > > displaying a list of Product, and one of the fields is the Category
> > > Name.
> > >
> > >
> > > > >key-field-name="productCategoryId"
> > > description="${categoryName}" >
> > > > > description="${categoryName}"  >
> > > > > value="${primaryProductCategoryId}" />
> > >
> > >
> > >
> > >
> > > I want to display ProductCategory.categoryName instead of
> > > ProductCategory.productCategoryId which is matched on
> > > Product.primaryProductCategoryId
> > >
> > > On the other hand, I keep on getting an exception that I don't understand:
> > > 2010-08-26 08:03:45,061 (http-0.0.0.0-8443-3)
> > > [FlexibleMapAccessor.java:141:INFO ] UEL exception while getting value:
> > > javax.el.ELException: Error parsing '${Primary Catgory}': syntax error at
> > > position 10, encountered 'Catgory', expected '}', original = Primary 
> > > Catgory
> > >
> > >
> > > Any idea ?
> > >
> > >
> > >
> > >


Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread BJ Freeman
for the sake of discussion lets say you have the equivalent of a nightly 
build for the release, which btw you can get now, not just as a release.
what do you propose for those that decide to make use ofbiz? Mind you 
the demo is running in derby.


=
BJ Freeman  
Strategic Power Office with Supplier Automation  

Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 9:40 AM:

Hi BJ:
Sorry, my mistake. Yes, I meant seed and demo data. IMHO, the OFBiz
Release that is on the official download page should be fully functional
out-of-the-box. For example, if you download a version of Tomcat or the
Apache web server, you get a fully functional demonstration of how these
work out-of-the-box. The value in this is that if the user attempts to
install Tomcat and does not get the index.html page (or whatever the
startup page is these days) then they know something is wrong with the
download and/or with the unpacking of the code.

In the OFBiz case, because is at least one additional step is involved
and at least 2 more variables are thrown in the mix: Java and building
jar files & loading demo data - if something goes wrong, well, for a
seasoned user such as yourself, no big deal. But for inexperienced OFBiz
users, it may mean the difference between giving up and going to another
project or simply downloading it again.

Maybe no big deal to the developers who frequent this list. But
certainly a big deal to potential new users.

Just my 2cents.
Regards,
Ruth

BJ Freeman wrote:

did you mean Demo data.
with seed data alone you can not even login to ofbiz.

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 9:04 AM:

Hi All:
I respectfully beg to differ here:

There is no reason for a small business to have to use SVN in order to
implement OFBiz. While it is nice to have that functionality, and I miss
the SVN version information that is no longer available in the recent
"releases" from the download site, I've successfully implement many an
OFBiz application without ever using the SVN functionality. Of course,
I'm just one developer - SVN really shines when you have multiple
developers working on the same code.

Secondly, why would the compiled binary always be updated? I thought
once a "Release" was released, the only updates are bug fixes. And from
past conversations on this list, those only happen - maybe once a
quarter.

This is not rocket science. The proposal to re-instate the binary jar
files and install the seed-data for a fully functional version of OFBiz
- one that runs out-of-the-box, is what was available as an official
Apache OFBiz Release and download as recently as 4 months ago. Then,
someone decided (ok Adrian, say what you must) to change this.

Regards,
Ruth
Matt Warnock wrote:

I have to agree with Scott, there is no big effort required here. OFBiz
is a development platform, it is constantly being updated, and even the
branches are getting new fixes constantly. It is inefficient to
download a "compiled binary distribution" which is constantly being
updated, so learning to use SVN, even for branches, is really a must.
And that means recompiling the code.
As someone pointed out earlier, the instructions just need to be fixed
so that new user expectations are appropriately managed.

As to the effort of creating a binary distribution, I would much rather
see that same effort spent on solving the in-place database upgrade
issues that have been discussed here for some time, for example.

Those bit me on the butt this week. :-)











Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread Ruth Hoffman

Hi BJ:
Sorry, my mistake. Yes, I meant seed and demo data. IMHO, the OFBiz 
Release that is on the official download page should be fully functional 
out-of-the-box. For example, if you download a version of Tomcat or the 
Apache web server, you get a fully functional demonstration of how these 
work out-of-the-box. The value in this is that if the user attempts to 
install Tomcat and does not get the index.html page (or whatever the 
startup page is these days) then they know something is wrong with the 
download and/or with the unpacking of the code.


In the OFBiz case, because is at least one additional step is involved 
and at least 2 more variables are thrown in the mix: Java and building 
jar files & loading demo data - if something goes wrong, well, for a 
seasoned user such as yourself, no big deal. But for inexperienced OFBiz 
users, it may mean the difference between giving up and going to another 
project or simply downloading it again.


Maybe no big deal to the developers who frequent this list. But 
certainly a big deal to potential new users.


Just my 2cents.
Regards,
Ruth

BJ Freeman wrote:

did you mean Demo data.
with seed data alone you can not even login to ofbiz.

=
BJ Freeman  
Strategic Power Office with Supplier Automation  


Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 9:04 AM:

Hi All:
I respectfully beg to differ here:

There is no reason for a small business to have to use SVN in order to
implement OFBiz. While it is nice to have that functionality, and I miss
the SVN version information that is no longer available in the recent
"releases" from the download site, I've successfully implement many an
OFBiz application without ever using the SVN functionality. Of course,
I'm just one developer - SVN really shines when you have multiple
developers working on the same code.

Secondly, why would the compiled binary always be updated? I thought
once a "Release" was released, the only updates are bug fixes. And from
past conversations on this list, those only happen - maybe once a 
quarter.


This is not rocket science. The proposal to re-instate the binary jar
files and install the seed-data for a fully functional version of OFBiz
- one that runs out-of-the-box, is what was available as an official
Apache OFBiz Release and download as recently as 4 months ago. Then,
someone decided (ok Adrian, say what you must) to change this.

Regards,
Ruth
Matt Warnock wrote:

I have to agree with Scott, there is no big effort required here. OFBiz
is a development platform, it is constantly being updated, and even the
branches are getting new fixes constantly. It is inefficient to
download a "compiled binary distribution" which is constantly being
updated, so learning to use SVN, even for branches, is really a must.
And that means recompiling the code.
As someone pointed out earlier, the instructions just need to be fixed
so that new user expectations are appropriately managed.

As to the effort of creating a binary distribution, I would much rather
see that same effort spent on solving the in-place database upgrade
issues that have been discussed here for some time, for example.

Those bit me on the butt this week. :-)







Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread BJ Freeman

did you mean Demo data.
with seed data alone you can not even login to ofbiz.

=
BJ Freeman  
Strategic Power Office with Supplier Automation  

Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/26/2010 9:04 AM:

Hi All:
I respectfully beg to differ here:

There is no reason for a small business to have to use SVN in order to
implement OFBiz. While it is nice to have that functionality, and I miss
the SVN version information that is no longer available in the recent
"releases" from the download site, I've successfully implement many an
OFBiz application without ever using the SVN functionality. Of course,
I'm just one developer - SVN really shines when you have multiple
developers working on the same code.

Secondly, why would the compiled binary always be updated? I thought
once a "Release" was released, the only updates are bug fixes. And from
past conversations on this list, those only happen - maybe once a quarter.

This is not rocket science. The proposal to re-instate the binary jar
files and install the seed-data for a fully functional version of OFBiz
- one that runs out-of-the-box, is what was available as an official
Apache OFBiz Release and download as recently as 4 months ago. Then,
someone decided (ok Adrian, say what you must) to change this.

Regards,
Ruth
Matt Warnock wrote:

I have to agree with Scott, there is no big effort required here. OFBiz
is a development platform, it is constantly being updated, and even the
branches are getting new fixes constantly. It is inefficient to
download a "compiled binary distribution" which is constantly being
updated, so learning to use SVN, even for branches, is really a must.
And that means recompiling the code.
As someone pointed out earlier, the instructions just need to be fixed
so that new user expectations are appropriately managed.

As to the effort of creating a binary distribution, I would much rather
see that same effort spent on solving the in-place database upgrade
issues that have been discussed here for some time, for example.

Those bit me on the butt this week. :-)






Re: Migration component Ideas

2010-08-26 Thread BJ Freeman

as far as UI yes.
as far as steps no. what was shown was setup but not migration.
coming from a background of doing complete desktop/server roll-outs for 
large corporations, I am looking more of doing diffs, compares then 
generate the needed changes.
One of those steps is to create new database initialize the tables then 
do and db to db migration.
From past experience this could take a day or more for very large 
databases.
then a final re-sync for new data and a switch to new code that my 
requires changing the Virtual Apache settings.





=
BJ Freeman  
Strategic Power Office with Supplier Automation  

Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


james_sg sent the following on 8/26/2010 2:57 AM:


seems something like
http://wiki.openbravo.com/wiki/Upgrading_Openbravo_installations#Using_the_upgraders
and http://www.openbravo.com/product/demo-center/erp/


BJ Freeman wrote:


yes it would be automatic, and just like now if you have changed code
the svn tool created version change files that have to be resolved if
you have changed core.

Before making such changes it will give you a list of these and ask if
you want to do an automatic upgrade. this is to catch those changes that
were not done in best practices.

Hopefully the best practices has been followed and all the changes are
in the hot-deploy, in which case there is nothing the upgrade will
touch, in hot-deploy.

Also for such conditions it would be best to run the migration against a
copy of the productions.









Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread Ruth Hoffman

Hi All:
I respectfully beg to differ here:

There is no reason for a small business to have to use SVN in order to 
implement OFBiz.  While it is nice to have that functionality, and I 
miss the SVN version information that is no longer available in the 
recent "releases" from the download site, I've successfully implement 
many an OFBiz application without ever using the SVN functionality. Of 
course, I'm just one developer - SVN really shines when you have 
multiple developers working on the same code.


Secondly, why would the compiled binary always be updated? I thought 
once a "Release" was released, the only updates are bug fixes. And from 
past conversations on this list, those only happen - maybe once a quarter.


This is not rocket science. The proposal to re-instate the binary jar 
files and install the seed-data for a fully functional version of OFBiz 
- one that runs out-of-the-box, is what was available as an official 
Apache OFBiz Release and download as recently as 4 months ago. Then, 
someone decided (ok Adrian, say what you must) to change this.


Regards,
Ruth
Matt Warnock wrote:

I have to agree with Scott, there is no big effort required here.  OFBiz
is a development platform, it is constantly being updated, and even the
branches are getting new fixes constantly.  It is inefficient to
download a "compiled binary distribution" which is constantly being
updated, so learning to use SVN, even for branches, is really a must.
And that means recompiling the code.  


As someone pointed out earlier, the instructions just need to be fixed
so that new user expectations are appropriately managed.

As to the effort of creating a binary distribution, I would much rather
see that same effort spent on solving the in-place database upgrade
issues that have been discussed here for some time, for example.

Those bit me on the butt this week. :-)
  


Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread Matt Warnock
I have to agree with Scott, there is no big effort required here.  OFBiz
is a development platform, it is constantly being updated, and even the
branches are getting new fixes constantly.  It is inefficient to
download a "compiled binary distribution" which is constantly being
updated, so learning to use SVN, even for branches, is really a must.
And that means recompiling the code.  

As someone pointed out earlier, the instructions just need to be fixed
so that new user expectations are appropriately managed.

As to the effort of creating a binary distribution, I would much rather
see that same effort spent on solving the in-place database upgrade
issues that have been discussed here for some time, for example.

Those bit me on the butt this week. :-)
-- 
Matt Warnock 
RidgeCrest Herbals, Inc.

On Thu, 2010-08-26 at 16:20 +0530, Raj Saini wrote:
> I don't think any problem with it as a developer. However, a binary only 
> release should not have build time tool chain. For binary only release, 
> there will not be a build.xml and no ant.
> 
> Thanks,
> 
> Raj
> 
> On 26/08/10 15:57, Scott Gray wrote:
> > ant run-install
> > could someone explain to me what is so difficult about the command that we 
> > need to look at big efforts to fix something that isn't broken?
> >
> > Thanks
> > Scott
> >
> > On 26/08/2010, at 9:07 PM, Raj Saini wrote:
> >
> >
> >> There are plenty of applications around now a days. Technologies like JPA, 
> >> Hibernate allows creation of tables on the fly. Take example of Liferay 
> >> Portal Server and it gives you a portal configured with demo data.
> >>
> >> Thanks,
> >>
> >> Raj
> >>
> >>
> >> On 26/08/10 13:19, BJ Freeman wrote:
> >>  
> >>> can you name me a project that has the option to load demo data or Seed 
> >>> (production data). for that mater can you show me a app that initializes 
> >>> the db structure, as ofbiz does?
> >>>
> >>> as far a ant, the effort should be to move installation into the Setup 
> >>> component, with screens to ask you which setup you want, production or 
> >>> demo. it should lead you through the technical setup.
> >>> see
> >>> https://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide
> >>>
> >>> Then you have the setup for the type of business one runs.
> >>> https://issues.apache.org/jira/browse/OFBIZ-3852
> >>>
> >>> so first you use derby to do initial setup then after you setup the 
> >>> Entityengine.xml the setup to that stage is transferred to the new db.
> >>> however ofbiz would, first, need to do a cold reboot and initialize the 
> >>> new DB.
> >>> Oh yes this setup is usually running on a remote server.
> >>>
> >>> feel free to contribute.
> >>>
> >>>
> >>>
> >>> =
> >>> BJ Freeman
> >>> Strategic Power Office with Supplier 
> >>> Automation
> >>> Specialtymarket.com
> >>> Systems Integrator-- Glad to Assist
> >>>
> >>> Chat  Y! messenger: bjfr33man
> >>> Raj Saini sent the following on 8/25/2010 8:28 PM:
> >>>
> >>>
> >>>
>  Should it not be possible to load the demo or seed data without using
>  Ant? It think it is possible using startofbiz.sh or startofbiz.bat file.
> 
>  Most of the other Apache project provides a binary only and source only
>  releases. And this reduces the size of the tar balls and people can
>  download what suite them better. Problem with OFBiz is there is a no
>  binary only distribution as compiled code stays within the source in
>  build folder. Ideally, all compiled jars should be moved out to lib
>  after building the jars. This should be possible by tweaking the build
>  scripts. I have this in my mind for long and hopefully, I will get some
>  time soon and work on it.
> 
>  Thanks,
> 
>  Raj
> 
> 
> 
>  On 26/08/10 04:15, BJ Freeman wrote:
>   
> > lets assume for a moment that the jar files are provided.
> > and they do a startofbiz
> > what will happen?
> > lots of errors and support as now.
> > Ok lets assume we also install the demo data.
> > now we are ask how to remove the demo data and install for production.
> >
> > ofbiz is not the standard App you find.
> > In my opinion, the way it is setup up the basic question like started
> > this thread, can be answered by pointing people to the correct docs.
> >
> > Until there is sufficient documentation to take someone through every
> > single step with diagram and screen shots, as wall as a end-user FAQ.
> > we will have support questins. Oh wait Microsoft spends thousand of
> > Dollars to do this for Word yet everyday they get support calls from
> > new users on how to setup.
> >
> > why you could even write another book about it.
> > (smiles)
> >
> > ==

Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread BJ Freeman
The focal point of the thread was when someone, not knowledgeable, 
downloads ofbiz how much should they know before using it.


currently the Demo allows someone  to run obiz to see how it works, 
however derby is not a production db and the db needs to be changed.


creating tables on the fly is not the issue, since that is a standard 
Database function. Also Hibernate uses only one database. Ofbiz uses 
something similar to JPA so that is not the issue.


It is  determining which database use, then installing the proper data 
Production (seed and ext). So the default db (derby) can be used for 
Demo data.
However if you use mysql, postgres or any of the others that requires 
setup of the entityengine.xml.
If you running in ofbiz under a setup program this requires a restart of 
ofbiz.
At this point in ofbiz development, the Build.xml provides the ability 
to generate this, after manually setting up the entityengine.xml


The added step that is not present in ofbiz for setup is to transfer the 
setup that has been generated so far in derby to the new database that 
had been initialize.


So one question is for Releases do we want to have them as demos.
if yes it is a no brainier to compile and load the datga like is done 
for the nightly builds.

However when you switch to production requires a lot of configuration.
Though ofbiz has developed a framework for setup, it is far from doing 
all that is necessary.


Having a binary only though is a different story. the Only compiled 
executable code that makes the jars, is java. However the minilang is 
interpreted on the fly and can not be removed as well as the FTL 
template for Widgets.









=
BJ Freeman  
Strategic Power Office with Supplier Automation  

Specialtymarket.com  
Systems Integrator-- Glad to Assist




Raj Saini sent the following on 8/26/2010 2:07 AM:

There are plenty of applications around now a days. Technologies like
JPA, Hibernate allows creation of tables on the fly. Take example of
Liferay Portal Server and it gives you a portal configured with demo data.

Thanks,

Raj


On 26/08/10 13:19, BJ Freeman wrote:

can you name me a project that has the option to load demo data or
Seed (production data). for that mater can you show me a app that
initializes the db structure, as ofbiz does?

as far a ant, the effort should be to move installation into the Setup
component, with screens to ask you which setup you want, production or
demo. it should lead you through the technical setup.
see
https://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide


Then you have the setup for the type of business one runs.
https://issues.apache.org/jira/browse/OFBIZ-3852

so first you use derby to do initial setup then after you setup the
Entityengine.xml the setup to that stage is transferred to the new db.
however ofbiz would, first, need to do a cold reboot and initialize
the new DB.
Oh yes this setup is usually running on a remote server.

feel free to contribute.



=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man
Raj Saini sent the following on 8/25/2010 8:28 PM:



Should it not be possible to load the demo or seed data without using
Ant? It think it is possible using startofbiz.sh or startofbiz.bat file.

Most of the other Apache project provides a binary only and source only
releases. And this reduces the size of the tar balls and people can
download what suite them better. Problem with OFBiz is there is a no
binary only distribution as compiled code stays within the source in
build folder. Ideally, all compiled jars should be moved out to lib
after building the jars. This should be possible by tweaking the build
scripts. I have this in my mind for long and hopefully, I will get some
time soon and work on it.

Thanks,

Raj



On 26/08/10 04:15, BJ Freeman wrote:

lets assume for a moment that the jar files are provided.
and they do a startofbiz
what will happen?
lots of errors and support as now.
Ok lets assume we also install the demo data.
now we are ask how to remove the demo data and install for production.

ofbiz is not the standard App you find.
In my opinion, the way it is setup up the basic question like started
this thread, can be answered by pointing people to the correct docs.

Until there is sufficient documentation to take someone through every
single step with diagram and screen shots, as wall as a end-user FAQ.
we will have support questins. Oh wait Microsoft spends thousand of
Dollars to do this for Word yet everyday they get support calls from
new users on how to setup.

why you could even write an

jQuery Branch

2010-08-26 Thread usemetoemail
Hello All,

Is there a demo version of the jQuery branch available? Would that branch
likely become the default for ofbiz in the future?


Re: ant create-component

2010-08-26 Thread BJ Freeman
 the seed data against the demo data you will see there is no company 
name put in.
so you have to created ext data that will supply the company name the 
same way the demo data does,

or use the setup tab after you are running.



=
BJ Freeman  
Strategic Power Office with Supplier Automation  

Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Pierre Smits sent the following on 8/26/2010 2:29 AM:

If you intended to say to run 'ant run-install-seed' or 'ant
run-install-extseed' I did right after 'ant create-component'

And I have, but that didn't resolve the problem.

Regards,

Pierre

2010/8/26 BJ Freeman


that confirms what I said.
I assumed you have followed the

https://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide
as well as initialized your own data if not using the demo data.

otherwise edit your
config/ProfilerUiLabels.xml and put in the company name there.


=
BJ Freeman
Strategic Power Office with Supplier Automation<
http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Pierre Smits sent the following on 8/26/2010 1:16 AM:

  Hi BJ


Having commented out the "uiLabelMap.ProfilerCompanyName" in
config/ProfilerUiLabels.xml didn't change anything in the appearance, but
generated following error:

2010-08-26 10:11:05,459 (http-0.0.0.0-8443-4) [ Log4JLoggerFactory.java:96
:ERROR]

Expression layoutSettings.companyName is undefined on line 28, column 14
in
component://flatgrey/includes/header.ftl.
The problematic instruction:
--
==>   ${layoutSettings.companyName} [on line 28, column 12 in
component://flatgrey/includes/header.ftl]
--

Java backtrace for programmers:
--
freemarker.core.InvalidReferenceException: Expression
layoutSettings.companyName is undefined on line 28, column 14 in
component://flatgrey/includes/header.ftl.
 at
freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
 at freemarker.core.Expression.getStringValue(Expression.java:118)
 at freemarker.core.Expression.getStringValue(Expression.java:93)
 at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
 at freemarker.core.Environment.visit(Environment.java:209)
 at freemarker.core.MixedContent.accept(MixedContent.java:92)
 at freemarker.core.Environment.visit(Environment.java:209)
 at freemarker.core.Environment.process(Environment.java:189)
 at

org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:216)
 at
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
 at

org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250)
 at
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
 at

org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:972)
 at

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101)
 at

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188)
 at

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392)
 at

org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:540)
 at

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101)
 at

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188)
 at

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392)
 at

org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:637)
 at

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101)
 at

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188)
 at

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392)
 at

org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:637)
 at

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101)
 at

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188)
 at

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392)
 at
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
 at
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
 at

org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:10

Re: date fields

2010-08-26 Thread Adrian Crum
There is even an example of that in the Example component - using start of day 
I believe.

-Adrian

--- On Thu, 8/26/10, Nicolas Malin  wrote:

> From: Nicolas Malin 
> Subject: Re: date fields
> To: user@ofbiz.apache.org
> Date: Thursday, August 26, 2010, 4:51 AM
> Use UtilDateTime.getMonthStart on
> getMonthEnd function with 
> nowTimestamps present in context
> 
> Nicolas
> 
> Pierre Smits a écrit :
> > My apologies, I have to clarify.
> >
> > I meant setting the default values of the date fields
> to either the first
> > day or the last day of the current month...
> >
> > Regards,
> >
> > Pierre
> >
> > 2010/8/26 Pierre Smits 
> >
> >   
> >> Hi All,
> >>
> >> How can I get in a date field the date of the
> first day of current month?
> >> And in a second field the date of the last day of
> current month?
> >>
> >> Regards,
> >>
> >> Pierre
> >>
> >>     
> >
> >   
> 
> 





Re: Related entity's data in a form field

2010-08-26 Thread Mansour Al Akeel
Bruno,
this will resolve the issue with exception. But still don't know how to
display a value from the related entity.
Here's the code:










How can I use the "${categoryName}" in the sub-hyperlink ?



On Thu Aug 26,2010 11:07 am, Bruno Busco wrote:
> I think you cannot have "spaces" in field names.
> Try 
> instead of
> 
> 
> 2010/8/26 Mansour Al Akeel 
> 
> > Hello all:
> > I need to reference a value from a related entity. For example, I am
> > displaying a list of Product, and one of the fields is the Category
> > Name.
> >
> >
> > >key-field-name="productCategoryId"
> > description="${categoryName}" >
> > > description="${categoryName}"  >
> > > value="${primaryProductCategoryId}" />
> >
> >
> >
> >
> > I want to display ProductCategory.categoryName instead of
> > ProductCategory.productCategoryId which is matched on
> > Product.primaryProductCategoryId
> >
> > On the other hand, I keep on getting an exception that I don't understand:
> > 2010-08-26 08:03:45,061 (http-0.0.0.0-8443-3)
> > [FlexibleMapAccessor.java:141:INFO ] UEL exception while getting value:
> > javax.el.ELException: Error parsing '${Primary Catgory}': syntax error at
> > position 10, encountered 'Catgory', expected '}', original = Primary Catgory
> >
> >
> > Any idea ?
> >
> >
> >
> >


Re: date fields

2010-08-26 Thread Nicolas Malin
Use UtilDateTime.getMonthStart on getMonthEnd function with 
nowTimestamps present in context


Nicolas

Pierre Smits a écrit :

My apologies, I have to clarify.

I meant setting the default values of the date fields to either the first
day or the last day of the current month...

Regards,

Pierre

2010/8/26 Pierre Smits 

  

Hi All,

How can I get in a date field the date of the first day of current month?
And in a second field the date of the last day of current month?

Regards,

Pierre




  




Re: date fields

2010-08-26 Thread Pierre Smits
My apologies, I have to clarify.

I meant setting the default values of the date fields to either the first
day or the last day of the current month...

Regards,

Pierre

2010/8/26 Pierre Smits 

> Hi All,
>
> How can I get in a date field the date of the first day of current month?
> And in a second field the date of the last day of current month?
>
> Regards,
>
> Pierre
>


date fields

2010-08-26 Thread Pierre Smits
Hi All,

How can I get in a date field the date of the first day of current month?
And in a second field the date of the last day of current month?

Regards,

Pierre


Fw: Host alert: ofbiz-vm.apache.org is UP

2010-08-26 Thread Jacques Le Roux

I update and reload the demos servers...

Jacques

From: 

*** ASF Nagios ***

Notification Type: RECOVERY
Host: ofbiz-vm.apache.org
Address: 140.211.11.41
State: UP
Info: PING OK - Packet loss = 0%, RTA = 153.88 ms

Date/Time: Thu Aug 26 09:35:42 UTC 2010





application/x-json issue in FF (3.6.8)

2010-08-26 Thread Jacques Le Roux
Testing the work commited at revision: 989599, I crossed again an issue I have for a long time in FF with application/x-json, and I 
guess application/json as well (I'm on Windows but I don't think it's the reason). When I press the Add or Update button when 
editing a facility at https://localhost:8443/catalog/control/ProductStoreFacilities?productStoreId=9000, the FF download popup 
window surges and I'm trapped there. Even if the action is correctly executed underneath (I can see it if I refresh the page). I did 
not find any good solution either using https://addons.mozilla.org/en-US/firefox/addon/10869/ or 
http://www.spasche.net/openinbrowser/ because they only allow to see the file. I did not find yet a way to bypass the dowload popup 
window.


Note: to test the behaviour you need to update at least to r989599

Anyone an idea or a solution?

Thanks

Jacques




Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread Raj Saini
I don't think any problem with it as a developer. However, a binary only 
release should not have build time tool chain. For binary only release, 
there will not be a build.xml and no ant.


Thanks,

Raj

On 26/08/10 15:57, Scott Gray wrote:

ant run-install
could someone explain to me what is so difficult about the command that we need 
to look at big efforts to fix something that isn't broken?

Thanks
Scott

On 26/08/2010, at 9:07 PM, Raj Saini wrote:

   

There are plenty of applications around now a days. Technologies like JPA, 
Hibernate allows creation of tables on the fly. Take example of Liferay Portal 
Server and it gives you a portal configured with demo data.

Thanks,

Raj


On 26/08/10 13:19, BJ Freeman wrote:
 

can you name me a project that has the option to load demo data or Seed 
(production data). for that mater can you show me a app that initializes the db 
structure, as ofbiz does?

as far a ant, the effort should be to move installation into the Setup 
component, with screens to ask you which setup you want, production or demo. it 
should lead you through the technical setup.
see
https://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide

Then you have the setup for the type of business one runs.
https://issues.apache.org/jira/browse/OFBIZ-3852

so first you use derby to do initial setup then after you setup the 
Entityengine.xml the setup to that stage is transferred to the new db.
however ofbiz would, first, need to do a cold reboot and initialize the new DB.
Oh yes this setup is usually running on a remote server.

feel free to contribute.



=
BJ Freeman
Strategic Power Office with Supplier 
Automation
Specialtymarket.com
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Raj Saini sent the following on 8/25/2010 8:28 PM:


   

Should it not be possible to load the demo or seed data without using
Ant? It think it is possible using startofbiz.sh or startofbiz.bat file.

Most of the other Apache project provides a binary only and source only
releases. And this reduces the size of the tar balls and people can
download what suite them better. Problem with OFBiz is there is a no
binary only distribution as compiled code stays within the source in
build folder. Ideally, all compiled jars should be moved out to lib
after building the jars. This should be possible by tweaking the build
scripts. I have this in my mind for long and hopefully, I will get some
time soon and work on it.

Thanks,

Raj



On 26/08/10 04:15, BJ Freeman wrote:
 

lets assume for a moment that the jar files are provided.
and they do a startofbiz
what will happen?
lots of errors and support as now.
Ok lets assume we also install the demo data.
now we are ask how to remove the demo data and install for production.

ofbiz is not the standard App you find.
In my opinion, the way it is setup up the basic question like started
this thread, can be answered by pointing people to the correct docs.

Until there is sufficient documentation to take someone through every
single step with diagram and screen shots, as wall as a end-user FAQ.
we will have support questins. Oh wait Microsoft spends thousand of
Dollars to do this for Word yet everyday they get support calls from
new users on how to setup.

why you could even write another book about it.
(smiles)

=
BJ Freeman
Strategic Power Office with Supplier Automation

Specialtymarket.com
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/25/2010 1:23 PM:
   

Hi Jacques,

Now that you've brought up the topic, I wonder why most of the other ASF
projects provide jar files with their distributions? In fact, most
others provide jar (or other binary) files as the primary and first
download link that you find when navigating to the project's ASF
website.

Just curious as to how someone here came up with the current
interpretation of the ASF rules on releases and then went ahead and
organized the "official" download page as it stands today.

Regards,
Ruth

Jacques Le Roux wrote:
 

To be more clear, it's induced by ASF rules on releases

Jacques

From: "Jacques Le Roux"
   

Thanks for your support BJ!

Jacques

From: "BJ Freeman"
 

the reason the nightly builds were hidden is for the very reason you
express, they are for testing and debugging not for official release.
I gave you the link to them. I use them for the demo-trunk that I
support.


Ruth Hoffman sent the following on 8/25/2010 9:57 AM:
   

Hi BJ:

Perhaps, but as recently as 4 months ago - one could go to the
"official" download page and g

Re: ECA Related Issue

2010-08-26 Thread Naveen Kumar
OK, I tried with seca and setting the required field using  , it worked for me, and created entry in both WorkEffort and
CustRequest.

Regards,

Naveen.


On Thu, Aug 26, 2010 at 4:05 PM, Scott Gray wrote:

> That's because the Entity ECA handler only has the entity fields of
> CustRequest to work with.  Any input parameters that aren't used by the
> createCustRequest service never make it past the service event handler into
> the call chain.
>
> Regards
> Scott
>
> On 26/08/2010, at 9:46 PM, Naveen Kumar wrote:
>
> > Hi Scott,
> >
> > Thanks for the reply,
> >
> > But i am sending required parameter in the form as a hidden field, but
> after
> > creation of request those parameters are not available for workeffort
> > creation.
> >
> > Regards,
> >
> > Naveen.
> >
> > On Thu, Aug 26, 2010 at 1:53 PM, Scott Gray  >wrote:
> >
> >> The call to createWorkEffort is missing required parameters, you are
> >> probably better off either using a service group to combine the two
> services
> >> into one or create a wrapping service to do the same.  Service ECAs are
> >> really only useful when the additional services don't require anything
> >> additional in the context other than what is going in to or coming out
> of
> >> the triggering service.
> >>
> >> Regards
> >> Scott
> >>
> >> HotWax Media
> >> http://www.hotwaxmedia.com
> >>
> >> On 26/08/2010, at 8:14 PM, Naveen Kumar wrote:
> >>
> >>> Hi BJ,
> >>>
> >>> I am using EECA,
> >>>
> >>> Here is my code
> >>>
> >>>   
> >>>>>> value="RF_SUPPORT"/>
> >>>   
> >>>   
> >>>
> >>> Regards,
> >>>
> >>> Naveen.
> >>>
> >>> On Thu, Aug 26, 2010 at 1:37 PM, BJ Freeman 
> wrote:
> >>>
>  there are two types of ECA's, EECA and SECA
>  could you provide more info.
> 
>  =
>  BJ Freeman  
>  Strategic Power Office with Supplier Automation  <
>  http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>  Specialtymarket.com  
>  Systems Integrator-- Glad to Assist
> 
>  Chat  Y! messenger: bjfr33man
> 
> 
>  Naveen Kumar sent the following on 8/26/2010 12:50 AM:
> 
>  Hi All,
> >
> > I was working on ECA, i have struck with this error, can any one help
> >> me,
> > to
> > solve this issue.
> >
> > 1.  I want to create WorkEffort in backend, when request is created,
> so
> >> i
> > have written ECA to do this job.
> > 2. When i tried to create request, i am getting this error
> >
> > The Following Errors Occurred:
> >
> > Error: Error trying to begin transaction, could not process method:
> The
> > current transaction is marked for rollback, not beginning a new
> > transaction
> > and aborting current operation; the rollbackOnly was caused by:
> Service
> > [createWorkEffort] threw an unexpected
> > exception/errororg.ofbiz.service.ServiceValidationException: The
> >> following
> > required parameter is missing: [IN]
> >> [createWorkEffort.currentStatusId]The
> > following required parameter is missing: [IN]
> > [createWorkEffort.workEffortName]The following required parameter is
> > missing: [IN] [createWorkEffort.workEffortTypeId] (The following
> >> required
> > parameter is missing: [IN] [createWorkEffort.currentStatusId]The
> >> following
> > required parameter is missing: [IN]
> >> [createWorkEffort.workEffortName]The
> > following required parameter is missing: [IN]
> > [createWorkEffort.workEffortTypeId])   calling service
> > setCustRequestStatus
> > in createCustRequest
> >
> >
> > 3. I am sending this three fields (workEffortName,
> > WorkEffort.currentStatusId, workEffortTypeId) as hidden fields in
> >> request
> > form.
> >
> >
> 
> >>
> >>
>
>


Re: ECA Related Issue

2010-08-26 Thread Scott Gray
That's because the Entity ECA handler only has the entity fields of CustRequest 
to work with.  Any input parameters that aren't used by the createCustRequest 
service never make it past the service event handler into the call chain.

Regards
Scott

On 26/08/2010, at 9:46 PM, Naveen Kumar wrote:

> Hi Scott,
> 
> Thanks for the reply,
> 
> But i am sending required parameter in the form as a hidden field, but after
> creation of request those parameters are not available for workeffort
> creation.
> 
> Regards,
> 
> Naveen.
> 
> On Thu, Aug 26, 2010 at 1:53 PM, Scott Gray wrote:
> 
>> The call to createWorkEffort is missing required parameters, you are
>> probably better off either using a service group to combine the two services
>> into one or create a wrapping service to do the same.  Service ECAs are
>> really only useful when the additional services don't require anything
>> additional in the context other than what is going in to or coming out of
>> the triggering service.
>> 
>> Regards
>> Scott
>> 
>> HotWax Media
>> http://www.hotwaxmedia.com
>> 
>> On 26/08/2010, at 8:14 PM, Naveen Kumar wrote:
>> 
>>> Hi BJ,
>>> 
>>> I am using EECA,
>>> 
>>> Here is my code
>>> 
>>>   
>>>   >> value="RF_SUPPORT"/>
>>>   
>>>   
>>> 
>>> Regards,
>>> 
>>> Naveen.
>>> 
>>> On Thu, Aug 26, 2010 at 1:37 PM, BJ Freeman  wrote:
>>> 
 there are two types of ECA's, EECA and SECA
 could you provide more info.
 
 =
 BJ Freeman  
 Strategic Power Office with Supplier Automation  <
 http://www.businessesnetwork.com/automation/viewforum.php?f=52>
 Specialtymarket.com  
 Systems Integrator-- Glad to Assist
 
 Chat  Y! messenger: bjfr33man
 
 
 Naveen Kumar sent the following on 8/26/2010 12:50 AM:
 
 Hi All,
> 
> I was working on ECA, i have struck with this error, can any one help
>> me,
> to
> solve this issue.
> 
> 1.  I want to create WorkEffort in backend, when request is created, so
>> i
> have written ECA to do this job.
> 2. When i tried to create request, i am getting this error
> 
> The Following Errors Occurred:
> 
> Error: Error trying to begin transaction, could not process method: The
> current transaction is marked for rollback, not beginning a new
> transaction
> and aborting current operation; the rollbackOnly was caused by: Service
> [createWorkEffort] threw an unexpected
> exception/errororg.ofbiz.service.ServiceValidationException: The
>> following
> required parameter is missing: [IN]
>> [createWorkEffort.currentStatusId]The
> following required parameter is missing: [IN]
> [createWorkEffort.workEffortName]The following required parameter is
> missing: [IN] [createWorkEffort.workEffortTypeId] (The following
>> required
> parameter is missing: [IN] [createWorkEffort.currentStatusId]The
>> following
> required parameter is missing: [IN]
>> [createWorkEffort.workEffortName]The
> following required parameter is missing: [IN]
> [createWorkEffort.workEffortTypeId])   calling service
> setCustRequestStatus
> in createCustRequest
> 
> 
> 3. I am sending this three fields (workEffortName,
> WorkEffort.currentStatusId, workEffortTypeId) as hidden fields in
>> request
> form.
> 
> 
 
>> 
>> 



smime.p7s
Description: S/MIME cryptographic signature


Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread Scott Gray
ant run-install
could someone explain to me what is so difficult about the command that we need 
to look at big efforts to fix something that isn't broken?

Thanks
Scott

On 26/08/2010, at 9:07 PM, Raj Saini wrote:

> There are plenty of applications around now a days. Technologies like JPA, 
> Hibernate allows creation of tables on the fly. Take example of Liferay 
> Portal Server and it gives you a portal configured with demo data.
> 
> Thanks,
> 
> Raj
> 
> 
> On 26/08/10 13:19, BJ Freeman wrote:
>> can you name me a project that has the option to load demo data or Seed 
>> (production data). for that mater can you show me a app that initializes the 
>> db structure, as ofbiz does?
>> 
>> as far a ant, the effort should be to move installation into the Setup 
>> component, with screens to ask you which setup you want, production or demo. 
>> it should lead you through the technical setup.
>> see
>> https://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide
>>  
>> 
>> Then you have the setup for the type of business one runs.
>> https://issues.apache.org/jira/browse/OFBIZ-3852
>> 
>> so first you use derby to do initial setup then after you setup the 
>> Entityengine.xml the setup to that stage is transferred to the new db.
>> however ofbiz would, first, need to do a cold reboot and initialize the new 
>> DB.
>> Oh yes this setup is usually running on a remote server.
>> 
>> feel free to contribute.
>> 
>> 
>> 
>> =
>> BJ Freeman 
>> Strategic Power Office with Supplier Automation 
>> 
>> Specialtymarket.com 
>> Systems Integrator-- Glad to Assist
>> 
>> Chat  Y! messenger: bjfr33man
>> Raj Saini sent the following on 8/25/2010 8:28 PM:
>> 
>> 
>>> Should it not be possible to load the demo or seed data without using
>>> Ant? It think it is possible using startofbiz.sh or startofbiz.bat file.
>>> 
>>> Most of the other Apache project provides a binary only and source only
>>> releases. And this reduces the size of the tar balls and people can
>>> download what suite them better. Problem with OFBiz is there is a no
>>> binary only distribution as compiled code stays within the source in
>>> build folder. Ideally, all compiled jars should be moved out to lib
>>> after building the jars. This should be possible by tweaking the build
>>> scripts. I have this in my mind for long and hopefully, I will get some
>>> time soon and work on it.
>>> 
>>> Thanks,
>>> 
>>> Raj
>>> 
>>> 
>>> 
>>> On 26/08/10 04:15, BJ Freeman wrote:
 lets assume for a moment that the jar files are provided.
 and they do a startofbiz
 what will happen?
 lots of errors and support as now.
 Ok lets assume we also install the demo data.
 now we are ask how to remove the demo data and install for production.
 
 ofbiz is not the standard App you find.
 In my opinion, the way it is setup up the basic question like started
 this thread, can be answered by pointing people to the correct docs.
 
 Until there is sufficient documentation to take someone through every
 single step with diagram and screen shots, as wall as a end-user FAQ.
 we will have support questins. Oh wait Microsoft spends thousand of
 Dollars to do this for Word yet everyday they get support calls from
 new users on how to setup.
 
 why you could even write another book about it.
 (smiles)
 
 =
 BJ Freeman 
 Strategic Power Office with Supplier Automation
 
 Specialtymarket.com 
 Systems Integrator-- Glad to Assist
 
 Chat Y! messenger: bjfr33man
 
 
 Ruth Hoffman sent the following on 8/25/2010 1:23 PM:
> Hi Jacques,
> 
> Now that you've brought up the topic, I wonder why most of the other ASF
> projects provide jar files with their distributions? In fact, most
> others provide jar (or other binary) files as the primary and first
> download link that you find when navigating to the project's ASF
> website.
> 
> Just curious as to how someone here came up with the current
> interpretation of the ASF rules on releases and then went ahead and
> organized the "official" download page as it stands today.
> 
> Regards,
> Ruth
> 
> Jacques Le Roux wrote:
>> To be more clear, it's induced by ASF rules on releases
>> 
>> Jacques
>> 
>> From: "Jacques Le Roux" 
>>> Thanks for your support BJ!
>>> 
>>> Jacques
>>> 
>>> From: "BJ Freeman" 
 the reason the nightly builds were hidden is for the very reason you
 express, they are for testing and debugging not for official release.
 I gave you the link to them.

Re: Migration component Ideas

2010-08-26 Thread james_sg

seems something like
http://wiki.openbravo.com/wiki/Upgrading_Openbravo_installations#Using_the_upgraders
and http://www.openbravo.com/product/demo-center/erp/


BJ Freeman wrote:
> 
> yes it would be automatic, and just like now if you have changed code 
> the svn tool created version change files that have to be resolved if 
> you have changed core.
> 
> Before making such changes it will give you a list of these and ask if 
> you want to do an automatic upgrade. this is to catch those changes that 
> were not done in best practices.
> 
> Hopefully the best practices has been followed and all the changes are 
> in the hot-deploy, in which case there is nothing the upgrade will 
> touch, in hot-deploy.
> 
> Also for such conditions it would be best to run the migration against a 
> copy of the productions.
> 
> 
> 

-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Migration-component-Ideas-tp2335970p2339459.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: ECA Related Issue

2010-08-26 Thread Naveen Kumar
Hi Scott,

Thanks for the reply,

But i am sending required parameter in the form as a hidden field, but after
creation of request those parameters are not available for workeffort
creation.

Regards,

Naveen.

On Thu, Aug 26, 2010 at 1:53 PM, Scott Gray wrote:

> The call to createWorkEffort is missing required parameters, you are
> probably better off either using a service group to combine the two services
> into one or create a wrapping service to do the same.  Service ECAs are
> really only useful when the additional services don't require anything
> additional in the context other than what is going in to or coming out of
> the triggering service.
>
> Regards
> Scott
>
> HotWax Media
> http://www.hotwaxmedia.com
>
> On 26/08/2010, at 8:14 PM, Naveen Kumar wrote:
>
> > Hi BJ,
> >
> > I am using EECA,
> >
> > Here is my code
> >
> >
> > > value="RF_SUPPORT"/>
> >
> >
> >
> > Regards,
> >
> > Naveen.
> >
> > On Thu, Aug 26, 2010 at 1:37 PM, BJ Freeman  wrote:
> >
> >> there are two types of ECA's, EECA and SECA
> >> could you provide more info.
> >>
> >> =
> >> BJ Freeman  
> >> Strategic Power Office with Supplier Automation  <
> >> http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> >> Specialtymarket.com  
> >> Systems Integrator-- Glad to Assist
> >>
> >> Chat  Y! messenger: bjfr33man
> >>
> >>
> >> Naveen Kumar sent the following on 8/26/2010 12:50 AM:
> >>
> >> Hi All,
> >>>
> >>> I was working on ECA, i have struck with this error, can any one help
> me,
> >>> to
> >>> solve this issue.
> >>>
> >>> 1.  I want to create WorkEffort in backend, when request is created, so
> i
> >>> have written ECA to do this job.
> >>> 2. When i tried to create request, i am getting this error
> >>>
> >>> The Following Errors Occurred:
> >>>
> >>> Error: Error trying to begin transaction, could not process method: The
> >>> current transaction is marked for rollback, not beginning a new
> >>> transaction
> >>> and aborting current operation; the rollbackOnly was caused by: Service
> >>> [createWorkEffort] threw an unexpected
> >>> exception/errororg.ofbiz.service.ServiceValidationException: The
> following
> >>> required parameter is missing: [IN]
> [createWorkEffort.currentStatusId]The
> >>> following required parameter is missing: [IN]
> >>> [createWorkEffort.workEffortName]The following required parameter is
> >>> missing: [IN] [createWorkEffort.workEffortTypeId] (The following
> required
> >>> parameter is missing: [IN] [createWorkEffort.currentStatusId]The
> following
> >>> required parameter is missing: [IN]
> [createWorkEffort.workEffortName]The
> >>> following required parameter is missing: [IN]
> >>> [createWorkEffort.workEffortTypeId])   calling service
> >>> setCustRequestStatus
> >>> in createCustRequest
> >>>
> >>>
> >>> 3. I am sending this three fields (workEffortName,
> >>> WorkEffort.currentStatusId, workEffortTypeId) as hidden fields in
> request
> >>> form.
> >>>
> >>>
> >>
>
>


JRebel

2010-08-26 Thread james_sg

Hi all,

I would like to know if any have got JRebel working in OFBiz, and can
provide any pointers on it.
Thanks.

Regards,
James
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/JRebel-tp2339431p2339431.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: ant create-component

2010-08-26 Thread Pierre Smits
If you intended to say to run 'ant run-install-seed' or 'ant
run-install-extseed' I did right after 'ant create-component'

And I have, but that didn't resolve the problem.

Regards,

Pierre

2010/8/26 BJ Freeman 

> that confirms what I said.
> I assumed you have followed the
>
> https://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide
> as well as initialized your own data if not using the demo data.
>
> otherwise edit your
> config/ProfilerUiLabels.xml and put in the company name there.
>
>
> =
> BJ Freeman  
> Strategic Power Office with Supplier Automation  <
> http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> Specialtymarket.com  
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
>
>
> Pierre Smits sent the following on 8/26/2010 1:16 AM:
>
>  Hi BJ
>>
>> Having commented out the "uiLabelMap.ProfilerCompanyName" in
>> config/ProfilerUiLabels.xml didn't change anything in the appearance, but
>> generated following error:
>>
>> 2010-08-26 10:11:05,459 (http-0.0.0.0-8443-4) [ Log4JLoggerFactory.java:96
>> :ERROR]
>>
>> Expression layoutSettings.companyName is undefined on line 28, column 14
>> in
>> component://flatgrey/includes/header.ftl.
>> The problematic instruction:
>> --
>> ==>  ${layoutSettings.companyName} [on line 28, column 12 in
>> component://flatgrey/includes/header.ftl]
>> --
>>
>> Java backtrace for programmers:
>> --
>> freemarker.core.InvalidReferenceException: Expression
>> layoutSettings.companyName is undefined on line 28, column 14 in
>> component://flatgrey/includes/header.ftl.
>> at
>> freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
>> at freemarker.core.Expression.getStringValue(Expression.java:118)
>> at freemarker.core.Expression.getStringValue(Expression.java:93)
>> at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
>> at freemarker.core.Environment.visit(Environment.java:209)
>> at freemarker.core.MixedContent.accept(MixedContent.java:92)
>> at freemarker.core.Environment.visit(Environment.java:209)
>> at freemarker.core.Environment.process(Environment.java:189)
>> at
>>
>> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:216)
>> at
>> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
>> at
>>
>> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250)
>> at
>> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
>> at
>>
>> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:972)
>> at
>>
>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101)
>> at
>>
>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188)
>> at
>>
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392)
>> at
>>
>> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:540)
>> at
>>
>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101)
>> at
>>
>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188)
>> at
>>
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392)
>> at
>>
>> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:637)
>> at
>>
>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101)
>> at
>>
>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188)
>> at
>>
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392)
>> at
>>
>> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:637)
>> at
>>
>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101)
>> at
>>
>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188)
>> at
>>
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392)
>> at
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
>> at
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
>> at
>>
>> org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:104)
>> at
>>
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
>> at
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
>> at
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
>> at javax.servlet.http.HttpServlet.service(Htt

Re: Related entity's data in a form field

2010-08-26 Thread Bruno Busco
I think you cannot have "spaces" in field names.
Try 
instead of


2010/8/26 Mansour Al Akeel 

> Hello all:
> I need to reference a value from a related entity. For example, I am
> displaying a list of Product, and one of the fields is the Category
> Name.
>
>
>key-field-name="productCategoryId"
> description="${categoryName}" >
> description="${categoryName}"  >
> value="${primaryProductCategoryId}" />
>
>
>
>
> I want to display ProductCategory.categoryName instead of
> ProductCategory.productCategoryId which is matched on
> Product.primaryProductCategoryId
>
> On the other hand, I keep on getting an exception that I don't understand:
> 2010-08-26 08:03:45,061 (http-0.0.0.0-8443-3)
> [FlexibleMapAccessor.java:141:INFO ] UEL exception while getting value:
> javax.el.ELException: Error parsing '${Primary Catgory}': syntax error at
> position 10, encountered 'Catgory', expected '}', original = Primary Catgory
>
>
> Any idea ?
>
>
>
>


Re: Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread Raj Saini
There are plenty of applications around now a days. Technologies like 
JPA, Hibernate allows creation of tables on the fly. Take example of 
Liferay Portal Server and it gives you a portal configured with demo data.


Thanks,

Raj


On 26/08/10 13:19, BJ Freeman wrote:
can you name me a project that has the option to load demo data or 
Seed (production data). for that mater can you show me a app that 
initializes the db structure, as ofbiz does?


as far a ant, the effort should be to move installation into the Setup 
component, with screens to ask you which setup you want, production or 
demo. it should lead you through the technical setup.

see
https://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide 



Then you have the setup for the type of business one runs.
https://issues.apache.org/jira/browse/OFBIZ-3852

so first you use derby to do initial setup then after you setup the 
Entityengine.xml the setup to that stage is transferred to the new db.
however ofbiz would, first, need to do a cold reboot and initialize 
the new DB.

Oh yes this setup is usually running on a remote server.

feel free to contribute.



=
BJ Freeman 
Strategic Power Office with Supplier Automation 


Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Raj Saini sent the following on 8/25/2010 8:28 PM:



Should it not be possible to load the demo or seed data without using
Ant? It think it is possible using startofbiz.sh or startofbiz.bat file.

Most of the other Apache project provides a binary only and source only
releases. And this reduces the size of the tar balls and people can
download what suite them better. Problem with OFBiz is there is a no
binary only distribution as compiled code stays within the source in
build folder. Ideally, all compiled jars should be moved out to lib
after building the jars. This should be possible by tweaking the build
scripts. I have this in my mind for long and hopefully, I will get some
time soon and work on it.

Thanks,

Raj



On 26/08/10 04:15, BJ Freeman wrote:

lets assume for a moment that the jar files are provided.
and they do a startofbiz
what will happen?
lots of errors and support as now.
Ok lets assume we also install the demo data.
now we are ask how to remove the demo data and install for production.

ofbiz is not the standard App you find.
In my opinion, the way it is setup up the basic question like started
this thread, can be answered by pointing people to the correct docs.

Until there is sufficient documentation to take someone through every
single step with diagram and screen shots, as wall as a end-user FAQ.
we will have support questins. Oh wait Microsoft spends thousand of
Dollars to do this for Word yet everyday they get support calls from
new users on how to setup.

why you could even write another book about it.
(smiles)

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/25/2010 1:23 PM:

Hi Jacques,

Now that you've brought up the topic, I wonder why most of the 
other ASF

projects provide jar files with their distributions? In fact, most
others provide jar (or other binary) files as the primary and first
download link that you find when navigating to the project's ASF
website.

Just curious as to how someone here came up with the current
interpretation of the ASF rules on releases and then went ahead and
organized the "official" download page as it stands today.

Regards,
Ruth

Jacques Le Roux wrote:

To be more clear, it's induced by ASF rules on releases

Jacques

From: "Jacques Le Roux" 

Thanks for your support BJ!

Jacques

From: "BJ Freeman" 
the reason the nightly builds were hidden is for the very reason 
you
express, they are for testing and debugging not for official 
release.

I gave you the link to them. I use them for the demo-trunk that I
support.


Ruth Hoffman sent the following on 8/25/2010 9:57 AM:

Hi BJ:

Perhaps, but as recently as 4 months ago - one could go to the
"official" download page and get a build already packaged with
the jar
files and the seed data loaded. (Personally, I don't care what 
that

build was called. It existed and was easy to find by following the
download links). I wrote extensively about it for some time.
Then, one
day, I went to the "official" download site and lo-and-behold -
things
had changed. Too bad because the fact that stuff was already
packaged
and ready to go was a great selling point.

All I can say is that if I was a little surprised at the turn of
events,
I can only imagine what potential users wi

Re: Browsing all products

2010-08-26 Thread Bruno Busco
Yes Mansour, this was I meant.


2010/8/26 Mansour Al Akeel 

> Hi Bruno,
> thank you for you your opinion. But I don't clearly understand. I was
> able to interrupt your comments in two ways:
>
> 1-  To make it consitent with the rest of the applicaiton, I need to use
>"Products" and "Categories" for the labels. This is easy. Currently,
>this is what I have:
>  o Main
>  o Features
>  o Promos
>  o Price Rules
>  o Stores
>  o Thesaurus
>  o Reviews
>  o Configurations
>  o Subscriptions
>  o Shipping
>  o List All Products
>  o List All Categories
>
>If I understand this part, you want them to be:
>  o Main
>  o Features
>  o Promos
>  o Price Rules
>  o Stores
>  o Thesaurus
>  o Reviews
>  o Configurations
>  o Subscriptions
>  o Shipping
>  o Products
>  o Categories
>
>
> 2- to make is consistent by following the pattern for other screens,
>where there's additional forms (mainly one for searching and the
>other for listing), for example in the "Features" screen, there are
>two forms, "Search Options" and "Search Results".
>
> I am interested in hearing your opinion.
>
> Thank you, Bruno.
>
>
> On Thu Aug 26,2010 01:42 am, Bruno Busco wrote:
> > Hi Mansour,
> > for better integration you should try to follow the pattern of the other
> > applications.
> > So the menu items should better be "Products" and "Categories" that will
> fit
> > in the catalog menu where "Features", "Promos", "Price rules", "Stores"
> etc.
> > already are.
> >
> > My 2 cents
> >
> >
> >
> > 2010/8/26 Mansour Al Akeel 
> >
> > > Hello Bruno:
> > > Yes I am working on this right now.
> > > In fact I am adding two menu items, "List all products", and "List all
> > > Categories".
> > > If I get it working properly, and  the code is clean and readable, I
> > > will contribute it :)
> > > Thank you.
> > >
> > > On Thu Aug 26,2010 12:29 am, Bruno Busco wrote:
> > > > A similar product list screen should be added to the product
> component.
> > > > If you figure something out and want to contribute you will be more
> than
> > > > welcome !! ;.)
> > > >
> > > >
> > > > 2010/8/26 Mansour Al Akeel 
> > > >
> > > > > Wow, this link is exactely what I wanted ! It will be very helpful.
> > > > > Thank you a lot.
> > > > >
> > > > >
> > > > >
> > > > > On Wed Aug 25,2010 08:06 pm, Bruno Busco wrote:
> > > > > > I think you could find useful this post.
> > > > > >
> > > > >
> > >
> http://www.hotwaxmedia.com/apache-ofbiz-blog/ofbiz-tutorial-building-a-simple-product-list-screen/
> > > > > >
> > > > > >
> > > > > > 2010/8/25 Micha?? Cukierman 
> > > > > >
> > > > > > > If you want to brows only for the data, you can use webtools.
> > > > > > > This is in fact low lvl approach.
> > > > > > >
> > > > > > > Dnia 2010-08-25, ??ro o godzinie 10:37 +0300, Mansour Al Akeel
> > > pisze:
> > > > > > > > Is there a way to browse all available products ignoring the
> > > category
> > > > > > > > they belong to ?
> > > > > > > > I need to do the same to categories, regardless of the
> catalog.
> > > > > > > >
> > > > > > > > Thank you.
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > >
> > >
>


Re: Unable to find ofbiz.jar file

2010-08-26 Thread Jacques Le Roux

Hi Ruth,

Looks like Jacopo is your man...
And yes I was wrong about ASF rules, it's more OFBiz rules :o)
Maybe Raj will get to a better solution

Jacques

Ruth Hoffman wrote:

Hi Jacques,

Now that you've brought up the topic, I wonder why most of the other ASF
projects provide jar files with their distributions? In fact, most
others provide jar (or other binary) files as the primary and first
download link that you find when navigating to the project's ASF website.

Just curious as to how someone here came up with the current
interpretation of the ASF rules on releases and then went ahead and
organized the "official" download page as it stands today.

Regards,
Ruth

Jacques Le Roux wrote:

To be more clear, it's induced by ASF rules on releases

Jacques

From: "Jacques Le Roux" 

Thanks for your support BJ!

Jacques

From: "BJ Freeman" 

the reason the nightly builds were hidden is for the very reason you
express, they are for testing and debugging not for official release.
I gave you the link to them. I use them for the demo-trunk that I
support.


Ruth Hoffman sent the following on 8/25/2010 9:57 AM:

Hi BJ:

Perhaps, but as recently as 4 months ago - one could go to the
"official" download page and get a build already packaged with the jar
files and the seed data loaded. (Personally, I don't care what that
build was called. It existed and was easy to find by following the
download links). I wrote extensively about it for some time. Then, one
day, I went to the "official" download site and lo-and-behold - things
had changed. Too bad because the fact that stuff was already packaged
and ready to go was a great selling point.

All I can say is that if I was a little surprised at the turn of
events,
I can only imagine what potential users without much exposure to how
things are done here, would think.

Anyhow, it doesn't really matter.

Regards,
Ruth
BJ Freeman wrote:

Ruth I think your confusing the Nightly builds
http://ci.apache.org/projects/ofbiz/snapshots/ofbiz-rel9.04-current.zip

with the Final Release(apache-ofbiz-09.04.zip)
http://ofbiz.apache.org/download.html#release-09.04 .

the Final release has not changed it format. it is the code minus all
the svn tags for versioning. it also has a check sum to validate you
downloaded the full zip file.

up till the final release of 9.04(zip) there were only the branch and
nigthly builds.
The Branch is source code only and access via the svn.
the nightly builds are compiled and have the demo data loaded.
http://ci.apache.org/projects/ofbiz/snapshots/
as you can see you can pick dates of nightly builds.


=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/25/2010 7:58 AM:

Hi Laxmiraghu:
Unfortunately, the project recently decided to change the way
OFBiz is
distributed. And, they pretty much forgot to tell anyone. The jar
file
is no longer part of the distribution as it was as recently as 6
months
ago. You MUST now build OFBiz prior to startup. The build process as
described in various locations around the community will create
all the
necessary jar files.

For more information on this including very simple build
instructions,
you may download my free document "How To Get OFBiz Code (Release
9.04)"
at http://www.myofbiz.com/cms01

BTW, inclusion of the necessary jar files could change any day
since the
decision to do such things appear to be arbitrarily arrived out
by the
project commiters or whoever is responsible for setting up the
builds.

Good luck.

Ruth Hoffman

laxmiraghu wrote:

Recently i downloaded ofbiz 9.04 version for windows.

I installed mysql and java 6 and set the JAVA_HOME variable.

I unpacked the ofbiz downloaded zip file to C drive. It created a
directory
'apache-ofbiz-09.04'.

As per the documentation, i went to the above directory and
executed
'startofbiz.bat' command.

But it gave the following error message.
C:\apache-ofbiz-09.04>"C:\Program Files\Java\jdk1.6.0_21\bin\java"
-Xms128M
-Xmx
512M -jar ofbiz.jar
Unable to access jarfile ofbiz.jar

It's unable to find ofbiz.jar file.

I also searched for ofbiz.jar file in entire apache-ofbiz-09.04
folder. It's
not found.

Where can i find that file? Hope it's part of the downloaded zip
file.

Please help.




Re: Error - Migrating from Derby to MySQL

2010-08-26 Thread OfBizSuds

Thanks Nico

grant all privileges on ofbiz.* to 'ofbiz'@'localhost' identified by
'ofbiz';

worked!


-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Error-Migrating-from-Derby-to-MySQL-tp2339328p2339350.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Error - Migrating from Derby to MySQL

2010-08-26 Thread Sudha Viru
Thanks Nico

grant all privileges on ofbiz.* to 'ofbiz'@'localhost' identified by 'ofbiz'; 


worked!





From: Nico Toerl 
To: user@ofbiz.apache.org
Sent: Thu, August 26, 2010 2:09:13 PM
Subject: Re: Error - Migrating from Derby to MySQL

On 08/26/10 16:34, Nico Toerl wrote:
>  On 08/26/10 16:20, OfBizSuds wrote:
>> I am trying to get ofbiz to work with MySQL DB instead of the default Derby
>> db. Tried following instructions given in the Production setup & that in the
>> llnk 
>> 
>http://www.flagword.net/2010/06/29/how-to-migrate-ofbiz-from-derby-to-mysql-db/
>>
>> Has anyone tried this? 
>>
>> I exported the data to XML thru webtools. Then created a Mysql db called
>> ofbiz & one more called ofbizolap as per instructins given. I can see the 2
>> databases created also in mySQL (thru Netbeans IDE)
>>
>> When I try the line 
>> grant all privileges on ofbiz.* to 'ofbiz'@'localhost' identified by
>> password 'ofbiz';
>> OR
>> grant all privileges on ofbizolap.* to 'ofbiz'@'localhost' identified by
>> password 'ofbizolap';
>>
>> I get the error "Password hash should be a 41-digit hexadecimal number"
>>
>> Any ideas how to fix this??
>>
> Password is a mysql system function that generates a hash from the argument 
>given.
> Just the syntax/typo that caused mysql to produce that error.
>
>
> |its either IDENTIFIED BY '/password/String'
>
> or
> |
>
> PASSWORD('passwordString');
>
> cheers
> Nico
>
>

sorry for the extra characters, not sure how i managed to type those
what i meant to write was:

its either IDENTIFIED BY 'passwordString'
or
PASSWORD('passwordString');


cheers
Nico

-- 
Nico Toerl  
SeniorSysadmin / IT-department
Virtual Village

Tel. +86 21 51718885 ext.7042


  

Re: Error - Migrating from Derby to MySQL

2010-08-26 Thread Nico Toerl
 On 08/26/10 16:34, Nico Toerl wrote:
>  On 08/26/10 16:20, OfBizSuds wrote:
>> I am trying to get ofbiz to work with MySQL DB instead of the default Derby
>> db. Tried following instructions given in the Production setup & that in the
>> llnk 
>> http://www.flagword.net/2010/06/29/how-to-migrate-ofbiz-from-derby-to-mysql-db/
>>
>> Has anyone tried this? 
>>
>> I exported the data to XML thru webtools. Then created a Mysql db called
>> ofbiz & one more called ofbizolap as per instructins given. I can see the 2
>> databases created also in mySQL (thru Netbeans IDE)
>>
>> When I try the line 
>> grant all privileges on ofbiz.* to 'ofbiz'@'localhost' identified by
>> password 'ofbiz';
>> OR
>> grant all privileges on ofbizolap.* to 'ofbiz'@'localhost' identified by
>> password 'ofbizolap';
>>
>> I get the error "Password hash should be a 41-digit hexadecimal number"
>>
>> Any ideas how to fix this??
>>
> Password is a mysql system function that generates a hash from the argument 
> given.
> Just the syntax/typo that caused mysql to produce that error.
>
>
> |its either IDENTIFIED BY '/password/String'
>
> or
> |
>
> PASSWORD('passwordString');
>
> cheers
> Nico
>
>

sorry for the extra characters, not sure how i managed to type those
what i meant to write was:

its either IDENTIFIED BY 'passwordString'
or
PASSWORD('passwordString');


cheers
Nico

-- 
Nico Toerl  
SeniorSysadmin / IT-department
Virtual Village

Tel. +86 21 51718885 ext.7042



Re: Error - Migrating from Derby to MySQL

2010-08-26 Thread Nico Toerl
 On 08/26/10 16:20, OfBizSuds wrote:
> I am trying to get ofbiz to work with MySQL DB instead of the default Derby
> db. Tried following instructions given in the Production setup & that in the
> llnk 
> http://www.flagword.net/2010/06/29/how-to-migrate-ofbiz-from-derby-to-mysql-db/
>
> Has anyone tried this? 
>
> I exported the data to XML thru webtools. Then created a Mysql db called
> ofbiz & one more called ofbizolap as per instructins given. I can see the 2
> databases created also in mySQL (thru Netbeans IDE)
>
> When I try the line 
> grant all privileges on ofbiz.* to 'ofbiz'@'localhost' identified by
> password 'ofbiz';
> OR
> grant all privileges on ofbizolap.* to 'ofbiz'@'localhost' identified by
> password 'ofbizolap';
>
> I get the error "Password hash should be a 41-digit hexadecimal number"
>
> Any ideas how to fix this??
>

Password is a mysql system function that generates a hash from the argument 
given.
Just the syntax/typo that caused mysql to produce that error.


|its either IDENTIFIED BY '/password/String'

or
|

PASSWORD('passwordString');

cheers
Nico


-- 
Nico Toerl  
SeniorSysadmin / IT-department
Virtual Village

Tel. +86 21 51718885 ext.7042



Re: Error - Migrating from Derby to MySQL

2010-08-26 Thread BJ Freeman

that is a question best asked in the Mysql Forum for fastest response.
it has to-do with setting up Mysql not ofbiz.

=
BJ Freeman  
Strategic Power Office with Supplier Automation  

Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


OfBizSuds sent the following on 8/26/2010 1:20 AM:


I am trying to get ofbiz to work with MySQL DB instead of the default Derby
db. Tried following instructions given in the Production setup&  that in the
llnk
http://www.flagword.net/2010/06/29/how-to-migrate-ofbiz-from-derby-to-mysql-db/

Has anyone tried this?

I exported the data to XML thru webtools. Then created a Mysql db called
ofbiz&  one more called ofbizolap as per instructins given. I can see the 2
databases created also in mySQL (thru Netbeans IDE)

When I try the line
grant all privileges on ofbiz.* to 'ofbiz'@'localhost' identified by
password 'ofbiz';
OR
grant all privileges on ofbizolap.* to 'ofbiz'@'localhost' identified by
password 'ofbizolap';

I get the error "Password hash should be a 41-digit hexadecimal number"

Any ideas how to fix this??





Re: ant create-component

2010-08-26 Thread BJ Freeman

that confirms what I said.
I assumed you have followed the
https://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide
as well as initialized your own data if not using the demo data.

otherwise edit your
config/ProfilerUiLabels.xml and put in the company name there.

=
BJ Freeman  
Strategic Power Office with Supplier Automation  

Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Pierre Smits sent the following on 8/26/2010 1:16 AM:

Hi BJ

Having commented out the "uiLabelMap.ProfilerCompanyName" in
config/ProfilerUiLabels.xml didn't change anything in the appearance, but
generated following error:

2010-08-26 10:11:05,459 (http-0.0.0.0-8443-4) [ Log4JLoggerFactory.java:96
:ERROR]

Expression layoutSettings.companyName is undefined on line 28, column 14 in
component://flatgrey/includes/header.ftl.
The problematic instruction:
--
==>  ${layoutSettings.companyName} [on line 28, column 12 in
component://flatgrey/includes/header.ftl]
--

Java backtrace for programmers:
--
freemarker.core.InvalidReferenceException: Expression
layoutSettings.companyName is undefined on line 28, column 14 in
component://flatgrey/includes/header.ftl.
 at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
 at freemarker.core.Expression.getStringValue(Expression.java:118)
 at freemarker.core.Expression.getStringValue(Expression.java:93)
 at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
 at freemarker.core.Environment.visit(Environment.java:209)
 at freemarker.core.MixedContent.accept(MixedContent.java:92)
 at freemarker.core.Environment.visit(Environment.java:209)
 at freemarker.core.Environment.process(Environment.java:189)
 at
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:216)
 at
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
 at
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250)
 at
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
 at
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:972)
 at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101)
 at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188)
 at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392)
 at
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:540)
 at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101)
 at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188)
 at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392)
 at
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:637)
 at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101)
 at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188)
 at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392)
 at
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:637)
 at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101)
 at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188)
 at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392)
 at
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
 at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
 at
org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:104)
 at
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
 at
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
 at
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:271)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at
org.apache.catalina.core.ApplicationFilter

Re: ECA Related Issue

2010-08-26 Thread Scott Gray
The call to createWorkEffort is missing required parameters, you are probably 
better off either using a service group to combine the two services into one or 
create a wrapping service to do the same.  Service ECAs are really only useful 
when the additional services don't require anything additional in the context 
other than what is going in to or coming out of the triggering service.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 26/08/2010, at 8:14 PM, Naveen Kumar wrote:

> Hi BJ,
> 
> I am using EECA,
> 
> Here is my code
> 
>
> value="RF_SUPPORT"/>
>
>
> 
> Regards,
> 
> Naveen.
> 
> On Thu, Aug 26, 2010 at 1:37 PM, BJ Freeman  wrote:
> 
>> there are two types of ECA's, EECA and SECA
>> could you provide more info.
>> 
>> =
>> BJ Freeman  
>> Strategic Power Office with Supplier Automation  <
>> http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>> Specialtymarket.com  
>> Systems Integrator-- Glad to Assist
>> 
>> Chat  Y! messenger: bjfr33man
>> 
>> 
>> Naveen Kumar sent the following on 8/26/2010 12:50 AM:
>> 
>> Hi All,
>>> 
>>> I was working on ECA, i have struck with this error, can any one help me,
>>> to
>>> solve this issue.
>>> 
>>> 1.  I want to create WorkEffort in backend, when request is created, so i
>>> have written ECA to do this job.
>>> 2. When i tried to create request, i am getting this error
>>> 
>>> The Following Errors Occurred:
>>> 
>>> Error: Error trying to begin transaction, could not process method: The
>>> current transaction is marked for rollback, not beginning a new
>>> transaction
>>> and aborting current operation; the rollbackOnly was caused by: Service
>>> [createWorkEffort] threw an unexpected
>>> exception/errororg.ofbiz.service.ServiceValidationException: The following
>>> required parameter is missing: [IN] [createWorkEffort.currentStatusId]The
>>> following required parameter is missing: [IN]
>>> [createWorkEffort.workEffortName]The following required parameter is
>>> missing: [IN] [createWorkEffort.workEffortTypeId] (The following required
>>> parameter is missing: [IN] [createWorkEffort.currentStatusId]The following
>>> required parameter is missing: [IN] [createWorkEffort.workEffortName]The
>>> following required parameter is missing: [IN]
>>> [createWorkEffort.workEffortTypeId])   calling service
>>> setCustRequestStatus
>>> in createCustRequest
>>> 
>>> 
>>> 3. I am sending this three fields (workEffortName,
>>> WorkEffort.currentStatusId, workEffortTypeId) as hidden fields in request
>>> form.
>>> 
>>> 
>> 



smime.p7s
Description: S/MIME cryptographic signature


Error - Migrating from Derby to MySQL

2010-08-26 Thread OfBizSuds

I am trying to get ofbiz to work with MySQL DB instead of the default Derby
db. Tried following instructions given in the Production setup & that in the
llnk 
http://www.flagword.net/2010/06/29/how-to-migrate-ofbiz-from-derby-to-mysql-db/

Has anyone tried this? 

I exported the data to XML thru webtools. Then created a Mysql db called
ofbiz & one more called ofbizolap as per instructins given. I can see the 2
databases created also in mySQL (thru Netbeans IDE)

When I try the line 
grant all privileges on ofbiz.* to 'ofbiz'@'localhost' identified by
password 'ofbiz';
OR
grant all privileges on ofbizolap.* to 'ofbiz'@'localhost' identified by
password 'ofbizolap';

I get the error "Password hash should be a 41-digit hexadecimal number"

Any ideas how to fix this??

-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Error-Migrating-from-Derby-to-MySQL-tp2339328p2339328.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: ant create-component

2010-08-26 Thread Pierre Smits
Hi BJ

Having commented out the "uiLabelMap.ProfilerCompanyName" in
config/ProfilerUiLabels.xml didn't change anything in the appearance, but
generated following error:

2010-08-26 10:11:05,459 (http-0.0.0.0-8443-4) [ Log4JLoggerFactory.java:96
:ERROR]

Expression layoutSettings.companyName is undefined on line 28, column 14 in
component://flatgrey/includes/header.ftl.
The problematic instruction:
--
==> ${layoutSettings.companyName} [on line 28, column 12 in
component://flatgrey/includes/header.ftl]
--

Java backtrace for programmers:
--
freemarker.core.InvalidReferenceException: Expression
layoutSettings.companyName is undefined on line 28, column 14 in
component://flatgrey/includes/header.ftl.
at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
at freemarker.core.Expression.getStringValue(Expression.java:118)
at freemarker.core.Expression.getStringValue(Expression.java:93)
at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
at freemarker.core.Environment.visit(Environment.java:209)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:209)
at freemarker.core.Environment.process(Environment.java:189)
at
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:216)
at
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
at
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250)
at
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
at
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:972)
at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101)
at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188)
at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392)
at
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:540)
at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101)
at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188)
at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392)
at
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:637)
at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101)
at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188)
at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392)
at
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:637)
at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101)
at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188)
at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392)
at
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
at
org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:104)
at
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
at
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
at
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:271)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11Processor.process(Htt

Re: ECA Related Issue

2010-08-26 Thread Naveen Kumar
Hi BJ,

I am using EECA,

Here is my code






Regards,

Naveen.

On Thu, Aug 26, 2010 at 1:37 PM, BJ Freeman  wrote:

> there are two types of ECA's, EECA and SECA
> could you provide more info.
>
> =
> BJ Freeman  
> Strategic Power Office with Supplier Automation  <
> http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> Specialtymarket.com  
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
>
>
> Naveen Kumar sent the following on 8/26/2010 12:50 AM:
>
>  Hi All,
>>
>> I was working on ECA, i have struck with this error, can any one help me,
>> to
>> solve this issue.
>>
>> 1.  I want to create WorkEffort in backend, when request is created, so i
>> have written ECA to do this job.
>> 2. When i tried to create request, i am getting this error
>>
>>  The Following Errors Occurred:
>>
>> Error: Error trying to begin transaction, could not process method: The
>> current transaction is marked for rollback, not beginning a new
>> transaction
>> and aborting current operation; the rollbackOnly was caused by: Service
>> [createWorkEffort] threw an unexpected
>> exception/errororg.ofbiz.service.ServiceValidationException: The following
>> required parameter is missing: [IN] [createWorkEffort.currentStatusId]The
>> following required parameter is missing: [IN]
>> [createWorkEffort.workEffortName]The following required parameter is
>> missing: [IN] [createWorkEffort.workEffortTypeId] (The following required
>> parameter is missing: [IN] [createWorkEffort.currentStatusId]The following
>> required parameter is missing: [IN] [createWorkEffort.workEffortName]The
>> following required parameter is missing: [IN]
>> [createWorkEffort.workEffortTypeId])   calling service
>> setCustRequestStatus
>> in createCustRequest
>>
>>
>> 3. I am sending this three fields (workEffortName,
>> WorkEffort.currentStatusId, workEffortTypeId) as hidden fields in request
>> form.
>>
>>
>


Re: ECA Related Issue

2010-08-26 Thread BJ Freeman

there are two types of ECA's, EECA and SECA
could you provide more info.

=
BJ Freeman  
Strategic Power Office with Supplier Automation  

Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Naveen Kumar sent the following on 8/26/2010 12:50 AM:

Hi All,

I was working on ECA, i have struck with this error, can any one help me, to
solve this issue.

1.  I want to create WorkEffort in backend, when request is created, so i
have written ECA to do this job.
2. When i tried to create request, i am getting this error

  The Following Errors Occurred:

Error: Error trying to begin transaction, could not process method: The
current transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Service
[createWorkEffort] threw an unexpected
exception/errororg.ofbiz.service.ServiceValidationException: The following
required parameter is missing: [IN] [createWorkEffort.currentStatusId]The
following required parameter is missing: [IN]
[createWorkEffort.workEffortName]The following required parameter is
missing: [IN] [createWorkEffort.workEffortTypeId] (The following required
parameter is missing: [IN] [createWorkEffort.currentStatusId]The following
required parameter is missing: [IN] [createWorkEffort.workEffortName]The
following required parameter is missing: [IN]
[createWorkEffort.workEffortTypeId])   calling service setCustRequestStatus
in createCustRequest


3. I am sending this three fields (workEffortName,
WorkEffort.currentStatusId, workEffortTypeId) as hidden fields in request
form.





Re: ant create-component

2010-08-26 Thread BJ Freeman

looks about right
if you look at
"uiLabelMap.ProfilerCompanyName
this is found in your the config/ProfilerUiLabels.xml
this overrides layoutSettings.companyName that is initialize elsewhere.
so you need to comment out this line.

=
BJ Freeman  
Strategic Power Office with Supplier Automation  

Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Pierre Smits sent the following on 8/25/2010 11:21 PM:

Hi BJ,

Unfortunately, my startup doesn't generate any errors. (my compliments for
the well built component generator).

The content of my CommonScreens.xml doesn't seem that different, see below:


 
 
 
 

 
 

 
 
 
 
 
 
 
 
 
 

When you mentioned loading datafiles I browsed through them and noticed it
doesn't contain a website reference lijke in e.g. Order:


I also noticed that there is no entry for the application in the website
table of ContentMgr.

Could that have something to do with it?

Regards,

Pierre

2010/8/25 BJ Freeman


was there an error while loading the datafiles?
check your widgets/CommonScreens.xml main-decorator

=
BJ Freeman
Strategic Power Office with Supplier Automation<
http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Pierre Smits sent the following on 8/25/2010 2:58 AM:

  I looked at commonscreens.xml in the new component, but it doesn't look

that
different to those in other applications.

Are other files (eg services?) involved to generate the header?

2010/8/25 Erwan de FERRIERES

  Le 25/08/2010 10:17, Pierre Smits a écrit :


  Hi all,



I have created a new component with the create-component function in
Ant.

  Hi Pierre,



files must not be up-to-date in framework/resources/template.

--
Erwan de FERRIERES
www.nereide.biz












Re: MySQL/ Postgres for Production??

2010-08-26 Thread BJ Freeman

every Linux distribution is supported as far as I know.
In fact you can get real basic and just get the GNU Linux kernel and 
start from there.

 both db have support as well.


=
BJ Freeman  
Strategic Power Office with Supplier Automation  

Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


OfBizSuds sent the following on 8/25/2010 10:24 PM:


Thanks.

Am I understanding correctly that "Postgres Plus Standard Server" is free to
use in Production? For this, there will be no support from them correct?

Has any of you used this with success?




ECA Related Issue

2010-08-26 Thread Naveen Kumar
Hi All,

I was working on ECA, i have struck with this error, can any one help me, to
solve this issue.

1.  I want to create WorkEffort in backend, when request is created, so i
have written ECA to do this job.
2. When i tried to create request, i am getting this error

 The Following Errors Occurred:

Error: Error trying to begin transaction, could not process method: The
current transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Service
[createWorkEffort] threw an unexpected
exception/errororg.ofbiz.service.ServiceValidationException: The following
required parameter is missing: [IN] [createWorkEffort.currentStatusId]The
following required parameter is missing: [IN]
[createWorkEffort.workEffortName]The following required parameter is
missing: [IN] [createWorkEffort.workEffortTypeId] (The following required
parameter is missing: [IN] [createWorkEffort.currentStatusId]The following
required parameter is missing: [IN] [createWorkEffort.workEffortName]The
following required parameter is missing: [IN]
[createWorkEffort.workEffortTypeId])   calling service setCustRequestStatus
in createCustRequest


3. I am sending this three fields (workEffortName,
WorkEffort.currentStatusId, workEffortTypeId) as hidden fields in request
form.


Re:Setup of ofbiz, was Unable to find ofbiz.jar file

2010-08-26 Thread BJ Freeman
can you name me a project that has the option to load demo data or Seed 
(production data). for that mater can you show me a app that initializes 
the db structure, as ofbiz does?


as far a ant, the effort should be to move installation into the Setup 
component, with screens to ask you which setup you want, production or 
demo. it should lead you through the technical setup.

see
https://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide

Then you have the setup for the type of business one runs.
https://issues.apache.org/jira/browse/OFBIZ-3852

so first you use derby to do initial setup then after you setup the 
Entityengine.xml the setup to that stage is transferred to the new db.
however ofbiz would, first, need to do a cold reboot and initialize the 
new DB.

Oh yes this setup is usually running on a remote server.

feel free to contribute.



=
BJ Freeman  
Strategic Power Office with Supplier Automation  

Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Raj Saini sent the following on 8/25/2010 8:28 PM:



Should it not be possible to load the demo or seed data without using
Ant? It think it is possible using startofbiz.sh or startofbiz.bat file.

Most of the other Apache project provides a binary only and source only
releases. And this reduces the size of the tar balls and people can
download what suite them better. Problem with OFBiz is there is a no
binary only distribution as compiled code stays within the source in
build folder. Ideally, all compiled jars should be moved out to lib
after building the jars. This should be possible by tweaking the build
scripts. I have this in my mind for long and hopefully, I will get some
time soon and work on it.

Thanks,

Raj



On 26/08/10 04:15, BJ Freeman wrote:

lets assume for a moment that the jar files are provided.
and they do a startofbiz
what will happen?
lots of errors and support as now.
Ok lets assume we also install the demo data.
now we are ask how to remove the demo data and install for production.

ofbiz is not the standard App you find.
In my opinion, the way it is setup up the basic question like started
this thread, can be answered by pointing people to the correct docs.

Until there is sufficient documentation to take someone through every
single step with diagram and screen shots, as wall as a end-user FAQ.
we will have support questins. Oh wait Microsoft spends thousand of
Dollars to do this for Word yet everyday they get support calls from
new users on how to setup.

why you could even write another book about it.
(smiles)

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Ruth Hoffman sent the following on 8/25/2010 1:23 PM:

Hi Jacques,

Now that you've brought up the topic, I wonder why most of the other ASF
projects provide jar files with their distributions? In fact, most
others provide jar (or other binary) files as the primary and first
download link that you find when navigating to the project's ASF
website.

Just curious as to how someone here came up with the current
interpretation of the ASF rules on releases and then went ahead and
organized the "official" download page as it stands today.

Regards,
Ruth

Jacques Le Roux wrote:

To be more clear, it's induced by ASF rules on releases

Jacques

From: "Jacques Le Roux" 

Thanks for your support BJ!

Jacques

From: "BJ Freeman" 

the reason the nightly builds were hidden is for the very reason you
express, they are for testing and debugging not for official release.
I gave you the link to them. I use them for the demo-trunk that I
support.


Ruth Hoffman sent the following on 8/25/2010 9:57 AM:

Hi BJ:

Perhaps, but as recently as 4 months ago - one could go to the
"official" download page and get a build already packaged with
the jar
files and the seed data loaded. (Personally, I don't care what that
build was called. It existed and was easy to find by following the
download links). I wrote extensively about it for some time.
Then, one
day, I went to the "official" download site and lo-and-behold -
things
had changed. Too bad because the fact that stuff was already
packaged
and ready to go was a great selling point.

All I can say is that if I was a little surprised at the turn of
events,
I can only imagine what potential users without much exposure to how
things are done here, would think.

Anyhow, it doesn't really matter.

Regards,
Ruth
BJ Freeman wrote:

Ruth I think your confusing the Nightly builds
http://ci.apache.org/projects/ofbiz/snapshots/ofbiz-rel9.04-current.zip


with the Final Release(ap