This discussion is archived
3 Replies Latest reply: Oct 22, 2013 5:07 AM by 333 RSS

Getting below error when running initialize_Services.bat

333 Newbie
Currently Being Moderated

Oct 4, 2013 11:04:00 AM com.endeca.soleng.eac.toolkit.Controller setUpBeanShellInterpreters

CONFIG: Loading beanshell.imports from /home/atgint/Endeca/endeca/Apps/CRS/config/script/beanshell.imports

Oct 4, 2013 11:04:01 AM com.endeca.soleng.eac.toolkit.script.Script runBeanShellScript

SEVERE: Caught exception while querying for defined application list.

Occurred while executing line 18 of valid BeanShell script:

[[

 

15|     

16|      // If the application is already defined

17|      // log an error and exit with code 1

18|      if (app.isDefined()) {

19|        log.severe("An application already exists with the name, \"" + provObj.getAppName() + "\". " +

20|                  "Please use the '--force' option if you want to replace all existing configuration.");

21|        System.exit(1);

 

]]

 

Oct 4, 2013 11:04:01 AM com.endeca.soleng.eac.toolkit.Controller execute

SEVERE: Caught an exception while invoking method 'run' on object 'AssertNotDefined'. Releasing locks.

java.lang.reflect.InvocationTargetException

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at com.endeca.soleng.eac.toolkit.Controller.invokeRequestedMethod(Controller.java:917)

    at com.endeca.soleng.eac.toolkit.Controller.execute(Controller.java:255)

    at com.endeca.soleng.eac.toolkit.Controller.main(Controller.java:134)

Caused by: com.endeca.soleng.eac.toolkit.exception.AppControlException: Error executing valid BeanShell script.

    at com.endeca.soleng.eac.toolkit.script.Script.runBeanShellScript(Script.java:179)

    at com.endeca.soleng.eac.toolkit.script.Script.run(Script.java:127)

    ... 7 more

Caused by: com.endeca.soleng.eac.toolkit.exception.EacCommunicationException: Caught exception while querying for defined application list.

    at com.endeca.soleng.eac.toolkit.application.Application.isDefined(Application.java:102)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at bsh.Reflect.invokeMethod(Unknown Source)

    at bsh.Reflect.invokeObjectMethod(Unknown Source)

    at bsh.Name.invokeMethod(Unknown Source)

    at bsh.BSHMethodInvocation.eval(Unknown Source)

    at bsh.BSHPrimaryExpression.eval(Unknown Source)

    at bsh.BSHPrimaryExpression.eval(Unknown Source)

    at bsh.BSHIfStatement.evaluateCondition(Unknown Source)

    at bsh.BSHIfStatement.eval(Unknown Source)

    at bsh.Interpreter.eval(Unknown Source)

    at bsh.Interpreter.eval(Unknown Source)

    at bsh.Interpreter.eval(Unknown Source)

    at com.endeca.soleng.eac.toolkit.script.Script.runBeanShellScript(Script.java:165)

    ... 8 more

Caused by: java.net.ConnectException: Connection refused

    at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)

    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)

    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)

    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)

    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)

    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)

    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)

    at org.apache.axis.client.Call.invoke(Call.java:2767)

    at org.apache.axis.client.Call.invoke(Call.java:2443)

    at org.apache.axis.client.Call.invoke(Call.java:2366)

    at org.apache.axis.client.Call.invoke(Call.java:1812)

    at com.endeca.eac.client.ProvisioningPortSOAPBindingStub.listApplicationIDs(ProvisioningPortSOAPBindingStub.java:981)

    at com.endeca.soleng.eac.toolkit.application.Application.isDefined(Application.java:98)

    ... 24 more

Caused by: java.net.ConnectException: Connection refused

    at java.net.PlainSocketImpl.socketConnect(Native Method)

    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)

    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

    at java.net.Socket.connect(Socket.java:525)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:153)

    at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:120)

    at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)

    at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)

    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)

    ... 35 more

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points