JMS Standalone Application

I am Developing JMS Standalone Application And Using Sun App Server 8.1 The Following I Have Created
1. META-INF/application-client.xml
2. source/jms/SimpleQueueSender.java
3.source/jms/SimpleQueueReceiver.java
The Following Is The Code In application-client.xml
<application-client>
        <display-name>Simple JMS Standalone Application </display-name>
        <resource-ref>
                <description>Simple Queue SenderReceiver</description>
                <res-ref-name>jms/MyQCF</res-ref-name>
                <res-type>javax.jms.QueueConnectionFactory</res-type>
                <res-auth>Container</res-auth>
        </resource-ref>
        <resource-env-ref>
                <description>SQR</description>
                <resource-env-ref-name>jms/MyQueue</resource-env-ref-name>
                <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
        </resource-env-ref>
</application-client>The Following Is The Code Used In SimpleQueueXXX(Either Sender Or Receiver )
queueConnectionFactory = (QueueConnectionFactory)
                jndiContext.lookup("java:comp/env/jms/MyQCF");
            queue = (Queue) jndiContext.lookup("java:comp/env/jms/MyQueue");when i run the the packaged jar file using appclient
the following error is generated
WARNING: ACC003: Application threw an exception.
javax.naming.InvalidNameException: Real JNDI name cannot be empty for jms/MyQCF
at com.sun.enterprise.naming.NamingManagerImpl.bindObjects(NamingManagerImpl.java:475)
at com.sun.enterprise.appclient.AppContainer.preInvoke(AppContainer.java:134)
at com.sun.enterprise.appclient.Main.<init>(Main.java:383)
at com.sun.enterprise.appclient.Main.main(Main.java:99)
Mar 9, 2006 7:16:40 PM com.sun.enterprise.appclient.Main <init>
WARNING: ACC010: Make sure the server port is not disabled and that you are looking up a valid name
Thanks In Advance , Please Help Me At The Earliest

Yaa , I Have Resolved It By Writing sun-application-client.xml but now i am getting some another error , can look into this why does this come
Mar 10, 2006 12:53:26 PM com.sun.enterprise.appclient.Main <init>
WARNING: ACC003: Application threw an exception.
java.lang.ClassNotFoundException:
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at com.sun.enterprise.appclient.Main.<init>(Main.java:388)
at com.sun.enterprise.appclient.Main.main(Main.java:99)
Thanks In Advance , Please Reply At The Earliest

Similar Messages

  • Regarding JMS standalone application client

    Hi,
    I m new to JMS.
    I m using NetBeans IDE and would like to know how can i create connection factories and destinations either administratively or through JNDI.
    Btw, i m writing a simple stand alone application client which has a queuesender and a queuereceiver.
    Regards.

    Hi,
    I m using Jboss4.2.0GA...plz tell me how to create a connection factory and a destination queue......and then how to look them up via JNDI??
    I m writing a simple stand alone application client with a sender and a receiver.
    Regards,
    Chowdary.

  • Standalone application can't get JDBC data source from Weblogic 10.3

    We have the following configuration :
    A Weblogic server 10.3 (default installation).
    The server contains a JMS queue (jndi name: "DMQ") and JDBC data sources (jndi names: Oracle thin XA - "dataSource", MS SQL - "dataSource1")
    We have built wlfullclient5.jar for Java 1.5 ([http://edocs.bea.com/wls/docs103/client/jarbuilder.html#wp1078122]) (according to the docs)
    And now we use a test standalone application with the wlfullclient5.jar :
    public static void main (String[] args) throws NamingException {
    bq. Hashtable&lt;String, String&gt; env = new Hashtable&lt;String, String&gt;(); \\     env.put(Context.+INITIAL_CONTEXT_FACTORY+, "weblogic.jndi.WLInitialContextFactory"); \\     env.put(Context.+PROVIDER_URL+, "http://serv1:7001"); \\     env.put(Context.+SECURITY_CREDENTIALS+, "weblogic"); \\     env.put(Context.+SECURITY_PRINCIPAL+, "weblogic"); \\     InitialContext ic = new InitialContext(env); \\ \\ System.+out+.println("Get DMQ"); \\     ic.lookup("DMQ"); \\ System.+out+.println("Get dataSource"); \\     ic.lookup("dataSource");
    bq. System.+out+.println("Get dataSource1"); \\     ic.lookup("dataSource1"); \\ System.+out+.println("Done"); \\
    Here is the output when connected to WLS 10.3:
    bq. Get DMQ \\ Get dataSource \\ Exception in thread "Main Thread" java.lang.AssertionError: Failed to generate class for weblogic.jdbc.common.internal.RmiDataSource_1030_WLStub \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:790_) \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:779_) \\ at weblogic.rmi.extensions.StubFactory.getStub(_StubFactory.java:74_) \\ at weblogic.rmi.internal.StubInfo.resolveObject(_StubInfo.java:213_) \\ at weblogic.rmi.internal.StubInfo.readResolve(_StubInfo.java:207_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke0(_Native Method_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke(_NativeMethodAccessorImpl.java:39_) \\ at sun.reflect.DelegatingMethodAccessorImpl.invoke(_DelegatingMethodAccessorImpl.java:25_) \\ at java.lang.reflect.Method.invoke(_Method.java:585_) \\ at java.io.ObjectStreamClass.invokeReadResolve(_ObjectStreamClass.java:1033_) \\ at java.io.ObjectInputStream.readOrdinaryObject(_ObjectInputStream.java:1728_) \\ at java.io.ObjectInputStream.readObject0(_ObjectInputStream.java:1305_) \\ at java.io.ObjectInputStream.readObject(_ObjectInputStream.java:348_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:197_) \\ at weblogic.rjvm.MsgAbbrevInputStream.readObject(_MsgAbbrevInputStream.java:564_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:193_) \\ at weblogic.rmi.internal.ObjectIO.readObject(_ObjectIO.java:62_) \\ at weblogic.rjvm.ResponseImpl.unmarshalReturn(_ResponseImpl.java:240_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:348_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:259_) \\ at weblogic.jndi.internal.ServerNamingNode_1030_WLStub.lookup(Unknown Source) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:392_) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:380_) \\ at javax.naming.InitialContext.lookup(_InitialContext.java:351_) \\ at test.main(_test.java:23_) \\ Caused by: java.lang.reflect.InvocationTargetException \\ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(_Native Method_) \\ at sun.reflect.NativeConstructorAccessorImpl.newInstance(_NativeConstructorAccessorImpl.java:39_) \\ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(_DelegatingConstructorAccessorImpl.java:27_) \\ at java.lang.reflect.Constructor.newInstance(_Constructor.java:494_) \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:788_) \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:779_) \\ at weblogic.rmi.extensions.StubFactory.getStub(_StubFactory.java:74_) \\ at weblogic.rmi.internal.StubInfo.resolveObject(_StubInfo.java:213_) \\ at weblogic.rmi.internal.StubInfo.readResolve(_StubInfo.java:207_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke0(_Native Method_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke(_NativeMethodAccessorImpl.java:39_) \\ at sun.reflect.DelegatingMethodAccessorImpl.invoke(_DelegatingMethodAccessorImpl.java:25_) \\ at java.lang.reflect.Method.invoke(_Method.java:585_) \\ at java.io.ObjectStreamClass.invokeReadResolve(_ObjectStreamClass.java:1033_) \\ at java.io.ObjectInputStream.readOrdinaryObject(_ObjectInputStream.java:1728_) \\ at java.io.ObjectInputStream.readObject0(_ObjectInputStream.java:1305_) \\ at java.io.ObjectInputStream.readObject(_ObjectInputStream.java:348_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:197_) \\ at weblogic.rjvm.MsgAbbrevInputStream.readObject(_MsgAbbrevInputStream.java:564_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:193_) \\ at weblogic.rmi.internal.ObjectIO.readObject(_ObjectIO.java:62_) \\ at weblogic.rjvm.ResponseImpl.unmarshalReturn(_ResponseImpl.java:240_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:348_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:259_) \\ at weblogic.jndi.internal.ServerNamingNode_1030_WLStub.lookup(Unknown Source) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:392_) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:381_) \\ at javax.naming.InitialContext.lookup(_InitialContext.java:351_) \\ at test.main(_test.java:26_) \\ Caused by: java.lang.ArrayIndexOutOfBoundsException: 6 \\ at weblogic.jdbc.common.internal.RmiDataSource_1030_WLStub.ensureInitialized(Unknown Source) \\ at weblogic.jdbc.common.internal.RmiDataSource_1030_WLStub.&lt;init&gt;(Unknown Source) \\ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(_Native Method_) \\ at sun.reflect.NativeConstructorAccessorImpl.newInstance(_NativeConstructorAccessorImpl.java:39_) \\ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(_DelegatingConstructorAccessorImpl.java:27_) \\ at java.lang.reflect.Constructor.newInstance(_Constructor.java:494_) \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:788_) \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:779_) \\ at weblogic.rmi.extensions.StubFactory.getStub(_StubFactory.java:74_) \\ at weblogic.rmi.internal.StubInfo.resolveObject(_StubInfo.java:213_) \\ at weblogic.rmi.internal.StubInfo.readResolve(_StubInfo.java:207_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke0(_Native Method_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke(_NativeMethodAccessorImpl.java:39_) \\ at sun.reflect.DelegatingMethodAccessorImpl.invoke(_DelegatingMethodAccessorImpl.java:25_) \\ at java.lang.reflect.Method.invoke(_Method.java:585_) \\ at java.io.ObjectStreamClass.invokeReadResolve(_ObjectStreamClass.java:1033_) \\ at java.io.ObjectInputStream.readOrdinaryObject(_ObjectInputStream.java:1728_) \\ at java.io.ObjectInputStream.readObject0(_ObjectInputStream.java:1305_) \\ at java.io.ObjectInputStream.readObject(_ObjectInputStream.java:348_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:197_) \\ at weblogic.rjvm.MsgAbbrevInputStream.readObject(_MsgAbbrevInputStream.java:564_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:193_) \\ at weblogic.rmi.internal.ObjectIO.readObject(_ObjectIO.java:62_) \\ at weblogic.rjvm.ResponseImpl.unmarshalReturn(_ResponseImpl.java:240_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:348_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:259_) \\ at weblogic.jndi.internal.ServerNamingNode_1030_WLStub.lookup(Unknown Source) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:392_) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:380_) \\ at javax.naming.InitialContext.lookup(_InitialContext.java:351_) \\ at test.main(_test.java:23_)
    But at the same time the output when connected to WLS 10.0 is :
    Get DMQ \\Get dataSource \\Get dataSource1 \\Done
    (so that the test passed)
    Could you give me a piece of advice ?
    Thanks,
    Sergey

    I hit the same problem as yours. This issue is caused by JDK version. The JDK used by Weblogic 10.3 is java 6, while your client program's jdk version is java5. So change the both of them to java 6. This issue will be fixed.
    Don't forget to rebuild the wlfullclient.jar which also should be java 6.
    Good luck!

  • Publishing message to Topic from a standalone application.

    Hi,
    I have a standalone Java program which will publish a message to the TOPIC. I have found the code to publish to the topic. Please anyone of you can tell me, if I can do it from the standalone application and if yes then how, please provide a code example if possible. We need to specify JNDI's, so tell me where we configure these JNDIs and how would my standalone program would connect to it.

    [http://www.google.com/search?q=jms+publish+standalone+example|http://www.google.com/search?q=jms+publish+standalone+example]
    Edited by: jtahlborn on Sep 4, 2008 9:07 PM

  • JMS: Standalone vs J2EE

    Hello,
    I am looking for comments/advice on implementing a JMS component as a standalone application versus a J2EE (message driven bean). Mainly in terms of experience or pros and cons of each technology. We are implementing the component from scratch and are curious about the performance consequences that people have encountered.
    These JMS components can perform heavy database access, heavy file I/O, and/or heavy computation load. I am if the benefits of running a JMS client as a message driven bean in a J2EE container will outweigh any performance implications when executing many heavy weight tasks within the same JVM.
    Thanks
    Darryl

    Darryl -
    You may want to also post this question on the Oracle9iAS J2EE forum on OTN to reach a wider Java audience.
    http://technet.oracle.com:89/cgi-bin/forumdisplay.cgi?action=topics&forum=Oracle9iAS+J2EE&number=99&DaysPrune=20&LastLogin=

  • Classpath for JMS standalone client

    Hi,
    I observed some problem, when I try to start my JMS client application. If in classpath is oc4j.jar it works, but when I replace oc4j.jar with oc4jclient.jar doesn't
    I notice the message:
    Exception in thread "main" java.lang.NoClassDefFoundError: com/evermind/server/jms/EvermindXAConnectionFactory
    at com.evermind.server.jms.ConnectInfo.getPass(ConnectInfo.java:98)
    at com.evermind.server.jms.EvermindTopicConnectionFactory.createTopicCon
    nection(EvermindTopicConnectionFactory.java:83)
    at sapconnector.MaterialMoverClient.main(MaterialMoverClient.java:52)
    the line no. 52 exactly means:
    TopicConnection connection = factory.createTopicConnection();
    What the OC4J client jar (oc4jclient.jar) is not enough for starting JMS standalone client?
    regards
    Krzysztof

    Hi, thanks for the reply.
    Well, I figured out that problem. It was my jar file. One of the jar file, which is imqjmsra.jar wasn't really the right one and that was giving me the problem. Well, at least that is working not, but I am having new problems.
    Right, I have been trying to make this work for about three days now. The truth is that my standalone JMS does work, when it is running on the same machine where the J2EE Server is located, but I am trying to make my JMS standalone client to connect to J2EE server from different location. Now I am getting connection refused error. Well, I guess I will be keep trying util I get this working.

  • How to use JDBC Connection Pools in a standalone application?

    Hi, there,
    I have a question about how to use JDBC Connection Pools in an application. I know well about connection pool itself, but I am not quite sure how to keep the pool management object alive all the time to avoid being destroyed by garbage collection.
    for example, at the website: http://www.developer.com/java/other/article.php/626291, there is a simple connection pool implementation. there are three classes:JDBCConnection, the application's gateway to the database; JDBCConnectionImpl, the real class/object to provide connection; and JDBCPool, the management class to manage connection pool composed by JDBCConnectionImpl. JDBCPool is designed by Singleton pattern to make sure only one instance. supposing there is only one client to use connection for many times, I guess it's ok because this client first needs instantiate JDBCPool and JDBCConnectionImpl and then will hold the reference to JDBCPool all the time. but how about many clients want to use this JDBCPool? supposing client1 finishes using JDBCPool and quits, then JDBCPool will be destroyed by garbage collection since there is no reference to it, also all the connections of JDBCConnectionImpl in this pool will be destroyed too. that means the next client needs recreate pool and connections! so my question is that if there is a way to keep pool management instance alive all the time to provide connection to any client at any time. I guess maybe I can set the pool management class as daemon thread to solve this problem, but I am not quite sure. besides, there is some other problems about daemon thread, for example, how to make sure there is only one daemon instance? how to quit it gracefully? because once the whole application quits, the daemon thread also quits by force. in that case, all the connections in the pool won't get chance to close.
    I know there is another solution by JNDI if we develop servlet application. Tomcat provides an easy way to setup JNDI database pooling source that is available to JSP and Servlet. but how about a standalone application? I mean there is no JNDI service provider. it seems a good solution to combine Commons DBCP with JNID or Apache's Naming (http://jakarta.apache.org/commons/dbcp/index.html). but still, I don't know how to keep pool management instance alive all the time. once we create a JNDI enviroment or naming, if it will save in the memory automatically all the time? or we must implement it as a daemon thread?
    any hint will be great apprieciated!
    Sam

    To my knoledge the pool management instance stays alive as long as the pool is alive. What you have to figure out is how to keep a reference to it if you need to later access it.

  • Looking for a standalone application/system menu

    Most (all?)  desktop environments features some kind of application menu in the panel. But for the people running more lightweight environments (like just a tiled wm) have no reason to have an extra panel around just for the menu.
    I know about application launchers, such as launchy and gmrun, but the thing I'm looking for is something that could give me a list of all "bigger" programs installed, grouped by category. Because, simply, I can never remember all stuff I've installed over the years.
    So I'm thinking: there must be someone out there that has developed a standalone application menu?
    Either the program could just scan the "/usr/share/applications" direcotry, or one could try to extract the menu part from a panel program, such as lxpanel?

    Hey, adeskmenu seem to be exactly what I'm looking for! Thanks a lot! :-)
    (now just need to find out why the aur version crashes... no problem, though. seems to be other versions around that works)

  • Run standalone applications on E-Business Suite Application Server

    Hi,
    Environment Details:
    Database - 10.2.0.3
    Apps. - 12.0.3
    We have a 6i client-server Forms & Reports application that we want to web-enable. This is a standalone application that has no integration with the E-Business Suite. We would like to use the E-Business Suite application server forms and reports servers to run this application too.
    I had two questions:
    1. Are there any documents available that would document best practices for such a scenario?
    2. Is it possible to create a standalone report server on the E-Business Suite reports server or is there a way to integrate the standalone application reports with the EBS report server?
    Thanks,
    Ramesh

    Ramesh wrote:
    Hi,
    Environment Details:
    Database - 10.2.0.3
    Apps. - 12.0.3
    We have a 6i client-server Forms & Reports application that we want to web-enable. This is a standalone application that has no integration with the E-Business Suite. We would like to use the E-Business Suite application server forms and reports servers to run this application too.Since you are on R12, you need to use Developer 10g (since Developer 6i is not certified with R12).
    Using the OracleAS 10.1.2 Forms and Reports Builders with Oracle Applications Release 12 [ID 444248.1]
    How To Bring Up 10G Forms Builder In R12 Environment? [ID 579318.1]
    How To Upgrade 11i Custom Forms To R12 [ID 563258.1]
    Accessing Custom Forms After Upgrading From To R12. [ID 451934.1]
    I had two questions:
    1. Are there any documents available that would document best practices for such a scenario?Yes.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Custom+AND+Top+AND+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Custom+AND+Forms+AND+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Oracle E-Business Suite Developer's Guide
    http://docs.oracle.com/cd/E18727_01/doc.121/e12897/toc.htm
    2. Is it possible to create a standalone report server on the E-Business Suite reports server or is there a way to integrate the standalone application reports with the EBS report server?Register your reports as concurrent programs and let the concurrent manager take care of the processing.
    http://docs.oracle.com/cd/E18727_01/doc.121/e12893/toc.htm
    http://docs.oracle.com/cd/E18727_01/doc.121/e12897/toc.htm
    Thanks,
    Hussein

  • Creating a user in EP using a java standalone application

    Hi,
      I am trying to create a java application to create a user in Enterprise Portal.
      I am getting the following error:
    com.sap.security.api.UMRuntimeException: Cannot lookup ManageConnectionFactory "jdbc/sapep". Possible reasons: 1) The connector in which ManagedConnectionFactory "jdbc/sapep" is defined is not deployed or not started, 2) Cannot deserialize object due to a naming exception.
    ume.db.connection_pool_type=jdbc/sapep
    ume.db.connection_pool.j2ee.xatransactions_used=false
    ume.db.connection_pool.j2ee.is_unicode=true
    ume.db.connection_pool.j2ee.oracle_native_driver_used=false: Cannot lookup ManageConnectionFactory "jdbc/sapep". Possible reasons: 1) The connector in which ManagedConnectionFactory "jdbc/sapep" is defined is not deployed or not started, 2) Cannot deserialize object due to a naming exception.
      Q1. Is it possible to create user from java standalone application.
      Q2. Pls. help to resolve the error or give any sample code if you have
      Thanks in advance.
    Regards,
      Pratik

    Hi Ravi,
    How about something like this:
    IUserMaint user = UMFactory.getUserFactory().newUser("myNewUser");
    user.setFirstName("1st Name");
    user.setLastName("2nd Name");
    user.setEmail("[email protected]");
    user.save();
    user.commit();
    IUserAccount uacc = UMFactory.getUserAccountFactory().newUserAccount("myNewUser", user.getUniqueID());
    uacc.setPassword("initial");
    uacc.setPasswordChangeRequired(false);
    uacc.save();
    uacc.commit();
    Hope this helps.
    Daniel

  • Servlets Vs Standalone Application?

    Servlets Vs Standalone Application?
    I know this is an extremely broad subject, but put very simply can anyone give me a basic list of pros & cons in writing an application on a network with either of the two mentioned technologies?!?
    We will need security, efficiency, speed etc as well as an intuitive interface!!
    Not much to ask i know!
    cheers now!

    Servlets:
    +Easier to deploy
    +Upgrading easier (Just upgrade one instance)
    -Interface somewhat limited
    +Security is centralized
    Standalone
    -You have to deploy to every client
    -Upgrading is cumbersome, especially when the new version is not backwards compatible, and you need a big bang upgrade.
    +Highly interactive interfaces (Swing)
    -Security can be a problem (e.g. clients can be forged), when it is not centralized.
    The speed of the application is dependent on the kind of application. It depends on the complexity of the UI, whether data is on a central server or local, etc.
    --Arnout                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Standalone application through BOE SDK

    Hi,
      I am new to SDK development so trying out different things with the SDK. The first experiement that I did was trying to build a standlone application through BOE SDK. The main purpsoe of this application is to connect the enterprise and get some details about an info object. But while building out this application I have noticed few issues:
       1. The getInstalledAuthIDs method of the ISessionMgr class is not returing any available authentication types.
       2. While trying to login using the logon method of the ISessionMgr using the secEnterprise as Enterprise, it's throwing the following exception:
        com.crystaldecisions.sdk.exception.SDKException$PluginNotFound: The plugin secEnterprise does not exist
         at com.crystaldecisions.sdk.occa.pluginmgr.internal.PluginMgr.getPluginInterface(Unknown Source)
         at com.crystaldecisions.sdk.occa.security.internal.o.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.security.internal.t.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.security.internal.t.userLogon(Unknown Source)
         at com.crystaldecisions.sdk.occa.security.internal.l.userLogon(Unknown Source)
         at com.crystaldecisions.sdk.framework.internal.d.logon(Unknown Source)
         at com.bo.boesdk.tutorials.Login.createEnterpriseSession(Login.java:41)
         at com.bo.boesdk.tutorials.Login.main(Login.java:55)
      I have noticed that all tutorials associated with SDK are all using eithe JSP/ASP to demonstrate features of SDK. There is none exists on using the standalone application. Is it we can't build any standalone application using the BOE SDK?

    The BusinessObjects Enterprise SDK is only tested and fully supported in web applications - that's the reason why the documentation only describes its use in JSP/Servlet code.
    As for the specific exception you're getting - it may be caused since you're missing jar files.
    If using XI Release 2, then I'd reference the jars found by default in <install>\common\3.5\java\lib and <install>\common\3.5\java\lib\external.
    If using XI 3.0, then I'd use the documentation found [here|https://boc.sdn.sap.com/node/7298].
    Sincerely,
    Ted Ueda

  • Db with a standalone application

    hi all.
    i'm sorry if this is not the right forum for this question but it's the best place i could think of...
    up untill now when i needed to save data i would usually use databases (mysql in most cases) or xml.
    this worked fine because i mostly work on web-based application so there's a db server installed on the server.
    what if i want to use a database on a standalone application? it's not a good solution to tell everyone which will use the application to download a db server and install it, right?
    so what do i do? thanks!

    One possibility is to use a Java-based embeddable database, such as hsql db (there's a t least another good choice, which escapes me this morning).
    http://www.hsqldb.org/

  • Is webdynpro a standalone application

    Hi SDN's,
    Can we run a webdynpro allication as a standalone application?
    If so how to use this application as a stand alone application
    Thanks,
    Krishnam Raju.

    Hi,
    See the link below.It may help you in the understanding of
    web dynpro.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a048387a-0901-0010-13ac-87f9eb649381
    Hope this helps you.
    Regards,
    Sumangala

  • DAQmx drivers needed to calculate statistics in a standalone application ?

    Hi!
    My standalone application analyzes measured data and saves statistics into Access database. It uses Statistics express VI, among the others. It does not use any data acquisition library. I've made an installer to install it on my customer's computer. After installation I tried to run the application but an error occured (see below).
      Well, it works now (after few hours). But my opinion is that my solution is a little bit strange: I simply installed DAQmx drivers.
    1. Is this a bug ?
    2. How to explain my customer why does he need 1GB of hardware drivers ?
    Fortunately, It was not necessary to use any special procedure tu run Database Connectivity Toolset: see this link, for example
    Best regards ,
    Ljubo.
    P.S.: Developer Suite 8.6, Win XP Pro, DAQmx 8.8, MS Office 2003.

    Hi Dennis,
    let me repeat the whole story once again:
    About
    two years ago the same problem occured (with LabView 7.0 or 8.0, I
    don't know exactly). Our local NI representative happened to be present
    and we discussed the problem but we didn't find the solution. Instead
    of using Statistics Express VI I made my own subVIs and the problem was
    solved (and forgotten).
    I've already checked my
    customer's computer this morning and everything seems to be OK. DLL
    library lvanlys.dll is installed in "data" folder. 
    To eliminate unnecessary details I've created a new project (see the attachment, please).
    I
    installed the program on my colleague's PC (my colleague never used
    LabView in his life). The result is the same. You can see the error
    report in the second attachement.
    Then I've copied lvanlys.dll
    file to all folders where programs usually search libraries: Windows,
    Windows\system, Windows\system32 and Program Files\Mean4V. But program
    can't find the library NI_AALBase.lvlib.
    Obviously,
    installation of DAQmx drivers adds something which is missing in my
    build specification. I hope someone could explain what I'm doing wrong.
    With best regards, 
    Ljubo.
    Attachments:
    Mean4values.zip ‏50 KB
    Error_missing_subvi.jpg ‏62 KB

Maybe you are looking for

  • Enable Adobe Reader to Digitally Sign PDF created with Acrobat Pro 9

    Hi All, I am trying to figure out how to enable adobe readers to digitally sign PDFs I create. I currently have Acrobat Pro 9. Customer Support said that I need to save it as a "Reader Extended" format, but I cant find this option anywhere. Any help

  • Connecting an eMac to the internet

    Please somebody help I can't authorize my eMac to play purchased items because i'm not connected to the internet but i have a vista notebook that has Built-in wireless internet and i'm just wondering if is is possible to connect it to the vista machi

  • Route tagging on BGP

    Hello, I have following problem. I want to tag a route on a CE router and advertise it into the MPLS. router A (CE-A): subnet 10.12.10.0/24 CE-A   ------ PE-A ------- MPLS --------PE-B-------CE-B------ I want to tag the routes on router CE-A with tag

  • FIrefox is slower now even with the same addons on the same PC

    been using firefox for some time now, updated to v29 and found it slower then previous version. about 2 weeks ago, loading times started to get slower/longer, even with the same amount of plugins installed, tried starting in safe mode, with all addon

  • App-V ActiveX

    With App-V 5.0 SP2, I was under the impression ActiveX controls could be sequenced rather easily and presented to IE.  I've tried capturing an ActiveX control with the normal and plug-in sequencing options but cannot get the control to load in IE aft