Exact work of commerce pipeline in atg

Hi Guys,
what is the exact work of comerce pipeline in atg
actually what it will do
please give me some of the main tasks of commerce pipeline in  atg.

Commerce pipeline is a typical implementation of CoR pattern and it applies very well to several commerce operations like order submit, pricing, etc, where an operation involve multiple discrete operations.
For instance following is a list of operation which happens during order submit:
1. Validate that order is ready to be submitted.
2. Clean up unused shipping group
3. Cleanup unused payment groups
4. Remove expired promotions
5. Authorize credit card
so on an so forth
Using pipeline makes all the logic decoupled and also makes customization easy. For instance if you want to add order approval for B2B customers you can add a processor for order approval.

Similar Messages

  • Safari won't work with CNN Pipeline and other sites all of a sudden?

    Safari won't work with CNN Pipeline and other sites all of a sudden? A few weeks ago Safari was working OK but now I often have to use Firefox to visit certain webpages.
    Anyone else having this same problem?
    Is there a quick fix?
    I'm using Safari 2.0.4
    Thanks.

    Hi QuickTimeKirk,
    I have WMP version 9, as well. I do not use F4M, for many users f4mac is what helps.
    I find some items work while others do not. I always get an alert about the wmp , which version it is, takes very long to load, I find it is not consistant with Safari, as seems the poster of this topic has found.
    Quoted from ms Mactopia site:
    http://www.microsoft.com/windows/windowsmedia/player/mac/
    Download and find information about Windows Media Player for Mac and playing Windows Media files in your QuickTime Player. Which download is right for you?
    Windows Media Components for QuickTime
    Windows Media Player 9 for Mac OS X
    Windows Media Player 7.1 for Mac
    Important Information
    Microsoft will continue to offer Windows Media Player for Mac as a download free of charge, but has no plans to provide future updates or product support.
    We are pleased to offer Windows Media® Components for Quicktime, by Flip4Mac™, as an alternative for Mac OS X users wanting to play Windows Media Audio and Windows Media Video.
    ~•~
    Validation of the cnn home page using the W3C Validatior, http://validator.w3.org/
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.cnn.com%2F
    though 41 errors is not as poor as some, Firefox handles the site better than Safari, imo.
    Some sites just work better with Firefox or an other browser.
    Cheers,
    Eme '~[ )

  • What exactly is parallelised in pipelined functions?

    Hi All,
    I have a slight confusion about pipelined table functions, which are parallelised (with PARALLEL_ENABLE clause).
    Everywhere on the internet/documents it is mentioned that, we can use PARALLEL_ENABLE with pipelined table functions, I am not clear about exactly how this will work?
    For example, I have a pipelines function, which is called by C# code to write data in file ( Oracle v11.2 on Linux 64bit). Function looks something like
    FUNCTION extract_data (param1..., param2...., param3.... )
    RETURN data_tab  /* this data_tab is table of record type data_rec */
    PIPELINED
    IS
         v_data_rec      data_rec := data_rec ( null, null,....., null);
    BEGIN
      FOR i_rec IN ( select col1, col2, col3,.... FROM table1, table2 WHERE <all typical stuff here> )
      LOOP
              v_data_rec.col1 := i_rec.col1 ;
              v_data_rec.col2 := i_rec.col2 ;
              v_data_rec.col3 := i_rec.col3 ;
              if v_data_rec.col1 = 'A' then
                  select col into v_data_rec.col4 from tablex where .... ;
              elsif v_data_rec.col1 = 'B' then
                  select col into v_data_rec.col4 from tabley where .... ;
              elsif v_data_rec.col1 = 'C' then
                  select col into v_data_rec.col4 from tablez where .... ;
              elsif v_data_rec.col1 = 'D' then
                  select col into v_data_rec.col4 from tablet where .... ;
              end if ;
              /* some more bits of complex logic here */
              PIPE ROW ( v_data_rec ) ;
      END LOOP ;
    END extract_data ;Now, if I add PARALLEL_ENABLE to my function definition, which bits will be parallelised? will anything be parallelised ?
    Thoughts please.
    Thanks in advance.

    i.e. this ( where the query might well be run in parallel, but the result processed serially by the pipelined function):
    SQL> explain plan for
      2  select *
      3  from   table(
      4         f_serial_pipe
      5         (cursor(select /*+ parallel (t1 4) */
      6                        *
      7                 from   t1)));
    Explained.
    SQL>
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 1425181138
    | Id  | Operation                          | Name          | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                   |               |  8168 |  1100K|    34   (3)| 00:00:01 |
    |   1 |  VIEW                              |               |  8168 |  1100K|    34   (3)| 00:00:01 |
    |   2 |   COLLECTION ITERATOR PICKLER FETCH| F_SERIAL_PIPE |  8168 |       |    34   (3)| 00:00:01 |
    Note
       - dynamic sampling used for this statement (level=4)
    13 rows selected.
    SQL> is different from thsi:
    SQL> explain plan for
      2  select *
      3  from   table(
      4         f_parallel_pipe
      5         (cursor(select /*+ parallel (t1 4) */
      6                        *
      7                 from   t1)));
    Explained.
    SQL>
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 2029647211
    | Id  | Operation                            | Name            | Rows  | Bytes | Cost (%CPU)| Time     |    TQ  |IN-OUT| PQ Distrib |
    |   0 | SELECT STATEMENT                     |                 |  8168 |  1100K|    34   (3)| 00:00:01 |        |      |            |
    |   1 |  PX COORDINATOR                      |                 |       |       |            |          |        |      |            |
    |   2 |   PX SEND QC (RANDOM)                | :TQ10000        |  8168 |  1100K|    34   (3)| 00:00:01 |  Q1,00 | P->S | QC (RAND)  |
    |   3 |    VIEW                              |                 |  8168 |  1100K|    34   (3)| 00:00:01 |  Q1,00 | PCWP |            |
    |   4 |     COLLECTION ITERATOR PICKLER FETCH| F_PARALLEL_PIPE |  8168 |       |    34   (3)| 00:00:01 |  Q1,00 | PCWP |            |
    |   5 |      PX BLOCK ITERATOR               |                 |   798K|    97M|  2659   (1)| 00:00:02 |  Q1,00 | PCWC |            |
    |   6 |       TABLE ACCESS FULL              | T1              |   798K|    97M|  2659   (1)| 00:00:02 |  Q1,00 | PCWP |            |
    Note
       - dynamic sampling used for this statement (level=4)
    17 rows selected.
    SQL>

  • Configurable commerce items in atg

    Hi
    i want to make all items are configurable commerce items while adding items to an order
    how can i make all items are configurable commerce items
    please give me clear picture on it

    from documentation -
    Creating a Configurable Commerce Item
    Configurable commerce items are items with other items as optional components, and are described in the Using and Extending the Standard Catalog chapter of this manual.
    Follow these steps to create a new ConfigurableCommerceItem and associate it with an Order:
    Call CommerceItemManager.createCommerceItem() to create the base commerce item.
    Call CommerceItemManager.addSubItemToConfigurableItem() or addAsSeparateSubItemToConfigurableItem() to add options to the base item.
    The example below illustrates how to programmatically create a ConfigurableCommerceItem with subSKU items and then add it to an Order.
    ConfigurableCommerceItem configurableItem = (ConfigurableCommerceItem)
    getCommerceItemManager().createCommerceItem("configurableCommerceItem",
    "sku10001", null, "prod10001", null, 1, null, null, new ItemPriceInfo());
    SubSkuCommerceItem subskuItem = (SubSkuCommerceItem)
    getCommerceItemManager().createCommerceItem("subSkuCommerceItem",
    "sku20001", null, "prod20001", null, 1, null, null, new ItemPriceInfo());
    getCommerceItemManager().addSubItemToConfigurableItem(configurableItem,
    subskuItem);
    subskuItem = (SubSkuCommerceItem)
    getCommerceItemManager().createCommerceItem("subSkuCommerceItem",
    "sku20002", null, "prod20002", null, 1, null, null, new ItemPriceInfo());
    getCommerceItemManager().addSubItemToConfigurableItem(configurableItem,
    subskuItem);
    getCommerceItemManager().addItemToOrder(order, configurableItem);

  • LEFT JOIN not exactly working

    Hi all,
    Hoping you can help me with my SQL query. I want to do a
    simple LEFT JOIN between two tables...fair enough right? Yeah,
    well, it works and all rows are returned from the LEFT table even
    if there are nmo matching rows in the RIGHT table.
    BUT, when I apply a few conditions using WHERE after this
    LEFT JOIN the whole point of the LEFT JOIN seems to not work. I
    only get rows from the LEFT where they match in the RIGHT.
    For example...this following code works and returns all LEFT
    rows despite there not being a match in the RIGHT.
    <cfquery name="getSchemaFields" datasource="#request.dsn#"
    username="#request.username#" password="#request.password#">
    SELECT schema_#getSchemas.schema_token#_fields.*,
    fields_content.*
    FROM schema_#getSchemas.schema_token#_fields
    LEFT JOIN fields_content
    ON schema_#getSchemas.schema_token#_fields.field_type_uuid =
    fields_content.field_content_field_uuid
    </cfquery>
    But, what I really need is to apply some conditions on the
    rows I want from the right table based on an ID like as follows...
    <cfquery name="getSchemaFields" datasource="#request.dsn#"
    username="#request.username#" password="#request.password#">
    SELECT schema_#getSchemas.schema_token#_fields.*,
    fields_content.*
    FROM schema_#getSchemas.schema_token#_fields
    LEFT JOIN fields_content
    ON schema_#getSchemas.schema_token#_fields.field_type_uuid =
    fields_content.field_content_field_uuid
    WHERE fields_content.field_content_item_id = <cfqueryparam
    cfsqltype="cf_sql_integer" value="#getSchemas.item_id#" />
    OR fields_content.field_content_item_id = NULL
    AND fields_content.field_content_item_uuid = <cfqueryparam
    cfsqltype="cf_sql_varchar" value="#getSchemas.item_uuid#" />
    OR fields_content.field_content_item_uuid = NULL
    </cfquery>
    Now I don't get any errors but what I do get is rows from the
    left ONLY when they match rows in the RIGHT. I still need all the
    rows from the LEFT despite this. The WHERE conditions seems to stop
    this happening.
    I know it's probably blindingly simple but I just can't get
    my head around it and I'm pulling my hair out about it!
    Hope somebody can assist me in this.
    Many thanks in advance!!
    Mikey.

    > Now I don't get any errors but what I do get is rows
    from the left ONLY when
    > they match rows in the RIGHT. I still need all the rows
    from the LEFT despite
    > this. The WHERE conditions seems to stop this happening.
    You need to stop to think about how the query is being
    executed.
    FIRST the FROM recordset is created which is the result of
    the join
    statement. This will have all your "left" rows, and null-data
    for
    unmatched "right" rows.
    THEN the WHERE clause is executed, which will filter out any
    rows from the
    recordset create in the FROM recordset.
    So if yuor data is this:
    TBL_FRUIT
    FRT_ID, FRT_NAME
    1, Apple
    2, Banana
    3, Cherry
    TBL_STOCK (<sung>we have no bananas, we have no bananas
    today</sung>)
    STK_ID, FRT_ID, STK_LEVEL
    1, 1, 12
    2, 3, 100
    And if you FROM clause is this:
    from TBL_FRUIT F left outer join TBL_STOCK S on F.FRT_ID =
    S.FRT_ID
    You get a record set thus:
    1, Apple, 12
    2, Banana, null
    3, Cherry, 100
    Now if you have a WHERE filter, thus:
    WHERE S.STK_LVEL > 0
    You're going tobe filtering out the banana row, because it
    DOESN'T have a
    STK_LEVEL > 0
    1, Apple, 12
    3, Cherry, 100
    You need to get all your filtering done on the STOCK table
    *before*
    left-joining it to the FRUIT table, if you want to have all
    the fruit rows
    in the final result.
    Dan's detailed how to effect this.
    Make sense?
    Adam

  • How does private browsing exactly work?

    I know how to open and use private browsing using my FireFox, but I want to know how it really works. Does it temporary save my browsing data in a specific place in my hard disc then delete every thing after I close my private window, or does it keep all the browsing data in the RAM?

    All data is kept in memory and not stored in the Firefox profile folder.
    When you open a New Private Window the all data from the current session is stored in the Firefox profile folder and new data is created for the private browsing session.
    When you end the PB mode session by closing all PB mode windows then the data is flushed and data from the regular session is reloaded.

  • Cropping (and maybe other edits as well) doesn't exactly work in iOS 5

    Whenever I decide to crop an image using the iOS 5 Photos app, the photo crops.  However, the cropped version shows in ONLY the Photos app, but in apps (like Pages) and other devices (like my PC w/Photo Stream), it shows the FULL, UNEDITED IMAGE.
    Can someone tell me what is wrong here?
    FYI, updating to 5.1 didn't help.

    We would like to know the answer as much as you would. All you can to direct your questions to the only people who can really answer: http://www.apple.com/feedback/

  • CONTAINER:atg.service.pipeline.RunProcessException: An exception was thrown from the context of the link named [loadCommerceItemObjects].; SOURCE:java.lang.RuntimeException:

    Can Any one help me in finding the cause of following error
    16:18:27,565 INFO  [PipelineManager] DEBUG Cancel Link Transaction
    16:18:27,565 INFO  [PipelineManager] DEBUG Transaction is TX_MANDATORY
    16:18:27,565 INFO  [PipelineManager] DEBUG Setting transaction to rollback
    16:18:27,565 INFO  [PipelineManager] DEBUG Cancel Chain Transaction
    16:18:27,565 INFO  [PipelineManager] DEBUG Transaction is TX_REQUIRED
    16:18:27,565 INFO  [PipelineManager] DEBUG Setting transaction to rollback
    16:18:27,565 ERROR [OrderManager]
    CAUGHT AT:
    CONTAINER:atg.service.pipeline.RunProcessException: An exception was thrown from the context of the link named [loadCommerceItemObjects].; SOURCE:java.lang.RuntimeException: CONTAINER:atg.repository.RepositoryException; SOURCE:org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53eaeff2:f142:52c29876:2a4f status: ActionStatus.ABORT_ONLY >; - nested throwable: (ja
            at atg.service.pipeline.PipelineChain.runProcess(PipelineChain.java:393)
            at atg.service.pipeline.PipelineChainContext.runProcess(PipelineChainContext.java:207)
            at atg.service.pipeline.PipelineManager.runProcess(PipelineManager.java:475)
            at atg.commerce.pipeline.CommercePipelineManager.runProcess(CommercePipelineManager.java:123)
            at atg.commerce.order.OrderImpl.ensureContainers(OrderImpl.java:1745)
            at atg.commerce.order.OrderImpl.getShippingGroups(OrderImpl.java:1084)
            at com.mk.integration.epicor.salesAudit.datamanager.EpicorSalesAuditDataManager.processShippingGroups(EpicorSalesAuditDataManager.java:477)
            at com.mk.integration.epicor.salesAudit.datamanager.EpicorSalesAuditDataManager.constructSalesAuditFeed(EpicorSalesAuditDataManager.java:431)
            at com.mk.integration.epicor.salesAudit.datamanager.EpicorSalesAuditDataManager.exportFullfilledOrder(EpicorSalesAuditDataManager.java:213)
            at com.mk.integration.epicor.salesAudit.processor.EpicorSalesAuditProcessor.exportFullfilledOrder(EpicorSalesAuditProcessor.java:42)
            at com.mk.integration.epicor.salesAudit.scheduler.EpicorSalesAuditScheduler.startSalesAuditExport(EpicorSalesAuditScheduler.java:65)
            at com.mk.integration.epicor.salesAudit.scheduler.EpicorSalesAuditScheduler.doScheduledTask(EpicorSalesAuditScheduler.java:49)
            at atg.service.scheduler.SingletonSchedulableService.performScheduledTask(SingletonSchedulableService.java:253)
            at atg.service.scheduler.ScheduledJob.runJobs(ScheduledJob.java:466)
            at atg.service.scheduler.Scheduler$2handler.run(Scheduler.java:782)
    Caused by: java.lang.RuntimeException: CONTAINER:atg.repository.RepositoryException; SOURCE:org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53eaeff2:f142:52c29876:2a4f status: ActionStatus.ABORT_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53eaeff2:f142:52c29876:2a4f status:
            at atg.adapter.gsa.GSAItemDescriptor.loadProperty(GSAItemDescriptor.java:5994)
            at atg.adapter.gsa.GSAItem.getPersistentPropertyValue(GSAItem.java:1315)
            at atg.adapter.gsa.GSAItem.getPropertyValue(GSAItem.java:1208)
            at atg.adapter.gsa.GSAItem.getPropertyValue(GSAItem.java:1405)
            at atg.repository.RepositoryItemImpl.getPropertyValue(RepositoryItemImpl.java:151)

    Hi,
    I seems like you don't have any active transaction. Try start or get transaction before execute your required operations.
    After it, commit (or rollback, if something wrong happens) the transaction.
    Hope it helps.

  • How Publishing in ATG works

    Hi,
    I want to know how ATG Publishing works.
    For example, in ATG demo application(CRS), there is a 'Contact Us' page or 'Help' page.
    How would team member go ahead and change the content of this page, eg contact name/phone number etc.
    I am assuming the text on these pages is not hard coded, and can be updated using some kind of publishing tool interface that ATG might provide.
    Any help around this would be highly appreciated.
    Thanks
    Mohit

    The contact us information is not something that will change frequently, so I have seen may sites hard-coding it.
    They will have a html fragment with Contact Us details which they publishing either with Content Administration or team site tools.
    So to answer you, the phone numbers or address can be hardcoded but the page fragment is maintained in CA or other content management tools.
    Peace
    Shaik

  • Which will be better working in ATG CSC or Endeca Search?

    Hi All,
    I am fresher. currently working on CSC module of ATG.
    Which will be better working in ATG CSC or Endeca Search?
    Could you please help me?
    Thanks & Best regards,
    Dilroz

    As mentioned by Gopi, CSC and Endeca are different products. Currently ATG CSC doesn't come integrated with Endeca search, and uses its own atg search functionality. Regarding the ATG CSC, search, u can get complete information in ATG documentation.
    You can get complete understanding of the Endeca and its integration benefits with ATG ecommerce in the below presentation
    http://www.oracle.com/us/corporate/acquisitions/endeca/general-presentation-517133.pdf
    HTH
    Thanks,
    Rajesh Akavaram

  • Register exact clock times (4 digits) instead of half-hour increments in Record Working Time (Calendar User Interface)?

    Hello
    Is it possible to register the exact working times in the HRESS_A_CATS_CALUI WDA instead of half an hour increments?
    Now:
    choose between 0800 to 0830
    Need:
    0810 to 0825

    In calendar interface, standard is 30, but if you need 15 etc you need to a modification etc, use the normal interface with clock times or in details screen you can enter clock times enable fore the cats profile using CAC1 http://scn.sap.com/thread/3678682

  • Pipeline servlet in atg

    HI
    in atg pipeline is dafpipeline chain is called by calling service or init method in servlet
    and also how service method is called in firstpipeline servlet in pipeline chain
    give me clear clarification
    i am getting lot of confusion about how service method is called in each servlet in pipeline chain

    HIin atg pipeline is dafpipeline chain is called by calling service or init method in servlet
    and also how service method is called in firstpipeline servlet in pipeline chain
    give me clear clarification
    i am getting lot of confusion about how service method is called in each servlet in pipeline chain>
    You can refer below thread:
    Pipeline Chain
    -RMishra

  • ATG vs Elastic Path

    My company has asked me to compare ATG 10 vs Elastic Path on 2 criteria User Experience and Extendability/Integratibility, they really amount to the same thing for me. I'm looking for technie feedback there's other folks worrying about the markety, license etc.
    In typical big business fashion they've had months to ignore the decision and I have until the end of the week to give my technical evaluation.
    We want to integrate an online channel ecommerce tool into our current website that we sell via subscription. The tool has to fell like a part of our website down to the point of being a on-sale widget on our existing website, which means I need ultimate flexibility in the user experience.
    Here's my biggie and why I posted here, I need the tool to integrate with my existing "SOA" RESTful architecture for recommendations, catalog kind of entries, pricing and more importantly sign-in and authorization.
    Let me know your thoughts and questions.
    Thanks all!!
    If this is the wrong forum for this kind of discussion please refer me to the correct one and I'll cross post.

    Comparing ATG and Elastic Path isn't exactly comparing apples to apples. ATG was designed and built for retail e-commerce. Elastic Path was designed and built for digital e-commerce, therefore if you're interested in selling things like digital media and subscriptions, Elastic Path is the better choice. They already have an integrated subscription component and a roster of clients like Symantec who are leveraging their platform extensively for just this purpose. Not so with ATG. ATG is built upon proprietary J2EE code. Elastic Path is built on more open source technology and will give you the base so you can develop on it yourself.
    Next is implementation time. ATG has very few -if any- clients whose implementation took less than the average EP implementation. So if you need to get up and running quickly, the choice is clear. ATG, like it's new parent company, Oracle, is somewhat difficult to engage due to the amount of people involved with your implementation. Elastic Path is more customer-centric, young and eager to create a raving fan base. ATG delivers a top-down platform that comes with many bells and whistles you may not need as well as the need for training around the use of the platform. Elastic Path delivers a bottom-up platform that works to integrate your current infrastructure so that your business processes, workflows and other business functions stay intact.
    On your 2 points, User Experience and Extensibility: I mentioned that Elastic Path goes in smoothly into your infrastructure. That goes for usability and integration through leveraging published and open source technologies and standards.
    Hope this helps!

  • Error in running baseline update from ATG

    Hi,
    I am trying to import the content in my ATG app schemas as indexed records into Endeca.
    After making the configuration changes listed in the ATG-endeca integration guide , When I try to do baseline index from http://localhost:7003/dyn/admin/nucleus/atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin/ , following is what I get :
    PreIndexing (Duration: 0:00:00)
         /atg/endeca/index/commerce/CategoryTreeService                COMPLETE (Succeeded)
    RepositoryExport (Duration: 0:00:19)
         /atg/endeca/index/commerce/SchemaExporter      58      0      COMPLETE (Succeeded)
         /atg/endeca/index/commerce/CategoryToDimensionOutputConfig      9      0      COMPLETE (Succeeded)
         /atg/endeca/index/commerce/RepositoryTypeDimensionExporter      15      0      COMPLETE (Succeeded)
         /atg/commerce/search/ProductCatalogOutputConfig      31      0      COMPLETE (Succeeded)
    EndecaIndexing (Duration: 0:02:18)
         /atg/endeca/index/commerce/EndecaScriptService                COMPLETE (Failed)
    following is what I get in logs :
    **** info Wed Dec 19 15:09:19 IST 2012 1355909959144 /atg/endeca/index/commerce/EndecaScriptService Starting script BaselineUpdate in application ATGen
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin --- atg.repository.search.indexing.IndexingException: Starting scrip
    t BaselineUpdate of application ATGen failed
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptRunner.startScript(ScriptRunner.ja
    va:276)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptIndexable.runUpdateScript(ScriptIn
    dexable.java:307)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptIndexable.performBaselineUpdate(Sc
    riptIndexable.java:246)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingTask.doTask(IndexingTask.java:
    401)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingTask.performTask(IndexingTask.
    java:359)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingPhase$IndexingTaskJob.invoke(I
    ndexingPhase.java:469)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.common.util.ThreadDispatcherThread.run(ThreadDispatcherTh
    read.java:178)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin Caused by :java.net.ConnectException: Connection refused: connect
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.j
    ava:154)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.strategies.InvocationStrategy.visit(Invocatio
    nStrategy.java:32)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.Call.invoke(Call.java:2767)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.Call.invoke(Call.java:2443)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.Call.invoke(Call.java:2366)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.Call.invoke(Call.java:1812)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at com.endeca.eac.client.ScriptControlPortSOAPBindingStub.startS
    cript(ScriptControlPortSOAPBindingStub.java:263)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptRunner.startScript(ScriptRunner.ja
    va:272)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptIndexable.runUpdateScript(ScriptIn
    dexable.java:307)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptIndexable.performBaselineUpdate(Sc
    riptIndexable.java:246)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingTask.doTask(IndexingTask.java:
    401)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingTask.performTask(IndexingTask.
    java:359)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingPhase$IndexingTaskJob.invoke(I
    ndexingPhase.java:469)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.common.util.ThreadDispatcherThread.run(ThreadDispatcherTh
    read.java:178)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin Caused by (#2):java.net.ConnectException: Connection refused: connect
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at java.net.PlainSocketImpl.socketConnect(Native Method)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.jav
    a:213)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at java.net.Socket.connect(Socket.java:529)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
    sorImpl.java:39)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
    hodAccessorImpl.java:25)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at java.lang.reflect.Method.invoke(Method.java:597)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.components.net.DefaultSocketFactory.create(De
    faultSocketFactory.java:153)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.components.net.DefaultSocketFactory.create(De
    faultSocketFactory.java:120)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSende
    r.java:191)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPS
    ender.java:404)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.j
    ava:138)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.strategies.InvocationStrategy.visit(Invocatio
    nStrategy.java:32)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.Call.invoke(Call.java:2767)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.Call.invoke(Call.java:2443)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.Call.invoke(Call.java:2366)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.Call.invoke(Call.java:1812)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at com.endeca.eac.client.ScriptControlPortSOAPBindingStub.startS
    cript(ScriptControlPortSOAPBindingStub.java:263)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptRunner.startScript(ScriptRunner.ja
    va:272)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptIndexable.runUpdateScript(ScriptIn
    dexable.java:307)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptIndexable.performBaselineUpdate(Sc
    riptIndexable.java:246)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingTask.doTask(IndexingTask.java:
    401)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingTask.performTask(IndexingTask.
    java:359)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingPhase$IndexingTaskJob.invoke(I
    ndexingPhase.java:469)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.common.util.ThreadDispatcherThread.run(ThreadDispatcherTh
    read.java:178)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin
    P.S. - ALL the endeca services are running.
    To add to surprise after this , I am unable to perform the baseline update from Endeca also. I get following error while running baseline update on endeca side :
    [12.19.12 15:49:23] INFO: [ITLHost] Starting shell utility 'emgr_update_set_post_forge_dims'.
    [12.19.12 15:49:32] SEVERE: Utility 'emgr_update_set_post_forge_dims' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
    Occurred while executing line 34 of valid BeanShell script:
    31| // Upload the generated dimension values to Workbench
    32| WorkbenchManager.cleanDirs();
    33| Forge.getPostForgeDimensions();
    34| WorkbenchManager.updateWsDimensions();
    35|
    36| // Upload the generated config to Workbench
    37| WorkbenchManager.updateWsConfig();
    [12.19.12 15:49:32] SEVERE: Caught an exception while invoking method 'run' on object 'BaselineUpdate'. Releasing locks.
    Caused by java.lang.reflect.InvocationTargetException
    sun.reflect.NativeMethodAccessorImpl invoke0 - null
    Caused by com.endeca.soleng.eac.toolkit.exception.AppControlException
    com.endeca.soleng.eac.toolkit.script.Script runBeanShellScript - Error executing valid BeanShell script.
    Caused by com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
    com.endeca.soleng.eac.toolkit.utility.Utility run - Utility 'emgr_update_set_post_forge_dims' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
    [12.19.12 15:49:32] INFO: Released lock 'update_lock'.
    The above error persists even if I remove the application using --remove-app command and re-deploy new app with same name as previous one
    Any help/pointer would really be appreciated.
    Thanks,
    Mayank Batra

    Thanks Pankaj and Patrick.
    My endeca installation works absolutely fine.
    When i install endeca with platform services,mdex and tools and framework , I can create the application,initialize, load baseline and baseline update my application beautifully, until I do the baseline index from ATG side.
    Once I do that , I am unable to perform indexing from Endeca also.
    What I need to do is reinstall the endeca(platform services for least) to resolve this - I have been doing this for quite some time now :(
    My Endeca Workbench instance is up, running and reachable on port 8006.
    The PlatformServices\workspace\logs\shell\ATGen.emgr_update_set_post_forge_dims.log has following one liner :
    ERROR: Could not open acquire_lock.status.
    I tried running the baseline index from ATG again and following is what I get in logs this time around :
    **** info Mon Dec 24 12:57:32 IST 2012 1356334052168 /atg/endeca/index/commerce/EndecaScriptService Starting script BaselineUpdate in application ATGen
    **** info Mon Dec 24 13:05:03 IST 2012 1356334503729 /atg/endeca/index/commerce/EndecaScriptService Script BaselineUpdate for application ATGen finished with status Failed
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin --- atg.repository.search.indexing.IndexingException: Script Baselin
    eUpdate for application ATGen failed
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptRunner.waitForScript(ScriptRunner.
    java:381)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptIndexable.runUpdateScript(ScriptIn
    dexable.java:319)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptIndexable.performBaselineUpdate(Sc
    riptIndexable.java:246)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingTask.doTask(IndexingTask.java:
    401)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingTask.performTask(IndexingTask.
    java:359)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingPhase$IndexingTaskJob.invoke(I
    ndexingPhase.java:469)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.common.util.ThreadDispatcherThread.run(ThreadDispatcherTh
    read.java:178)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin Caused by :atg.repository.search.indexing.IndexingException: Script Base
    lineUpdate of application ATGen failed
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptRunner.waitForScript(ScriptRunner.
    java:378)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptIndexable.runUpdateScript(ScriptIn
    dexable.java:319)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptIndexable.performBaselineUpdate(Sc
    riptIndexable.java:246)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingTask.doTask(IndexingTask.java:
    401)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingTask.performTask(IndexingTask.
    java:359)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingPhase$IndexingTaskJob.invoke(I
    ndexingPhase.java:469)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.common.util.ThreadDispatcherThread.run(ThreadDispatcherTh
    read.java:178)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin
    Regards,
    Mayank Batra
    Edited by: Waste Ideas on Dec 23, 2012 11:37 PM
    Edited by: Waste Ideas on Dec 23, 2012 11:38 PM

  • Error while bringing up ATG REST Webservice

    Hi,
    I am trying to bring a REST Webservice using ATG 9.3 version.I am getting the below errors in the startup of the instance.I have added "REST" module in the Manifest file and am able to see the entry " C:\ATG\ATG9.3\REST\config\config.jar" in CONFIGPATH(Please let me know if there are other ways to find if the service has come up properly).I am trying to connect to the server using JAVA based REST Client as given below.Also,i have placed the jar files in the CLASSPATH of the module.I am hoping that the webservice have not come up properly because of these startup errors.Please help me out to resolve this issue.
    STARTUP EXCEPTION SEEN IN SERVER
    ========================
    2012-06-25 06:20:36,815 INFO [STDOUT] Unable to create class atg.rest.servlet.HeadRestServlet for configuration /atg/dynamo/servlet/dafpipeline/HeadRestServlet java.lang.ClassNotFoundException: No ClassLoaders found for: atg.rest.servlet.HeadRestServlet
    2012-06-25 06:21:56,325 INFO [nucleusNamespace.atg.userprofiling.sso.PassportAuthorityService] Starting passport authority service
    2012-06-25 06:21:56,460 INFO [STDOUT] **** Error
    2012-06-25 06:21:56,460 INFO [STDOUT]      
    2012-06-25 06:21:56,460 INFO [STDOUT] Mon Jun 25 06:21:56 EDT 2012
    2012-06-25 06:21:56,460 INFO [STDOUT]      
    2012-06-25 06:21:56,460 INFO [STDOUT] 1340619716460
    2012-06-25 06:21:56,460 INFO [STDOUT]      
    2012-06-25 06:21:56,460 INFO [STDOUT] /
    2012-06-25 06:21:56,460 INFO [STDOUT]      
    2012-06-25 06:21:56,460 INFO [STDOUT] Unable to set configured property "/atg/dynamo/servlet/Initial.initialServices" atg.nucleus.ConfigurationException: Unable to resolve component /atg/dynamo/servlet/dafpipeline/HeadRestServlet
    2012-06-25 06:22:06,528 INFO [STDOUT] Unable to create class atg.rest.RestConfiguration for configuration /atg/rest/Configuration java.lang.ClassNotFoundException: No ClassLoaders found for: atg.rest.RestConfiguration
    2012-06-25 06:22:06,528 INFO [STDOUT] **** Error
    2012-06-25 06:22:06,528 INFO [STDOUT]      
    2012-06-25 06:22:06,528 INFO [STDOUT] Mon Jun 25 06:22:06 EDT 2012
    2012-06-25 06:22:06,528 INFO [STDOUT]      
    2012-06-25 06:22:06,528 INFO [STDOUT] 1340619726528
    2012-06-25 06:22:06,528 INFO [STDOUT]      
    2012-06-25 06:22:06,528 INFO [STDOUT] /
    2012-06-25 06:22:06,528 INFO [STDOUT]      
    2012-06-25 06:22:06,528 INFO [STDOUT] Unable to set configured property "/atg/rest/Initial.initialServices" atg.nucleus.ConfigurationException: Unable to resolve component /atg/rest/Configuration
    CLASSPATH ENTRY
    ============
    <classpathentry exported="true" kind="var" path="C:/ATG/ATG9.3/REST/lib/atg-rest-1.0.jar"/>
         <classpathentry exported="true" kind="var" path="C:/ATG/ATG9.3/REST/lib/commons-fileupload-1.2.1.jar"/>
         <classpathentry exported="true" kind="var" path="C:/ATG/ATG9.3/REST/lib/commons-io-1.4.jar"/>
         <classpathentry exported="true" kind="var" path="C:/ATG/ATG9.3/REST/lib/dom4j-1.6.1.jar"/>
         <classpathentry exported="true" kind="var" path="C:/ATG/ATG9.3/REST/lib/log4j-1.2.15.jar"/>
         <classpathentry exported="true" kind="var" path="C:/ATG/ATG9.3/REST/client-lib/java/atg-rest-client-1.0.jar"/>
    REST CLIENT:
    ========
    import java.util.HashMap;
    import java.util.Map;
    import atg.rest.client.RestClientException;
    import atg.rest.client.RestComponentHelper;
    import atg.rest.client.RestResult;
    import atg.rest.client.RestSession;
    public class RestClient {
    RestSession mSession;
    protected void execute() throws RestClientException {
         System.out.println("inside execute");
         mSession = RestSession.createSession("localhost", 8080, "<USERNAME>", "<PASSWORD>");
         mSession.setUseHttpsForLogin(false);
         try {
         mSession.login();
         System.out.println("Login Successful");
         catch (Throwable t) {
         System.out.println(t);
         finally {
         try {
         mSession.logout();
         System.out.println("Logout Successful");
         catch (RestClientException e) {
         System.out.println(e);
    * @param args
    public static void main(String[] args) {
         System.out.println("inside main");
         // TODO Auto-generated method stub
         RestClient testATGRest = new RestClient();
         try {
         testATGRest.execute();
         catch (Throwable t) {
         System.out.println(t);
    REST CLIENT ERROR SEEN:
    =================
    atg.rest.client.RestClientException: java.io.IOException: Not Found http://localhost:8080/rest/bean/atg/userprofiling/ProfileServices/loginUser
    atg.rest.client.RestClientException: This session is not logged in and cannot be logged out

    I am trying to expose a method using REST Webservice and access the method using the browser.I have followed the steps specified in the thread:
    http://ecomwriter.com/2012/03/19/building-restful-web-services-using-atg/ .Have added a component called ProfileRESTWebservice and have defined a method “getLoginInfo” in the class file. The following entry is placed in the restSecurityConfiguration.xml
    <resource component="/atg/userprofiling/ProfileRESTWebservice" secure="true">
    <method name="getLoginInfo" secure="false"></method>
    </resource>
    But, I am receiving the following exception when trying to access the method using http://localhost:8080/rest/bean/atg/userprofiling/ProfileRESTWebservice/getLoginInfo
    10:07:33,147 ERROR [BeanServlet] Error code: 400
    atg.beans.PropertyNotFoundException: Can't find property named: getLoginInfo in class: com.vs.commerce.profile.ProfileRESTWebservice
    Can't find property named: getLoginInfo in class: com.vs.commerce.profile.ProfileRESTWebservice
    atg.rest.RestException: atg.beans.PropertyNotFoundException: Can't find property named: getLoginInfo in class: com.vs.commerce.profile.ProfileRESTWebservice
    at atg.rest.output.RestOutputCustomizerImpl.outputBeanProperty(RestOutputCustomizerImpl.java:616)
    at atg.rest.processor.BeanProcessor.doRESTGet(BeanProcessor.java:157)
    at atg.rest.servlet.RestPipelineServlet.serviceRESTRequest(RestPipelineServlet.java:394)
    at atg.rest.servlet.RestPipelineServlet.service(RestPipelineServlet.java:237)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:298)
    at atg.rest.servlet.RestPipelineServlet.service(RestPipelineServlet.java:241)
    Can you pl help me out on this?

Maybe you are looking for