Start Applet with libraries beyond the codebase

Hello,
i want to restructure my application that provides an applet. Currently there is one location on the webserver where all artifacts are stored.
Status quo:
http://server/contextrootA/index.html
http://server/contextrootA/applets/applet.jar
http://server/contextrootA/applets/artifactA.jar
http://server/contextrootA/applets/artifactB.jar
The index.html embeds the applet, the codebase is set to "applets", the manifest file of the applet contains the property "Class-path: artifactA.jar artifactB.jar"
Everything works.
Now I want to split the artifacts in two locations. Here is a schema:
New architecture:
http://server/contextrootA/index.html
http://server/contextrootA/index.html
http://server/contextrootA/applets/applet.jar
http://server/contextrootA/applets/artifactA.jar
http://server/contextrootB/applets/artifactB.jar
I changed only the manifest file of the applet contains the property "Class-path: artifactA.jar ../../contextrootB/artifactB.jar". The code base is still "applets" within the "contextrootA" (http://server/contextrootA/applets/)
Now if I start the applet I see in java plugin console that all artifacts are downloaded, but i get a ClassDefNotFound exception, because the classes from artifactB.jar could not be found.
Everything works, if I disable the "mixed code security check" in the java plugin settings.
Is it possible to realize my approach without disable the mixed code security check?
Thanks
Denis

Please post this on the E-Biz Suite forum: OA Framework

Similar Messages

  • Java Class not found when starting applet with ip address

    Hi @all,
    we use Application Server 10gR2 with Java 1.6.0_20 and we start the applet with an JNLP File.
    When I use the url http://lhhap03/forms/java the applet starts as it should. But when I change the entry to http://192.168.17.208/forms/java i get the error:
    Exception in thread "thread applet-oracle.forms.engine.Main-1" java.lang.NoClassDefFoundError: org/apache/regexp/RE
    Now I´m a little bit confused why i can´t use the ip address instead of the dns name from the server?
    Which config I have to change that i can get the access to jar libraries with the Ip - Address
    Best regards
    thomas

    Problem Solved, I put many environment variables  in the .bash_profile file, the CLASS_PATH will overwrite the weblogic server's classpath during startup.
    Remove them and restart server solved my problem.

  • 5800 wont start up with memorycard inside the phon...

    Hi 
    My 5800 wont start with the memory card inside the phone. When the card is in the phone it just hangs with a white screen displaying the word NOKIA. When the card is removed the phone can be powered on and off without any issues. Any ideas?
    thanks  

    is the card compatible ?it could also be a  corrupt memory card. you can either try to reformat it via computer using the mass memory mode via usb and also store your data on the computer. try another card and see if the same thing happens. you might not be able to format the memory card you currently use, but if you are lucky enough you might be able. if you do indeed suceed you can try that card in the phone and see how that works. 
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • I am having trouble with app updates on my iOS 5 iPhone never getting beyond the "waiting" state.

    I am having trouble with app updates on my iOS 5 iPhone never getting beyond the "waiting" state. I have tried signing out/in of my account, rebooting and removing/re-installing the apps.  This started shortly after going to iOS 5 but I am not certain if that is related.  All updates that I try now are stuck in "waiting".  I also tried removing the apps and then installing via iTunes desktop sync with no improvement.  The only thing that I have not tried so far is a restore to a prior iPhone backup.  I have not been able to find anything to indciate what the updates on waiting on.  There is plenty of space on the iPhone (16gb available).  Any suggestions on what to try next? 

    Hello there, Missy.
    First thing I would recommend is to check your downloads queue to make sure there is not an interrupted download per the following Knowledge Base article:
    iTunes: How to resume interrupted iTunes Store downloads
    http://support.apple.com/kb/HT1725
    If your download was interrupted using your iPhone, iPad, or iPod touch
    1. From the Home screen, tap the iTunes app.
    2. For iPhone or iPod touch, tap More > Downloads. For iPad, tap Downloads.
    3. Enter your account name and password if prompted.
    4. Tap the blue download arrow to resume.
    If you can't complete the download on your iOS device, you can download it in iTunes on your Mac or PC and then sync it to your iOS device. You can also transfer purchases from your iPhone, iPad, or iPod to a computer.
    For Apps, you can also try tapping on the application icon to resume the download, as outline in this featured discussion:
    App updates won't download on my...: Apple Support Communities
    https://discussions.apple.com/thread/4111336
    Try tapping the App, so that it changes to Paused instead of Waiting, then tap it again to resume the install.
    Make sure you don't have any paused downloads in other apps either, like the App Store or iTunes Store.
    If that doesn't do it, try resetting or restoring the iPhone.
    via whatheck
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How can I start anew with Photos and clear the (minimal) stuff it has uploaded

    I've about had it up to here with this new Photos scheme. I reorganised my Aperture libraries on both my iMac and MBA in preparation for this, delayed turning Photos on for a couple of days until I thought everything was ready based upon the limited advice that was out there, and then got stuck in an endless loop of "uploading" and "preparing" every time I opened Photos. There are 19,975 images in my Aperture library on the iMac. I was stuck at Uploading at anywhere between that number and 19,000 with no progress after hours of waiting. I tried all the tricks mentioned here including re booting, restarting the app, repairing/rebuilding the database, killing the "cloudd" process, etc.today Today when I restarted Photos, it now said I had 23,775 images to upload- 4000
    more than I have-and of course it got stuck there, like it has for the last week.
    I copied the previous Aperture library (pre Photos migration)back to my iMac and opened it in Aperture. Thankfully, all the photos I had taken on my iPhone this week during this Photos clusterphuck transition were in the Aperture Stream so I didn't lose any of those. I'm willing to give this whole thing one more shot. So  i need some advice. How can I start anew with Photos and clear the (minimal) stuff it has uploaded (about 6000 of 19,000 images in the last 7 days) ? If I simply delete the Photos.photolibrary file will that do the trick and lt me start a new fresh library using?
    <Re-Titled By Host>

    How can I start anew with Photos and clear the (minimal) stuff it has uploaded (about 6000 of 19,000 images in the last 7 days) ? If I simply delete the Photos.photolibrary file will that do the trick and lt me start a new fresh library using?
    It is hard to say from your post, why the migration did not succeed in your case.
    by "stuck on upload" do you mean, you opened the Aperture library in Photos, and Photos converted it to a Photo Library, and then the upload to iCloud Photo Library did hang?  Or did already the upgrade to the Photo Library fail?
    If you want the Aperture library to upload to iCloud Photo Library, it needs to be on a disk formatted MacOS Extended (Journaled) and the original image files must not be referenced. Referenced originals will not upload.
    Also, the upload may hang, if you do not have enough free iCloud storage, orr if one of the videos or photos in your library is in an unsupported format or corrupted.
    To start over, try to repair and rebuild the Aperture library before opening it in Photos. Try all Aperture Library First Aid options - starting with repairing the permissions.  (Repairing and Rebuilding Your Aperture Library: Aperture 3 User Manual)
    If I simply delete the Photos.photolibrary file will that do the trick and lt me start a new fresh library using?
    You will have to delete the photos that are already in icloud too; otherwise you are risking duplicates.
    Can you launch Photos at all?  If yes, delete all photos in Photos and empty the Recently Deleted album. Wait for the deletion to sync to iCloud. Then delete the Photos.photolibrary.

  • Do I need to pass a applet test with Java before the Flash player will function?

    I have downloaded the unstall and install programs for Adobe Flash Player and followed all the steps poster, "eidnolb" noted to prior poster greenie41180 on March 6th,  2010, 8:05PM.   The flash player test did not work.   I also do not see applets, when I use the latest version of Java on an applet test.    I might try reinstalling IE8, or going to IE7 and reinstalling Flash Player.  Gawd!  hours have been used, just trying to get Flash Player going so I can resume watching the tutorials at Mathtutordvd.com.   
    What other troubleshooting steps can be taken?   I have tried everything eidnolb suggested in prior posts.
    Hello everyone, When I try to download the Flash player I get the error message listed above.    I turned off the firewall and virus modes on my TrendMicro protection program, when downloading the player.     I already have Java 6, update 18 in the system.   I restarted the computer.  I also adjusted the configurations for Javascript and ActiveX under the "Tools" menu for the Security and Advanced tabs of Internet options.  I have Windows XP, service pack 3, with Internet Explorer 8.  
    Also, I tested the recent, most updated program, Java and I still can not see an applet.    I have spent 7 or more hours on this.  I thought initially this process was going to be straight forward.     I desperately need this Flash player so I can learn math at the streaming video site called,  Mathtutordvd.com       Oh! gosh maybe someone here can help me help myself by giving me more troubleshooting steps.  I did follow Adobe's troubleshooting steps, but I still get the same, above error box with,  MSXML2.XSL Template 3.0 (Original exception: undefined)
      I hope, eventually to watch the streaming site, once this Flash Player is loaded.   I really do not understand what is going on here.  Thanks for your help.
    Information:   Windows\System32\Macromed\Flash
    These items are in the Flash folder:
                                                    Flash10e.ocx    version 10.0.45.2
                                                    Install text document
                                                    Uninstall_activeX  10.0.45.2
                                                    FlashUtil10e  Adobe Flash Player Helper  10.0.45.2
                                                    Should not FlashUtil10e be listed as FlashUtil10e.exe  ???
                                                    FlashInstall text document
    Genuinst   Microsoft application file  version
    6.0.2800.1531                                                                            KB913433 Setup Information 
                                                                                                           This is the Java version and also, these are listed and enabled in the “Manage add-ons” for Internet Explorer 8:           C:\Program Files\Java\jre\bin
    Java Plug-in 1.6.0_18  ActiveX control
    File: npjpi160_18.dll  version:  1.6.0.18
                                                    Java™Plug-in 2 SSV    version: 6.0.180.7  , file: jp2ssv.dll
    JQSIEStartDetectorImpl  Class  version:  6.0.180.7,  file:                               jqs_plugin.dll   for  program Files\Java\jre6\lib\deploy\jqs\ie
    Adobe PDF link Helper, version 9.0.0.332
    File:  AcroIEHelperShim.dll
    For C:\Program Files\Adobe  the listed files are:  
                                                    Reader 9.0
                                                    Acrobat.com
                                                    Photoshop 7.0
    Also,  under common files:   C:\Program Files\Common Files\Adobe\Acrobat\ActiveX the following files are present:
                            Pdfshell.dll
                            AcroIE HelperShim.dll
                            AcroPDF.dll
                            AcroIEHelper.dll
    There is also a file called Adobe AIR under the Common Files category.
    Next,  there are some Java undate files listed as:  C:\program Files\Common Files\Java\Java Update
    Also, listed in the “Manage add-ons”  is:  Shockwave Flash Object,  Flash10e.ocx,
    which is enabled.  
    When I checked the C:\program Files  I reviewed all listed folders and did not see folders named,  Adobe Flash Player 10 ActiveX,  or  Adobe Flash Player 10 plug-in.    The only folder found label with Adobe, was the prior mentioned folder,  Adobe containing Reader9.0,  Acrobat.com, and Photoshop7.0.

    Hi, May I suggest that you read your previous 3 threads that have been responded to?
    You need to stop starting threads, this is the 4th one. You need to stop copying and pasting from the first thread to the new threads that you are starting. It serves no positive purpose.
    eidnolb

  • How to start java applet with netbeans 6.1

    hey,
    I want to learn how to start java applet (with database) with netbeans.. I'm new to java...can you show me how can i start..if you have any doc about it can you send it to me..thank you..:)

    You really should be asking this NetBeans question at the NB site - these forums are for Java language topics, not NB support.
    [http://www.netbeans.org/kb/61/web/applets.html]
    Almost any NB question you have can be answered by either the NB web documentation or the NB program's Help.

  • JSP Plugin tag for applets with codebase - WLS 6.1 sp2

              Could someone please tell me what I am doing wrong?
              I have the following Plugin tag in my JSP.
              <jsp:plugin type="applet"
              code="com.xxx.efm.frontend.view.EFMApplet"
              codebase="/lib"
              archive="applets/EFMFrontend.jar, EfmCommon.jar, TrimmedWeblogic.jar, dom4j-full.jar,
              /classes/"
              jreversion="1.3"
              nspluginurl="http://java.sun.com/products/plugin/1.3/plugin-install.html"
              iepluginurl="http://java.sun.com/products/plugin/1.3/jinstall-131-win32.cab">
                   <jsp:params>
                        <jsp:param name="Delimiter" value="<%=delimiter%>" />
                        <jsp:param name="ComponentMap" value="<%=componentMapValues%>" />
                        <jsp:param name="ServerConfig" value="<%=serverConfigValues%>" />
                        <jsp:param name="GUIConfig" value="<%=guiConfigValues%>" />
                   </jsp:params>
              </jsp:plugin>
              I am trying to load the JSP using Netscape 4.7. When I don't have a plug-in installed
              the page
              displays "Click here to get the plugin". On clicking on it the browser pops up
              a "Plugin not loaded" dialog.
              All this is fine except that the dialog says it can retrieve the plugin from "/lib".
              When I click on
              "Get the plugin" button the new browser window tries to load the URL: http://localhost:2002/lib/?application/x-java-applet;version=1.3.
              It totally ignores the netscape URL for plugin. Something similar happens with
              IE as well.
              I tried the same JSP without the codebase tag and all worked fine (except for
              my applets). Yeah, I can append a "/lib" to each of
              my jars in my archive and it just might work. But should I be doing anything different?.
              Any help is appreciated.
              Thanks,
              Gopal
              

    I am facing the same problem with netscape (4.7x). Gopal, did you find any
              solution?
              IE works fine for me. I use the foll pluginurl
              iepluginurl="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#V
              ersion=1,3,1,1"
              _Jp
              "Gopal" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Could someone please tell me what I am doing wrong?
              >
              > I have the following Plugin tag in my JSP.
              >
              > <jsp:plugin type="applet"
              > code="com.xxx.efm.frontend.view.EFMApplet"
              > codebase="/lib"
              > archive="applets/EFMFrontend.jar, EfmCommon.jar,
              TrimmedWeblogic.jar, dom4j-full.jar,
              > /classes/"
              > jreversion="1.3"
              >
              nspluginurl="http://java.sun.com/products/plugin/1.3/plugin-install.html"
              >
              iepluginurl="http://java.sun.com/products/plugin/1.3/jinstall-131-win32.cab"
              >
              >
              > <jsp:params>
              > <jsp:param name="Delimiter" value="<%=delimiter%>" />
              > <jsp:param name="ComponentMap" value="<%=componentMapValues%>" />
              > <jsp:param name="ServerConfig" value="<%=serverConfigValues%>" />
              > <jsp:param name="GUIConfig" value="<%=guiConfigValues%>" />
              > </jsp:params>
              > </jsp:plugin>
              >
              > I am trying to load the JSP using Netscape 4.7. When I don't have a
              plug-in installed
              > the page
              > displays "Click here to get the plugin". On clicking on it the browser
              pops up
              > a "Plugin not loaded" dialog.
              > All this is fine except that the dialog says it can retrieve the plugin
              from "/lib".
              > When I click on
              > "Get the plugin" button the new browser window tries to load the URL:
              http://localhost:2002/lib/?application/x-java-applet;version=1.3.
              > It totally ignores the netscape URL for plugin. Something similar happens
              with
              > IE as well.
              >
              > I tried the same JSP without the codebase tag and all worked fine (except
              for
              > my applets). Yeah, I can append a "/lib" to each of
              > my jars in my archive and it just might work. But should I be doing
              anything different?.
              > Any help is appreciated.
              >
              > Thanks,
              > Gopal
              

  • Just want to get started. I am unable to move beyond the voice over welcome screen.  Any advice would be welcome.

    I just want to get started with my new out of the box MacAir.  I canot move beyond the voice over welcome screen.  It seems to be stuck.  What do I need to do to advance out of it? 

    Bt seem to have got their act together. After six days! All of a sudden it works. What a surprise, shame their help desk would not admit anything was wrong.

  • Launching an applet with java web start

    Is there a way to launch an applet with java web start? That is, to have the java appelt run in a browser but get deployed with a jnlp-file and have all the benefits of java web start?
    Robert

    http://www.physci.org/jws/#jtest

  • My iMac does not move beyond the white screen with apple logo?

    When the iMac turns on it does not advance it's start up beyond the 'White Screen' with the apple logo at the center.

    the following article addresses the mac booting to gray screen issue you described:
    http://support.apple.com/kb/TS2570
    you should get resolution from this, good luck!

  • My iphone 4 dont want to start beyond the apple logo

    my iphone 4 dont want to start beyond the apple logo

    Hello diyaakaraman69,
    That symptom is listed in this article (it is having problems booting),
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    5. If the above steps do not resolve the issue, or the if the screen remains black or shows a persistent Apple logo, try restoring with iTunes:
         1.Connect the device to your computer and open iTunes.
         2. If the device appears in iTunes, select and click Restore on the Summary pane. Learn more about restoring iOS software.
         3. If the device doesn't appear in iTunes, try to force the device into recovery mode, and then restore it.
    6. If the above steps do not resolve the issue, contact Apple.
    Note it suggests a restore as described here:
    Use iTunes to restore your iOS device to factory settings
    http://support.apple.com/kb/HT1414
    Please go through that article.
    Thank you for using Apple Support Communities.
    Nubz

  • For no apparent reason, my email will not autofill addresses. I have no problem on IE, Chrome or Opera. This problem just started with firefox within the last 24 hours. My mail server is AT&T/Yahoo, and I use webmail - not a mail program.

    With all other browsers, when I compose an email, once I start to put the recipient's name in the To box, it will autofill the name if it is in my Contacts. This has been the case with firefox until the last 24 hours. Now, firefox does not automatically recognize any of my contacts. This problem is not happening on IE, Chrome, or Opera. I access my email through my AT&T/Yahoo account on the web, not through a mail program.

    please try to uninstall the adobe flash plugin from the windows control panel. afterwards manually delete any leftover files in ''C:\Windows\SysWOW64\Macromed\Flash'' and download & install the plugin again (uncheck the option to install the bundled security software): www.adobe.com/go/getflashplayer

  • Lightroom crashes at start up with the error message "Lightroom encountered an error when reading from its preview cache and needs to quit".  Please advise on how to fix this error.  Thanks

    Lightroom crashes at start up with the error message "Lightroom encountered an error when reading from its preview cache and needs to quit".  Please advise on how to fix this error.  Thanks

    You probably need to delete your preview cache.  See here  
    Why And How To Clear Your Lightroom Cache - Lightroom Fanatic
    Preference and other file locations in Lightroom 5

  • When I print a photo to my epson printer, it comes out larger than the original photo - so the photo prints beyond the borders. Tried readjusting all sorts of things but nothing helps. I had this same problem with my Canon. any ideas?

    When I print a photo to my epson printer, it comes out larger than the original photo - so the photo prints beyond the borders. Tried readjusting all sorts of things but nothing helps. I had this same problem with my Canon. any ideas?

    Crop to the print size before pringing
    LN

Maybe you are looking for

  • Unable to install Adobe CS5 64 bit package created using Adobe Application Manager on Windows 7 64

    I am unable to install Adobe CS5 64 bit package created using Adobe Application Manager on Windows 7 64 bit.Basically installation rollback on Win 7 64 bit image. MSI Log File :- Property(S): ProductToBeRegistered = 1 MSI (s) (5C:D4) [17:59:21:784]:

  • Lack of Tech Support and inferior product

    So tired of this lack of tech support for the G2. I'm on my second one. First one had a headphone jack issue that caused the mic to stop working, now this one is doing that, and to top it off I've had to do 3 factory resets in order to send picture m

  • Doubt in fields - message mapping (file 2 idoc scenario)

    while doing message mapping in file 2 idoc scenario, i could not able find the values for some field names ( i am following this wiki help https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC& ) cremas04 idoc vendorNo LIFN

  • Problem with the view

    i am using a view set. there is one button in one view and another button in anothor view. and both are in same viewset but one in top and another in bottom. now i want ot call a button with in another button...

  • Idoc & Http adapter

    Why do Idoc and Hppt adapters don't have sender agreement