Frustrated that using OJMS/AQ requires using direct AQ apis

Well, I'm sure I could be mistaken, but I'm coming to the conclusion that in order to get a workable JMS implementation with OC4J 9.0.2, you have to use AQ (this is known), but what is a surprise to me is that I am unable to get a raw JMS consumer and producer working without coding specific usage of the AQ api on both ends. Note that I'm trying to have a consumer process that is a standalone Java process, whereas the producer will be in EJB session code.
It appears to be a little easier if you're using MDBs, but I am not.
In particular, there appears to be no way to get a QueueConnectionFactory using the standard JMS api. You have to use the "AQjmsFactory.getQueueConnectionFactory()" method.
Once I got past that, I discovered that my normal JMS-compliant lookups through JNDI for the queue name were not working. It's entirely possible I'm using the wrong name, but I've tried several different variations. So, I plugged in the "AQjmsSession.getQueue()" method. Not only is this another AQ-specific API, but I now have to get this in a different order than I did when using JMS-specific APIs. That is, I now have to have a QueueSession before I can get the Queue, which I didn't have to do with the JNDI lookup.

Vivek,
I get the following error message (JMS Error: invalid arguments in call). If I remove the connection factories specification in the orion-ejb-jar.xml this error goes away but the application does not run.
[c:/tools/OC4J_9.03/j2ee/home> java -jar oc4j.jar
Auto-unpacking C:\tools\OC4J_9.03\j2ee\home\applications\chapter07.ear... done.
Auto-unpacking C:\tools\OC4J_9.03\j2ee\home\applications\chapter07\chapter07-web
.war... done.
Auto-deploying chapter7 (Assembly had been updated)...
Error deploying file:/C:/tools/OC4J_9.03/j2ee/home/applications/chapter07/chapte
r07-ejb.jar homes: JMS Error: invalid arguments in call
Auto-deploying file:/C:/tools/OC4J_9.03/j2ee/home/applications/chapter07/chapter
07-web/ (Assembly had been updated)...
Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
[c:/tools/OC4J_9.03/j2ee/home>
Here are my configuration files:
=======================> orion-ejb-jar.xml <==================================
<orion-ejb-jar>
   <enterprise-beans>
   <message-driven-deployment name="ProcessApprovalMessageBean"
     destination-location="java:comp/resource/ojms/Topics/AQ_ADM.PROCESSTOPIC_Q"
     connection-factory-location="java:comp/resource/ojms/TopicConnectionFactories/theTopicConnectionFactory"
     subscription-name="topicSubscriber" >
    <resource-ref-mapping name="jms/emailMessageQueue"
        location="java:comp/resource/ojms/Queues/AQ_ADM.EMAILQUEUE_Q" />
    <resource-ref-mapping name="jms/emailMessageQueueConnectionFactory"
        location="java:comp/resource/ojms/QueueConnectionFactories/theQueueConnectionFactory" />
   </message-driven-deployment>
   <message-driven-deployment name="EmailMessageBean"
     destination-location="java:comp/resource/ojms/Queues/AQ_ADM.EMAILQUEUE_Q"
     connection-factory-location="java:comp/resource/ojms/QueueConnectionFactories/theQueueConnectionFactory">
   </message-driven-deployment>
   </enterprise-beans>
   <assembly-descriptor>
      <default-method-access>
         <security-role-mapping name="&lt;default-ejb-caller-role&gt;" impliesAll="true"/>
      </default-method-access>
   </assembly-descriptor>
</orion-ejb-jar>
=======================> ejb-jar.xml <==============================================
<ejb-jar>
   <enterprise-beans>
     <message-driven>
         <description></description>
         <ejb-name>ProcessApprovalMessageBean</ejb-name>
         <ejb-class>purchase.ejb.mdb.ProcessApprovalMessageBean</ejb-class>
         <transaction-type>Container</transaction-type>
         <message-driven-destination>
           <destination-type>javax.jms.Topic</destination-type>
           <subscription-durability>Durable</subscription-durability>
         </message-driven-destination>
         <resource-ref>
            <description>The topic for EmailMessage</description>
            <res-ref-name>jms/emailMessageQueue</res-ref-name>
            <res-type>javax.jms.Queue</res-type>
            <res-auth>Container</res-auth>
         </resource-ref>
         <resource-ref>
            <description>The Factory used </description>
            <res-ref-name>jms/emailMessageQueueConnectionFactory</res-ref-name>
            <res-type>javax.jms.QueueConnectionFactory</res-type>
            <res-auth>Container</res-auth>
          </resource-ref>
     </message-driven>
     <message-driven>
      <description>EmailMessageBean</description>
         <ejb-name>EmailMessageBean</ejb-name>
         <ejb-class>purchase.ejb.mdb.EmailMessageBean</ejb-class>
         <transaction-type>Container</transaction-type>
         <message-driven-destination>
           <destination-type>javax.jms.Queue</destination-type>
         </message-driven-destination>
      </message-driven>
   </enterprise-beans>
</ejb-jar>
============================> resource provider in application.xml <=======================
<resource-provider
      class="oracle.jms.OjmsContext"
      name="ojms">
       <description>
          Oralce JMS resource provider.
       </description>
       <property name="url"
       value="jdbc:oracle:thin:@hostname:1521:sid"/>
       <property name="username" value="user"/>
       <property name="password" value="password"/>
    </resource-provider>
======================> end of configuration file changes <========================
Is this the only thing I need to do?
thanks
Mathew                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Apps that use non-public APIs will be rejected

    Hi guys
    Just reading the iOS guidelines before I get too deep into making the native version of a web app.
    I was wondering what:
    Apps that use non-public APIs will be rejected
    means when submitting an app made in AIR - does it mean you can't use your own custom classes?
    Cheers

    If you mean custom AS3 classes, yes you can use those. What you can't do is create an ANE that calls into the private frameworks of iOS itself.

  • Programatically detecting uniqueness constraint violations when using Direct Path API

    I'm developing an application that bulk loads data into the
    database using the DirectPath API.
    According to the DirectPath API documentation uniqueness
    constraints must be disabled prior to importing data using the
    DirectPath API, then the constraints must be re-enabled.
    If duplicate data is inserted when the constraints are disabled,
    enabling the constraints results in the constraint's underlying
    index being left in an "unusable" state.
    The SQL*Loader tool (which also uses the DirectPath API) somehow
    manages to deal with this.
    It can successfully detect which data causes the constraint
    violation, and politely writes the offending data to a bad rows
    file.
    If SQL*Loader also uses the DirectPath API - how does it detect
    which data causes a constraint violation.
    The mere fact that SQL*Loader can do this in DirectPath mode,
    shows that it is possible.
    Any ideas how to detect which data causes a constraint violation
    when using the DirectPath API ?
    - Andy

    I'm developing an application that bulk loads data into the
    database using the DirectPath API.
    According to the DirectPath API documentation uniqueness
    constraints must be disabled prior to importing data using the
    DirectPath API, then the constraints must be re-enabled.
    If duplicate data is inserted when the constraints are disabled,
    enabling the constraints results in the constraint's underlying
    index being left in an "unusable" state.
    The SQL*Loader tool (which also uses the DirectPath API) somehow
    manages to deal with this.
    It can successfully detect which data causes the constraint
    violation, and politely writes the offending data to a bad rows
    file.
    If SQL*Loader also uses the DirectPath API - how does it detect
    which data causes a constraint violation.
    The mere fact that SQL*Loader can do this in DirectPath mode,
    shows that it is possible.
    Any ideas how to detect which data causes a constraint violation
    when using the DirectPath API ?
    - Andy

  • Error while using LiveCycle java APIs with Http servlets:"Remote EJBObject lookup failed for ejb/Inv

    Hi all,
    When i try to run more than one servelt of the Quick Start samples that using Livecycle Java APIs and i get an error of "Remote EJBObject lookup failed for ejb/Invocation provider" from any servelt i run.
    I try some Quick samples which is not servelts (java class) and it works fine, which makes me sure that my connection properties is true.
    Environment:
    The LiveCycle is based on "Websphere v6.1", and i use "Eclipse Platform
    Version: 3.4.1".
    i install "tomcat 5.5.17" to test the servelts in developing time through Eclipse.(only for test in developing time not for deploy on )
    The Jars i added in the classpath:
    adobe-forms-client.jar
    adobe-livecycle-client.jar
    adobe-usermanager-client.jar
    adobe-utilities.jar
    ejb.jar
    j2ee.jar
    ecutlis.jar
    com.ibm.ws.admin.client_6.1.0.jar
    com.ibm.ws.webservices.thinclient_6.1.0.jar
    server.jar
    utlis.jar
    wsexception.jar
    My code is :
    Properties ConnectionProps = new Properties();
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "iiop://localhost:2809");
    ConnectionProps.setProperty ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,ServiceClientFactoryProperties.DSC_ EJB_PROTOCOL);
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE,ServiceClientFa ctoryProperties.DSC_WEBSPHERE_SERVER_TYPE);
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "Administrator");
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "password");
    ConnectionProps.setProperty("java.naming.factory.initial", "com.ibm.ws.naming.util.WsnInitCtxFactory");
    //Create a ServiceClientFactory object
    ServiceClientFactory myFactory = ServiceClientFactory.createInstance(ConnectionProps);
    //Create a FormsServiceClient object
    FormsServiceClient formsClient = new FormsServiceClient(myFactory);
    //Get Form data to pass to the processFormSubmission method
    Document formData = new Document(req.getInputStream());
    //Set run-time options
    RenderOptionsSpec processSpec = new RenderOptionsSpec();
    processSpec.setLocale("en_US");
    //Invoke the processFormSubmission method
    FormsResult formOut = formsClient.processFormSubmission(formData,"CONTENT_TYPE=application/pdf&CONTENT_TYPE=app lication/vnd.adobe.xdp+xml&CONTENT_TYPE=text/xml", "",processSpec);
    List fileAttachments = formOut.getAttachments();
    Iterator iter = fileAttachments.iterator();
    int i = 0 ;
    while (iter.hasNext()) {
    Document file = (Document)iter.next();
    file.copyToFile(new File("C:\\Adobe\\tempFile"+i+".jp i++;
    short processState = formOut.getAction();
    ...... (To the end of the sample)
    My Error was:
    com.adobe.livecycle.formsservice.exception.ProcessFormSubmissionException: ALC-DSC-031-000: com.adobe.idp.dsc.net.DSCNamingException: Remote EJBObject lookup failed for ejb/Invocation provider
    at com.adobe.livecycle.formsservice.client.FormsServiceClient.processFormSubmission(FormsSer viceClient.java:416)
    at HandleData.doPost(HandleData.java:62)
    at HandleData.doGet(HandleData.java:31)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    a

    I assume here that your application is deployed on a different physical machine of where LCES is deployed and running.
    Do the following test:
    - Say that LCES is deployed on machine1 and your application is deployed on machine2. Ping machine1 from machine2 and note the ip address.
    - Ping machine1 from machine1 and note the ip address.
    The two pings should match.
    - Ping machine2 from machine1 and note the ip address.
    - Ping machine2 from machine2 and note the ip address.
    The two pings should match.
    Usually this kind of error would happen if your servers have internal and external ip addresses.

  • Adobe DPS: Direct Entitlement API Version 2

    Hi guys,
    I have some questions about Direct Entitlement API Version 2 (http://download.macromedia.com/pub/developer/dps/entitlement/direct-entitlement-api.pdf). Based on the API, SignInWithCredentials and entitlements request body will contain a XML document which contains information like email address, passwords, product IDs and cover dates. I'm able to get the email address and password from the parameter but I could not retrieve the product IDs and cover dates at all. Is it because we do not have a valid Integrator ID from Adobe yet?
    Any help would be greatly appreciated.
    Thank you.
    Regards,
    Gary.

    Yes, I understand that I need to create a web services for these URLs. My main concern is how can I use Direct Entitlement API Version 2 in Sprint 26 only.
    I have listed out the major differences between API version 1 and API version 2. I have also list out how I retrieve the data from my web services.
    For SignInWithCredentials URL:
    According to API version 1, emailAddress, password, appId, appVersion and uuid are passed in the queries using HTTP GET method. But in API version 2, emailAddress and password are in the request body as a XML document using HTTP POST method.
    I built my app in Sprint 26 but I retrieved the emailAddress, password, appId, appVersion and uuid using HTTP GET methods only. My request body and HTTP POST methods are both empty.
    For entitlements URL:
    According to API version 1, the transaction must be done by HTTP GET method. It does not provide folios' product ID and cover date either. But in API version 2, the transaction must be done by HTTP POST method and it will provide folios' product ID and cover date in the request body as a XML document.
    I built my app in Sprint 26 but I retrieved the authToken, appId and appVersion using HTTP GET method only. My request body and HTTP POST method are both empty.
    It seems that in my app is still using API version 1. How can I use API version 2 for my app in Sprint 26?
    You can get both API version from these links:
    API version 1: http://download.macromedia.com/pub/developer/dps/entitlement/Entitlements_API.pdfAPI version 2: http://download.macromedia.com/pub/developer/dps/entitlement/direct-entitlement-api.pdf
    Thank you.
    Regards,
    Gary.

  • My itunes is on an old computer.  So old that I can't update it and so Haven't used it in two years.  How can I move it to my new laptop and make sure this doesn't happen again?  Very frustrated that I've spend $$ but can't get my music.

    My itunes is on an old computer.  So old that I can't update it and so Haven't used it in two years.  How can I move it to my new laptop and make sure this doesn't happen again?  Very frustrated that I've spend $$ but can't get my music.
    I want so set up itunes on my laptop and make sure that I get all of my old music and any music shared from my sons' itunes accounts.  Do I have to set up itunes on my new laptop first and then use the same logins?  Really concerned about losing any music, etc.

    These are two possible approaches that will normally work to move an existing library to a new computer.
    Method 1
    Backup the library with this User Tip.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Restore the backup to your new computer using the same tool used to back it up.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    Both methods should give the new computer a working clone of the library that was on the old one. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase and reload.
    I'd recommend method 1 since it establishes an ongoing backup for your library.
    Note if you have failed to move contacts and calendar items across you should create one dummy entry of each in your new profile and iTunes should  merge the existing data from the device.
    If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See make a split library portable.
    Should you be in the unfortunate position where you are no longer able to access your original library or a backup then then see Recover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data.
    tt2

  • My ipod 5th gen says it is connected to the internet and i can go on apps that require an internet connection but whe i try to use the weather or another app that uses your current location it cant find me???

    My ipod 5th gen says it is connected to the internet and i can go on apps that require an internet connection but whe i try to use the weather or another app that uses your current location it cant find me???

    If you open the Maps app where does that say you are located?
    For location the iPod uses the location of nearby routers that are in Apple's database of routers and their location. Thus it appears that Apple's database is incorrect. You do not have to be connected to the router, just within range.
    Apple periodically updates their database based on information they obtain from iPhones, The iPhone has to have turned on the option to send info to Apple. no one has found another way to get the location of a router added/corrected.
    You can confirm that by going to well-know place with wifi like Starbucks or McDonalds                              

  • I have Photoshop CS6 Extended Students and Teachers Edition.  When I go into the Filter/Oil paint and try to use Oil paint a notice comes up "This feature requires graphics processor acceleration.  Please check Performance Preferences and verify that "Use

    I have Photoshop CS6 Extended Students and Teachers Edition.  when I go into the Filter/Oil paint and try to use Oil Paint a notice comes up "This feature requires graphics processor acceleration.  Please Check Performance Preferences and verify that "Use Graphics Processor" is enabled.  When I go into Performance Preferences I get a notice "No GPU available with Photoshop Standard.  Is there any way I can add this feature to my Photoshop either by purchasing an addition or downloading something?

    Does you display adapter have a supported  GPU with at least 512MB of Vram? And do you have the latest device drivers install with Open GL support.  Use CS6 menu Help>System Info... use its copy button and paste the information in here.

  • [svn:fx-trunk] 16929: Add a [Mixin] class that will register the required class aliases in the event the mxml compiler generation   [RemoteClass(alias="")] code is not called because an application does not use the Flex UI framework .

    Revision: 16929
    Revision: 16929
    Author:   [email protected]
    Date:     2010-07-15 07:38:44 -0700 (Thu, 15 Jul 2010)
    Log Message:
    Add a class that will register the required class aliases in the event the mxml compiler generation  [RemoteClass(alias="")] code is not called because an application does not use the Flex UI framework.
    Add a reference to this class in the RPCClasses file so it always gets loaded.
    QE notes: Need a remoting and messaging regression test that doesn't use Flex UI.
    Bugs: Watson bug 2638788
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/rpc/src/RPCClasses.as
    Added Paths:
        flex/sdk/trunk/frameworks/projects/rpc/src/mx/utils/RpcClassAliasInitializer.as

    Great exercise to document the problem like this.  It got me thinking about how an app with modules would be different from an app that does not use modules.  Solution: I moved the dummy reference of PersonPhotoView out to the main application file (as opposed to being inside the module) and it worked.  I've probably been lucky not to have experienced this problem earlier, because for most other entities I have an instance attached to my model which is linked / compiled with the main application.

  • HT1420 I am using my old iPhone for playlist for my Dad's funeral as that meets the crematorium requirements. Some tracks - uploaded from personal CDs to MacBook Pro and successfully transferred to new iPhone (with small doc) won't transfer on syncing.  M

    I am using my old iPhone for playlist for my Dad's funeral as that meets the crematorium requirements. Some tracks - uploaded from personal CDs to MacBook Pro and successfully transferred to new iPhone (with small doc) won't transfer on syncing.  Most do, but why won't some, of my own music sync when others off the same album and in the same playlist do? I have now checked the storage, freed up 766MB, how can i not sync (and get everything i've just deleted back) but upload the required tunes? All help appreciated, many thanks x x x

    OrcaMDDDS wrote:
    Is this possible?
    maybe this post by Zevoneer helps.
    I don’t want to hear any of that “iTunes will let you re-download anything you’ve lost” nonsense.
    it won't anyways. except or apps, you are entitled to one download only. there4 it is important to back up.
    JGG

  • I find it rather frustrating that you can't use things like {myArray[0]} in Bindable expressions

    I find it rather frustrating that you can't use things like
    {myArray[0]} in Bindable expressions. Are there any workarounds
    apart from manually changing the dataprovider?

    Yes, instead of an array you have to use an arraycollection
    (just wrap your array) and then you can use this with the
    getItemAt()-method.
    e.g.
    {myArrayCollection.getItemAt(0)}
    cheers
    Dietmar

  • [svn] 2216: Changed InterfaceCompiler to public so that it can be used directly for mxml parsing by other tools .

    Revision: 2216
    Author: [email protected]
    Date: 2008-06-24 13:34:15 -0700 (Tue, 24 Jun 2008)
    Log Message:
    Changed InterfaceCompiler to public so that it can be used directly for mxml parsing by other tools. Also change parseMxml to public.
    Reviewed by: Paul
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java

    Before I read this helpful post, I changed my Google search key words from "change location Firefox profiles" to "change path Firefox Profiles" and found this link: http://kb.mozillazine.org/Thunderbird_:_FAQs_:_Changing_Profile_Folder_Location. This brought me to the article "Moving Your Firefox Profile" which answered my question. Your suggested link would have ultimately led me to the same solution.
    The problem was that I had copied my Firefox profile to the new location and then modified "profiles.ini" to point to the new location and saved it there as a replacement to the original "profiles.ini" that I had renamed "profiles.iniOld." Even though I had changed "IsRelative" from "=1" to "=0" I got error messages. I had used this procedure successfully before, but it would not work this time. When I used Profile Manager to move the Firefox Profiles everything worked fine the first time I tried it, and it took only a few minutes.
    Thank you, cor-el.

  • Why I cannot check the "find my mac" features on the iCloud? It says that "recovery system update required".. I'm using 10.7.2 now..

    Why I cannot use the "find my mac" features on the iCloud? It says that "recovery system update required".. I'm using 10.7.2 now..

    Run Disk Utility, and Verify Disk.
    You will likely notice errors that require you to reboot to the Recovery Partition, and run Disk Utility from there, to "Repair Disk".
    After running Repair Disk, reboot to the main partition, and run Repair Permissions from Disk Utility.
    Then install the Recovery System Update again.
    I bet your problem will be solved.

  • Will an iphone 4 that was originally purchased from apple directly as a factory unlocked phone remain unlocked or will it have now locked to the network it was used on. I've been told by carphone warehouse that the iphone will lock to first sim used in it

    Will an iphone 4 that was originally purchased from apple directly as a factory unlocked phone remain unlocked or will it have now locked to the network it was used on. I've been told by carphone warehouse that the iphone will lock to first sim used in it (in this case Orange) and will need to be unlocked again. Just wanted the view of anybody who knows about this for sure. Thanks

    If you bought it directly from Apple as unlocked it should be unlocked for all networks. There are phones sold that WILL lock to the first carrier it is used with, but this does not apply to phones where the receipt says "unlocked".
    I have not had good experiences with Carphone Warehouse.

  • The type or namespace name 'IBM' could not be found (are you missing a using directive or an assembly reference?)

    please help on below error 
    Compilation Error
    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
    Compiler Error Message: CS0246: The type or namespace name 'IBM' could not be found (are you missing a using directive or an assembly reference?)
    Source Error:
    Line 27: using System.Web.Services;
    Line 28: using System.Net;
    Line 29: using IBM.WMQ;
    Line 30: using System.DirectoryServices.AccountManagement;
    Source File: c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\NBO\LogComplaint.aspx.cs   
    Line: 29

    Hello,
    >>using IBM.WMQ
    It seems you are using third party dll namespace reference in your project but that dll is not being added in project. Please get the IBM.WMQ dll and add it first in your current visual studio project by right click on project-->add reference.
    You can place this dll in GAC or can directly add to project as suggested by jaydeep.
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

Maybe you are looking for