Connecting JMS to J2EE Reference Implementation 1.3 beta

Is it possible to write JMS client talking with J2EE server without having in path j2ee.jar? Something like remote small client communicating with the server due JMS? Do I have to use some third party
software (I have swiftMQ in mind) for this? If somebody have configuration for swift bridge to J2EE
Refernce Implementation can you share it?

The JMS service provider that comes with J2EE SDK 1.3 is only a reference implementation of the JMS API.
In a real application system, one will be using a JMS service provider from some vendor. Preferably one that is certified to be J2EE compatible.
In fact, this is true as such for anything in j2ee.jar Through j2ee.jar, Sun provides a reference implementation of J2EE APIs with its J2EE SDK and in a real application one will not have j2ee.jar in the client or server classpath. Instead one will use jar files specific to the vendor that one has chosen.
Specifically about swiftMQ, as per Sun, it is not a J2EE licensee. swiftMQ is JMS 1.0.2 compliant. But it is not certified to be J2EE compatible.
Refer http://java.sun.com/products/jms/nonlicensedvendors.html for more details.

Similar Messages

  • Calling a servlet from a JSP page using the J2EE reference implementation

    I have a JSP with an include tag as follows: <jsp:include page="servlet/ConnectionServlet" flush="true" />
    When I use JRUN it works fine. I created an ear file and ported
    the application to the J2EE reference implementation. When running the app under the J2EE reference implementation the ConnectionServlet is never called. I figured it must a deployment issue. I tried adding the ConnectionServlet.class file to the WEB-INF\classes file as servlet\ConnectionServlet.class but the JSP still can't find the servlet. Any ideas where I've gone wrong? TIA, Joe

    I have a JSP with an include tag as follows:
    <jsp:include page="servlet/ConnectionServlet"
    flush="true" />Basically, WEB-INF/classes gets added to the classpath, so the directory structure under this folder should be identical to your package structure. If the ConnectionServlet.class is not actually in a package, then it should be directly in WEB-INF/classes (ie if "servlet" isn't actually the name of your package, don't use a WEB-INF/classes/servlet/" directory).
    Then try taking out the "servlet" from your include tag, so you just have page="/ConnectionServlet" (not sure about the leading slash - try experimenting!)
    if this doesn't work, try adding this to your WEB-INF/web.xml file:
    <web-app><!-- the web-app tags may already be there - don't add more -->
    <servlet>
    <servlet-name>ConnectionServlet</servlet-name>
    <servlet-class>your.full.package.here.ConnectionServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>ConnectionServlet</servlet-name>
    <url-pattern>/ConnectionServlet</url-pattern>
    </servlet-mapping>
    </web-app>
    Good Luck!

  • Inconsistency using SUN Rowset Reference Implementation

    I am Using the RowSet reference implemention with Oracle Database.
    I am having a class which takes a input in form of XML adhering to the webrowset format.
    The xml contains some records to be inserted , some records to be updated and some records to be deleted.
    This xml is then fed to a WebRowSet using the webRowSet.readXml method which takes a Reader as a parameter. I am using a StringReader here.
    Here is the code snippet:-
    public void executeUpdate(String webRowSetXML)throws SQLComponentException{
    System.out.println(" webRowSetXML "+webRowSetXML);
    StringReader sr = new StringReader(webRowSetXML);
    WebRowSet webRowSet = null;
    try {
    webRowSet = new WebRowSetImpl();
    webRowSet.readXml(sr);
    webRowSet.acceptChanges(connection);
    } catch (SQLException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    I found here that the insertion and updating works without any problem , but the deletion doesn't work.
    Then to study this problem , i wrote a program with two WebRowSets, one will be the producer of the data and the other will be the consumer.
    the first WebRowSet will read the data from the data source , delete a record using the following piece of code:-
    wrs1.absolute(6);
    wrs1.deleteRow();
    And then i generate a String XML using the writeXML method.
    Then i feed this xml to the readXML method of the second WebRowSet and i call the acceptChanges method of the second WebRowSet. But the record doesn't get deleted.Also after printing the xml from the second WebRowSet , the <deleteRow> tag is absent from the xml.
    The same condition works properly for the insert and update operation and the respective <insertRow> and <updateRow> methods appear in both the xml's generated from both the WebRowSet's.
    Is this a bug in the webRowSet implemention or is it a problem of Oracle? Or is it that something else needs to be done for the delete operation to work.
    I tried the same thing with Pervasive SQL instead of oracle. Here only the insert operation works.
    Any body please help me in solving this problem...

    http://java.sun.com/j2se/1.4.1/docs/api/javax/sql/RowSet.html
    From the sun desc above.
    The RowSet interface is unique in that it is intended to be implemented using the rest of the JDBC API. In other words, a RowSet implementation
    is a layer of software that executes "on top" of a JDBC driver.
    Implementations of the RowSet interface can be provided by anyone,
    including JDBC driver vendors who want to provide a RowSet
    implementation as part of their JDBC products.
    rykk

  • Java.lang.NullPointerException when connect to the J2EE engine

    I want to connect to the J2EE engine ,but the error message "java.lang.NullPointerException" is displayed in the console.  Please help me ! Thank you !!  The full error exception like this:
    java.lang.NullPointerException
            at com.sap.engine.services.adminadapter.gui.tasks.LoginTask.connectActio
    n(LoginTask.java:191)
            at com.sap.engine.services.adminadapter.gui.tasks.LoginTask.run(LoginTas
    k.java:79)
            at java.lang.Thread.run(Thread.java:534)

    Hi:
    The whole errror message like this:(deploy aborted error message)
    2009/4/27 上午 08:53:52 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : 10.138.6.10
    SDM port : 50118
    URL to deploy : file:/C:/DOCUME1/F3221789/LOCALS1/Temp/temp53268foxconn.com~bbs_demo.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/F3221789/LOCALS1/Temp/temp53268foxconn.com~bbs_demo.ear
    Aborted: development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22':
    Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool. For more information, see SAP note 701654.
    com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: Wrong security credentials detected while trying to obtain connection to the J2EE Engine.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
    Deployment exception : The deployment of at least one item aborted
    The Log infomation is like this:
    2009/4/27 上午 08:53:52 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
    [001]Additional log information about the deployment
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[D:\usr\sap\SCM\DVEBMGS01\SDM\program\log\sdmcl20090427005331.log]/>
    <!PATTERN[sdmcl20090427005331.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
    <!ENCODING[MS950]/>
    <!LOGHEADER[END]/>
    Apr 27, 2009 8:53:32 AM  Info: -
    Starting deployment -
    Apr 27, 2009 8:53:32 AM  Info: Error handling strategy: OnErrorStop
    Apr 27, 2009 8:53:32 AM  Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop
    Apr 27, 2009 8:53:32 AM  Info: Update strategy: UpdateAllVersions
    Apr 27, 2009 8:53:32 AM  Info: Starting deployment prerequisites:
    Apr 27, 2009 8:53:36 AM  Info: Loading selected archives...
    Apr 27, 2009 8:53:36 AM  Info: Loading archive 'D:\usr\sap\SCM\DVEBMGS01\SDM\program\temp\temp53268foxconn.com~bbs_demo.ear'
    Apr 27, 2009 8:53:37 AM  Info: Selected archives successfully loaded.
    Apr 27, 2009 8:53:37 AM  Info: Actions per selected component:
    Apr 27, 2009 8:53:37 AM  Info: Update: Selected development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22' updates currently deployed development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.23.14.34.21'.
    Apr 27, 2009 8:53:37 AM  Info: Ending deployment prerequisites. All items are correct.
    Apr 27, 2009 8:53:39 AM  Error: Unable to compare host[sidcsms.foxconn.com] and host[GDS-SF-F21789] Throwable: java.net.UnknownHostException Throwable message: GDS-SF-F21789: GDS-SF-F21789
    Apr 27, 2009 8:53:39 AM  Info: Saved current Engine state.
    Apr 27, 2009 8:53:39 AM  Info: Starting: Update: Selected development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22' updates currently deployed development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.23.14.34.21'.
    Apr 27, 2009 8:53:39 AM  Info: SDA to be deployed: D:\usr\sap\SCM\DVEBMGS01\SDM\root\origin\foxconn.com\bbs_demo\LOKAL\0.2009.04.27.08.53.22\temp53268foxconn.com~bbs_demo.ear
    Apr 27, 2009 8:53:39 AM  Info: Software type of SDA: J2EE
    Apr 27, 2009 8:53:40 AM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Apr 27, 2009 8:53:43 AM  Error: Unable to compare host[sidcsms.foxconn.com] and host[GDS-SF-F21789] Throwable: java.net.UnknownHostException Throwable message: GDS-SF-F21789: GDS-SF-F21789
    Apr 27, 2009 8:53:44 AM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Apr 27, 2009 8:53:44 AM  Error: Aborted: development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22':
    Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool. For more information, see SAP note 701654.
    com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: Wrong security credentials detected while trying to obtain connection to the J2EE Engine.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
    Apr 27, 2009 8:53:44 AM  Info: Starting to save the repository
    Apr 27, 2009 8:53:44 AM  Info: Finished saving the repository
    Apr 27, 2009 8:53:44 AM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Apr 27, 2009 8:53:44 AM  Error: -
    At least one of the Deployments failed -
    Edited by: sap-abap-tw on Apr 27, 2009 3:01 AM

  • How to connect Mysql to J2EE server exactly?

    Hi,there
    I would like thank you for offering me your precious opinion in advance.
    I got a problem with installing Mysql database into J2EE server. All I have done is:
    1.Install Mysql and put the Mysql driver,mm.mysql-2.0.4-bin.jar into the directory of J2EE which is j2ee1.3.1/lib.
    2. Set the environment variable for invoking the Mysql driver like
    this,CLASSPATH=.;%JAVA_HOME%\lib\mysql-connector-java-2.0.14-bin;%
    J2EE_HOME%\lib\mysql-connector-java-2.0.14-bin;%JAVA_HOME%\bin;
    3.Modify the content of Server.xml file located in J2EE directory like this:
    <DefaultContext>
    <Resource name="jdbc/mysql" auth="Container"
    type="javax.sql.DataSource" />
    <ResourceParams name="jdbc/mysql">
    <parameter>
    <name>driverClassName</name>
    <value>org.gjt.mm.mysql.Driver</value>
    </parameter>
    <parameter>
    <name>drivername</name>
    <value>jdbc:mysql:localhost:3306:mobiledb</value>
    </parameter>
    </ResourceParams>
    </DefaultContext>
    So far,I have no success in connect Mysql to J2EE server. What am I doing wrong?
    Thank you for your kind help.

    hi, sameer
    Thank you for reply. Could you tell me exactly the documents that you see? Do you mean "J2EE tutorial documents"?
    Thanks for advice.
    Revon

  • Support for SWF Verification in the reference implementation server

    The Server for Protected Streaming provides a way to configure a whitelist of allowed SWF hashes.  However, from what I can tell, the reference implementation server does not have this capability.  Any suggestions on how to implement SWF Verification in the reference implementation server ?

    To use SWF whitelists with the Reference Implementation, set the SWF  whitelist in a policy, and use that policy when packaging the content.  When issuing a license, the Reference Implementation will use whatever  restrictions were specified in the policy at packaging time.  Alternatively, since the Reference Implementation ships with source  code, you can modify the server so you can specify the SWF whitelist  information at the time the license is generated.

  • Where can I get a reference implementation of XQJ

    Where can I get a reference implementation of XQJ
    - Raees Uzhunnan

    Reference implementation of XQJ is not available yet. When it becomes available, you can find it from the JSR XQJ page (http://jcp.org/en/jsr/detail?id=225).
    Regards,
    Geoff

  • Error creating connection pool in j2ee 1.4

    i want to create a connection pool in j2ee 1.4 but it is giving an error " sun.jdbc.odbc.JdbcOdbcDriver"
    the driver class i enter is sun.jdbc.odbc.JdbcOdbcDriver
    please tell me the possible error

    now, i have installed j2ee 1.5 bundled version. Now i have tried the same thing. nut it is giving an error "sun.jdbc.odbc.JdbcOdbcDriver canot be cast to javax.sql.XADataSource".
    Now, i have downloaded Microsoft jdbc Driver for SQL Server 2000 and set the classpath for those three files that comes under the lib folder. Then i used "com.microsoft.jdbcx.sqlserver.SQLServerDataSource" class, then another error comes "Class not found or classpath is not set for "com.microsoft.jdbcx.sqlserver.SQLServerDataSource" class.
    however, this class file is packed in one of those three jar files for which i have set the classpath.
    PLEASE HELP

  • MIDP 2.0 Reference Implementation building on the Win2k

    Hi
    I builded MIDP2.0 Reference Implementation in the environment following below,
    cygwin: 1.5.10_3
    MIDP_DIR c:\j2me\midp_2-0
    KVM_DIR c:\j2me\CLDC_1-0-4
    ALT_BOOTDIR c:\jdk1.3.1
    and I received error message.
    Microsoft (R) Incremental Linker Version 6.00.8447
    Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
    ... jcc_classes/JavaCodeCompact.class
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -deprecation for details.
    ... searching updated .java files
    ... compiling 256 .java files
    ... preverifying 298 .class files
    ... classes.zip
    Can't open perl script "c:\Program": No such file or directory
    make: *** [classes.zip] Error 2
    I think that the problem is cause by wrong PATH environment
    But I don't know solution.

    something is installed in a folder with a space in it. for example, it will be installed in "c:\program files\...". you may be able to surround the part of the path with quotes. without knowing the program thats causing the problem its gonna be tricky to figure out how to fit it. it could be a path thing (i have loads of development stuff installed with no path problems) or it could be another environment variable.
    it could be perl itself. i can't remember if i had problems with that - i might have done. i think i installed perl into c:\perl rather than c:\prorgam files\perl (for example) to get round problems. shrug, i can't remember now.

  • Switchting from Reference implementation to MyFaces

    Hi,
    one year ago I developed a JSF-software using Tomcat 5.5.7 and SUNs reference implementation, which worked fine. Now I try to replace it by MyFaces and I get this error navigating to the first page:
    javax.faces.FacesException: org.apache.jasper.JasperException
    org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:425)
    org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
    org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
    There is no protocol entry in the TOMCAT logs directory. The only thing I did was replacing the related jars, which should be the only thing to do, as I understand the concept ;-). Any idea what the reason could be?
    Thanks
    Thorsten

    Here's a decent discussion of listeners in TLDs. Ideally you should only put listeners relevant to a particular taglib in the associated TLD. So it would be wise to move the MyFaces Listener up to the web.xml, because it's not tied to any particular taglib. But in this case you're correct, the taglib listeners are being invoked in addition to any listeners you may have defined directly in the web.xml
    http://www.phptr.com/articles/article.asp?p=26118&seqNum=6&rl=1
    I generally think of TLDs as descriptor files that provide required definitions for a particular taglib (namespace, individual tag info), metadata info that may be useful for development and debugging tools (assorted optional meta-data for the tags), and any instructions for web-application global behavior that may be needed to support the individual tags (listeners)
    Regards,
    Peter

  • Why not porting CDC-PP reference implementation to PocketPC by ourself?

    Hi All,
    Seeing your open letter about Personal Profile for PocketPC, I have the question: Why not porting CDC-PP reference implementation to PocketPC by ourself? Or do you know any open source project on this topic?
    in Java world, we should DIY (eclipse, Junit, ANT......)
    Regards!
    Tiger

    Sorry, I missed the "reference implementation" in the subject. Can you even get the thing to compile? Taking a guess at which of the umpteen makefiles to use, I get pjt33@charis:/tmp/personal/build/share/$ make -f rules.mk
    rules.mk:289: /empty.mk: No such file or directory
    rules.mk:394: warning: overriding commands for target `/'
    rules.mk:20: warning: ignoring old commands for target `/'
    rules.mk:422: *** target file `/' has both : and :: entries.  Stop.There are also licencing issues with using the reference implementation - if you want to distribute it properly, it seems you have to pay Sun an annual fee for the Technology Compatibility Kit.

  • Usage of content management reference implementation

    Has anyone used the built-in, reference implementation, content management
    system that comes with WLPS 3.5 in a production environment... instead of
    using Documentum, Interwoven, etc.?
    Asides from cost, what are other factors were in favour of the reference
    implementation?

    Hi Suchitra,
    You would need to look at the BI statistics data. Check these links:
    http://help.sap.com/saphelp_nw04/helpdata/en/f2/e81c3b85e6e939e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/8c/131e3b9f10b904e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f0/3c8c3bc6b84239e10000000a114084/plain.htm
    Refer this How-To doc on BW Ststistics:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5401ab90-0201-0010-b394-99ffdb15235b
    Bye
    Dinesh

  • Connecting JMS servers together into a cluster

              Hi
              I am just wondering if anyone tried (or is it even possible) to connect JMS servers
              from different providers (say BEA and Sonic) together in a cluster of some sorts?
              Thanks
              

    Integrating foreign vendors with WL has come up many times in this newsgroup.
              Search for "MQ" (MQSeries) and "Sonic".
              Tom
              Alex wrote:
              > Hi
              >
              > I am just wondering if anyone tried (or is it even possible) to connect JMS servers
              > from different providers (say BEA and Sonic) together in a cluster of some sorts?
              >
              > Thanks
              

  • Reference Implementation: Cannot find flashaccess-refimpl.properties

    [ Problem ]
    I’ve just downloaded the latest drop of Flash Access. I have created a new project in Eclipse so that i can make changes to the reference implementation. When i access the following URL from a browser:
    http://localhost:8080/flashaccess/license/v1
    I get an error: "Could not find server properties". The following line of code in "RefImplAbstractReqHandlerServer.java" cannot find the server properties files:
    InputStream propsInputStream = Thread.currentThread().getContextClassLoader().getResourceAsStream(propertiesFileName);
    I have added the "resources" directory that contains flashaccess-refimpl.properties to my classpath. But i still get the same error.
    I’m guessing i have missed something. Does anyone have any suggestions to how i can overcome this error?
    [ Solution ]
    I am assuming you were adding the "resource" directory into the "classpath" by
    project property -> Java Build Path -> add class folder. This way, the resource directory is just not with the web container’s classpath.
    With Eclipse IDE, when i go this way, it works.
    1. go to "Run" -> Run Configuration ->"Apache Tomcat"( I am using tomcat)
    2.  select the Server Instance you are running the refimpl
    3. click the "classpath" tab
    4. in the "User entries" add the resource folder by "advanced->add folder"
    Then, restart the refimpl.

    Hi 高麻雀,
    You can edit the properties of configuration baselines and configuration items only if they were created at the same Configuration Manager site. The icons will have a lock symbol, and you can view their properties but not edit them in the following circumstances:
    They have been imported from Microsoft System Center Configuration Manager 2007 Configuration Packs.
    They have been imported from an external source, such as the Configuration Manager 2007 communities.
    They have been imported from another Configuration Manager 2007 hierarchy.
    They have been authored externally and then imported.
    They have been inherited by a parent site in the same Configuration Manager 2007 hierarchy.
    Solution
    Although this behavior is by design, you can modify imported data in the following ways: Refer the below link for details:
    Problems Editing Configuration Data -->: http://technet.microsoft.com/en-us/library/bb633142.aspx
    Related post:
    http://social.technet.microsoft.com/Forums/en-US/configmgrdcm/thread/7ea89eea-00f4-436f-a055-b72ab14dfa97
    Rajeesh M | My Tech Blog: ScorpITs |
    LinkedIn Please take a moment to “Mark as Answer” and/or “Vote as Helpful” on the post that helps you. This helps other community members reading the thread and recognises useful contributions. Thanks!

  • Link to download the RMI optional package reference implementation

    Hi,
    I could not find any links for downloading the reference implementation of the RMI optional package. Is this package available for download? Pls give me the link if you find the same. Thanks in advance..
    regards,
    Anand
    Edited by: Anand.Raman on Apr 22, 2009 2:48 AM

    This is a deprecated URL that will be retired soon.
    You can download this RI here:
    https://java-partner.sun.com/support/login.action
    Assuming that you have a Java Partner login.

Maybe you are looking for