server integration

2010-04-21 Thread Selvakumar Ganesan
can i integrate websphere server intstead of tomcat in ofbiz. how can i do?
Thanks in advance.


Re: Multi-lingual suport for FOP in OFBIZ 9.04?

2010-04-21 Thread Jacopo Cappellato
Here are the changes that I did (but I have tested only with trunk, not 09.04):

framework/webapp/config/simhei.ttf
framework/webapp/config/simhei.xml

Index: framework/webapp/config/fop.xconf
===
--- framework/webapp/config/fop.xconf   (revision 935959)
+++ framework/webapp/config/fop.xconf   (working copy)
@@ -82,6 +82,14 @@
   | 500 | 600 | 700 | 800 | 900
 (normal = 400, bold = 700)
 -->
+
+  
+  
+

Index: framework/common/widget/CommonScreens.xml
===
--- framework/common/widget/CommonScreens.xml   (revisione 929148)
+++ framework/common/widget/CommonScreens.xml   (copia locale)
@@ -373,8 +374,9 @@
 
 
 
 
-
+
 
 
 
@@ -392,8 +394,9 @@
 
 
 
 
-
+

 
 

On Apr 22, 2010, at 3:32 AM, Koon Sang wrote:

> 
> Hello,
> 
> I managed to solve the mystery.  The problem is because OFBIZ does not load
> xalan-2.7.0.jar and serializer-2.7.0.jar during startup.  I added the jar
> files in the startup script via classpath but it does not work either. 
> Therefore, I modified org.ofbiz.base.start.Start to load all jar under
> ofbiz\framework\webapp\lib and it works.
> 
> Summary of how I made it work for me:
> 
> 1. Generate xml for the ttf I want (Refer to section on TrueType Font Metric
> at http://xmlgraphics.apache.org/fop/0.94/fonts.html)
> 2. Copy the xml and ttf to ofbiz\framework\webapp\config
> 3. Put the following in fop.xconf:
> 
>  
> 
> 4. In the *.fo.ftl, set font-family, e.g.:
>  font-weight="bold">${product.internalName?if_exists}
> 
> Not sure whether I am doing the right thing or following the good practices,
> but it works for me.  Thanks for all the pointers, anyway.
> 
> -- 
> View this message in context: 
> http://n4.nabble.com/Multi-lingual-suport-for-FOP-in-OFBIZ-9-04-tp1934541p2019928.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: getting parent component name

2010-04-21 Thread Bob Morley


Adrian Crum wrote:
> 
> You can get the file's location - look at Entity Reference in Web Tools.
> 
> -Adrian
> 
> Christopher Snow wrote:
>> Is it possible to get the name of the component that an entity belongs 
>> too?  E.g. something like:
>> 
>> Delegator delegator = (Delegator) request.getAttribute("delegator");
>> ModelReader reader = delegator.getModelReader();
>> ModelEntity entity = reader.getModelEntity("myEntity");
>> // return the name of the component that an entity belongs to
>> String entityComponent = entity.getComponentName();
>> 
>> Many thanks in advance,
>> 
>> Chris
>> 
> 
> 

Somewhat from memory; I think the delegator has a getModelReader that has
the resources that were used to load the entities.  The resource handler
would have the file that was used to load the entities (if it was a file) --
what I mean here is that Ofbiz typically uses an xml representation of the
model defined in each component; but I would suggest it does not have to be
this way.  The model could be built dynamically -- what comes to mind is the
modeling of Screen/Form that is built for a survey where the model is
assembled in memory based on database artifacts to build up the form.

Perhaps your use case could rely on something in the model entity definition
itself such as the package-name?  This is likely spotty as well; but I know
we use this in-house when doing code generation on the entity model.
-- 
View this message in context: 
http://n4.nabble.com/getting-parent-component-name-tp2019708p2019983.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Multi-lingual suport for FOP in OFBIZ 9.04?

2010-04-21 Thread Koon Sang

Hello,

I managed to solve the mystery.  The problem is because OFBIZ does not load
xalan-2.7.0.jar and serializer-2.7.0.jar during startup.  I added the jar
files in the startup script via classpath but it does not work either. 
Therefore, I modified org.ofbiz.base.start.Start to load all jar under
ofbiz\framework\webapp\lib and it works.

Summary of how I made it work for me:

1. Generate xml for the ttf I want (Refer to section on TrueType Font Metric
at http://xmlgraphics.apache.org/fop/0.94/fonts.html)
2. Copy the xml and ttf to ofbiz\framework\webapp\config
3. Put the following in fop.xconf:

  

4. In the *.fo.ftl, set font-family, e.g.:
${product.internalName?if_exists}

Not sure whether I am doing the right thing or following the good practices,
but it works for me.  Thanks for all the pointers, anyway.

-- 
View this message in context: 
http://n4.nabble.com/Multi-lingual-suport-for-FOP-in-OFBIZ-9-04-tp1934541p2019928.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Change Item price on a COMPLETED Purchase Order

2010-04-21 Thread BJ Freeman
you may confused by InventoryItEM and its variance.
see the Datamodel book Vol 1 page 84
the product is the item you ordered
the inventory item is how many and where located.
Inventtory Item has a variance about how many you actually have.



=
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation 

Specialtymarket.com 

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin



BJ Freeman sent the following on 4/21/2010 4:48 PM:
> product entity is used for all things
> the one deviation is supplier products.
> I say deviation because that is not the way Data model book does it.
> also ProductPrice.productPricePurposeId and
> ProductPriceChange.productPricePurposeId
> define what the price is used for, like purchase.
> you can find these out by useing webtools look at the entity then look
> at the relationship.
> you can click on view relationship then name in the related Entity column.
> so you will have to change the ProductPrice that are linked to the
> product in the order item.
> 
> =
> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Supplier Automation 
> 
> Specialtymarket.com 
> 
> Systems Integrator-- Glad to Assist
> 
> Chat  Y! messenger: bjfr33man
> Linkedin
> 
> 
> 
> James McGill sent the following on 4/21/2010 4:21 PM:
>> On Wed, Apr 21, 2010 at 3:35 PM, BJ Freeman  wrote:
>>
>>> there is a eca for prices change that tracks those.
>>> see ProductPriceChange entity view it in the atrifact.
>>>
>> That would be from a Product perspective, where we don't want to change the
>> price.
>>  We only want to adjust the price for a given receipt, and only after the PO
>> is "COMPLETED"
>>  but wouldn't ProductPriceChange affect catalogs and all other PO's?
>>
>> That's why I want to actually add Items to an existing PO, so that I have
>> traceability to the original order,
>> the original receipt, and the adjustments, separately.  If I just change the
>> price on the product, or just change
>> the price on an OrderItem and InventoryItem, I've lost traceability, right?
>>
>> (Our problem is related to some very particular business logic that applies
>> to aircraft parts -- there
>> are a lot of things we do that won't fit other shops)
>>
> 
> 
> 




Re: Change Item price on a COMPLETED Purchase Order

2010-04-21 Thread BJ Freeman
product entity is used for all things
the one deviation is supplier products.
I say deviation because that is not the way Data model book does it.
also ProductPrice.productPricePurposeId and
ProductPriceChange.productPricePurposeId
define what the price is used for, like purchase.
you can find these out by useing webtools look at the entity then look
at the relationship.
you can click on view relationship then name in the related Entity column.
so you will have to change the ProductPrice that are linked to the
product in the order item.

=
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation 

Specialtymarket.com 

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin



James McGill sent the following on 4/21/2010 4:21 PM:
> On Wed, Apr 21, 2010 at 3:35 PM, BJ Freeman  wrote:
> 
>> there is a eca for prices change that tracks those.
>> see ProductPriceChange entity view it in the atrifact.
>>
> 
> That would be from a Product perspective, where we don't want to change the
> price.
>  We only want to adjust the price for a given receipt, and only after the PO
> is "COMPLETED"
>  but wouldn't ProductPriceChange affect catalogs and all other PO's?
> 
> That's why I want to actually add Items to an existing PO, so that I have
> traceability to the original order,
> the original receipt, and the adjustments, separately.  If I just change the
> price on the product, or just change
> the price on an OrderItem and InventoryItem, I've lost traceability, right?
> 
> (Our problem is related to some very particular business logic that applies
> to aircraft parts -- there
> are a lot of things we do that won't fit other shops)
> 




Re: Change Item price on a COMPLETED Purchase Order

2010-04-21 Thread James McGill
On Wed, Apr 21, 2010 at 3:35 PM, BJ Freeman  wrote:

> there is a eca for prices change that tracks those.
> see ProductPriceChange entity view it in the atrifact.
>

That would be from a Product perspective, where we don't want to change the
price.
 We only want to adjust the price for a given receipt, and only after the PO
is "COMPLETED"
 but wouldn't ProductPriceChange affect catalogs and all other PO's?

That's why I want to actually add Items to an existing PO, so that I have
traceability to the original order,
the original receipt, and the adjustments, separately.  If I just change the
price on the product, or just change
the price on an OrderItem and InventoryItem, I've lost traceability, right?

(Our problem is related to some very particular business logic that applies
to aircraft parts -- there
are a lot of things we do that won't fit other shops)

-- 
James McGill
Phoenix AZ


Re: Change Item price on a COMPLETED Purchase Order

2010-04-21 Thread BJ Freeman
there is a eca for prices change that tracks those.
see ProductPriceChange entity view it in the atrifact.

from a accounting if you already posted the invoice then you need to do
debit credit transaction against the invoice.
you should not need to crate anything accept code.

=
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation 

Specialtymarket.com 

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin



James McGill sent the following on 4/21/2010 3:06 PM:
> On Wed, Apr 21, 2010 at 12:37 PM, BJ Freeman  wrote:
> 
>> shortanswer OOTB it can not be done.
>>
> 
> Good to know.  I'm pretty comfortable with  receiveInventoryProduct, etc.
> 
> I think what I will do is introduce an entity for this adjustment, keyed to
> an OrderItem,
> and have the Order application consider these adjustments.
> 
> Changing the price at receiving will not work for us.  Purchasing and
> receiving roles
> are somewhat disconnected, and we have some other requirements that would
> seem
> strange and unwieldy outside of our industry.
> 
> Mostly wanted to know I'm not duplicating or breaking existing OFBiz
> functionality; thanks!
> 




Re: Change Item price on a COMPLETED Purchase Order

2010-04-21 Thread James McGill
On Wed, Apr 21, 2010 at 12:37 PM, BJ Freeman  wrote:

> shortanswer OOTB it can not be done.
>

Good to know.  I'm pretty comfortable with  receiveInventoryProduct, etc.

I think what I will do is introduce an entity for this adjustment, keyed to
an OrderItem,
and have the Order application consider these adjustments.

Changing the price at receiving will not work for us.  Purchasing and
receiving roles
are somewhat disconnected, and we have some other requirements that would
seem
strange and unwieldy outside of our industry.

Mostly wanted to know I'm not duplicating or breaking existing OFBiz
functionality; thanks!

-- 
James McGill
Phoenix AZ


Re: getting parent component name

2010-04-21 Thread Adrian Crum

You can get the file's location - look at Entity Reference in Web Tools.

-Adrian

Christopher Snow wrote:
Is it possible to get the name of the component that an entity belongs 
too?  E.g. something like:


Delegator delegator = (Delegator) request.getAttribute("delegator");
ModelReader reader = delegator.getModelReader();
ModelEntity entity = reader.getModelEntity("myEntity");
// return the name of the component that an entity belongs to
String entityComponent = entity.getComponentName();

Many thanks in advance,

Chris



getting parent component name

2010-04-21 Thread Christopher Snow
Is it possible to get the name of the component that an entity belongs 
too?  E.g. something like:


Delegator delegator = (Delegator) request.getAttribute("delegator");
ModelReader reader = delegator.getModelReader();
ModelEntity entity = reader.getModelEntity("myEntity");
// return the name of the component that an entity belongs to
String entityComponent = entity.getComponentName();

Many thanks in advance,

Chris


Google base Error

2010-04-21 Thread S K Pradeep kumar
Hi All,

I have created new account and generated new developer key and all...

I am getting the following error while testing the google base
functionality.

==returning with result: [responseMessage=success,
newProductsInGoogle=[GZ-2644], productsRemovedFromGoogle=[null]]
 Service Failure [exportToGoogle]: Google response: Error Invalid item,
Google response: Error 
  



Has anybody come across this problem, what is the solution for this.?

With regards,
S K Pradeep kumar,


Re: Change Item price on a COMPLETED Purchase Order

2010-04-21 Thread BJ Freeman
shortanswer OOTB it can not be done.
couple suggestions:
1)when recieving enter the Actual price on the included Invoice. if they
don't ship a invoice with it then put the product on hold till you get
the price. you will have to add the hold.
2) more complicated depends on the requirement of the customer, but you
open the PO the do a price change, then close it. you can follow the
code for recieveing to see how much you can re-use.

it helps when tracing to use the webtools artifact.
it will tell you a lot about an entity, service and ECAs,


=
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation 

Specialtymarket.com 

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin



James McGill sent the following on 4/21/2010 11:12 AM:
> My users frequently need to change prices on items on Purchase Orders after
> they are completed.
> 
> I cannot follow the Purchase Order logic well enough to be sure of all
> consequences if I change a completed order.
> Basically, we order at one price,  but may receive and invoice at a
> different price, and this happens frequently.
> 
> I don't know if I should be adding an adjustment item to each order, or just
> changing the unit price in the corresponding
> OrderItem, and I don't know if there are any non-obvious consequences (like
> accounting transactions) that would be missed
> if I do that.
> 
> Please advise.
> 




Re: Stable demo

2010-04-21 Thread BJ Freeman
just to make sure I used -Xms128M -Xmx768M -XX:MaxPermSize=512m for the
trunk.
centos showed less than my 9.04 1400704 kB
I have added some code to 9.04 so that may account for the difference.

next I used the -Xms1024M on my trunkdemo
centos showed   1662268 kb
based on this if your the only apps on the server you should not show
any swap file activity or size.

as a side note, my 9.04 got a out of memory at -Xmx512M for
artifactinfo, but not at -Xmx768M -XX:MaxPermSize=512m

where the demo trunk did not get an out of memory at -Xmx512M
-XX:MaxPermSize=512m

=
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation 

Specialtymarket.com 

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin



Jacques Le Roux sent the following on 4/21/2010 11:24 AM:
> No, the logs are not available anymore
> 
> Then trunk memory setting is -Xms128M -Xmx1024M -XX:MaxPermSize=512m
> 
> Your guess on traffic may be right, but I wonder why we would not have
> the same problem at some point with the trunk
> 
> Jacques
> 
> From: "BJ Freeman" 
>> are the logs available like they were before for we moved to infra?
>> i would be glad to look at them.
>>
>> broken pipes is usually to much traffic through the ajp
>> or
>> possibly your using to much of the swap file and getting slow responses
>> from ofbiz, are my guesses. but then again Trunk is not failing. the
>> difference could be the traffic.
>>
>> the memory allocation(1412064 kB) is what Centos gives back for the
>> instance of 9.04 I am running. the command line to start 9.04 is
>> -Xms128M -Xmx768M -XX:MaxPermSize=512m
>>
>> if you give me the memory settings for trunk I will run that and tell
>> you what centos says it has allocated for it.
>> I am guessing the Unbutu will give allocate similar memory.
>> I am also guessing that approx 3 times the 1412064 kB is being allocated
>> for the trunk.
>> that well exceeds RAM and puts its on virtual memory or swap file.
>>
>> my experience is when the swap file is on the same disk as the rest of
>> the apps and logs,and it is located on inside of the disk instead of the
>> outside, that there is hesitation in the virtual memory that causes
>> glitches.
>>
>> not sure if you have root but you can check your swap file size both
>> when 9.04 is not running and when it is.
>> I am running 4 gigs so I am not using any swap file.
>>
>> =
>> BJ Freeman
>> http://bjfreeman.elance.com
>> Strategic Power Office with Supplier Automation
>> 
>> Specialtymarket.com 
>>
>> Systems Integrator-- Glad to Assist
>>
>> Chat  Y! messenger: bjfr33man
>> Linkedin
>> 
>>
>>
>>
>> Jacques Le Roux sent the following on 4/20/2010 10:52 PM:
>>> The stable demo currently use 650m, the trunk 1,5g. We have 2.6g at all
>>> But as I said, I don't think it's a memory issue, just that I had/have
>>> not enought time to scrutinize in the logs.
>>> As I said already earlier, I saw java.net.SocketException: Broken pipe
>>> Not sure it's the original reason though...
>>>
>>> Jacques
>>>
>>> From: "BJ Freeman" 
 I just restarted my 9.04 that has run since Apr 09 only becuase it had
 increased in memeory. but it does not die.

 I just increased to -Xms128M -Xmx768M -XX:MaxPermSize=512m and I show
 1412064 kB used for it.



 ===

 BJ Freeman
 http://bjfreeman.elance.com
 Strategic Power Office with Supplier Automation
 
 Specialtymarket.com 

 Systems Integrator-- Glad to Assist

 Chat  Y! messenger: bjfr33man
 Linkedin
 




 Jacques Le Roux sent the following on 4/20/2010 1:38 PM:
> I just rebooted again the stable demo. Looks like the trunk is more
> stable :/
> I did not have enough time to look into logs enough, but I don't think
> it's a memory issue but in case of I have increased from
> MEMIF="-Xms128M -Xmx512M -XX:MaxPermSize=256m"
> to
> MEMIF="-Xms128M -Xmx768M -XX:MaxPermSize=512m"
> Though it will not be used until next reboot
>
> Jacques
>
>


>>>
>>>
>>
>>
> 
> 




Re: Change Item price on a COMPLETED Purchase Order

2010-04-21 Thread Vince Clark
You can change the price when you receive. This will affect cost and the vendor 
invoice that is generated. So no, I do not believe you need an adjustment.


Vince Clark 
vcl...@globalera.com 
(303) 493-6723 office 
(303) 523-4843 cell 


- Original Message -
From: "James McGill" 
To: user@ofbiz.apache.org
Sent: Wednesday, April 21, 2010 12:12:06 PM
Subject: Change Item price on a COMPLETED Purchase Order

My users frequently need to change prices on items on Purchase Orders after
they are completed.

I cannot follow the Purchase Order logic well enough to be sure of all
consequences if I change a completed order.
Basically, we order at one price,  but may receive and invoice at a
different price, and this happens frequently.

I don't know if I should be adding an adjustment item to each order, or just
changing the unit price in the corresponding
OrderItem, and I don't know if there are any non-obvious consequences (like
accounting transactions) that would be missed
if I do that.

Please advise.

-- 
James McGill
Phoenix AZ


Re: Stable demo

2010-04-21 Thread Jacques Le Roux

No, the logs are not available anymore

Then trunk memory setting is 
-Xms128M -Xmx1024M -XX:MaxPermSize=512m


Your guess on traffic may be right, but I wonder why we would not have the same 
problem at some point with the trunk

Jacques

From: "BJ Freeman" 

are the logs available like they were before for we moved to infra?
i would be glad to look at them.

broken pipes is usually to much traffic through the ajp
or
possibly your using to much of the swap file and getting slow responses
from ofbiz, are my guesses. but then again Trunk is not failing. the
difference could be the traffic.

the memory allocation(1412064 kB) is what Centos gives back for the
instance of 9.04 I am running. the command line to start 9.04 is
-Xms128M -Xmx768M -XX:MaxPermSize=512m

if you give me the memory settings for trunk I will run that and tell
you what centos says it has allocated for it.
I am guessing the Unbutu will give allocate similar memory.
I am also guessing that approx 3 times the 1412064 kB is being allocated
for the trunk.
that well exceeds RAM and puts its on virtual memory or swap file.

my experience is when the swap file is on the same disk as the rest of
the apps and logs,and it is located on inside of the disk instead of the
outside, that there is hesitation in the virtual memory that causes
glitches.

not sure if you have root but you can check your swap file size both
when 9.04 is not running and when it is.
I am running 4 gigs so I am not using any swap file.

=
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation 

Specialtymarket.com 

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin



Jacques Le Roux sent the following on 4/20/2010 10:52 PM:

The stable demo currently use 650m, the trunk 1,5g. We have 2.6g at all
But as I said, I don't think it's a memory issue, just that I had/have
not enought time to scrutinize in the logs.
As I said already earlier, I saw java.net.SocketException: Broken pipe
Not sure it's the original reason though...

Jacques

From: "BJ Freeman" 

I just restarted my 9.04 that has run since Apr 09 only becuase it had
increased in memeory. but it does not die.

I just increased to -Xms128M -Xmx768M -XX:MaxPermSize=512m and I show
1412064 kB used for it.



===

BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation

Specialtymarket.com 

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin




Jacques Le Roux sent the following on 4/20/2010 1:38 PM:

I just rebooted again the stable demo. Looks like the trunk is more
stable :/
I did not have enough time to look into logs enough, but I don't think
it's a memory issue but in case of I have increased from
MEMIF="-Xms128M -Xmx512M -XX:MaxPermSize=256m"
to
MEMIF="-Xms128M -Xmx768M -XX:MaxPermSize=512m"
Though it will not be used until next reboot

Jacques















Change Item price on a COMPLETED Purchase Order

2010-04-21 Thread James McGill
My users frequently need to change prices on items on Purchase Orders after
they are completed.

I cannot follow the Purchase Order logic well enough to be sure of all
consequences if I change a completed order.
Basically, we order at one price,  but may receive and invoice at a
different price, and this happens frequently.

I don't know if I should be adding an adjustment item to each order, or just
changing the unit price in the corresponding
OrderItem, and I don't know if there are any non-obvious consequences (like
accounting transactions) that would be missed
if I do that.

Please advise.

-- 
James McGill
Phoenix AZ


Re: Entity Engine Tools

2010-04-21 Thread BJ Freeman
did you follow the technical setup
https://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide
also the documentation built into the trunk verson, as they move the
information internal to ofbiz
https://demo-trunk.ofbiz.apache.org/cmssite/cms/APACHE_OFBIZ_HTML



=
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation 

Specialtymarket.com 

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin



Hammad Afridi sent the following on 4/21/2010 8:15 AM:
> Hi All,
> I am trying to use Entity Engine Tools in the web tools application.But for 
> some reason can only see blank screen.I am using 9.04 stable release.Please 
> can anyone help me out why it is not working? I thought the stable release 
> wont have any error!! Thanks.
> 
> 
> 
> 
> 
> 
> 
> Regards,
> 
> Hammad Ali Khan Afridi
>  
> 
> Mobile 
> 
> 
>   




Re: Entity Engine Tools

2010-04-21 Thread Hammad Afridi
No nothing is happening I can only see a blank screen.







Regards,

Hammad Ali Khan Afridi
 

Mobile 


  

Re: Entity Engine Tools

2010-04-21 Thread Jeroen van der Wal
Did you check the console? It can take a while the first time you open
this screen.

-Jeroen


On Wed, Apr 21, 2010 at 5:15 PM, Hammad Afridi  wrote:
> Hi All,
> I am trying to use Entity Engine Tools in the web tools application.But for 
> some reason can only see blank screen.I am using 9.04 stable release.Please 
> can anyone help me out why it is not working? I thought the stable release 
> wont have any error!! Thanks.
>
>
>
>
>
>
>
> Regards,
>
> Hammad Ali Khan Afridi
>
>
> Mobile
>
>
>


Entity Engine Tools

2010-04-21 Thread Hammad Afridi
Hi All,
I am trying to use Entity Engine Tools in the web tools application.But for 
some reason can only see blank screen.I am using 9.04 stable release.Please can 
anyone help me out why it is not working? I thought the stable release wont 
have any error!! Thanks.







Regards,

Hammad Ali Khan Afridi
 

Mobile 


  

Re: Mysql database

2010-04-21 Thread Selvakumar Ganesan
On Wed, Apr 21, 2010 at 8:15 PM, Chris Snow wrote:

> What url are you trying?
> What version of ofbiz are you using?
> Have you installed the demo or seed data?
>
> If you have just installed seed and not demo data, try using the ofbizsetup
>
> > That "ofbiz.visual_theme database is not available" is what I get when
> > configure ofbiz with mysql.What should i do
> > ? Thanks in advance
> >
>
>
>
>


Re: Mysql database

2010-04-21 Thread Selvakumar Ganesan
On Wed, Apr 21, 2010 at 8:15 PM, Chris Snow wrote:

> What url are you trying?
> What version of ofbiz are you using?
> Have you installed the demo or seed data?
>
> If you have just installed seed and not demo data, try using the ofbizsetup
>
> > That "ofbiz.visual_theme database is not available" is what I get when
> > configure ofbiz with mysql.What should i do
> > ? Thanks in advance
> >It works fine with derby and i change it to support mysql at that time i
> got this.
>


Re: Mysql database

2010-04-21 Thread Chris Snow
What url are you trying?
What version of ofbiz are you using?
Have you installed the demo or seed data?

If you have just installed seed and not demo data, try using the ofbizsetup

> That "ofbiz.visual_theme database is not available" is what I get when
> configure ofbiz with mysql.What should i do
> ? Thanks in advance
>





Mysql database

2010-04-21 Thread Selvakumar Ganesan
That "ofbiz.visual_theme database is not available" is what I get when
configure ofbiz with mysql.What should i do
? Thanks in advance


Re: Stable demo

2010-04-21 Thread Tim Ruppert
It's not - we just have to get the information out and make it a priority.  I 
suspect that anyone using this stuff in production is having the same problem.  
IMO, what we need to have happen is for the ASF to give more of us access so 
that we can get more of the information out there to more people who might be 
able to actually fix the problem.

Scott and I in particular are still waiting for our access to be resolved.

Cheers,
Ruppert

On Apr 21, 2010, at 12:33 AM, Adrian Crum wrote:

> Someone needs to call a plumber. I think this problem is outside our 
> expertise.
> 
> 
> --- On Tue, 4/20/10, Jacques Le Roux  wrote:
> 
>> From: Jacques Le Roux 
>> Subject: Re: Stable demo
>> To: user@ofbiz.apache.org
>> Date: Tuesday, April 20, 2010, 10:52 PM
>> The stable demo currently use 650m,
>> the trunk 1,5g. We have 2.6g at all
>> But as I said, I don't think it's a memory issue, just that
>> I had/have not enought time to scrutinize in the logs.
>> As I said already earlier, I saw java.net.SocketException:
>> Broken pipe
>> Not sure it's the original reason though...
>> 
>> Jacques
>> 
>> From: "BJ Freeman" 
>>> I just restarted my 9.04 that has run since Apr 09 only
>> becuase it had
>>> increased in memeory. but it does not die.
>>> 
>>> I just increased to -Xms128M -Xmx768M
>> -XX:MaxPermSize=512m and I show
>>> 1412064 kB used for it.
>>> 
>>> 
>>> 
>>> ===
>>> 
>>> BJ Freeman
>>> http://bjfreeman.elance.com
>>> Strategic Power Office with Supplier Automation 
>>> 
>>> Specialtymarket.com 
>>> 
>>> Systems Integrator-- Glad to Assist
>>> 
>>> Chat  Y! messenger: bjfr33man
>>> Linkedin
>>> 
>>> 
>>> 
>>> Jacques Le Roux sent the following on 4/20/2010 1:38
>> PM:
 I just rebooted again the stable demo. Looks like
>> the trunk is more
 stable :/
 I did not have enough time to look into logs
>> enough, but I don't think
 it's a memory issue but in case of I have
>> increased from
 MEMIF="-Xms128M -Xmx512M -XX:MaxPermSize=256m"
 to
 MEMIF="-Xms128M -Xmx768M -XX:MaxPermSize=512m"
 Though it will not be used until next reboot
 
 Jacques
 
 
>>> 
>>> 
>> 
>> 
> 
> 
> 



Re: Stable demo

2010-04-21 Thread BJ Freeman
are the logs available like they were before for we moved to infra?
i would be glad to look at them.

broken pipes is usually to much traffic through the ajp
or
possibly your using to much of the swap file and getting slow responses
from ofbiz, are my guesses. but then again Trunk is not failing. the
difference could be the traffic.

the memory allocation(1412064 kB) is what Centos gives back for the
instance of 9.04 I am running. the command line to start 9.04 is
-Xms128M -Xmx768M -XX:MaxPermSize=512m

if you give me the memory settings for trunk I will run that and tell
you what centos says it has allocated for it.
I am guessing the Unbutu will give allocate similar memory.
I am also guessing that approx 3 times the 1412064 kB is being allocated
for the trunk.
that well exceeds RAM and puts its on virtual memory or swap file.

my experience is when the swap file is on the same disk as the rest of
the apps and logs,and it is located on inside of the disk instead of the
outside, that there is hesitation in the virtual memory that causes
glitches.

not sure if you have root but you can check your swap file size both
when 9.04 is not running and when it is.
I am running 4 gigs so I am not using any swap file.

=
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation 

Specialtymarket.com 

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin



Jacques Le Roux sent the following on 4/20/2010 10:52 PM:
> The stable demo currently use 650m, the trunk 1,5g. We have 2.6g at all
> But as I said, I don't think it's a memory issue, just that I had/have
> not enought time to scrutinize in the logs.
> As I said already earlier, I saw java.net.SocketException: Broken pipe
> Not sure it's the original reason though...
> 
> Jacques
> 
> From: "BJ Freeman" 
>> I just restarted my 9.04 that has run since Apr 09 only becuase it had
>> increased in memeory. but it does not die.
>>
>> I just increased to -Xms128M -Xmx768M -XX:MaxPermSize=512m and I show
>> 1412064 kB used for it.
>>
>>
>>
>> ===
>>
>> BJ Freeman
>> http://bjfreeman.elance.com
>> Strategic Power Office with Supplier Automation
>> 
>> Specialtymarket.com 
>>
>> Systems Integrator-- Glad to Assist
>>
>> Chat  Y! messenger: bjfr33man
>> Linkedin
>> 
>>
>>
>>
>> Jacques Le Roux sent the following on 4/20/2010 1:38 PM:
>>> I just rebooted again the stable demo. Looks like the trunk is more
>>> stable :/
>>> I did not have enough time to look into logs enough, but I don't think
>>> it's a memory issue but in case of I have increased from
>>> MEMIF="-Xms128M -Xmx512M -XX:MaxPermSize=256m"
>>> to
>>> MEMIF="-Xms128M -Xmx768M -XX:MaxPermSize=512m"
>>> Though it will not be used until next reboot
>>>
>>> Jacques
>>>
>>>
>>
>>
> 
>