Users - error in quick-ship entire order

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

Users - error in quick-ship entire order

Alexandre Gomes-5
Hi all,

I was trying  to execute a quick-checkout process in ecommerce. When I clicked on the 'Quick-ship entire order option' to complete the order I got the following message :

531721[   CallSimpleMethod.java :104:WARN ] Got error [error] calling inline simple-method named [createShipmentForFacilityAndShipGroup] in resource [], message is ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/home/ofbiz/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10001, statusId=SHIPMENT_PACKED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-02-07 00:09: 41.599(java.sql.Timestamp)][createdTxStamp,2006-02-07 00:09:39.393(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-02-07 00:09: 42.589(java.sql.Timestamp)][lastUpdatedTxStamp,2006-02-07 00:09:42.245(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: Service target threw an unexpected exception (Type id-ne not found)], and the error message list is: null



Is this a configuration error or a framework problem?
Thanks,

Alexandre Gomes

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - error in quick-ship entire order

Si Chen-2
Configuration error.  Can you send your entityengine.xml (without your
passwords, of course)?

Alexandre Gomes wrote:

> Hi all,
>
> I was trying  to execute a quick-checkout process in ecommerce. When I
> clicked on the 'Quick-ship entire order option' to complete the order
> I got the following message :
>
> 531721[   CallSimpleMethod.java :104:WARN ] Got error [error] calling
> inline simple-method named [createShipmentForFacilityAndShipGroup] in
> resource [], message is ERROR: Could not complete the Sub-method used
> by quickShip methods to create a shipment
> [file:/home/ofbiz/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup]
> process [problem invoking the [updateShipment] service with the map
> named [packedContext] containing [[shipmentId=10001,
> statusId=SHIPMENT_PACKED,
> userLogin=[GenericEntity:UserLogin][createdStamp,2006-02-07 00:09:
> 41.599(java.sql.Timestamp)][createdTxStamp,2006-02-07
> 00:09:39.393(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-02-07
> 00:09: 42.589(java.sql.Timestamp)][lastUpdatedTxStamp,2006-02-07
> 00:09:42.245(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)],
> locale=en_US]]: Service target threw an unexpected exception (Type
> id-ne not found)], and the error message list is: null
>
>
>
> Is this a configuration error or a framework problem?
> Thanks,
>
> Alexandre Gomes
>
>------------------------------------------------------------------------
>
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users
>
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - error in quick-ship entire order

Alexandre Gomes-5
Thanks for your answer Si,

Can you tell me what you think is causing the error?
What part of the entityengine.xml do you think it's causing this?

Thanks,

Alexandre


On 2/7/06, Si Chen <[hidden email]> wrote:
Configuration error.  Can you send your entityengine.xml (without your
passwords, of course)?

Alexandre Gomes wrote:

> Hi all,
>
> I was trying  to execute a quick-checkout process in ecommerce. When I
> clicked on the 'Quick-ship entire order option' to complete the order
> I got the following message :
>
> 531721[   CallSimpleMethod.java :104:WARN ] Got error [error] calling
> inline simple-method named [createShipmentForFacilityAndShipGroup] in
> resource [], message is ERROR: Could not complete the Sub-method used
> by quickShip methods to create a shipment
> [file:/home/ofbiz/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup]
> process [problem invoking the [updateShipment] service with the map
> named [packedContext] containing [[shipmentId=10001,
> statusId=SHIPMENT_PACKED,
> userLogin=[GenericEntity:UserLogin][createdStamp,2006-02-07 00:09:
> 41.599(java.sql.Timestamp)][createdTxStamp,2006-02-07
> 00:09:39.393(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-02-07
> 00:09: 42.589(java.sql.Timestamp)][lastUpdatedTxStamp,2006-02-07
> 00:09:42.245(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String )],
> locale=en_US]]: Service target threw an unexpected exception (Type
> id-ne not found)], and the error message list is: null
>
>
>
> Is this a configuration error or a framework problem?
> Thanks,
>
> Alexandre Gomes
>
>------------------------------------------------------------------------
>
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users
>

_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users


 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - error in quick-ship entire order

Si Chen-2
I think there was a JIRA issue from recently and the problem was that
the org.ofbiz.odbc data resource was not defined.  So I was curious what
the <delegator ..> section of your entityengine.xml looked like.

Si

Alexandre Gomes wrote:

> Thanks for your answer Si,
>
> Can you tell me what you think is causing the error?
> What part of the entityengine.xml do you think it's causing this?
>
> Thanks,
>
> Alexandre
>
>
> On 2/7/06, *Si Chen* <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Configuration error.  Can you send your entityengine.xml (without your
>     passwords, of course)?
>
>     Alexandre Gomes wrote:
>
>     > Hi all,
>     >
>     > I was trying  to execute a quick-checkout process in ecommerce.
>     When I
>     > clicked on the 'Quick-ship entire order option' to complete the
>     order
>     > I got the following message :
>     >
>     > 531721[   CallSimpleMethod.java :104:WARN ] Got error [error]
>     calling
>     > inline simple-method named
>     [createShipmentForFacilityAndShipGroup] in
>     > resource [], message is ERROR: Could not complete the Sub-method
>     used
>     > by quickShip methods to create a shipment
>     >
>     [file:/home/ofbiz/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup]
>
>     > process [problem invoking the [updateShipment] service with the map
>     > named [packedContext] containing [[shipmentId=10001,
>     > statusId=SHIPMENT_PACKED,
>     > userLogin=[GenericEntity:UserLogin][createdStamp,2006-02-07 00:09:
>     > 41.599(java.sql.Timestamp)][createdTxStamp,2006-02-07
>     >
>     00:09:39.393(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-02-07
>
>     > 00:09: 42.589(java.sql.Timestamp)][lastUpdatedTxStamp,2006-02-07
>     >
>     00:09:42.245(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String
>     )],
>     > locale=en_US]]: Service target threw an unexpected exception (Type
>     > id-ne not found)], and the error message list is: null
>     >
>     >
>     >
>     > Is this a configuration error or a framework problem?
>     > Thanks,
>     >
>     > Alexandre Gomes
>     >
>     >------------------------------------------------------------------------
>     >
>     >
>     >_______________________________________________
>     >Users mailing list
>     >[hidden email] <mailto:[hidden email]>
>     >http://lists.ofbiz.org/mailman/listinfo/users
>     >
>
>     _______________________________________________
>     Users mailing list
>     [hidden email] <mailto:[hidden email]>
>     http://lists.ofbiz.org/mailman/listinfo/users
>
>
>------------------------------------------------------------------------
>
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users
>
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - error in quick-ship entire order

Alexandre Gomes-5
You were absolutely right. That was the problem.
Do you happen to know the reason of the existence of the odbc delegator?
Do the inventory transactions take place into the two delegators?
Is it OK to point the odbc delegator to the same database as the default delegator?

Thanks Si, you were very helpful,

Alexandre

On 2/7/06, Si Chen <[hidden email]> wrote:
I think there was a JIRA issue from recently and the problem was that
the org.ofbiz.odbc data resource was not defined.  So I was curious what
the <delegator ..> section of your entityengine.xml looked like.

Si

Alexandre Gomes wrote:

> Thanks for your answer Si,
>
> Can you tell me what you think is causing the error?
> What part of the entityengine.xml do you think it's causing this?
>
> Thanks,
>
> Alexandre
>
>
> On 2/7/06, *Si Chen* < [hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Configuration error.  Can you send your entityengine.xml (without your
>     passwords, of course)?
>
>     Alexandre Gomes wrote:
>
>     > Hi all,
>     >
>     > I was trying  to execute a quick-checkout process in ecommerce.
>     When I
>     > clicked on the 'Quick-ship entire order option' to complete the
>     order
>     > I got the following message :
>     >
>     > 531721[   CallSimpleMethod.java :104:WARN ] Got error [error]
>     calling
>     > inline simple-method named
>     [createShipmentForFacilityAndShipGroup] in
>     > resource [], message is ERROR: Could not complete the Sub-method
>     used
>     > by quickShip methods to create a shipment
>     >
>     [file:/home/ofbiz/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup]
>
>     > process [problem invoking the [updateShipment] service with the map
>     > named [packedContext] containing [[shipmentId=10001,
>     > statusId=SHIPMENT_PACKED,
>     > userLogin=[GenericEntity:UserLogin][createdStamp,2006-02-07 00:09:
>     > 41.599(java.sql.Timestamp)][createdTxStamp,2006-02-07
>     >
>     00:09:39.393(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-02-07
>
>     > 00:09: 42.589(java.sql.Timestamp)][lastUpdatedTxStamp,2006-02-07
>     >
>     00:09:42.245(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin( java.lang.String
>     )],
>     > locale=en_US]]: Service target threw an unexpected exception (Type
>     > id-ne not found)], and the error message list is: null
>     >
>     >
>     >
>     > Is this a configuration error or a framework problem?
>     > Thanks,
>     >
>     > Alexandre Gomes
>     >
>     >------------------------------------------------------------------------
>     >
>     >
>     >_______________________________________________
>     >Users mailing list
>     >[hidden email] <mailto: [hidden email]>
>     >http://lists.ofbiz.org/mailman/listinfo/users
>     >
>
>     _______________________________________________
>     Users mailing list
>     [hidden email] <mailto:[hidden email]>
>     http://lists.ofbiz.org/mailman/listinfo/users
>
>
>------------------------------------------------------------------------
>
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users
>

_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users


 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - error in quick-ship entire order

Si Chen-2
I'm glad I was able to help but don't know too much about
org.ofbiz.odbc.  Andy Z developed it for worldship.   The closest I can
offer for a manual is the pasted section below (original from Dec 16 is
apparently not in the OFBiz mailing list archives.)

It also seems like this problem you are having has recently been solved:
I can run my ofbiz svn version with just org.ofbiz for the "default"
delegator defined.

Si

--------------------------------------------------------

A. Zeneski wrote:

They are staging tables to be used (as Jacopo said) to integrate with  
external shipping software like Worldship from UPS. The name ODBC is  
probably not the best; however the idea for this is to keep the  tables
being written to by an external application away from the  primary
tables in the database.

The reason for putting them in a different database was for security  
and speed. ODBC is very slow and trying to read ALL ofbiz tables in  
order to do world ship mapping was problematic. Since the joins  
required were too complex, keeping them in a staging table was  preferred.

In addition, these tools write back to the database. So rather than  
having them write directly to the ofbiz tables, we have them write to  a
staging table and then an internal service checks these tables via  a
scheduled service. This service then takes the posted data and  updates
shipment information.

I named them ODBC only because I was integrating with Worldship and  the
connection was (windows based) via ODBC. They can be disabled as  long
as the ECA used to populate them is also disabled and the  scheduled
service which polls them is also disabled. They are moved  into a new
group so they can also be configured to be in the same  database with
everything else; or easily separated out.

Andy
------------------------------------------------------

Alexandre Gomes wrote:

> You were absolutely right. That was the problem.
> Do you happen to know the reason of the existence of the odbc delegator?
> Do the inventory transactions take place into the two delegators?
> Is it OK to point the odbc delegator to the same database as the
> default delegator?
>
> Thanks Si, you were very helpful,
>
> Alexandre
>
> On 2/7/06, *Si Chen* <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     I think there was a JIRA issue from recently and the problem was that
>     the org.ofbiz.odbc data resource was not defined.  So I was
>     curious what
>     the <delegator ..> section of your entityengine.xml looked like.
>
>     Si
>
>     Alexandre Gomes wrote:
>
>     > Thanks for your answer Si,
>     >
>     > Can you tell me what you think is causing the error?
>     > What part of the entityengine.xml do you think it's causing this?
>     >
>     > Thanks,
>     >
>     > Alexandre
>     >
>     >
>     > On 2/7/06, *Si Chen* < [hidden email]
>     <mailto:[hidden email]>
>     > <mailto:[hidden email]
>     <mailto:[hidden email]>>> wrote:
>     >
>     >     Configuration error.  Can you send your entityengine.xml
>     (without your
>     >     passwords, of course)?
>     >
>     >     Alexandre Gomes wrote:
>     >
>     >     > Hi all,
>     >     >
>     >     > I was trying  to execute a quick-checkout process in
>     ecommerce.
>     >     When I
>     >     > clicked on the 'Quick-ship entire order option' to
>     complete the
>     >     order
>     >     > I got the following message :
>     >     >
>     >     > 531721[   CallSimpleMethod.java :104:WARN ] Got error [error]
>     >     calling
>     >     > inline simple-method named
>     >     [createShipmentForFacilityAndShipGroup] in
>     >     > resource [], message is ERROR: Could not complete the
>     Sub-method
>     >     used
>     >     > by quickShip methods to create a shipment
>     >     >
>     >    
>     [file:/home/ofbiz/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup]
>
>     >
>     >     > process [problem invoking the [updateShipment] service
>     with the map
>     >     > named [packedContext] containing [[shipmentId=10001,
>     >     > statusId=SHIPMENT_PACKED,
>     >     >
>     userLogin=[GenericEntity:UserLogin][createdStamp,2006-02-07 00:09:
>     >     > 41.599(java.sql.Timestamp)][createdTxStamp,2006-02-07
>     >     >
>     >    
>     00:09:39.393(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-02-07
>
>     >
>     >     > 00:09:
>     42.589(java.sql.Timestamp)][lastUpdatedTxStamp,2006-02-07
>     >     >
>     >    
>     00:09:42.245(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(
>     java.lang.String
>     >     )],
>     >     > locale=en_US]]: Service target threw an unexpected
>     exception (Type
>     >     > id-ne not found)], and the error message list is: null
>     >     >
>     >     >
>     >     >
>     >     > Is this a configuration error or a framework problem?
>     >     > Thanks,
>     >     >
>     >     > Alexandre Gomes
>     >     >
>     >    
>     >------------------------------------------------------------------------
>
>     >     >
>     >     >
>     >     >_______________________________________________
>     >     >Users mailing list
>     >     >[hidden email] <mailto:[hidden email]>
>     <mailto: [hidden email] <mailto:[hidden email]>>
>     >     >http://lists.ofbiz.org/mailman/listinfo/users
>     >     >
>     >
>     >     _______________________________________________
>     >     Users mailing list
>     >     [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >     http://lists.ofbiz.org/mailman/listinfo/users
>     >
>     >
>     >------------------------------------------------------------------------
>     >
>     >
>     >_______________________________________________
>     >Users mailing list
>     >[hidden email] <mailto:[hidden email]>
>     >http://lists.ofbiz.org/mailman/listinfo/users
>     >
>
>     _______________________________________________
>     Users mailing list
>     [hidden email] <mailto:[hidden email]>
>     http://lists.ofbiz.org/mailman/listinfo/users
>
>
>------------------------------------------------------------------------
>
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users
>
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users