ODI, can't start scenario running in different machines

Hello All
Well i am working in a consulting proyect where I need ODI and BPEL to connect each other.
I have installed Oracle SOA Suite for weblogic 9.2 in a machine with ip 192.168.1.108
I have installed ODI as a server in another machine ip 192.168.1.109
I have installed Oracle Data Base in the of ODI 192.168.1.109
Then I installed ODI CLIENT in my laptop (i mean, the topology manager, designer, operator all in my laptop)
I have made a simple example where i created a "interface in odi" using ODI designer and the a package in which a call a bpel process and it works fine
Now i need to create a bpel process to call a ODI SCENARIO...but i am stock in it.
I have done the following:
1. I deployed the AXIS2 webservice and it's working ok.
2. I have started and ODI agent and I tested it using the topology manager and it is OK
3. I created and deployed a bpel process to call the ODI scenario
When i execute the instance of bpel, i get the following error in the AGENT (which is running in the same machine where ODI SERVER is installed 192.168.1.109)
Server Launched
java.lang.NullPointerException
        at com.sunopsis.dwg.dbobj.SnpScen.getObjectLst(SnpScen.java)
        at com.sunopsis.dwg.dbobj.SnpScen.getScenarionByCodeAndVersion(SnpScen.java)
        at com.sunopsis.dwg.cmd.DwgCommandScenario.b(DwgCommandScenario.java)
        at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
        at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
        at com.sunopsis.dwg.cmd.e.t(e.java)
        at com.sunopsis.dwg.cmd.h.y(h.java)
        at com.sunopsis.dwg.cmd.e.run(e.java)
        at java.lang.Thread.run(Thread.java:595)
java.lang.NullPointerException
        at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
        at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
        at com.sunopsis.dwg.cmd.e.t(e.java)
        at com.sunopsis.dwg.cmd.h.y(h.java)
        at com.sunopsis.dwg.cmd.e.run(e.java)
        at java.lang.Thread.run(Thread.java:595)
And of course, the Scenario doensn't start.
I have done many many tests, but i can't make it work.
In my last test, I tried to invoke an odi scenario using the STARTSCEN.bat
I followed the instructions in the otn thread {thread:id=839508}
I modified the odiparams.cmd like this
set ODI_SECU_DRIVER=oracle.jdbc.driver.OracleDriver
set ODI_SECU_URL=jdbc:oracle:thin:@192.168.1.109:1521:soadesa
set ODI_SECU_USER=ODIMASTER
set ODI_SECU_ENCODED_PASS=ccfHG.0VJJ73yntbtLhr7xxbls
set ODI_SECU_WORK_REP=ODIWORK
set ODI_USER=SUPERVISOR
set ODI_ENCODED_PASS=fJyH6P1neaZHeWG1cxpicApI Launched the agent in my laptop (local)
and i got the same error in the ms-dos console where I use the startscen.bat program
startscen CREATE_BPEL_HWF_TASKS 002 Global
Starting scenario CREATE_BPEL_HWF_TASKS 002 in context Global ...
java.lang.NullPointerException
        at com.sunopsis.dwg.dbobj.SnpScen.getObjectLst(SnpScen.java)
        at com.sunopsis.dwg.dbobj.SnpScen.getScenarionByCodeAndVersion(SnpScen.java)
        at com.sunopsis.dwg.cmd.DwgCommandScenario.b(DwgCommandScenario.java)
        at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
        at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
        at com.sunopsis.dwg.cmd.e.t(e.java)
        at com.sunopsis.dwg.cmd.e.y(e.java)
        at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
        at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
        at oracle.odi.Agent.main(Agent.java)
java.lang.NullPointerException
        at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
        at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
        at com.sunopsis.dwg.cmd.e.t(e.java)
        at com.sunopsis.dwg.cmd.e.y(e.java)
        at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
        at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
        at oracle.odi.Agent.main(Agent.java)
java.lang.NullPointerException
        at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
        at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
        at com.sunopsis.dwg.cmd.e.t(e.java)
        at com.sunopsis.dwg.cmd.e.y(e.java)
        at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
        at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
        at oracle.odi.Agent.main(Agent.java)Does anyone know what could the possible problem be???
I have tested the connection to the schemas/user of the database (ODIMASTER and ODIWORK repositories) and it's OK
I am kind of new using ODI, but i have made the same TEST in a Virtual Machine installed in my laptop, where i use a Express Edtion Database, a BPEL console, and ODI CLIENTE (everything local) and all the tests works ok.
1. Call a bpel web service from ODI ....OK
2. Call a ODI scenario from BPEL using the AXIS2 web service ....OK
3. start an scenario using the msdos console STARTSCEN ....OK
I also checked that the SNP_REM_REP and SNP_LOC_REPW columns are the same in the master and work repositories, but it's OK
What could be my problem?
I think i can be related to the MASTER and WORK repositories, but i don't know what more could i check
Thanks in advance

It was a mistake with the parameters using the ODIparams.sh

Similar Messages

  • Close Firefox, restart it says firefox can not start - already running, tried deleting the parent.lock it doesn't exist. I try to turn off my computer it says WidgiBho needs to close, I tell it to close but computer never shuts down

    close Firefox, restart it says firefox can not start - already running, tried deleting the parent.lock it doesn't exist. I try to turn off my computer it says WidgiBho needs to close, I tell it to close but computer never shuts down

    Did you try to wait a bit longer before restarting Firefox to give Firefox more time to close down completely?
    See "Hang at exit":
    *http://kb.mozillazine.org/Firefox_hangs
    *https://support.mozilla.com/kb/Firefox+hangs

  • RMIRegistry and rmiserver running  on different machines

    hi,
    Is it possible that RMIRegistry and rmiserver run on different machines?

    Its possible, but you cannot bind objects into the registry from a remote machine, due to security restrictions in force in Sun's RMI implementation.

  • Can't start manager server on other machine from admin console

    hi, m fredzh
    i have weblogic 10.3.2 where i created a cluster named cluster1 on production mode
    the machines and servers list as follow:
    cluster1 192.168.1.100
    --machine1
    --server1 192.168.1.100
    --machine2
    -server2 192.168.1.101
    i create nodemanager on machine2, and set the type as ssl, the listener address 192.168.1.101,
    then login on 192.168.1.101, and run wlst.sh , nmEnroll and then start startNodemanaged.sh ..
    start server2 on the admin console(on 192.168.1.100), failed and the log as follow:
    can anbody help me, thank you..
    ==============================================================================
    <Critical> <WebLogicServer> <localhost.localdomain> <managerServer2> <main> <<WLS Kernel>> <> <> <1286788326928> <BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError: java.lang.reflect.InvocationTargetException
    java.lang.AssertionError: java.lang.reflect.InvocationTargetException
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy._invokeServiceMethod(DescriptorManager.java:175)
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy.decrypt(DescriptorManager.java:192)
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl.decrypt(DescriptorManager.java:114)
    at weblogic.descriptor.internal.AbstractDescriptorBean._decrypt(AbstractDescriptorBean.java:991)
    at weblogic.management.configuration.SecurityConfigurationMBeanImpl.getCredential(SecurityConfigurationMBeanImpl.java:709)
    at weblogic.security.internal.ServerPrincipalValidatorImpl.getSecret(ServerPrincipalValidatorImpl.java:88)
    at weblogic.security.internal.ServerPrincipalValidatorImpl.sign(ServerPrincipalValidatorImpl.java:67)
    at weblogic.security.service.PrivilegedActions$SignPrincipalAction.run(PrivilegedActions.java:62)
    at java.security.AccessController.doPrivileged(Native Method)
    at weblogic.security.service.SecurityServiceManager.createServerID(SecurityServiceManager.java:1098)
    at weblogic.security.service.SecurityServiceManager.getServerID(SecurityServiceManager.java:1111)
    at weblogic.security.service.SecurityServiceManager.sendASToWire(SecurityServiceManager.java:602)
    at weblogic.server.channels.ChannelService.resetQOS(ChannelService.java:284)
    at weblogic.server.channels.ChannelService.start(ChannelService.java:250)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: 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 weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy._invokeServiceMethod(DescriptorManager.java:173)
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy.decrypt(DescriptorManager.java:192)
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl.decrypt(DescriptorManager.java:114)
    at weblogic.descriptor.internal.AbstractDescriptorBean._decrypt(AbstractDescriptorBean.java:991)
    at weblogic.management.configuration.SecurityConfigurationMBeanImpl.getCredential(SecurityConfigurationMBeanImpl.java:709)
    at weblogic.security.internal.ServerPrincipalValidatorImpl.getSecret(ServerPrincipalValidatorImpl.java:88)
    at weblogic.security.internal.ServerPrincipalValidatorImpl.sign(ServerPrincipalValidatorImpl.java:67)
    at weblogic.security.service.PrivilegedActions$SignPrincipalAction.run(PrivilegedActions.java:62)
    at java.security.AccessController.doPrivileged(Native Method)
    at weblogic.security.service.SecurityServiceManager.createServerID(SecurityServiceManager.java:1098)
    at weblogic.security.service.SecurityServiceManager.getServerID(SecurityServiceManager.java:1111)
    at weblogic.security.service.SecurityServiceManager.sendASToWire(SecurityServiceManager.java:602)
    at weblogic.server.channels.ChannelService.resetQOS(ChannelService.java:284)
    at weblogic.server.channels.ChannelService.start(ChannelService.java:250)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: weblogic.security.internal.encryption.EncryptionServiceException: com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
    at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:125)
    at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:173)
    at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:96)
    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.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy._invokeServiceMethod(DescriptorManager.java:173)
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy.decrypt(DescriptorManager.java:192)
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl.decrypt(DescriptorManager.java:114)
    at weblogic.descriptor.internal.AbstractDescriptorBean._decrypt(AbstractDescriptorBean.java:991)
    at weblogic.management.configuration.SecurityConfigurationMBeanImpl.getCredential(SecurityConfigurationMBeanImpl.java:709)
    at weblogic.security.internal.ServerPrincipalValidatorImpl.getSecret(ServerPrincipalValidatorImpl.java:88)
    at weblogic.security.internal.ServerPrincipalValidatorImpl.sign(ServerPrincipalValidatorImpl.java:67)
    at weblogic.security.service.PrivilegedActions$SignPrincipalAction.run(PrivilegedActions.java:62)
    at java.security.AccessController.doPrivileged(Native Method)
    at weblogic.security.service.SecurityServiceManager.createServerID(SecurityServiceManager.java:1098)
    at weblogic.security.service.SecurityServiceManager.getServerID(SecurityServiceManager.java:1111)
    at weblogic.security.service.SecurityServiceManager.sendASToWire(SecurityServiceManager.java:602)
    at weblogic.server.channels.ChannelService.resetQOS(ChannelService.java:284)
    at weblogic.server.channels.ChannelService.start(ChannelService.java:250)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Edited by: fredzh on 2010-10-12 下午6:54

    hi,Jay
    i followed the steps as follow:
    1、change prod mode to dev
    2、modified the config.xml entrys on the all two servers:
    <node-manager-password-encrypted>test</node-manager-password-encrypted>
    <credential-encrypted>test</credential-encrypted>
    <embedded-ldap>
    <name>cluster_domain</name>
    <credential-encrypted>test</credential-encrypted>
    </embedded-ldap>
    3、enrolled the node, then started the two adminservers, started server2's nodemanager..server2 can be started from the cluster admin console.
    4、change the dev mode to prod mode on admin console, it failed throw error:
    "in production mode, it's not allowed to set a clear text value to the property: CredentialEncrypted of SecurityConfigurationMBean"
    i checked the config.xml ,the entrys i had changed were not aotomatically encrypted,may i manually encryp the clear text value? ..follow is the config.xml :
    <?xml version='1.0' encoding='UTF-8'?>
    <domain xmlns="http://xmlns.oracle.com/weblogic/domain" xmlns:sec="http://xmlns.oracle.com/weblogic/security" xmlns:wls="http://xmlns.oracle.com/weblogic/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/security/xacml http://xmlns.oracle.com/weblogic/security/xacml/1.0/xacml.xsd http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator/1.0/passwordvalidator.xsd http://xmlns.oracle.com/weblogic/domain http://xmlns.oracle.com/weblogic/1.0/domain.xsd http://xmlns.oracle.com/weblogic/security http://xmlns.oracle.com/weblogic/1.0/security.xsd http://xmlns.oracle.com/weblogic/security/wls http://xmlns.oracle.com/weblogic/security/wls/1.0/wls.xsd">
    <name>cluster_domain</name>
    <domain-version>10.3.2.0</domain-version>
    <security-configuration>
    <name>cluster_domain</name>
    <realm>
    <sec:authentication-provider xsi:type="wls:default-authenticatorType"></sec:authentication-provider>
    <sec:authentication-provider xsi:type="wls:default-identity-asserterType">
    <sec:active-type>AuthenticatedUser</sec:active-type>
    </sec:authentication-provider>
    <sec:role-mapper xmlns:xac="http://xmlns.oracle.com/weblogic/security/xacml" xsi:type="xac:xacml-role-mapperType"></sec:role-mapper>
    <sec:authorizer xmlns:xac="http://xmlns.oracle.com/weblogic/security/xacml" xsi:type="xac:xacml-authorizerType"></sec:authorizer>
    <sec:adjudicator xsi:type="wls:default-adjudicatorType"></sec:adjudicator>
    <sec:credential-mapper xsi:type="wls:default-credential-mapperType"></sec:credential-mapper>
    <sec:cert-path-provider xsi:type="wls:web-logic-cert-path-providerType"></sec:cert-path-provider>
    <sec:cert-path-builder>WebLogicCertPathProvider</sec:cert-path-builder>
    <sec:name>myrealm</sec:name>
    <sec:password-validator xmlns:pas="http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator" xsi:type="pas:system-password-validatorType">
    <sec:name>SystemPasswordValidator</sec:name>
    <pas:min-password-length>8</pas:min-password-length>
    <pas:min-numeric-or-special-characters>1</pas:min-numeric-or-special-characters>
    </sec:password-validator>
    </realm>
    <default-realm>myrealm</default-realm>
    <anonymous-admin-lookup-enabled>false</anonymous-admin-lookup-enabled>
    <credential-encrypted>test</credential-encrypted>
    <web-app-files-case-insensitive>false</web-app-files-case-insensitive>
    <compatibility-connection-filters-enabled>false</compatibility-connection-filters-enabled>
    <node-manager-username>weblogic</node-manager-username>
    <node-manager-password-encrypted>test</node-manager-password-encrypted>
    <principal-equals-case-insensitive>false</principal-equals-case-insensitive>
    <principal-equals-compare-dn-and-guid>false</principal-equals-compare-dn-and-guid>
    <downgrade-untrusted-principals>false</downgrade-untrusted-principals>
    <enforce-strict-url-pattern>true</enforce-strict-url-pattern>
    <cross-domain-security-enabled>false</cross-domain-security-enabled>
    </security-configuration>
    <jta>
    <security-interop-mode>default</security-interop-mode>
    </jta>
    <server>
    <name>AdminServer</name>
    <ssl>
    <hostname-verifier xsi:nil="true"></hostname-verifier>
    <hostname-verification-ignored>true</hostname-verification-ignored>
    <export-key-lifespan>500</export-key-lifespan>
    <client-certificate-enforced>false</client-certificate-enforced>
    <two-way-ssl-enabled>false</two-way-ssl-enabled>
    <ssl-rejection-logging-enabled>true</ssl-rejection-logging-enabled>
    <inbound-certificate-validation>BuiltinSSLValidationOnly</inbound-certificate-validation>
    <outbound-certificate-validation>BuiltinSSLValidationOnly</outbound-certificate-validation>
    <allow-unencrypted-null-cipher>false</allow-unencrypted-null-cipher>
    <use-server-certs>false</use-server-certs>
    </ssl>
    <listen-port>7110</listen-port>
    <listen-address></listen-address>
    </server>
    <server>
    <name>server2</name>
    <machine>machine2</machine>
    <listen-port>7110</listen-port>
    <listen-address>192.168.1.101</listen-address>
    <server-start>
    <java-vendor>Sun</java-vendor>
    <java-home>/opt/jdk1.6.0_21</java-home>
    <bea-home>/root/Oracle/Middleware</bea-home>
    <root-directory>/root/Oracle/Middleware/user_projects/domains/cluster_domain</root-directory>
    <username>weblogic</username>
    <password-encrypted>{AES}xhSI75AxXtXdMrCXRgA2uY5pfcxUGE9X4YXTjfe1XEY=</password-encrypted>
    </server-start>
    </server>
    <embedded-ldap>
    <name>cluster_domain</name>
    <credential-encrypted>test</credential-encrypted>
    </embedded-ldap>
    <configuration-version>10.3.2.0</configuration-version>
    <machine xsi:type="unix-machineType">
    <name>machine2</name>
    <node-manager>
    <nm-type>SSL</nm-type>
    <listen-address>192.168.1.101</listen-address>
    <listen-port>5556</listen-port>
    <debug-enabled>false</debug-enabled>
    </node-manager>
    </machine>
    <admin-server-name>AdminServer</admin-server-name>
    </domain>
    Edited by: fredzh on 2010-10-13 下午7:57

  • RMI client running from different machine giving error

    HI all
    I am trying to run the sample application getStart hello world.
    I am able to run the java applet from the same machine ....
    but i am get error when i am trying run client applet from the different machine .
    (HelloApplet exception: access denied (java.net.SocketPermission)
    client applet on machine1 and server and registory on machine2 in same lan .
    i copied the Helloapplet.class and Helloclient.html to machine1.
    appletviewer Helloclient.html
    but the java version is different in both machines.......
    can any one give some idea ....
    the errror i am geting is :
    HelloApplet exception: access denied (java.net.SocketPermission Neind-ws-003 res
    olve)
    java.security.AccessControlException: access denied (java.net.SocketPermission N
    eind-ws-003 resolve)
    at java.security.AccessControlContext.checkPermission(AccessControlConte
    xt.java:272)
    at java.security.AccessController.checkPermission(AccessController.java:
    399)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
    at java.lang.SecurityManager.checkConnect(SecurityManager.java:1042)
    at java.net.InetAddress.getAllByName0(InetAddress.java:559)
    at java.net.InetAddress.getAllByName0(InetAddress.java:540)
    at java.net.InetAddress.getByName(InetAddress.java:449)
    at java.net.Socket.<init>(Socket.java:100)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirect
    SocketFactory.java:25)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMaster
    SocketFactory.java:120)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:499)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:190
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:174)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:318)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at java.rmi.Naming.lookup(Naming.java:84)
    at examples.hello.HelloApplet.init(HelloApplet.java:23)
    at sun.applet.AppletPanel.run(AppletPanel.java:344)
    at java.lang.Thread.run(Thread.java:484)
    The helloapplet.java code is :
    package examples.hello;
    import java.applet.Applet;
    import java.awt.Graphics;
    import java.rmi.Naming;
    import java.rmi.RemoteException;
    public class HelloApplet extends Applet {
    String message = "blank";
    // "obj" is the identifier that we'll use to refer
    // to the remote object that implements the "Hello"
    // interface
    Hello obj = null;
    public void init() {
         try {
              System.out.println("Path looking: " +getCodeBase().getHost());
         //obj = (Hello)Naming.lookup("//" +
              //     getCodeBase().getHost() + "/HelloServer");
                   obj = (Hello)Naming.lookup("//Neind-ws-003/HelloServer");
         message = obj.sayHello();
         } catch (Exception e) {
         System.out.println("HelloApplet exception: " +
                        e.getMessage());
         e.printStackTrace();
    public void paint(Graphics g) {
         g.drawString(message, 25, 50);
    The helloclient.html code:
    <HTML>
    <title>Hello World</title>
    <center> <h1>Hello World</h1> </center>
    The message from the HelloServer is:
    <p>
    <applet
              code="examples.hello.HelloApplet"
    width=500 height=120>
    </applet>
    </HTML>

    Your problem is at the following line.
    obj = (Hello)Naming.lookup("//Neind-ws-003/HelloServer");
    The line you had commented beforehand is
    //obj = (Hello)Naming.lookup("//" +
    // getCodeBase().getHost() + "/HelloServer");
    This worked because the applet was being retreived from the same server where the RMI server exists.
    Remember, applets can only connect themselfs to the same host they are stored in and retreived from. This is because of VM, the sandbox does not allow you to connect to other machines other than the server where it resides on. If you use a applet viewer it might work if you loosen the security features. On a browser i do not belive it can be done. Maybe if you modify your security options for the VM you are able to achieve something, but personally i'm going for the "It cannot be done " answer because of what I said before.
    Hope this helps
    If any trouble then reply and I'll answer later.
    Rui P.

  • Help required to put message to a queue running on different machine.

    Hi,
    I need to put a message to a queue which is on Queue manager running at different server. What I have are name of queue manager, name of queue and message to be put on the queue.
    Can you please help me as I m new to this area.
    Thanks alot.
    Omesh

    Your question is not about scripting. It is about how to use a third party system utility.  Post your questions here:
    http://forum.sysinternals.com/miscellaneous-utilities_forum11.html
    ¯\_(ツ)_/¯

  • Static field for apps running on different machines

    Hi:
    Let us say I have a class
    public class Client(){
    private int static someField;I know if you are running Client.java on a single machine, obviously you will only get ONE incarnation of someField because it is static.
    Now, let us say I run the Client.java on different machines, then there will be one someField genearted per each JVM , is that right??
    can someone confirm??
    I did a serach on Static field on the Forum, but nobody really touched on running it on different machines, so I thought I ask...

    There will be one instance of the static variable per JVM regardless of whether the JVMs are running on the same machine or different machines.

  • The browser can not start after running

    I am working on jdeve10.2, because I deinstall the mozilla on my workstation, now I dont have bowser to start after I run the application, I can only paste the url on a new open IE. how can I fix it?
    thanks

    Go into tools->preferences->Web browser and proxy and set the path to your browser.
    And please use JDeveloper 10.1.3 and not the old JDeveloper 10.1.2 - you are missing hundreds of new features.

  • Can more than one LV app running on different machines have open references to the same device at the same time?

    I want to control a bunch of FP devices from one PC and serve this info to some satelites PC who will be on the same network. Most of the time,only the one PC will be interacting with all of the FP devices.
    In the event this main PC fails, I want to be able to quickly tell all of my FP devices to go into a safe state. I have a mechanism that will tell me the main is down. When this happens, I want to write the correct state to all of the output relays.
    To pull this off, I wanted all of the satelites to open FP connections to the relays that have to be driven to the safe state at starrt-up. When the failure of the main is detected, I want to be able t
    o drive the relays to the correct state with a minimal amout of delay. My experiments with using FP explorer with a single PC controlling a FP device in a LV app has showed that I can write from ether place any time I wantedwith no apparent interfearence. I this same functionality available from multiple machines?
    The alternative to this approach would target a watch-dog app at each of the FP controllers and have them fail-safe their outputs but this means I need to include support of RT in this app, and I was hoping to keep this simple. Each of the FP controllers would also have to be smart enough to know which if outputs should be acted on. i would alsolike some mechanism of knowing this has happened (for trouble-shooting purposes)
    I thought I read this was built into FP, but that may have applied to specific devices. I am not sure.
    Question:
    What is the simplest approach to setting my outputs quickly to a safe state when then main PC goes down?
    Thank you for reading,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

    Ben,
    The FP-100X, FP-160X and FP-20XX series of network modules all have communication watchdogs. The communication watchdogs are used to monitor the communications between host computers and the network module. If there are no communications within the timeout period, pre-programmed settings can be applied to each channel as desired. For proper operation, a communications watchdog has to be enabled in three locations; in the network module (enable/disable and set timeout period), in the I/O module (Enable/Enable on Use (FP-100X series only)/Disable) and on each individual channel. For relays/discrete outputs, you can program what state the channel goes to (on/off), for analog outputs, you can set the exact output value the channel goes to.
    For more in
    formation, please see the following tutorial. It explains in detail how the watchdogs work.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/FB7AABACC2BAB99686256C7E0080E60A?opendocument&node=11590_US
    Regards,
    Aaron

  • Can't start with Snow Leopard Time Machine backup in Lion

    Hi,
    I have seen coverage in MacWorld (http://www.macworld.com/article/161421/2011/07/migrate_time_machine_backup_to_ne w_mac_in_lion.html) of using my Snow Leopard Time Machine backup as the starting point for my Lion TM backup. This saves all my revision history of all my documents and makes them available in Lion. However, when I follow the steps given in the MacWorld article, I don't get the same set of dialog boxes and am never given the option to use a previous disk.
    Any hints to getting this to work would be much appreciated.
    -Eric

    A  whole  lot  about  Time  Machine for help with TM problems.  Also you can select Mac Help from the Finder's Help menu and search for "time machine" to locate articles on how to use TM.  See also Mac 101- Time Machine.
    Pondini's Time Machine FAQ

  • Can I upgrade OS with a different machines OS software, Jauar to Panther

    I have an 800mhz iMac running Jauguar 10.2.8 and would like to know if I can upgrad with the Panther 10.3.5 software that came with a G5 desktop that I got for my son?
    If so, what would the process be to do so?
    G4, G5, iMac Mac OS X (10.2.x)

    Hi twynsunz!
    Here are images of the
    Full Retail Version, of the Panther Install CDs,
    and the Full Retail Version, of the Tiger DVD.
    Good Luck!
    ali b

  • Can OER harvest from OSB on different machine?

    Hi,
    The answer seemed to me obvious (YES) till I tried to do it. Since the harvester requires BEA_HOME set to OSB instllation how could I harvest OSB that does not reside on the same machine? Either I am missing something or the idea of a single OER managing assets in various environments is not 100% true.
    Thanks in advance for putting me on the right path.
    regards
    Pawel

    When connecting to the database from the host works (local) but not from another host (remote), could be several things causing the problem. And a specific error message is much more helpful than "it does not work ...". Can't help if we can't tell what you need help with.
    The one that gets most folk are the firewall settings. Next most "popular" problem is some kind of incorrect client setup.
    From the remote host, try a tnsping. This will test both possible problems, and also tell you where the client configuration files live. In a command box, a tnsalias should be set up in the client %ORACLE_HOME%/network/admin/tnsnames.ora
    tnsping xejoe  
    ... Used parameter files: <drive:>network\admin\sqlnet.ora ...
    Attempting to contact (DESCRIPTION=... <connect string host:port:service_name info> ...
    OK (<n> msec) ...
    ... Or could say tns-<n> error or something *not* OKYou have to tell your client who "xejoe" is, by specifying the connect details in tnsnames.ora or have an oracle naming service available, i.e. the tnsnames.ora method, add this stanza to the tnsnames.ora file:
    xejoe =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = <hostname or IP for xejoe instance>)(PORT = <port#>))
        (CONNECT_DATA =
          (SERVICE_NAME = <service name>[.domain_name] )
      )  And if you've added the port number exception to your firewall, it should be all good to go.
    To verify the correct SERVICE_NAME will require an actual sqlplus connection- tnsping only verifies if a host has an oracle listener running on that port.
    On the database server, a `lsnrctl services` command reveals the SERVICE_NAME used for the database instance.

  • Using "Run as different user"

    Is there a way to make a shortcut to a program so that it will prompt you for credentials every time. I know if you hold down Shift and right click you can get the Run as different user (which is what I want). I just want to save a step because I use the program all the time, but need domain credentials to make any changes. AD, GP Managment etc...
    Windows XP had the functionality by setting the advanced properties of the shortcut to Run with different credentials. Windows 7 only has run as administrator in the advanced shortcut properties., which doesn't work because its local admin not domain admin.
    Does anyone know how to do this?

    Hi
    Actually, this command was completely removed in Windows Vista and was added back to the Windows 7 extended right click context menu.  :))
    You can use the same 'fix' that was used in Vista. Go to the following Microsoft website and download the ShellRunas utility.
    Sysinternals - ShellRunas
    Unzip the file and place a copy of ShellRunas.exe in the C:\Windows\System32 folder.
    Create a shortcut to the executable that you want to run as a different user.
    Right click the shortcut and select Properties.
    Place the following command at the beginning of the Target line so that the command looks like this.
    C:\Windows\System32\ShellRunas.exe <path to shortcut target>
    (Be sure to include the space after shellrunas.exe)
    You can also add the Run As Different User to the normal right click context menu.
    Open an elevated command prompt and enter the following command.
    shellrunas /reg
    Press ENTER.
    Hope this helps.
    Thank You for using Windows 7
    Ronnie Vernon MVP

  • Can I move downloaded mountain lion to different machine?

    Weird internet connection at office (DNS server settings or some other gremlin that's beyond my expertise) won't let computers download Mountain Lion from App Store. Other apps are fine, could be a size issue not sure. Anyway, I downloaded to another machine using another internet connection (different location). Can I move that download to different machine? How?

    Yes as long as these are both your computers. Transfer target disk mode, USB flash drive, external HD, DVD, Dropbox, etc
    Are the computer close by and portable or at a distance??  This might dictate how you move your download.

  • API Setup - Different machine?

    Hey guys,
    Just starting out here with the API and trying to get my bearings. There doesn't seem to be a lot of good documentation on things. In fact, I can't even get a good list of what the API can and cannot do. If anyone knows of such thing, please let me know.
    But my question is in regards to a development environment. I've seen the docs for setting up eclipse and such, but one thing I cannot figure out is if I can develop and test on a different machine that that on which OIM is running? Can I create my project folder with the /config /lib whatever folders on a DIFFERENT machine than OIM?
    Thanks much

    Yes you can definitely do that. See an OBE for 'Running OIM API's through Eclipse*. For that you have to copy all OIM specific files in the Eclipse workspace and then this as a whole behaves as a design console. So you have no limitation to run it on OIM server machine.
    For docs, the only OIM API's docs available are with the installation docs. They are not descriptive at all. They just tell you what API expects and what it returns. Nothing very clear. Many a times you need to hit-n-try to see the results.
    Thanks
    Sunny

Maybe you are looking for

  • Cannot modify purchase order

    Hello experts, Do you have any idea about the following issue: In SAP 2007, I cannot modify any information in the purchase order (contents tab) even if the order is still open. And if I copy this order to a Goods Receipt PO, I  cannot also change th

  • Nothing come out from Canvas, pls help!

    No error but nothing come out. Please help! import java.applet.*; import java.awt.*; import java.awt.event.*; public class StGeorgeFlag extends Applet implements ActionListener{ //, MouseListener, MouseMotionListener{      Panel p;      MyCanvas myca

  • Server unavailable in the middle of a Connect conference

    I was running a virtual class using Adobe Connect and was disconnected from the video (but not the MeetingOne call) in the middle of the two-hour session during an application share. All attempts to connect were met with an error that no servers were

  • Managing cookies in Safari 3.1.2

    I am having trouble getting to my cookie information in Safari. I know I am supposed to click on Safari, then preferences and then security but I don't have anything that says security. The only window that comes up when I click on preferences is one

  • Upgraded computer hardware. Now says can't activate my software

    Hello, I can't use my Adobe CS5.5, because the program says I have installed it on two computers. Which isn't true. I have recently upgraded my computer hardware and had to reinstall the operating system. How can I go about fixing this?