Deploy swing appet

I try to deploy a java swing applet. The environment is an Apache
Server and Netscape over Ethernet. To save bandwidth I want to
use the plug in technice. But I have no luck.
In the moment the only way I can only run the applet if I copy
the classlib swingall.jar to the local directory of netscape.
I have installed the Java Plug-in 1.1.2 for Netscape Navigator.
The HelloSwingApplet from Sun is running. From the JDeveloper
applet I receive the status "Applet .... notinited" with the
message "Invalidating certificate principals in [ ... ]"
If I include the swingall.jar in the deploy configuration it's
running. But I think this is not the solution. (transfering all
swing classes!!!)
Where is my mistake?
null

Martin,
You either need to include the swingall.jar (or the specific
classes you use) with your applet or, you can have each client
add swingall.jar to the
local \Netscape\Communicator\Program\Java\Classes directory.
-L
Martin Leaicker (guest) wrote:
: I try to deploy a java swing applet. The environment is an
Apache
: Server and Netscape over Ethernet. To save bandwidth I want to
: use the plug in technice. But I have no luck.
: In the moment the only way I can only run the applet if I copy
: the classlib swingall.jar to the local directory of netscape.
: I have installed the Java Plug-in 1.1.2 for Netscape Navigator.
: The HelloSwingApplet from Sun is running. From the JDeveloper
: applet I receive the status "Applet .... notinited" with the
: message "Invalidating certificate principals in [ ... ]"
: If I include the swingall.jar in the deploy configuration it's
: running. But I think this is not the solution. (transfering all
: swing classes!!!)
: Where is my mistake?
null

Similar Messages

  • Error while deploying swing component to remote machine

    Hi,
    I have an unsolved query.I have created a simple Swing-frame using Jdeveloper.I have created a deployment profile which creates a jar file for the project.
    On executing the jar file I get an error of the manifest file which requires to change the details of the manifest file.Kindly send me how to overcome this problem through the Jdeveloper IDE itself rather than changing it manually.
    Thanks,
    [email protected]

    Hi,
    Are you trying to make an "exectable jar"? If so, on page 4 of the Deployment profile wizard, you will need to set the "Main Class" property to the full class name of the class in your project which contains the static main() method.
    Brian

  • 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

  • Deploy Swing application in sun studio

    I use Sun studio to write a swing application. How I can use this app in other computer(may be not install JDK or JRE)

    Your question doesn't have to do with SunONE Studio ...
    First off, of course the other computer needs to have at the very least a JRE installed. So if you assume they don't have a JRE, you need to arrange to deliver a JRE to them or include it with your installation procedure / tool.
    Think about the contents of a Swing/java app - it's a .jar file plus other resources (that can be bundled in the .jar file). It helps to have a launching script or .exe depending on the platform, but that's not absolutely necessary as on many platforms simply double clicking the .jar file will launch the app (assuming a JRE is properly installed).
    So deploying the application is just a matter of copying the .jar file to the system. But might involve the use of an "installer" depending on the needs of your customers.
    Another route that's unique to Java is Java Web Start - in this case you write a JNLP file (it's in XML format), put it out on a web server, and send the link around. The browser will help you to launch the application. The customer still needs to get a JRE installed, and once they do the JWS pieces are available. JWS will handle the installation of the actual application, plus if you need to update the app JWS will see the updates and copy new .jar files or whatnot to their system.
    - David

  • Deploying Swing: AJAX, WebStart, local install or what?

    We have just finished the configuration of WebCream for our customer. They had a large Swing application that they used to install on every user desktop. They wanted to go web-based but obviously didn't want to spend time rewriting the app. We ended up spending a couple of weeks configuring WebCream and writing custom renderers and in the end the app looks better in the browser then it did on the desktop.
    Has anyone else used WebCream or a similar product? We've been very successful with it but I don't hear much about other people using it. Are end users OK with something like WebStart? I'm trying to see what deployment models do most people use for Swing applications, especially your typical database-driven apps.

    We have just finished the configuration of WebCream for our customer. They had a large Swing application that they used to install on every user desktop. They wanted to go web-based but obviously didn't want to spend time rewriting the app. We ended up spending a couple of weeks configuring WebCream and writing custom renderers and in the end the app looks better in the browser then it did on the desktop.
    Has anyone else used WebCream or a similar product? We've been very successful with it but I don't hear much about other people using it. Are end users OK with something like WebStart? I'm trying to see what deployment models do most people use for Swing applications, especially your typical database-driven apps.

  • Deploying swing based programs

    Howdy
    Im just wondering how you would go about launching a GUI java program without having the usual command prompt window launching and being present for the duration of execution.
    So basically the only window that opens is the JPane of your application.
    Oh, and im running Windows as I guess that is relevant!
    Any ideas?

    I think thats where I have been going wrong - I haven't been making them executable jar files. All I have done is created a short cut that runs java with the jar file as it's source. Hence the console session rearing it's ugly head. I didn't realise you could actually double click on the jars and have it do something!
    Thanks for the input guys. I will give it a go.

  • Deploy swing JApplet: html embed vs floating window

    Is there a difference in performance between having a JApplet embedded in HTML vs having the JApplet run in a floating window? Thanks in advance.

    Doubt that anyone can give an accurate answer. Try testing (set up some repetitive loop) and find out.

  • Ant questions: for Swing apps?

    I have used Ant for my J2EE programs by deploying the ear file to the server. For my swing desktop apps I have used an executable Jar file, or JBuilder makes me a windows .exe file.
    Can you use ant builds to make something appropriate for deploying Swing apps?
    Thanks!
    Amber

    Does this link help ?
    http://ant.apache.org/manual/CoreTasks/jar.html

  • To launch a java application in Windows environment

    hello,
    I need to distribute one stand alone application, that I made using NetBeans, for sale it.
    I know that this is not a so simple problem, because delivering the program to one client you cannot simlpy say him to launch the jar file....
    I saw that, in the Windows environment, program like eclipse or netBeans run thruogth an .exe file, that I think is a program that its purpose is to define the java environment for the application in the particular host operative environment .
    Perhaps they are corporations like InstallShield (now Macrovision) that sale programs to solve this type of problems..., and I already used this type of programs to install some my
    applications that I coded in languages different than java.
    But before to look for one of them, I should like have more informations how this problem fits in java language, knowing that java is different to other languages because use JRE and have proper tools, how JWS and JNPL, that concern with this problem.
    ...Looking in the forum I had not much help..., but I saw that someone uses to write launchers program in different language, like C, as well I had not so much detailled instructions about how to do it.
    In order to solve my problem I should like have, from some one that already made it, some general information about how he realized the commercial installation of java applications in the most used Operatve Systems (particullary Windows), and possibly to have links to web sites for good explanations, including advantages to buy apposite commercials installation programs too.
    thank you very much
    tonyMrsangelo

    You can distribute it as an executable JAR so users will run it by double clicking. The would be required to have JRE installed.
    You can distribute it online via WebStart. Users need JRE but it's easier to manage updates and distribution of new versions.
    You can distribute it with AjaxSwing, a product that deploys Swing applications as AJAX websites so you don't need JRE at all.
    You can create EXE files using many of the products available. Google for it and you'll get lots of hits.

  • Deploying a BC4/ADF Swing Application to a JAR File

    Hello,
    what do I exactly have to do, to deploy an ADF/Swing/Business Components-
    Project-Application to a JAR File. I can not start it outside the JDevloper IDE,
    but I created a deployment profile and deployed it to a JAR.
    There is always the error "Could not find the main class", when starting the
    JAR. In the JDeveloper IDE the application is running, and I also defined a "main class" there.
    Could anybody help me please?
    Greetings.

    You need the ADF runtime libraries in your classpath or as part of your JAR.
    Have a look at the command that JDeveloper is using to run your project (it is in the log window) and copy the classpath defenition provided there to the command line you use.

  • JDeveloper 10.1.3.3 ADF Swing - Images not rendering after deployment

    Hi,
    I have deployed my ADF Swing application in production in very simple 2 tiers architecture.
    One executal jar on my desktop and
    The database running on a Linux server.
    When I run MyApp.jar from my desktop, none of my images is rendered and LOV buttons do NOT work.
    The same application runs against the same dabase from Jedev environment shows images and LOVs work fine.
    Thank for your your help.

    I suppose that you use Java WebStart to deploy your application.
    The issue might be that you're using absolute path to load images into the application (c:\something\something.jpg). When you start your app in webstart, it doesn't allow the application the acces to the disk using absolute path. Even if it did, you wouldn't find your images in the same folder as they are on your disk.
    You should load images like this:
    ImageIcon icon=new ImageIcon(this.getClass().getResource("images/something.jpg"));
    This presumes that you store all your images in "images" package (folder).
    You can read more here:
    http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/development.html#retrieving

  • Can Swing/ADF directly deploy on application server?

    Hi,
    After creation of Swing/ADF rich client in JDevelopment, is there any way to deploy this as a WAR file on application server or this ADF option is only for direct client/server mode deployment?

    Hi All,
    I am also interested in ADF Swing and ADF BC in 3-tier setup. I tried a couple times as mentioned above. It worked fine all the way to the EJB model deployment. The first time I tried to test the AppModule, it showed 3 configurations, one for AppModuleLocal, one for AppModuleEmbeddedAS ,and one for the AS that I deployed on. It seems to work fine as I got data on the test. The second time I tried it, only one configuration available and which was the AppModuleLocal. I did not change a thing during those tests. Would like to get some help on it.
    Then I skipped the testing and moved on to create the front end. Then I noticed that the DataBindings.cpx was using the right AppModule with the configuration that point to the AppModuleLocal cogifuration file. Since I deployed the model to a different server, I tried to change it to the AS configuration that I depolyed. But the combo box only contain the AppModuleLocal configuration. That I don't understand again. Do you guys try the 3-tier model on local OC4J only or on Oracle AS as well?
    Thanks
    Keith

  • ADF Swing deploy

    I have developed an application using ADF Swing and ADF BC, but he wanted to deploy it in a applications server. I have read that it stops this he should spread the BC like EJB, and then in the layer client to configure so that the DataBinding uses the EJB and not the I application module. I have been able to deploy the BC like EJB, but I cannot configure my client so that it consents to this EJB. Somebody can tell me that I need to make to get this.
    Thank you.

    Hi,
    Yes, I agree we need to update this paper or at least blog about a change in ADF Swing 10.1.3 that is needed for AM pooling support. Here is what you need to know:
    In order to run ADF Swing in batch mode you must have a "Server side configuration". This configuration is used by server side of the application, i.e. by BC EJB running in oc4j context to do am pooling, which in this case is called "remote am pooling" .
    This configuration is called AppModuleLocal1. Actually from ADF BC point of view it is local, hence it is used in the same jvm where ADF BC are running.
    There two places where you can create this "Server side configuration" (named as AppModuleLocal1) in one of two places:
    1) on the Remote tab of AM Editor when you shuttle EJB Session Bean
    to the right.
    2) on step 3 of "Create Business Components Deployment Profiles" wizard.
    To create it:
    At the bottom of "EJB Session Bean" panel see "Local Configurations" dropdown and the "New" button close to it. Click the button.
    Let me know if this works
    Frank

  • Oracle Jdeveloper 11g R1 has a Bug?-- Swing Application Deploy Error

    Oracle Jdeveloper 11g R1 (11.1.1.2.0) (build 5536)
    1. Create an empty swing application.
    File-->New-->Applications-->Java Desktop Application
    New-->Swing/AWT-->Frame
    2. Project properties--->Deployment: Create new JAR Deployment Profile: test
    3. Edit Deployment Profile: test
    File Groups --->new--->Create File Group (Type: Dependency Analysis) :da
    4. Error: Cannot enter "da"---->contributors , No display (such as "Libraris")
    5. If deploy it (test), I get an Unexpected Error.
    Error Messages:
    Title: StackOverflowError in o.ji.xml.JDevXmlIntergrationUtilsImpl:18
    Performing action Report a Bug...[ from oracle.jdevimpl.uieditor.UIEditorImpl ]
    Invoking command: [ from oracle.jdevimpl.uieditor.UIEditorImpl ]
    Performing action New...[ from oracle.jdevimpl.uieditor.UIEditorImpl ]
    Performing action Show Overview
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command: Class Generation[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action Project Properties...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action Project Properties...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command: [ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Uncaught exception
    java.lang.StackOverflowError
    o.ji.xml.JDevXmlIntegrationUtilsImpl.canBeSelected0(JDevXmlIntegrationUtilsImpl.java:18)
    o.ji.xml.JDevXmlIntegrationUtilsImpl.canBeSelected0(JDevXmlIntegrationUtilsImpl.java:18)
    o.ji.xml.JDevXmlIntegrationUtilsImpl.canBeSelected0(JDevXmlIntegrationUtilsImpl.java:18) ......
    When I use Oracle Jdeveloper 10g (10.1.3.4.0) , I can use it to set Libraris.
    I have a swing application need these operation.
    Does anyone can tell me what's the reason?
    Thanks.
    I had tried Oracle JDeveloper 11g R1 (11.1.1.1.0)(Build 5407).
    It is OK.
    Maybe I need to download Oracle JDeveloper 11g (11.1.1.2.0) again.
    Edited by: [email protected] on 2010-2-24 下午4:58
    Edited by: [email protected] on 2010-2-25 下午5:47

    I am encountering the same bug / problem right now.
    Anybody from Oracle who has a workaround for this BUG?
    We are migrating to JDev 11.1.1.2.0 for a client and this bug is still there!
    Any help from the JDev team is highly appreciated!

  • ADF Swing Deployment problem

    Hi,
    I have an ADF Swing project completed.
    I can run my application from Jdeveloper 10.1.3.3 successfully.
    Now we are ready to go to production.
    I want to generate a simple JAR file which can be called like - java -jar MyApp.jar
    To generate MyApp.jar:
    1) I have created a new group in the deployment profile file and specify to add the Manifest.
    2) I added all the jars found in my application log file (the logs when jdev run my app.).
    3) I Specify the full path to my MainForm.class
    4) I have added all my classes
    5) Finally I generated to JAR from jdeveloper
    6) I copied the MyApp.jar into the JDK\bin folder of my Jdeveloper (to avoid potential java version conflict)
    Problem: When I try to run my app from the JDK\bin folder with java -jar MyApp.jar, I got the error Exception in thread "main" java.lang.NoClassDefFoundError: .....
    My question is : Does anybody either successed in deploying an ADF Swing application using Jdeveloper. If yes, how?
    I have read dozen of articles from this forum, nobody seemed to successed deploying ADF Swing application.
    Thanks.
    houevoton.

    Gentlmen, thank very much.
    I have made a big progress.
    First, I have deploy a simple form based on Steve's scenario. It works fine. I learn from this the role of each type of File Group in a deployment profile.
    I also read and dowload the following show case http://verveja.footsteps.be/~verveja/files/oracle/JarStuffThread615655-v0.01.zip
    It works fine. I get how to include an external jar in my deployment file.
    However, I am still having a small problem with my generated JAR.
    In fact my workspace has 3 projects.
    1- AppUtils.jpr contains my utility classes (date utilities, system constants, etc.)
    2- Model.jpr contains BC entities, views objects and the AppModule.
    3- View.jpr where my forms and panels are.
    All those 3 projects are in the same workspace, which is slightly diffrent from the example of the show case above.
    I created a deployment profile and add two File Groups:
    - The first group is simple "Packaging" group and I check all utilities classes required in my application.
    - The second one is a "Dependency Analysis" group following process described by Steve.
    When I generate and run MyApp.jar, I get error [b]JBO-30003: The application pool (full.path.AppModuleLocal) failed to checkout an application.
    Since yesterday I was struggling with this. I am not able to understand why this message.
    My AppModule is well configured with credentials to connect to the target database. I tested it and it is ok.
    I can run the application from within Jdeveloper without trouble.
    Once again, I need your help.
    Thank in advance.
    houevoton.

Maybe you are looking for