java.lang.reflect.InvocationTargetException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check if your MongoDB is available.


rprp

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • OC4J in 10G Enterprise Edition
    via by 431101,
  • Standalone OC4J won't start
    via by 355999,
  • oc4j error Help me!!
    via by 428557,
  • EJB Client connection to OC4J
    via by 420623,
    • java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source) at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source) at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source) at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source) Caused by: com.evermind.client.orion.AdminCommandException: Could not connect to the remote server. Please check if the servelp' in OC4J instance 'OC4J_Portal' r is down or the client is using invalid host, ORMI port or password to connect: Connection refused at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:115) ... 7 more Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:452) at java.net.Socket.connect(Socket.java:402) at java.net.Socket.<init>(Socket.java:309) at java.net.Socket.<init>(Socket.java:153) at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2346) at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1800) at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:725) at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:149) at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:106) ... 7 more

    Users with the same issue

    linxiaolonglinxiaolong
    377 times, last one,
    HandemelindoHandemelindo
    1 times, last one,
    poroszdporoszd
    5 times, last one,
    stigkjstigkj
    4 times, last one,
    michallosmichallos
    1 times, last one,
    820 more bugmates