Plug-in application on JWS

Hi
I'd like to share my application using JWS. Everything looks easy when your application has a simple structure - the main jar and libraries. My application is based on a plugin which manages the special platform (platform is the main application). Each plugin is a jar file, but these files are not automatically added to the Java Classpath. The platform manages the plug-ins and loads them as needed. Each plugin has its own ClassLoader, because the same plug-ins may include additional libraries (jar and native) and must be handled in a special way. Plugins are loaded by the platform as ordinary files (new File (pluginName), etc.).
Here I showed the structure of my application:
/ Platform.jar - jar with the main class
/ config.xml
/ Lib / lib1.jar - library for the platform
/ Lib / lib2.jar - library for the platform
/ Plugins/plugin1.jar - plug-in
/ Plugins/plugin2.jar - plug-in
/ Plugins/plugin3.jar - plug-in
/ Plugins/plugin4.jar - plug-in
How do I create a JNLP file to get:
- Automatically synchronization and load library file (in lib dir) on classpath
- Automatic synchronization and NOT LOAD plug-in file (in dir plugins) and other resource file (like config.xml) on classpatch. I have to upload them later on your own.
Is this even possible?
If so, is this enough to start the main application?
Best regards
Maciej

This may be of assistance:
http://discussions.apple.com/thread.jspa?messageID=7258050&#7258050

Similar Messages

  • Can we refer C# dll in a plug-in application

    Hi,
             I want to refer a C# dll (for some User interface purpose) in a plug-in application.
             For that i applied all the necessary settings to the project(like /clr option) and it was complied fine and added plug-in menuitem to acrobat window
             Then i added the referrence to the C# class library and in plug-in dialog creation code i tried to get an instance of that class object(using gcnew)
             but it is failing there to get the instance of that class saying file not found error.
             Is there any way to add C# dll reference and to get object in a plug-in application, and how to do it.
             Can anybody help me on this?
    Thank you,

    C# DLL is loadable from plugin only it is placed on a same folder with acrobat.exe.
    To avoid this problem,
    1) Install DLL as GAC.
    2) Catch AppDomain.AssemblyResolve event from the plugin, and return Assembly object that is manually loaded using Assembly.LoadFrom().

  • Images do not display in Acmevideo sample application WebApp_8i.jws

    Hello,
    The JDeveloper 3 Acmevideo web application for Oracle8i is a nice-looking web application.
    There is a syntax fault in the Java source files WebAppReports.java, WebApp.java of the JDeveloper 3 workspace WebApp_8i.jws
    In the file acmevideo_deploy.properties I used something like this:
    ...imageURL=http://oashost:80/acmeimages/...
    All occurrences of "/topmovie.gif", "/onoracle.gif","/filmsquare.gif" in the java source files WebAppReports.java, WebApp.java should be replaced by "topmovie.gif","onoracle.gif","filmsquare.gif". Otherwise these images will not display correctly in the web application.
    I would like to know when Oracle will provide a tutorial on servlet deployment of the acmevideo web application to Oracle Application Server.
    I understand that by providng a Java Webserver servlet deployment example the JDeveloper customer is not dependent on Oracle Application Server as web server.
    How to deploy the acmevideo servlet to Oracle Application Server 4.0.8.1?
    Thank you in advance for your reaction,
    Erik Martens
    null

    Hi Erik,
    For our next release, we are actually removing the Acme Video sample application. It will be replaced with the Web Auctions demo, which was used at the most recent Oracle Open World conference.
    Instructions for deploying DBServlets to OAS 4.0.8.1 are included in the JDeveloper 3.0 release notes.
    Laura
    null

  • WLS 7.0SP2 Apache Plug-in application fault

    I'm running WLS 7.0SP2 on XP and have the WLS Apache plug-in in Apache 2.0.49.
    I get this application fault alot...
    Faulting application apache.exe, version 2.0.49.0, faulting module unknown, version
    0.0.0.0, fault address 0x008be6ae.
    The only other non-default module I'm using mod_headers.
    I have the same problem in Apache 2.0.45, 2.0.46, 2.0.47, 2.0.48, and 2.0.49
    Has anyone else run across this problem? I'd REALLY like to know the root cause..
    Thanks,

    I'm running WLS 7.0SP2 on XP and have the WLS Apache plug-in in Apache 2.0.49.
    I get this application fault alot...
    Faulting application apache.exe, version 2.0.49.0, faulting module unknown, version
    0.0.0.0, fault address 0x008be6ae.
    The only other non-default module I'm using mod_headers.
    I have the same problem in Apache 2.0.45, 2.0.46, 2.0.47, 2.0.48, and 2.0.49
    Has anyone else run across this problem? I'd REALLY like to know the root cause..
    Thanks,

  • Why do I get a Flash Player Plug-in "Application Error" every time I change programs?

    I have the latest Flash Player installed: 11_9_900_152.exe, running on a firefox browser. Any time I leave one program to go to another, I get a pop-up message that states: The exception-unknown software exception (0xc0000710) occurred in the application at location 0x7756a389.
    "Click OK to terminate program". Clicking "OK" makes the error box go away. Repair Guy

    I'm sorry you've encountered this issue.  Could you post a screenshot of the error you are receiving?
    Please visit the link below for Instructions on capturing and posting screenshots or video In the forum.
    http://forums.adobe.com/thread/1070933
    Thanks,
    Chris

  • Texture missing in 3d application through JWS

    I created two applications using Java 3D, one did not include texture mapping, another did include texture mapping.
    After deploying two applications with Java Web Start, the one without texture works well, but the one with texture appears transparent.
    When two applications work on the local, both work normally.
    Did someone know this problem?
    THanks in advance!

    I havent heard of this, but there are a couple of common problem that can cause packages to run native , and fail in Java Web Start:
    1.) Security.
    Is you application signed and requesting all-permissions ? if not, there may be a security exception burried within Java3D that isn't being shown. To check this, sign the app, or use java.polcy to grant all-permissions to everything.
    2.) ClassLoader.
    There may be an SystemClassLoader assumption within Java 3D, using Class.forName() or getResource() w/o getContextClassLoader(). If this is the case, the console or log file should show you an exception.
    3.) Finally what versions are you running (javaws, java, and Java3D) ?
    The latest versions of each may fix bugs that address such problems.
    /Dietz

  • Install windows application via JWS

    We want to install our (non-Java) application via Java Web Start on Windows systems.
    Up to now, we've used InstallShield to install our appl. on the client machine.
    Has anyone a suggestion, how this can be possible with Java Web Start/JNLP?
    Access to the system (copying files, writing registry etc.) must be.
    Regards, Marko.

    We want to install our (non-Java) application via Java
    Web Start on Windows systems.
    Up to now, we've used InstallShield to install our
    appl. on the client machine.
    Has anyone a suggestion, how this can be possible with
    Java Web Start/JNLP?It is not impossible, but still a misuse of Web Start, with other deployment tools very likely to be better suited
    for your job. (You didn't tell the specifics.. mass distribution, or if you have control about deployment, server and clients)
    If you really insist, you might end up using the Java version of InstallShield with a very small wrapper written in Java that does the extension installer plumbing with Web Start.
    Regards,
    Marc

  • Why does Silverlight Crash when watching videos/movies/tv on-line? I have Firefox version 7.0.1 and Silverlight v. 4. Also noticed Firefox plug-in application using up to 60% of my hard drive for random, extended periods of time (min: 30 mins/time).

    I have: Firefox v. 7.0.1, Silverlight v. 4, Vista Home Premium/Service Pack 2, and Norton 360.
    (FYI: I also keep updated versions of ADOBE flash, reader, etc., Apple (itunes, Quicktime) & JAVA.)

    Hi Chris,
    Thanks for getting back to me on this. It's been very frustrating recently because I've got mad deadlines to meet. Sorry, I should have stuck a 'my' in the subject title! I know CS5 is powerful and relatively bug free.
    So the report I pated above was from the dialog box that pops up after the crash. Do you need more specific info about my video card? I've pated that info below.
    So what do you think, how do I start to fix this?
    ATI Radeon HD 5870:
      Chipset Model: ATI Radeon HD 5870
      Type: GPU
      Bus: PCIe
      Slot: Slot-1
      PCIe Lane Width: x16
      VRAM (Total): 1024 MB
      Vendor: ATI (0x1002)
      Device ID: 0x6898
      Revision ID: 0x0000
      ROM Revision: 113-C0780C-194
      EFI Driver Version: 01.00.436
      Displays:
    PA271W:
      Resolution: 2560 x 1440 @ 60 Hz
      Pixel Depth: 32-Bit Color (ARGB8888)
      Display Serial Number: 0X101760UB 
      Main Display: Yes
      Mirror: Off
      Online: Yes
      Rotation: Supported
    Display Connector:
      Status: No Display Connected
    Display Connector:
      Status: No Display Connected
    Cheers

  • I get a flashplayer plug in application error (0xc0000710) when opening some websites.

    I get the flashplayer error message (0xc0000710) on many websites. This is with the latest version of flashplayer. I've tried old versions and they work fine but updates throw me back into the later versions. If I can't get it fixed, I'm about ready to switch to Google Chrome. I'm running win 7.

    Crashes or other problems with certain multimedia content in Firefox (such as Youtube videos and Flash animations or games) can often be resolved by performing the steps in these Knowledge Base articles:
    * [[Flash Plugin - Keep it up to date and troubleshoot problems]]
    *[[Adobe Flash plugin has crashed - Prevent it from happening again]]
    * [[Flash 11.3 crashes]]
    * [[Flash 11.3 doesn't load video in Firefox]]
    On Windows Vista and above, you can disable Flash protected mode by following the instructions on these pages:
    * http://forums.adobe.com/thread/1018071#TemporaryWorkaround
    * http://kb.mozillazine.org/Flash#Disabling_Protected_Mode_in_Flash_11.3
    (See [http://blogs.adobe.com/asset/2012/06/inside-flash-player-protected-mode-for-firefox.html this Adobe blog post] for technical details about Flash protected mode.)
    Please tell us if this helped!

  • How to write plug-in for JWS?

    Where can I look for a sample of JWS plug-in (and Java too), I mean how to wrap my link to jnlp to provide user with a possibility to download JWS and Java, assuming, he has none. What is a minimal size of download? (javaws-1_0_1_02-win-int-rt.exe file is 8M - can it be reduced?)

    I don't believe that JWS can boostrap itself onto a client. In my test so far, I have a link in my web page to the appropriate sun URL from which the user can download the JRE and/or the JWS. They must first do that before downloading my application using JWS.

  • Launching jws application outside firewall

    Hi all,
    We have successfully deployed our application with JWS at a client site. We don't have any problems within the client environment, but we can't seem to provide home access to their users.
    Client is using Cisco VPN Concentrator 3020 series and they give only WebVPN access.
    We have tried many things but here is where we are stuck:
    1. User goes to the website
    2. Establishes a WebVPN session after entering the user/pwd
    3. User enters the URL for the application
    4. home.html goes through fine
    5. JWS launch errors out with an exception.
    Exception is 'missing <jnlp>'. When you look at the Launch File, you see an html page with fields for username and password entry. It seems like as JWS start creates a new connection to the secure website, it needs to authenticate it self. Unfortunately we don't receive the 401 http code, instead we receive an html form.
    I would appreciate any ideas for dealing with this situation.
    Thanks,

    If your jnlp file contains the <offline-allowed> javaws will "attempt" to
    download new jar files if it can read the timestamps from the net (and determine that new versions are needed) within a certain timeout (defaults to 1.5 seconds). If the timeout occurs the old version will launch, and the timestamp check will continue in the background. If the timestamp check then finds new files, it will simply flag this in the cache, so on the next launch it will be forced to download.
    I don't see any reason why it should be any differant launching from browser or from Application Manager, unless that changes the timeing so the check just happens to work within the timeout.

  • I am trying to see the video from Microsoft re: access program. The pop up says I need a plug in. "applications/x-ms-wmp". Where do I find it?  Is there any potential harm to be cause by downloading it.

    I want to see the Microsoft Access information video. The pop up says I need a
    plug in "applications/x-ms-wmp". Where do I find it and how is there any potential harm
    in downloading it?  Thanks

    Install Flip4mac.
    http://www.telestream.net/flip4mac-wmv/overview.htm

  • Application Client Enity Manager cannot find Persistence Unit with JWS

    I have an Enterprise Application Project in Netbeans 6.7.1.
    The enterprise application client module has the business code and the
    persistence unit (TopLink) defined in the app-client.jar. I can run this
    application clinet from NB without a problem. I can also run it with JWS
    if I remove the EnityManager.
    I'm using JPA (EnityManager) in a Java SE environment.
    When I try and run the app-client from Java Web Start I get an error
    that the EnityManager cannot find the PU. The persistence unit is packaged in the app.ear->app-client.jar->META-INF->persistence.xml.
    There's not a wealth of information, that I could find on the net, but this
    seems to be correct.
    The error I get is:
    INFO: ACC009: Load Application Class: [jws.Main]
    hello world! From JWS
    Dec 3, 2009 11:44:21 AM com.sun.enterprise.appclient.MainWithModuleSupport <init>
    WARNING: ACC003: Application threw an exception.
    javax.persistence.PersistenceException: No Persistence provider for EntityManager named JWS-app-clientPU: The following providers:
    oracle.toplink.essentials.PersistenceProvider
    oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider
    Returned null to createEntityManagerFactory.
    Any ideas on what I need to do to properly package the PU for an Enterprise Application Client ??
    Thanks,
    David

    I solved this problem.
    When we call resources from EAR application, WebLogic adds "Cache-Control=private, no-cache, no-store, s-maxage=0, must-revalidate" to all responses header.
    It was the reason of error occurence.
    I used filter from http://flavio.tordini.org/http-headers-filter to remove Cache-Control from header when calling jar resources.
    After that, applicatiom started to work again.

  • How to plug a web browser like firefox into a java application

    I am developing a sftware that conect to de internet and get a web page source code.
    Problems i have.
    im using URL clas and the open conect method
    this is the source:
    public String Connect(String pUrl) throws HtmlConnectionException{
            String lTxtHtml = "";
            String lLine = "";
            BufferedReader lInput = null;
            int lTimeout = 15000;
            URL url;
            try {
                if(gProxyIP != ""){              
                    url = new URL("http",gProxyIP,Integer.parseInt(gProxyPort),pUrl);
                }else{
                    url = new URL(pUrl);
                URLConnection urlc = url.openConnection();
                urlc.setDefaultUseCaches(false);
    //            urlcsetReadlTimeout(lTimeout);
                lInput = new BufferedReader(new InputStreamReader(new DataInputStream(url.openStream())));
                while ((lLine = lInput.readLine()) != null) {
                    lTxtHtml += (lLine) + "\n";
                lInput.close();
            } catch (SocketTimeoutException e){
                 gLogger.severe(e.getMessage());
                //e.printStackTrace();
                lTxtHtml = "lTimeout";
                throw new HtmlConnectionException(lTxtHtml);
            } catch (MalformedURLException e) {
                 gLogger.severe(e.getMessage());
                //ex.printStackTrace();
                lTxtHtml = "Bad URL";
                throw new HtmlConnectionException(lTxtHtml);
            } catch (IOException e) {
                 gLogger.severe(e.getMessage());
                //ex.printStackTrace();
                lTxtHtml = "Invalid";
                throw new HtmlConnectionException(lTxtHtml);
            return lTxtHtml;
        }but i dont know how to handle redirection of pages becose some teimes when it redirect me to anoder page an snd me an 30X mensage it crash and throw an IO Exception.
    Probelm 2
    i show the source of the web page but wat i nned is to plug a web wrowser into my application that let me se the web page in one JPanel and its source hig ligted in a JEditPane.
    becose i ned to parse tags to identify string automatically
    or the otehr option is to plug my application into a web wrobser (as a plugin of firefox) an be a ble to run it when i chose it from a contextual menu
    please. can u help me to find the way?

    You can use the Runtime class for this. It can run any command. So, you can run the .exe file of your Web browser.
    The following code will run Internet Explorer (assuming iexplorer.exe is in C:\Program Files\Internet Explorer):
    import java.lang.Runtime;
    public class Explore{
    public static void main(String[] args) {
    try{
    Process p = Runtime.getRuntime().exec("C:\\Program Files\\Internet Explorer\\iexplore");
    }catch (Exception e) {
    System.out.println("Exception: " + e);

  • Error:This page contains content of "application/x-java-applet" type. You do not have the plug-in required to view this content.

    Hi....i m using Mac OS x 10.5.8 with safari Version 5.0.2 (5533.18.5). I just updated the Java version to Java 6 and now m getting below error:
    This page contains content of “application/x-java-applet” type. You do not have the plug-in required to view this content.
    Please help me out on this....

    I am also having a problem with this. My website is hosted through "www.onlinepictureproof.com" and now that my laptop is back from repair with OS X 10.6.8 I am unable to upload my photos to my work website. It says "a plug-in is needed to display this content. Install plug-in" and then a window pops up that says "no suitable plug-ins were found".  Below that is "unknown plug-in (application/x-java-applet)" with a link to "manual install" which takes me to "http://www.oracle.com/technetwork/java/index-jsp-141438.html#download" which just leaves me lost. I've tried downloading the "JRE" but I have zero idea what that means or if Im downloading the proper thing. Once I click on the "download JRE" it brings me to a download page where there are WAY too many items for me to choose from to download, when I have no idea what I need or why I need it. please help, this is driving me insane. I actually preferred my constantly crashing laptop to the state its in now, "like brand new" back from apple repair...I have already updated everything that is promted through "Software Updates".
    "OnlinePictureProof.com" only directs me to apple support.
    Thank you for any help you can offer!
    Sheila

Maybe you are looking for

  • Changing root directory of JSDK server

    Hi There! I am running my servlet using JSDK 2.1. To run my servlet, I copy my class file to C:\jsdk2.1\examples\WEB-INF\servlets and could call my servlet using the URL http://localhost:8080/examples/servlet/classname. Now I want to create a subfold

  • Unable to HTTPS to 3002 Hrdwr Client

    About a month ago I upgraded our 3002 hardware clients (3) and our primary 3005 concentrator to software release 4.1.7.B. I had been able to access them remotely (either through the tunnel or over a public IP) using https, even after the upgrade. Now

  • Jservlet - OAS 4.0.8

    Hi all, Has anyone worked with 'Jservlet' cartridge on OAS 4.0.8? Is this a new feature of OAS 4.0.8 ? If so could you please give me details on the development environment. Should I use JSDK2.1 to develop servlets and can these servlets be put on th

  • Receive email and read email attachment via BPEL

    Hi All,      Does anyone know how to or has a module on receiving email and read email attachment via BPEL.      Im now reading and exploring UMS adapter as this activity can handle both reading email and email attachment.      Your response/s will b

  • Release startegy modification

    Dear Experts, we have using the release strategy,in the some users like purchase groups and release codes are changing or resigned from the company,for that we are are assigning the release codes of relived employee purchase groups and release codes