×

Loading...

Topic

This topic has been archived. It cannot be replied.
  • 工作学习 / IT技术讨论 / A question about petstore1.1.1
    I install the petstore step by step according the installation instruction. Everything is OK before the last step. When I deploy the application, there has problem during the process.
    ...
    Compling RMI-IIOP code...
    Making client JARs...
    Making server JARS...

    Then the error occured. The information is:
    There was a deployment error.java.rmi.ServerException:RemoteException occured in server thread; nested exception is:
    java.rmi.RemoteException:Error while loading JAR D:\j2sdkee1.2.1\repository\java\application\peststore982722929617Server.jar
    javax.naming.invalidNameException:JNDI name 'jdbc/EstoreDB' for resource reference 'jdbc/EstoreDataSource' is not valid

    Thanks for reply
    • Your DB is not up. So in that servlet, JNDI cannot find DB.
      • Thank you. I deleted a space in default.properties file, then everything is OK.
        • This should be a good topic to talk in your job interview. Good luck