JMS with Eclipse

HI
I downloaded the example for JMS for J2EE 5. But I see these examples are developed in Netbeans... and the problem is particularly during compilation using ant... which depends on NetBeans. How do I proceed with running these examples in Eclipse?

could you describe the necessary changes in details? I met the same problem as yours. but connectionFactory or queue cannot be retrieved with " @Resource(mappedName = "jms/ConnectionFactory")". could you help me ?

Similar Messages

  • JMS with Resin

    Hi,
    I am currently trying to set Resin to work with JMS and I have encountered the following problems (that didn't appear using the Java Servlet Development Kit) :
    When looking up (with the InitialContext.lookup method) for a TopicConnectionFactory, I receive a null value. After having looked on forums and newsgroups, I added these lines before I created the InitialContext :
    jndiProps.setProperty(Context.INITIAL_CONTEXT_FACTORY, "com.sun.enterprise.naming.SerialInitContextFactory");
    After that, I did find a TopicConnectionFactory, but later, when I called createTopicConnection from that factory, I receive the following error (which stops Resin instantly) :
    SEVERE unable to locate resource bundle: com.sun.jms.LocalStrings
    I am using Resin 2.1.10, I have %J2EE_HOME%\lib\locale in my classpath and I'm using Eclipe 2.1.1.
    Any help would be greatly appreciated

    I'm having too problems with Resin-Eclipse.
    You must first set all environment variables needed and start j2ee.
    I'm debbuging the servlet with Eclipse plug-in for Eclipse. To do so, I had to copy the config directory from J2EE_HOME to RESIN_HOME. The plug-in was searching some config_files, but not at in the J2EE_HOME dircetory. I did that to be able to get it working with Eclipse in Resin. When I run the servlet in Resin stand alone, everything works fine...
    I registered a topic with j2eeadmin -add and I can access my topic.
    My problem is that I cannot get it to work in a Debug mode situation in Eclipse. It is probably a issue with the Resin plug-in.
    I get the following error:
    Ignoring com/sun/jms/util/jms.properties due to exception java.lang.NullPointerException
    BUT ONLY WITH THE RESIN PLUG-IN WITH ECLIPSE
    You also have to set the following in your resin.conf
    <system-property jms.properties="c:/j2sdkee1.3.1/config/jms_client.properties"/>
    If you find something new, please advise.
    Hope I've helped you.

  • OEPE 12.1.2.1 with Eclipse (Kepler) M2E and M2E-WTP and Seam 2 problem

    I've a JEE project with Maven 3.0.5  and JBoss Seam 2.3. I've some problems in Weblogic 12.1.2 application deployments with Eclipse.
    If I deploy the application as virtual application (split_src and .beabuild.txt), the .beabuild.txt includes the directories:
    C\:/FundeWeb/2.0/workspace/fundeweb2/web/target/m2e-wtp/web-resources = web_fundeweb2  (m2e-wtp project generated resources)
    C\:/FundeWeb/2.0/workspace/fundeweb2/web/src/main/webapp = web_fundeweb2 (project web resources)
    That's produces the next error (Multiple WEB-INF/ejb-jar.xml found):
    <01-ago-2013 14H07' CEST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "1375358874432" for task "1". Error is: "weblogic.application.ModuleException: Multiple WEB-INF/ejb-jar.xml found. [weblogic.servlet.internal.WarSource@19d4f67, weblogic.servlet.internal.WarSource@c7fd40]"
    weblogic.application.ModuleException: Multiple WEB-INF/ejb-jar.xml found. [weblogic.servlet.internal.WarSource@19d4f67, weblogic.servlet.internal.WarSource@c7fd40]
      at weblogic.ejb.container.deployer.EjbModuleExtensionFactory.create(EjbModuleExtensionFactory.java:26)
      at weblogic.application.internal.ExtensibleModuleWrapper.createModuleExtensions(ExtensibleModuleWrapper.java:264)
      at weblogic.application.internal.ExtensibleModuleWrapper.initDrivenObjectArray(ExtensibleModuleWrapper.java:232)
      at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:107)
      at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
      Truncated. see log file for complete stacktrace
    If I deploy the aplication in Weblogic Console with the split_src, with only the web/target/m2e-wtp/web-resources, the applications deploy succesfully.
    If I deploy de application as exploded archive, the jboss-seam.jar file isn't included in the WEB-INF/lib folder. The others jboss-seam-xxxx.jar files are included.
    In the virtual application deployments, I think that the OEPE integration with M2E and M2E-WTP, there are include only the m2e-wtp folders.

    Hi Subash,
    I tried the same installer on a 32bit machine and was able to run without any issues.
    I did however come across a few users jdeveloper users who had similar issues with the jdev installer and the following workaround seems to have solved the issue for them. coudl you try the same and let us know if that helped ?
    1. Extract "oepe-12.1.2.1-kepler-installer-win32.exe" file into C:\oepe-12.1.2.1-kepler-installer-win32
    2. In cmd go to C:\oepe-12.1.2.1-kepler-installer-win32
    3. Execute follow command:
       C:\PROGRA~1\Java\jdk1.6.0_31\bin\java.exe ( path to your JDK)  -jar install/modules/ora-launcher.jar DISKCNT=1 JRE_COMPONENT=oracle.jdk,oracle.jre
    thanks
    Raj

  • Flash Builder 4.7 with Eclipse Kepler

    Hi,
    I'm trying to install the Adobe Flash Player 4.7 with Eclipse Kepler. I'm using the Adobe Flash Builder 4.7 Plugin-in Utility.
    It seems that this version of the Builder is not compatible with the Eclipse Kepler but only with Eclipse Indigo or Eclipse Juno
    Do you have any idea of how to do use Adobe Flash Player 4.7 with Eclipse Kepler?
    A new version of the Builder is planned for that?
    Thanks

    So, i try this and more...
    1° Download my version:
    2° CleanUp all registry for "Extension Builder", "ExtensionBuilder", "Extension_Builder", "Flash Builder", "FlashBuilder" and "Flash_Builder", after this, CCleaner...
    3° Install, error:
    4° Link file? Interesting, look in depth... Try install manually:
    5° Works, now install Extension Builder 2.1 and... Error! Look the guy "link file" here, is name of a class in *.as too big, why you do this adobe! O_O
    6° Ok, maybe work, because i never use this classes, so look more if i have serial number, oh! I Have serial number for my Extension Builder 2.1! @_@
    7° A light at the end of the tunnel! Insert in Flash Builder and...
    You just fu** kidding of me...

  • CS4 XMP SDK - Can't get it to work with Eclipse IDE

    I've been trying to use the CS4 XMP (FileInfo) SDK with the Eclipse IDE, as described in the docs, but there must be a missing step in the documentation because I have added the Ant Plugin and the XMP plugin (jar) but there is no "XMP / Custom Panel" project option showing in Eclipse.
    Has anyone got this to work? Does it require a specific (i.e. not the latest Ganymede) version of Eclipse?

    Hi Fred,
    Unfortunately I do not have Flex Builder (it is pay-for software). The XMP FileInfo SDK Programmer's Guide says there are three options:
    1. Adobe Flex Builder
    2. Eclipse IDE with Flex-Builder plug-in
    3. Flex SDK
    I've been trying number 2 (Eclipse IDE) as I am familiar with Eclipse and the plugin is included with the SDK, but it doesn't work so I guess the documentation is missing a few steps.
    Thanks
    James.

  • Compiles well with eclipse but not with javac

    Hello.
    I am using Windows XP and eclipse 3.0.2.
    I have j2sdk-1_4_2_07-windows also.
    I built class files from the code below with eclipse.
    On jre, It silently runs and exits as expected.
    But when compiled with javac, It does not.
    It dumps a stack trace.
    Which compiler is right?
    public class ANullPointerException {
         private Object o = new Object();
         private Sub sub = new Sub();
         private abstract static class Super {
              protected abstract Object access();
              private Super() {
                   access();
         private class Sub extends Super {
              protected Object access() {
                   return o;
         public static void main(String[] args) {
              new ANullPointerException();
    }the stack trace was as below
    java.lang.NullPointerException
         at ANullPointerException.access$200(ANullPointerException.java:1)
         at ANullPointerException$Sub.access(ANullPointerException.java:15)
         at ANullPointerException$Super.<init>(ANullPointerException.java:9)
         at ANullPointerException$Super.<init>(ANullPointerException.java:5)
         at ANullPointerException$Sub.<init>(ANullPointerException.java:13)
         at ANullPointerException$Sub.<init>(ANullPointerException.java:13)
         at ANullPointerException.<init>(ANullPointerException.java:3)
         at ANullPointerException.main(ANullPointerException.java:20)
    Exception in thread "main" I found 3 class files built by eclipse. They were
    ANullPointerException$Sub.class,
    ANullPointerException$Super.class and
    ANullPointerException.class.
    No missing or extra files found, I think.
    But I found 4 class files built by javac. They were
    ANullPointerException$1.class,
    ANullPointerException$Sub.class,
    ANullPointerException$Super.class and
    ANullPointerException.class.
    I do not know why ANullPointerException$1.class is needed.
    Thank you in advance.

    I found the answer myself.
    I have been setting the eclipse's .class file compatibility to 1.4.
    But it is not javac's default.
    So all I need to do is javac -target 1.4 ANullPointerException.java.
    Sorry for a noise

  • How to use SOAP over JMS with Glassfish

    Hi
    Is it possible to use JMS with JAX-WS2.0 ?
    Any answer welcome
    Andre

    I want to secure the message between my web service and a Automated activity in SAP Netweaver BPM (Process
    development). I think in this case the usage of of SOAP adapter may not be useful.
    Security parameters (settings) can be defined for Sender SOAP Adapter (as in your case it is)......to know more check this help section: http://help.sap.com/saphelp_nwpi71/helpdata/EN/fc/5ad93f130f9215e10000000a155106/content.htm
    Check the section: Define Security Parameters.
    Regards,
    Abhishek.

  • Can we use RoboHelp with Eclipse as version control?

    Im am using RoboHelp 7 in the Tech Comm Suite in a Windows XP environment.
    I see a lot of information on using RoboSource as versionn control, but I'm not seeing a lot of information on other third-pary version control software.  I did see one posting that suggested that if you are planning to use third-party software, you should uninstall RoboSource first.  I can't seem to figure out the following:
    How do you determine if your version control (Eclipse) supports Microsoft SCC API?
    How do you get RH to recognize Eclipse? Even though I uninstalled RoboSource Control 3, it still shows up in the Select Version Control Provider
    Are there step-by-step instructions anywhere that show how to get RoboHelp to recognize third-party software?
    As always, thanks for your assistance.

    Colum,
    Thanks for recommending that I visit Peter's web site.  It has a great page on Eclipse.  Wish I had read it before I was shoved kicking and screaming into using it.  However, it did stop short of providing me with information to troubleshoot the problems I'm having with Eclipse and RH 7.  I sent him an e-mail from the site and hope that he will be able to answer it.

  • Flex with Eclipse WST

    Hi I'am new to Flex, I like to get started using Flex,
    ActionScript3 using Eclipse IDE.. Iam looking for some tutorial or
    workshop article how to get Flex with Eclipse IDE.

    Hi,
    Are you talking about using the Flex Plugin or the Flex_SDK?
    Not sure about the plugin but you can check out my post on
    what I had to do to get the sdk to work with Eclipse 3.3 at
    http://www.plentifuldesigns.com/?p=13
    Hope this helps
    - Keith

  • How to include jar files in exporting an .jar with Eclipse

    I would like to add jar libraries into my jar exported in that they are referenced in my java code . how can i do it with Eclipse?
    Thanks for your response.

    You mean to add a library in NetBeans? If so, click here

  • Dobt in using Emulator with Eclipse

    Hi all,
    I am using Eclipsewith ME + Suns WTK(2.2 , 2.5 and2.5.1 versions ) for devoleping Midlet Application.I have to teest my Midlet suite for
    a) MIDPI version 1.0 and CLDC 1.0 handsets
    b) MIDPI version 1.0 and CLDC 1.1 handsets
    But there are no Handsets with the above configuration available in these wtk versions.
    But I can change the cldc version in the Preference page of Eclipse
    (Eclipse>Windows>Preference>j2me>preverification>��..). &
    (Eclipse>Project Propertise>preverification...............................)
    Which among these Is the correct way?
    ====================================
    Also i got a url ---- http://developers.sun.com/mobility/device/device
    Here there are number of hand sets supports different CLDC and MIDP versions
    But how can i use this devise�s Emulators with Eclipse ME?
    Please give me a reply ,if anyone knows...........?
    ==================
    Many Many Thanks
    shejiss

    Hi all,
    I am using Eclipsewith ME + Suns WTK(2.2 , 2.5 and2.5.1 versions ) for devoleping Midlet Application.I have to teest my Midlet suite for
    a) MIDPI version 1.0 and CLDC 1.0 handsets
    b) MIDPI version 1.0 and CLDC 1.1 handsets
    But there are no Handsets with the above configuration available in these wtk versions.
    But I can change the cldc version in the Preference page of Eclipse
    (Eclipse>Windows>Preference>j2me>preverification>��..). &
    (Eclipse>Project Propertise>preverification...............................)
    Which among these Is the correct way?
    ====================================
    Also i got a url ---- http://developers.sun.com/mobility/device/device
    Here there are number of hand sets supports different CLDC and MIDP versions
    But how can i use this devise�s Emulators with Eclipse ME?
    Please give me a reply ,if anyone knows...........?
    ==================
    Many Many Thanks
    shejiss

  • Error with eclipse

    hi,
    i know this is not a web app forum,but as my question is with eclipse i am posting my question here
    i am trying to debug my application through eclipse. i have added source and jars to eclipse debug environment. when i dubug i am getting follwoing error,where its working with tomcat deployment . any suggestion?
    SEVERE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.log4j.Logger
    java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.log4j.Logger

    Crosspost: http://forum.java.sun.com/thread.jspa?threadID=5228948&tstart=0
    You've been told before also. Is it difficult to comprehend?

  • Flex SDK with Eclipse

    Hello,
    I am quite new in Flex and Eclipse, but I would like to start my journey. So at the beginning I have to have a software to create my projects. I decided to make it in Eclipse SDK with Flex SDK. But I have no idea how can I install Flex SDK in Eclipse. I mean I would like to be able pree new and then Flex application. Something like this in this movie: http://www.adobe.com/products/flex/media/flexapp/
    So can someone help me??

    The Flex 2 plugin for Eclipse does not work with Eclipse
    3.3.x - you need 3.2.x. Download the Flex 3 Beta from Adobe labs
    and that will work with Eclipse 3.3.x
    You can use a Flex 2 SDK with the Flex Builder 3 plugin -
    each Flex 3 project can select its own Flex SDK. Plus you can help
    us test Flex 3, including the Profiler tool.

  • Generate a javadoc with eclipse

    hello!!!
    Is someone know how to generate a javadoc with eclipse???
    I find one solution, but I have to set the javadoc.exe location, and i don't know where is it...
    please could you help me???
    s@bine

    javadoc.exe file is in the same place as your java.exe file
    %JAVA_HOME%\bin
    You need to get the full JDK (not just the JRE) and I know this is the case for JDK 1.2 and above (not sure about any other previous version)

  • Using *.so files with eclipse

    Hey there
    I'm having a little problem compiling an application which uses *.so files with eclipse:
    If I run eclipse from the directory in which the *.so files are present, the application will run.
    However, if I run eclipse from any other directory , the applicationwon't run, stating that the *.so were not found.
    I've placed the path to the directory on my $PATH , and tried to add the following line to the VM variables in the RUN menu:
    -Djava.class.path=<directory _name>
    but to no avail..
    Any ideas?
    Thank You!
    Message was edited by:
    Yossale

    I added it to the LD path, but nothing changed.
    How can I check if eclispe picked up the change?First check that you can now run your program from any directory and then worry about Eclipse.
    Where did you setup the LD_LIBRARY_PATH?

Maybe you are looking for