Applet works in JDeveloper, but not when deployed to OC4J

I am working on an applet version of the BI Beans java client application. It works fine when running in JDeveloper (applet viewer), but fails when deployed to OC4J. The applet shows a red X, with a message in the status bar saying "Loading Java Applet Failed...". Contents of java console are as follows:
java.lang.NoClassDefFoundError: oracle/dss/selection/step/Step
     at java.lang.Class.getDeclaredConstructors0(Native Method)
     at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
     at java.lang.Class.getConstructor0(Unknown Source)
     at java.lang.Class.newInstance0(Unknown Source)
     at java.lang.Class.newInstance(Unknown Source)
     at sun.applet.AppletPanel.createApplet(Unknown Source)
     at sun.plugin.AppletViewer.createApplet(Unknown Source)
     at sun.applet.AppletPanel.runLoader(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Any one have any ideas how to chase this one down?
Here is the message that JDeveloper shows when it runs the applet. I have gone thru this and ensured that all these references are selected in my .deploy settings:
C:\JDeveloper\jdk\bin\javaw.exe -ojvm -Xbootclasspath/a:C:\dev\jdev\Workspace1\TestClientApp\classes;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biaddinsrt.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biamlocal.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bicmn.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidataclt.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidatacmn.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidatasvr.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biext.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bipres.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidata-nls.zip;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bipres-nls.zip;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bicmn-nls.zip;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biaddins-nls.zip;
C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\LW_PfjBean.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\share.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\jewt4.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\jewt4-nls.jar;
C:\JDeveloper\jdev\lib\ext\..\..\infobus\lib\infobus.jar;
C:\JDeveloper\BC4J\lib\bc4jmt.jar;C:\JDeveloper\BC4J\lib\collections.jar;
C:\JDeveloper\BC4J\lib\bc4jct.jar;
C:\JDeveloper\lib\xmlparserv2.jar;
C:\JDeveloper\jlib\jdev-cm.jar;
C:\JDeveloper\j2ee\home\lib\jndi.jar;
C:\JDeveloper\jlib\regexp.jar;
C:\JDeveloper\jlib\share.jar;
C:\JDeveloper\jlib\uix2.jar;
C:\JDeveloper\jdbc\lib\classes12.jar;
C:\JDeveloper\jdbc\lib\nls_charset12.jar;
C:\JDeveloper\j2ee\home\lib\ojsp.jar;
C:\JDeveloper\j2ee\home\jsp\lib\taglib\ojsputil.jar;
C:\JDeveloper\j2ee\home\oc4j.jar;
C:\JDeveloper\j2ee\home\lib\servlet.jar;
C:\JDeveloper\jdev\lib\ojc.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\olap_api_92.jar;
C:\JDeveloper\jdev\lib\jdev-rt.jar;
C:\JDeveloper\BC4J\lib\bc4jhtml.jar;
C:\JDeveloper\BC4J\lib\datatags.jar;
C:\JDeveloper\BC4J\lib\bc4juixtags.jar;
C:\JDeveloper\BC4J\lib\bc4j_jclient_common.jar
Any assistance would be appreciated.
s.l.

i have the same problem
i cant load my applet on OC4J , i am wondering know how Oracle canot solve this problem

Similar Messages

  • Fixed headers while scrolling works fine in bids but not when deployed to reportserver

    Hi, I am using SQL Server 2008 R2 & deploying a report to reportserver with fixed headers while scrolling, this works fine in bids but not when deployed to reportserver. We are IE 9.
    Thanks in advance...............
    Ione

    Hi ione721,
    Since you have identified the 2 xml files are identical, according to my knowledge, there maybe a compatibility issue with IE 9 and SSRS 2008 R2, so I suggest that you could run the report in compatibility mode. Please make sure you have turned on Compatibility
    View in Internet Explorer 9 by following steps:
    When Internet Explorer recognizes that a webpage is not compatible, you will see the Compatibility View button on the Address bar. Try clicking it.
    When Compatibility View is turned on, the button changes from an outline to a solid color when you view the page.
    The following screenshots are for your reference:
    If you have any questions, please feel free to let me know.
    Best Regards,
    Wendy Fu

  • Applet Works in Eclipse but not Online?

    I've got everything working in eclipse but now when I uploaded it to unix it wouldn't run. Any ideas? I chmod 664 all the java and class files. It won't print to the TextArea for some reason when I uploaded it.
    Here is my source
    http://www2.hawaii.edu/~akinsey/CD.java
    http://www2.hawaii.edu/~akinsey/CDStorage.java
    http://www2.hawaii.edu/~akinsey/CDStorage.html
    That will all compile and run in eclipse but doesn't work online :(

    If it runs in Eclipse, but not when deployed, the problem is probably classpath or security related. This is why those of us who use Eclipse in real production work, rarely use its builds. I always build with ANT and never run from within Eclipse. I alway use what Eclipse calls an "Externally Launched Server".

  • Wifi works at home but not when away from home

    My Wifi works at home but not when away from home, what is wrong?  I thought with a phone plan I didn't need to have a wifi connection.

    You either need WiFi or Cellular (or both). If you have neither, you can't connect to the internet.
    Most people use WiFi at home and Cellular while away from home, or connect to public WiFi networks where there are some.

  • Applets work in NS but not in IE

    Hello,
    I would very much appreciate tips on setting up sun java so that I can make applets that work in IE.
    Now, my IE have no problems with applets found on the web, for example this one is ok:
    http://java.sun.com/applets/jdk/1.1/demo/Animator/example1.html
    But, the examples installed with j2sdk1.4.1_07 will only work in Netscape. In IE these applets just display a grey applet area. (IE6/XP and IE5.5/Win98)
    So far:
    Have read installations instruction and ReadMe files. Installed j2sdk1.4.1_07, added PATH, code compiles fine. Console programs work ok. I also compiled a Hello World applet, which also worked in NS, but not in IE.
    Any help greatly appreciated.

    Me again...
    Right... Maybe I am answering my own question here? It seems that the programs compiled with j2sdk1.4.1_07 will NOT run under the JVM 1.1.4 from Microsoft Corp?
    So, anything that I compile with the later sun package will most likely fail on IE browsers unless the user have upgraded their JVMs?
    If so, then what version of Sun Java can be recommended to achieve reasonable amount of compatibility with the IE5.5 and IE6 that are out there?

  • Applet works in Netscape but not IE

    Very basic Hello World applet. IT doesn't work in IE 6. Not sure why.
    html source:
    <html>
    <body>
    <applet code="test.class" Width=640 Height=480></applet>
    </body>
    </html>
    Anyone know why?

    I do have java runtime installed. I used java SDK 1.4.1. What runtime do I need installed for applets made with this version of java? I have the 1.4.1 runtime installed. It doesn't make sense to me that it would work in Netscape but not Internet Explorer. Any help would be great. Thax

  • UIImpersonator tests work in FlashBuilder, but not when run from Ant

    I'm in the process of converting a Flex 3 project to use FlexUnit4 tests.
    Everything compiles in Flashbuilder 4.5 and runs nicely. I've converted all the tests
    to use flexunit 4, which highlighted a few issues, but nothing too major, and all the
    tests now pass when run in Flashbuilder.
    So... now, I'm trying to convert the CI build to use the 4.5 SDK and flexunit4. So far,
    so good. Everything runs and I get a nicely formatted JUnit report. Unfortunately, though,
    any test that uses the UIImpersonator fails with an async method timeout, suggesting that
    the CreationComplete event hasn't fired.
    Here's a typical example of one of my UI test cases:
              [Test(async, ui)]
              public function testAvailableProductsSetupAdminForSell() : void {
                   var view:OrderBasketView = new OrderBasketView();
                   var user:CfxUser = new CfxUser();
                   user.admin = true;
                   ModelLocator.instance.userDetails = user;
                   view.buyOrSell = OrderType.SELL;
                   helper.createComponentAndAddListener(view, this, availableProductSetupAdminForSellCreationComplete);
              private function availableProductSetupAdminForSellCreationComplete(event:Event, view:OrderBasketView) : void {
                   Assert.assertTrue(view.availableProductTypes.contains(ProductType.PRODUCT_1));
                   Assert.assertTrue(view.availableProductTypes.contains(ProductType.PRODUCT_2));
                   Assert.assertTrue(view.availableProductTypes.contains(ProductType.PRODUCT_3));
    and helper.createComponentAndAddListener looks like this:
            public function createComponentAndAddListener(view:UIComponent, testCase:Object, creationComplete:Function) : void {
                   _view = view;
                   _view.addEventListener(FlexEvent.CREATION_COMPLETE, Async.asyncHandler(testCase, creationComplete, 4000, _view));
                   UIImpersonator.addChild(_view);
    If I use FlexGlobals.topLevelApplication.parent.addChild(_view) in place of UIImpersonator.addChild(_view), all the tests pass.
    I was wondering if it's a function of the fact that my helper class has no metadata that indicates it's a ui test, but that wouldn't explain why it works in FlashBuilder and not when run with ant.
    I also wondered if it was a function of running with headless server set to true, but when I changed it to false the same thing happened.
    My environment is:
    ubuntu 11.04
    ant 1.7.1
    Sun jdk 1.6.0_26
    Flex SDK 4.5.1.21328
    FlexUnit 4.1.0-8-4.1.0.16076
    I'm using the auto-generated TestRunner.mxml
    Any thoughts, anyone? Now that I can get it to work by adding the UI components to the topLevelApplication, at least I can make progress, but I'd like to get to the bottom of the problem, because that shouldn't be necessary.
    Thanks in advance,
    -Chrisl

    Changing to the topLevelApplication did not work. What's funny is that it then failed on a completely unrelated test by hanging and never returning... I'm thinking there must be something else that is going on here, but it's not clear what... :-/ Here is an example of my setup/teardown and a test that work great in the UI but not in CI...
    [Before(async, ui)]
    public function setUp():void
        _fromToList = new FromToList();
        _fromToList.setStyle('skinClass', FromToListSkin);
        Async.proceedOnEvent(this, _fromToList, FlexEvent.CREATION_COMPLETE, 1000);
        FlexGlobals.topLevelApplication.parent.addChild(_fromToList);
        // UIImpersonator.addChild(_fromToList);
    [After(ui)]
    public function tearDown():void
        FlexGlobals.topLevelApplication.parent.removeChild(_fromToList);
        // UIImpersonator.removeChild(_fromToList);
        _fromToList = null;
    [Test(async)]
    public function should_remove_selected_item_in_to_list_to_from_list():void
        _fromToList.fromArrayList = _dpArray;
        _fromToList.toArrayList = _toDpArray;
        var sequence:SequenceRunner = new SequenceRunner(this);
        sequence.addStep(new SequenceSetter(_fromToList.toList, { selectedItem: _toDpArray[1]}));
        sequence.addStep(new SequenceWaiter(_fromToList.toList, FlexEvent.VALUE_COMMIT, 100));
        sequence.addStep(new SequenceCaller(_fromToList, _fromToList.remove));
        sequence.addStep(new SequenceWaiter(_fromToList, FromToListChangeEvent.FROM_TO_LIST_CHANGE_EVENT, 100));
        sequence.addAssertHandler(handleListHasChangedThenRemoveEvent, {});
        sequence.run();
    private function handleListHasChangedThenRemoveEvent(event:FromToListChangeEvent, passThruData:Object):void
        assertThat(_fromToList.toArrayList.length, equalTo(_toDpArray.length - 1));
        assertThat(_fromToList.fromArrayList.length, equalTo(_dpArray.length - _toDpArray.length + 1));
        assertTrue(_fromToList.fromArrayList.contains(_toDpArray[1]));
    So you can see that I'm using Sequences to manage waiting for stuff to get updated in the background, and basically testing when I select an item in a list and act on it that it updates the model like I expect. Again, works GREAT in the UI Runner.
    I'm open to suggestions...

  • Applet works in appletviewer but not in IE - Applet notinited

    Hi, i have written a simple applet which uses swing components, ie swing labels and buttons. The buttons and labels also have icons with the text. The icons are in a folder called "icons" inside the same folder that the class is in. Everything works fine in the appletviewer, the icons are all displayed correctly, however when i try to open it through Internet Explorer i get this error in the java console window:
    Java(TM) Plug-in: Version 1.4.0
    Using JRE version 1.4.0 Java HotSpot(TM) Client VM
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    java.security.AccessControlException: access denied (java.io.FilePermission icons/world.jpg read)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
         at java.security.AccessController.checkPermission(AccessController.java:401)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
         at java.lang.SecurityManager.checkRead(SecurityManager.java:887)
         at sun.awt.SunToolkit.getImageFromHash(SunToolkit.java:408)
         at sun.awt.SunToolkit.getImage(SunToolkit.java:422)
         at javax.swing.ImageIcon.<init>(ImageIcon.java:81)
         at javax.swing.ImageIcon.<init>(ImageIcon.java:107)
         at atm.init(atm.java:23)
         at sun.applet.AppletPanel.run(AppletPanel.java:341)
         at java.lang.Thread.run(Thread.java:536)
    Can anyone help me with this problem? I desperately need this applet working in the browser and not just the appletviewer.
    Many thanks in advance,
    Adrian

    Hi, i don't think it is a problem with the security settings, the problem definately lies in these lines
    inside the init method:
         Icon worldIcon = new ImageIcon(getDocumentBase(),"icons/world.jpg");
         JLabel myIconLbl = new JLabel("My Icon and Label", worldIcon, SwingConstants.CENTER);     
    add(myIconLbl);
    If i take the ' getDocumentBase() ' part out of the first line, the applet compiles and the worldIcon is correctly displayed in the appletviewer but not in Internet Explorer (the problem i orriginally sited).
    However by leaving the getDocumentBase() line in the code, the applet correctly compiles but does not show the icons at all in either appletviewer or IE!!
    Any suggestions?
    Adrian

  • Applet working on local but not online

    my applet working on local machine fine
    but when i upload applet on my website
    and access by my machine only interface
    show and when i click the button of applet
    no result produce....
    thankx

    It is only possible if you missed something for code or codebase attribute of Applet tag, I mean values for these attributes are fine for your local machine but not with the server you are using.

  • Vi works in LabVIEW, but not when executed by TestStand.

    Hi everybody.  I'm using LabVIEW 8 with the Sound and Vibration
    Toolkit, and TestStand2.  I am planning on using TestStand to
    execute a series of performance tests on an audio processing
    board.  When run independently, the vi (which I have attached
    here) runs correctly, and returns a value for the parameter being
    tested.  In this case it is SNR.
    However, when executed by TestStand, the vi seems to run correctly, but
    returns a value of "NaN".  This causes TestStand to fail the test.
    Does anybody know what is going on here?  I've checked FAQs and
    help files, etc...  Why would the vi work on its own but not in
    TestStand?
    Thanks.
    Brett Gildersleeve
    Attachments:
    SingleChannelSNR.vi ‏173 KB
    Test Sequence.seq ‏15 KB

    Hi Ray,  Thanks for the reply.
    Basically, when I run the VI on its own, I see the SNR value appearing
    both in the SNR indicator and in the Test Data Out cluster under
    Numeric Measurement.  The rest of the indicators are empty
    (string, report text, status, code, source).  My waveform graph
    shows an FFT of the signal.
    However, when running the exact same VI through TestStand, I get NaN as
    the output.  The FFT of the signal is NOT displayed in the
    waveform graph...  strange.  No errors are received.
    In order to make it easier to debug, I replaced all of the analysis functions
    with functions included in LabVIEW 8.  Now everybody should be
    able to run it.  I do a simple THD test this time around.  With the VI running
    on its own, I get a value of 1.8 as the THD and the Numeric Measurement of Test Data
    Out.  However, whenever running the test with TestStand, I get a
    value of NaN.
    Same problem.
    Any suggestions?
    By the way, what exactly do you mean by "wiring
    up the Error cluster and feed in to the Error Out."?  I'd
    like to try it out, but I'm not sure exactly what you mean.  I
    already have the Error out cluster wired up, I think.
    Message Edited by TheSleeve on 05-22-2006 12:12 PM
    Attachments:
    SingleChannelTHD.vi ‏159 KB
    Test Sequence2.seq ‏15 KB

  • Works in RSA3 but not when pulling from BI

    Hi,
      I created a generic dataSource(Function Module) for Bill Of Material. When testing in RSA3 it is working fine. But when pulling data from BI with particular material in the Data Selection, it is saying "No data available". If I am pulling the same with no data selection then it is giving an error message "Job terminated in source system --> Request set to red".
    When checked in SM37 I see the following error messages.
    No active nametab exists for /SAPAPO/MATKEY             DA 300
    Job cancelled after system exception ERROR_MESSAGE
    Can any body help me on this
    Thanks for your help
    Subra

    Every thing is fine in all these transactions SM58, BD87, & WE05. There is no problem with the connections at all. I replicated many times and the error is always the same.
    The error message below is the reason.
    No active nametab exists for /SAPAPO/MATKEY
    This messsage is not coming when testing in RSA3. Only when pulling the data from BI, this error is happening.
    We are not using SAPAPO but still this message is coming up.
    thanks
    Subra

  • Applet works on Netscape6 but not on IE nor Navigator either

    My applet works just fine on Netscape 6 but not on IE 5.50 nor on Navigator 4.72.
    My applet is a shopping check, so what I do is add a new row to the check every time the client adds a new item, but the row doesn't display on IE or Navigator.
    I added resize(int,int) after I added the row to the check, and that worked for Netscape 6, but even though I also added repaint(), that's not working for the other 2 surfers.
    Thanx for any help in advance

    IE won't allow you to resize the Applet by making it bigger. It will not show the new area. Thank Microsoft for your problems... Netscape 6 is new, so probably IE 6 will also support this??

  • Applet work in IE but not in Netscape 4.01

    Hi,
    My applet work fine in IE. However, when it runs in Netscape 4.01, a securityException is caught. What should I do?
    Best regards
    From Hoifo

    What should I do?Give us the stack trace and VM versions. You aren't using the plugin?
    scenario: NN's VM is missing a class that IE's VM has. NN's classloader tries then to find it from the server but it can't of course find it, possibly resulting in a SecurityException. (A ClassNotFound should be more probable in that case, though)

  • Applet works in IDE but not in browser

    I have an applet that is supposed to read some data through COM port. Problem is that altough it works well in Eclipse IDE it fails without error in browser. It stops working in the point where its supposed to create instance of class that deals with reading data from COM port. I have signed applet with selfmade certificate but it didnt make any difference.

    By "stops working" i mean that it never reaches next line. I put one print before and one print after the line with problem and it only prints out first line. No error is shown and try-catch also doesnt help. Is it possible that there is some sort of debug mode for applets i need to enable to see errors?
    EDIT: Works now. Looks like my applet was unable to load external library when ran outside of IDE. Still dont know why i didnt get any error messages about it.
    Edited by: 816393 on Nov 29, 2010 7:00 AM

  • Url links in swf work in standalone, but not when opened in browser

    I am currently using flash to create an electronic press kit.
    In that, i have 2 links to youtube (since embedding the videos was
    not an option, making the file too large), and one link to
    yousendit for the viewer to be able to download a pdf file.
    Now when i open the swf by double clicking on it (which i can
    do, but when on another computer, that has flash player installed,
    the swf will not open unless opened through a browser....not sure
    if that is just something where you can open an swf strictly by
    itself only if you actually have flash or what....that is another
    issue), but anyways, when i open the swf by itself, the links work
    correctly. once opened through a browser, the links do not work.
    Safari error:
    Adobe flash player has stopped a potentially unsafe
    operation.
    The following local application of your computer or network:
    (location of swf on harddisk)
    is trying to communicate with this internet-enabled location:
    youtube.com
    To let this application communicate with the internet, click
    SETTINGS.
    You must restart this application after changing your
    settings.
    Of course i did that, and it didnt happen.
    My question is however, even if this is a simple security
    issue/setting within the browser, is there any way to get around
    this? Because when sending this press kit out, the last thing i
    want is for the viewer to have to take the time to change their
    browser settings and try to get this to work and all that stuff.
    Any help would be appreciated.
    You can also download this swf at the following link:
    http://www.yousendit.com/transfer.ph...661F585ACE0521

    The reason the swf doesn't open up by itself on other
    computers is that it needs a Stand Alone Flash Player to do so.
    Most people have the Flash plug-in for their browsers, but not the
    stand alone player. If you are sending it out as a self contained
    file you need to make a Projector file. It contains the SA + swf in
    one file, which adds weight. Also, you need to make a Windows one
    and and a Mac one. If you are using CS3, I think you can make a
    Abobe AIR app that is universal, granted you install the free AIR
    plug-in controlls for Flash ( I THINK. My knowlege is not totally
    up to date) .
    As for the links not working in the browser, its seems like
    they should work. Your posted link for the file is broken, so
    couldn't see. What is your code for the buttons? Are you calling
    JavaScript in your html page? I've had problem with that usually a
    syntax error or IE.
    AS2 button

Maybe you are looking for