Deploying JavaHelp with Webstart

I am trying to deploy my app using Webstart and I cannot get the content HTML topics to load.
I have 3 JNLP's (due to the JAR signing issue), the first is for my app's JARS, the 2nd is for the JavaHelp JAR, the 3rd is for my HelpSet JAR(which contains everything for JavaHelp). The 2nd JNLP is referenced by the first using the "extension" resource spec. Same deal from the 2nd to the 3rd.
The HelpViewer comes up and everything is there EXCEPT the topics. Very strange. I tried all manner of URL specs (from simple to full) in the MAP file but nothing works. Seems JavaHelp will not work with Webstart.
Any ideas?

I figured out the problem.
1. You actually don't need the 3rd JNLP file since you do not need to sign 3rd party JARs already signed.
2. Don't sign JARs that are already signed, just put them in the 2nd JNLP.
3. ANT builds must be carefully written to mimic precisely what your IDE is doing.
a. But, Eclipse does not copy HTML files to output directories no matter what, ignores inclusion filters.
b. Manual JAR tools will archive whatever you tell them to.
4. You must sign any 3rd party JARs that are not already signed or webstart will not allow your app to run.
5. Any missing JARs in your JNLP(s) will cause webstart to throw exceptions but leave your app running in the background, potentially preventing any new instance from running, so you must kill it. This masks your fixes.
6. Webstart and JavaHelp documentation needs a lot of work.
I could go on and on.

Similar Messages

  • Security Exception with JavaHelp and Webstart

    I have seen several posts on here concerning JavaHelp with Webstart, but no one seems to be getting the same error that I have. Everything works fine if I run the application and launch help outside of Webstart.
    When I download the app using webstart, my helpset seems to get loaded properly, but I get the following error when trying to launch JavaHelp from within the application:
    Parsing failed for null
    Exception caught while parsing nulljava.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
    java.lang.NullPointerException
    I'm not quite sure why it's trying to access the property user.home, but it doesn't seem that others that have post get this error.
    Does anyone have any suggestions?
    Thanks.

    Ok... this appears to be an issue with the new JavaHelp 2.0 because it works perfectly fine in version 1.3
    It appears that version 2.0 has a "favorites" section that, I'm guessing here, stores the users favorites locally. That would be why the user.home property gets accessed and the security policy is violated with Webstart.
    I can't say that this is a bug... maybe I can disable the "favorites" feature... either that or I need to stick with JavaHelp 1.3
    Thanks.

  • Database deployment with WebStart

    Hello all,
    we want to deploy a mysql database with WebStart. Our application connects to the database on the local client. The connection works, but how can we install the database on clients that do not have a mysql database installed? So we want WebStart to do the following tasks:
    1) Check for an installed Mysql database
    2) Install a Mysql database if it is not already installed on the first time that our application is installed
    3) Connect to the database and initial it with our tables
    Thanks a lot for every help !!
    Greetings Rene

    I believe your expectations are a bit much for JWS. You could probably use JWS to launch your own launcher, a Java application you'd have to build which would do all the things you need, assuming you can package everything inside of a JAR .

  • SAP Strategy Management 7.0 SSM Component Deployment failed with JSPM

    Dear experts,
    i have installed a SAP Netweaver CE 7.1 on Windows Server 2003 Enterprise x64 with MS SQL and i wish to install now SAP Strategy Management 7.0 with JSPM Tool.
    I have copied the CPMSTRMGMAPC00_0.SCA file on the usr\sap\trans\EPS\in\ directory and the deployment precessus failed with error before the AS JAVA has been restarted.
    How can i manage this problem? Any suggestion is welcomed.
    Thank you very much.
    Best regards,
    Pascal.

    Any ideas?
    Here is the F:\usr\sap\PI7\J71\j2ee\JSPM\log\log_2009_06_15_12_51_48\deploy_2009-06-15_14-56-58.log
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.7.1006]/>
    <!NAME[F:\usr\sap\PI7\J71\j2ee\JSPM\log\log_2009_06_15_12_51_48\deploy_2009-06-15_13-07-03.log]/>
    <!PATTERN[deploy_2009-06-15_13-07-03.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%25d[%6s]:%m)]/>
    <!ENCODING[UTF8]/>
    <!LOGHEADER[END]/>
    Jun 15, 2009 1:07:03 PM  [Info  ]:DC API is trying to connect to 'sap-pi7:57104'
    Jun 15, 2009 1:07:03 PM  [Info  ]:DC API has Connected to 'sap-pi7:57104'
    Jun 15, 2009 1:07:03 PM  [Path  ]:+++++ Starting  V A L I D A T E action +++++[ deployerId=2 ]. timerId=7
    Jun 15, 2009 1:07:03 PM  [Path  ]:Selected archives for validation. [ deployerId=2 ]
    Jun 15, 2009 1:07:03 PM  [Path  ]:
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca
    Jun 15, 2009 1:07:03 PM  [Debug ]:Got full sdu path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca'
    Jun 15, 2009 1:07:03 PM  [Path  ]:component version handling rule is UpdateLowerVersionsOnly.[ deployerId=2 ]
    Jun 15, 2009 1:07:03 PM  [Path  ]:deployment workflow strategy is safety deploy strategy.[ deployerId=2 ]
    Jun 15, 2009 1:07:03 PM  [Path  ]:life cycle deploy strategy is disable LCM deploy strategy.[ deployerId=2 ]
    Jun 15, 2009 1:07:03 PM  [Path  ]:Error strategies[ deployerId=2 ]:
    Jun 15, 2009 1:07:03 PM  [Path  ]:error action 'DeploymentAction' is 'OnErrorStop'
    Jun 15, 2009 1:07:03 PM  [Path  ]:error action 'PrerequisitesCheckAction' is 'OnErrorSkipDepending'
    Jun 15, 2009 1:07:03 PM  [Debug ]:deployer initialized successfully:[id:#8, elapsed: 0 ms.].[ deployerId=2 ]
    Jun 15, 2009 1:07:03 PM  [Debug ]:Total time:[#8: 0.0 sec].[ deployerId=2 ]
    Jun 15, 2009 1:07:03 PM  [Info  ]:Start validating.[ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Path  ]:Validating completed. Preparing the validation result.
    Jun 15, 2009 1:07:06 PM  [Path  ]:
    Sorted Items -
         1. Client path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca --> xappscpmsm~strategymanagement.sda'
         Sdu info :name 'xappscpmsm~strategymanagement', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '2465295', software type ('J2EE', sub type ''), dependencies :[none]
              Deploy status is 'Admitted'
         2. Client path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca'
         Sdu info :name 'CPM_STR_MGM_APC', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '1000.700.0.1.0.20080221071842'
              Deploy status is 'Admitted'
    Deployment Items -
         1. Client path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca'
         Sdu info :name 'CPM_STR_MGM_APC', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '1000.700.0.1.0.20080221071842'
              Deploy status is 'Admitted'
              Time statistics:
              Contained DCs:
              1.1:name 'xappscpmsm~strategymanagement', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '2465295', software type ('J2EE', sub type ''), dependencies :[none]          
                        Deploy status is 'Admitted'
              1.2:name 'xappscpmsm~strategymanagementactions', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '2465041', software type ('J2EE', sub type ''), dependencies :[none]          
                        Deploy status is 'AlreadyDeployed'
                        Description:'1. Already deployed component has version:2465041'.
              1.3:name 'xappscpmsm~strategymanagementdoc', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '2465046', software type ('J2EE', sub type ''), dependencies :[none]          
                        Deploy status is 'AlreadyDeployed'
                        Description:'1. Already deployed component has version:2465046'.
              1.4:name 'xappscpmsm~strategymanagementdic', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '2465042', software type ('JDDSCHEMA', sub type ''), dependencies :[none]          
                        Deploy status is 'AlreadyDeployed'
                        Description:'1. Already deployed component has version:2465042'.
    Jun 15, 2009 1:07:06 PM  [Info  ]:+++ Validation finished with status 'Success' +++[ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Path  ]:+++++ End  V A L I D A T E action +++++[ deployerId=2 ]. Total time:[#7: 3.016 sec]
    Jun 15, 2009 1:07:06 PM  [Path  ]:+++++ Starting  D E P L O Y action +++++ [ deployerId=2 ] [ timerId=9]
    Jun 15, 2009 1:07:06 PM  [Path  ]:Selected archives for deployment. [ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Path  ]:
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca
    Jun 15, 2009 1:07:06 PM  [Debug ]:Got full sdu path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca'
    Jun 15, 2009 1:07:06 PM  [Path  ]:component version handling rule is UpdateLowerVersionsOnly.[ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Path  ]:deployment workflow strategy is safety deploy strategy.[ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Path  ]:life cycle deploy strategy is disable LCM deploy strategy.[ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Path  ]:Error strategies[ deployerId=2 ]:
    Jun 15, 2009 1:07:06 PM  [Path  ]:error action 'DeploymentAction' is 'OnErrorStop'
    Jun 15, 2009 1:07:06 PM  [Path  ]:error action 'PrerequisitesCheckAction' is 'OnErrorStop'
    Jun 15, 2009 1:07:06 PM  [Debug ]:deployer initialized successfully:[id:#11, elapsed: 15 ms.].[ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Debug ]:Total time:[#11: 0.015 sec].[ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Path  ]:Starting deployment.[ deployerId=2 ]
    Jun 15, 2009 1:07:17 PM  [Debug ]:clusterRestartTriggered for transactionId:223, clusterEventAction:cluster restart triggered
    Jun 15, 2009 1:07:17 PM  [Debug ]:Mark transaction '223' as offline phase.
    Jun 15, 2009 1:07:17 PM  [Info  ]:+++ Performing offline deployment. Server is being restarted +++.The timeout for the operation is:  86400 sec.
    Jun 15, 2009 1:07:17 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 0 ms.
    Jun 15, 2009 1:07:47 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 484 ms.
    Jun 15, 2009 1:08:19 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 30484 ms.
    Jun 15, 2009 1:08:49 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 62140 ms.
    Jun 15, 2009 1:09:19 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 92156 ms.
    Jun 15, 2009 1:09:49 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 122171 ms.
    Jun 15, 2009 1:10:19 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 152171 ms.
    Jun 15, 2009 1:10:49 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 182296 ms.
    Jun 15, 2009 1:11:20 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 212905 ms.
    Jun 15, 2009 1:12:22 PM  [Info  ]:Engine is up and running. Wait for engine deployment result.
    Jun 15, 2009 1:12:22 PM  [Debug ]:DC API will create new CM
    Jun 15, 2009 1:12:52 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 305686 ms.
    Jun 15, 2009 1:13:22 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 335685 ms.
    Jun 15, 2009 1:13:53 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 365701 ms.
    Jun 15, 2009 1:14:23 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 395701 ms.
    Jun 15, 2009 1:14:53 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 425763 ms.
    Jun 15, 2009 1:15:24 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 456856 ms.
    Jun 15, 2009 1:15:54 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 487012 ms.
    Jun 15, 2009 1:15:57 PM  [Info  ]:Engine is up and running. Wait for engine deployment result.
    Jun 15, 2009 1:15:57 PM  [Info  ]:server is online, time:[id:#10, elapsed: 520059 ms.]
    Jun 15, 2009 1:15:57 PM  [Path  ]:Deployment completed. Preparing the deployment result.[ deployerId=2 ]
    Jun 15, 2009 1:15:57 PM  [Path  ]:
    Sorted Items -
         1. Client path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca --> xappscpmsm~strategymanagement.sda'
         Sdu info :name 'xappscpmsm~strategymanagement', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '2465295', software type ('J2EE', sub type ''), dependencies :[none]
              Deploy status is 'Aborted'
              Description:'1. class com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException
               -> class java.lang.NullPointerException'.
         2. Client path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca'
         Sdu info :name 'CPM_STR_MGM_APC', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '1000.700.0.1.0.20080221071842'
              Deploy status is 'Aborted'
              Description:'1. Contains Aborted deployment component:
    sdu id: sap.com_xappscpmsm~strategymanagement
    sdu file path: F:\usr\sap\PI7\J71\j2ee\cluster\server0\.\temp\tcbldeploy_controller\archives\223\CPMSTRMGMAPC00_0_sca1245064026979\DEPLOYARCHIVES\xappscpmsm~strategymanagement.sda
    version status: NEW
    deployment status: Aborted
    description: 1. class com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException
               -> class java.lang.NullPointerException'.
    Deployment Items -
         1. Client path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca'
         Sdu info :name 'CPM_STR_MGM_APC', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '1000.700.0.1.0.20080221071842'
              Deploy status is 'Aborted'
              Description:'1. Contains Aborted deployment component:
    sdu id: sap.com_xappscpmsm~strategymanagement
    sdu file path: F:\usr\sap\PI7\J71\j2ee\cluster\server0\.\temp\tcbldeploy_controller\archives\223\CPMSTRMGMAPC00_0_sca1245064026979\DEPLOYARCHIVES\xappscpmsm~strategymanagement.sda
    version status: NEW
    deployment status: Aborted
    description: 1. class com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException
               -> class java.lang.NullPointerException'.
              Time statistics:
              Contained DCs:
              1.1:name 'xappscpmsm~strategymanagementdic', vendor 'sap.com', location 'n/a', version '1', software type ('n/a', sub type ''), dependencies :[none]          
                        Deploy status is 'AlreadyDeployed'
                        Description:'1. Already deployed component has version:2465042'.
              1.2:name 'xappscpmsm~strategymanagementdoc', vendor 'sap.com', location 'n/a', version '1', software type ('n/a', sub type ''), dependencies :[none]          
                        Deploy status is 'AlreadyDeployed'
                        Description:'1. Already deployed component has version:2465046'.
              1.3:name 'xappscpmsm~strategymanagement', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '2465295', software type ('J2EE', sub type ''), dependencies :[none]          
                        Deploy status is 'Aborted'
              Time statistics( ms ):
                   1.deployment : 34906
                        1.1.Notify:Event triggered : 157
                        1.2.Disable LCM deployment : 34656
                             1.2.1.Perform delivery : 34656
                                  1.2.1.1.Application Deployer : 34656
                        1.3.Notify Observers : 15
                             1.3.1.Persist in storage : 15
                        1.4.Notify:Event performed : 78
                   2.Persist in storage : 16
                        Description:'1. class com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException
               -> class java.lang.NullPointerException'.
              1.4:name 'xappscpmsm~strategymanagementactions', vendor 'sap.com', location 'n/a', version '1', software type ('n/a', sub type ''), dependencies :[none]          
                        Deploy status is 'AlreadyDeployed'
                        Description:'1. Already deployed component has version:2465041'.
    Jun 15, 2009 1:15:57 PM  [Info  ]:
    Deploy Result Description: Deployment exception occurred during deploy online data. Reason :An error occurred while deploying the deployment item 'sap.com_xappscpmsm~strategymanagement'.; nested exception is:
         com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] An error occurred during deployment of sap.com_xappscpmsm~strategymanagement. Cannot deploy it.
    [ deployerId=2 ]
    Jun 15, 2009 1:15:57 PM  [Info  ]:+++ Deployment finished with status 'Error' +++.[ deployerId=2 ][#10: 530.465 sec]
    Jun 15, 2009 1:15:57 PM  [Path  ]:+++++ End  D E P L O Y action +++++[ deployerId=2 ]. Total time:[#9: 530.465 sec]
    Jun 15, 2009 1:15:57 PM  [Debug ]:Incorrect client ID. The stub is not connected yet.
    Jun 15, 2009 1:15:57 PM  [Debug ]:Incorrect client ID. The stub is not connected yet.

  • Please help: deploy Bean with "No resource available" error for M:N relationship

    Hi all,
    I wonder any one comes across with deploying beans with M:N relationship with
    "No resource available".
    I defined the relationship in ejb-jar.xml and dbms in the
    weblogic-cmp-rdbms-jar.xml, but when I deployed the beans I got
    the following error
    ------ Error message-----
    weblogic.common.ResourceException: No resources available at weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
    java:568) at weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
    java:400) at weblogic.common.internal.ResourceAllocator.reserveNoWait(ResourceAllo
    cator.java:368) at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.j
    ava:166) at weblogic.jdbc.common.internal.ConnectionPool.reserveNoWait(Connection
    Pool.java:127) at weblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiData
    Source.java:194) at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSour
    ce.java:219) at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSP
    ersistenceManager.java:317) at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.createDefaultDBMSTab
    le(RDBMSPersistenceManager.java:1149) at weblogic.ejb20.utils.TableVerifier.verifyTableExistsAndCreateMaybe(Ta
    bleVerifier.java:428) at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.verifyTablesExist(RD
    Unable to deploy EJB: CustomerBean from \ejb:
    Errors encountered ''The Container-Managed Persistence Entity EJB failed while
    creating its SQL Type Map. The error was: Invalid object name 'localcustomer_localsubscription'.
    Severity 16, State 1, Procedure 'IVM_SERVER null', Line 1', 'Error encountered
    while attempting to create Default DBMS Table: 'localcustomer_localsubscription'.
    Error Text: 'weblogic.common.ResourceException: No resource s available'.''
    ---------------End error ----------------------
    ---------------my ejb-jar.xml
    <ejb-jar>
    - <enterprise-beans>
    - <entity>
    <ejb-name>AddressBean</ejb-name>
    <local-home>customer.LocalAddressHome</local-home>
    <local>customer.LocalAddress</local>
    <ejb-class>customer.AddressBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    - <cmp-field>
    <field-name>addressID</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>street</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>city</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>zip</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>state</field-name>
    </cmp-field>
    <primkey-field>addressID</primkey-field>
    </entity>
    - <entity>
    <ejb-name>CustomerBean</ejb-name>
    <local-home>customer.LocalCustomerHome</local-home>
    <local>customer.LocalCustomer</local>
    <ejb-class>customer.CustomerBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <abstract-schema-name>CustomerBean</abstract-schema-name>
    - <cmp-field>
    <field-name>customerID</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>firstName</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>lastName</field-name>
    </cmp-field>
    <primkey-field>customerID</primkey-field>
    - <query>
    - <query-method>
    <method-name>findByLastName</method-name>
    - <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM CustomerBean AS o
      ]]>
    </ejb-ql>
    </query>
    - <query>
    - <query-method>
    <method-name>findByFirstName</method-name>
    - <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM CustomerBean AS o
      ]]>
    </ejb-ql>
    </query>
    </entity>
    - <entity>
    <ejb-name>SubscriptionBean</ejb-name>
    <local-home>customer.LocalSubscriptionHome</local-home>
    <local>customer.LocalSubscription</local>
    <ejb-class>customer.SubscriptionBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <abstract-schema-name>SubscriptionBean</abstract-schema-name>
    - <cmp-field>
    <field-name>type</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>title</field-name>
    </cmp-field>
    <primkey-field>title</primkey-field>
    - <query>
    - <query-method>
    <method-name>findAllSubscriptions</method-name>
    <method-params />
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM SubscriptionBean AS o
      ]]>
    </ejb-ql>
    </query>
    </entity>
    </enterprise-beans>
    - <relationships>
    - <ejb-relation>
    <ejb-relation-name>LocalCustomer-LocalAddress</ejb-relation-name>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalCustomer-Has-LocalAddresss</ejb-relationship-role-name>
    <multiplicity>one</multiplicity>
    - <relationship-role-source>
    <ejb-name>CustomerBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>addresses</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalAddress-Has-LocalCustomer</ejb-relationship-role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>AddressBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>customer</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    - <ejb-relation>
    <ejb-relation-name>LocalCustomer-LocalSubscription</ejb-relation-name>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalCustomers-Have-LocalSubscriptions</ejb-relationship-role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>CustomerBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>subscriptions</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalSubscriptions-Have-LocalCustomers</ejb-relationship-role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>SubscriptionBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>customers</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    </relationships>
    - <assembly-descriptor>
    - <container-transaction>
    - <method>
    <ejb-name>AddressBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    - <container-transaction>
    - <method>
    <ejb-name>CustomerBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    - <container-transaction>
    - <method>
    <ejb-name>SubscriptionBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    ------------------End of ejb-jar.xml---------------
    Please help
    Thanks in advance
    Mike

    Hi Gaurav,
    Other applications used the same the datasource, which I used for this application,
    are running fine.
    I think there is some bug in the wlserver 6.1 to create the join table. I think
    it is the time I should ask the bea wlserver 6.1.
    Mike
    "Gaurav Khanna" <[email protected]> wrote:
    This implies that there are no database connections available. You need
    to
    check if you can log into your database instance. By default there are
    30
    connections specified for an instance in Oracle. FYI.
    "Mike" <[email protected]> wrote in message
    news:[email protected]...
    Hi all,
    I wonder any one comes across with deploying beans with M:Nrelationship with
    "No resource available".
    I defined the relationship in ejb-jar.xml and dbms in the
    weblogic-cmp-rdbms-jar.xml, but when I deployed the beans I got
    the following error
    ------ Error message-----
    weblogic.common.ResourceException: No resources available atweblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
    java:568) atweblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
    java:400) atweblogic.common.internal.ResourceAllocator.reserveNoWait(ResourceAllo
    cator.java:368) atweblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.j
    ava:166) atweblogic.jdbc.common.internal.ConnectionPool.reserveNoWait(Connection
    Pool.java:127) atweblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiData
    Source.java:194) atweblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSour
    ce.java:219) atweblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSP
    ersistenceManager.java:317) atweblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.createDefaultDBMSTab
    le(RDBMSPersistenceManager.java:1149) atweblogic.ejb20.utils.TableVerifier.verifyTableExistsAndCreateMaybe(Ta
    bleVerifier.java:428) atweblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.verifyTablesExist(RD
    Unable to deploy EJB: CustomerBean from \ejb:
    Errors encountered ''The Container-Managed Persistence Entity EJB failedwhile
    creating its SQL Type Map. The error was: Invalid object name'localcustomer_localsubscription'.
    Severity 16, State 1, Procedure 'IVM_SERVER null', Line 1', 'Errorencountered
    while attempting to create Default DBMS Table:'localcustomer_localsubscription'.
    Error Text: 'weblogic.common.ResourceException: No resource savailable'.''
    ---------------End error ----------------------
    ---------------my ejb-jar.xml
    <ejb-jar>
    - <enterprise-beans>
    - <entity>
    <ejb-name>AddressBean</ejb-name>
    <local-home>customer.LocalAddressHome</local-home>
    <local>customer.LocalAddress</local>
    <ejb-class>customer.AddressBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    - <cmp-field>
    <field-name>addressID</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>street</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>city</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>zip</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>state</field-name>
    </cmp-field>
    <primkey-field>addressID</primkey-field>
    </entity>
    - <entity>
    <ejb-name>CustomerBean</ejb-name>
    <local-home>customer.LocalCustomerHome</local-home>
    <local>customer.LocalCustomer</local>
    <ejb-class>customer.CustomerBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <abstract-schema-name>CustomerBean</abstract-schema-name>
    - <cmp-field>
    <field-name>customerID</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>firstName</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>lastName</field-name>
    </cmp-field>
    <primkey-field>customerID</primkey-field>
    - <query>
    - <query-method>
    <method-name>findByLastName</method-name>
    - <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM CustomerBean AS o
    ]]>
    </ejb-ql>
    </query>
    - <query>
    - <query-method>
    <method-name>findByFirstName</method-name>
    - <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM CustomerBean AS o
    ]]>
    </ejb-ql>
    </query>
    </entity>
    - <entity>
    <ejb-name>SubscriptionBean</ejb-name>
    <local-home>customer.LocalSubscriptionHome</local-home>
    <local>customer.LocalSubscription</local>
    <ejb-class>customer.SubscriptionBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <abstract-schema-name>SubscriptionBean</abstract-schema-name>
    - <cmp-field>
    <field-name>type</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>title</field-name>
    </cmp-field>
    <primkey-field>title</primkey-field>
    - <query>
    - <query-method>
    <method-name>findAllSubscriptions</method-name>
    <method-params />
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM SubscriptionBean AS o
    ]]>
    </ejb-ql>
    </query>
    </entity>
    </enterprise-beans>
    - <relationships>
    - <ejb-relation>
    <ejb-relation-name>LocalCustomer-LocalAddress</ejb-relation-name>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalCustomer-Has-LocalAddresss</ejb-relationshi
    p-role-name>
    <multiplicity>one</multiplicity>
    - <relationship-role-source>
    <ejb-name>CustomerBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>addresses</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalAddress-Has-LocalCustomer</ejb-relationship
    -role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>AddressBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>customer</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    - <ejb-relation>
    <ejb-relation-name>LocalCustomer-LocalSubscription</ejb-relation-name>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalCustomers-Have-LocalSubscriptions</ejb-rela
    tionship-role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>CustomerBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>subscriptions</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalSubscriptions-Have-LocalCustomers</ejb-rela
    tionship-role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>SubscriptionBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>customers</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    </relationships>
    - <assembly-descriptor>
    - <container-transaction>
    - <method>
    <ejb-name>AddressBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    - <container-transaction>
    - <method>
    <ejb-name>CustomerBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    - <container-transaction>
    - <method>
    <ejb-name>SubscriptionBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    ------------------End of ejb-jar.xml---------------
    Please help
    Thanks in advance
    Mike

  • Issue with create deployment order with BAPI_POSRVAPS_SAVEMULTI3

    Hi Experts,
      We are trying to create deployment orders with BAPI_POSRVAPS_SAVEMULTI3. The following are the input:
    LOGICAL_SYSTEM                  RR1CLNT010
    ORDER_TYPE                      2
    EXT_NUMBER_ASSIGNMENT
    COMMIT_CONTROL                  E
    PLNG_VERSION                    000
    NO_CREATE
    PLANNING_MODE_USAGE             0
    EVENT_CONTROL                   1
    And for receipts and requirement, we put ATP category as EG and EF.
    But it return error 'Events are supported only for Purchase Requisitions'. For u2018EGu2019 and 'EF', I can see it is category typ '2'.
    Does this BAPI able to create deployment STR or it can only create SNP STR?
    Thanks.
    best regards,
    Wenyan

    Hi Wenyan,
    In the BAPI, the following code should be responsible for the error message:
    * -> check: event_control is only available for purchase requisition
      if event_control = gc_apo_bapi_create_event and order_type <> gc_requisition.
    *   -> error message
        _apo_bapi_message_add_itab0 gc_error gc_apo_bapi_msgclass '342'
        return.
        lv_error = gc_true.
      endif.
    The relevant constants are:
    * -> constants for event control
    CONSTANTS:
      gc_apo_bapi_no_event TYPE bapi10503eventcontrol VALUE space,   "collect but no direct sending
      gc_apo_bapi_create_event TYPE bapi10503eventcontrol VALUE '1',     "collect + send event
      gc_apo_bapi_no_event_collect TYPE bapi10503eventcontrol VALUE '2'. " no collect and no sending
    *--> External Order types
    CONSTANTS:
    *  Bestand
    gc_stock              TYPE /sapapo/r3obj VALUE '0',
    *  Bestellanforderung
    gc_requisition        TYPE /sapapo/r3obj VALUE '1',
    *  Bestellung
    gc_purchase_order     TYPE /sapapo/r3obj VALUE '2',
    As you can see, if you want to create an order other than SNP purchase requistion, you cannot set the control_event as '1'.
    Best Regards,
    Ada

  • Failure occurred in the execution of deployment request with ID '1219300288

    I deployed my JSF application from workspacestudio 1.1 (workshop for weblogic 10) to weblogic 10 server. It works fine for me.
    All other teammates are facing problem with their deployment. They get an error as
    <Failure occurred in the execution of deployment request with ID '1219300288452' for task '0'. Error is: 'weblogic.application.ModuleException: com.sun.faces.util.Util.getLogger(Ljava/lang/String;)Ljava/util/logging/Logger;'
    Please can someone tell me the reason for this behaviour?
    Here's the stack trace:
    <Aug 20, 2008 11:31:15 PM PDT> <Warning> <Server> <BEA-002611> <Hostname "localhost", maps to multiple IP addresses: 10.1.243.73, 127.0.0.1> <Aug 20, 2008 11:31:15 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING> <Aug 20, 2008 11:31:15 PM PDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode> log4j:WARN No appenders could be found for logger (com.sun.faces.config.ConfigureListener).
    log4j:WARN Please initialize the log4j system properly.
    <Aug 20, 2008 11:31:29 PM PDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1219300288452' for task '0'. Error is: 'weblogic.application.ModuleException: com.sun.faces.util.Util.getLogger(Ljava/lang/String;)Ljava/util/logging/Logger;'
    weblogic.application.ModuleException: com.sun.faces.util.Util.getLogger(Ljava/lang/String;)Ljava/util/logging/Logger;
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:977)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:361)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         Truncated. see log file for complete stacktrace
    java.lang.NoSuchMethodError: com.sun.faces.util.Util.getLogger(Ljava/lang/String;)Ljava/util/logging/Logger;
         at com.sun.faces.application.WebappLifecycleListener.<clinit>(WebappLifecycleListener.java:67)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         Truncated. see log file for complete stacktrace
    >
    <Aug 20, 2008 11:31:30 PM PDT> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'ipro'.> <Aug 20, 2008 11:31:30 PM PDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'ipro'.> <Aug 20, 2008 11:31:30 PM PDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: com.sun.faces.util.Util.getLogger(Ljava/lang/String;)Ljava/util/logging/Logger;
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:977)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:361)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         Truncated. see log file for complete stacktrace
    java.lang.NoSuchMethodError: com.sun.faces.util.Util.getLogger(Ljava/lang/String;)Ljava/util/logging/Logger;
         at com.sun.faces.application.WebappLifecycleListener.<clinit>(WebappLifecycleListener.java:67)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         Truncated. see log file for complete stacktrace
    >
    <Aug 20, 2008 11:31:30 PM PDT> <Warning> <Deployer> <BEA-149252> <No deployment 'ipro' found for Operation stop.>

    I created JSF app in the workshop for weblogic 10 and submitted the code to source control.
    Team mates took the latest revision and build the project on their machine, which has same installation workshop for weblogic 10 as mine( we use same installler)
    Thus the project have same code no difference at all.

  • MDT 2012U1 / Windows 8 deployment - impossible to add a role when deploying windows with language pack

    Hello,
    I am having a problem deploying Windows 8 with language packs and adding at the same time a role/feature (netfx3).
    What I have done is creating a Standard Client Task Sequence. In the task sequence I have added, in the State Restore phase, the step Install Roles and Features (where only .Net Framework 3.5 is selected). I have configured nothing else !
    If I use this task sequence, everything is ok; Windows 8 is well deployed and NetFx3 feature is installed.
    Now, if I add one or more language packs in the MDT console and select them when using the previously created task sequence, the deployment fails with one error : ERROR - NetFx3 role processing with DISM.exe failed, rc = -2146498529.
    The language packs are well installed but as the error message says, NetFx3 is not installed.
    In the ZTIOSRole.log I can find this :
    <![LOG[Microsoft Deployment Toolkit version: 6.1.2373.0]LOG]!><time="12:55:04.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[The task sequencer log is located at C:\Users\ADMINI~1\AppData\Local\Temp\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log.]LOG]!><time="12:55:04.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1"
    thread="" file="ZTIOSRole">
    <![LOG[Roles will be installed.]LOG]!><time="12:55:04.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[No items were specified in variable OSRoles.]LOG]!><time="12:55:04.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[No items were specified in variable OSRoleServices.]LOG]!><time="12:55:04.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[Features specified in Feature:]LOG]!><time="12:55:04.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[  NetFx3]LOG]!><time="12:55:04.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[No items were specified in variable OptionalOSRoles.]LOG]!><time="12:55:04.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[No items were specified in variable OptionalOSRoleServices.]LOG]!><time="12:55:04.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[No items were specified in variable OptionalOSFeatures.]LOG]!><time="12:55:04.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[ZTI Heartbeat: Processing roles (0% complete]LOG]!><time="12:55:04.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[Event 41003 sent: ZTI Heartbeat: Processing roles (0% complete]LOG]!><time="12:55:04.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[Validating connection to \\HPZ820\ZENPROD01$\Operating Systems\W8ENTSP0x64]LOG]!><time="12:55:04.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread=""
    file="ZTIOSRole">
    <![LOG[Already connected to server HPZ820 as that is where this script is running from.]LOG]!><time="12:55:05.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[Copying source files locally from \\HPZ820\ZENPROD01$\Operating Systems\W8ENTSP0x64\sources\sxs]LOG]!><time="12:55:05.000+000" date="10-24-2012" component="ZTIOSRole" context=""
    type="1" thread="" file="ZTIOSRole">
    <![LOG[About to execute command: cmd.exe /c C:\windows\system32\DISM.exe /Online /Enable-Feature /FeatureName:"NetFx3" /Source:"C:\MININT\sources\X64" /LimitAccess /All /NoRestart /logpath:C:\MININT\SMSOSD\OSDLOGS\ZTIOSRole_Dism.log >> C:\MININT\SMSOSD\OSDLOGS\ZTIOSRole_DismConsole.log]LOG]!><time="12:55:24.000+000"
    date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[ERROR - NetFx3 role processing with DISM.exe failed, rc = -2146498529]LOG]!><time="12:55:57.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="3" thread="" file="ZTIOSRole">
    <![LOG[Property InstalledRoles001 is now = NETFX3]LOG]!><time="12:55:57.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[Role processing complete.]LOG]!><time="12:55:57.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[ZTIOSRole processing completed successfully.]LOG]!><time="12:55:57.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[Event 41001 sent: ZTIOSRole processing completed successfully.]LOG]!><time="12:55:58.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    If I take the same log file from a machine where I have used the same task sequence but without deploying language packs, I can find that :
    <![LOG[Microsoft Deployment Toolkit version: 6.1.2373.0]LOG]!><time="13:59:57.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[The task sequencer log is located at C:\Users\ADMINI~1\AppData\Local\Temp\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log.]LOG]!><time="13:59:57.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1"
    thread="" file="ZTIOSRole">
    <![LOG[Roles will be installed.]LOG]!><time="13:59:57.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[No items were specified in variable OSRoles.]LOG]!><time="13:59:57.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[No items were specified in variable OSRoleServices.]LOG]!><time="13:59:57.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[Features specified in Feature:]LOG]!><time="13:59:57.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[  NetFx3]LOG]!><time="13:59:57.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[No items were specified in variable OptionalOSRoles.]LOG]!><time="13:59:57.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[No items were specified in variable OptionalOSRoleServices.]LOG]!><time="13:59:57.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[No items were specified in variable OptionalOSFeatures.]LOG]!><time="13:59:57.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[ZTI Heartbeat: Processing roles (0% complete]LOG]!><time="13:59:57.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[Event 41003 sent: ZTI Heartbeat: Processing roles (0% complete]LOG]!><time="13:59:57.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[Validating connection to \\HPZ820\ZENPROD01$\Operating Systems\W8ENTSP0x64]LOG]!><time="13:59:57.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread=""
    file="ZTIOSRole">
    <![LOG[Already connected to server HPZ820 as that is where this script is running from.]LOG]!><time="13:59:57.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[Copying source files locally from \\HPZ820\ZENPROD01$\Operating Systems\W8ENTSP0x64\sources\sxs]LOG]!><time="13:59:57.000+000" date="10-24-2012" component="ZTIOSRole" context=""
    type="1" thread="" file="ZTIOSRole">
    <![LOG[About to execute command: cmd.exe /c C:\windows\system32\DISM.exe /Online /Enable-Feature /FeatureName:"NetFx3" /Source:"C:\MININT\sources\X64" /LimitAccess /All /NoRestart /logpath:C:\MININT\SMSOSD\OSDLOGS\ZTIOSRole_Dism.log >> C:\MININT\SMSOSD\OSDLOGS\ZTIOSRole_DismConsole.log]LOG]!><time="14:00:20.000+000"
    date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[NetFx3 role processing succeeded, rc = 0]LOG]!><time="14:03:50.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[Property InstalledRoles001 is now = NETFX3]LOG]!><time="14:03:50.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[Role processing complete.]LOG]!><time="14:03:50.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[ZTIOSRole processing completed successfully.]LOG]!><time="14:03:50.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    <![LOG[Event 41001 sent: ZTIOSRole processing completed successfully.]LOG]!><time="14:03:51.000+000" date="10-24-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
    As you can see, in both logfile, the source are copied from the same folder.
    Does anyone have an idea ? what am I missing ?
    I have easily reproduced the problem on another computer (installing ADK/MDT, installing OS and creating task sequence).
    Thanks in advance for your help.
    Marc.

    Hello,
    Workaround:
    1. copy stock sxs folder to local disk (e.g c:\sxs)
    2. make a direct internet connection (don't use proxy!)
    3. open admin command prompt and type: DISM.exe /online /enable-feature /featurename:NetFX3 /All /Source:c:\sxs
    4. after the successful install find the c:\windows\winsxs folder and sort by date
    5. copy new folders (that are equal to current date) to deployment share's sxs folder (overwrite)
    And now, try standard MDT install (create "Install Role And Feature" step in the Task Sequence, enable .NET install).

  • My application doesn't work with Webstart

    I have been trying to convert/get my application to work with webstart
    and I am at a very frustrating point. I have removed all calls to local files and replaced them
    with URL calls. I still get the following error, please help:
    java.lang.NoClassDefFoundError: org/w3c/dom/DOMException
         at did.gui.TrueViz.buildComponents(C:/trueviz-1_02/src/TrueViz.java:282)
         at did.gui.TrueViz.<init>(C:/trueviz-1_02/src/TrueViz.java:166)
         at did.gui.TrueViz.main(C:/trueviz-1_02/src/TrueViz.java:615)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.sun.javaws.Launcher.executeApplication(Unknown Source)
         at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
         at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

    ahhh. No. I didn't include all jar files in my jnlp, exactly how do i do that?
    Do I just put them in after the one existing .jar entry? Thanks!
    here is my jnlp:
    <!--
    # @(#)template.jnlp     1.3 01/04/04
    -->
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="0.2 1.0"
    codebase="http://pathfinder.nlm.nih.gov"
    href="rover.jnlp">
    <information>
    <title>Rover (TrueViz)</title>
    <vendor>National Libray of Medicine, CEB</vendor>
    <homepage href="roverapp.asp"/>
    <description>A visualization and analysis tool for Ground Truth Biomedical Journals</description>
    <icon href="images/draw.jpg"/>
    <offline-allowed/>
    </information>
    <resources>
    <j2se version="1.3+ 1.2+"/>
    <jar href="TrueViz.jar"/>
    </resources>
    <application-desc main-class="did.gui.TrueViz"/>
    </jnlp>

  • Dynamic class loading with Webstart

    Hello !
    //within the jar-file at the webstart-directory
    public interface MyFrame{
    public void createFrame();
    //within the jar-file dynamically downloaded
    public class MyExtFrame extends JFrame implements MyFrame{
    String className = "MyExtFrame";
    ClassLoader cl = ClassLoader.getSystemClassLoader();
    JarClassLoader jarLoader = new JarClassLoader (cl, jarFile));
    /* Load the class from the jar file and resolve it. */
    Class c = jarLoader.loadClass (className, true);
    /* Create an instance of the class.
    Object o = c.newInstance();
    /* Are we using a class we specifically know about? */
    if (o instanceof MyFrame){
    // Yep, lets call a method we know about. */
    MyFrame client=(MyFrame) o;
    //call a class-method (here creates the whole gui-object at once)
    client.createFrame();
    This is the code i'm using and i've encountered following problem, if i put this code into an application without webstart, anything works fine, but with webstart i'll get a: java.lang.NoClassDefFoundError
    Then i've put the MyFrame-classes into the downloaded jar-file, but this won't work either, i'll get a ClassCastException.
    What do i have to do, to become it working ?
    Thanks for any conclusions and help.
    Michael

    Finally i've found out myself, i've read some postings in this forum and put them all together, so that my webstart-application finally works the way i want...
    That was the topic:
    Downloading a jar-file and starting a class from this jar-file within a webstart application (dynamic class loading).
    I'll post my final solution for this problem, may be it would be useful in future for anyone else.
    //grant all permissions on the clientside
    Policy.setPolicy( new Policy() {
    public PermissionCollection getPermissions(CodeSource codesource) {
    Permissions perms = new Permissions();
    perms.add(new AllPermission());
    return(perms);
    public void refresh(){
    //get the current classloader
    ClassLoader cl = MyLoadedClass.class.getClassLoader();
    //create a new url-classloader while using the current classloader
    URL[] urls = new URL[1];
    File f = new File(new String(jarName));
    urls[0] = f.toURL();
    URLClassLoader ul = new URLClassLoader(urls, cl);
    //load a class from jarfile
    Class c = ul.loadClass(new String(className));
    //get an object from loaded class
    Object o = c.newInstance();
    /* Are we using a class we specifically know about? */
    if (o instanceof KnownInterface){
    // Yep, lets call a method we know about. */
    KnownInterface client = (KnownInterface) o;
    client.doAnything();

  • HFM EPMA application deployment aborted with error Object reference not set

    HFM EPMA application deployment aborted with error Object reference not set to an instance of an object when trying to validate/deploy any HFM application in EPMA. This has started happending after we have deleted a Dimension in one of HFM applications. The deleted dimension is a shared dimension.
    We are facing this issue in a distributed environment with version 11.1.2.1. This applications are built here newly.
    Following is the error log entry
    16] ERROR Object reference not set to an instance of an object.
    at Hyperion.DimensionServer.CompareCriteria.<>c__DisplayClass5.<GetMemberClassProperties>b__4(Dimension dim)
    at Hyperion.DimensionServer.Library.IterateDimensions(Action`1 action)
    at Hyperion.DimensionServer.CompareCriteria.GetMemberClassProperties(ApplicationClass appClass, DimensionClass dimClass, MemberClass mbrClass)
    at Hyperion.DimensionServer.CompareCriteria.GetCommonMemberClassProperties(RelationshipMember fromMember, RelationshipMember toMember, ApplicationClass fromAppClass, ApplicationClass toAppClass)
    at Hyperion.DimensionServer.CompareMemberEvaluator.CompareProperties(RelationshipMember fromMember, RelationshipMember toMember, ApplicationClass fromAppClass, ApplicationClass toAppClass, List`1 propertyDifferences)
    at Hyperion.DimensionServer.CompareMemberEvaluator.Compare(RelationshipMember sourceMember, Application sourceApp, Application targetApp, Boolean firstPass, Int32 level, Boolean continueCheckingAfterDifferences)
    at Hyperion.DimensionServer.CompareMemberEvaluator.Compare(List`1 sourceTopMembers, List`1 targetTopMembers, Application sourceApp, Application targetApp, Boolean firstPass, Boolean continueCheckingAfterDifferences)
    at Hyperion.DimensionServer.CompareMemberEvaluator.Execute(List`1 fromTopMembers, List`1 toTopMembers, Dimension fromDimension, Dimension toDimension, Boolean continueCheckingAfterDifferences)
    at Hyperion.DimensionServer.CompareDimensionEvaluator.Execute(Dimension fromDimension, Dimension toDimension, ApplicationClass fromAppClass, ApplicationClass toAppClass)
    at Hyperion.DimensionServer.CompareEngine.CompareDimensions(Dimension fromDimension, Dimension toDimension)
    at Hyperion.DimensionServer.CompareEngine.StartCompare()
    at Hyperion.DimensionServer.Validations.HFMApplicationValidation.CheckStaticDimension(Library snapShot, Dimension dim, Application oldApp, String[] skipProperties)
    at Hyperion.DimensionServer.Validations.HFMApplicationValidation.CheckStaticDimensions(Application baselineApp)
    at Hyperion.DimensionServer.Validations.ApplicationValidation.ValidateAgainstBaseline()
    at Hyperion.DimensionServer.Validations.HFMApplicationValidation.InternalValidate()
    at Hyperion.DimensionServer.Validations.ApplicationValidation.Validate()
    at Hyperion.DimensionServer.Validations.ApplicationValidation.<ValidateAsync>b__0()System.NullReferenceException: Object reference not set to an instance of an object.
    at Hyperion.DimensionServer.CompareCriteria.<>c__DisplayClass5.<GetMemberClassProperties>b__4(Dimension dim)
    at Hyperion.DimensionServer.Library.IterateDimensions(Action`1 action)
    at Hyperion.DimensionServer.CompareCriteria.GetMemberClassProperties(ApplicationClass appClass, DimensionClass dimClass, MemberClass mbrClass)
    at Hyperion.DimensionServer.CompareCriteria.GetCommonMemberClassProperties(RelationshipMember fromMember, RelationshipMember toMember, ApplicationClass fromAppClass, ApplicationClass toAppClass)
    at Hyperion.DimensionServer.CompareMemberEvaluator.CompareProperties(RelationshipMember fromMember, RelationshipMember toMember, ApplicationClass fromAppClass, ApplicationClass toAppClass, List`1 propertyDifferences)
    at Hyperion.DimensionServer.CompareMemberEvaluator.Compare(RelationshipMember sourceMember, Application sourceApp, Application targetApp, Boolean firstPass, Int32 level, Boolean continueCheckingAfterDifferences)
    at Hyperion.DimensionServer.CompareMemberEvaluator.Compare(List`1 sourceTopMembers, List`1 targetTopMembers, Application sourceApp, Application targetApp, Boolean firstPass, Boolean continueCheckingAfterDifferences)
    at Hyperion.DimensionServer.CompareMemberEvaluator.Execute(List`1 fromTopMembers, List`1 toTopMembers, Dimension fromDimension, Dimension toDimension, Boolean continueCheckingAfterDifferences)
    at Hyperion.DimensionServer.CompareDimensionEvalua
    There was a bug in earlier releases for deleting dimensions with children, making the children orphans.
    Heard from release notes that it has been fixed, but we are seeing this issue in 11.1.2.1 again.
    Please help us out in resolving this error.

    Hi,
    I always ask this first, have you installed all the planning and epma patches as there have been many issues addressed in 9.3.1
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Deploying EJB with RAD

    Hello,
    I have an EJB application which uses several external JARs. I added them as a library to the project so that the bean will be able to pass the compilation. However, when I start the server (WebSphere 5.1 Test Environment), I get the exception: addEJBModule failed for ... NoClassDefFoundError...
    I searched for this error and it seems it's related to the classpath, but if I added the library, wasn't it supposed to be deployed automatically with the application? What is missing? (I'm using RAD for development).
    Thanks for any help!

    JavaWisdom wrote:
    SoulTech2012 wrote:
    set your classpath to point to the libraryThat's exactly where my problem lies in. I don't know how to do that in RAD 7. I tried several ways, but couldn't get it to work. The library is actually already in my classpath, No.
    else my code would not have been compiled. Perhaps not true. For example, if you write a class that uses JDBC java.sql interfaces, you can compile just fine even if the driver JAR isn't in the CLASSPATH. It'll only be an issue at runtime.
    It's just when I deploy it and start the server that it can't find the library...Isn't RAD a Java EE compliant app server? Why aren't you packaging these into an EAR file?
    Either way, you screwed up. Look at the IBM docs to see how to do it properly. Stop assuming that you're "right" and defending what you did. You'll find a solution faster.
    %

  • Deployment Diagram with JDeveloper

    Hi,
    is it possible to draw deployment diagrams with JDeveloper's UML tool?
    Regards,
    Ridvan

    'will it be easy to migrate 10.1.3.3 bpel processes using stored procedures, human tasks, decision rules to 11g?' I think a better place to ask this question would be on the SOA Suite forums:
    SOA Suite and OC4J 11g Technology Preview
    SOA Suite

  • Full Deployment failing with Transaction timeout

    Hi
    I am trying to do a full deployment(ATG 10.0.2) and its failing with the same transaction timeout on all environments (local, dev, stage)
    I have tried to reduce the maxThreads to 1 in DeploymentManager but still i get the same exception.
    Incremental deployments seems to be running fine if i deploy anything, like category, products, skus.
    Even the catalog feed runs and deploys fine.
    I have a total of around 1500 products and 7000 skus.
    In BCC screen i see it gives timeout while deploying skus
         Error      Deployment Failed      1051226:sku      2011-08-27 20:04:02.798
    Message Detail:
    CONTAINER:atg.deployment.DistributedDeploymentException; SOURCE:CONTAINER:atg.repository.RepositoryException; SOURCE:org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImple < ac, BasicAction: ada0e22:4593:4e59847c:5e57e8 status: ActionStatus.ABORTING >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: ada0e22:4593:4e59847c:5e57e8 status: ActionStatus.ABORTING >) at atg.deployment.repository.RepositoryWorkerThread.processMarkerForReferenceUpdatePhase(RepositoryWorkerThread.java:346) at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:540) at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:307)
    In the logs i see the following exceptions::
    20:03:54,827 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_58] - Abort of action id ada0e22:4593:4e59847c:5e57e8 invoked while multiple threads a
    ctive within it.
    20:03:54,827 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.CheckedAction_2] - CheckedAction::check - atomic action ada0e22:4593:4e59847c:5e57e8 aborting with
    1 threads active!
    20:03:55,329 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TransactionReaper_18] - TransactionReaper::check timeout for TX ada0e22:4593:4e59847c:5e57e8 in st
    ate CANCEL
    20:03:55,831 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TransactionReaper_18] - TransactionReaper::check timeout for TX ada0e22:4593:4e59847c:5e57e8 in st
    ate CANCEL_INTERRUPTED
    20:03:55,831 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TransactionReaper_6] - TransactionReaper::check worker Thread[Thread-138,5,jboss] not responding t
    o interrupt when cancelling TX ada0e22:4593:4e59847c:5e57e8 -- worker marked as zombie and TX scheduled for mark-as-rollback
    20:03:55,831 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TransactionReaper_11] - TransactionReaper::check failed to mark TX ada0e22:4593:4e59847c:5e57e8 a
    s rollback only
    20:04:01,934 INFO [DeploymentManager] DEBUG RepositoryWorkerThread-1(Reference Update Phase) Rolling Back Current Transaction
    20:04:02,021 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_40] - Abort called on already aborted atomic action ada0e22:4593:4e59847c:5e57e8
    20:04:02,022 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TransactionReaper_13] - TransactionReaper::doCancellations worker Thread[Thread-138,5,jboss] misse
    d interrupt when cancelling TX ada0e22:4593:4e59847c:5e57e8 -- exiting as zombie (zombie count decremented to 0)
    20:04:02,023 INFO [DeploymentManager] DEBUG RepositoryWorkerThread-1(Reference Update Phase) Committing 237 markers, 1 failed markers
    20:04:02,798 ERROR [DeploymentManager] item = repositoryMarker:mark876015 cause = CONTAINER:atg.deployment.DistributedDeploymentException; SOURCE:CONTAINER:atg.reposit
    ory.RepositoryException; SOURCE:org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImple < ac, BasicAction: ada0e22:4593:4e59847c:5e57e8 status
    : ActionStatus.ABORTING >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: ada0e22:4593:4e59847
    c:5e57e8 status: ActionStatus.ABORTING >)
    at atg.deployment.repository.RepositoryWorkerThread.processMarkerForReferenceUpdatePhase(RepositoryWorkerThread.java:346)
    at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:540)
    at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:307)
    message = Deployment Failed time = Sat Aug 27 20:04:02 MDT 2011 atg.deployment.DeploymentFailure@2be5134e
    CAUGHT AT:
    CONTAINER:atg.deployment.DistributedDeploymentException; SOURCE:CONTAINER:atg.repository.RepositoryException; SOURCE:org.jboss.util.NestedSQLException: Transaction is n
    ot active: tx=TransactionImple < ac, BasicAction: ada0e22:4593:4e59847c:5e57e8 status: ActionStatus.ABORTING >; - nested throwable: (javax.resource.ResourceException: T
    ransaction is not active: tx=TransactionImple < ac, BasicAction: ada0e22:4593:4e59847c:5e57e8 status: ActionStatus.ABORTING >)
    at atg.deployment.repository.RepositoryWorkerThread.processMarkerForReferenceUpdatePhase(RepositoryWorkerThread.java:346)
    20:04:02,992 INFO [DeploymentManager] DEBUG RepositoryWorkerThread-1(Reference Update Phase) Failure count was: 0. New failure count is: 1.
    20:04:02,995 INFO [DeploymentManager] DEBUG RepositoryWorkerThread-1(Reference Update Phase) Rolling Back Current Transaction
    20:04:02,995 INFO [DeploymentManager] DEBUG RepositoryWorkerThread-1(Reference Update Phase) Committing 0 markers, 0 failed markers
    20:04:03,152 INFO [DeploymentManager] DEBUG RepositoryWorkerThread-1(Reference Update Phase) Exiting normally
    20:04:03,153 ERROR [DeploymentManager] Unexpected error occurred. DeploymentWorkerThread terminated prematurely.
    atg.deployment.DistributedDeploymentException: Exceeded allowable error count (0)
    at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:652)
    at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:307)
    20:04:07,724 INFO [DeploymentServer] DEBUG 1500007:Production:atg.deployment.adapter.DistributedDeploymentAdapter.displayDeploymentFailures(DistributedDeploymentAdapte
    r.java:2652) found 1 failure messages
    20:04:07,747 INFO [DeploymentServer] DEBUG 1500007:Production:atg.deployment.adapter.DistributedDeploymentAdapter.displayDeploymentFailures(DistributedDeploymentAdapte
    r.java:2683) adding failure message Deployment Failed with severity Error
    20:04:11,211 INFO [DeploymentManager] DEBUG Main deployment thread: No waiting deployments to start
    20:04:11,240 INFO [DeploymentServer] DEBUG 1500007:Production:atg.deployment.adapter.DistributedDeploymentAdapter.deploymentFailed(DistributedDeploymentAdapter.java:31
    86) DeploymentListener.deploymentFailed called for deployment with ID: 1500007
    20:04:11,240 INFO [DeploymentServer] DEBUG 1500007:Production:atg.deployment.adapter.DistributedDeploymentAdapter.deploymentFailed(DistributedDeploymentAdapter.java:31
    94) DAFDeploymentID: 1500007 matches DeploymmentID: 1500007
    20:04:11,240 INFO [DeploymentServer] DEBUG 1500007:Production:atg.deployment.adapter.DistributedDeploymentAdapter.deploymentFailed(DistributedDeploymentAdapter.java:31
    98) DeploymentListener.deploymentFailed
    20:04:11,241 INFO [DeploymentServer] DEBUG 1500007:Production:atg.deployment.adapter.DistributedDeploymentAdapter.displayDeploymentFailures(DistributedDeploymentAdapte
    r.java:2652) found 1 failure messages
    20:04:11,259 INFO [DeploymentServer] DEBUG 1500007:Production:atg.deployment.adapter.DistributedDeploymentAdapter.displayDeploymentFailures(DistributedDeploymentAdapte
    r.java:2683) adding failure message Deployment Failed with severity Error
    20:04:11,261 INFO [DeploymentServer] DEBUG 1500007:Production:atg.deployment.adapter.DistributedDeploymentAdapter.deployData(DistributedDeploymentAdapter.java:2197)
    deployment failed
    20:04:11,386 ERROR [DeploymentServer]
    atg.deployment.common.DeploymentException: Deployment '1500007' to target 'Production' encountered a system level deployment error during data transfer.
    at atg.deployment.common.ResourceUtil.exception(ResourceUtil.java:306)
    at atg.deployment.adapter.DistributedDeploymentAdapter.deployData(DistributedDeploymentAdapter.java:2238)
    at atg.deployment.adapter.DistributedDeploymentAdapter.transferData(DistributedDeploymentAdapter.java:305)
    at atg.deployment.server.Deployment.run(Deployment.java:1688)

    I am using ATG10.0.2 with jboss-5.1-eap
    I have tried increasing the timeout on jboss, but it only stops the timeout from happening, but the full deployment takes forever and takes more than 12 hours.
    The catalog itself is too small and shouldnt be taking that much at all.
    I just checked one thing:
    I have a one to many relation with my sku and sale price(custom table) which has 11000 rows. If i delete the data in this table the deployment happens fine and takes about 30 mins.
    The relationship it self seems correct.
    this is on sku descriptor
    <table name="my_sku_saleprice" type="multi" id-column-name="sku_id">
    <property name="salePrices" column-name="sale_prices" data-type="set" component-item-type="salePrices" display-name-resource="salePrices"
    writable="true" category-resource="categoryPresentation">
    <attribute name="resourceBundle" value="atg.projects.store.StoreCatalogTemplateResources"/>
    </property>
    </table>
    And this is the salePrices descriptor
    <item-descriptor name="salePrices" display-name-resource="itemDescriptorSalePrices"
    item-cache-size="100000" query-cache-size="100000">
    <attribute name="resourceBundle" value="atg.projects.store.StoreCatalogTemplateResources"/>
    <table name="my_sku_saleprices" type="primary" id-column-name="sale_prices">
    <property name="salesPrice" data-type="double" column-name="sales_price" required="true" display-name-resource="salesPrice"/>
    <property name="saleType" data-type="string" column-name="sale_type" required="true" display-name-resource="saleType"/>
    <property name="startDate" data-type="Date" column-name="start_date" display-name-resource="startDate"/>
    <property name="endDate" data-type="Date" column-name="end_date" display-name-resource="endDate"/>
    </table>
    </item-descriptor>
    The only thing i m not able to understand is why its taking forever to get the full deployment.
    Incremental deployment in catalog happens quickly, if i deploy any sku,product or anything.
    Is it something to do with ATG or jboss?
    Any pointers will help
    Thanks

  • Deployment finished with warning when I deploy projects!

    Dear All,
    I got the error message when I deploy 2 related projects to J2EE, what is the reason? Thanks.
    2011-5-27 15:37:57 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] WARNING:
    [003]Deployment finished with warning
    Settings
    SDM host : IBM205928
    SDM port : 50018
    URL to deploy : file:/C:/DOCUME1/ADMINI1/LOCALS1/Temp/temp3258717415907093402cateomp~asc.ear
    Result
    => deployment not executed : file:/C:/DOCUME1/ADMINI1/LOCALS1/Temp/temp3258717415907093402cateomp~asc.ear
    Unresolved dependencies found for the following SDAs:
    1.: development component 'eomp/asc'/'cat'/'CNP_CRMASCTR_D'/'20110527151357'/'0'
    dependency:
           name:     'eomp/survyapp'
         vendor:     'cat'
    There is no component either in SDM repository or in Deployment batch that resolves the dependency.
    Deployment will be aborted.
    Deployment exception : Got problems during deployment

    Hello
    I tried to deploy all components that I can find, but it is still wrong.
    Do you know how to check these components which need be deployed? Thanks ...

Maybe you are looking for