"message-destination-ref-mapping" definition in EJB3.0 style annotation

Hello,
Here is how I used to define "resource-ref-mapping" and "message-destination-ref-mapping" in ejb 2.1
<resource-ref-mapping
location = "MQJMSRASubcontext/MyQCF"
name = "jms/MQConnectionFactory"/>
<message-destination-ref-mapping
location = "MQJMSRASubcontext/MQQ"
name = "jms/MQQQueueDestination"/>
I want to do define these two properties in ejb3.0 using annotation. Any help will be much appreciated.
Thanks,
Mustafa

Hello,
Here is how I used to define "resource-ref-mapping" and "message-destination-ref-mapping" in ejb 2.1
<resource-ref-mapping
location = "MQJMSRASubcontext/MyQCF"
name = "jms/MQConnectionFactory"/>
<message-destination-ref-mapping
location = "MQJMSRASubcontext/MQQ"
name = "jms/MQQQueueDestination"/>
I want to do define these two properties in ejb3.0 using annotation. Any help will be much appreciated.
Thanks,
Mustafa

Similar Messages

  • DPL8007: Unsupported deployment descriptors element message-destination?

    Hi All,
    I am not able to run a working Java EE 5 JMS tutorial in jdk1.6.0_25, GF3.1 (bundled with Netbeans 7.0 on Windows XP) despite having re-created the whole project from scratch. Below is the code snippets of various components of the project:
    C:\Documents and Settings\jack\JMSEnterpriseProject\JMSEnterpriseProject-ejb\src\java\com\ensode\mdb\MessageReceiverBean.java
    @MessageDriven(mappedName = "jms/myQueue", activationConfig = {
        @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge"),
        @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue")
    public class MessageReceiverBean implements MessageListener {
        @Override
        public void onMessage(Message message) {
            TextMessage textMessage = (TextMessage) message;
            try {
                System.out.println("Received message:" + textMessage.getText());           
            } catch (JMSException ex) {
                Logger.getLogger(MessageReceiverBean.class.getName()).log(Level.SEVERE, null, ex);
    C:\Documents and Settings\jack\JMSEnterpriseProject\JMSEnterpriseProjectApplicationClient\src\java\com\ensode\jms
    public class Main {
        @Resource(name = "jms/myQueue")
        private static Queue myQueue;
        @Resource(name = "jms/myQueueConnectionFactory")
        private static ConnectionFactory myQueueConnectionFactory;
        public static void main(String[] args) throws JMSException {
            new Main().sendJMSMessageToMyQueue("NetBeans makes JMS trivial!");
        private Message createJMSMessageForjmsMyQueue(Session session,
                Object messageData) throws JMSException {
            TextMessage textMessage = session.createTextMessage();
            textMessage.setText((String) messageData);
            return textMessage;
        private void sendJMSMessageToMyQueue(Object messageData) throws
                JMSException {
            Connection connection = null;
            Session session = null;
            try {
                connection = myQueueConnectionFactory.createConnection();
                session = connection.createSession(false,
                        javax.jms.Session.AUTO_ACKNOWLEDGE);
                MessageProducer messageProducer = session.createProducer(myQueue);
                messageProducer.send(createJMSMessageForjmsMyQueue(session,
                        messageData));
            } finally {
                if (session != null) {
                    session.close();
                if (connection != null) {
                    connection.close();
    C:\Documents and Settings\jack\JMSEnterpriseProject\JMSEnterpriseProject-ejb\setup\glassfish-resources.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE resources PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Resource Definitions//EN" "http://glassfish.org/dtds/glassfish-resources_1_5.dtd">
    <resources>
      <admin-object-resource enabled="true" jndi-name="jms/myQueue" object-type="user" res-adapter="jmsra" res-type="javax.jms.Queue">
        <property name="Name" value="myQueue"/>
      </admin-object-resource>
      <connector-resource enabled="true" jndi-name="jms/myQueueConnectionFactory" object-type="user" pool-name="jms/myQueueConnectionFactory">
        <description/>
      </connector-resource>
      <connector-connection-pool associate-with-thread="false" connection-creation-retry-attempts="0" connection-creation-retry-interval-in-seconds="10" connection-definition-name="javax.jms.QueueConnectionFactory" connection-leak-reclaim="false" connection-leak-timeout-in-seconds="0" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" lazy-connection-association="false" lazy-connection-enlistment="false" match-connections="true" max-connection-usage-count="0" max-pool-size="32" max-wait-time-in-millis="60000" name="jms/myQueueFactoryPool" ping="false" pool-resize-quantity="2" pooling="true" resource-adapter-name="jmsra" steady-pool-size="8" validate-atmost-once-period-in-seconds="0"/>
      <connector-resource enabled="true" jndi-name="jms/myQueueFactory" object-type="user" pool-name="jms/myQueueFactoryPool"/>
      <connector-connection-pool associate-with-thread="false" connection-creation-retry-attempts="0" connection-creation-retry-interval-in-seconds="10" connection-definition-name="javax.jms.ConnectionFactory" connection-leak-reclaim="false" connection-leak-timeout-in-seconds="0" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" lazy-connection-association="false" lazy-connection-enlistment="false" match-connections="true" max-connection-usage-count="0" max-pool-size="32" max-wait-time-in-millis="60000" name="jms/myQueueConnectionFactory" ping="false" pool-resize-quantity="2" pooling="true" resource-adapter-name="jmsra" steady-pool-size="8" validate-atmost-once-period-in-seconds="0"/>
    </resources>Yet it was met with the following exception which appears to be an unsupported deployment descriptor generated by Netbeans 7.0:
    _GF3.1 server log_
    WARNING: DPL8007: Unsupported deployment descriptors element message-destination value null
    _Application Client Outpu
    t_10/05/2011 2:59:45 AM com.sun.enterprise.deployment.util.ComponentValidator accept
    WARNING: DPL8007: Unsupported deployment descriptors element message-destination value null
    com.sun.enterprise.container.common.spi.util.InjectionException: Exception attempting to inject Unresolved Message-Destination-Ref jms/[email protected]@null into class com.ensode.jms.Main
    Caused by: javax.naming.NamingException: Lookup failed for 'java:comp/env/jms/myQueue' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl} [Root exception is javax.naming.NameNotFoundException: No object bound for java:comp/env/jms/myQueue [Root exception is java.lang.NullPointerException]]glassfish-resources.xml used to reside in C:\Documents and Settings\jack\JMSEnterpriseProject\ setup\ sun-resources.xml back in GF2.1.
    Deployment was successful which resulted in the following resources created:
    Connector Resources => jms/myQueueConnectionFactory, jms/myQueueFactory.
    Connector Connection Pools => jms/myQueueFactoryPool, jms/myQueueConnectionFactory.
    Admin Object Resources => jms/myQueue.
    Your assistance would be very much appreciated.
    Thanks,
    Jack

    Hi,
    The same unsupported deployment descriptor persists despite having removed C:\Documents and Settings\jack\JMSEnterpriseProject\JMSEnterpriseProject-ejb\setup\glassfish-resources.xml with the following exception:
    10/05/2011 11:41:22 PM com.sun.enterprise.deployment.util.ComponentValidator accept
    WARNING: DPL8007: Unsupported deployment descriptors element message-destination value null
    10/05/2011 11:41:28 PM org.hibernate.validator.util.Version <clinit>
    INFO: Hibernate Validator 4.1.0.Final
    10/05/2011 11:41:28 PM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA
    INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
    10/05/2011 11:41:29 PM com.sun.messaging.jms.ra.ResourceAdapter start
    INFO: MQJMSRA_RA1101: GlassFish MQ JMS Resource Adapter: Version:  4.5  (Build 29-b) Compile:  Wed Feb  9 22:53:30 PST 2011
    10/05/2011 11:41:29 PM com.sun.messaging.jms.ra.ResourceAdapter start
    INFO: MQJMSRA_RA1101: GlassFish MQ JMS Resource Adapter starting: broker is REMOTE, connection mode is TCP
    10/05/2011 11:41:29 PM com.sun.messaging.jms.ra.ResourceAdapter start
    INFO: MQJMSRA_RA1101: GlassFish MQ JMS Resource Adapter Started:REMOTE
    com.sun.enterprise.container.common.spi.util.InjectionException: Exception attempting to inject Unresolved Message-Destination-Ref jms/[email protected]@null into class com.ensode.jms.Main
         at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:698)
         at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:468)
         at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectClass(InjectionManagerImpl.java:215)
         at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectClass(InjectionManagerImpl.java:207)
         at org.glassfish.appclient.client.acc.AppClientContainer$ClientMainClassSetting.getClientMainClass(AppClientContainer.java:619)
         at org.glassfish.appclient.client.acc.AppClientContainer.getMainMethod(AppClientContainer.java:511)
         at org.glassfish.appclient.client.acc.AppClientContainer.completePreparation(AppClientContainer.java:405)
         at org.glassfish.appclient.client.acc.AppClientContainer.prepare(AppClientContainer.java:319)
         at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:278)
         at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:76)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:323)
         at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:338)
    Caused by: javax.naming.NamingException: Lookup failed for 'java:comp/env/jms/myQueue' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl} [Root exception is javax.naming.NameNotFoundException: No object bound for java:comp/env/jms/myQueue [Root exception is java.lang.NullPointerException]]
         at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:518)
         at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:597)
         ... 15 more
    Caused by: javax.naming.NameNotFoundException: No object bound for java:comp/env/jms/myQueue [Root exception is java.lang.NullPointerException]
         at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:242)
         at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:498)
         ... 18 more
    Caused by: java.lang.NullPointerException
         at javax.naming.InitialContext.getURLScheme(InitialContext.java:269)
         at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:318)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at com.sun.enterprise.naming.util.JndiNamingObjectFactory.create(JndiNamingObjectFactory.java:82)
         at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:772)
         at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:740)
         at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:172)It is running on Windows 7 as opposed to XP earlier on.
    Is it possible that this is a bug since all JMS resources have been declared without using deployment descriptor at all?
    Thanks,
    Jack

  • Message split ABAP mapping

    Hello everybody,
    for a special mappging I use ABAP mapping -everything fine.
    But I need to split the message with ABAP mapping.
    Does anybody know if this is possible ?
    In the ABAP-class I use the interface IF_MAPPING. This has as a result parameter the parameter RESULT Type XSTRING (no table).
    It only works to add to XMLs in 1 XML string, but my result have to be 2 XML files.
    Alternatively would it be an idea to use multi message mapping (graphical first) AND then ABAP-mapping for special mappings?
    Thanks a lot,
    Florian

    Florian,
    for multimappings in coded mappings (xslt, java and abap mappings) you'll also create a single stream, but in this case, the stream may have the following format:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    <ns0:Message1>
        <b><enter your first message here></b>
    </ns0:Message1>
    <ns0:Message2>
        <b><enter your second message here></b>
    </ns0:Message2>
    </ns0:Messages>
    where <ns0:MessageX> tags refer to each different target message type.
    In the case you have a 1:n split, you'll have only 1 message type, but may have several messages within it.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    <ns0:Message1>
        <b><My_message id=1></b>
        <b></My_message></b>
        <b><My_message id=2></b>
        <b></My_message></b>
    </ns0:Message1>
    </ns0:Messages>
    Also, remember that, when you define an interface mapping as multimapping (meaning, you set either source, target or both interfaces to multiple messages, your input stream will also contain the <ns0:Messages> and <ns0:MessageX> tags, so you need to treat them in your mapping program.
    Regards,
    Henrique.

  • No namespace tag in target message (Test Interface mapping)

    Hi,
    I'm doing a <b>IDoc to file</b> scenario, and I'm using <b>external definitions</b> and a XSLT mapping. When I try to test the mapping in Interface Mapping he maps it but I <b>can't see the tree view</b>, I only get the source code...
    <?xml version="1.0" encoding="utf-8"?>
    <SenderID/><ReceiverID/><DocumentDate>20051028090653</DocumentDate>
    <DocumentNumber>456184</DocumentNumber><TestIndicator>     P</TestIndicator>
    <Version>1.0/SSCC</Version>
    <Desadv><MessageReferenceNumber>81749973</MessageReferenceNumber></Desadv>
    I presume that there is a <b>namespace</b> tag <b>needed</b> like
    <ns:Desadv xmlns:ns="http://www.certione.com/RFDesadv/Schema">
    but I don't know what to do to have it added to the target message which is external definition Desadv with namespace http://www.certione.com/RFDesadv/Schema in the XSD...
    Any help would be appreciated!
    Kind regards..
    Message was edited by: Bart De Saedeleer

    Hello,
    Could you put your XSD definition ?
    And check your mapping because it seems that you don't have a root node in output.
    <?xml version="1.0" encoding="utf-8"?>
    <b><MYROOTNODE></b>
    <SenderID/><ReceiverID/><DocumentDate>20051028090653</DocumentDate>
    <DocumentNumber>456184</DocumentNumber><TestIndicator>     P</TestIndicator>
    <Version>1.0/SSCC</Version>
    <Desadv><MessageReferenceNumber>81749973</MessageReferenceNumber></Desadv>
    <b></MYROOTNODE></b>
    Regards,
    Chris
    Message was edited by: Christophe DUMONT

  • Format of "JMS Message Destination Parameter" for JMS Sender Adapter

    Hi,
    I am trying to use the JMS Sender Communication Channel for several Interfaces by using the "JMS Message Destination Parameter". Currently, the Comm.Channel is reading the message and puts it back on the queue with the following error:
    Fehler bei der XI-Eingangsverarbeitung für Message am bzw. um 2007-07-25|09:34:12.057+0200. JMS- und XI-Identifikatoren für die Message sind ID:414d512051535749515441302020202046a4e892201c4d04 bzw. 701ec850-3a81-11dc-8176-00306e2c36a3. Der JMS-Adapter führt einen Rollback der Datenbank und der JMS-Sitzungtransaktionen durch. Wird die Sitzung ausgeführt, geht die Message nicht verloren und wird später erneut durchgeführt. Der Ausnahme-Stack-Trace ist java.lang.RuntimeException: MQJMS0003: Destination not understood or no longer valid: UserCreateRequest
    at com.ibm.mq.jms.MQDestination.createDestination(MQDestination.java:790)
    at com.ibm.mq.jms.MQSession.createDestination(MQSession.java:1092)
    at com.ibm.jms.JMSMessage.getJMSDestination(JMSMessage.java:4127)
    What is the format I will have to fill this parameter with in order for XI to understand it? I have tried the following so far which did not work:
    1.   (as in error message above)
    Help much appreciated.
    KR,
    Colin.

    One option in BPEL is to have a mid process receive, but this would require you to handle the Correlation of the message with BPEL process instance.
    Please refer the following section in SOA Guide for the same.
    Using Correlation Sets and Message Aggregation - 11g Release 1 (11.1.1.7)
    Please note the example is with File adapter but the same can be achieved for Any Adapter.

  • I can't start Map Definition tool!!!

    I download map definition tool!! and run it :
    java -jar mapdef.jar
    and i recevie a error message:
    Failed to load the Main - Class manifest attribute from mapdef.jar
    Please help me!

    Hi,
    This error is produced, because mapdef.jar was compiled with different version of JVM than yours.
    I can advice you to use newest Oracle tool for map data management - Oracle MapBuilder. You can download it from this page: http://www.oracle.com/technology/software/products/mapviewer/index.html
    Regards,
    Andrejus

  • Message-destination-descriptor

    Hi, everyvone. I have recent problem with message destination mapping. I need map in weblogic-ejb-jar.xml real destination to my one written in ejb-jar. Could you please post here some example of this weblogic-ejb-jar.xml ?? Thanks a lot

    Hello.
    Your weblogic-ejb-jar.xml is not xsd valid.
    First of all, there is no description tag which seems to be mandatory. You should check the file with a validator.
    Regards.
    Aurélien.

  • Why Map Definition Tool says 'cannot make connection'?

    Hi, i've tried the Map Definition Tool but i cannot connect to my database. It simply displays 'cannot make connection', which is not that helpful. Is it possible to enable a debug mode or otherwise make this tool more speaking?
    I've downloadad this tool from OTN on 12/11/2002 so i think it's up-to-date.
    Thanks in advance.
    Markus

    lj, in your reply to thread 'Map Definition Tool' (Dec 17, 2002 6:42 PM) you stated that JDK 1.3 or 1.2 is needed for the Map Definition Tool to run. I ran the Map Definition Tool with JDK 1.3.1_06 and now it connects to my database!
    Unfortunately it bombs when i click one of the items in the tree view, for example 'Styles/Color' (see stack trace below).
    Any ideas?
    Markus
    -->8--
    Executing query: select * FROM USER_SDO_STYLES where type='COLOR' order by name
    java.sql.SQLException: ORA-00600: Interner Fehlercode, Argumente: [ttcgcshnd-1], [0], [], [], [], [], [], []
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
    at oracle.jdbc.ttc7.TTC7Protocol.fetch(TTC7Protocol.java:889)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:1681)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1870)
    at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:538)
    at oracle.sdovis.util.DBTable.query(DBTable.java:110)
    at oracle.eLocation.console.VisMetaImpl.getStyles(VisMetaImpl.java:308)
    at oracle.eLocation.console.VisMetaImpl.getAllStyles(VisMetaImpl.java:287)
    at oracle.eLocation.console.JTableStyleModel.reloadStyleData(JTableStyleModel.java:124)
    at oracle.eLocation.console.StyleColorPanel$18.componentShown(StyleColorPanel.java:320)
    at java.awt.Component.processComponentEvent(Component.java:3599)

  • How to get a Parent Message Id in Mapping?

    Hi,
    I have a scenario to post the idoc to file to mulitple receivers. I have to get both Message ID and Parent Message ID in mapping. I am able to get Message ID but not Parent Message ID. I tried to get it from Table sxmspmast but it does not contain the entry during runtime.
    Any suggestions to get the Parent ID while in Mapping.
    Thanks,
    Manikandan R

    you can create a UDF,say getMSGID,  to get current message ID:
    String headerField;
    java.util.Map map;
    // get runtime constant map
    AbstractTrace trace=container.getTrace();
    map = container.getTransformationParameters();
    String key = "MessageId";
    // get value of header field by using variable key
    headerField = (String) map.get(key);
    return headerField;
    pass this output to an RFC  lookup UDF which calls this FM in XI ABAP stack:
    FUNCTION ZGET_PARENT_MSG_ID.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_CURRMSGID) TYPE  CHAR40
    *"  EXPORTING
    *"     VALUE(E_PARENTMSGID) TYPE  CHAR40
    DATA: lv_currmsgid type SXMSPMAST-MSGGUID,
          lv_parentmsgid LIKE SXMSPMAST-PARENTMSG,
    lv_currmsgid = i_currmsgid.
    select single PARENTMSG from SXMSPMAST into lv_parentmsgid where MSGGUID = lv_currmsgid.
    e_premsgid = lv_parentmsgid.
    ENDFUNCTION.

  • System error message while using maps check in

    today i got a lot of system error messages while using maps check in feature, and i tried everything from factory default to reinstalling mobile software and formating everything and yet nothing changed idk what to do and i use   the maps application a lot of times so i need this problem fixed please
    am using Nokia 500 btw

    today i got a lot of system error messages while using maps check in feature, and i tried everything from factory default to reinstalling mobile software and formating everything and yet nothing changed idk what to do and i use   the maps application a lot of times so i need this problem fixed please
    am using Nokia 500 btw

  • I'm running iTunes 11.0.5.6 on Windows 8.  When I try to update to iTunes 11.1.0, I receive error messages that refer to a "network resource that is unavailable" and that "the older versionof iTunes cannot be removed."  What do I need to do?

    I'm running iTunes 11.0.5.6 on Windows 8.  When I try to update to iTunes 11.1.0, I receive error messages that refer to a "network resource that is unavailable" and that "the older versionof iTunes cannot be removed."  What do I need to do?

    Perhaps this can be of help:
    http://support.apple.com/kb/TS3704
    It fixed the problem for this DukeHutchens in this thread:
    https://discussions.apple.com/thread/3916663?start=0&tstart=0

  • Hp recovery on laptop gives error message "destination drive not connected"

    I'm trying to carry out factory reset on my 2012 G6 laptop product code B2Y48EA*ABU  serial no. [Personal Information Removed] to factory settings using set of 5 recovery discs
    I followed the procedure  shown here  (although the screen messages are slightly different)
    http://support.hp.com/gb-en/document/c01867418
    I started the laptop with disc 1 in the dvd drive and the hp program was displayed. I selected "factory reset" and followed promts
    When the 4 th disc is in dvd drive and the process is about53% compltete it stops with the error message 
    "destination drive not connected"
    and fails
    Earlier the recovery manager reported that the partion on the hard drive had been re-forrmatted so the drive was connected then!
    All help and suggestions appreciated

    Hi there @Teka,
    I understand that you are having trouble with a System Recovery to a factory image using recovery disks. I am happy to help you with this.
    Are those five disks a set that you created using the recovery manager, or is it a set you ordered from HP?
    Is there any sign of damage, scratches or smudges on the disk it fails on?
    Have you tried cleaning the DVD drive?
    Also take a look through these pages, in particular the troubleshooting page, and see if anything there is of use.
    Performing an HP System Recovery (Windows 7)
    Troubleshooting HP System Recovery Problems (Windows 7)
    Let me know how it goes for you.
    Malygris1
    I work on behalf of HP
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

  • Map Paragraph and Character Styles

    Hello all,
    I am trying to import Word documents based on the Word Import Preset documents.
    Here's an example smp document
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Sangam-Import-Preset reader-type="Word/RTF">
        <!--Style mappings take the form of key-value pairs consisting of:
    style-name: Source document's style name, for example RTF style name.
    This attribute is mandatory and the value cannot be an empty string.
    mapped-to: Target InDesign document's style name.
    This attribute is mandatory but can take an empty string as its value.-->
        <Style-Mappings>
            <Paragraph-Style-Mappings>
                <Mapping style-name="Body Text" mapped-to="Body 2" />
                <Mapping style-name="Heading 1" mapped-to="Heading 1" />
                <Mapping style-name="Normal" mapped-to="Normal 2" />
            </Paragraph-Style-Mappings>
            <Character-Style-Mappings>
                <Mapping style-name="Hyperlink" mapped-to="Hyp" />
            </Character-Style-Mappings>
        </Style-Mappings>
        <!--Each Import Preference has two mandatory attributes:
    name: Name of the preference (cannot be an empty string).
    value:Value of the preference (cannot be an empty string).
    For boolean preferences, type 0 for false and 1 for true.-->
        <Import-Preferences>
            <Preference name="import-toc" value="1" />
            <Preference name="import-index" value="1" />
            <Preference name="import-hyperlink" value="1" />
            <Preference name="import-tables" value="1" />
            <Preference name="import-footnotes" value="1" />
            <Preference name="import-endnotes" value="1" />
            <Preference name="import-track-changes" value="1" />
            <Preference name="import-preserve-graphics" value="1" />
            <Preference name="spacing" value="1" />
            <Preference name="break-before-para" value="0" />
            <Preference name="use-typographers-quotes" value="1" />
            <Preference name="convert-tables-to" value="0" />
            <Preference name="remove-formatting" value="0" />
            <Preference name="dont-strip-char-formatting" value="0" />
            <Preference name="bring-unused-styles" value="0" />
            <Preference name="para-style-clash-option" value="0" />
            <Preference name="char-style-clash-option" value="0" />
            <Preference name="use-style-mappings" value="1" />
            <Preference name="convert-BN-to-text" value="0" />
        </Import-Preferences>
    </Sangam-Import-Preset>
    Everything should be easy to set in the WordRTFImportPreference except for the mappings.
    I tried using app.activeDocument. paraStyleMappings.add("Normal","Normal 2",   MapType.STYLE_MAPPING_RULE) after setting app.generalPreferences.mapStylesOnContentPlace = true
    Doesn't work . I suspect the mappings are only good for XML placements and not Word ones, in which case I guess the way to do it would be to us changeText() on the styles.  This is not a great solution as the changes would be done after placement unlike when using the UI before the placement.
    Has anyone done this or got any ideas?
    Regards,
    Trevor

    Paragraph Tools from SiliconPrairieSoftware.com will do it and it's cheap.
    Note that you may not want to convert H1 to Heading1, but convert in the
    opposite direction. A lot of expert Framers use the keyboard to choose
    paragraph tags instead of the mouse-- it's faster-- and have set up short
    names for paragraph formats to make that go even faster. (Someone who uses
    the technique can explain it better than I.) If you have members of your
    team who use this method, changing to the longer tagname may slow them down
    and bring down a hail of grumbles.

  • Help on message split ABAP MAPPING

    Hi friends
    I need to split a message by abap mapping , I am having problem while creating the tag Messages and Message1.
    the mapping is going into error Comparison error during the execution of a simple
    it is turned up to be the issue of <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge"><ns0:Message1> not being created correct
    I am using this code
    CALL METHOD l_document->create_simple_element_ns
          EXPORTING
            name   = 'Messages'
            parent = l_document
    *u2022PREFIX = ''
    *u2022URI = ''
    *u2022VALUE = ''
          RECEIVING
            rval   = Messagesnode.
    CALL METHOD l_document->create_simple_element_ns
          EXPORTING
            name   = 'Message1'
            parent = MESSAGESNODE
    *u2022PREFIX = ''
    *u2022URI = ''
    *u2022VALUE = ''
          RECEIVING
            rval   = Message1node.
    any help wil do
    Thanks

    No answer
    Thanks

  • Trigger new message, wenn SXMB_MONI Message is red (mapping-error)

    Hi everybody,
    is there any chance to trigger another message if an mapping-error occured?
    (I do not want to use BPM for the exception handling).
    We are sending IDOCs to XI, just in gthe case, that the mapping throws an error I want to send a SYSTAT-IDoc back.
    Thanks
    Regards Mario

    It would be very complicated to achive the Fault message with IDOC without BPM.
    There is one way that probably you could try,
    The SXMB_MONI contains the trace log for every message based on the steps processed in the interface.
    You caould try to add the checkpoints at these steps e.g.
    1. In Receiver determination, there is option to route the message to different receiver if the receiver system is missing in Receiver determination.
    2. Can design the Adapter module to catch the exceptions with the connectivity with Sender / Receiver systems and handle it to raise any alert notification.
    These kind of alternative ways have to be used to achive the requirments.
    Note : I am not sure how much it will be feasible for the replacement of BPM.
    Thanks
    Swarup

Maybe you are looking for