Re: ProdCatalogCategory - PCCT_WHATS_NEW, PCCT_BEST_SELL, PCCT_MOST_POPULAR

2012-04-30 Thread Sanjeev Gupta
Thanks Rishi. That's precisely the information i was looking for.

-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/ProdCatalogCategory-PCCT-WHATS-NEW-PCCT-BEST-SELL-PCCT-MOST-POPULAR-tp4532635p4600100.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Performance of Ofbiz

2012-05-02 Thread Sanjeev Gupta
Also try configuring Apache HTTP server as a fronted to Ofbiz server.
Although it will add an additional layer in the architecture, it will handle
all static and cached content rendering to browser and improve your app
server's performance. 

That said, please do to keep in mind that a Java bases server can't be tuned
to perform like the LAMP stack. both have their own merits and demerits, but
when it come to performance in small deployments, Java stack can't match the
LAMP stack. 

-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Performance-of-Ofbiz-tp4586418p4603804.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Promotions, mutually exclusive

2012-05-07 Thread Sanjeev Gupta
I haven't seen anything on these lines either. Will probably need custom
development to implements this feature. 




-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Promotions-mutually-exclusive-tp4604393p4614537.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Promotions, mutually exclusive

2012-05-07 Thread Sanjeev Gupta
I Agree Nick, this can't be implemented as a simple "and" "or". With large
deployment, there will be several permutation and combinations. It will have
to be promotions extension as well as DB entity. 

The way I look at it, there will be three kind of promotions
1) Promo's that can't be combined with any other promotions - typically the
ones that are x% on your shopping carts.
2) Promo's that can clubbed with any other promotions - lets say get
sunglasses free with shoes. 
3) Finally the ones that can be only clubbed with specific promotions - this
is were it'll get complex and will need the matrix or associations. 

For the first two, you can work with just having another field to flag the
promotions. For the third kind may need a new table itself to manage
association.. 



-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Promotions-mutually-exclusive-tp4604393p4614994.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Unable to install Ofbiz 11.04 on Ubuntu 12.04

2012-05-16 Thread Sanjeev Gupta
I tried installing Ofbiz 11.04 of Ubuntu 12.04 with OpenJDK 6 and got the
following error .. 

classes:
  [javac16] Compiling 13 source files to
/opt/ofbiz.trunk/framework/security/build/classes
  [javac16]
/opt/ofbiz.trunk/framework/security/src/org/ofbiz/security/OFBizSecurity.java:52:
invalid inferred types for V; inferred type does not conform to
declared bound(s)
  [javac16] inferred: java.util.Map
  [javac16] bound(s): java.util.Map
  [javac16] protected static final Map> simpleRoleEntity = UtilMisc.toMap(
  [javac16]
  ^
  [javac16] 1 error


Any thoughts on where I could be going wrong ?? 

-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Unable-to-install-Ofbiz-11-04-on-Ubuntu-12-04-tp4631840.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Unable to install Ofbiz 11.04 on Ubuntu 12.04

2012-05-16 Thread Sanjeev Gupta
Thx Paul 
I installed the patch, and it resolved the problem. 
but then the install failed with the following error 
classes:
  [javac16] Compiling 65 source files to
/opt/ofbiz.11.04/applications/product/build/classes
  [javac16] ProductSearchEvents.java:317: invalid inferred types for V;
inferred type does not conform to declared bound(s)
  [javac16] inferred: java.lang.Integer
  [javac16] bound(s): java.lang.String
  [javac16] Map messageMap =
UtilMisc.toMap("numAdded", Integer.valueOf(numAdded), "productFeatureId",
productFeatureId);
  [javac16]^
  [javac16] ProductSearchEvents.java:367: invalid inferred types for V;
inferred type does not conform to declared bound(s)
  [javac16] inferred: java.lang.Integer
  [javac16] bound(s): java.lang.String
  [javac16] Map messageMap =
UtilMisc.toMap("numRemoved", Integer.valueOf(numRemoved),
"productFeatureId", productFeatureId);
  [javac16]^
  [javac16] ProductSearchSession.java:1231: cannot find symbol
  [javac16] symbol  : method
add(java.util.Map)
  [javac16] location: interface
java.util.List>
  [javac16]
featureCountList.add(UtilMisc.toMap("productFeatureId", (String)
searchResult.get("pfacProductFeatureId"), "productFeatureTypeId", (String)
searchResult.get("pfcProductFeatureTypeId"), "description", (String)
searchResult.get("pfcDescription"), "featureCount", Long.toString((Long)
searchResult.get("featureCount";
  [javac16] ^
  [javac16] ShipmentServices.java:1033: invalid inferred types for V;
inferred type does not conform to declared bound(s)
  [javac16] inferred: org.ofbiz.entity.GenericValue
  [javac16] bound(s): java.lang.String
  [javac16] Map input =
UtilMisc.toMap("shipmentId", shipmentId, "shipmentRouteSegmentId",
shipmentRouteSegmentId, "userLogin", userLogin);
  [javac16]   ^
  [javac16] 4 errors

BUILD FAILED
/opt/ofbiz.11.04/build.xml:209: The following error occurred while executing
this line:
/opt/ofbiz.11.04/applications/build.xml:67: The following error occurred
while executing this line:
/opt/ofbiz.11.04/macros.xml:32: The following error occurred while executing
this line:
/opt/ofbiz.11.04/common.xml:93: Compile failed; see the compiler error
output for details.


*/Just to make sure, I upgraded to openJDK 1.7, but still no luck./*

classes:
  [javac16] Compiling 65 source files to
/opt/ofbiz.11.04/applications/product/build/classes
  [javac16] warning: [options] bootstrap class path not set in conjunction
with -source 1.6
  [javac16]
/opt/ofbiz.11.04/applications/product/src/org/ofbiz/product/product/ProductSearchEvents.java:317:
error: invalid inferred types for V; inferred type does not conform to
declared bound(s)
  [javac16] Map messageMap =
UtilMisc.toMap("numAdded", Integer.valueOf(numAdded), "productFeatureId",
productFeatureId);
  [javac16]^
  [javac16] inferred: Integer
  [javac16] bound(s): String
  [javac16]   where V,V1,V2 are type-variables:
  [javac16] V extends Object declared in method
toMap(String,V1,String,V2)
  [javac16] V1 extends V declared in method
toMap(String,V1,String,V2)
  [javac16] V2 extends V declared in method
toMap(String,V1,String,V2)
  [javac16]
/opt/ofbiz.11.04/applications/product/src/org/ofbiz/product/product/ProductSearchEvents.java:367:
error: invalid inferred types for V; inferred type does not conform to
declared bound(s)
  [javac16] Map messageMap =
UtilMisc.toMap("numRemoved", Integer.valueOf(numRemoved),
"productFeatureId", productFeatureId);
  [javac16]^
  [javac16] inferred: Integer
  [javac16] bound(s): String
  [javac16]   where V,V1,V2 are type-variables:
  [javac16] V extends Object declared in method
toMap(String,V1,String,V2)
  [javac16] V1 extends V declared in method
toMap(String,V1,String,V2)
  [javac16] V2 extends V declared in method
toMap(String,V1,String,V2)
  [javac16]
/opt/ofbiz.11.04/applications/product/src/org/ofbiz/product/product/ProductSearchSession.java:1231:
error: no suitable method found for add(Map)
  [javac16]
featureCountList.add(UtilMisc.toMap("productFeatureId", (String)
searchResult.get("pfacProductFeatureId"), "productFeatureTypeId", (String)
searchResult.get("pfcProductFeatureTypeId"), "description", (String)
searchResult.get("pfcDescription"), "featureCount", Long.toString((Long)
searchResult.get("featureCount";
  [javac16] ^
  [javac16] method List.add(int,Map) is not applicable
  [javac16]   (actual and formal argument lists differ in length)
  [javac16] method List.add(Map) is not applicable
  [javac16]   (actual argument Map cannot be 

Re: Unable to install Ofbiz 11.04 on Ubuntu 12.04

2012-05-17 Thread Sanjeev Gupta
Thx for the tip Deepak. 
Uninstalling openJDK from Ubuntu is painful, so rebuilding Ubuntu from
scratch to install oracle Java 1.6

-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Unable-to-install-Ofbiz-11-04-on-Ubuntu-12-04-tp4631840p4631878.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Unable to install Ofbiz 11.04 on Ubuntu 12.04

2012-05-17 Thread Sanjeev Gupta
Thanks Deepak. Learned this the hard way today. I wish installing Oracle JDK
was as easy as OpenJDK. 

Anyhow I finally got myself a neat and clean VMware image of Ofbiz 11.04 on
Ubuntu 12.04 with Oracle JDK. And I'll be happy to SHARE if someone needs it
- it's about 2.5GB, so would just need to figure out where to host it :-) 


-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Unable-to-install-Ofbiz-11-04-on-Ubuntu-12-04-tp4631840p4631914.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Unable to install Ofbiz 11.04 on Ubuntu 12.04

2012-05-18 Thread Sanjeev Gupta
Thanks Paul. I'll try this patch out too. 
And I do happen to create a patch, I will share it. 

Meantime I'm still wondering if there is any difference in running Ofbiz
with Oracle JDK Vs with OpenJDK


-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Unable-to-install-Ofbiz-11-04-on-Ubuntu-12-04-tp4631840p4631949.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


How to display currency as INR instead of Rs.

2012-05-24 Thread Sanjeev Gupta
Does anyone know what changes I should make to ensure that my product prices
show up with the prefix *INR* instead of *Rs.*.

-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/How-to-display-currency-as-INR-instead-of-Rs-tp4632411.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: How to display currency as INR instead of Rs.

2012-05-26 Thread Sanjeev Gupta
Thanks Divesh, I'll explore ICU4J.

-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/How-to-display-currency-as-INR-instead-of-Rs-tp4632411p4632459.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


How to access image associated with Promo

2012-05-29 Thread Sanjeev Gupta
I want to access the Image content associated with a promotions in Ofbiz
11.04. I tried the functions
*ProductPromoContentWrapper.get("IMAGE")?if_exists* but it gave me an error
"*Expression ProductPromoContentWrapper is undefined*

Do you know what I'm doing wrong, an alternate method to access the image ? 

-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/How-to-access-image-associated-with-Promo-tp4632744.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Removing port number from the url in production setup

2012-05-29 Thread Sanjeev Gupta
Just change the HTTP & HTTPS ports in following files and restart the server. 
1. ${ofbiz install dir}/framework/base/config/ofbiz-containers.xml
2. ${ofbiz install dir}/framework/webapp/config/url.properties

And make sure you remove the port forwarding you've setup .. 


-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Removing-port-number-from-the-url-in-production-setup-tp4632743p4632745.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: How to access image associated with Promo

2012-05-29 Thread Sanjeev Gupta
Thanks. But I couldn't find anything on these lines in FTL files. 

the sample code given also threw an error "InvalidReferenceException: " 

-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/How-to-access-image-associated-with-Promo-tp4632744p4632747.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Has anyone implemented Faceted Search using SOLR?

2012-06-05 Thread Sanjeev Gupta
I'm trying to implement Faceted Search using SOLR. So far I've managed to
install Solr on the ofbiz server, but not sure how to move forward.
Would appreciate any help / guidance with it. 


-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Has-anyone-implemented-Faceted-Search-using-SOLR-tp4633260.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: How to access image associated with Promo

2012-06-05 Thread Sanjeev Gupta
Hi Chandan, 
I'm not sure how to do this in the FTL, can you please guide me.. 

-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/How-to-access-image-associated-with-Promo-tp4632744p4633261.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: How to access image associated with Promo

2012-06-09 Thread Sanjeev Gupta
Thanks Chandan, Viqar !!

-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/How-to-access-image-associated-with-Promo-tp4632744p4633380.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Unable to install Ofbiz 11.04 on Ubuntu 12.04

2012-06-09 Thread Sanjeev Gupta
In case anyone wants to download the VMWare image, it's available for
download here. 

http://vsphere.layeredtech.net:8080/4093260325290

For easier download I've split the file, so select and download all files. 
Use http://www.hjsplit.org/ to combine the file. 
Unzip the combined file and you should be good to go. 



-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Unable-to-install-Ofbiz-11-04-on-Ubuntu-12-04-tp4631840p4633381.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Has anyone implemented Faceted Search using SOLR?

2012-06-21 Thread Sanjeev Gupta
Hi Rajbir, 
I spent a couple of days trying to play around with the approach you
recommended but couldn't get it to work for me. So finally gave it up. 

Will probably wait for someone to contribute the feature to the trunk. 



-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Has-anyone-implemented-Faceted-Search-using-SOLR-tp4633260p4633892.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Ofbiz with MySQL or PostgreSQL

2012-06-21 Thread Sanjeev Gupta
I'm looking to decide on the database to be used with OfBiz in the production
environment. Any thoughts on which database works well with Ofbiz - MySQL or
PostgreSQL and why ?

-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Ofbiz-with-MySQL-or-PostgreSQL-tp4633893.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Ofbiz with MySQL or PostgreSQL

2012-06-21 Thread Sanjeev Gupta
Thanks Ruth. 
I've also been told that the demo data upload in Postgres takes half as time
as MySQL - so I'm guessing that the production env performance should also
be better with Postgres.

-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Ofbiz-with-MySQL-or-PostgreSQL-tp4633893p4633907.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Has anyone implemented Faceted Search using SOLR?

2012-06-22 Thread Sanjeev Gupta
I agree with you Mike, Bigfish brings together quite a rich set of feature
both for the storefont as well as the backend. it's quite impressive and I
have been following it closely. However I could only get it's First version
to work, but not the subsequent releases including the most recent one.
Nick has also been kind enough to offer his teams guidance to help me
replicate the SOLR configuration on my system but that didn't work either. 

So for now I'm using JavaScript to simulate SOLR like filtering. Will till
try out Rajbir's approach next and lets see how it goes 

-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Has-anyone-implemented-Faceted-Search-using-SOLR-tp4633260p4633953.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


RE: Ofbiz with MySQL or PostgreSQL

2012-06-22 Thread Sanjeev Gupta
Thanks Bertt 
How do you manage with the timestamp problem mentioned by Ruth.   

SkipDever
Is replication native in 9.1 or though add-on components ? 

-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Ofbiz-with-MySQL-or-PostgreSQL-tp4633893p4633954.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Trying to configure Apache HTTPD with Ofbiz

2012-07-09 Thread Sanjeev Gupta
Hi, 
I'm following the steps given in the link below to configure Apache HTTPD
server with Ofbiz on the windows. 
https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-Howtousemodproxyajp

However when i try to start the HTTPD server, i get the error "The requested
operation has failed!". I checked the error.log on the HTTPD server but
nothing in there. 

Any idea what i could be doing wrong ??

-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Trying-to-configure-Apache-HTTPD-with-Ofbiz-tp4634620.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Trying to configure Apache HTTPD with Ofbiz

2012-07-10 Thread Sanjeev Gupta
Thanks Rajbir, BJ for your prompt help. 
I think I've figured it out the problem - it's attributed to a couple of
things .. 

1) mod_rewrite wasn't enabled while the VirtualHost had RewriteEngine set to
On. 
2) as Rajbir said, SSL wasn't configured correctly.. Apache HTTPD doesn't
come with any default SSL Key, so until you create and configure one, it'll
keep throwing an error. 

Hopefully once I'm able to deploy a SSL key, I should be all set. 

Will post back if I find out any other issues.. 

-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Trying-to-configure-Apache-HTTPD-with-Ofbiz-tp4634620p4634645.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Ofbiz and Apache HTTPD

2012-08-18 Thread Sanjeev Gupta
I've configured Apache HTTPD to fronted Ofbiz on port 80 / 433. I see the
following error on the Ofbiz console - suggesting that Ofbiz is unable to
bind to port 80 & 433. That said the  HTTPD server is responding fine as it
is communicating with Ofbiz on AJP port 8009. 
So I'm wondering if this is something that should be fixed or can be
ignored. Please advise .. 


2012-08-17 15:38:06,720 (main) [   AbstractProtocol.java:419:ERROR] Failed
to initialize end point associated with ProtocolHandler
["http-bio-0.0.0.0-80"]
java.net.BindException: Address already in use: JVM_Bind /0.0.0.0:80
at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:393)
at
org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:566)
at
org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:417)
at
org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
at
org.apache.catalina.connector.Connector.initInternal(Connector.java:956)
at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at
org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:814)
at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
at
org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:238)
at
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:230)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:362)
at org.ofbiz.base.start.Start.start(Start.java:337)
at org.ofbiz.base.start.Start.main(Start.java:139)
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
at java.net.ServerSocket.bind(ServerSocket.java:328)
at java.net.ServerSocket.(ServerSocket.java:194)
at
org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:55)
at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:383)
... 15 more
2012-08-17 15:38:06,725 (main) [StandardService.java:563:ERROR] Failed
to initialize connector [Connector[HTTP/1.1-80]]
org.apache.catalina.LifecycleException: Failed to initialize component
[Connector[HTTP/1.1-80]]
at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)
at
org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:814)
at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
at
org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:238)
at
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:230)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:362)
at org.ofbiz.base.start.Start.start(Start.java:337)
at org.ofbiz.base.start.Start.main(Start.java:139)
Caused by: org.apache.catalina.LifecycleException: Protocol handler
initialization failed
at
org.apache.catalina.connector.Connector.initInternal(Connector.java:958)
at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
... 10 more
Caused by: java.net.BindException: Address already in use: JVM_Bind
/0.0.0.0:80
at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:393)
at
org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:566)
at
org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:417)
at
org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
at
org.apache.catalina.connector.Connector.initInternal(Connector.java:956)
... 11 more
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
at java.net.ServerSocket.bind(ServerSocket.java:328)
at java.net.ServerSocket.(ServerSocket.java:194)
at
org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:55)
at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:383)
... 15 more
2012-08-17 15:38:06,785 (main) [   AbstractProtocol.java:419:ERROR] Failed
to initialize end point associated with ProtocolHandler
["http-bio-0.0.0.0-443"]
java.net.BindEx

Re: Ofbiz and Apache HTTPD

2012-08-18 Thread Sanjeev Gupta
@Deepak : the documentation actually suggests that we have Apache & ofbiz use
ports 80 & 433. I think if  we have ofbiz use different ports (8080 & 8443)
than HTTPD (80 & 443) , the urls generate by Ofbiz (with port 8080 & 8443)
will not work on HTTPD. 

@Jacques Yes I followed the documentation for configuring HTTPD. 



-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Ofbiz-and-Apache-HTTPD-tp4635813p4635826.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Ofbiz and Apache HTTPD

2012-08-19 Thread Sanjeev Gupta
I guess I was making an incorrect assumptions. I now have HTTPD running 80 &
443, while Ofbiz is running on 8080 & 8443. I'm able to access Ofbiz both
through HTTPD ports as well as Catalina ports. 

I think we should updated the Ofbiz documentation too that suggests that we
update the Ofbiz ports to 80 & 443.



-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Ofbiz-and-Apache-HTTPD-tp4635813p4635838.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: debian linux ofbiz

2012-12-27 Thread Sanjeev Gupta
seems like an issue with the JVM and not ant .. try upgrading Java to a newer
version. 

Rgds
Sanjeev



-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/debian-linux-ofbiz-tp4638489p4638516.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Drop-shop & supplier intentory

2013-03-06 Thread Sanjeev Gupta
If a suppliers drop-ships to fulfill customer orders, is there a way by which
we can track / manage suppliers inventor in ofbiz so we don't accept orders
more that what the supplier has ?




-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Drop-shop-supplier-intentory-tp4639716.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Drop-shop & supplier intentory

2013-03-08 Thread Sanjeev Gupta
Thanks Mikethe first options is in line with our requirement and the
approach I had in mind. Will go ahead with it.. 



-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Drop-shop-supplier-intentory-tp4639716p4639751.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: OfBiz INR Problem

2013-03-26 Thread Sanjeev Gupta
u might want to recheck general.properties to ensure that
currency.uom.id.default=INR; and restart ur server.. 





-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/OfBiz-INR-Problem-tp4640077p4640123.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: ofBiz Hosting on Linux Server

2013-04-03 Thread Sanjeev Gupta
performance on Linux will be anytime better that Windows.



-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/ofBiz-Hosting-on-Linux-Server-tp4640190p4640332.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Installing Ofbiz on Ubuntu

2014-11-26 Thread Sanjeev Gupta
What's the process you've been following ? 
Is there a specific step that you're stuck with ? 
If you can be a bit specific, it'll be easier to help ..  





-
Rgds
Sanjeev Gupta
Digital Web Advisors
www.digitalwebadvisors.com 
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Installing-Ofbiz-on-Ubuntu-tp4658965p4659003.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: OFBiz session between load balancer

2015-07-24 Thread Sanjeev Gupta
I think, None. (although I've never worked with Amazon Load balancer) 
Session handling can be take care by your web server that's frontending your
application server running Ofbiz. 





-
Rgds
Sanjeev Gupta
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/OFBiz-session-between-load-balancer-tp4671010p4671027.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Display the List of available Locales from general.properties in a form drop-down

2015-10-15 Thread Sanjeev Gupta
Hi 
I'm trying to create a form that displays the list of available locates from
general.properties in a form  a drop-down, however I keep getting the error 
Exception: org.ofbiz.widget.screen.ScreenRenderException
Message: Error rendering screen
[component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.ClassCastException: Not a map (Not a map)

I've tried all permutation combination, even running the code as a service,
but no luck. 

Here's my Form code :- 

  



  

  






Would appreciate any help with this.. 




-----
Rgds
Sanjeev Gupta
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Display-the-List-of-available-Locales-from-general-properties-in-a-form-drop-down-tp4673430.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: OFBiz performance enhancement

2017-05-18 Thread Sanjeev Gupta
Hi Giulio,
Did you optimize your Apache http server ? I'd look at that too.. 
Try increasing the cache expire interval, also try consolidating CSS & JS
files. 
I also noticed that you are running wordpress on the server for the blog -
not sure why though. You could build one with ofbiz too.. 

Regards
Sanjeev Gupta




-----
Rgds
Sanjeev Gupta
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/OFBiz-performance-enhancement-tp4705974p4705983.html
Sent from the OFBiz - User mailing list archive at Nabble.com.