ResourceBundles in jars, applet, connection refused

Hi,
we run our code as application and as applet.
We have a lot of ResourceBundle files (ListResourceBundles) which are archived per language (RBjars).
The application and applet is in another package than the RBjars.
An URLClassloader for loading the ResourceBundles is used which contains only the necessary language resource bundle jar file ( ResourceBundle.getBundle(resBundleName, locale, rbClassloader) ).
When running as applet we get an exception (java.net.ConnectException: Connection refused: connect), although correct RBJar is loaded from server.
When running as application we get same exception (java.net.ConnectException: Connection refused: connect),
index and manifest used when archiving main package, but RBJars not in classpath of manifest, nor there are in the archive attribute of html of applet.
If we define all RBjars in classpath of manifest (or in archive attribute), the applet allways load all RBjars, that cost too much time. This is the main problem.
If anyone has an idea how to handle a lot of resource bundle jar files in an applet, please let me know.
Thanks,
Inge

While one cannot say for sure, it looks like your problem is only tangentially connected with Java, jars, or applets. "Connection refused" means that there wasn't an HTTP server running at the address you gave to supply whatever file you asked for.
It's probably a configuration or administration problem. Try typing the URL the program is using into your web-browser and see if you get the file.

Similar Messages

  • Applet connection refused

    My Applet runs fine in AppletViewer(JBuilder), but when running on Weblogic I get this error. It is caused, I think, because the Applet is taking too long to load. Is that the case or is it something like incorrect file permissions or directory location?
    Mon Oct 30 08:47:40 CST 2000:<W> <ListenThread> Connection rejected: 'Login time
    d out after: '5000' ms on socket: 'Socket[addr=localhost/127.0.0.1,port=2135,loc
    alport=7001]''
    TIA,
    --Kevin Taylor
    --Java Consultant
    --WidePoint Corp.

    This is a follow up for anyone who has this problem in the future. The solution was to set codebase="/classes/" in the applet tag and to put the files relevant to the applet in the weblogic classpath, i.e.
    in servletclasses, serverclasses, clientclasses or another user-defined directory in the classpath.
    Hope this helps.
    --Kevin Taylor
    --Java Consultant
    --WidePoint Corp.
    "Kevin Taylor" <[email protected]> wrote:
    >
    My Applet runs fine in AppletViewer(JBuilder), but when running on Weblogic I get this error. It is caused, I think, because the Applet is taking too long to load. Is that the case or is it something like incorrect file permissions or directory location?
    Mon Oct 30 08:47:40 CST 2000:<W> <ListenThread> Connection rejected: 'Login time
    d out after: '5000' ms on socket: 'Socket[addr=localhost/127.0.0.1,port=2135,loc
    alport=7001]''
    TIA,
    --Kevin Taylor
    --Java Consultant
    --WidePoint Corp.

  • Admin.jar connection refused

    I have an EAR file built in JBuilder 7 which I'm trying to deploy to my demonstration Application Server using the JBuilder 7 plug-in for OC4J. Whenever I try to deploy, I get
    ...\jdk1.3.1\bin\java -jar "...\ora90\j2ee\home\admin.jar" ormi://localhost:23791 admin narf -deploy -file "C:/devt/010Plus/010Plus.ear" -deploymentName 010Plus
    Error!!!: Error: javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is:
         java.net.ConnectException: Connection refused: connect
    Now, doing anything "admin.jar" from the command line gives me the same result -
    ...\ora90\j2ee\home>java -jar admin.jar ormi://127.0.0.1:23791 admin narf -list
    Error: javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is:
    java.net.ConnectException: Connection refused: connect
    I've been through the 9ias installation guide and the JBuilder plug-in documentation with a pretty fine-toothed comb, but still there is obviously something that eludes me. Help! Stuck!
    Anyone got any ideas? I'm pretty new to the Oracle side of this, so don't hold back on offering "obvious" tips - what may be "obvious" to you gurus will most likely be black magic to me at this point ;)
    Thanks for your help,
    =Per

    It's probably bad form to reply to my own post, but I've just repeated the problem on a clean machine, so I thought I'd submit a quick update.
    OS: Windows XP Professional
    Product: Oracle 9i Application Server Release 2 (9.0.3)
    1) Install 9iAS with WebCache
    2) Select "No Infrastructure"
    3) Complete installation
    4) Verify installation complete and 9iAS started -
    http://localhost:7777/
    5) Verify OC4J instance(s) created and started -
    http://localhost:1810/
    6) Attempt to list all sites -
    ...\j2ee\home>java -jar admin.jar ormi://127.0.0.1 admin password -list
    Error: javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is:
    java.net.ConnectException: Connection refused: connect
    Ok - I admit it - I'm dumb. What did I miss/forget/not grok?
    Any pointers would be greatly appreciated.
    Cheers,
    =Per

  • Error while deploying module with iasdeploy : Exception while createXmlDocument() : connection refused

    Hi to you all,
    I work with iAS 6.0 sp2 on Solaris.
    For 1 day, I get that exception when trying to deploy or remove my modules (servlets + JSP) with the iasdeploy tool :
    Exception while createXmlDocument()
    java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native method)
    at com.netscape.server.deployment.WebbAppReg.run(compiled code)
    at com.netscape.server.deployment.WebbAppReg.main(Unknown source)
    The war archive is put in the JAR directory, unpacked in the APPS/modules directory, but the servlets of the module have the null GUID in the registry ({000000 000000 000000}. And so, I have the GX error when trying to invoke them.
    What appends ? Is it a iAS process which is unable ?
    Please help !
    Paul-Emile

    I think you have not put the xml files in the war file.
    You need to put them under WEB-INF/ directory. Manually generate the guids using kguidgen script and try to deploy the war module. It should work fine. If it doesnot work please send me the file. So that I can further investigate and find out where exactly the problem is.Other wise you can use the deploytool.
    Please let me know if this works fine.
    Thanks for visiting our web forum.

  • Connection refused--while executing (HttpConnection) Connector.open(url);

    Hi,
    i'm using netbeans mobility 5.0
    as i was new to this mobile programming i'm getting the output as "Connection Refused"
    plz plz plz plz....... help me out from this problem
    here is my code..
    code:_
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.io.*;
    import java.io.*;
    public class FileViewer extends MIDlet implements CommandListener
    private Display display; // Reference to Display object
    private TextBox tbViewer; // View file contents in a textbox
    private Command cmView; // Command to view file
    private Command cmExit; // Command to exit
    private String url = "http://www.corej2me.com/midpbook_v1e1/scratch/fileViewer.hlp";
    public FileViewer()
    display = Display.getDisplay(this);
    // Define commands
    cmView = new Command("View", Command.SCREEN, 2);
    cmExit = new Command("Exit", Command.EXIT, 1);
    tbViewer = new TextBox("Viewer", "", 250, TextField.ANY);
    tbViewer.addCommand(cmView);
    tbViewer.addCommand(cmExit);
    tbViewer.setCommandListener(this);
    public void startApp()
    display.setCurrent(tbViewer);
    private void viewFile() throws IOException
    HttpConnection http = null;
    InputStream iStrm = null;
    try
    http = (HttpConnection) Connector.open(url);
    // Client Request
    // 1) Send request method
    http.setRequestMethod(HttpConnection.GET);
    // 2) Send header information (this header is optional)
    http.setRequestProperty("User-Agent", "Profile/MIDP-1.0 Configuration/CLDC-1.0");
    // 3) Send body/data - No data for this request
    // Server Response
    // 1) Get status Line
    System.out.println("Msg: " + http.getResponseMessage());
    System.out.println("Code: " + http.getResponseCode());
    // 2) Get header information
    if (http.getResponseCode() == HttpConnection.HTTP_OK)
    // 3) Get data (show the file contents)
    iStrm = http.openInputStream();
    int length = (int) http.getLength();
    if (length > 0)
    byte serverData[] = new byte[length];
    iStrm.read(serverData);
    tbViewer.setString(new String(serverData));
    finally
    if (iStrm != null)
    iStrm.close();
    if (http != null)
    http.close();
    public void pauseApp()
    public void destroyApp(boolean unconditional)
    public void commandAction(Command c, Displayable s)
    if (c == cmView)
    try
    viewFile();
    catch (Exception e)
    System.out.println(e.toString());
    else if (c == cmExit)
    destroyApp(false);
    notifyDestroyed();
    output*
    build.xml(debug)*
    some....
    Application descriptor does not declare any MIDlet. Direct execution is not allowed.
    Generated "C:\Documents and Settings\Lakshmi Narayan J\jlnexample\dist\jlnexample.jar" is 2655 bytes.
    post-jar:
    debug:
    C:\Documents and Settings\Lakshmi Narayan J\jlnexample\src\.timestamp
    Starting emulator in debug server mode on port 1469
    com.sun.kvem.midletsuite.InvalidJadException: Reason = 22
    The manifest or the application descriptor MUST contain the attribute: MIDlet-1
    nbdebug:
    KdpDebugTask connecting to debugger 1 ..
    KdpDebugTask connecting to debugger 2 ..
    KdpDebugTask connecting to debugger 3 ..
    KdpDebugTask connecting to debugger 4 ..
    KdpDebugTask connecting to debugger 5 ..
    Connecting JPDA Debugger to emulator timed out after 5 attempts and 31 seconds.
    C:\Documents and Settings\Lakshmi Narayan J\jlnexample\nbproject\build-impl.xml:306: The following error occurred while executing this line:
    C:\Documents and Settings\Lakshmi Narayan J\jlnexample\nbproject\build-impl.xml:311: Connecting JPDA Debugger to emulator timed out after 5 attempts and 31 seconds.
    BUILD FAILED (total time: 43 seconds)
    Debugger console:
    Attaching to localhost:1469
    Connection refused.
    Edited by: LAKSHMI_NARAYAN_J on Jun 23, 2008 9:54 AM

    It's called potential deadlock. The emulator blocks your app 'cause any connection and commandAction needs its own thread. So I suggest use a new thread with this http connection then your program will be run successful.

  • Connection refused to host: connection timed out

    I have been struggling with this problem a couple of days now so I really hope someone can help me. I am trying to get rmi to work in a NAT environment. We use a firewall, so I have opened port 1099 and 2020 which I use as a fixed port for communication (just to be sure it is not a firewall thing); I use the following code:
    //server
    public class ComputeEngine extends UnicastRemoteObject
    implements Compute
    public ComputeEngine() throws RemoteException {
    super();
    public String getMessage() {
    return "you have successfully connected to the server";
    public static void main(String[] args) {
    if (System.getSecurityManager() == null) {
    System.setSecurityManager(new RMISecurityManager());
    try {
    String port = args[0];
    try {
    RMISocketFactory.setSocketFactory(new FixedPortRMISocketFactory(Integer.parseInt(port)));
    } catch (IOException e) {
    e.printStackTrace();
    LocateRegistry.createRegistry( 1099 );
    catch (RemoteException e1) {
    e1.printStackTrace();
    String name = "rmi://localhost/Compute";
    try {
    Compute engine = new ComputeEngine();
    Naming.rebind(name, engine);
    System.out.println("ComputeEngine bound");
    while(true); //stay alive
    } catch (Exception e) {
    System.err.println("ComputeEngine exception: " + e.getMessage());
    e.printStackTrace();
    public Socket createSocket(String host, int port)
    throws IOException {
    System.out.println("creating socket to host : " + host + " on port " + port);
    return new Socket(host, port);
    * Create a server socket on the specified port (port 0 indicates
    * an anonymous port) and writes out some debugging info
    * @param port the port number
    * @return the server socket on the specified port
    * @exception IOException if an I/O error occurs during server socket
    * creation
    * @since JDK1.1
    public ServerSocket createServerSocket(int port)
    throws IOException {
    port = (port == 0 ? portnumber : port);
    System.out.println("creating ServerSocket on port " + port);
    return new ServerSocket(port);
    //client
    public class ComputePi {
    public static void main(String args[]) {
    if (System.getSecurityManager() == null) {
    System.setSecurityManager(new RMISecurityManager());
    try {
    String name = "rmi://" + args[0] + "/Compute";
    Compute comp = (Compute) Naming.lookup(name);
    System.out.println("connected to server");
    System.out.println(comp.getMessage());
    } catch (Exception e) {
    System.err.println("ComputePi exception: " + e.getMessage());
    e.printStackTrace();
    I start the client with:
    java -Djava.security.policy=policy.all -jar client.jar 194.2.4.6:1099
    I start the server with:
    java -Djava.rmi.server.codebase="file:/C:\RMI\\server.jar" -Djava.rmi.server.hostname="194.2.4.6" -Djava.security.policy=policy.all -jar server.jar 2020
    As you can see I set the "-Djava.rmi.server.hostname" property which should be a solution to the NAT problem. However I keep getting the following exception!!??!!:
    ComputePi exception: Connection refused to host: 194.2.4.6; nested exception is:
         java.net.ConnectException: Connection timed out: connect
    java.rmi.ConnectException: Connection refused to host: 194.2.4.6; nested exception is:
         java.net.ConnectException: Connection timed out: connect
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
         at sun.rmi.server.UnicastRef.newCall(Unknown Source)
         at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
         at java.rmi.Naming.lookup(Unknown Source)
         at client.ComputePi.main(ComputePi.java:14)
    Caused by: java.net.ConnectException: Connection timed out: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
         ... 7 more
    Can anyone help me with this, please??????
    kind regards,
    Christiaan

    Yes, i can ping it from the client.
    I have also noticed that when i run my server with the option -Djava.rmi.server.hostname=IP the applications stops automatically after a few minuts...
    I'm not using nothing about codebase. I have the stub and skel classes in server and client machines..
    I add the complete exception:
    Client exception: java.rmi.ConnectException: Connection refused to host: external_IP; nested exception is:
    java.net.ConnectException: Connection timed out: connect
    java.rmi.ConnectException: Connection refused to host: external_IP; nested exception is:
    java.net.ConnectException: Connection timed out: connect
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
    at example.hello.Server_Stub.sayHello(Unknown Source)
    at example.hello.Client.main(Client.java:55)
    Caused by: java.net.ConnectException: Connection timed out: connect
    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:426)
    at java.net.Socket.connect(Socket.java:376)
    at java.net.Socket.<init>(Socket.java:291)
    at java.net.Socket.<init>(Socket.java:119)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirect
    SocketFactory.java:22)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMaster
    SocketFactory.java:128)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562)
    ... 5 more

  • JSTL xml is killing me... Tomcat 5.5 question - Connection refused: connec

    I have the following code in my jsp file:
    <%
    String req_url="http://localhost/nolabook/books.xml";
    //String req_url="http://www.SOMESERVER.com/books.xml";
    %>
    <c:import var="xml" url='<%= req_url %>' />
    <c:import var="xslt" url="transform.xsl" />
    <x:transform doc="${xml}" xslt="${xslt}" >
    </x:transform>If I use 'req_url' with localhost then everything is ok and I see the result I want to. The xsl is perfect, the output is flawless.
    If I try to load the same books.xml from a remote server I got the following exception:
    ...and the exception is: javax.servlet.jsp.JspException: Problem accessing the absolute URL "http://www.SOMESERVER.com/books.xml". java.net.ConnectException: Connection refused: connect
    It drives me nuts and I cannot move on with my project because of this.
    I use java 1.5 with Apache Tomcat 5.5.17
    No firewalls, no port closures, no security systems nothing on my developer machine...
    And of course, if I just place the URL(.../books.xml) into my browser it reads and shows the books.xml file.
    I need help please because I'm drained...
    Message was edited by:
    ayrtonsf1

    please see the following site for the solution:
    http://www.cs.wcupa.edu/~rkline/Java/xml_examples.html
    summary:
    You will also need the jar files from the Xalan distribution whose web site is:
    http://xml.apache.org/xalan-j/
    The latest version is 2.7.0 and the binary distribution can be downloaded from the course server at
    xalan-j_2_7_0-bin.zip
    which contains the JAR file needed for XPath and Xerces compilation usages. Extracting the zip file yields the directory xalan-j_2_7_0. Within it look for the files (also downloadable from these links):
    xalan.jar, xercesImpl.jar, serializer.jar
    These JAR files will need to be made available to Eclipse. The easiest way, as before, is to install them directly into
    apache-tomcat-5.5.17/common/lib
    good luck,
    -zak guler

  • Sccheck fails with connection refused

    I have a 2 node cluster that was just upgraded from SC3.0 to SC3.1u4 (8/05). sccheck passes on node aemhrsDV1 and fails with the following message on aemhrsDV2:
    root@aemhrsDV2 # sccheck -b -v2 -h aemhrsDV2
    sccheck: Requesting explorer data and node report from aemhrsDV2.
    sccheck: aemhrsDV2 error: Connection refused
    sccheck: Unable to run checks on: aemhrsDV2All SC3.1 patches have been applied. All availble agents were updated using 'scinstall -u update -s all' and re-registered. Test ip addresses were supplied during 'scinstall -u update -S interact'.
    Both nodes come up fine individually in cluster (through step 10) but together the log /var/cluster/ucmm/ucmm_reconf.log shows:
    Thu Aug  9 21:47:04 EST 2007 SUNWscucm.ucmm_reconf udlm started in cmmstep2
    Thu Aug  9 21:48:44 EST 2007 SUNWscucm.ucmm_reconf udlm completed successfully in cmmstep2
    Thu Aug  9 21:48:44 EST 2007 SUNWscucm.ucmm_reconf cvm started in cmmstep2
    Thu Aug  9 21:48:45 EST 2007 SUNWscucm.ucmm_reconf cvm completed successfully in cmmstep2
    Thu Aug  9 21:48:45 EST 2007 SUNWscucm.ucmm_reconf ucmm reconfiguration step 2 completed
    Thu Aug  9 21:48:45 EST 2007 SUNWscucm.ucmm_reconf Step: cmmreturn CURRNODES=0 1Running scstat -i hangs forever at IPMP Groups with both nodes in cluster but separately displays the adapters and status.
    Node 1
    root@aemhrsDV1 # ifconfig -a
    lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
            inet 127.0.0.1 netmask ff000000
    ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
            inet 192.168.100.30 netmask ffffff00 broadcast 192.168.100.255
            ether 0:3:ba:39:f5:62
    ce0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
            inet 192.168.101.30 netmask ffffff00 broadcast 192.168.101.255
    ce1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
            inet 192.168.251.30 netmask ffffff00 broadcast 192.168.251.255
            ether 0:3:ba:39:f5:ef
    ge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
            inet 10.10.3.30 netmask ffffff00 broadcast 10.10.3.255
            groupname nafo0
            ether 0:3:ba:b:e:8
    ge0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 4
            inet 10.10.3.31 netmask ffffff00 broadcast 10.10.3.255
    qfe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
            inet 10.10.3.33 netmask ffffff00 broadcast 10.10.3.255
            groupname nafo0
            ether 0:3:ba:17:97:d5
    qfe0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 5
            inet 10.10.3.32 netmask ffffff00 broadcast 10.10.3.255
    qfe2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 6
            inet 192.168.2.112 netmask ffffff00 broadcast 192.168.2.255
            ether 0:3:ba:17:97:d7
    qfe7: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 7
            inet 172.16.1.1 netmask ffffff80 broadcast 172.16.1.127
            ether 0:3:ba:17:98:68
    qfe3: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 8
            inet 172.16.0.129 netmask ffffff80 broadcast 172.16.0.255
            ether 0:3:ba:17:97:d8
    clprivnet0: flags=1009843<UP,BROADCAST,RUNNING,MULTICAST,MULTI_BCAST,PRIVATE,IPv4> mtu 1486 index 9
            inet 172.16.193.1 netmask ffffff00 broadcast 172.16.193.255
            ether 0:0:0:0:0:1Node 2
    root@aemhrsDV2 # ifconfig -a
    lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
            inet 127.0.0.1 netmask ff000000
    ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
            inet 192.168.100.40 netmask ffffff00 broadcast 192.168.100.255
            ether 0:3:ba:39:f5:50
    ce0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
            inet 192.168.101.40 netmask ffffff00 broadcast 192.168.101.255
    ce1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
            inet 192.168.251.40 netmask ffffff00 broadcast 192.168.251.255
            ether 0:3:ba:39:f5:20
    ge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
            inet 10.10.3.40 netmask ffffff00 broadcast 10.10.3.255
            groupname nafo0
            ether 0:3:ba:b:41:22
    ge0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 4
            inet 10.10.3.41 netmask ffffff00 broadcast 10.10.3.255
    qfe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
            inet 10.10.3.43 netmask ffffff00 broadcast 10.10.3.255
            groupname nafo0
            ether 0:3:ba:17:96:2d
    qfe0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 5
            inet 10.10.3.42 netmask ffffff00 broadcast 10.10.3.255
    qfe0:2: flags=1040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4> mtu 1500 index 5
            inet 10.10.3.35 netmask ffffff00 broadcast 10.10.3.255
    qfe7: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 6
            inet 172.16.1.2 netmask ffffff80 broadcast 172.16.1.127
            ether 0:3:ba:17:97:18
    qfe3: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 7
            inet 172.16.0.130 netmask ffffff80 broadcast 172.16.0.255
            ether 0:3:ba:17:96:30
    clprivnet0: flags=1009843<UP,BROADCAST,RUNNING,MULTICAST,MULTI_BCAST,PRIVATE,IPv4> mtu 1486 index 8
            inet 172.16.193.2 netmask ffffff00 broadcast 172.16.193.255
            ether 0:0:0:0:0:2
    root@aemhrsDV1 # scstat
    -- Cluster Nodes --
                        Node name           Status
      Cluster node:     aemhrsDV1           Online
      Cluster node:     aemhrsDV2           Online
    -- Cluster Transport Paths --
                        Endpoint               Endpoint               Status
      Transport path:   aemhrsDV1:qfe7         aemhrsDV2:qfe7         Path online
      Transport path:   aemhrsDV1:qfe3         aemhrsDV2:qfe3         Path online
    -- Quorum Summary --
      Quorum votes possible:      3
      Quorum votes needed:        2
      Quorum votes present:       3
    -- Quorum Votes by Node --
                        Node Name           Present Possible Status
      Node votes:       aemhrsDV1           1        1       Online
      Node votes:       aemhrsDV2           1        1       Online
    -- Quorum Votes by Device --
                        Device Name         Present Possible Status
      Device votes:     /dev/did/rdsk/d3s2  1        1       Online
    -- Device Group Servers --
                             Device Group        Primary             Secondary
      Device group servers:  rmt/1               -                   -
      Device group servers:  rmt/2               -                   -
    -- Device Group Status --
                                  Device Group        Status
      Device group status:        rmt/1               Offline
      Device group status:        rmt/2               Offline
    -- Multi-owner Device Groups --
                                  Device Group        Online Status
    -- Resource Groups and Resources --
                Group Name          Resources
    Resources: nfs-test            aemhrsDVlh
    Resources: hastp-aemhrsDV1-rg  -
    Resources: hastp-aemhrsDV2-rg  -
    Resources: rac-framework-rg    rac_framework rac_udlm rac_cvm
    -- Resource Groups --
                Group Name          Node Name           State
         Group: nfs-test            aemhrsDV1           Offline
         Group: nfs-test            aemhrsDV2           Online
         Group: hastp-aemhrsDV1-rg  aemhrsDV1           Online
         Group: hastp-aemhrsDV2-rg  aemhrsDV2           Online
         Group: rac-framework-rg    aemhrsDV1           Pending online
         Group: rac-framework-rg    aemhrsDV2           Online
    -- Resources --
                Resource Name       Node Name           State     Status Message
      Resource: aemhrsDVlh          aemhrsDV1           Offline   Offline
      Resource: aemhrsDVlh          aemhrsDV2           Online    Online - LogicalHostname online.
      Resource: rac_framework       aemhrsDV1           Starting  Degraded - reconfiguration in progress
      Resource: rac_framework       aemhrsDV2           Online    Online
      Resource: rac_udlm            aemhrsDV1           Offline   Offline
      Resource: rac_udlm            aemhrsDV2           Online    Online
      Resource: rac_cvm             aemhrsDV1           Offline   Offline
      Resource: rac_cvm             aemhrsDV2           Online    Online
    -- IPMP Groups --
                  Node Name           Group   Status         Adapter   Status
                  ---------           -----   ------         -------   ------I believe the reconfig is coming from aemhrsDV2 since sccheck will not run.
    Suggestions?

    Also the output from the sccheck commad using 'ksh -x' shows where the error is occurring and exiting with a status of 107.
    The line executed is 765 of the script.
    # echo "CLASSPATH: ${CLASSPATH}"
    ${JAVA} -classpath ${CLASSPATH} ${JDEFINES_LIST} ${JAVA_CLIENT} &
    JVM_PID=$!
    + JVM_PID=13881
    # now wait for java to exit
    wait $JVM_PID
    + wait 13881
    + /usr/java/bin/java -classpath /usr/cluster/lib/sccheck:/usr/cluster/lib/sccheck/sccheck.jar:/usr/cluster/lib/sccheck/k
    ae/kae.jar:/usr/cluster/lib/sccheck/kae/kae-libs.jar:/usr/cluster/lib/sccheck/kae/eras-common.jar:/usr/cluster/lib/scche
    ck/kae/common-libs.jar:/usr/cluster/lib/sccheck/kae/eras-parsers.jar:/usr/cluster/lib/sccheck/kae/explorer-input-source.
    jar:/usr/cluster/lib/sccheck/kae/resources:/var/cluster/sccheck/tmp/client.0 -Dcom.sun.eras.common.logging4.config.file=
    /usr/cluster/lib/sccheck/sccheck.logging4.properties -Dke.client.log=/var/cluster/logs/sccheck/ke-client.log.0 -Dke.clie
    nt.xsldir=/var/cluster/sccheck/tmp/client.0 -Dsccheck.clustername=aemhrsDV -Dsccheck.clustermode=true -Dsccheck.localnam
    e=aemhrsDV2 -Dsccheck.privatelocalname=clusternode2-priv -Dsccheck.publicnodenames=aemhrsDV1,aemhrsDV2 -Dsccheck.private
    nodenames=clusternode1-priv,clusternode2-priv -Dsccheck.clientnumber=0 -Dsccheck.explorersgzDir=/var/cluster/sccheck/exp
    lorers-gz -Dsccheck.explorersUnpackDir=/var/cluster/sccheck/explorers.0 -Dsccheck.gunzip=/usr/bin/gunzip -Dsccheck.tar=/
    usr/bin/tar -Dsccheck.brief=true -Dsccheck.vverbose=true -Dsccheck.hostlist=aemhrsDV2 -Dsccheck.outputDir=/var/cluster/s
    ccheck/reports.2007-08-10.09:19:37 com.sun.cluster.sccheck.SccheckClient
    sccheck: Requesting explorer data and node report from aemhrsDV2.
    sccheck: aemhrsDV2 error: Connection refused
    sccheck: Unable to run checks on: aemhrsDV2
    typeset -i exitstatus=$?
    + typeset -i exitstatus=107
    # constuct closing message if reports were created
    if ((${exitstatus} > 0)) && ((${exitstatus} < 100)); then
        typeset severity=""
        printf ""
        case "${exitstatus}" in
            1)      severity=$(gettext '1 (LOW)');;
            2)      severity=$(gettext '2 (MODERATE)');;
            3)      severity=$(gettext '3 (HIGH)');;
            4)      severity=$(gettext '4 (CRITICAL)');;
        esac
        printf "$(gettext '%s: One or more checks failed.')\n" ${PROG}
        printf "$(gettext '%s: The greatest severity of all check failures was %s.')\n" ${PROG} "${severity}"
        printf "$(gettext '%s: Reports are in %s.')\n" ${PROG} ${OUTPUTDIR}
    fi
    + (( 107 > 0 ))
    + (( 107 < 100 ))
    cleanup
    + cleanup
    exit ${exitstatus}
    + exit 107

  • SMD agent not starting correctly FAIL: NIECONN_REFUSED (Connection refused)

    I am getting the following message when I start the agent.  I don't see any errors except for this, and when I try to connect it in agent_adminstration, it never connects.  Just eventually times out after 30 mins.
    FAIL: NIECONN_REFUSED (Connection refused), NiRawConnect failed in plugin_fopen()
    cat jvm_SMDAgent.out
    LoadBalanceRestricted=no
    P4ClassLoad=P4Connection
    SAPDBHOST=
    SAPINFO=SMD_98_server
    SAPMYNAME=ssmsap_SMD_98
    SAPSTARTUP=1
    SAPSYSTEM=98
    SAPSYSTEMNAME=SMD
    application.home=/usr/sap/SMD/exe
    com.ibm.cpu.endian=little
    com.ibm.oti.configuration=scar
    com.ibm.oti.jcl.build=20080922_1143
    com.ibm.oti.vm.bootstrap.library.path=/opt/IBMJava2-amd64-142/jre/bin/j9vm:/opt/IBMJava2-amd64-142/jre/bin
    com.ibm.oti.vm.library.version=23
    com.ibm.util.extralibs.properties=
    com.ibm.vm.bitmode=64
    file.encoding=UTF-8
    file.separator=/
    ibm.signalhandling.rs=false
    ibm.signalhandling.sigchain=true
    ibm.signalhandling.sigint=true
    ibm.system.encoding=UTF-8
    j2ee.dbhost=
    java.assistive=ON
    java.awt.fonts=
    java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
    java.awt.printerjob=sun.print.PSPrinterJob
    java.class.path=/usr/sap/SMD/J98/../exe/jstartup.jar:/usr/sap/SMD/J98/../exe/jvmx.jar:../../exe/jstartupapi.jar:../../exe/jstartupimpl.jar:lib/patch_7.01.3.0.20090224123938/launcher/smdagentlauncher.jar
    java.class.version=48.0
    java.compiler=j9jit23
    java.ext.dirs=/opt/IBMJava2-amd64-142/jre/lib/ext
    java.fullversion=J2RE 1.4.2 IBM J9 2.3 Linux amd64-64 j9vmxa64142-20080923 (JIT enabled)
    J9VM - 20080922_23329_LHdSMr
    JIT  - 20080815_1845_r8
    GC   - 200809_04
    java.home=/opt/IBMJava2-amd64-142/jre
    java.io.tmpdir=/tmp
    java.library.path=/opt/IBMJava2-amd64-142/jre/bin/j9vm:/opt/IBMJava2-amd64-142/jre/bin:/opt/IBMJava2-amd64-142/jre/bin:/opt/IBMJava2-amd64-142/jre/bin/classic:/opt/IBMJava2-amd64-142/jre/bin:/usr/sap/SMD/exe:/usr/lib:/usr/sap/SMD/exe:/usr/sap/SMD/exe
    java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version=2.3
    java.specification.name=Java Platform API Specification
    java.specification.vendor=Sun Microsystems Inc.
    java.specification.version=1.4
    java.util.prefs.PreferencesFactory=java.util.prefs.FileSystemPreferencesFactory
    java.vendor=IBM Corporation
    java.vendor.url=http://www.ibm.com/
    java.version=1.4.2
    java.vm.info=J2RE 1.4.2 IBM J9 2.3 Linux amd64-64 j9vmxa64142-20080923 (JIT enabled)
    J9VM - 20080922_23329_LHdSMr
    JIT  - 20080815_1845_r8
    GC   - 200809_04
    java.vm.name=IBM J9 VM
    java.vm.specification.name=Java Virtual Machine Specification
    java.vm.specification.vendor=Sun Microsystems Inc.
    java.vm.specification.version=1.0
    java.vm.vendor=IBM Corporation
    java.vm.version=2.3
    jstartup.debuggable=yes
    jstartup.mode=JCONTROL
    jstartup.ownHardwareId=F2143454721
    jstartup.ownProcessId=17393
    jstartup.whoami=server
    jxe.current.romimage.version=9
    jxe.lowest.romimage.version=9
    line.separator=
    memory.manager=256M
    os.arch=amd64
    os.name=Linux
    os.version=2.6.9-89.ELsmp
    path.separator=:
    sun.boot.class.path=/opt/IBMJava2-amd64-142/jre/bin/j9vm/jclSC14/classes.zip:/opt/IBMJava2-amd64-142/jre/lib/core.jar:/opt/IBMJava2-amd64-142/jre/lib/charsets.jar:/opt/IBMJava2-amd64-142/jre/lib/graphics.jar:/opt/IBMJava2-amd64-142/jre/lib/security.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmpkcs.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmorb.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmorbapi.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmjcefw.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmjssefips.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmjgssprovider.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmjsseprovider.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmjaaslm.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmcertpathprovider.jar:/opt/IBMJava2-amd64-142/jre/lib/server.jar:/opt/IBMJava2-amd64-142/jre/lib/xml.jar
    sun.boot.library.path=/opt/IBMJava2-amd64-142/jre/bin/j9vm:/opt/IBMJava2-amd64-142/jre/bin
    sun.io.unicode.encoding=UnicodeLittle
    sun.java2d.fontpath=
    sys.global.dir=/usr/sap/SMD/SYS/global
    user.country=US
    user.dir=/usr/sap/SMD/J98/SMDAgent
    user.home=/home/smdadm
    user.language=en
    user.name=smdadm
    user.timezone=
    user.variant=
    Running SMD Agent ...
    [p4://ssmsap:50004] Agent ready.
    Initialization done.
    cat jvm_SMDAgent.out
    LoadBalanceRestricted=no
    P4ClassLoad=P4Connection
    SAPDBHOST=
    SAPINFO=SMD_98_server
    SAPMYNAME=ssmsap_SMD_98
    SAPSTARTUP=1
    SAPSYSTEM=98
    SAPSYSTEMNAME=SMD
    application.home=/usr/sap/SMD/exe
    com.ibm.cpu.endian=little
    com.ibm.oti.configuration=scar
    com.ibm.oti.jcl.build=20080922_1143
    com.ibm.oti.vm.bootstrap.library.path=/opt/IBMJava2-amd64-142/jre/bin/j9vm:/opt/IBMJava2-amd64-142/jre/bin
    com.ibm.oti.vm.library.version=23
    com.ibm.util.extralibs.properties=
    com.ibm.vm.bitmode=64
    file.encoding=UTF-8
    file.separator=/
    ibm.signalhandling.rs=false
    ibm.signalhandling.sigchain=true
    ibm.signalhandling.sigint=true
    ibm.system.encoding=UTF-8
    j2ee.dbhost=
    java.assistive=ON
    java.awt.fonts=
    java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
    java.awt.printerjob=sun.print.PSPrinterJob
    java.class.path=/usr/sap/SMD/J98/../exe/jstartup.jar:/usr/sap/SMD/J98/../exe/jvmx.jar:../../exe/jstartupapi.jar:../../exe/jstartupimpl.jar:lib/patch_7.01.3.0.20090224123938/launcher/smdagentlauncher.jar
    java.class.version=48.0
    java.compiler=j9jit23
    java.ext.dirs=/opt/IBMJava2-amd64-142/jre/lib/ext
    java.fullversion=J2RE 1.4.2 IBM J9 2.3 Linux amd64-64 j9vmxa64142-20080923 (JIT enabled)
    J9VM - 20080922_23329_LHdSMr
    JIT  - 20080815_1845_r8
    GC   - 200809_04
    java.home=/opt/IBMJava2-amd64-142/jre
    java.io.tmpdir=/tmp
    java.library.path=/opt/IBMJava2-amd64-142/jre/bin/j9vm:/opt/IBMJava2-amd64-142/jre/bin:/opt/IBMJava2-amd64-142/jre/bin:/opt/IBMJava2-amd64-142/jre/bin/classic:/opt/IBMJava2-amd64-142/jre/bin:/usr/sap/SMD/exe:/usr/lib:/usr/sap/SMD/exe:/usr/sap/SMD/exe
    java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version=2.3
    java.specification.name=Java Platform API Specification
    java.specification.vendor=Sun Microsystems Inc.
    java.specification.version=1.4
    java.util.prefs.PreferencesFactory=java.util.prefs.FileSystemPreferencesFactory
    java.vendor=IBM Corporation
    java.vendor.url=http://www.ibm.com/
    java.version=1.4.2
    java.vm.info=J2RE 1.4.2 IBM J9 2.3 Linux amd64-64 j9vmxa64142-20080923 (JIT enabled)
    J9VM - 20080922_23329_LHdSMr
    JIT  - 20080815_1845_r8
    GC   - 200809_04
    java.vm.name=IBM J9 VM
    java.vm.specification.name=Java Virtual Machine Specification
    java.vm.specification.vendor=Sun Microsystems Inc.
    java.vm.specification.version=1.0
    java.vm.vendor=IBM Corporation
    java.vm.version=2.3
    jstartup.debuggable=yes
    jstartup.mode=JCONTROL
    jstartup.ownHardwareId=F2143454721
    jstartup.ownProcessId=17393
    jstartup.whoami=server
    jxe.current.romimage.version=9
    jxe.lowest.romimage.version=9
    line.separator=
    memory.manager=256M
    os.arch=amd64
    os.name=Linux
    os.version=2.6.9-89.ELsmp
    path.separator=:
    sun.boot.class.path=/opt/IBMJava2-amd64-142/jre/bin/j9vm/jclSC14/classes.zip:/opt/IBMJava2-amd64-142/jre/lib/core.jar:/opt/IBMJava2-amd64-142/jre/lib/charsets.jar:/opt/IBMJava2-amd64-142/jre/lib/graphics.jar:/opt/IBMJava2-amd64-142/jre/lib/security.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmpkcs.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmorb.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmorbapi.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmjcefw.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmjssefips.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmjgssprovider.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmjsseprovider.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmjaaslm.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmcertpathprovider.jar:/opt/IBMJava2-amd64-142/jre/lib/server.jar:/opt/IBMJava2-amd64-142/jre/lib/xml.jar
    sun.boot.library.path=/opt/IBMJava2-amd64-142/jre/bin/j9vm:/opt/IBMJava2-amd64-142/jre/bin
    sun.io.unicode.encoding=UnicodeLittle
    sun.java2d.fontpath=
    sys.global.dir=/usr/sap/SMD/SYS/global
    user.country=US
    user.dir=/usr/sap/SMD/J98/SMDAgent
    user.home=/home/smdadm
    user.language=en
    user.name=smdadm
    user.timezone=
    user.variant=
    Running SMD Agent ...
    [p4://ssmsap:50004] Agent ready.
    Initialization done.

    cat dev_SMDAgent
    trc file: "/usr/sap/SMD/J98/work/dev_SMDAgent", trc level: 1, release: "701"
    node name   : smdagent
    pid         : 17393
    system name : SMD
    system nr.  : 98
    started at  : Wed Oct  7 08:56:32 2009
    arguments         :
              arg[00] : /usr/sap/SMD/J98/../exe/jlaunch
              arg[01] : pf=/usr/sap/SMD/J98/../SYS/profile/SMD_J98_ssmsap
              arg[02] : -DSAPINFO=SMD_98_server
              arg[03] : pf=/usr/sap/SMD/J98/../SYS/profile/SMD_J98_ssmsap
    JStartupReadInstanceProperties: read instance properties [/usr/sap/SMD/J98/profile/smd.properties]
    -> ms host    :
    -> ms port    : 36
    -> OS libs    : /usr/sap/SMD/exe
    -> Admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Used property files
    -> files [00] : /usr/sap/SMD/J98/profile/smd.properties
    Instance properties
    -> ms host    :
    -> ms port    : 36
    -> os libs    : /usr/sap/SMD/exe
    -> admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Bootstrap nodes
    Worker nodes
    -> [00] smdagent             : /usr/sap/SMD/J98/profile/smd.properties
    [Thr 182894174624] Wed Oct  7 08:56:32 2009
    [Thr 182894174624] JLaunchRequestQueueInit: create named pipe for ipc
    [Thr 182894174624] JLaunchRequestQueueInit: create pipe listener thread
    [Thr 1074792800] JLaunchRequestFunc: Thread 1074792800 started as listener thread for np messages.
    [Thr 1085282656] WaitSyncSemThread: Thread 1085282656 started as semaphore monitor thread.
    [Thr 182894174624] SigISetDefaultAction : default handling for signal 17
    [Thr 182894174624] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202)
    [Thr 182894174624] CPIC (version=701.2009.01.26)
    [Thr 182894174624] [Node: SMDAgent] java home is set by profile parameter
            Java Home: /opt/IBMJava2-amd64-142
    [Thr 182894174624] JStartupICheckFrameworkPackage: can't find framework package /usr/sap/SMD/J98/../exe/jvmx.jar
    JStartupIReadSection: read node properties [smdagent]
    -> node name          : SMDAgent
    -> node type          : server
    -> node id            : 1
    -> node execute       : yes
    -> java path          : /opt/IBMJava2-amd64-142
    -> java parameters    : -DP4ClassLoad=P4Connection -Xj9 -Xmn50m -Xgcpolicy:gencon
    -> java vm version    : J2RE 1.4.2 IBM J9 2.3 Linux amd64-64 j9vmxa64142-20080923 (JIT enabled)
    -> java vm vendor     : IBM J9 VM (IBM Corporation)
    -> java vm type       : server
    -> java vm cpu        : amd64
    -> heap size          : 256M
    -> init heap size     : 256M
    -> root path          : ../SMDAgent
    -> class path         : ../../exe/jstartupapi.jar:../../exe/jstartupimpl.jar:lib/patch_7.01.3.0.20090224123938/launcher/smdagentlauncher.jar
    -> OS libs path       : /usr/sap/SMD/exe
    -> main class         : com.sap.smd.agent.launcher.SMDAgentLauncher
    -> framework class    : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path     : /usr/sap/SMD/J98/../exe/jstartup.jar:/usr/sap/SMD/J98/../exe/jvmx.jar
    -> parameters         : run jcontrol
    -> debuggable         : yes
    -> debug mode         : no
    -> debug port         : 58981
    -> shutdown timeout   : 20000
    [Thr 182894174624] JLaunchISetDebugMode: set debug mode [no]
    [Thr 1086335328] JLaunchIStartFunc: Thread 1086335328 started as Java VM thread.
    JHVM_LoadJavaVM: VM Arguments of node [SMDAgent]
    -> stack   : 1048576 Bytes
    -> arg[  0]: exit
    -> arg[  1]: abort
    -> arg[  2]: vfprintf
    -> arg[  3]: -DP4ClassLoad=P4Connection
    -> arg[  4]: -Xj9
    -> arg[  5]: -Xmn50m
    -> arg[  6]: -Xgcpolicy:gencon
    -> arg[  7]: -Dsys.global.dir=/usr/sap/SMD/SYS/global
    -> arg[  8]: -Dapplication.home=/usr/sap/SMD/exe
    -> arg[  9]: -Djava.class.path=/usr/sap/SMD/J98/../exe/jstartup.jar:/usr/sap/SMD/J98/../exe/jvmx.jar:../../exe/jstartupapi.jar:../../exe/jstartupimpl.jar:lib/patch_7.01.3.0.20090224123938/launcher/smdagentlauncher.jar
    -> arg[ 10]: -Djava.library.path=/opt/IBMJava2-amd64-142/jre/bin/j9vm:/opt/IBMJava2-amd64-142/jre/bin:/opt/IBMJava2-amd64-142/jre/bin:/opt/IBMJava2-amd64-142/jre/bin/classic:/opt/IBMJava2-amd64-142/jre/bin:/usr/sap/SMD/exe:/usr/lib:/usr/sap/SMD/exe:/usr/sap/SMD/exe
    -> arg[ 11]: -Dmemory.manager=256M
    -> arg[ 12]: -Xmx256M
    -> arg[ 13]: -Xms256M
    -> arg[ 14]: -DLoadBalanceRestricted=no
    -> arg[ 15]: -Djstartup.mode=JCONTROL
    -> arg[ 16]: -Djstartup.ownProcessId=17393
    -> arg[ 17]: -Djstartup.ownHardwareId=F2143454721
    -> arg[ 18]: -Djstartup.whoami=server
    -> arg[ 19]: -Djstartup.debuggable=yes
    -> arg[ 20]: -DSAPINFO=SMD_98_server
    -> arg[ 21]: -DSAPSTARTUP=1
    -> arg[ 22]: -DSAPSYSTEM=98
    -> arg[ 23]: -DSAPSYSTEMNAME=SMD
    -> arg[ 24]: -DSAPMYNAME=ssmsap_SMD_98
    -> arg[ 25]: -DSAPDBHOST=
    -> arg[ 26]: -Dj2ee.dbhost=
    [Thr 1086335328] JHVM_LoadJavaVM: Java VM created OK.
    JHVM_BuildArgumentList: main method arguments of node [SMDAgent]
    -> arg[  0]: run
    -> arg[  1]: jcontrol
    [Thr 1086335328] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
    [Thr 1086335328] Wed Oct  7 08:56:35 2009
    [Thr 1086335328] JLaunchISetState: change state from [Initial (0)] to [Initial (0)]
    [Thr 1086335328] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
    [Thr 1086335328] Wed Oct  7 08:56:38 2009
    [Thr 1086335328] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
    [Thr 1086335328] JLaunchISetState: change state from [Starting (2)] to [Running (3)]
    [Thr 1101334880] Wed Oct  7 08:56:43 2009
    [Thr 1101334880] JLaunchISetState: change state from [Running (3)] to [Starting applications (10)]
    [Thr 1101334880] Wed Oct  7 08:56:48 2009
    [Thr 1101334880] JLaunchISetState: change state from [Starting applications (10)] to [Running (3)]

  • Please Help - Connection Refused

    Hello,
    I am having trouble connecting to cloudscape database, have been working OK for the past
    couple weeks with an application that I have writen but now big problems!
    java -Djdbc.drivers=COM.cloudscape.core.RmiJdbcDriver Testjava.sql.SQLException: Connection refused to host: localhost; nested exception is:
    java.net.ConnectException: Connection refused: connect
    at RmiJdbc.RJDriver.connect(RJDriver.java:156)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:140)
    at COM.cloudscape.core.RmiJdbcDriver.connect(Unknown Source)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:193)
    at Test.getConnection(Test.java:14)
    at Test.main(Test.java:54)
    *I am running cloudscape
    *set the class paths to point at
    - RmiJdbc.jar
    - cloudclient.jar
    I have written a small test program to check problem,
    //////////////////////////////////CODE LISTING/////////////////////////////////////////////
    import java.sql.*;
    import java.util.*;
    public class Test
    { static Connection conn = null;
    static Statement stmt = null;
    static ResultSet rset = null;
    private Test()
    public static Connection getConnection(String url) throws SQLException
    { DriverManager.setLoginTimeout(10);
    return DriverManager.getConnection(url);
    public static void close(Statement stmt)
    { if(stmt != null)
    { try
    { stmt.close();
    }catch(Exception e)
    { e.printStackTrace();
    public static void close(Connection conn)
    { if (conn != null)
    { try
    { conn.close();
    }catch(Exception e)
    { e.printStackTrace();
    public static void close(ResultSet rset)
    { if (rset != null)
    { try
    { rset.close();
    }catch(Exception e)
    { e.printStackTrace();
    public static void main(String [] args)
    { try
    { String url= "jdbc:cloudscape:rmi://localhost:2005/cloudscapeDB;create=true";
    conn = getConnection(url);
    stmt = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY);
    }catch(SQLException e)
    { e.printStackTrace();
    close(rset);
    close(stmt);
    close(conn);
    Please Help me!!!!

    It is obvious that noone is going to reply to me, so I have kind of solved this for myself,
    for some unknown reason my origonal program that worked fine doesnt now.!?!?!??!?
    However decided to approach problem from another side, and give both my desk and head a break.
    Below is now how I am connecting to a database and return a connection to it, it works,
    public static Connection getConnection() {
    String databaseName = "jdbc:rmi://" + "localhost" + ":1099/jdbc:cloudscape:CloudscapeDB;autocommit=true;create=true";
    try {
    Class.forName("RmiJdbc.RJDriver");
    } catch (ClassNotFoundException e) {
    System.out.println("PopulateTables: caught getting connection: " + e);
    Connection con = null;
    try {
    con = DriverManager.getConnection(databaseName); // , user, password);
    } catch (java.sql.SQLException se) {
    System.out.println("PopulateTables: caught getting connection: " + se);
    return con;
    Thanks me.

  • RMI Protocol over JRMP transport: connection refused

    I changed the look and feel for disco plus to Jinitiator. I then started getting error RMI Protocol over JRMP transport: connection refused to host: 192.168.1.1
    I changed the settings back to java plugin 1.4 but I'm still getting the same error on all client machines.
    I'm running windows 2003 and application server 10.1.2.0.2
    Thanks for any help,
    Brian

    Hi Brian
    When you changed to JInitiator what did you set the style to be? Also, why would you not want to use the Sun Java?
    Anyhow, try getting the users to clear their local Sun Java cache, this will release the applet causing it to reload upon next connection, and try again.
    If you want to retry JInitiator, try this:
    1. Go to Control Panel | JInitiator 1.3.1.x or whatever version you are using
    2. Navigate to the Proxies tab
    3. Uncheck Use Browser Settings
    4. Click the Apply button
    5. Close all browser windows
    6. Reconnect to Discoverer Plus
    If the above steps do not help, try editing the security details of the Options menu in the Internet Explorer using this workflow:
    1. On the client machine, launch IE
    2. From the toolbar, select Tools | Internet Options
    3. Navigate to the Security tab
    4. Click on the Trusted Sites icon
    5. Click on the Sites button
    6. Add a fully, qualified HTTP link to your server
    7. Close all browser windows
    8. Reconnect to Discoverer Plus
    Of the two solutions above, the first is most likely to fix your issue. However, I advise all my customers to set up the application server connections as being trusted sites.
    One additional thing would be to delete your cookies. Discoverer Plus loves cookies.
    Best wishes
    Michael

  • Please help: connection refused on localhost

    I'm using RMI in a BEA WebLogic 7 environment. I've written an RMI object that
    registers itself (with Naming.rebind) in its main method:
    myObject mo = new myObject();
    Naming.rebind("//localhost:7001/my_object", mo);
    I am importing standard RMI packages, not WebLogic RMI packages. The code itself
    appears to be fine, and I have deployed it as a startup class in WebLogic 7. Problem
    is, when I restart WebLogic and that Naming.rebind call is executed, it returns:
    java.net.ConnectException:
    Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect (Native Method) ...
    I am running WebLogic on port 7001 on my local workstation, which has a dynamic
    network IP,
    so I need to bind at either 127.0.0.1:7001 or localhost:7001. I have tried both
    repeatedly in my code, with and without the port number, and everything fails.
    I also played with the Socket permissions in the weblogic.policy file and fileRealm.properties
    file, but still no connection. I'm at wit's end. Can you help, please?

    I am having the same problem. Surprizing thing is the creator (SAP) itself is not solving the problem.
      created: jce/
    inflated: jce/local_policy.jar
    inflated: jce/US_export_policy.jar
    inflated: jce/README.txt
    inflated: jce/COPYRIGHT.html
    C:\DOCUME1\ADMINI1\LOCALS~1\Temp\sapinst_exe.1164.1274306683
    jre\jce\COPYRIGHT.html
    C:\DOCUME1\ADMINI1\LOCALS~1\Temp\sapinst_exe.1164.1274306683
    jre\jce\local_policy.jar
    C:\DOCUME1\ADMINI1\LOCALS~1\Temp\sapinst_exe.1164.1274306683
    jre\jce\README.txt
    C:\DOCUME1\ADMINI1\LOCALS~1\Temp\sapinst_exe.1164.1274306683
    jre\jce\US_export_policy.jar
            4 file(s) copied.
    Start mode: gui (Gui only)
    Connection parameters:
      GuiServer host: localhost
      GuiServer port: 21212
      GUI mode      : normal
    Starting...
    <<< frog.jar: version 7.20.12 06/06/08 sap.theme: null >>>
    Exit status of child: 1

  • Connection refused Abobe interactive form

    Hi all,
    I recieve the following error when I try to run my adobe for over web services.... I cannot understand why since all wsdl files etc are available..
    Any ideas?
    Cheers,
    Max
    com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to  GENERATEPDF
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:418)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:895)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:319)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1288)
         at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:355)
         at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:548)
         at com.sap.portal.pb.PageBuilder.wdDoInit(PageBuilder.java:192)
         at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoInit(InternalPageBuilder.java:150)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:754)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:289)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: PDFDocument Processor failed to process Render Request.
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:55)
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:100)
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:123)
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:248)
         ... 48 more
    Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
         com.sap.exception.io.SAPIOException: <Localization failed: ResourceBundle=com.sap.exception.io.IOResourceBundle, ID=Could not create SSL socket:java.net.ConnectException Connection refused: connect, Arguments: []> : Cant find resource for bundle java.util.PropertyResourceBundle, key Could not create SSL socket:java.net.ConnectException Connection refused: connect
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:408)
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.render(PDFObject.java:3948)
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRenderHandler.handle(PDFDocumentRenderHandler.java:148)
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:52)
         ... 51 more
    Caused by: java.rmi.RemoteException: Service call exception; nested exception is:
         com.sap.exception.io.SAPIOException: <Localization failed: ResourceBundle='com.sap.exception.io.IOResourceBundle', ID='Could not create SSL socket:java.net.ConnectException Connection refused: connect', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key Could not create SSL socket:java.net.ConnectException Connection refused: connect
         at com.sap.tc.webdynpro.adsproxy.SecConfigBindingStub.rpData(SecConfigBindingStub.java:89)
         at com.sap.tc.webdynpro.adsproxy.SecConfigBindingStub.rpData(SecConfigBindingStub.java:99)
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:385)
         ... 54 more
    Caused by: com.sap.exception.io.SAPIOException: <Localization failed: ResourceBundle='com.sap.exception.io.IOResourceBundle', ID='Could not create SSL socket:java.net.ConnectException Connection refused: connect', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key Could not create SSL socket:java.net.ConnectException Connection refused: connect
         at com.sap.engine.services.webservices.jaxm.soap.SSLUtilUsingHttpsLibImpl.createSSLSocket(SSLUtilUsingHttpsLibImpl.java:93)
         at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initStreamsFromSocket(HTTPSocket.java:667)
         at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initializeStreams(HTTPSocket.java:470)
         at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getOutputStream(HTTPSocket.java:427)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.HTTPTransport.getRequestStream(HTTPTransport.java:355)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.outputMessage(MimeHttpBinding.java:550)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1432)
         at com.sap.tc.webdynpro.adsproxy.SecConfigBindingStub.rpData(SecConfigBindingStub.java:82)
         ... 56 more
    Caused by: java.net.ConnectException: Connection refused: connect
         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:464)
         at java.net.Socket.connect(Socket.java:414)
         at java.net.Socket.<init>(Socket.java:310)
         at java.net.Socket.<init>(Socket.java:125)
         at iaik.security.ssl.SSLSocket.<init>(Unknown Source)
         at com.sap.security.core.server.https.SecureConnectionFactory.createSocket(SecureConnectionFactory.java:984)
         at com.sap.security.core.server.https.SecureConnectionFactory.createSocket(SecureConnectionFactory.java:969)
         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:324)
         at com.sap.engine.services.webservices.jaxm.soap.SSLUtilUsingHttpsLibImpl.createSSLSocket(SSLUtilUsingHttpsLibImpl.java:77)
         ... 63 more

    Hi Thanks for your reply!
    When I run the test from the j2ee engine that runs the ADS it works fine but when running the test from the j2ee that runs the WebDynpro application i fails with content type text/html, any ideas why?
    rgds,
    Max

  • Jndi ConnectException Connection refused

    Please can someone help me to understand why I am getting a ConnectException with the following code.
    String PROVIDER_URL = "ormi://localhost:23791";
    String INITIAL_CONTEXT_FACTORY = "com.evermind.server.rmi.RMIInitialContextFactory";
    Properties prop = new Properties();
    prop.put(Context.INITIAL_CONTEXT_FACTORY, INITIAL_CONTEXT_FACTORY);
    prop.put(Context.PROVIDER_URL, PROVIDER_URL);
    InitialContext context = new InitialContext(prop);
    return (MimirLoginSessionEJBLocalHome) context.lookup(
    "java:comp/env/ejb/local/MimirLoginSessionEJB");
    javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is:
         java.net.ConnectException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
    com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:153)

    yes it is!!! sorry i need to sleep.
    do you know why now i am trying to exec the client and get this error?
    javax.ejb.EJBException: EJB Exception: ; nested exception is:
         java.lang.NoClassDefFoundError: com/mysql/jdbc/Connection; nested exception is: java.rmi.RemoteException: EJB Exception: ; nested exception is:
         java.lang.NoClassDefFoundError: com/mysql/jdbc/Connection
    java.rmi.RemoteException: EJB Exception: ; nested exception is:
         java.lang.NoClassDefFoundError: com/mysql/jdbc/Connection
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at test.model.SessionEJB_qxt9um_SessionEJBRemoteImpl_1032_WLStub.getDescripcionextraFindAll(Unknown Source)
         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 weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:73)
         at $Proxy0.getDescripcionextraFindAll(Unknown Source)
         at test.client.SessionEJBRemoteClient.main(SessionEJBRemoteClient.java:36)
    Caused by: java.lang.NoClassDefFoundError: com/mysql/jdbc/Connection
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    the Model Project has got the MySQL jar library
    Thank you!

  • Applications Browser Logon & Connection Refused & Cannot reconnect to gatew

    Help,
    When running applications logon
    http://bh001.home:8000/OA_HTML/AppsLocalLogin.jsp
    I recieve a connection refused error.
    Associated with this is the following when running "adstrtal.sh APPLSYS/APPS" are the following errors
    =============================================================
    You are running adstrtal.sh version 115.14
    Executing service control script:
    /opt/oracle/viscomn/admin/scripts/VIS_bh001/adapcctl.sh start
    script returned:
    adapcctl.sh version 115.43
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    Starting Apache Web Server Listener (dedicated HTTP) ...
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    Apache Web Server Listener :httpd ( pid 11104 ) is already running.
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    adapcctl.sh: exiting with status 2
    .end std out.
    .end err out.
    Executing service control script:
    /opt/oracle/viscomn/admin/scripts/VIS_bh001/adalnctl.sh start
    script returned:
    adalnctl.sh version
    Checking for FNDFS executable.
    Listener APPS_VIS has already been started.
    adalnctl.sh: exiting with status 2
    .end std out.
    .end err out.
    Executing service control script:
    /opt/oracle/viscomn/admin/scripts/VIS_bh001/adcmctl.sh start
    script returned:
    You are running adcmctl.sh version 115.20
    Starting concurrent manager for VIS ...
    Starting VIS_1007@VIS Internal Concurrent Manager
    Default printer is noprint
    adcmctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /opt/oracle/viscomn/admin/scripts/VIS_bh001/adfrmctl.sh start
    script returned:
    You are running adfrmctl.sh version 115.34
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    forms server for VIS on port 9000 already started.
    adfrmctl.sh: exiting with status 2
    .end std out.
    .end err out.
    Executing service control script:
    /opt/oracle/viscomn/admin/scripts/VIS_bh001/adrepctl.sh start
    script returned:
    You are running adrepctl.sh version 115.29
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    Reports Server for VIS is already started.
    adrepctl.sh: exiting with status 2
    .end std out.
    .end err out.
    Executing service control script:
    /opt/oracle/viscomn/admin/scripts/VIS_bh001/adfmcctl.sh start
    script returned:
    You are running adfmcctl.sh version 115.17
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    forms load balancing client for VIS already running.
    adfmcctl.sh: exiting with status 2
    .end std out.
    .end err out.
    Executing service control script:
    /opt/oracle/viscomn/admin/scripts/VIS_bh001/adfmsctl.sh start
    script returned:
    You are running adfmsctl.sh version 115.13
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    forms metrics serverfor VIS is already started.
    adfmsctl.sh: exiting with status 2
    .end std out.
    .end err out.
    Executing service control script:
    /opt/oracle/viscomn/admin/scripts/VIS_bh001/jtffmctl.sh start
    script returned:
    You are running jtffmctl.sh version 115.16
    Validating Fulfillment patch level via /opt/oracle/viscomn/java
    Fulfillment patch level validated.
    Starting Fulfillment Server for VIS on port 9300 ...
    jtffmctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /opt/oracle/viscomn/admin/scripts/VIS_bh001/addisctl.sh start
    script returned:
    addisctl.sh version 115.14
    Oracle Discoverer OAD is running as PID 11904
    Oracle Discoverer OSAGENT is running as PID 11897
    Oracle Discoverer LOCATOR is running as PID 11911
    addisctl.sh: exiting with status 2
    .end std out.
    .end err out.
    All enabled services for this node are started.
    Check logfile /opt/oracle/viscomn/admin/log/VIS_bh001/10071410.log for details
    Exiting with status 0
    You have new mail in /var/spool/mail/oracle
    [oracle@bh001 oracle]$ vi /opt/oracle/viscomn/admin/log/VIS_bh001/10071410.log
    [oracle@bh001 oracle]$ cat /opt/oracle/viscomn/admin/log/VIS_bh001/10071410.log
    Setting service Oracle Apache Server VIS_bh001 to mode 2
    Executing service control script:
    /opt/oracle/viscomn/admin/scripts/VIS_bh001/adapcctl.sh start
    Timeout specified in context file: 100 second(s)
    script returned:
    adapcctl.sh version 115.43
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    Starting Apache Web Server Listener (dedicated HTTP) ...
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    Apache Web Server Listener :httpd ( pid 11104 ) is already running.
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    adapcctl.sh: exiting with status 2
    .end std out.
    .end err out.
    Setting service OracleTNSListener80APPS_VIS_bh001 to mode 2
    Executing service control script:
    /opt/oracle/viscomn/admin/scripts/VIS_bh001/adalnctl.sh start
    Timeout specified in context file: 100 second(s)
    script returned:
    adalnctl.sh version
    Checking for FNDFS executable.
    Listener APPS_VIS has already been started.
    adalnctl.sh: exiting with status 2
    .end std out.
    .end err out.
    Setting service OracleConcMgrVIS_bh001 to mode 2
    Executing service control script:
    /opt/oracle/viscomn/admin/scripts/VIS_bh001/adcmctl.sh start
    Timeout specified in context file: 1000 second(s)
    script returned:
    You are running adcmctl.sh version 115.20
    Starting concurrent manager for VIS ...
    Starting VIS_1007@VIS Internal Concurrent Manager
    Default printer is noprint
    adcmctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Setting service OracleFormsServer-Forms60VIS_bh001 to mode 2
    Executing service control script:
    /opt/oracle/viscomn/admin/scripts/VIS_bh001/adfrmctl.sh start
    Timeout specified in context file: 100 second(s)
    script returned:
    You are running adfrmctl.sh version 115.34
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    forms server for VIS on port 9000 already started.
    adfrmctl.sh: exiting with status 2
    .end std out.
    .end err out.
    Setting service OracleReportServer-Rep60_VIS to mode 2
    Executing service control script:
    /opt/oracle/viscomn/admin/scripts/VIS_bh001/adrepctl.sh start
    Timeout specified in context file: 100 second(s)
    script returned:
    You are running adrepctl.sh version 115.29
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    Reports Server for VIS is already started.
    adrepctl.sh: exiting with status 2
    .end std out.
    .end err out.
    Setting service Oracle Metrics Client VIS_bh001 to mode 2
    Executing service control script:
    /opt/oracle/viscomn/admin/scripts/VIS_bh001/adfmcctl.sh start
    Timeout specified in context file: 100 second(s)
    script returned:
    You are running adfmcctl.sh version 115.17
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    forms load balancing client for VIS already running.
    adfmcctl.sh: exiting with status 2
    .end std out.
    .end err out.
    Setting service Oracle Metrics Server VIS_bh001 to mode 2
    Executing service control script:
    /opt/oracle/viscomn/admin/scripts/VIS_bh001/adfmsctl.sh start
    Timeout specified in context file: 100 second(s)
    script returned:
    You are running adfmsctl.sh version 115.13
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    forms metrics serverfor VIS is already started.
    adfmsctl.sh: exiting with status 2
    .end std out.
    .end err out.
    Setting service Oracle Fulfillment Server VIS_bh001 to mode 2
    Executing service control script:
    /opt/oracle/viscomn/admin/scripts/VIS_bh001/jtffmctl.sh start
    Timeout specified in context file: 100 second(s)
    script returned:
    You are running jtffmctl.sh version 115.16
    Validating Fulfillment patch level via /opt/oracle/viscomn/java
    Fulfillment patch level validated.
    Starting Fulfillment Server for VIS on port 9300 ...
    jtffmctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Setting service Oracle Discoverer services VIS_bh001 to mode 2
    Executing service control script:
    /opt/oracle/viscomn/admin/scripts/VIS_bh001/addisctl.sh start
    Timeout specified in context file: 300 second(s)
    script returned:
    addisctl.sh version 115.14
    Oracle Discoverer OAD is running as PID 11904
    Oracle Discoverer OSAGENT is running as PID 11897
    Oracle Discoverer LOCATOR is running as PID 11911
    addisctl.sh: exiting with status 2
    .end std out.
    .end err out.
    [Service Control Execution Report]
    The report format is:
    <Service> <Script> <Status>
    Oracle Apache Server VIS_bh001 adapcctl.sh Already Started
    OracleTNSListener80APPS_VIS_bh001 adalnctl.sh Already Started
    OracleConcMgrVIS_bh001 adcmctl.sh Started
    OracleFormsServer-Forms60VIS_bh001 adfrmctl.sh Already Started
    OracleReportServer-Rep60_VIS adrepctl.sh Already Started
    Oracle Metrics Client VIS_bh001 adfmcctl.sh Already Started
    Oracle Metrics Server VIS_bh001 adfmsctl.sh Already Started
    Oracle Fulfillment Server VIS_bh001 jtffmctl.sh Started
    Oracle Discoverer services VIS_bh001 addisctl.sh Already Started
    Oracle Restricted Apache Server VIS_bh001 adaprstctl.sh Disabled
    Oracle Apache Server VIS_bh001 for PL/SQL adapcctl.sh Disabled
    Oracle TCF SocketServer VIS_bh001 adtcfctl.sh Disabled
    Oracle ICSM VIS_bh001 ieoicsm.sh Disabled
    Oracle iProcurement Bulk Loader VIS_bh001 icxblkctl.sh Disabled
    ServiceControl is exiting with status 0
    ======================================================================
    I have opened port 8000 in iptables and on my router/gateway 192.168.1.1
    Any help would be appreciated.
    Regards,
    Ian

    Guys
    I've installed Vision Demo and able to access it via FireFox download Jinitiator and login in the applet application.However i can't extract any information as my con-current manager seems to be deactivated or unable to start.
    Has it something to do with my dbc settings given below.
    Kindly guide
    #DB Settings
    #Sun Nov 11 18:57:53 GMT+05:00 2007
    APPS_JDBC_DRIVER_TYPE=THIN
    APPL_SERVER_ID=3EA7999F112FD6D8E040010A526B037820977692751688897870234607460780
    TWO_TASK=VIS
    GUEST_USER_PWD=GUEST/ORACLE
    DB_HOST=ibm_vision.hrms.com
    DB_NAME=VIS
    FNDNAM=APPS
    GWYUID=APPLSYSPUB/PUB
    DB_PORT=1521
    Regards

Maybe you are looking for