Help in running the sample code given in site.

Hi all,
I am new to RMI.I followed each line of the doc given and was able to successfully compile the files..
I started the rmiregistry in the folder where my code was present...
in my hostname field i gave localhost and the one given in the documentation.
i got this stacktrace...
ComputeEngine exception:
java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
     java.net.SocketTimeoutException: Read timed out
     at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:274)
     at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
     at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
     at engine.ComputeEngine.main(ComputeEngine.java:32)
Caused by: java.net.SocketTimeoutException: Read timed out
     at java.net.SocketInputStream.socketRead0(Native Method)
     at java.net.SocketInputStream.read(SocketInputStream.java:129)
     at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
     at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
     at java.io.DataInputStream.readByte(DataInputStream.java:241)
     at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:215)
Any idea why this is happening...Any remedies?
am in urgent need of a remedy..
if someone can give it i would be happy...

Hello!
I also encountered that exception on my RMI application.
Have you figured out the cause of problem for that exception? What did you do to solve it? Hope you can reply.
Thanks!

Similar Messages

  • Error while running the Sample code

    Hi,
    I am using jdeveloper 10.3 and I was trying to run the sample application that is present in the following url. I didnt change any thing in the code.
    http://www.oracle.com/technology/sample_code/products/jdev/readmes/samples/ldapdatacontrol/ldapapplication/public_html/index.html
    But While running the Test.java I get the following error. Is there any one who can help me in this please?
    javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Please enter more characters]; remaining name 'dc=yourcompany,dc=users'
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3058)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2931)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2737)
    at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1808)
    at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1731)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:321)
    at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248)
    at dc.ldap.model.LDAPSearch.executeSearch(LDAPSearch.java:55)
    at dc.ldap.runtime.Test.main(Test.java:19)
    Exception in thread "main" java.lang.NullPointerException
    Thanks,
    Haripriya.S

    Probably you'll get more answers when you post this kinda questions in the JDev forum.

  • How to run the sample code using the sdk?

    Hi,
    I want to run the jsp code from the enterprize sdk available in the sdn community. Can any one tell me how to execute these jsp sample codes and what is the pre-requisite regarding the set up.
    I already have the deployment ready.
    thanks
    AMar

    Hi Amar,
    To execute samples code, it is same what is required for normal J2EE application.
    Make sure add all the jars to your web application.
    These jars can be found on your BO server installation if windows.
    For BOE XI 3.x
    C:\Program Files\Business Objects\common\4.0\java\lib
    C:\Program Files\Business Objects\common\4.0\java\lib\external
    For BOE XI R2
    C:\Program Files\Business Objects\common\3.5\java\lib
    C:\Program Files\Business Objects\common\3.5\java\lib\external
    Thanks,
    Praveen.

  • Exception in running the sample code for XA

    Hi,
    I'm trying out sample code for XA with Two-phase commit operation - X4.java provided in "Oracle8i JDBC Developer's Guide and Reference"
    http://technet.oracle.com/docs/products/oracle8i/doc_library/817_doc/java.817/a83724/samapp9.htm#1012235
    I'm getting the following exception.
    java.sql.SQLException: ORA-06550: line 1, column 13:
    PLS-00201: identifier 'JAVA_XA.XA_START' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:822)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1446)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1371)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1900)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:363)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:407)
         at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:156)
         at orajta.XA4.main(XA4.java:126)
    oracle.jdbc.xa.OracleXAException
         at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:498)
         at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:190)
         at orajta.XA4.main(XA4.java:126)
    What's the reason for the above exception and can someone help me with a possible fix for the same? Your help is greatly appreciated.
    Thanks,
    Haja

    Hi,
    I dont have access to a 8i db, but i ran the sample between two oracle9i db and it ran successfully.
    Regards
    Elango.

  • Error trying to run the Sample Code Virtual Private Database using JSP's

    Hi.
    I`ve downloaded the Virtual Private Database using JSP's example from the Oracle9iAS Security - Sample Corner (http://otn.oracle.com/sample_code/deploy/security/9i_security.html)
    I ran the SQL script just fine. I�ve Opened the JDeveloper Flile (security.jws) and tried to Make it (following step 2 on "Run the Application using JDeveloper Environmentinstructions" in the README ) but i get this error:
    Error: unable to copy to output directory, web.xml not found
    It seems that i need the web.xml to run this application, but in the zip file i cannot find any XML file.
    What can i do?.
    Thanks in advance for your help

    Hi,
    the problem seems not to be within your application but in missing files on your embedded OC4J. Just try and unzip the JDeveloper 10.1.3 install again.
    Frank

  • I am new to java card . I am running the Sample Example given and some.....

    I am using the ACR 38 Smart card System
    I am running the applet file of ACOS 3
    in the First button
    ACCOUNT :
    what to enter in the Credit,Debit,Certify,Revoke text fields and while clicking those buttons in bottom ,it just focusing on the particular text field is this the case
    CREATE FILES:
    Why the drop down list of Select Reader is activating after clicking intialize button .How to create files

    Hey Carolyn1951,
    Thanks for the question. I understand you have a few apps that only display "Waiting". The following is a past discussion that dealt with a similar issue, the answer may help you as well:
    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,
    Matt M.

  • Help needed in running the HTML code

    <html>
    <head>
    <script language="LiveScript">
    function WinOpen() {
    msg=open("","DisplayWindow","toolbar=no,directories=no,menubar=no");
    msg.document.write("<HEAD><TITLE>Yo!</TITLE></HEAD>");
    msg.document.write("<CENTER><h1><B>This is really cool!</B></h1></CENTER>");
    msg.document.write("<body>Hi</body>");
    </script>
    </head>
    <body>
    <form>
    <input type="button" name="Button1" value="Push me" onclick="WinOpen()">
    </form>
    </body>
    </html>
    whenever i save the abouve code in .htm extension and try to run it, I am able to run it sucessfully.
    But whenever I run the below code by saving it as .htm extension then its not running sucessfully:
    <html>
    <head>
    <script language="LiveScript">
    function WinOpen() {
    msg=open("","DisplayWindow","toolbar=no,directories=no,menubar=no");
    msg.document.write("<HEAD><TITLE>Yo!</TITLE></HEAD>");
    msg.document.write("<CENTER><h1><B>This is really cool!</B></h1></CENTER>");
    msg.document.write("<body><form>
    <TABLE cellSpacing=1 cellPadding=1 width="75%" bgColor=silver border=1>
    <TR>
    <TD><STRONG>Enter Numeric Value *:</STRONG> </TD>
    <TD><INPUT name="tbAlphaNumeric" CatsType="NUMERIC" label="Alphanumeric" Mandatory="YES"> </TD>
    </TR>
    </TABLE>
    </form></body>");
    </script>
    </head>
    <body>
    <form>
    <input type="button" name="Button1" value="Push me" onclick="WinOpen()">
    </form>
    </body>
    </html>
    Here I want to display text box in a new fresh field...
    Thanks in advance:)

    Hi,
    The code did work. But I am not sucessfully able to display the values entered in 2nd page in the 3rd page.Please find the code below:
    <html>
    <head>
    <script language="LiveScript">
    function WinOpen() {
    if (document.form1.cap.value == "")
    alert("Enter value in text box");
    return;
    msg=open("","DisplayWindow","toolbar=no,directories=no,menubar=no, scrollbars=yes");
    msg.document.write("<HTML><HEAD><TITLE>Yo!</TITLE></HEAD>");
    msg.document.write("<CENTER><h1><B>This is really cool!</B></h1></CENTER>");
    msg.document.write('<BODY><form name="form2">');
    for(var i =0; i < document.form1.cap.value; i++)
    msg.document.write("<INPUT type=text name=tbAlphaNumeric>");
    msg.document.write("<br>");
    msg.document.write('<input type="button" name="Button2" value="Steal" onClick="javascript:window.opener.WinShow();">');
    msg.document.write('</form></BODY></HTML>');
    function WinShow() {
    msg=open("","DisplayWindow","toolbar=no,directories=no,menubar=no, scrollbars=yes");
    msg.document.write("<HTML><HEAD><TITLE>Great!</TITLE></HEAD>");
    msg.document.write("<CENTER><h1><B>Display of second page text elements!</B></h1></CENTER>");
    msg.document.write('<BODY><form name="form3">');
    for(var j =0; j < document.form1.cap.value; j++)
    msg.document.write(document.form2.tbAlphaNumeric[j].value);
    msg.document.write("<br>");
    msg.document.write('</form></BODY></HTML>');
    </script>
    </head>
    <body>
    <form name="form1">
    <INPUT type= "text" name=cap>
    <input type="button" name="Button1" value="Push me" onClick="WinOpen()">
    </form>
    </body>
    </html>

  • HELP!how to show lines in the sample code 'docsig'

    I want to show my handwritten in the pdf and my code is based on the sample code 'docsig',
    can anyone read the following code, and tell me the reason why it not show the line. Thanks!
    //from the project 'docsig' in the acrobat sdk 9.0 sample code
    CosObj DSHandler::CreateN2XObject( CosDoc cosDoc, const CosObj sigField, const CosObj sigAnnot, const ASFixedRect* const pBBoxRec )
    //Define a stream to draw a line
    char buf [500];
    sprintf(buf,"150 250 m 150 350 l S");
    //Get the stream length
    ASUns32 streamLength = (ASUns32)strlen(buf);
    //Create a CosObj object that represents the stream length
    CosObj LengthEntry = CosNewInteger(cosDoc, false,streamLength);
    //Create a CosObj that represents a stream dictionary
    //and sets its key-value pairs
    CosObj AttrDict = CosNewDict(cosDoc, false, 5);
    char *Length_KStr = "Length";
    CosDictPutKeyString(AttrDict, Length_KStr, LengthEntry);
                    CosObj  cosStm =  CosNewStream64(
                                   cosDoc,                                                  // cos document to use the newly created stream
                                    true ,                                                                      // cos stream is indirect object?
                                   0,                                                    // input stream
                                   0,                                                                                             // start reading from stream position
                                    false ,                                                    // stream is decoded?
                                   AttrDict,                                                // attributes dictionary
                                    CosNewNull(),      // encode params
                                   -1,                                                                                           // decode length
                                    false                                                                       // allowing delayed reading of input stream
        return cosStm;
    Why I just get a blank signature ? It should draw a line, but not showed in the pdf file.

    you need to change the following piece of code
    case 10:   // * pressed
    case 11:   // # pressed
    clearText = true;
    if (first) // first operand
    if(lcdField.getText().length()==0)
    result = 0.0;
    else
    result = Double.parseDouble(lcdField.getText());
    first = false;
    prevOperator = i;
    else //second operand already entered, so calculate total
    switch(prevOperator)
    case 10: //divide button
    result /= Double.parseDouble(lcdField.getText());
    break;
    case 11: //multiply button
    result *= Double.parseDouble(lcdField.getText());
    break;
    lcdField.setText(Double.toString(result));
    if(i==14) //equal button
    first = true;
    else
    prevOperator = i; //save last operator
    break;
    }its gets excuted when you press the * or # buuton

  • Error while running a sample code

    Hello,
    I 'm getting the following error while i'm trying to run a
    sample code which I have imported into Flex 3.
    ===================================================================
    Severity and Description Path Resource Location Creation Time
    Id
    unable to open 'C:\Documents and Settings\sn55179\My
    Documents\Flex Builder
    3\FlexForDummies_Chapter3_Code\libs'FlexForDummies_Chapter3_Code
    Unknown 1237909480511 215
    ===================================================================
    Can anyone help me in resolving this issue.
    Many thanks in advance.

    It's very frustrating that FB stops working when the libs
    folder is missing. If you are checking in project files to a source
    control app like Perforce, empty folders don't get added, so if you
    don't add an initial dummy file, the next time you do a clean sync,
    the libs folder may not be there, and even though there is nothing
    there, FB complains. :-(

  • When i try to open photoshop this shows up Please uninstall and reinstall the product.  If this problem still occurs, please contact Adobe technical support for help, and mention the error code shown at the bottom of this screen.  Error: 16

    i had to take my photoshop file into a hardrive because my dad was going to give me a new Mac and when things didn't work out and went back to my old one i use the time capsule thing to save everything before but didn't give me photoshop so i physically moved the file and tried to open it but then this error shows up
    Please uninstall and reinstall the product.
    If this problem still occurs, please contact Adobe technical support for help, and mention the error code shown at the bottom of this screen.
    Error: 16
    and when i click the uninstall app on the file it tells me this
    The alias “Uninstall Adobe Photoshop CS6 2” can’t be opened because the original item can’t be found
    and when i click fix alias i click on photoshop and the app just turns into photoshop and i just run in circles
    please help thank you

    Run the cleaner tool and reinstall.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Download CS6 products
    Mylenium

  • Where can I get the sample code of gantt chart?

    hi, all
    I want to use gantt chart component.I find this video http://download.oracle.com/otn_hosted_doc/jdeveloper/11/demos/DVT_Gantt_Chart/ADFDVTGanttChartDemo.html.
    where can I get the sample code in this video?
    I have got the demo <strong>dvt-faces-demo.ear</strong>.but in this demo, the code of events process is too simple.I want more detail code of date change, denpendency change and so on.
    this is my mail [email protected]
    Thanks
    Best Regards
    kenshin
    Edited by: Himura Kenshin on 2010-8-20 上午4:57
    Edited by: Himura Kenshin on 2010-8-20 上午9:03

    Hi Katia,
    Essentially the same sample app which was referenced above (http://download.oracle.com/otn_hosted_doc/jdeveloper/11/demos/DVT_Gantt_Chart/ADFDVTGanttChartDemo.html). There are many features implemented in this sample which I'll be "reinventing the wheel" with. Its been a bit since I worked with the gantt component as I had to abandon for other development but will be getting back into it here shortly.
    Namely as I remember, I had difficult time getting the gantt to load quickly with large amount of tasks, difficulty getting the selected item when using context menus or buttons defined within the control, and a few other minor issues which could be fixed as I was using the first release of 11g and cannot remember specifics. I'll let you know as I get back into it if I see similar problems.
    For example, if you go to the ADF Demo Site (http://jdevadf.oracle.com/adf-richclient-demo/faces/feature/index.jspx) and click on "Project Gantt Custom Menu and Toolbar - add menus and buttons on the Project Gantt Menu and Toolbar". The buttons work, however if you first select a row in the left and then click the button, you have to click twice for it to work (in my findings the action listener never "fires"). So in my case I want to select a row and then have a custom event for that selected row when I click the button. There were other similar findings I had when I tried to go off of the examples.
    Hope this helps.
    Thank you,
    Kris

  • Running the same code multiple times with different paramters automatica​lly

    Hi guys,
    I want to run the same code multiple times with different paramters automatically. Actually, I am doing some sample scans which takes around 2 hours n then I have to be there to change the paramters and run it again. Mostly I do use folowing paramters only
    X_Intial, X_Final, X-StepSize
    Y_Intial, Y_Final, Y-StepSize
       Thanks,
    Dushyant

    All you have to di is put all of the parameters for each run into a cluster array. Surround your main program with a for loop and wire the cluster array through the for loop. A for loop will autoindex an input array so inside the for loop you just have to unbundle the cluster to get the parameters for each run.
    Message Edited by Dennis Knutson on 07-13-2006 07:50 AM
    Attachments:
    Cluster Array.JPG ‏9 KB

  • Error when run the compiled code

    I have code below,
    import java.sql.*;
    public class testmysql{
         public static void main(String args[]){
              Connection conn = null;
    try{
    String userName = "root";
    String password = "password";
    String url = "jdbc:mysql://localhost:3307/ectol_db";
    Class.forName ("com.mysql.jdbc.Driver").newInstance ();
    conn = DriverManager.getConnection (url, userName, password);
    System.out.println ("Database connection established");
    }catch (Exception e) {
              e.printStackTrace();
    System.err.println ("Cannot connect to database server");
    }finally{
    if (conn != null){
    try{
    conn.close ();
    System.out.println ("Database connection terminated");
    }catch (Exception e) {
         e.printStackTrace();
         /* ignore close errors */
    and i have the mysql-connector-5.0.6.jar
    I able to compile code with javac testmysql.java command
    However, when i try to run the code with java testmysql command, it prompt me error below
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at testmysql.main(testmysql.java:11)
    Cannot connect to database server
    Anyone can help?

    ccwoon80 wrote:
    Actually, the jar and class file was in the same path...
    Thus, what the correct command i need to run the my code?Then your classpath would be .;mysql.jar (or whatever the heck the name of the connector was).
    So java -cp .;mysql.jar foo.bar.MyClass

  • When I ran the sample code(WebLogicContextExample.java)

    Hi:
    when I ran the sample code(c:\weblogic\examples\jndi\WebLogicContextExample.java) occuring some errors.
    Any Body can help me. Thx a lot!
    Anny Chen
    Here's error message:
    C:\weblogic>java examples.jndi.WebLogicContextExample
    WebGain Java! JustInTime Compiler Version 4.00.002(x) for JDK 1.2
    Copyright (C) 2000 WebGain, Inc.
    null
    java.lang.NoSuchMethodError: java.lang.NoSuchMethodException: getNameInNamespace
    at weblogic.jndi.toolkit.BasicWLContext_WLStub.ensureInitialized(BasicWL
    Context_WLStub.java:127)
    at weblogic.jndi.toolkit.BasicWLContext_WLStub.<init>(BasicWLContext_WLS
    tub.java:146)
    at java.lang.reflect.Constructor.newInstance(Native Method)
    at weblogic.common.internal.ClassTableEntry.newInstance(ClassTableEntry.
    java:86)
    at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjec
    tInputStreamBase.java:248)
    at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObj
    ectInputStreamBase.java:202)
    at weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectI
    nputStreamBase.java:949)
    at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjec
    tInputStreamBase.java:308)
    at weblogic.jndi.toolkit.WLContextStub.readExternal(WLContextStub.java:7
    9)
    at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializab
    le(WLObjectInputStreamBase.java:269)
    at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjec
    tInputStreamBase.java:254)
    at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObj
    ectInputStreamBase.java:202)
    at weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectI
    nputStreamBase.java:949)
    at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjec
    tInputStreamBase.java:308)
    at weblogic.rmi.extensions.AbstractInputStream2.readObject(AbstractInput
    Stream2.java:25)
    at weblogic.jndi.internal.RemoteContextFactoryImpl_WLStub.getContext(Rem
    oteContextFactoryImpl_WLStub.java:99)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInit
    ialContextFactoryDelegate.java:316)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialCon
    textFactoryDelegate.java:242)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java, Compiled Code)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java:148)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
    extFactory.java:123)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:7
    71)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:169
    at javax.naming.InitialContext.<init>(InitialContext.java:146)
    at examples.jndi.WebLogicContextExample.main(WebLogicContextExample.java
    :107)
    Initial context created
    Subcontext 'example' created
    Bound 'Example String created at 2000/1/3 &#19979;&#21320; 05:48:18' to 'example.one' for th
    e first time.
    Example finished successfully.

    This is very likely a CLASSPATH issue. Make sure weblogicaux.jar is
    at the head of your CLASSPATH.
    Mike
    "pamal" <[email protected]> wrote in message
    news:[email protected]...
    I just installed 5.1 with sp2 and have the same problem. Anyone know
    about this one?
    Anny Chen wrote:
    Hi:
    when I ran the sample
    code(c:\weblogic\examples\jndi\WebLogicContextExample.java) occuring some
    errors.
    Any Body can help me. Thx a lot!
    Anny Chen
    Here's error message:
    C:\weblogic>java examples.jndi.WebLogicContextExample
    WebGain Java! JustInTime Compiler Version 4.00.002(x) for JDK 1.2
    Copyright (C) 2000 WebGain, Inc.
    null
    java.lang.NoSuchMethodError: java.lang.NoSuchMethodException:getNameInNamespace
    >>
    atweblogic.jndi.toolkit.BasicWLContext_WLStub.ensureInitialized(BasicWL
    Context_WLStub.java:127)
    atweblogic.jndi.toolkit.BasicWLContext_WLStub.<init>(BasicWLContext_WLS
    tub.java:146)
    at java.lang.reflect.Constructor.newInstance(Native Method)
    atweblogic.common.internal.ClassTableEntry.newInstance(ClassTableEntry.
    java:86)
    atweblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjec
    tInputStreamBase.java:248)
    atweblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObj
    ectInputStreamBase.java:202)
    atweblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectI
    nputStreamBase.java:949)
    atweblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjec
    tInputStreamBase.java:308)
    atweblogic.jndi.toolkit.WLContextStub.readExternal(WLContextStub.java:7
    9)
    atweblogic.common.internal.WLObjectInputStreamBase.readPublicSerializab
    le(WLObjectInputStreamBase.java:269)
    atweblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjec
    tInputStreamBase.java:254)
    atweblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObj
    ectInputStreamBase.java:202)
    atweblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectI
    nputStreamBase.java:949)
    atweblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjec
    tInputStreamBase.java:308)
    atweblogic.rmi.extensions.AbstractInputStream2.readObject(AbstractInput
    Stream2.java:25)
    atweblogic.jndi.internal.RemoteContextFactoryImpl_WLStub.getContext(Rem
    oteContextFactoryImpl_WLStub.java:99)
    atweblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInit
    ialContextFactoryDelegate.java:316)
    atweblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialCon
    textFactoryDelegate.java:242)
    atweblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java, Compiled Code)
    atweblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java:148)
    atweblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
    extFactory.java:123)
    atjavax.naming.spi.NamingManager.getInitialContext(NamingManager.java:7
    71)
    atjavax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:169
    at javax.naming.InitialContext.<init>(InitialContext.java:146)
    atexamples.jndi.WebLogicContextExample.main(WebLogicContextExample.java
    :107)
    Initial context created
    Subcontext 'example' created
    Bound 'Example String created at 2000/1/3 &#19979;&#21320; 05:48:18' to'example.one' for th
    e first time.
    Example finished successfully.

  • Problem running the sample adf demo

    Hi,
    I'm a new user of JDeveloper and trying to use ADF Faces.
    I followed the instructions to setup ADF faces in JDeveloper.
    While trying to run the sample demo provided(adffacesdemo), I get the following error messages
    Error: "http://java.sun.com/jsf/core" is not a registered TLD namespace.
    Error: Unable to load taghandler class: http://java.sun.com/jsf/core
    Error: "http://xmlns.oracle.com/adf/faces/EA14/html" is not a registered TLD namespace.
    and many more errors of this sort.
    Now I have managed to succesfully run JSF applications in JDeveloper without using ADF faces. No problems with that.
    I have no clue as to why these errors are coming.
    Any help is appreciated.
    thanks,
    Rashmi

    Hi,
    I'm a new user of JDeveloper and trying to use ADF Faces.
    I followed the instructions to setup ADF faces in JDeveloper.
    While trying to run the sample demo provided(adffacesdemo), I get the following error messages
    Error: "http://java.sun.com/jsf/core" is not a registered TLD namespace.
    Error: Unable to load taghandler class: http://java.sun.com/jsf/core
    Error: "http://xmlns.oracle.com/adf/faces/EA14/html" is not a registered TLD namespace.
    and many more errors of this sort.
    Now I have managed to succesfully run JSF applications in JDeveloper without using ADF faces. No problems with that.
    I have no clue as to why these errors are coming.
    Any help is appreciated.
    thanks,
    Rashmi

Maybe you are looking for