How to enable JMS to be J2EE Compliant from within JVM

I am wondering how I can use JMS in J2EE compliant mode from within the JVM via a Java stored procedure.
I know that I can set a property (i.e. oracle.jms.j2eeCompliant="true") at execution time, but was wondering how I can make the entire JVM J2EE compliant.

You cannot make the JVM J2EE compliant! However, you can use some J2EE APIs such as JMS, on top of J2SE.
See a basic use of JMS in Java stored procedure
http://otn.oracle.com/sample_code/tech/java/jsp/samples/jms/Readme.html
Note: the main purpose of JMS support within the database is to integrate with AQ.
Kuassi

Similar Messages

  • How to use JMS in a J2EE environment

    Hello all,
    I would like to find out how to use JMS in a J2EE environment. I use Borland Enterprise Server. Do I need to buy a message software to use JMS? How to use JMS with Message Driven bean?
    Thanks a lot.
    Best regards
    Susan

    If you don't want to buy you could try OpenJMS, a free JMS product (http://openjms.sourceforge.net/)
    As for learning how to use JMS w/ MDBs, I would suggest grabbing a book on JMS. I found the OReilly book on JMS to be pretty helpful for me.

  • How to call Operating System commands / external programs from within APEX

    Hi,
    Can someone please suggest how to call Operating Systems commands / external programs from within APEX?
    E.g. say I need to run a SQL script on a particular database. SQL script, database name, userid & password everything is available in a table in Oracle. I want to build a utility in APEX where by when I click a button APEX should run the following
    c:\oracle\bin\sqlplusw.exe userud/password@database @script_name.sql
    Any pointers will be greatly appreciated.
    Thanks & Regards,

    Hi Guys,
    I have reviewed the option of using scheduler and javascript and they do satisfy my requirements PARTIALLY. Any calls to operating system commands through these features will be made on the server where APEX is installed.
    However, here what I am looking at is to call operating systems programs on client machine. For example in my APEX application I have constructed the following strings of commands that needs to be run to execute a change request.
    sqlplusw.exe user/password@database @script1.sql
    sqlplusw.exe user/password@database @script2.sql
    sqlplusw.exe user/password@database @script3.sql
    sqlplusw.exe user/password@database @script4.sql
    What I want is to have a button/link on the APEX screen along with these lines so that when I click that link/button this entire line of command gets executed in the same way it would get executed if I copy and paste this command in the command window of windows.
    Believe me, if I am able to achieve what I intend to do, it is going to save a lot of our DBAs time and effort.
    Any help will be greatly appreciated.
    Thanks & Regards,

  • How to upgrade web app to J2EE compliant, EJB, etc.

    I support an application that was designed and created before the EJB 2.0 spec
    came out. It was built by a regional consulting company, who used their own application
    framework instead of EJB stuff. Their framework mainly consists of classes to
    handle transactions, JDBCconnections, and what is basically their equivalent of
    an EJB, called a Domain Object. The framework is actually pretty impressive and
    works quite well.
    I'm trying to evaluate whether it would be worth 'upgrading' the entire application,
    to use EJBs and other things to make it J2EE compliant. I've worked with JSPs
    and servlets for a couple years, but I've no experience with EJBs. I've pieced
    together an extremely simply stateless-session bean and have been able to use
    it on a JSP, but now I'm trying to get entity beans working, and can't find any
    examples or tutorials of how to invoke, load, create, etc. an EJB in a JSP/servlet.
    Can anyone recommend a resource for this? I've just ordered the latest Enterprise
    Java Beans book from OReilly, but I didn't know how much that had on actually
    using EJBs within JSPs and servlets.
    Thanks

    Hello Karthik,
    I just tried to solve my problem with your suggestions, unfortunately, my JSP channel still doesn't work :(
    The portal server keeps reporting "Server Error..." when I tried to add query at the end of the href.
    Do you still have any other suggestions?
    Thank you

  • How to enable JMS with JMQ 2.0

    I have trouble to enable jms in IAS6.0 sp2 with JMQ 2.0, on NT4.0
    The instruction and the utility batch file talked only the JMQ 1.1, but
    JMQ 1.1 is not available from iPlanet
    web site. I downloaded and installed JMQ 2.0 that does not match the ias
    instruction and utilities.
    ias utility "jmqjmsadm.bat" calls "JMQ_HOME/bin/jmsconfig.bat". The
    jmsconfig.bat does not exist in JMQ
    2.0/bin
    What is the solution?
    Thanks a million in advance
    Mike

    the actual that comes with iplanet for JMQ is not proper. Please follow the
    steps
    said in the java programmer's guide. Ref to page no 266 for enabling JMQ(i.e
    IMQ 2.0). actually i had the same problem like you but solved it by using
    guide..
    All the Best
    william
    Bangalore
    india
    default wrote:
    I have trouble to enable jms in IAS6.0 sp2 with JMQ 2.0, on NT4.0
    The instruction and the utility batch file talked only the JMQ 1.1, but
    JMQ 1.1 is not available from iPlanet
    web site. I downloaded and installed JMQ 2.0 that does not match the ias
    instruction and utilities.
    ias utility "jmqjmsadm.bat" calls "JMQ_HOME/bin/jmsconfig.bat". The
    jmsconfig.bat does not exist in JMQ
    2.0/bin
    What is the solution?
    Thanks a million in advance
    Mike

  • How do u restart and monitor J2EE engine from Visual Admin?

    Hi mates,
    How do you restart J2EE engine from VA?
    From VA, is there any way we can monitor if the J2EE engine is rebooting properly or got stuck somewhere?
    thx in adv
    praveen

    Hi Praveen,
    1) I don't think you can monitor from SAP GUI. SMICM will only allow you also to trigger a reboot via Administration / J2EE server but for the rest it's happing all in the background with no visibility.
    2) The dispatcher node is the 'SAP WEB dispatcher' component which is an independent component / product and ( can ) act as the load balancer
    You can also install it standalone to act e.g. as a reverse proxy.
    3) The J2EE node represents the J2EE server
    rgds
    Dirk

  • How to access jms queue in NetWeaver X from NetWeaver Y

    Hi experts,
    I would like to know whether accessing jms queue in NetWeaver X from NetWeaver Y is possible or not using web application.
    I have one web application that is deployed in NetWeaver Y and I want to access jms queue in NetWeaver X (Not Y).
    Is there any configuration to get aound this?
    Or do I need to use following code inside of my web application?
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sap.engine.services.jndi.InitialContextFactoryImpl" );
    env.put(Context.PROVIDER_URL, "<server ip - NetWeaver X>:<port>" );
    env.put(Context.SECURITY_PRINCIPAL, "<user name>" );
    env.put(Context.SECURITY_CREDENTIALS, "<password>" );
    Thank you,
    --Geonil

    Thanks for your anwser Baskar Gopal.
    My JAVA PROXY is created from software component version of PI 7.1 and is deployed in the same server. For that reason my JAVA PROXY run in my PI 7.1.
    Well, I did a test with your suggestion and that works fine. I created the JAVA PROXY from SAP PI 7.1 but deploy the JAVA PROXY in the SAP Netweaver 7.3.
    Thanks a lot
    Edited by: Victor Oliva on Sep 13, 2011 4:27 PM

  • How to deploy Oracel Business Rule (11 TP4) from within JDeveloper?

    Hello,
    I'm testing the Oracle Business Rules functionality provided in JDeveloper 11TP4.
    Development looks nice. I'd like to test the rules, wether it be from within a Java Class or as a Web Service.
    - How can I test the Business Rule 11G in Jdev TP4?
    - How can I deploy the Business Rules to an Application Server?
    Who's got ideas?
    Thanks in advance,
    Regards Léon Smiers

    Leon,
    Try the business rules sample for TP4. It includes instructions on how to build the rule and deploy it from JDev.
    http://www.oracle.com/technology/products/ias/bpel/techpreview/index.html
    Heidi.

  • How to configure Outlook 2013 to call direct from within the application without using Lync 2013?

    I have Outlook 2013 running on Windows 7 Pro 64-Bit with Lync 2013 (Office 365 Pro). We are using a 3rd party TAPI app from FortiVoice. WE would like to be able to place calls directly from
    within Outlook either by selecting a telephone number within an email and/or via the PEOPLE (Contacts) area.
    What guidelines should we use to enable this feature and not have Lync 2013 intercepting the process i.e. let OUTLOOK handle placing calls?
    Thanks in advance for any feedback provided.

    Hi,
    There seems no solution for this issue so far.
    Here is a fix for older versions of Outlook, maybe worth a try.
    http://support.microsoft.com/kb/959625/en-us
    However, if it doesn’t work, please try Malte’s reply as the workaround in the following thread. See:
    http://social.technet.microsoft.com/Forums/office/en-US/3946f1bb-cc3d-41b6-ab9c-092d62d024d1/outlook-2013-tapi-calling-with-lync-installed?forum=officesetupdeploy
    Thanks.
    Steve Fan
    TechNet Community Support
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How to redirect console output while starting server from within IDE

    Hello, i am using Weblogic Workshop IDE. When I start the server, a new cmd shell is launched and the jvm output is displayed in this cmd shell window. How can I redirect this output to show up within the IDE (for instance in the Console view)?
    Problem is that when an error occurs, the cmd window disappears and I cannot tell what the error was.
    Surely there is a way to do this as other IDEs (JBuilder, Rational etc.) allow this.
    Thanks:
    -Sam

    Hi Sam,
    Unfortunately, this feature does not exist in Workshop 9.2
    Regarding your question about redirecting the output, the logs are saved under the domain directory.
    You could also refer to the following section for additional info on redirecting the output to multiple destinations.
    http://e-docs.bea.com/wls/docs90/ConsoleHelp/taskhelp/logging/RedirectJVMOutput.html
    Hope this helps.
    cheers
    Raj

  • How do I find the value of GWYUID from within a form?

    Hi, can someone help me with the below?
    I'm trying to determine the value of the environment variable GWYUID from within a form so I can pass this value to the fnd_webfile.get_url function at runtime to display the output of a concurrent program in a web browser.
    I've tried the below but this just brings back null. Any ideas on how to find the value at runtime in 11i?
    v_gwyuid varchar2(100) := name_in('$environments$.gwyuid');
    fnd_message.set_string('GWYUID:'||v_gwyuid);
    fnd_message.show;
    Thanks, Geoff

    wow, many, many, many.... and many thanks!
    Just add a tiny modify to check out the Batch_type
    doc_id = (select batch_id from gme_batch_header where batch_no='&batch_number' and batch_type = 0)
    Because the batch_no can be duplicated as we also create Batch and Filrm Planned Order.
    Many thanks for your support!
    P/S: Sorry for my terrible English :P

  • How to enable JMS logging to capture message body for Uniform Distributed Q

    Hi All,
    we need to log JMS message body for our PROD env. but we do not see any "All Body" option in JMSQueue-> logging for our Uniform Distributed Queue.
    Please let me know how can we achieve our requirement.
    Thanks in Advance.

    got the solution.
    This is a know bug - [ID 1377584.1]
    adding below parameters in config/jms file should do the requirement.:
    <message-logging-params>
    <message-logging-enabled>true</message-logging-enabled>
    <message-logging-format>%header%,JMSCorrelationID,JMSDeliveryMode,JMSDestination,JMSExpiration,JMSMessageID,JMSPriority,JMSRedelivered,JMSReplyTo,JMSTimestamp,JMSType,%properties%,JMSXDeliveryCount,JMSXUserID,JMS_BEA_DeliveryTime,JMS_BEA_RedeliveryLimit,JMS_BEA_UnitOfOrder,*%body%*</message-logging-format>
    </message-logging-params>
    Edited by: Bob on May 10, 2013 11:53 AM

  • How to manually completely remove a J2EE application from the server?

    Hello,
    I have created and deployed a certain test J2EE application.
    After I finished with it I wanted to remove it, yet I cannot do it: Any removal attempt, either by the SDM or Admin Tool, encounters exceptions and errors I cannot handle. I tried restarting the server, stopping the application yet nothing works. on telnet the application has always STOPPING ststus...
    Desperately, I have decided to manually remove this application from the server yet I don't know the steps.
    Can someone please give me a step-by-step guidance on how to completely remove this application from the server, so it won't appear anyome both at the SDM and at the deploy service of the WAS?
    Thank you in advance,
    Roy

    Hi Peter,
    I've reproduced the problem and created a thread dump. I believe these lines are the important ones:
    "SAPEngine_Application_Thread[impl:3]_10" prio=5 tid=0x080cc9d8 nid=0x18e0 in Object.wait() [8a8f000..8a8fdb8]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x14450d88> (a java.lang.Object)
         at java.lang.Object.wait(Object.java:429)
         at com.sap.engine.services.ejb.EJBAdmin.destroyContainers(EJBAdmin.java:1145)
         - locked <0x14450d88> (a java.lang.Object)
         at com.sap.engine.services.ejb.EJBAdmin.commitStop(EJBAdmin.java:2529)
         at com.sap.engine.services.deploy.server.application.StopTransaction.commonCommitFinished(StopTransaction.java:262)
         at com.sap.engine.services.deploy.server.application.StopTransaction.commitCommon(StopTransaction.java:305)
         at com.sap.engine.services.deploy.server.application.StopTransaction.commit(StopTransaction.java:291)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:310)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:327)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:111)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:230)
         at com.sap.engine.services.deploy.server.application.RemoveTransaction.begin(RemoveTransaction.java:133)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3139)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.remove(DeployServiceImpl.java:903)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.remove(DeployServiceImpl.java:5056)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:885)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Could you please advise how to proceed from here?
    Thank you in advance,
    Roy

  • How to enable desktop innerpage in Default framework  from the disabled EP

    Hi,
    By mistake I have disabled the desktop inner page in default framework - ep7.0. Now I am not able to see anything below the toplevel menu. I want to enable that again and i don't know how to do that. Because nothing is coming inside the screen after clinking the portal contant. That mean disabled. Is there any other way to get back that?
    I don't know how to do that.
    Thanks,
    V P

    Hi,
    After getting into the portal i have entered the below url and changed back to the original.
    http://server:port/irj/servlet/prt/portal/prteventname/Navigate/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fevery_user!2fgeneral!2fcom.sap.portal.frameworkpage
    Thanks,
    VP

  • How to enable permission to delete iPhone photos from my computer

    I have an iPhone 6 running iOS 8.3. I use a PC. I like to pull pictures of my kids off of my phone and save them on my computer in different files. I plug my phone in via USB, open the folder with the pictures and transfer photo files where I want them to be. Once I've moved it, I right click to delete the original photo in my iPhone folder to remove it from my phone. This is how I've done it for years. Since I've upgraded to the new iOS 8.3, my computer tells me I don't have permission to delete these files out of my iPhone folder. I'm very frustrated and can't find any solutions, and I can't figure out if this is a phone setting or computer setting. Any suggestions? Thanks in advance.

    Yes, that is always an option, but not what my issue is. For speed and efficiency of what I'm doing on my computer, I want to be able to delete them as I always have been able to do before iOS 8.3. I'm sure there's a setting somewhere, I just can't find it.
    Your issue is, that you updated to iOS 8.3, and that does not allow deleting photos from the iPhone like before.
    Even a Mac can no longer delete the photos from the iPhone after the iOS 8.3 update, if iCloud Photo Library has been enabled on the iPhone in the Settings > Photo & Camera. Then you have to delete the Photos in the Photos application to delete them from iCloud.

Maybe you are looking for

  • HT204074 Can iTunes Match be used with multiple Apple IDs

    My wife and I have our own apple IDs for our iPhones.  I recently subscribed to iTunes Match on our MacBook under my Apple ID.  Can my wife's Apple ID be associated with the Match account so that she too can listen to music from our computer on her i

  • Surprised with lack of brightness with new Macbook Pro

    I was thinking of up grading from my 2 year old 13 in Macbook to the new 15 in Macbook Pro. But when I compared the glossy screens side by side, the new ones are not as bright, not as white as my older one. Settings and color space were set the same.

  • Warning host not found in topology

      Hi I am new to Lync. After following tutorial to install Lync Server 2013 (front end) on Server 2012 R2, everything worked like charm. Then I decided to enable external access (another Windows 2012 R2) , so I started with Edge installation. Unfortu

  • Help For The Clueless - Where To Start?

    Let's say, hypothetically, that I have no programming experience beyond writing a random number generator in basic on my Commodore 64 back in 1984. Let's pretend that I haven't the slightest understanding of Javascript and only a handful of basic HTM

  • Revenue recognition for sub-item

    I have a product called Term license, when i enter this line item in sales order, automatically i should get a sub-item warranty under it (which is only for internal purposes). And suppose the price of the product is $1000/-, 10% of the cost of this