Remotely loaded code

Hi
I have a very simple example (the well known "Echo" example) that works fine if the client side can reach the stub class, so the stub class is in the clients classpath. If this is not the case, the stub class is not (directly) reachable to the client then I try, for example, downloading it from my Tomcat server. So I have all my server-side classes (interface, servant, server, stub) in the following directory:
"c:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\ROOT\server\"
and all my client classes (interface, client) and the java.policy file in the following directory:
"f:\client"
I set the the SecurityManager in the Client class like this:
System.setSecurityManager(new SecurityManager()); write after the main statment. The java.policy looks like this:
grant {
    permission java.security.AllPermission;
}; The rest is the same as in the case in which I have all the classes in one directory, case in which everything works well.
I start the Tomcat server, compile all the classes, start the rmiregistry, run the server class like this:
java -Djava.rmi.server.codebase=http://localhost:90/server EchoServerand run the client:
java -Djava.security.policy=java.policy EchoClient localhost ... After this I get the following error:
java.rmi.UnmarshalException: error unmarshaling return; nested exception in:
              java.lang.ClassNotFoundException: EchoImpl_Stub ...I read that the classpath must be empty when calling the rmiregistry because if it can find the classes it needs from the class path, instead of using the server suplied URL, the URL system ceases to work.A client cannot get the class using the URL anymore. (SUN - SL-301).I don't know exactly if the variable CLASSPATH from my XP should be empty, or if I just set the classpath rigth before I start the rmiregistry like this:
set CLASSPATH =. and the start the registry (I have tried this and it still doesn't work).
How can I solve this? Any help would be greatly appreciated.
Regrads

Well EJP, I definitely think that the registry is finding the stub class from the classpath and therefor the client cannot use the URL provided by the server. I have no idee how to fix that. I start the rmiregistry from my EchoServer class, exactly after the main clause like I wrote in one of my previous posts, but that doesn't seem to help.
I am doing all this from one computer, so one single JVM. I have java.policy set on both client and server classes. My policy file is simple: grant {
    permission java.security.AllPermission;
}; and one copy is in the client directory and the other copy is in the server directory.
The problem is that if I start the registry from the command line from some place that it cannot find the stub class, then when I run the server I get that error:
...\jakarta-tomcat-4.1.18-LE-jdk14\webapps\ROOT\server>java -Djava.s
ecurity.policy=java.policy -Djava.rmi.server.codebase=http://localhost:90/server
EchoServer
Exception in thread "main" java.rmi.ServerException: RemoteException occurred in
server thread; nested exception is:
        java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
tion is:
        java.lang.ClassNotFoundException: EchoImpl_Stub
        at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240)
        at sun.rmi.transport.Transport$1.run(Transport.java:153)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
60)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:701)
        at java.lang.Thread.run(Thread.java:595)
        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknow
n Source)
        at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
        at sun.rmi.server.UnicastRef.invoke(Unknown Source)
        at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
        at java.rmi.Naming.rebind(Unknown Source)
        at EchoServer.main(EchoServer.java:11)
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested ex
ception is:
        java.lang.ClassNotFoundException: EchoImpl_Stub
        at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
        at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240)
        at sun.rmi.transport.Transport$1.run(Transport.java:153)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
60)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:701)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassNotFoundException: EchoImpl_Stub
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:242)
        at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:430)
        at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
        at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
        at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
        at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav
a:197)
        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:153
8)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
693)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
        ... 9 moreSo no matter what I do, the server or the client can't seem to find the stub class. So I have no idea where to start the rmiregistry from.
Any suggestions on how to solve this problem?
Best regards,
Michael

Similar Messages

  • How to load .cod files in BB Device ?

    Hello Experts,
        I want to load CommonClient.cod, MessagingClientApp.cod, MessagingClientSettings.cod, MocaClient.cod, WorkflowResources.cod files for My workflow application but in Blackberry Desktop Manager , its allow me to load only .alx file.
    Please Help me,
    Regards,
    Tapan

    Once you are ready with the bat file, connect the BB device to your laptop and run the bat file from Laptop.This open a command prompt showing the status of loading cod files and close once loaded.BB device tends to restart.
    Once the BB device is ready search for the loaded application icon.Now you are ready to run the application
    Thanks,
    Srikanth M

  • Remote program code

    I need remote program code for HD-DVR Motorola DCX 3501/E385/012/500.When red all on button is pressed, all devices turn off, but after 2 sec. set top turns back on?

    ebroski wrote:
    I need remote program code for HD-DVR Motorola DCX 3501/E385/012/500.When red all on button is pressed, all devices turn off, but after 2 sec. set top turns back on?You should post the question in the Xfinity TV Services forum.... this is the Voice Services area..

  • How to load code dynamically?

    I want to design a system with plugin capability.
    How can I do it?
    How to load code from OBJ or Library dynamically?
    thx

    It sounds like you are looking for dynamic linking
    functionality. (dlopen(), dlclose(), dlsym(), etc).
    The functionality is pretty well documented along with some
    sample code in the Linker and Libraries Guide. Here is a link
    to the relevant page on docs.sun.com:
    http://docs.sun.com:80/ab2/coll.45.13/LLM/@Ab2PageView/4817?Ab2Lang=C&Ab2Enc=iso-8859-1

  • Remote infrared codes for the Sony STR-DE675 receiver

    Where can I find the remote infrared codes for the Sony STR-DE675 receiver? They are not in the Owner's Manual, nor on the Sony.com website. Thanks.GBP

    If you were getting sound and no picture when you had the Wii hooked up to your surround sound receiver, your TV was probably on the wrong input.  You would have needed to use the source or input button on your TV's remote and changed the input to the component 1 choice, since that is the port you stated you plugged the Wii into on the TV.
    Your cable remote may not be programmed to work with the blu-ray player.  However, I think you're misunderstanding the function of the buttons at the top of your remote labeled TV, Sat/Cab, VCR, etc.  Your cable remote doesn't work like a Harmony remote.  Pushing those buttons at the top of your cable remote are not like pushing the Watch TV or Watch DVD functions on a Harmony (meaning pushing them doesn't change the TV's input automatically).  All those buttons at the top of the remote are for that you're describing are to tell the remote which components to control.  For example, you are watching cable TV and just used the remote to change the channel but now you want to adjust the volume.  You would have to hit the "TV" button on the cable remote to switch the remote from controlling the cable box to controlling the TV.  Otherwise, you'd hit the volume controls over and over and nothing would happen b/c the remote would still think it was controlling the cable box.  Only a Harmony remote (or similar universal remote) can change the TV's input with the click of a function button.
    And to explain why one must change the TV's input when switching components, I always compare the process to the way a tube TV used to work for those that are new to the flat screen TVs.  Think of the way your old TV probably worked - you had to have the TV on channel 3 for your VCR, 4 for cable, etc.  The input changing is practically the same thing with just a few more steps, if that helps to make things any clearer.  LOL
    Nothing I post is an official statment of Best Buy or Geek Squad, it is only a helpful opinion!

  • Loading cod files on to playbook

    My first question is,
    Is that possible to load cod files on playbook ?
    I have tried these methods to load the cod file that I developed in eclipse on to playbook.
     1.  In eclipse, tried the option Load Project(s) on device.
    It did not work. All it does when I do that is, it just complies and goes off..its not installing the app on the device,
     2. Started the app loader, (Program Files --> Common Files --> App loader --> loader) and tried to hit next, it is saying
    "You need to use the Blackberry Desktop Software to update this device." But the desktop software says, it isthe latest version 
    Please let me know if there are any other methods to load the application on to playbook. Also, please let me know if I am doing anything wrong..
    Prashant
    Solved!
    Go to Solution.

    No. COD files are Java applications. BAR files are currently either native C++ apps, Adobe AIR apps or WebWorks apps. They are totally different formats and cannot be converted. PB does not support COD formatted files.
    o2 interactive | FaceBook | Blog | Twitter

  • "load code resource" not loading code

    After fighting a long time, finally have a .lsb file.
    I use "Load code resource" and don't receive an error nor acknowledgement.  Running the vi comes back with "Object code is not loaded" on that block.
    If it didn't accept the code, I wish LabView would put up a message of why it couldn't.  Or even a prompt confirming the code loaded if it did load.
    Note: I am using an evaluation version while LabView is being purchased.  Is this why I can't load code?

    I did encounter the same problem, where there was no error message but
    it was not actually loading my code.  I just tried creating my DLL
    in Visual C++ 2003 (I don't have 2005 on my machine) and everything
    working fine in LabVIEW.  I followed the instructions found on
    pages 3-15 and 3-16 of the Using External Code in LabVIEW document,
    which I have linked below:
    Using External Code in LabVIEW
    I found that I could cause my LSB to fail to load if I skipped step 10
    in this document, where you specify the path to the Module Definition
    File.  Verify that you have made this change (and all the others
    in the procedure), and let us know how it works.

  • Remote loading Multi-versioned application & ApplicationDomains & communication

    Hello,
    let's have an application A that loads application B using SWFLoader. Is it possible to have A and B compiled with different Flex SDKs and have the applications in the same ApplicationDomain?
    I want to communicate between the applications, for example add some event listener to SystemManager of B. If I use loadForCompatibility=true, I get coercion error (of course - ApplicationDomains are different and we have two SystemManagers, so flex has no idea which one to use).
    Any ideas how to achive the communication?

    I would be lovely if Adobe created some demo for remote loading multi-versioned application using runtime shared library, with some event communication between applications

  • Remote access code

    I have an old imac and whenever I try to send/receive email or log on to internet (dial-up) I get this box popping up asking for the remote access code, and if I don't have it to click OK. Clicking OK results in a failure to connect.
    This has never popped up on the imac in the 5 years I have had it. It turns out that my 9 year old daughter was playing about on the computer and she has done something to activate this box.
    How do you get rid of it, or what is the code that should be entered to get past it?
    No emails at home for a week now. Any advice?

    When you say the "Remote Access code", do you mean the user name and/or password for your account with your Internet Service Provider. IF that is what it is asking for, then enter it into the Remote Access Control Panel.
    If this information is already entered (correctly) into the remote access control panel, AND the computer is still asking for the code.
    Then try removing the following files from the iMac Hard drive
    (NOTE: You will need to KNOW your account name (also called registered user name), password, and the phone number the computer dials out to before removing the following)
    Hard Drive > System Folder > Preferences > Remote Access > Remote Access connections
    AND remote access prefs
    Remove the above 2 files to the desktop and restart the computer. Once the computer is restarted open remote access control panel and reenter your account info for your ISP. Also in the OPTIONS area of Remote Access control panel, select Connect automatically when using TCP/IP applications.
    Close remote access control panel and save the changes
    Now try connecting.

  • What is STB Remote Control code for the Magnavox 15MF400T/3​7 set?

    Does anyone know or know where to find the correct remote control code for the 15MF400T/37 set?

    If none of the codes worked, your only other option is to do a scan.
    WHAT IF NONE OF THE CODES WORKED?
    If none of the codes worked, try the following procedure. (As before, we will use the example of a TV. For other devices use the appropriate Device Key instead of the
    TV
    key in step 2 and 3.) 
    1. Turn on your TV.
    2. Press and hold the TV key.
    3. While holding down the TV key, press OK
    4. Release both keys. The Device Keys will blink twice.
    5. Press 9 - 2 - 2
    6. Point the remote at the TV.
    7. Press the play button 
    8. Press FF button . Every time you press the FF button the remote sends out a new power-off command to the TV. Keep pressing FF until the TV turns off.
    9. When the TV turns off, you have found the right code. Press OK  to store this code.
    Note: There are over 300 TV and DVD codes. The most common codes are tried first, but you may still need to press FF over 300 times to find the right code. If you reach the end of the list of codes the entire remote will flash twice and return to normal operation. You can exit programming at any time by pressing EXIT 
    If you do this and it still doesnt work, then your tv and the verizon remote dont have a common code and it will not work with your tv.
    ====================================================================================
    Error exists between keyboard and chair.

  • Remote lock code forgotten

    How can I recover a remote lock code?
    My gmail account was hacked and they used iCloud to wipe my new MacBook pro.

    Hmm, no one else brave enough to touch this one it seems..... Ok i'll push further.
    Av8tor, if you are indeed an innocent victim in all of this, I suggest that you take the computer to an AASP. After all, this is what you are SUPPOSED to know ahead of time before you allow your device to become locked
    Only they are supposed to.... ahem... handle the situation after the lock.

  • ClassNotFound when loading code to server

    Hi all!
    I'm fairly new to RMI but I've managed to get my RMI application running. However, when I come to the good stuff it all brakes down. I've written a simple service (Hello world) that shall be downloaded to the server. The code below is deploying this service from the client:
    package jflex.rmi;
    import java.rmi.Naming;
    import jflexserver.services.*;
    import jflex.rmi.TestTask;
    public class ServerComm implements java.io.Serializable {
         Object message = "blanc";
         TestTask testTask = new TestTask();
         // "obj" is the identifier that we'll use to refer
         // to the remote object that implements the "Hello"
         // interface
         JFlexService obj = null;
         public void handShake() {
              try {
                   System.out.println("Loading policy file...");
                   System.setProperty("java.security.policy", "file:///C:\\JFlex\\Java\\jflexpolicy");
                   System.setProperty("java.rmi.server.codebase","file:///c:\\JFlex\\Java\\jflex/");
                   //System.out.println("Trying to increase timeout to 30 sec");
                   //System.setProperty("sun.rmi.transport.connectionTimeout", "30000");
                   System.out.println("Trying to lookup JFlexService...");
                   obj = (JFlexService)Naming.lookup("//tomcat/JFlexServer");
                   System.out.println("Trying to execute service TestTask...");
                   System.out.println(obj.toString());
                   message = obj.runService(testTask);
              } catch (Exception e) {
                   e.printStackTrace();
    }This will give the following exception:
    Loading policy file...
    Trying to lookup JFlexService...
    Trying to execute service TestTask...
    jflexserver.JFlexServer_Stub[RemoteStub [ref: [endpoint:[192.168.0.3:2770](remot
    e),objID:[1f1fba0:f6cc1ac17b:-8000, 0]]]]
    java.rmi.ServerException: RemoteException occurred in server thread; nested exce
    ption is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
    tion is:
    java.lang.ClassNotFoundException: jflex.rmi.TestTask
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292)
    at sun.rmi.transport.Transport$1.run(Transport.java:148)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
    60)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
    .java:701)
    at java.lang.Thread.run(Thread.java:536)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream
    RemoteCall.java:247)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
    223)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
    at jflexserver.JFlexServer_Stub.runService(Unknown Source)
    at jflex.rmi.ServerComm.handShake(ServerComm.java:30)
    at jflex.JFlexFrame.<init>(JFlexFrame.java:218)
    at jflex.JFlex.main(JFlex.java:23)
    Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested ex
    ception is:
    java.lang.ClassNotFoundException: jflex.rmi.TestTask
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:252)
    at sun.rmi.transport.Transport$1.run(Transport.java:148)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
    60)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
    .java:701)
    at java.lang.Thread.run(Thread.java:536)
    Caused by: java.lang.ClassNotFoundException: jflex.rmi.TestTask
    at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:217)
    at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:427)
    at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:159)
    at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631)
    at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257)
    at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav
    a:200)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151
    3)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
    626)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
    at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:297)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:246)
    ... 6 more
    Whu on earth can't the server locate this package. The point of RMI is that the server CAN be unaware of the code downloaded to its JVM, right???
    Thanks in advance!

    Thanks for helping me! I'm starting the rmiregistry in
    a clean environment (according to the Sun tutorial)
    by:
    set CLASSPATH=; //Just to make sure all paths are
    viped out
    rmiregistry -J-Dsun.rmi.loader.logLevel=VERBOSE
    If I echo the current CLASSPATH, I can see it's empty.
    However, I'm starting the registry in the root
    directory of the RMI-server application. Bad idea? As
    I understand it, the registry shall be started in an
    environment without any references to stub-files or
    anything else involving the RMI-server. Still
    confused...Looking at your explanation you could run it in two ways
    1) Run it in an environrmrnt where classpath is not null and where the java.rmi.codebase property is set appropriately.
    2) Run it in an environment where the applications classes are not on the classpath.
    The requirements for 2) are
    a) CLASSPATH is not null and doesnot include any entry of the your application classes.
    b) CLASSPATH is null and working directory (".") is not the root your applications packages structure. The reason being that the null CLASSPATH is interpreted as "."
    Or else in case you dont wanna set the codebase property u can acquire a required class via RMIClassLoader.loadClass method.

  • Can't find remote control code for Samsung BD-P2550

    I am trying to configure my verizon fios remote to control my Samsung BD-P2550 using the DVD button on the remote.  None of the suggested codes work nor does search for the code using the remote and the fast forward button for infinite attempts,  PLEASE HELP!

    joebingo,
    Unfortunately the Verizon-provided universal remote will not work for all devices, particularly for advanced devices such as BR players.  If you've already tried all the Samsung DVD codes and none of those work then it's most likely that there is not going to be a working code for this particular device.
    However, you can try doing a manual code search by following the instructions here.
    Regards,
    Chris
    Christian
    Verizon Telecom
    Fiber Solution Center
    Notice: Content posted by Verizon employees is meant to be informational and does not supercede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or Plan.

  • CSS11000 global v. local and remote load balancing?

    I understand the practice of local LB on the CSS. I do not understand the same for remote LB. I have two mutually exclusive DMZs, but with the same content at each site. How does the CSS at site A know if content at site B? Site B's CSS tells it via the app session, right? Why can't I see that in the summary of service at site A's CLI?

    Houston side:
    !Active version: ap0502003
    !*************************** GLOBAL ***************************
    bridge spanning-tree disabled
    dns-server zone 1 tier1 "zone1" roundrobin
    dns-server
    dns-record a www.midcon.com 12.155.32.98
    app session 208.246.87.241 14 authChallenge ************ encryptMd5hash
    app
    host HOUCSSDMZ 10.43.239.241
    ip route 0.0.0.0 0.0.0.0 10.43.236.1 1
    !************************** SERVICE **************************
    service houauth
    ip address 10.43.232.98
    active
    service houweb3
    ip address 10.43.232.99
    keepalive type http
    active
    service houweb4
    ip address 10.43.232.100
    keepalive type http
    active
    service lkw_midcon_sorry
    ip address 208.246.87.98
    keepalive type none
    active
    !*************************** OWNER ***************************
    owner midcon.com
    dns both
    dnsbalance preferlocal
    content dns
    protocol udp
    port 53
    add service houauth
    vip address 10.43.236.98
    balance leastconn
    add dns www.midcon.com
    active
    content www
    vip address 10.43.236.98
    balance weightedrr
    add service houweb3
    add service houweb4 weight 2
    protocol tcp
    port 80
    url "/*"
    primarySorryServer lkw_midcon_sorry
    active
    Lakewood side:
    !Active version: ap0502003
    !*************************** GLOBAL ***************************
    bridge spanning-tree disabled
    dns-server
    app session 12.155.32.241 14 authChallenge ************ encryptMd5hash
    app
    host LKWCSSDMZ 208.246.87.241
    ip route 0.0.0.0 0.0.0.0 208.246.87.1 1
    service hou_midcon_sorry
    ip address 12.155.32.98
    keepalive type none
    active
    service lkwauth
    ip address 10.34.232.98
    active
    service lkwweb4
    ip address 10.34.232.99
    keepalive type http
    active
    !*************************** OWNER ***************************
    owner midcon.com
    dns both
    dnsbalance preferlocal
    content dns
    protocol udp
    port 53
    add service lkwauth
    vip address 208.246.87.98
    balance leastconn
    add dns www.midcon.com
    active
    content www
    balance leastconn
    add service lkwweb4
    vip address 208.246.87.98
    protocol tcp
    port 80
    url "/*"
    primarySorryServer hou_midcon_sorry
    active
    HOUCSSDMZ# sh app
    APP CONFIGURATION:
    Enabled PortNumber: 3699 MaxFrameSize: 10240
    HOUCSSDMZ# sh app sess
    App Session Information 'no hostname':
    Session ID: 83c381a0 IP Address: 208.246.87.241 State: APP_SESSION_UP
    HOUCSSDMZ# sh serv summary
    Service Name State Conn Weight Avg State
    Load Transitions
    houweb3 Alive 0 1 2 12
    houweb4 Down 0 1 255 15
    houauth Alive 0 1 2 0
    lkw_midcon_sorry Alive 0 1 2 0
    [email protected] Alive 0 1 2 0
    LKWCSSDMZ# sh app
    APP CONFIGURATION:
    Enabled PortNumber: 3699 MaxFrameSize: 10240
    LKWCSSDMZ# sh app sess
    App Session Information 'no hostname':
    Session ID: 859f39f0 IP Address: 12.155.32.241 State: APP_SESSION_UP
    LKWCSSDMZ# sh serv summary
    Service Name State Conn Weight Avg State
    Load Transitions
    lkwauth Alive 0 1 2 8
    lkwweb4 Alive 1 1 2 30
    hou_midcon_sorry Alive 0 1 2 0
    [email protected] Alive 0 1 2 0
    As you can see the DNS service is peering. I don't understand why the HTTP is not. Hopefully I haven't deleted too much information. I setup the sorryservices recently per the suggestion of TAC, but I don't agree with that recommended solution.

  • Remote loading classes

    I have av problem with server to server communication. I am using two WLS 7.0 sp2
    servers and from a java bean inside one server I am trying to lookup an EJB. I
    have the remote and home interface of the EJB in a jar file that the java bean
    accesses via a Class-Path entry in its jar file. Both the java bean and the client
    jar is located withing the same ear file. When lookup the home interface I get
    an ClassCastException when trying to narrow the home stub.
    I have tried to look och the classes with a debugger but seems to get different
    result. Sometimes the interface and the WLStub seems to be loaded from different
    servers.
    A question I have been asking myself is what classloader will I see when I connect
    a remote debugger? I cane browse all loaded classes an look at its classloader
    but the same class could be loaded in classloader in different trees, wich is
    displayed in the debugger?
    I hope someone can answer theese questions I have been struggeling with this for
    days now without any success.
    Regards
    Björn Caroll

    "Björn Caroll" <[email protected]> writes:
    I have av problem with server to server communication. I am using two WLS 7.0 sp2
    servers and from a java bean inside one server I am trying to lookup an EJB. I
    have the remote and home interface of the EJB in a jar file that the java bean
    accesses via a Class-Path entry in its jar file. Both the java bean and the client
    jar is located withing the same ear file. When lookup the home interface I get
    an ClassCastException when trying to narrow the home stub.
    I have tried to look och the classes with a debugger but seems to get different
    result. Sometimes the interface and the WLStub seems to be loaded from different
    servers.
    A question I have been asking myself is what classloader will I see when I connect
    a remote debugger? I cane browse all loaded classes an look at its classloader
    but the same class could be loaded in classloader in different trees, wich is
    displayed in the debugger?
    I hope someone can answer theese questions I have been struggeling with this for
    days now without any success.You should raise a support call.
    andy

Maybe you are looking for