0 Replies Latest reply: Aug 11, 2014 11:46 AM by 2730178 RSS

    Getting problem while assigning target through wlst offline

    2730178

      Hi,

       

      I've created a jdbcstore with name JDBCStore1 and trying to assign it to a target called "efmManagedServer (migratable)" through offline. Please find code below:

      wls:/offline/TestVersionTable/JDBCStore/JDBCStore1>assign('JDBCStore', 'JDBCStore1', 'Target', 'efmManagedServer (migr

      table)')

       

      Here my target(in this case its a migratable target) "efmManagedServer (migratable)" exists. Please find configuration from config.xml :

      <migratable-target>

          <name>efmManagedServer (migratable)</name>

          <notes>This is a system generated default migratable target for a server. Do not delete manually.</notes>

          <user-preferred-server>efmManagedServer</user-preferred-server>

          <constrained-candidate-server>efmManagedServer</constrained-candidate-server>

          <cluster>efmcluster</cluster>

          <migration-policy>exactly-once</migration-policy>

          <post-script-failure-fatal>true</post-script-failure-fatal>

          <non-local-post-allowed>false</non-local-post-allowed>

          <restart-on-failure>false</restart-on-failure>

          <seconds-between-restarts>30</seconds-between-restarts>

          <number-of-restart-attempts>6</number-of-restart-attempts>

        </migratable-target>

       

      When I do this I'm getting below Exception:

      com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException: Cannot recognize the

      service assignment type: jdbcstore_target

      Can any one suggest where i'm making mistake or is it possible to do this assignment ?

       

      Thanks in advance.

      -Srinivas