How to speedup getting InitialContext in applet

Hi,
Can anyone help me out here ?
I am using wls6.1 sp3. And my client is an applet.
When i try to get the InitialContext in applet it takes too much time.
Can its speed be increased ?
Thanks,
Ams

Hello,
can u tell me how can u get the jndi?
I account with this problem.
http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jndi&item=1861&utag=
My applet run in client browser JVM, When it look up the init context, the
error is: I think maybe because there are not any InitialContextFactory related
classes in the client tier. Who can tell me how to solve the problem???
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
[java.lang.ClassNotFoundException: weblogic.jndi.internal.ServerNamingNode_WLStub]
at ...
Regards
"Ams" <[email protected]> wrote:
>
>
Hi,
Can anyone help me out here ?
I am using wls6.1 sp3. And my client is an applet.
When i try to get the InitialContext in applet it takes too much time.
Can its speed be increased ?
Thanks,
Ams

Similar Messages

  • How do i get the java applet to stop appearing on the dock?

    how do i get the java applet to stop appearing on the dock? it seems to do this for pop-up windows.  also, the text on the popup window is different, how can I change that to normal?   this all started when i loaded MAC OS X 10.6.8

    You could try to block popup windows.
    Safari / Preferences / Security
    Also, go to Safari / Preferences / Extensions and clean out everything there.

  • Can't get InitialContext from Applet over SSL

    The web page loads, the applet loads, but an exception is thrown creating an InitialContext.
    java.lang.RuntimeException
         at weblogic.security.utils.SSLSetup.getLicenseLevel(SSLSetup.java:157)
         at weblogic.security.utils.SSLSetup.getWrapperClass(SSLSetup.java:195)
         at weblogic.security.utils.SSLContextWrapper.<init>(SSLContextWrapper.java:35)
         at weblogic.security.utils.SSLContextWrapper.getInstance(SSLContextWrapper.java:29)
         at weblogic.security.utils.SSLSetup.getSSLContext(SSLSetup.java:390)
         at weblogic.rjvm.t3.T3SJVMConnection.newSocket(T3SJVMConnection.java:118)
         at weblogic.rjvm.t3.T3JVMConnection.newSocketWithRetry(T3JVMConnection.java:569)
         at weblogic.rjvm.t3.T3JVMConnection.connect(T3JVMConnection.java:430)
         at weblogic.rjvm.t3.T3SJVMConnection.createConnection(T3SJVMConnection.java:92)
         at weblogic.rjvm.ConnectionManager.createConnection(ConnectionManager.java:1772)
         at weblogic.rjvm.ConnectionManager.findOrCreateConnection(ConnectionManager.java:1295)
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:430)
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:312)
         at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:222)
         at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:180)
         at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:222)
         at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:188)
         at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:125)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:296)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:239)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:135)
         at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
         at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
         at javax.naming.InitialContext.init(Unknown Source)
         at javax.naming.InitialContext.<init>(Unknown Source)
         at MyApplet.init(MyApplet.java:15)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    It seems like the certificate was downloaded correctly since the page loads and the applet loads. What else needs to be set up for the InitialContext?
    Thanks!

    Oops, forgot to mention the specs. That's WebLogic 8.1 with Service Pack 4, JRE 1.4.2_06, IE 6.0 SP 2, using the Demo certs for now.

  • How does javascript get string from applet?

    hi, sir/madam:
    I use an applet to deal with simulation, make the results to be a string and want to save it in a text file. Certainly, using applet to write local file is not good method (though I have some idea about it). I want that javaScript write something in browser and I save it with my mouse (manual) as a text file.
    thank for your help.
    xn
    could javaScript write/read local file?

    There is a nice JavaScript forum that you can visit if you have tough JavaScript questions:
    http://forums.webdeveloper.com/forumdisplay.php?s=a23bf83c088c66ac3adde0c3c5616bae&forumid=3
    I'm not implying that ppl here don't know JavaScript or anything like that.....
    In answering your questions, a Java applet can read from and write to local disk if proper permissions are granted either via a signed applet or setting the Java access right. Signing an applet can be a royal pain in the butt because you have to sign it one way for IE, another way for NN4, and yet another way if you use a plugin, etc....but here is a link in case you're interested:
    http://developer.java.sun.com/developer/qow/archive/167/index.jsp
    A JavaScript definitely cannot read from or write to a local disk unless you get help from something like MS ASP or VB scripts. The only reason you were able to read thru the appletviewer is because it's not a true browser and it's written by Sun to work with their own product.
    As far as using javascript to get information from an applet, you can try to make your applet scriptable via Netscape JSObject. I know for sure it works with IE and NN4+ but last time I tried, Sun and Netscape were still having trouble getting LiveConnect to work properly with NN6+.
    And there you have it.
    ;o)
    V.V.

  • How we will get parameters when we uses EMBED tags

    hi ,
    how we will get parameter from applet in netscape. When my swing applet using OBJECT tag, runs in IE it works fine.
    And im able to getting parameter. But in the case of Netscape (that means when i used EMBED tag) im not able to getting the parameter.
    How we will give <param tag in the case of EMBED tag. Im sending my snippet which is for only netscape.
    <EMBED type="application/x-java-applet;version=1.2.2"
    width="800" height="1200" code="myclass.class" codebase='mycodebase'
    pluginspage="http://java.sun.com/products/plugin/1.2/plugin-install.html">
    <NOEMBED>
    </COMMENT>
    No JDK 1.2 support for APPLET--please download the plugin.
    </NOEMBED>
    <param name='parameter' value='value'>
    </EMBED>
    If anybody helps, very much thankful to them
    thanks in advance

    Parameters should be inside the EMBED tag, like this :
    <EMBED type="application/x-java-applet;jpi-version=1.3.1" CODE = "Editor.class" WIDTH = 350 HEIGHT = 200 scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3.1/plugin-install.html"
    TOOLBAR="true"
    TOOLBAR.FLOAT="true"
    TOOLBAR.ALIGN="east"
    >
    Matthieu

  • I am trying to use an education program that needs Java applets to install and use and it will not use Safari. When I download IE from the web it will not install. How can I get a browser that will work on my MacAir for travel use of this program?

    I am trying to use and education program that needs Java applets and it will not run on Safari. IE will not install from the web. How do I get a browser that will work to install so I can use this program when I travel.

    Try using FireFox. IE will only run on a Mac if you run Windows on the Mac.
    Windows on Intel Macs
    There are presently several alternatives for running Windows on Intel Macs.
    Install the Apple Boot Camp software.  Purchase Windows 7 or Windows 8.  Follow instructions in the Boot Camp documentation on installation of Boot Camp, creating Driver CD, and installing Windows.  Boot Camp enables you to boot the computer into OS X or Windows.
    Parallels Desktop for Mac and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  Parallels is software virtualization that enables running Windows concurrently with OS X.
    VM Fusion and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  VM Fusion is software virtualization that enables running Windows concurrently with OS X.
    CrossOver which enables running many Windows applications without having to install Windows.  The Windows applications can run concurrently with OS X.
    VirtualBox is a new Open Source freeware virtual machine such as VM Fusion and Parallels that was developed by Solaris.  It is not as fully developed for the Mac as Parallels and VM Fusion.
    Note that Parallels and VM Fusion can also run other operating systems such as Linux, Unix, OS/2, Solaris, etc.  There are performance differences between dual-boot systems and virtualization.  The latter tend to be a little slower (not much) and do not provide the video performance of the dual-boot system. See MacTech.com's Virtualization Benchmarking for comparisons of Boot Camp, Parallels, and VM Fusion. A more recent comparison of Parallels, VM Fusion, and Virtual Box is found at Virtualization Benchmarks- Parallels 10 vs. Fusion 7 vs. VirtualBox. Boot Camp is only available with Leopard and later. Except for Crossover and a couple of similar alternatives like DarWine you must have a valid installer disc for Windows.
    You must also have an internal optical drive for installing Windows. Windows cannot be installed from an external optical drive.

  • How can you get an applet to obey the CSS z-index attribute?

    How can you get an applet to obey the CSS z-index attribute?
    I have a DHMTL page with a panel that I want to slide back and forth. But another part of the requirement is to have the panel look like it is sliding under another panel.
    The problem is that an applet is on the panel that slides. When the sliding panel move under the stationary panel the applet does not go under the stationary panel, but the reset of the sliding panel does render looking like it is sliding under.
    See below.
    - ~~~~~~~~~~~~~~~~~~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~           #############***************           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #############^**************           ^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~~~~~~~~~~~~~~~~~~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -
    ~ has a z-index of 1
    # and * have a z-index 2
    # shows above ~ and below ^
    ^ has a z-index of 3What I am getting with the applet on the panel with a z-index of 2 is the following
    - ~~~~~~~~~~~~~~~~~~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~           #############***************           ^ -
    - ~           #            ^             *           ^ -
    - ~           #  @@@@@@@@@@@@@@@@@@@@    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @@@@@@@@@@@@@@@@@@@@    *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #############^**************           ^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~~~~~~~~~~~~~~~~~~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -
    --------------------------------------------------------Where @ is the applet. Notice how the applet is on top of the ^ but the panel under it, ^, is under like it should be. All the panels are 1x1 tables with a border. So how can I get the applet on the drawing shown with # and * to follow the rendering of the z-index of 2?

    Hi,
    I have the same problem, and don't know how to solve it, So, i had tried to put my applet in a div tag wih z-index=0, but it still hide my other Dhtml divs with bigger Z-index (z-index =1000)
    Have you any idea to solve this.
    Thanks
    Hakim

  • How can i get & use java true type fonts in my applet

    Hi,
    I could get the System fonts in my Applet by making use of Toolkit.getFontList()
    I have used getGraphicsEnvironment to get fonts but my browser doesn't support it.I get ClassNotFoundException.
    How can I get & make use True Type Fonts in my Java Applet.
    Regards
    Siva

    To use getGraphicsEnvironment, you must convert your HTML with the HTMLConverter -- this will tell the browser not to use the native JVM to run your applet but to use a Java plugin to run the applet. If you cannot find HTMLConverter in your system, you may have to download it from Sun's web site.
    V.V.

  • How do I get Java Applets working on FF4 Mac?

    My website's photo upload applet uses Java to upload, and ever since FF4 beta releases, all the way up to the final, I get a missing plugin error. This error is ONLY on FF, it works on chrome and safari.
    Screenshot:
    http://img23.imageshack.us/i/javad.png/
    Clicking manual install goes to:
    http://www.oracle.com/technetwork/java/javase/download-138376.html
    So in other words, the manual install is pointless.
    How can I get these applets working?

    PS. I'm downgrading till this is fixed. FF4 is useless to me without this ability. I always liked FF for the better upload ability over Safari and Chrome, so I'd love to be able to use it. :-)

  • How can I get the ip addres of computers that log into my Applet?

    How can I get the ip addres of computers that log into my Applet?
    Thanks
    REuven

    Try using method getAddress of class InetAddress.

  • 3.2.2;Applet; HOW DO I GET SOME HELP!!!!!!!!!!!!!

    I have posted a question on this forum for several days and I have gotten only 1 minor response. How do I get help about a problem. It is very frustrating to keep posting the same item several days in a row and get NO RESPONSE. See 3.2.2;Applet;Stack Overflow problem - reference the item with ZERO REPSONSES!

    I've fixed the problem. It appears one of the links was corrupted or partially wipped out by me. Not sure how, but it now works. Just can't understand how it can work with a bad link in the IDE, but not through the browser.

  • How do I get image dimensions outside of Form/Applet ?

    I need to get the dimensions of an image but I am not in a form or an applet so I cannot use that as an ImageObserver. How can I get a default ImageObserver?

    Just send it null.
    int width = image.getWidth(null);If you aren't using an ImageObserver, or if your applet doesn't override the imageUpdate method, then you don't need to bother with the ImageObserver parameter. The ImageObserver only comes in to play when you call getWidth on an Image that is in the process of being constructed, and still has a width of -1. In that case, then the ImageObserver's imageUpdate method gets fired after the Image is created.

  • How do I get Lightroom to find photos on a USB Drive when the Drive letter changes?

    THis is probably a simple question but I keep getting stuck.  I ha
    ve my catalog and some images on my laptop hard drive, but the majority are on
    an external USB drive.  Sometoimes the drive gets assigned
    E:, F;, or G:, and when it cahnges, the catalog says the phots are missing.  How do I get
    Lightroom to find the photos again?
    Tom Barnwell

    The quick fix is to click on the folder containing the missing files and choose "update Folder Location" then find the folder on the USB drive. The longer term and fix you should apply is to set Windows to always give the USB the same drive letter. You can do this through the XP Disk Management application in Computer Management (Control Panel applet). The following screenshot is for XP, but Vista and Win 7 will something similar which can be accessed via Administrative Tools (see second screenshot).

  • How can I get Shake to show up in Launchpad?

    I have Shake 4.1 installed on my Mid-2009 MBP, and I have Lion installed. (just to head off all the nonsensical responses- yes, Shake is installed and is working perfectly, never mind how it's still there after the Lion upgrade). Anyway, the shkqtv and shkv flipbook apps show up just fine in Launchpad, yet the Shake app itself isn't on any of my Launchpad pages. How can I get the Shake app to join its compatriots in Launchpad? I've tried the Launchpad-Control applet for the Sysprefs pane, but Shake doesn't show up there, either. Thanks in advance for your help!

    I have the same problem.  Does anyone have an answer?

  • How can I Fill up the applet form from VB code?

    Hi,
    I urgently required help in this issue.
    Please check the below URL :
    http://java.sun.com/applets/jdk/1.4/demo/applets/ArcTest/example1.html
    this is the sample i found on the java example page.
    What I want to do is?
    I want to opened that page in IE from VB. I did it by below code.
    Public WithEvents IE As SHDocVw.InternetExplorer
    Public WithEvents HtmDoc As HTMLDocument
    Private Sub CreateIE()
    Set IE = CreateObject("InternetExplorer.Application")
    IE.Visible = 1
    End Sub
    Private Sub IE_DocumentComplete(ByVal pDisp As Object, URL As Variant)
    Set HtmDoc = IE.document
    End Sub
    Private Sub Navigate(URL)
    IE.Navigate URL
    End Sub
    Private Sub Command1_Click()
    CreateIE
    Navigate "http://java.sun.com/applets/jdk/1.4/demo/applets/ArcTest/example1.html"
    Call SetDocument
    End Sub
    Private Sub SetDocument()
    Set HtmDoc = IE.document
    For i = 0 To HtmDoc.getElementsByTagName("a").length
    List1.AddItem HtmDoc.All(i)
    Next i
    End Sub
    I just want to set the value of that two text box and then I want to click on that button.
    Is there any way that i can do it by getting the java applet content or by some another way?
    I downloaded the Java Activex Bridge. but i didn't found any solutions. I couden't understand that how can I use it.
    Please reply me as soon as possible as I am stuck on it. If possible send me sample project in VB 6.0 also for the same.
    Edited by: Sanket Shah on Feb 25, 2010 2:41 AM
    Edited by: SanketShah on Feb 25, 2010 2:43 AM
    Edited by: SanketShah on Feb 25, 2010 2:44 AM

    I'm certain that VB forums exist. I'm fairly certain that Microsoft would support them, so that's where I would look.
    But I would bet a fair amount of money that they'll tell you "That's a Java problem, ask on a Java forum". Let me just say that you can interface with an applet via Javascript (I haven't done it myself but you could look it up). Then your problem becomes how to execute Javascript from your VB code. That's probably askable on the VB forum.

Maybe you are looking for

  • How can I hide the extension in multiple pdf files?

    I make a lot of PDF files and would like to know if there is a way to hide the extensions without using the 'Finder - Preferences - Advanced'  tick box method. It is very time-consuming doing this for every file.

  • How to call DLL in BSP

    hi, 1. Can anyone suggest me how to call a dll in a bsp. if you can help me with a sample code it'll be helpful. 2. Is it possible to call VBScript in BSP Thnx in Advance Vinodh

  • Condition Records For Tax Condition types for SAP 4.7

    Dear Experts, What is the procedure to maintain condition records for tax condition types like CST , VAT and Service Tax. We are not using CIN. In MM01 and XD02 tax classifications i have maintained UTXJ condition Type and also maintained the above m

  • Spacing of Spry Menu submenu items, and inserting background images

    Hiya, need a bit of help, could someone possibly guide me with this? I've created a Spry Menu in DW CS5 - so far, so good.. However I'm pretty new to CSS Styles so need pointers at what to change to get the result I need. I've created the spry menu,

  • Architectural Layout Templates ?

    Hi, I have a presentation in a few days that I need to present 2 different design ideas ( tents basically ) I'm looking for any inspiration or InDesign templates to help me with the layout. 90% of the page will be of graphics, so text is minimal, but