Determain ip of remote a object

Hi
I`ve been wondering how i can determain the ip address of a Remote Object on server side.
Ssample code:
'client' side:
Object o = Naming.lookup("rmi://ip:port/myobj");
o.register(this);
'server' side:
public void register(Remote o) {
String remoteIp = ((unknownCastTarget)o).unknownMethodToDetermainIp();
i hope you know what i mean :))
i would like to know how i can determain the ip of the client who calls the register method. (i do not want to implement a additional remote method on the server to let the client set his ip)
greets
mike

Your server is a UnicastRemoteObject, which extends RemoteServer. So you should be able to simply call getClientHost() in the context of a remote call to the server.

Similar Messages

  • ERROR - clsid-not-found(Object::Remote::CLIENT|(Object::Remote::PROTOCOL_LOCAL|PSQL::TrayAppSvr:: 00000001)CID_SafeArchive::FileArchiveCache))

    Hi,
    I have Windows 7 Professional (PT) installed with Adobe Master Colection CS 6. The error "clsid-not-found(Object::Remote::CLIENT|(Object::Remote::PROTOCOL_LOCAL|PSQL::TrayAppSvr: :00000001)CID_SafeArchive::FileArchiveCache))" start to show a week after using the computer.
    I don't know if the error it's from windows or from any software of the Adobe. How can i solve this problem?

    Well "Protector Suite QL" is some security tool and apparently it requires authentication procedures and blocks access to critical system routines. You need to fix that. Nothing to do with Adobe at all.
    Mylenium

  • Load balancing remote shared object?

    Has anyone had experience keeping the Remote Shared Object in
    sync between multiple FMS servers for load balancing purposes? I'm
    thinking in terms of being able to push an SO change to one and
    have the others stay in sync.

    I made it use localhost as the path to the .swf so you might
    want to change the net connection uri property to the application
    directory if you are testing on a webhosts domain.
    [/code]
    var my_nc:NetConnection = new NetConnection();
    my_nc.connect("rtmp:/myDomain/mySwf");
    my_so = SharedObject.getRemote("testSo", my_nc.uri, true);
    my_so.connect(my_nc);
    my_so.data.aString = "a testing string";
    /// making sure it's saved.
    //I can see it fine now
    trace(my_so.data.aString);
    var my_nc:NetConnection = new NetConnection();
    my_nc.connect("rtmp:/myDomain/mySWF");
    my_so = SharedObject.getRemote("testSo", my_nc.uri, true);
    my_so.connect(my_nc);
    trace(my_so.data.astring);
    [/code]

  • Access Remote DB Object using Public DB Link in Application Express -HTMLDB

    How to access and list remote database objects in HTMLDB - V2 (Application Express).
    I can query using Public DB Link with SQL.

    It is not possible. To create reports or forms on remote objects, create local views of the remote objects.
    Mike

  • Remote Shared Objects peerIDs

    Hello All, I would like to use a remote shared object to communicate to nearID. My knowledge of Server-Side ActionScript is not particularly great. Is there any tutorials or links out there that can give a demonstration how remote shared objects can obtain and distribure peerIDs? 
    Thank You

    Thank you Rajesh. Apologies for my late reply. Are you suggesting I do something like this? In the code below I have included a changeList array to describe the change properties of each member in a remote shared object. Furthermore, I have created so.data property to store attributes of the rso when a user changes one of the slots it triggers the syncEvent. Can someone please take a good close look at my code to see if you can identify any errors? thanks in advance.
    function syncExample(event:SyncEvent):void{
         my_rso.data.username1;
         my_rso.data.username2;
         my_rso.data.username3;
         my_rso.data.username4;
         my_rso.data.username5;
    for (var i = 0; i <changeList.length; i++){
    var changeList:Array = event.changeList;
    var info:Object;
    info = changeList[i];
    switch(info.code){
       case "success"
      lient_info = my_rso.data[info.name];
       case "change":
       client_info = my_rso.data[info.name];

  • How can I delete remote shared objects?

    Hello world...
    I have a problem...
    I need to unload an external .swf file or delete all the remote shared objects that it conteins...but I need to reload the same .swf file by pushing a button...
    Please help me...
    Emiliano.

    Hi,
    can you please give clear idea...
    It looks like when the namespace was deleted delete all objects under this namespace was systematically deleted.
    means all objects under namespace is already deleted before deleting namespace..right?
    If so then Now there are existing interface objects somewhere out there in the IR. Objects such as data types, message type, message mapping and interface mapping objects
    Try to clear your cache..using SXI_CACHE...
    Try to  re-create namespace and delete all objects related to your namespace and delete namespace again...( Not sure this wull help..but u can try)
    Nilesh

  • Specifying timeout for calls on remote CORBA objects

    When using a remote CORBA object from a Java client, we make use of a periodic heartbeat call to ensure the remote object is still available.
    If the process hosting the remote object dies, we get an exception back immediately after making the call which helps us to know that we need to re-connect.
    If, however, the network goes down (i.e. unplug the machine running the process hosting the remote object from the network), things get a little tricker. At this point, you end up relying on the underlying socket timeouts to control how soon you'll get back an exception.
    We're using both C++/TAO/ACE clients and Java clients. For the C++ clients, we noticed that the timeout value varied significantly based on operating system. For example, on Windows XP Home, it took 75 seconds to get an exception, but on Windows 2000 Pro, it only took 5 seconds.
    The solution for the C++ clients was to make use of a policy override in the ORB, specifying a 5 second timeout. This resulted in a uniform timeout regardless of underlying operating system.
    Now, we have to solve the same problem for the Java clients and I'm wondering if there is a similar mechanism for Sun's built-in ORB. Any ideas?

    here's what I found out. The ORB provided by Sun doesn't appear to provide a policy manager or any other way to specify object request timeouts.
    We've ended up using JacORB instead, which very easily plugs into the JDK. With JacORB, we're able to specify an object request timeout using the code below:
    long objtimeout = 5; // sets a 5 second timeout
    PolicyManager policyManager = PolicyManagerHelper.narrow(
    orb.resolve_initial_references("ORBPolicyManager"));
    Policy p = new org.jacorb.orb.policies.RelativeRoundtripTimeoutPolicy(objtimeout * 10000000);
    policyManager.set_policy_overrides(new Policy[]{ p },
    SetOverrideType.ADD_OVERRIDE);

  • Snap shot remote shared object question

    HI I'd like to take a snapshot of video from a webcam and
    then store that snapshot either as a file or as an object in a
    remote shared object anybody know how that can be accomplished? I
    also need to know how to store a picture in a remote shared object
    ...the picture in this case is being brought into flash using
    loadMovie.

    If you're using loadMovie, you need to extract an image from
    the recorded flv file. FFMPEG does this quite nicely.
    About the use of the sharedObject, you can use it to
    store/sync the location of the image file, but you couldn't store
    the image itself in the SO (well... you could, but you'd have to
    break it down to pixel data and that would make for an awfully big
    SO).

  • Understanding remote shared objects

    Hi Fellow users, I am using a remote shared object in my Flash Media Server project for the first time. My purpose of using a rso is to update data in real-time accross multiple clients.
    Ok, I like to store a list of users who are connected to my application. And when a client disconnects I want the object updated to all other clients connected and the online status list is revised.
    I dont know what the best approach is for this... Is it possible to use the onSync event?  And put the clients in an array and when their properties are changed the server is dispatched and updated. Or, would you recommend other alternatives?
    Interested to hear your thoughts and opinions guys.
    Thanks

    Thank you Rajesh. Apologies for my late reply. Are you suggesting I do something like this? In the code below I have included a changeList array to describe the change properties of each member in a remote shared object. Furthermore, I have created so.data property to store attributes of the rso when a user changes one of the slots it triggers the syncEvent. Can someone please take a good close look at my code to see if you can identify any errors? thanks in advance.
    function syncExample(event:SyncEvent):void{
         my_rso.data.username1;
         my_rso.data.username2;
         my_rso.data.username3;
         my_rso.data.username4;
         my_rso.data.username5;
    for (var i = 0; i <changeList.length; i++){
    var changeList:Array = event.changeList;
    var info:Object;
    info = changeList[i];
    switch(info.code){
       case "success"
      lient_info = my_rso.data[info.name];
       case "change":
       client_info = my_rso.data[info.name];

  • RTMPS remote shared object response failure

    Hi i have a chat application written in Flex/Flash (AS3) with a PHP/mysql backend and i am using Adobe® Flash® Media Server 4.5.2
    The application is working OK in the night with under 200 rtmps connections but during the day with max 400 rtmps connections i get a strange error
    when i am trying to connect to the remote shared object.
    For example i have this portion of code:
    test_so is my shared object
    conn is my connection with the fms server
    test_so = SharedObject.getRemote("test_so","rtmps://uri to my application instance",false);
    test_so.addEventListener(SyncEvent.SYNC,mySyncFunction);
    test_so.connect(conn);
    The shared object synchronization is starting, when i receive the first data with the test_so shared object i get a failure that does not raise any event on the flash part.
    For example if my received data content length is 40Kb long i receive only 28Kb and the transfer is aborted but the rtmps connection is not closed.
    Using some web debugging software (charles and fiddler) i can see when the error appear:
    [https://application instance uri] (content-type: application/x-fcs)
    /open
    - 1
    /idle
    - ID
       - 0 (1 B)
       - 3 (9.95 KB)
       - 6 (28KB) <-- Failure SSL peer shut down incorrectly (Response code 200) (content length is almost 40KB but i only get 28KB then transfer is ended) (NetStatusEvent does not fire any error in flash)
       - 7 (1 B)
       - ... the rtmps connection continue but the flash will never receive any SyncEvent.SYNC because of the error on chunk 6
    /send
    - ID
       - 1
       - 2
       - 4
       - 5
    Here is a screeshot from charles during debug:
    This error appear random but for a lot of clients.
    In the FMS logs i do not see any errors.
    The server is a XEN VPS with 4 cores and 8GB of ram.
    The CPU and ram usage is constant, there are no spikes when the error appear.
    The bandwidth usage is more then double when the error appear.
    The remote shared object is a little big (over 40K) and maybe combined with the bandwidth problems can raise this error.
    I can also reproduce this error when there is little traffic on the server using a bandwidth limiter on client side and setting the limit at 64kb. (i need to put the limit at 128kb for the application to work and to not see that error)
    Maybe someone had the same problem.

    Hi i have a chat application written in Flex/Flash (AS3) with a PHP/mysql backend and i am using Adobe® Flash® Media Server 4.5.2
    The application is working OK in the night with under 200 rtmps connections but during the day with max 400 rtmps connections i get a strange error
    when i am trying to connect to the remote shared object.
    For example i have this portion of code:
    test_so is my shared object
    conn is my connection with the fms server
    test_so = SharedObject.getRemote("test_so","rtmps://uri to my application instance",false);
    test_so.addEventListener(SyncEvent.SYNC,mySyncFunction);
    test_so.connect(conn);
    The shared object synchronization is starting, when i receive the first data with the test_so shared object i get a failure that does not raise any event on the flash part.
    For example if my received data content length is 40Kb long i receive only 28Kb and the transfer is aborted but the rtmps connection is not closed.
    Using some web debugging software (charles and fiddler) i can see when the error appear:
    [https://application instance uri] (content-type: application/x-fcs)
    /open
    - 1
    /idle
    - ID
       - 0 (1 B)
       - 3 (9.95 KB)
       - 6 (28KB) <-- Failure SSL peer shut down incorrectly (Response code 200) (content length is almost 40KB but i only get 28KB then transfer is ended) (NetStatusEvent does not fire any error in flash)
       - 7 (1 B)
       - ... the rtmps connection continue but the flash will never receive any SyncEvent.SYNC because of the error on chunk 6
    /send
    - ID
       - 1
       - 2
       - 4
       - 5
    Here is a screeshot from charles during debug:
    This error appear random but for a lot of clients.
    In the FMS logs i do not see any errors.
    The server is a XEN VPS with 4 cores and 8GB of ram.
    The CPU and ram usage is constant, there are no spikes when the error appear.
    The bandwidth usage is more then double when the error appear.
    The remote shared object is a little big (over 40K) and maybe combined with the bandwidth problems can raise this error.
    I can also reproduce this error when there is little traffic on the server using a bandwidth limiter on client side and setting the limit at 64kb. (i need to put the limit at 128kb for the application to work and to not see that error)
    Maybe someone had the same problem.

  • Losing Connection to Remote Shared Object

    Hello,
    For some reason, and at random intervals, I lose connection to my Remote Shared Object. When it first loads, the data loads up A-ok. However, after 5 minutes, I lose connection to the FMS entirely and a error isn't thrown up at all.
    At the same time I have another net connection to a live stream, it never loses connection. I'm looking for some direction, and ideas on what could be the issue. See below:
    import com.ambient.classes.AmbientUserData;
    [Bindable]public var Branding_so:SharedObject;
         public function init():void
                  Application.application.lblLoading.text = "Initializing, Please Wait...";
                  AmbientUserData.AmbientServer1();
                  AmbientUserData.nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                  AmbientUserData.AmbientServer2();           
         public function netStatusHandler(e:NetStatusEvent):void
                 //mx.controls.Alert.show(e.info.code + tFlag);
                 switch (e.info.code)
                         case "NetConnection.Connect.Success":
                        Application.application.lblLoading.text = "Connected.";
                        initRSO();                                                  
                        break;
                        case "NetStream.Play.StreamNotFound":
                        break;
                        case "NetConnection.Connect.Closed":
                        mx.controls.Alert.show('Connection Lost');
                        break;
                        case "NetConnection.Call.Failed":
                        mx.controls.Alert.show('Connection Failed.');
                        break;
         public function initRSO():void
              Application.application.lblLoading.text = "Loading Server Side Components...";    
              // Colors Tab
              Branding_so = SharedObject.getRemote("bgColor1",  AmbientUserData.nc.uri, true); // 1
              Branding_so = SharedObject.getRemote("bgColor2",  AmbientUserData.nc.uri, true); // 2
              Branding_so = SharedObject.getRemote("txtColor",  AmbientUserData.nc.uri, true); // 3
              Branding_so = SharedObject.getRemote("layoutID",  AmbientUserData.nc.uri, true); // 4
              Branding_so.addEventListener(SyncEvent.SYNC,rsoHandler);         
              Branding_so.connect(AmbientUserData.nc);     
              Application.application.lblLoading.text = "Complete.";        
    public function rsoHandler(e:SyncEvent):void
              Application.application.controlAmbientControl.currentState = Branding_so.data.layoutID;
              Application.application.setStyle("backgroundGradientColors", [Branding_so.data.bgColor1, Branding_so.data.bgColor2]);
              Application.application.setStyle("color", Branding_so.data.txtColor);

    Hi
    has this only started happening? if you open the rdp session on the secondary screen and then maximise it does the same happen?
    Any errors in your log files? 
    maybe this helps:
    http://superuser.com/questions/744808/why-did-remote-desktop-performance-drop-when-switching-from-windows-server-2012r
    Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • FMS Remote Shared Objects and PHP

    Is there a way to access remote shared objects from PHP ?
    I've created an a/v chat application, once a user is connected to it, it creates a remote shared object that indicates that the user is online. I want to find out if a shared object exists via PHP to let other users, who are not connected to the flash application, know what's the user's status.
    Thanks!

    All the things you want to do are typical Shared Object's functionalities. I've already created a couple of huge projects myself using Shared Objects functionalities, so I can say with the full responsibility that all the things you want to do can be done very easily using those classes.
    Basicaly, if you want to build your app using SO, there are few options available for you on the market. First, and the best I guess, will be Adobe's Flash Media Interactive Server. It's only disadventage is, that it's quite expensive - but it's worth it's price, believe me.
    If you don't want to pay for it, you can also use a free and open source Red5 server. If it's only the "text-chat based" functionality you want to implement, with a typical video streaming, this one should be enough for you. Although, there could be some problems waiting for you if you wanted to create a full video-chat based application. Take a look at the FMS vs Red5 comparision, which maybe will help you decide - http://www.riafreaks.com/. On the first page of this URL there will be an article I'm talking about covering this topic, as well as a sample guide on how to connect FMS to PHP code, which will let you work with any database you want.
    To be honest, if I understood your problem correctly, than Red5 should be enough for you. It works great with Shared Objects, it's free, and it gives you the whole Java API server side - so you can connect to the database very easily. And it also let's you create and manage Shared Objects client side, as well as server side. Although, believe me that even if you're not a Java developer yourself, you won't have to write even a single line of server side code. You can create, update and destroy Shared Objects using only your Flex clients - it'll suite all your needs in the context you've written.

  • Remote Invocable object is not constructed/initialized correctly

    Hi, I got a strange problem.
    Basically, a node assignes a range of ids (for example 1-1000) to all nodes including itself via the InvocationService. Upon the receipt of Invocable, all the remote nodes do not have the Invocable information initialized correctly, ONLY the original node starts the InvocationService call get the Invocable initialized correctly. In my program, any node can start the InvocationService, and I tried all the different nodes and they all have the same problem.
    I fake the code a little bit and when calling the InvocationService (query()) it always sends to itself. And all Invocable objects (when run() starts) are initialized correctly.
    Can someone help provide some insight?
    The following is some of code related to the problem.
    The node call the InovactionService:query()
    SearchInvocable oneRange = new SearchInvocable(CacheHelper.getLocalMember());
    for (int j = 0; j < members.length; j++) {
    oneRange.setMin(nextMinKey);
    nextMaxKey = ((nextMinKey + rangeSize) < maxKey) ? (nextMinKey + rangeSize) : maxKey;
    oneRange.setMax(nextMaxKey);
    // Inform the member for the assigned key range via
    // invocation service
    // CHANGING TO targets.add(memebers[0]);
    // WORKS FINE! SO STRANGE
    targets.add(members[j]);
    System.out.println("Range[" + j + "]: " + oneRange);
    invokeService.query(oneRange, targets);
    targets.clear();
    nextMinKey = ((nextMaxKey + 1) < maxKey) ? (nextMaxKey + 1) : maxKey;
    The Invocable object
    public class SearchInvocable extends KeyRange implements Invocable {
    SearchInvocable(Member sourceMember) {
    super();
    this.sourceMember = sourceMember;
    public void run() {
    System.out.println("SearchInvocable::run(): " + this);
    Here is the output for remote nodes print out the Invocable (the Invocable is not initialized correctly).
    SearchInvocable::run(): type:null min:0 max:0
    Here is the output for local node print out the Invocable
    SearchInvocable::run(): type:Accountl min:10001 max:99996
    Thanks,
    Jasper

    Hi Robert,
    That's it. It is the KeyRange not implements the Serializable. I missed it. I thought for the local node it goes through the same serialization as the remote nodes do so I overlook the problem. This shows Coherence does the optimization for local node without going through the serialization. Excellent!
    Regards,
    Jasper

  • Error in Looking up Remote JNDI Object

    My platform: WebLogic Server 6.0 SP2
    My question: Apart from adding a user named "user1" in "remote_server", what else
    should I need to configure in order to allow my local WebLogic server to lookup
    an JNDI object in remote WebLogic server? Please help. Thanks.
    -- My code --
    Hashtable env = new Hashtable();
    env.put (Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    env.put(Context.PROVIDER_URL, "t3://remote_server:7001");
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
    env.put(Context.SECURITY_PRINCIPAL, "user1");
    env.put(Context.SECURITY_CREDENTIALS, "user1");
    jndiContext = new InitialContext(env);
    queueConnectionFactory = (QueueConnectionFactory)
    jndiContext.lookup("java:comp/env/jms/QConFactory");
    Regards,
    Charles

    Hello
    The problem is beacause weblogic doesn't allow blank spaces in the CLASS PATH, so try that in your path doesn't exit blank spaces like these:
    C:\Documents and Settings

  • Unable to access remote EJB object on different server

    I have deployed an EJB module on one server. I have been able to access the entity beans on this server from a standalone java client (on a different machine) using the CORBA Interopable Naming Syntax. Using this syntax
    corbaname:iiop:<hostname>:port#<jndi-name>
    However, when I deploy another EJB module on a separate server I am unable to access the objects held on the original server. I am using the same syntax as the java client.
    We are using Sun Application Server to deploy the modules. The error held in the server log is below. Can someone help with this. Does the Sun Application Server prevent connection to remote objects by default?
    [#|2005-12-09T17:39:55.703+0000|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.resource.corba._DEFAULT_.rpc.transport|_ThreadID=11;|"IOP00410216: (COMM_FAILURE) Unable to create IIOP listener on the specified host/port: all interfaces/3700"
    org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 216 completed: No
         at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:2661)
         at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:2681)
         at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:167)
         at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.getAcceptors(CorbaTransportManagerImpl.java:207)
         at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.addToIORTemplate(CorbaTransportManagerImpl.java:224)
         at com.sun.corba.ee.spi.oa.ObjectAdapterBase.initializeTemplate(ObjectAdapterBase.java:104)
         at com.sun.corba.ee.impl.oa.toa.TOAImpl.<init>(TOAImpl.java:78)
         at com.sun.corba.ee.impl.oa.toa.TOAFactory.getTOA(TOAFactory.java:65)
         at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1536)
         at com.sun.corba.ee.spi.presentation.rmi.StubAdapter.connect(StubAdapter.java:164)
         at com.sun.corba.ee.impl.orbutil.ORBUtility.connectAndGetIOR(ORBUtility.java:825)
         at com.sun.corba.ee.impl.orb.ORBImpl.getFVDCodeBaseIOR(ORBImpl.java:901)
         at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.addServiceContexts(CorbaClientRequestDispatcherImpl.java:737)
         at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:227)
         at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:127)
         at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:244)
         at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
         at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
         at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:345)
         at com.sun.jndi.cosnaming.CNCtx.initUsingCorbanameUrl(CNCtx.java:321)
         at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:247)
         at com.sun.jndi.cosnaming.CNCtx.createUsingURL(CNCtx.java:85)
         at com.sun.jndi.url.iiop.iiopURLContextFactory.getUsingURLIgnoreRest(iiopURLContextFactory.java:56)
         at com.sun.jndi.url.iiop.iiopURLContext.getRootURLContext(iiopURLContext.java:44)
         at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:182)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.ppl.services.ServiceLocator.lookup(ServiceLocator.java:47)
         at com.ppl.services.ServiceLocator.getRemoteHome(ServiceLocator.java:74)
         at com.ppl.services.ServiceLocator.getRemoteUSRRoutinesHome(ServiceLocator.java:134)
         at com.ppl.business.LoginBusiness.isUserServiceAvailable(LoginBusiness.java:50)
         at org.apache.jsp.testEJBComponents_jsp._jspService(testEJBComponents_jsp.java:72)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    Caused by: java.lang.Error: Untranslated exception
         at sun.nio.ch.Net.translateToSocketException(Net.java:63)
         at sun.nio.ch.Net.translateException(Net.java:79)
         at sun.nio.ch.Net.translateException(Net.java:85)
         at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:61)
         at com.sun.enterprise.server.ss.ASServerSocket.bind(ASServerSocket.java:258)
         at com.sun.enterprise.server.ss.ASServerSocket.bind(ASServerSocket.java:231)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createServerSocket(IIOPSSLSocketFactory.java:289)
         at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:160)
         ... 62 more
    Caused by: java.net.SocketException: Already bound
         at sun.nio.ch.Net.translateToSocketException(Net.java:49)
         ... 69 more
    Caused by: sun.nio.ch.AlreadyBoundException
         at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:114)
         at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
         ... 66 more
    |#]
    [#|2005-12-09T17:39:55.703+0000|WARNING|sun-appserver-pe8.1_02|javax.enterprise.resource.corba._INITIALIZING_.rpc.presentation|_ThreadID=11;|"IOP02310202: (OBJ_ADAPTER) Error in connecting servant to ORB"
    org.omg.CORBA.OBJ_ADAPTER: vmcid: SUN minor code: 202 completed: No
         at com.sun.corba.ee.impl.logging.ORBUtilSystemException.orbConnectError(ORBUtilSystemException.java:8276)
         at com.sun.corba.ee.impl.logging.ORBUtilSystemException.orbConnectError(ORBUtilSystemException.java:8294)
         at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1538)
         at com.sun.corba.ee.spi.presentation.rmi.StubAdapter.connect(StubAdapter.java:164)
         at com.sun.corba.ee.impl.orbutil.ORBUtility.connectAndGetIOR(ORBUtility.java:825)
         at com.sun.corba.ee.impl.orb.ORBImpl.getFVDCodeBaseIOR(ORBImpl.java:901)
         at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.addServiceContexts(CorbaClientRequestDispatcherImpl.java:737)
         at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:227)
         at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:127)
         at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:244)
         at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
         at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
         at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:345)
         at com.sun.jndi.cosnaming.CNCtx.initUsingCorbanameUrl(CNCtx.java:321)
         at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:247)
         at com.sun.jndi.cosnaming.CNCtx.createUsingURL(CNCtx.java:85)
         at com.sun.jndi.url.iiop.iiopURLContextFactory.getUsingURLIgnoreRest(iiopURLContextFactory.java:56)
         at com.sun.jndi.url.iiop.iiopURLContext.getRootURLContext(iiopURLContext.java:44)
         at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:182)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.ppl.services.ServiceLocator.lookup(ServiceLocator.java:47)
         at com.ppl.services.ServiceLocator.getRemoteHome(ServiceLocator.java:74)
         at com.ppl.services.ServiceLocator.getRemoteUSRRoutinesHome(ServiceLocator.java:134)
         at com.ppl.business.LoginBusiness.isUserServiceAvailable(LoginBusiness.java:50)
         at org.apache.jsp.testEJBComponents_jsp._jspService(testEJBComponents_jsp.java:72)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 216 completed: No
         at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:2661)
         at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:2681)
         at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:167)
         at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.getAcceptors(CorbaTransportManagerImpl.java:207)
         at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.addToIORTemplate(CorbaTransportManagerImpl.java:224)
         at com.sun.corba.ee.spi.oa.ObjectAdapterBase.initializeTemplate(ObjectAdapterBase.java:104)
         at com.sun.corba.ee.impl.oa.toa.TOAImpl.<init>(TOAImpl.java:78)
         at com.sun.corba.ee.impl.oa.toa.TOAFactory.getTOA(TOAFactory.java:65)
         at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1536)
         ... 56 more
    Caused by: java.lang.Error: Untranslated exception
         at sun.nio.ch.Net.translateToSocketException(Net.java:63)
         at sun.nio.ch.Net.translateException(Net.java:79)
         at sun.nio.ch.Net.translateException(Net.java:85)
         at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:61)
         at com.sun.enterprise.server.ss.ASServerSocket.bind(ASServerSocket.java:258)
         at com.sun.enterprise.server.ss.ASServerSocket.bind(ASServerSocket.java:231)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createServerSocket(IIOPSSLSocketFactory.java:289)
         at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:160)
         ... 62 more
    Caused by: java.net.SocketException: Already bound
         at sun.nio.ch.Net.translateToSocketException(Net.java:49)
         ... 69 more
    Caused by: sun.nio.ch.AlreadyBoundException
         at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:114)
         at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
         ... 66 more
    |#]

    http://docs.sun.com/source/819-0079/dgjndi.html

Maybe you are looking for

  • How can i copy all Zprograms at a time

    HI,    Now in our Company We are upgrading sap 4.7 to ecc 6.0. We want to copy all zprograms from 4.7 to ecc 6.0. can any one help me how to copy all zprograms at a single step. if You give a good solution it may be helpful to me. I tried by writing

  • My new apple bluetooth wireless keyboard types a "j" when I hit "k" and a "k" when i hit "j".  Any ideas?

    My new apple bluetooth wireless keyboard types a "j" when I hit "k" and a "k" when i hit "j".  Any ideas?

  • Need SD & MM Workflow Scenarios

    Hi experts , I'm studying SD & MM functional, I need to know about real time SD & MM Workflow scenarios, how it works, how it is configured, administrated etc. If u have any screen shot Pdf on SD or MM workflow's please send me the same to my e-mail

  • HP Printer Officejet J4680

     I am trying to set up this wireless printer and it is not working.  It let me with USB port and is working that way.   I have installed all the drivers it told me to and tried to go through "Printer and Drivers" and "Add Printers" and "Wireless" but

  • CM12 OSD using UDI - Applications Does Not Install

    Hello all, hoping someone can shed some light on my issue. This is the first time I'm trying to use UDI for OSD so bare with me. I've done some research and I'm able deploy an OS using UDI but my applications are not installing. I only have one appli