Deploying a Java CORBA application in Web Start

I am a novice to Java Web Start. I have a sample Client-Server application with CORBA as a middle ware. The front end (Client) is in Java and back end (Server) is in C++. The application is run and tested with jar and batch file. Now I want to deploy that application in Java Web Start and JNLP.
I have configured the same by creating a JNLP file and signed jars.
Now as all knows any CORBA application needs a domain file ( .cfg ) and some org.omg classes to communicate with the server by RPC.
I am stuck with how to specify these domain file name, path, CORBA classes etc in my JNLP. Not even that, I can't understand exactly what configuration will make the CORBA apps work properly in Java Web Start so that it can communicate with the server as well. All the Orbix jars's, IDL Stub jars are present and signed. I am giving my JNLP file as a reference. Actually I have tried adding these domain files and CORBA classes as parameters. But as usual it is not working and after running the JNLP the Java console suddenly gets disappeared.
CORBADemo.jnlp
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://172.28.1.139:8400/Test_CORBA_App" href="CORBADemo.jnlp">
<information>
     <title>CORBA Demo</title>
     <vendor>Ushacomm</vendor>
</information>
<resources>
     <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
     <jar href="lib_6.3-Signed/UI_Fall_Test63.jar" main="true" download="eager" />
     <jar href="lib_6.3-Signed/ConfigurationService.jar" download="eager" />
     <jar href="lib_6.3-Signed/IDLStub.jar" download="eager" />
     <jar href="lib_6.3-Signed/art-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/art.jar" download="eager" />
     <jar href="lib_6.3-Signed/atli2-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/atli2.jar" download="eager" />
     <jar href="lib_6.3-Signed/atli2_ip-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/atli2_ip.jar" download="eager" />
     <jar href="lib_6.3-Signed/atli2_ip_cio-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/atli2_ip_cio.jar" download="eager" />
     <jar href="lib_6.3-Signed/atli2_ip_nio-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/atli2_ip_nio.jar" download="eager" />
     <jar href="lib_6.3-Signed/atli2_tls-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/atli2_tls.jar" download="eager" />
     <jar href="lib_6.3-Signed/codeset.jar" download="eager" />
     <jar href="lib_6.3-Signed/concurrency-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/concurrency.jar" download="eager" />
     <jar href="lib_6.3-Signed/ifc-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/ifc.jar" download="eager" />
     <jar href="lib_6.3-Signed/iiop.jar" download="eager" />
     <jar href="lib_6.3-Signed/java_management_logging-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/java_mgmt_plugin-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/java_portable_interceptor-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/management-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/management.jar" download="eager" />
     <jar href="lib_6.3-Signed/mgmt.jar" download="eager" />
     <jar href="lib_6.3-Signed/omg-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/omg.jar" download="eager" />
     <jar href="lib_6.3-Signed/perf_logging.jar" download="eager" />
     <jar href="lib_6.3-Signed/portable_interceptor.jar" download="eager" />
     <property name="Dorg.omg.CORBA.ORBClass" value="com.iona.corba.art.artimpl.ORBImpl"/>
     <property name="Dorg.omg.CORBA.ORBSingletonClass" value="com.iona.corba.art.artimpl.ORBSingleton"/>
     <property name="ORBdomain_name" value="VOIAMODOMAINNEW"/>
</resources>
<application-desc name="CORBADemo Demo Application" main-class="Launch" width="300" height="300">
</application-desc>
<update check="background"/>
<argument>1</argument>
<security>
     <all-permissions/>
</security>
</jnlp>
.

*@ gimbal2 and EJP :*
The firewall is present and allowed to access apps. When I am running the jar of my application from batch file then everything is running fine. The CORBA Server is a remote RHEL5 (Enterprise Linux 5) machine whose 'IP' and 'Hostname' is specified in *"C:\WINDOWS\system32\drivers\etc\hosts"* file. Server is running fine and after starting the Client the Server side remote method is invoked. Data fetched properly and everything is working like a charm.
When running from batch (.bat) file using jar My applications folder hierarchy is something like this.
Test_CORBA_App
------+config ( contains resources file and domain file )
------+lib_6.3 ( contains all Jars)
------+log ( will contaiin the generated log files )
-------runCORBA_App.bat ( the batch file I am running )
As depicted above the folder hierarchy, my domain file resides in "config" folder. The contents of the batch file are as follows :
runCORBA_App.bat
C:\jdk1.6.0_14\bin\java -Xms64M -Xmx512M -Dorg.omg.CORBA.ORBClass=com.iona.corba.art.artimpl.ORBImpl -Dorg.omg.CORBA.ORBSingletonClass=com.iona.corba.art.artimpl.ORBSingleton -jar lib_6.3\UI_Fall_Test63.jar -ORBdomain_name VOIAMODOMAINNEW 1
pause
The following things are specified in the batch file :
1. JDK path : ( C:\jdk1.6.0_14\bin\java )
2. Java VM arguments for max and min memory : ( -Xms64M -Xmx512M )
3. ORB class name: ( -Dorg.omg.CORBA.ORBClass=com.iona.corba.art.artimpl.ORBImpl )
4. ORB singleton class name : ( -Dorg.omg.CORBA.ORBSingletonClass=com.iona.corba.art.artimpl.ORBSingleton )
5. Jar file name to run : ( -jar lib_6.3\UI_Fall_Test63.jar )
6. Domain Name : ( -ORBdomain_name VOIAMODOMAINNEW )
7. Main function args : ( 1 )
I am trying to deploy this simple CORBA application in Java Web Start and JNLP. I kept this in my tomcat server web apps. The folder hierarchy is as follows :
tomcat
---+ bin
---+ conf
---+ ..
---+ ..
---+ ..
---_ webapps
----------+ host-manager
----------+ manager
----------+ ..
----------+ ..
----------_ Test_CORBA_App
-------------------+ config
-------------------+ lib_6.3
-------------------+ lib_6.3-Signed
-------------------+ log
--------------------CORBADemo.jnlp (.jnlp file)
--------------------index.html (.html file)
As you can see I maintained the same folder structure as it was when running from batch file. The jars I am using is signed and kept in lib_6.3-Signed folder.
My updated "CORBADemo.jnlp" is :
CORBADemo.jnlp
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://172.28.1.139:8400/Test_CORBA_App" href="CORBADemo.jnlp">
<information>
     <title>CORBA Demo</title>
     <vendor>Ushacomm</vendor>
</information>
<resources>
     <j2se version="1.6" href="http://java.sun.com/products/autodl/j2se" java-vm-args="-Xms64M -Xmx512M 1" />
     <jar href="lib_6.3-Signed/UI_Fall_Test63.jar" main="true" download="eager" />
     <jar href="lib_6.3-Signed/ConfigurationService.jar" download="eager" />
     <jar href="lib_6.3-Signed/IDLStub.jar" download="eager" />
     <jar href="lib_6.3-Signed/art-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/art.jar" download="eager" />
     <jar href="lib_6.3-Signed/atli2-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/atli2.jar" download="eager" />
     <jar href="lib_6.3-Signed/atli2_ip-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/atli2_ip.jar" download="eager" />
     <jar href="lib_6.3-Signed/atli2_ip_cio-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/atli2_ip_cio.jar" download="eager" />
     <jar href="lib_6.3-Signed/atli2_ip_nio-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/atli2_ip_nio.jar" download="eager" />
     <jar href="lib_6.3-Signed/atli2_tls-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/atli2_tls.jar" download="eager" />
     <jar href="lib_6.3-Signed/codeset.jar" download="eager" />
     <jar href="lib_6.3-Signed/concurrency-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/concurrency.jar" download="eager" />
     <jar href="lib_6.3-Signed/ifc-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/ifc.jar" download="eager" />
     <jar href="lib_6.3-Signed/iiop.jar" download="eager" />
     <jar href="lib_6.3-Signed/java_management_logging-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/java_mgmt_plugin-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/java_portable_interceptor-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/management-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/management.jar" download="eager" />
     <jar href="lib_6.3-Signed/mgmt.jar" download="eager" />
     <jar href="lib_6.3-Signed/omg-rt.jar" download="eager" />
     <jar href="lib_6.3-Signed/omg.jar" download="eager" />
     <jar href="lib_6.3-Signed/perf_logging.jar" download="eager" />
     <jar href="lib_6.3-Signed/portable_interceptor.jar" download="eager" />
     <property name="Dorg.omg.CORBA.ORBClass" value="com.iona.corba.art.artimpl.ORBImpl"/>
     <property name="Dorg.omg.CORBA.ORBSingletonClass" value="com.iona.corba.art.artimpl.ORBSingleton"/>
     <property name="ORBdomain_name" value="VOIAMODOMAINNEW"/>
</resources>
<application-desc name="CORBADemo Demo Application" main-class="Launch" width="300" height="300">
</application-desc>
<update check="background"/>
<argument>1</argument>
<security>
     <all-permissions/>
</security>
</jnlp>
N.B
*1. I am running the Tomcat server in my own machine on port 8400 ( for sure, as I have deployed many .war files using this tomcat and all worked ). And using the URL below running the WebStart application.*
*2. I am running the JNLP from my own machine.*
*3. CORBA server is running on a remote RHEL 5 machine as I mentioned before also.*
URL : http://<My Machine IP>:8400/Test_CORBA_App/
As desired the Web Start application will make a call to the remote CORBA server on RHEL5 machine by initializing the ORB and resolving the CORBA NamingService. But exception is occurring as I posted in previous post i.e exception while resolving NamingService.
Now my query is whether the domain file ( DOMAIN.cfg ) is reading/ accessing properly from my machine while running the JNLP or not. Because I presume in Java Web Start special attention is required to read any .cfg file. If everything is fine why the error is occurring.
*@ EJP :* The ORB is desired to run and running on the CORBA Server remote macine i.e RHEL5 machine, because from batch file it is working fine.
Is it so that I need to run the Tomcat Web Server and CORBA Server from the same machine.

Similar Messages

  • Very Urgent Unable to Launch Application using Web Start using JDK 1.4.2

    Hi all
    I am very serious issue i have ejb client swing application that uses
    RMI to contact a session bean deployed in JBoss now i want the client app to be installed in the client machine using web start . Also i understand i require security permission to access network resources. so i have signed all the JAR files with same certificate created using self certificate avialiable in JDK by default also in the JNLP file in have included the following tag
    <security>
    <all-permissions/>
    </security>
    Now when I launch my application using Web start it gives an error that " Unsigned application is trying to access local resources"
    I unable to understand what could be the problem . Please help me with the steps to be followed where in client should be able to RMI call to the server
    Thanks in Advance
    Naveen

    You may have tried this already, but you might have to sign the jars via command line, outside any export process from your IDE.
    $ jarsigner {filename}.jar {key from keystore}
    I also had problems using webstart and RMI through an RCP
    Ben

  • Can't load Stylesheet while runing application on Web Start

    I've got an error "WARNING: com.sun.javafx.css.StyleManager$2 run Resource "null" not found" while runing application on Web Start.
    It works fine while running on local execution. I've already signed jar files. So, It shoud not have any problem with java security.
    I kept css in the jar fie. The code below is used for loading css file.
    String stylesheetName = "/theme/default.css";
    scene.getStylesheets().add(stylesheetName);There was a guy who had the same problem with me but there was still no solution for this problem yet. Applet and css
    Does anyone know how to fix it?

    Hello User,
    Your path is wrong. It can't be good if your css file is inside your jar. (This is not a javaFx problem)
    If you pacaked your application like that:
    myapp.jar
    -----theme
    ---------default.css
    You should try something like this:
    scene.getStylesheets().add(getClass().getClassLoader().getResource("/theme/default.css").toString());Niculaiu
    Edited by: San Nicula on Jul 27, 2011 12:50 AM

  • Error when I deployed the java EAR application in NWDS 7.1

    HI All,
    I got the  error when I deployed the java EAR application in NWDS 7.1 version..help me out...........................................
    com.sap.ide.eclipse.deployer.api.APIException: DeployException,cause=[ERROR CODE DPL.DCAPI.1023] AuthorizationException.
    Reason: , An error occurred during the deployer retrieval. Cause =[ERROR CODE DPL.DC.3151] The user LJ4PJW could not be authorized, because doesn't own the (com.sap.engine.interfaces.security.ServiceAccessPermission dc) permission for deploy controller. at com.sap.ide.eclipse.deployer.dc.ComponentManagerImpl.getDeployProcessor(ComponentManagerImpl.java:62)
    Thanks
    Costa

    The user LJ4PJW could not be authorized, *because doesn't own the* (com.sap.engine.interfaces.security.ServiceAccessPermission dc) *permission for deploy controller. a*t com.sap.ide.eclipse.deployer.dc.ComponentManagerImpl.getDeployProcessor(ComponentManagerImpl.java:62)
    The user is not have proper authorizations. Use some other administrators user id which has all admin roles and authorizations assigned and try to deploy.
    Regards,
    Ravi

  • Deploying SWT application with web start

    Hi there,
    I was trying out to deploy the IBM's sample SWT application, FileViewer, with web start, but ended with the following exception which I couldn't figure out how this happened.
    EXCEPTION : -
    JNLPException[category: Download Error : Exception: java.net.ConnectException: Connection refused: connect : LaunchDesc: null ]
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)
         at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(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)
    WRAPPED EXCEPTION : -
    java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.<init>(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at com.sun.javaws.net.BasicNetworkLayer.doRequest(Unknown Source)
         at com.sun.javaws.net.BasicNetworkLayer.doHeadRequest(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)
         at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(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)
    I am now using JDK5.0. Even when I was trying out the JDK's sample Webpad, I got "Servlet JnlpDownloadServlet is not available" . Can anyone advise please?

    Hi Jim,
    Try to replace,
    <jnlp spec="1.0+" codebase="http://localhost:8080/fileviewer" href="index.jnlp">
    with
    <jnlp spec="1.0+" codebase="$$codebase" href="index.jnlp">
    But i was using JNlpdownload servlet to do the task
    Regards
    Leo

  • Deployment of Java Mobile Application

    Dear All
    Can anybody tell me the apparoach for deployment of a J2ME application on Mobile devices running on Windows CE/Mobile. I would like to know is it possible to deploy my application in multiple jar's and dowload to the client only those modified jar file.(somthing like webstart, but prefered a smarter webstart!)
    Rgds
    Jobinesh

    Hi Karthick and Lakshmi
    Thanks for the reply
    Karthick: I have referred to the weblog which you have sent
    I have few doubts which are listed below:
    In the weblog it has mentioned that we should have the user name which is same as in web console but <b>we are working on NWA</b> and how to get the device ID.
    From Where do we can get the setting details
    Host - J2EE host -
    port -J2EE port --- ??
    System- WebAS system --- ??
    After giving the above details, I have saved the things and went back to home page
    Started Synch.. - > asked for a password -- > then I got few messages as listed below
    • Synchronization started 
    • Connection set up (without proxy) to: http://mytecsap05:50100/meSync/servlet/meSync?~sysid=XIM& 
    • Connection to server failed. 
    • Synchronisation problems: Transport-layer (http) sync exception raised (root cause: Exception while synchronizing (java.io.IOException: Not in GZIP format)) 
    and a continue button along with the above mentioned messages
    In order to rectify the above message <b>I want to check the settings details once again</b>
    So Please tell me how to check the settings details and how to move further
    <b>Karthick :</b> Can I have your phone number inorder to communicate to you once and get clarified with my doubts on MI.
    Regards
    Varma

  • Can't run application via Web Start 7 if there is query string in href

    Java Web Start 7 cannot run application if there is query string in href attribute in jnlp file.
    For example:
    <jnlp spec="1.0+" codebase="http://localhost:8080/" href="Test.jnlp?query_string">
    </jnlp>
    There are no any errors. Web Start just does not run application.
    But this jnlp could be processed by Java Web Start 6 without any problems.
    Is this a bug in Java Web Start 7?
    Or using query string in href attribute is not correct by some reason?

    I use following example to test this problem - http://www.mkyong.com/java/java-web-start-jnlp-tutorial-unofficial-guide
    If you use default jnlp from this example - everything works ok.
    But if add any query string to href attribute then Web Start 7 cannot start application.
    For example:
    <jnlp spec="1.0+" codebase="http://localhost:8080/" href="Test.jnlp?param=value">
    </jnlp>
    The problem is with Java Web Start 7 Update 7 (build 1.7.0_07-b11).
    WebStart 6 can start application using this modified jnlp without any problems.
    Edited by: vbez on Oct 11, 2012 2:57 AM
    Edited by: vbez on Oct 11, 2012 2:58 AM

  • Launching external applications from web start

    Hi!
    I am currently working on a management system and I need to launch other management systems from my Java Web Start application. The other systems are either based on web applications (URLs), telnet - needs to set up a telnet session, or running shell scripts or batch files.
    URLs are ok. I am using Desktop.browse in Java 1.6 or I can use BasicService.showDocument in javax.jnlp API.
    My application may run on both windows and linux (ie its launched from the browser). It interacts with a java app on a linux server over RMI.
    How can I lauch a telnet session from my client app?
    Do I have to include apache commons.net and create a telnet module in my app or can i lauch c:\windows\system32\telnet.exe in windows (if my app is lauched on win) and /usr/kerberos/bin/telnet (if my app is lauched in Linux)?
    How can I launch an external .exe application in window and how can I launch any shell script or program in Linux?
    (same as how do i lauch telnet)
    As long as the user is prompted I can see no risk of denying these kind of things so I hope and think that this should be possible!
    PS. I have managed to do it by using Runtime.exec() when running as a non JWS application, but I cannot do it when running as JWS:
    java.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute)I dont want to sign the application either. The reason for choosing webstart was to not have to renew certificates at our customers.
    Please help.
    Thanks for taking interest and reading this.. and I hope that someone has some helpful answers for me :)
    Edited by: Tomas_Andersen on Feb 5, 2008 6:34 AM

    Do you know how to launch Java applications (not applets) from web pages ? Thank you.
    you can setoff a java servlet from a webpage.Is that what you are talking about ??? activeateing a server side app ????

  • How to avoid multiple copies of the same application in Web Start cache?

    We have an environment where there are several HTTP servers carrying the same Web Start application.
    Is there any way to prevent Web Start from installing another copy of the same application in a client machine's cache if the user hits an HTTP server that is not the one the application was already installed from?

    There is no way WebStart can know that an application from one server is actually the same as an application from another server, so I don't think this is possible.

  • Deploy Swing Java DB application in Jdeveloper 11g

    Hi
    I created a simple Swing Java DB application in Jdeveloper 11g,
    after I deploy this simple swing application, I try to run the jar file, I got the following error:
    C:\Jdev1013\jdevhome\jdev\mywork\Application2\Client\deploy>java -jar myJar.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jbo/uicli/controls/JUPanel
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Caused by: java.lang.ClassNotFoundException: oracle.jbo.uicli.controls.JUPanel

    Hi Shay,
    Thanks for your response.
    The following is what I did:
    1. connect JavaDB on my C drive by using generic jdbc
    2. create EO, VO and AM manually based on one JavaDB table (Please note: When I use the BC4J wizard, I can only create VO, the EO is empty)
    3. run BC4J tester to insert and update data
    4. created an ADF Swing application by dragging the EMPview from data control to the editor
    5. save the project and run java class
    6. create the deployment profile by following your instruction,
    and select all libraries from the Contributors list when I create the file groups
    7. deploy the jar file without any error
    8. run the jar file and get the following error:
    C:\Jdev1013\jdevhome\jdev\mywork\Application2\Client\deploy>java -jar myJar.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jbo/uicli/controls/JUPanel
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Caused by: java.lang.ClassNotFoundException: oracle.jbo.uicli.controls.JUPanel
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    ... 12 more
    Could not find the main class: client.PanelDerbydbView. Program will exit.
    Thanks

  • Integrate Java standalone application when WIndows start

    Hello everybody.I would like to ask you if it is possible to load a Java standalone application when any Windows platform (NT/2000/98/XP) starts.
    How can I integrate an application when WIndows start?Do I have to include the bat file(which callls the java applictaion) into a Windows system file?
    Regards.

    You can do one of several things:
    1. Write a native executable that runs the Java Archive (JAR) using the java shell command.
    2. Write a Windows shortcut that runs the java shell command (again passing in the JAR).
    3. Purchase software that will produce a native executable that will run the JAR for you.
    4. Integrate JAR files as executable programs into your Kernel. In Windows this is not easy, but again, there are solutions on the Internet, but you will most likely have to purchase these.
    5. Configure the JAR file type so that when any JAR file type is double-clicked (and the default action is performed), the Java runtime is executed with the JAR as a parameter.
    5 is my usual solution, and for operating systems like Linux, and especially MacOS, it is much easier to get JARs to run 'more natively'.
    The answer to your question is simply 'Yes' but it is your choice of how to do this.
    As far as running the JAR when your desktop starts up (Explorer in this case), you can do two things - firstly there's a 'Run' item in your registery where you can place the location of your shortcut / executable, secondly, you can simply put the short-cut or the executable (I recommend a shortcut) in your 'Startup' folder of your Start Menu. (Start -> Programs -> Startup).
    I hope this helps.
    Gen.
    http://www.opetec.com/

  • Problem in deploying and packaging the application and web component.......

    i am new to j2ee!! i am using sun application server 8 2005Q1(for j2ee)
    i have deployed my application successfully!!!!!
    yet i found an error(404) when i called it thro my web browser
    i am using oracle as my back end
    anybody plz help me as soon as possible.........

    Hi,
    I am not sure what some of your phrases mean but i want to clarify a couple of things.
    0) Be happy to make the switch
    1) SJAS contains a webserver, where iPlanet appserver did not and one was forced to put a webserver in front of the appserver.
    2) The iplanet webserver plugin was configured to forward all request which have /NasApp to the appserver, using the KCP protocol, SJAS LB plugin is configured on a webapplication context root base using http and or https protocol.
    3) If your logic needs the HTML pages (which is doubtful in a proper design) the pages must reside on the appserver.
    4) Deployment to SJAS can be done through asadmin CLI, deploytool or webbased admin GUI instead of just putting the EAR in the autodeploy directory.
    HTH Robert

  • Unable to launch application using web start

    hi
    My application gets downloaded to the client machine but doesnot start up when click on desktop shortcut or start menu.
    here is my jnlp file
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for SwingSet2 Demo Application -->
    <jnlp spec="1.0" codebase="http://localhost:8080/drive" href="vp.jnlp">
    <information>
    <title>Video Player Application</title>
    <vendor>Sun Microsystems, Inc.</vendor>
    <shortcut online="false">
    </shortcut>
    </information>
    <information os="windows xp">
    <title> Video Player </title>
    <homepage href="docs/linuxhelp.html"/>
    </information>
    <resources>
    <j2se version="1.4.2+" java-vm-args="-esa -Xnoclassgc"/>
    <jar href="signedvideo.jar"/>
    </resources>
    <application-desc main-class="com.video.VideoPlayer">
    </application-desc>
    </jnlp>
    Please help me with this
    Thanks
    Rajesh

    The first jar will default to main, if it isn't explicitly listed.
    What is the error you get when you try to launch the application offline using the shortcut created ? (note, the <shortcut online="false"/> will cause to create shortcut that will launch the application in offline mode)
    I notice you name the jar "signedvideo.jar", but do not ask for all-permissions.
    If you want to run trusted you must also add
    <security><all-permissions/></security>
    /Andy

  • Latest Java 7 update 25 prevents JMF from working in Web Start application

    Has anyone else had a problem getting the JMF to work in a Web Start application since updating to Java 7 update 25?
    I can successfully run our application on my local machine via Eclipse and the webcam image loads. When I run my application from Web Start it does not load any image and errors out with the following error:
    java.lang.NullPointerException
        at javax.swing.RepaintManager.currentManager(Unknown Source)
        at javax.swing.RepaintManager.currentManager(Unknown Source)
        at javax.swing.RepaintManager.currentManager(Unknown Source)
        at javax.swing.JComponent.repaint(Unknown Source)
        at java.awt.Component.repaint(Unknown Source)
        at java.awt.Component.repaint(Unknown Source)
        at com.sun.media.renderer.video.AWTRenderer.doProcess(AWTRenderer.java:236)
        at com.sun.media.renderer.video.BasicVideoRenderer.process(BasicVideoRenderer.java:118)
        at com.sun.media.BasicRendererModule.processBuffer(BasicRendererModule.java:727)
        at com.sun.media.BasicRendererModule.scheduleBuffer(BasicRendererModule.java:499)
        at com.sun.media.BasicRendererModule.doProcess(BasicRendererModule.java:400)
        at com.sun.media.RenderThread.process(BasicRendererModule.java:1114)
        at com.sun.media.util.LoopThread.run(LoopThread.java:135)
    Any help would be appreciated
    Thanks,
    Mike

    Hi - I have exactly the same issue. Referring to Java 1.7_25 release note, i have also included permissions/codebase attributes in jmf jar manifest file but it did not help. With the permissions attributes i dont see the warning missing permissions, but it not solve the actual problem. JMF throws following NPE exception in my case
    Exception in thread "JMF thread: SendEventQueue: com.sun.media.content.unknown.Handler" java.lang.NullPointerException
        at sun.awt.image.FetcherInfo.getFetcherInfo(Unknown Source)
        at sun.awt.image.ImageFetcher.add(Unknown Source)
        at sun.awt.image.InputStreamImageSource.startProduction(Unknown Source)
        at sun.awt.image.InputStreamImageSource.addConsumer(Unknown Source)
        at sun.awt.image.InputStreamImageSource.startProduction(Unknown Source)
        at sun.awt.image.ImageRepresentation.startProduction(Unknown Source)
        at sun.awt.image.ImageRepresentation.prepare(Unknown Source)
        at sun.awt.SunToolkit.prepareImage(Unknown Source)
        at java.awt.Component.prepareImage(Unknown Source)
        at java.awt.ImageMediaEntry.startLoad(Unknown Source)
        at java.awt.MediaEntry.getStatus(Unknown Source)
        at java.awt.ImageMediaEntry.getStatus(Unknown Source
    Please let me know if you have any solution for the above problem. Appreciated your help.
    Thanks
    Sri

  • Can a Web Start application run on client without write permission?

    Hello,
    we have a customer who operates a large number of Windows clients with an installed Java applications on it. The installation can only be done by an administrator, because the users have only write permission on temp directories and are not allowed to install something on their own. This of course leads to long rollout phases of new software releases.
    That's why we thought about deploying the application via Web Start, but we don't have experience in that field yet. But we assume that this would be the best way to go, since porting it to a browser-based web application is not easy due to the rich client gui.
    So my question is - can Web Start operate in such a scenario, where there is only write permission on temp directories for the user?
    By operating I mean the deployment and starting of the application - the application itself does not have to write anything on disk.
    Thanks for any help,
    regards, Geziefer

    ..the users have only write permission on temp directories ..Can the location of the Java cache be set to those temp directories by the administrator?

Maybe you are looking for