CreateJNDI

Hai everybody,
How to get oracle datasource using wsad 5.0, and what jar files i shall include in my class path.
Please suggest me complete process.
Thanks
Inder

I'm curious too.
The same (analogous) happened to me with JBoss, that is, the same code the runs in standalone mode doesn't run inside Java Web Start.

Similar Messages

  • JNLP settings to start JMS app.

    Hi,
    I am using JMS with Web Start. it runs fine outside as standalone app. The application gets download fine and the GUI shows up but it cannot connect to the naming service it seems.
    I am getting the following error: Could not find JNDI API context, the detail description of my log file is:
    Java Web Start Console, started Fri Feb 14 13:46:31 CST 2003
    Java 2 Runtime Environment: Version 1.3.1_02 by Sun Microsystems Inc.
    Logging to file: jws.txt
    Could not create JNDI API context: javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory]
    javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory. Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory
         at com.sun.jnlp.JNLPClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
         at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
         at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
         at javax.naming.InitialContext.init(Unknown Source)
         at javax.naming.InitialContext.<init>(Unknown Source)
         at TableDemo2.createJNDI(TableDemo2.java:138)
         at TableDemo2.<init>(TableDemo2.java:87)
         at TableDemo2.main(TableDemo2.java:325)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.sun.javaws.Launcher.executeApplication(Unknown Source)
         at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
         at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    My JNLP file looks like:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+"
    codebase="http://abc.edu:8080/murtuza/"
    >
    <information>
    <title>Student</title>
    <vendor>SUN</vendor>
    <homepage href="http://www.abc.edu" />
    <description>program</description>
    </information>
    <offline-allowed/>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.2+" />
    <jar href="xyz.jar"/>
    </resources>
    <application-desc main-class="TableDemo2" />
    </jnlp>
    Can some body please post me what are the steps that I have to take in order to make my application work on JWS. I am using tomcat where I have put the jar file I had un jarred the J2ee.jar and signed that to along with my jar.
    Thanks a lot.
    Murtaza

    I'm curious too.
    The same (analogous) happened to me with JBoss, that is, the same code the runs in standalone mode doesn't run inside Java Web Start.

Maybe you are looking for

  • What is 'Activity'??

    Hi All, I am getting the following error when performing a GP: Cannot complete action: Activity could not be read However, I know what a action is, but I do NOT know what an ACTIVITY is? Does anybody know?? Does anybody know what the cause for this e

  • Cfmail w/attachments issues

    Hi there, I have a basic html form where the user can add attachments. The action form uses cfmail to send an email to an address with the form contents as well as the attachment. However, I am having issues with this part and am at a loss. Do i need

  • What should I do when I want to change CS3 to another PC?

    Dear Adobe, I have installed in CS3 to PC "A" before, and now I need to change CS3 to another PC "B". In addition to uninstall CS3, what process or step I have to do? Just like to release the license I have registered before and re-register again in

  • Database don't delete prom the table, help please !!

    there is my code : Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance(); Connection con=DriverManager.getConnection(jdbc:odbc:Medic); con.setReadOnly(false); try{ Statement st=con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCU

  • Create Good Movements outputs T/C MIGO

    Hi, expert When I try to display  T/Code MIGO with X material number and types of outputs (1. Individual Slip  2. Individual Slip with Inspection Text 3. Collective split) show me the message <b>The system could not create any outputs</b>. On help it