Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Ashish_Vashisht
Community profile Ashish_Vashisht Level 2
Job title here
Location here
6 BADGES
Level 2

Level 2

Learn more
Joined the community 27-10-2009 4:04:43 AM
Offline
Top badges earned by Ashish_Vashisht
Customize the badges you want to showcase on your profile
Re: Remoting-config.xml and JAR changes not reflecting
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
You can also go into the project properties in Flash Builder, navigate to Adobe > Data Services and click on Retrieve Channelset Information to force this to be reloaded from the server. Post retrieval, settings are stored inside the project in the dataservices folder in the file channelset-config.xml, you can have a look at that file to confirm it has the latest information.

Views

45

Likes

0

Replies

0
Re: How can the client know if the SSL certificate specified in the service-config.xml file is invalid/u
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
We use a standard Java keystore and certificate validation can be handled as per standard best practices. At present we do not provide a hook point to validate the server certificate. However, you can register a bootstrap service which validates the certificate on system startup: http://help.adobe.com/en_US/dataservicesjee/4.6/Developing/WSc3ff6d0ea77859461172e0811f00f6fe7f-7ffeUpdate.html This would require you to pass another copy of the keystore configuration to you Bootstrap service and then...

Views

36

Likes

0

Replies

0
Re: error with spring configuration
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
HiData Services 4.6 contains native support for integrating with Spring. Have a look here: http://help.adobe.com/en_US/dataservicesjee/4.6/Developing/WS064a3073e805330f-389d9f6212b163ca221-8000.htmlRegards,Ashish Vashisht

Views

80

Likes

0

Replies

0
Re: How to use createItem via DataServiceTransaction-API correctly
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
Can you post a snippet of your model, specifically the model level DMS annotation where you have set the above properties?With regards to whether EntityB is already saved or not, it is not possible to know without query the DB if the entity is already present. One common pattern that is followed in this case is to check if the ID is 0 (or some other pre-defined value) and then use that to infer that the item is unsaved,

Views

48

Likes

0

Replies

0
Re: How to use createItem via DataServiceTransaction-API correctly
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
HiSorry about that, the forums seem to be losing the value. You can find it here:http://forums.adobe.com/message/4217327#4217327Regards,Ashish Vashisht

Views

52

Like

1

Replies

0
Re: How to use createItem via DataServiceTransaction-API correctly
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
HiIf using a Transactional data source with a model you to specify the hibernate.transaction.factory_class and hibernate.transaction.manager_lookup_class properties as appropriate for your server and then call DST with useJTA set to true.See here: http://help.adobe.com/en_US/dataservicesjee/4.6/Modeling/WSa53bf8bf8189e60776c71f0d133f0350afe-8000.htmlSpecifically for Tomcat, the below values should work:Data Services does not support cascade operations on associations. You should save EntityB and...

Views

50

Like

1

Replies

0
Re: Reuse of an Assembler in a custom service
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
in-memory means they are generated at runtime and do not exist as .class files in a JAR or the WEB-INF/classes folder. See here for more information on code generation: http://help.adobe.com/en_US/dataservicesjee/4.6/Modeling/WS896A30FB-BF3F-4688-A761-4E76B1F615BF.html#WS45ae57e1b3a35f216112042412bc10dcb52-7fff

Views

37

Like

1

Replies

0
Re: Reuse of an Assembler in a custom service
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
See here:http://help.adobe.com/en_US/dataservicesjee/4.6/Modeling/WS45ae57e1b3a35f21-1e2bffaa12c2caa2556-7ffb.html#WS45ae57e1b3a35f2115327b5812c2d2a2f1b-7fe6andhttp://help.adobe.com/en_US/dataservicesjee/4.6/Modeling/WS4976f0ec3ef482461096f38112701857408-8000.htmlYou need to set ServerGeneratedEntities to false on the model, have Flash Builder generate the entity class for you and then compile them and deploy them to the server.

Views

36

Like

1

Replies

0
Re: Reuse of an Assembler in a custom service
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
HiSee this thread: http://forums.adobe.com/thread/894049In brief, you can use the Data Service Transaction API with sendChangesToAdapter set to true to have the assembler perform CRUD operations for you.If you are using Data Services 4.6, there is a DataServicesAdapter class available at resources/samples/application_state_dashboard/java-src/PushNotificationSample/src/com/adobe/samples/dataservices/push/ which can be used to invoke Data Service Transaction from your own code.Regards,Ashish Vashi...

Views

35

Like

1

Replies

0
Re: ADEP Data Services JEE 4.6 related Issue.
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
HiAs mentioned on the page, you need to provide values for those properties as per your respective App Server. The exact App Server specific values can be found in the Hibernate documentation (also linked to on the page): http://docs.jboss.org/hibernate/core/3.6/reference/en-US/html/session-configuration.html#configuration-optional-transactionstrategySpecifically for Tomcat, the below values should work:org.hibernate.transaction.JTATransactionFactoryorg.hibernate.transaction.JOTMTransactionManag...

Views

442

Likes

0

Replies

2
Re: ADEP Data Services JEE 4.6 related Issue.
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
HiYou need to set the following properties on your Fiber model, as appropriate for your app server: hibernate.transaction.factory_class hibernate.transaction.manager_lookup_classPlease see here: http://help.adobe.com/en_US/enterpriseplatform/10.0/AEPDeveloperGuide/WSa53bf8bf8189e60776c71f0d133f0350afe-8000.htmlRegards,Ashish Vashisht

Views

442

Likes

0

Replies

4
Re: dataservice call fault error after session timeout does not get trapped in the fault handler
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
HiSorry for the delayed response - I was out of office for the last week.Where you have instantiated your DataService (customdataservice variable), you should add an event handler for the fault event like this:customdataservice.addEventListener("fault", faultHandler);where faultHandler is the function you want called on a fault happening.For more information, see here:http://help.adobe.com/en_US/LiveCycleDataServicesES/3.1/Developing/WSc3ff6d0ea77859461172e0811f00f7045b-7fb0Update.htmlhttp://hel...

Views

100

Likes

0

Replies

0
Re: [JTATransaction] You should set hibernate.transaction.manager_lookup_class if cache is enabled
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
HiSorry for the delay in replying, I was out of office for the last week or so.Can you check your Data Source configuration, specifically if it has the factory property specified or not? If that does not help, can you enable trace level logging on org.hibernate.jdbc.* and org.hibernate.transaction.* That should help identify the cause of the issue.Regards,Ashish Vashisht

Views

112

Likes

0

Replies

0
Re: dataservice call fault error after session timeout does not get trapped in the fault handler
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
HiCan you post the code you are using to register the faultHandler? Just to confirm, you need to register the faultHandler at the service level like this:userService.addEventListener("fault", faultHandler);Regards,Ashish Vashisht

Views

101

Likes

0

Replies

0
Re: [JTATransaction] You should set hibernate.transaction.manager_lookup_class if cache is enabled
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
Rupak,Your configuration seems to be correct. Can you post your Hibernate config file and server log?Regards,Ashish Vashisht

Views

101

Likes

0

Replies

0
Re: Flex AIR iOS application with rtmps
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
I would suggest taking up this question on the AIR for iOS forums, since Data Services uses the RTMP Channel and connection capability provided by AIR. I believe adding the certificate to your login keychain might be of assistance on Mac.

Views

78

Likes

0

Replies

0
Re: how to request service with complexType
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
HiOne option is, you can temporarily switch to a non-RTMP channel and use Charles or another proxy to have a look at the AMF request.Regards,Ashish Vashisht

Views

56

Likes

0

Replies

0
Re: how to request service with complexType
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
HiYou can enable debug level logging on the Proxy service via the logging config. http://help.adobe.com/en_US/LiveCycleDataServicesES/3.1/Developing/WSc3ff6d0ea77859461172e0811f00f7045b-7f42Update.htmlThe relevant category is Service.HTTPRegards,Ashish Vashisht

Views

55

Likes

0

Replies

0
Re: For Working offline - Which one to use - local database caching or reliable messaging?
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
HiWhen autoConnect is set to true, Data Services will automatically try to connect to the server when required. This will be periodically reattempted based on the autoConnectInterval property on the Data Store. If you want to control the connection manually, you should set autoConnect to false.Regards,Ashish Vashisht

Views

74

Likes

0

Replies

0
Re: Configure Tomcat 7 for custom authentication
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
HiWe currently do not support Data Services 3.1 on Tomcat 7.Regards,Ashish Vashisht

Views

73

Likes

0

Replies

0
Re: For Working offline - Which one to use - local database caching or reliable messaging?
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
HiBased on your use case, the Occasionally Connected Clients feature should work for you. Specifically, you may want to have a look at this guide: http://help.adobe.com/en_US/LiveCycleDataServicesES/3.1/Developing/WS4ba8596dc6a25eff-56f1c8f4126dcd963c6-8000.htmlRegards,Ashish Vashisht

Views

72

Likes

0

Replies

0
Re: For Working offline - Which one to use - local database caching or reliable messaging?
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
HiCan you clarify whether you are using Messaging or Data Management? Reliable Messaging is a messaging feature while the Data Service is used for Data Management.Regards,Ashish Vashisht

Views

73

Likes

0

Replies

0
Re: How to use UpdateItem() in DataServiceTransaction
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
You should not have to supply the previousVersion. Can you ensure that when you send in the newVersion, it has its ID property set properly? Besides that, can you check the server log to see what exception is being logged there?If there is nothing in the server log, in the MessageException you are getting, there should be a extendedData property of type Map. Inside that Map, there should be a List of errorMessages. Can you check what ErrorMessage is present inside of that?

Views

73

Likes

0

Replies

0
Re: How to use UpdateItem() in DataServiceTransaction
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
Rupak,Can you post the full stack trace?I wanted to note, since you are storing data in the Database, I would recommend you start the DataServiceTransaction with the useJTA parameter set to true.Regards,Ashish Vashisht

Views

70

Likes

0

Replies

0
Re: TypeError: Error #1009 (null object access) after manually commit of deleteItem
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
Can you try passing to the commit method, just the entity without putting it into an array? Also, do you have any associations from the deleted entity? If so, by default it will not cascade commit changes to associated items. See here: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/data/DataManager.html#commit%28%29

Views

74

Likes

0

Replies

0
Re: How to load test ADEP server using the DataService - load-test-tool
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
Can you give a bit more information on what you are trying to do? Specifically, are you using Data Services standalone, or as part of the CRX server, or as part of the Document Server? Also, are you trying to load test a Data Management destination?

Views

340

Likes

0

Replies

6
Re: How to manually create item using model driven assembler
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
Rupak,I believe if you register a listener on the ArrayCollection you get as a result of the fill, you will get an event CollectionEvent.COLLECTION_CHANGE on data coming in from the server.Regards,Ashish Vashisht

Views

82

Likes

0

Replies

0
Re: What Destination Name to use with DataServiceTransaction in Model Driven approach
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
As Don mentioned in the other thread, you can use the ServerGeneratedEntities annotation to control this. For more information, see this documentation:http://help.adobe.com/en_US/LiveCycleDataServicesES/3.1/Developing/WS4976f0ec3ef482461096f38112701857408-8000.html

Views

53

Likes

0

Replies

0
Re: What Destination Name to use with DataServiceTransaction in Model Driven approach
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
The Destination Id is . (Note the dot . in between the two parts). If you have Flash Builder with the Data Services Modeller plugin installed, you can actually see the destination in the Destinations view, under DMS Destinations.I also wanted to note, if you run into issues calling Data Service Transaction on the server, you may want to try setting the Message Broker on the FlexContext like this:MessageBroker messageBroker = MessageBroker.getMessageBroker(null); //Pass in the Message Broker ID i...

Views

54

Like

1

Replies

0
Re: How to manually create item using model driven assembler
Avatar
Boost 5
Level 2
Ashish_Vashisht
Level 2

Likes

8 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Ashish_Vashisht
- Adobe LiveCycle
There are a couple of things you can do here: either you can simply notify data services of the change made via the separate process. This will allow the changes to be pushed out to clients and on the cluster. Alternately you can have the data services assembler itself persist changes from Java.The way to do this is via the DataServiceTransaction API. This is only available from the webapp in which the message broker itself is running. Calling createItem()/updateItem()/deleteItem() on the DST wi...

Views

82

Like

1

Replies

0
Likes given to
Likes from