Unable to connect to remote EJB

Hi All,
I have a remote Session Bean deployed on JBOSS App Server on a linux machine. and I am trying to call the session bean method from a servlet, which is deployed on Tomcat 5.5 web server on windows machine.
My Session Code:_
// My seesion bean
public class HelloSessionBean implements SessionBean, HelloBeanSessionRemote
      private SessionContext context;
      public void setSessionContext(SessionContext aContext)
         context = aContext;   
      public void ejbActivate()
      public void ejbPassivate()
      public void ejbRemove()
      public void ejbCreate()
      public String hello()
                SOP("Hi to ALL");
// my remote Interfaces
public interface HelloBeanSessionRemote extends EJBObject, HelloBeanSessionRemoteBusiness
public interface HelloBeanSessionRemoteBusiness
     public String hello()  throws RemoteException;     
//my home interface
public interface HelloSessionRemoteHome extends EJBHome
    HelloBeanSessionRemote create()  throws CreateException, RemoteException;
My Servlet Code:_
// Servlet in TOMCAT
public class RequestHandler extends HttpServlet
      protected void processRequest(HttpServletRequest request, HttpServletResponse response)
      throws ServletException, IOException
                Context context = getInitialContext();
                    Object objectReference = context.lookup("HelloSessionBean");
                    HelloSessionRemoteHome home = (HelloSessionRemoteHome)
                                PortableRemoteObject.narrow(objectReference, HelloSessionRemoteHome.class);
               HelloBeanSessionRemoteBusiness remoteBusiness =  (HelloBeanSessionRemoteBusiness) home.create();          
          remoteBusiness.hello();
      public Context getInitialContext() throws Exception
               Properties jbossProperties = new Properties();
               jbossProperties.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
               jbossProperties.put(Context.PROVIDER_URL, "jnp://myIP:1199");
               jbossProperties.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces");
               return new InitialContext(jbossProperties);
}Now I am trying to call the session bean method from my servlet. But I am continously getting the following:
javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
     java.net.SocketException: Connection reset]
     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
     at javax.naming.InitialContext.lookup(Unknown Source)Please anyone try to sort my issue. I have been trying, but cudnt get a solution. Is it because both the JVMs are installed on a different platform OS.
Thanking You.

Hi All,
I have a remote Session Bean deployed on JBOSS App Server on a linux machine. and I am trying to call the session bean method from a servlet, which is deployed on Tomcat 5.5 web server on windows machine.
My Session Code:_
// My seesion bean
public class HelloSessionBean implements SessionBean, HelloBeanSessionRemote
      private SessionContext context;
      public void setSessionContext(SessionContext aContext)
         context = aContext;   
      public void ejbActivate()
      public void ejbPassivate()
      public void ejbRemove()
      public void ejbCreate()
      public String hello()
                SOP("Hi to ALL");
// my remote Interfaces
public interface HelloBeanSessionRemote extends EJBObject, HelloBeanSessionRemoteBusiness
public interface HelloBeanSessionRemoteBusiness
     public String hello()  throws RemoteException;     
//my home interface
public interface HelloSessionRemoteHome extends EJBHome
    HelloBeanSessionRemote create()  throws CreateException, RemoteException;
My Servlet Code:_
// Servlet in TOMCAT
public class RequestHandler extends HttpServlet
      protected void processRequest(HttpServletRequest request, HttpServletResponse response)
      throws ServletException, IOException
                Context context = getInitialContext();
                    Object objectReference = context.lookup("HelloSessionBean");
                    HelloSessionRemoteHome home = (HelloSessionRemoteHome)
                                PortableRemoteObject.narrow(objectReference, HelloSessionRemoteHome.class);
               HelloBeanSessionRemoteBusiness remoteBusiness =  (HelloBeanSessionRemoteBusiness) home.create();          
          remoteBusiness.hello();
      public Context getInitialContext() throws Exception
               Properties jbossProperties = new Properties();
               jbossProperties.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
               jbossProperties.put(Context.PROVIDER_URL, "jnp://myIP:1199");
               jbossProperties.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces");
               return new InitialContext(jbossProperties);
}Now I am trying to call the session bean method from my servlet. But I am continously getting the following:
javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
     java.net.SocketException: Connection reset]
     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
     at javax.naming.InitialContext.lookup(Unknown Source)Please anyone try to sort my issue. I have been trying, but cudnt get a solution. Is it because both the JVMs are installed on a different platform OS.
Thanking You.

Similar Messages

  • SharePoint Online - "Unable to connect to remote server"

    Hi,
    I have a Provider Hosted App which gets the data from a different site collection. Now, when i try to connect to a different site collection, the TokenHelper
    class gives me an error -  "Unable to connect to remote server". 
    The error is thrown in the below line:
    acsMetadata = webClient.DownloadData(acsMetadataEndpointUrlWithRealm);
    The above error is not thrown always. It throws occasionally. I am not getting the reason for this. Could anybody explain what is the problem, please? 

    Hi,
    According to your description, my understanding is that the error "Unable to connect to remote server" occurs in the WebClient.DownloadData Function.
    As this error throws occasionally, it should be related to the network issue, for a better troubleshooting, I suggest you can check the detailed error message using Fiddler.
    Fiddler
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • SSRS 2008 - Unable to connect to remote server

    Win2k3 R2 SP2/SQL Server 2008 instance with SSRS/Visual Studio 2008
    I installed SQL 2008 and SSRS with native mode default configuration.
    All SQL 2008 services are running under "NT Authority\Network Service" account.
    When i try to deploy a new report, I get the "Unable to connect to remote server" error.
    The deploy operation creates empty folders on the web server (hosted by the SQL Server 2008 service)
    for e.g.
    my instance name is <machinename>$sql2008. i configured the WebService URL and the Reports Manager URL to port 85
    the deploy from VS creates ssrs2008Test folder and a Shared Data Sources folder in the following virtual directory
      - Report Manager URL: http://<machinename>:85/Reports_SQL2008/
      - Web Service URL: http://<machinename>:85/ReportServer_SQL2008
    however these folders are empty w/ no .rdl or .rds file. and i get the "Unable to connect to remote server"  error in Visual Studio 2008 when i deploy it.
    is there something else i have to tweak in either the SQL Server/SSRS Configuration Manager or the Windows Server Settings(like port settings or group policy) to get the reports to work?
    thanks
    -vt

    SecureConnectionLevel = 2
    From logFile:
    appdomainmanager!DefaultDomain!740!08/29/2008-08:00:30:: i INFO: Appdomain:6 ReportServer_SQL2008_0-3-128644956308203194 started.
    appdomainmanager!ReportServer_0-3!740!08/29/2008-08:00:31:: i INFO: RS authentication mode is 5; effective ASP.NET authentication mode is Windows. vdir=/ReportServer_SQL2008.
    httpruntime!ReportServer_0-3!740!08/29/2008-08:00:31:: i INFO: Report Builder manifest file C:\Program Files\Microsoft SQL Server\MSRS10.SQL2008\Reporting Services\ReportServer\ReportBuilder\ReportBuilder_2_0_0_0\MSReportBuilder.exe.manifest not found.
    appdomainmanager!DefaultDomain!740!08/29/2008-08:00:31:: i INFO: Appdomain:6 ReportServer_SQL2008_0-3-128644956308203194 initialized (#2).
    webserver!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Reporting Web Server started
    resourceutilities!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Reporting Services starting SKU: Developer
    resourceutilities!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Evaluation copy: 0 days left
    resourceutilities!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Running on 1 physical processors, 4 logical processors
    runningjobs!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Running Requests Scavenger timer enabled: Next Event: 60 seconds.  Cycle: 60 seconds
    runningjobs!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Running Requests DB timer enabled: Next Event: 60 seconds.  Cycle: 60 seconds
    runningjobs!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Memory stats update timer enabled: Next Event: 60 seconds.  Cycle: 60 seconds
    library!ReportServer_0-3!1588!08/29/2008-08:00:38:: Call to GetItemTypeAction(/ssrs2008Test).
    library!ReportServer_0-3!1588!08/29/2008-08:00:39:: i INFO: Catalog SQL Server Edition = Developer
    crypto!ReportServer_0-3!1588!08/29/2008-08:00:39:: i INFO: Initializing crypto as user: NT AUTHORITY\NETWORK SERVICE
    crypto!ReportServer_0-3!1588!08/29/2008-08:00:39:: i INFO: Exporting public key
    crypto!ReportServer_0-3!1588!08/29/2008-08:00:39:: i INFO: Performing sku validation
    crypto!ReportServer_0-3!1588!08/29/2008-08:00:39:: i INFO: Importing existing encryption key
    library!ReportServer_0-3!740!08/29/2008-08:00:39:: Call to GetItemTypeAction(/Data Sources).
    library!ReportServer_0-3!1588!08/29/2008-08:00:39:: Call to GetItemTypeAction(/Data Sources/masterDB).
    library!ReportServer_0-3!740!08/29/2008-08:00:40:: Call to GetItemTypeAction(/ssrs2008Test/sp_who2).

  • HTTP Response :500 unable to connect to remote system.

    Hi,
    I am doing proxy-xi-file scenario, where i am getting this error in sxmb_moni in R/3.
    The error reads with red flag:
    HTTP Response :500 unable to connect to remote system.
    Please  tell me what can be the reason.

    Snehal,
    Error: The error message 503 Service unavailable Application stopped! is displayed.
    Description: The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay MAY be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response.
    Note: The existence of the 503 status code does not imply that a server must use it when becoming overloaded. Some servers may wish to simply refuse the connection.
    Possible Tips: Because of J2EE application com.sap.aii.af.ms.app not active
    • Try to (re)start the application using the Visual Administrator Choose Server --> Services --> Deploy --> View on Application or restart the J2EE engine
    • The problem is that not all J2EE services can be started by the J2EE. i.e Start the Visual Administrator and select Server->Services->Deploy in the tree on the left. On the right-hand side, choose the Runtime tab page. You see a tree in the right window with all applications if you select the APPLICATION radio button. Check if they are running, otherwise choose Start. Usually the J2EE engine starts all services automatically.
    • Refer SAP Note 803145,807000,791655
    You can have a look on this blog for the same.
    /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
    Regards,
    Sarvesh

  • Debugger unable to connect to remote process

    Hi There,
    I am running Jdev on pc and OAS 10g on an unix environment. I followed the step in the doc to set up the remote debugging. However, when I start the remote debugger from jdev, i got the following error message.
    Debugger attempting to connect to remote process at ax-portal-www6.dev.ipass.com 4000..
    Debugger unable to connect to remote process.
    Your help wuld be greatly appreciated.

    A couple things to try:
    1) Verify your jdk version and build bug 4411232
    2) Increase your Debugger preferences Connection retries to double the default (especially if multiple apps running, low memory or a slow machine)
    Without more specifics on versions, type of debugging or details not much more I can suggest.

  • Xcode - Unable to Connect to Remote Repository

    I have a mac mini running OS X Server 4 on Yosemite 10.10.1 and I am trying to set up the Xcode server to host my repositories.
    On my development machine, when I try to create a project on the remote server, or when I try to push to the server I get the error..
    "Unable to Connect to Remote Repository
    Could not connect to the remote repository because the server was unreachable. Verify the server is running and try again."
    My machine knows that the remote server is there and alive.  I am able to add the server in Xcode preferences without any problem.
    I can even pull projects that were already on the server.  But anything new I cannot push or create.
    All the other services I use on the server are working.  Hosting a website, Screen sharing and I can SSH into it without any problem.
    The strangest part is that when I get the error about being unable to connect, the project I am trying to push actually does show up on the server.
    The project shows up on the server in the Repositories.  Just my development machine doesn't know it.
    Its driving me nuts, can anyone offer any ideas?

         You said you had SSH access working so this may be a different issue.  I was able to ssh into my server only with my admin account which made me think that ssh was working, but it turns out it wasn't for all user accounts.   I had the same error message and it turned out I could not ssh into the server with my developer accounts.  If I tried to clone a local repository to the server I got the same error, however the repository was actually create, but it was empty.   For reasons that don't matter to this discussion I originally setup all my users as "local network users" with no "Home Folder".  And that was the problem.  Basically ssh won't allow you to login without a home directory. 
         I had to go back and add a "Home Folder" of  "Local Only" for those users who were going to have xCode access.  Once the "home" directory was created I could login via ssh on those accounts AND creating and cloning repositories through xCode worked fine. The admin account that I was able to login with already had a home directory and wasn't a network user.
    Your issue slightly different even though I got the same error message, so not sure if this will solve your issue or not.  But on the off  chance that it is the same issue,   I figured I would post my solution to my problem.  ymmv
    P.S. I did turn off websites on my server and haven't turned it back on yet, so not sure if that will be a problem if I turn it back on.

  • Unable to connect to remote Jrockit instance

    Hi,
    I Tried configuring Jrockit and integrating weblogic server with it.
    I was successfull in monitoring the locally deployed app through integrated weblogic in JRMC 4.0.
    Please suggest if the following steps mentioned are proper or not.
    1) Installed JRMC 4.0 .
    2. Configured in default domain/bin folder of Weblogic server setDomainEnv.cmd as follows:-(Configuring oracle Jrockit in Weblogic since i have to use Jrockit JVM instead of Sun JDK Hot Spot)
    set BEA_JAVA_HOME=C:\Program Files\Java\jrmc-4.0.0-1.6.0
    set SUN_JAVA_HOME=D:\Oracle\Middleware\jdk160_18
    if "%JAVA_VENDOR%"=="Oracle" (
         set JAVA_HOME=%BEA_JAVA_HOME%
    ) else (
    if "%JAVA_VENDOR%"=="Sun" (
              set JAVA_HOME=%SUN_JAVA_HOME%
         ) else (
              set JAVA_VENDOR=Oracle
              set JAVA_HOME=C:\Program Files\Java\jrmc-4.0.0-1.6.0
    3.Inturn i modified Java_Options in my local weblogic server startWebLogic.cmd and Remote weblogic server startWebLogic.cmd as follows:-
    Local weblogic server startWebLogic.cmd :-
    set SAVE_JAVA_OPTIONS="-Djava.rmi.server.hostname=ZSLW521 -Xmanagement:ssl=false,authenticate=false,port=7091,autodiscovery=true"
    export JAVA_OPTIONS
    Remote weblogic server startWebLogic.cmd :-
    set SAVE_JAVA_OPTIONS="-Djava.rmi.server.hostname=ZSLW577 -Xmanagement:ssl=false,authenticate=false,port=7091,autodiscovery=true"
    export JAVA_OPTIONS
    4. My Oracle Jrockit Start parameters are as follows:-
    C:\Program Files\Java\jrmc-4.0.0-1.6.0\bin>java -Xmanagement:port=7091,ssl=false,authenticate=false,autodiscovery=true
    and even i am getting the status as follows in command prompt:
    [INFO ][mgmnt  ] Remote JMX connector started at address zslw577:7091
    [INFO ][mgmnt  ] Local JMX connector started
    [INFO ][mgmnt  ] JDP autodiscovery started at address 232.192.1.212:7095
    Iin jrmc4.0 UI i am getting JDP (JRockit Discovered protocal)as follows:-
    1. Discovered --> JDP --> zslw577:zsl.local and
    zslw51
    2.But the Problem is that in the tabbed menu
    Discovered-->LOACL-->Getting Local JRockit Weblogic server Instance and Not Remote Server Weblogic Server Instance
    is when i am trying to establish a connection :-
    HOST:zslw521
    PORT:7091
    1.And testing the connection giving me : Unable to Connect
    Even If I want To test The JDP of Remote and Local JVM Instances by right clicking and selecting the option of START CONSOLE
    Could not open Management Console for zslw577.zsl.local.
    com.jrockit.mc.rjmx.ConnectionException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 172.16.26.60; nested exception is:
         java.net.ConnectException: Connection refused: connect]
    com.jrockit.mc.rjmx.ConnectionException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 172.16.26.60; nested exception is:
             java.net.ConnectException: Connection refused: connect]
         at com.jrockit.mc.rjmx.ConnectionManager.connect(ConnectionManager.java:63)
         at com.jrockit.mc.console.ui.actions.StartConsole$1.preConnect(StartConsole.java:39)
         at com.jrockit.mc.browser.utils.PreConnectJob.run(PreConnectJob.java:74)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Caused by: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 172.16.26.60; nested exception is:
             java.net.ConnectException: Connection refused: connect]
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338)
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:227)
         at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:593)
         at com.jrockit.mc.rjmx.internal.RJMXConnection.establishConnection(RJMXConnection.java:561)
         at com.jrockit.mc.rjmx.internal.RJMXConnection.setupServer(RJMXConnection.java:545)
         at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:145)
         at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.establishConnection(RJMXConnectorModel.java:114)
         at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.connect(RJMXConnectorModel.java:157)
         at com.jrockit.mc.rjmx.ConnectionManager.innerConnect(ConnectionManager.java:95)
         at com.jrockit.mc.rjmx.ConnectionManager.connect(ConnectionManager.java:61)
         ... 3 more
    Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 172.16.26.60; nested exception is:
             java.net.ConnectException: Connection refused: connect]
         at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
         at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
         at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
         ... 12 more
    Caused by: java.rmi.ConnectException: Connection refused to host: 172.16.26.60; nested exception is:
         java.net.ConnectException: Connection refused: connect
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
         at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
         at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
         at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
         at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:228)
         at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:594)
         at com.jrockit.mc.rjmx.internal.RJMXConnection.establishConnection(RJMXConnection.java:561)
         at com.jrockit.mc.rjmx.internal.RJMXConnection.setupServer(RJMXConnection.java:545)
         at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:146)
         at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.establishConnection(RJMXConnectorModel.java:114)
         at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.connect(RJMXConnectorModel.java:158)
         ... 5 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:525)
         at java.net.Socket.connect(Socket.java:475)
         at java.net.Socket.<init>(Socket.java:372)
         at java.net.Socket.<init>(Socket.java:186)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
         at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
         at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
         at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
         at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:227)
         at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:593)
         at com.jrockit.mc.rjmx.internal.RJMXConnection.establishConnection(RJMXConnection.java:561)
         at com.jrockit.mc.rjmx.internal.RJMXConnection.setupServer(RJMXConnection.java:545)
         at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:145)
         at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.establishConnection(RJMXConnectorModel.java:114)
         at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.connect(RJMXConnectorModel.java:157)
         ... 5 more
    Thanks in advance
    Regards
    RK
    Edited by: user9352887 on Jun 17, 2010 6:52 AM
    Edited by: user9352887 on Jun 17, 2010 7:07 AM
    Edited by: user9352887 on Jun 17, 2010 7:13 AM

    Probably, you'll have more luck on the JRockit forum, I would guess - or perhaps the WebLogic Server forum :)
    John

  • [E2010] [EWS] [C#] [Windows]: Unable to connect to remote server

    I have a Windows Service that uses EWS to connect to a mailbox and do some things with certain emails. The service has been running for a while now, with little to no issues. Just recently the service will stop and when viewing the event log, we receive
    the following error.
    Error Message: The request failed. Unable to connect to the remote server
    Inner Exception: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full
       at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.Sockets.Socket.InternalBind(EndPoint localEP)
       at System.Net.Sockets.Socket.BeginConnectEx(EndPoint remoteEP, Boolean flowContext, AsyncCallback callback, Object state)
       at System.Net.Sockets.Socket.UnsafeBeginConnect(EndPoint remoteEP, AsyncCallback callback, Object state)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
       --- End of inner exception stack trace ---
       at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.Exchange.WebServices.Data.EwsHttpWebRequest.Microsoft.Exchange.WebServices.Data.IEwsHttpWebRequest.GetResponse()
       at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
    Target Site: Microsoft.Exchange.WebServices.Data.IEwsHttpWebResponse GetEwsHttpWebResponse(Microsoft.Exchange.WebServices.Data.IEwsHttpWebRequest)
    Source: Microsoft.Exchange.WebServices
    Stack Trace:    at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
       at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ValidateAndEmitRequest(IEwsHttpWebRequest& request)
       at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()
       at Microsoft.Exchange.WebServices.Data.ExchangeService.FindItems[TItem](IEnumerable`1 parentFolderIds, SearchFilter searchFilter, String queryString, ViewBase view, Grouping groupBy, ServiceErrorHandling errorHandlingMode)
       at Microsoft.Exchange.WebServices.Data.ExchangeService.FindItems(FolderId parentFolderId, SearchFilter searchFilter, ViewBase view)
       at MyClass.CleanupDeletedItems()
       at MyClass.ReadEmail()
       at MyService.WorkerFunction()
    This so far has only occured twice, but I am not sure if the issue is on the exchange servers, or the server where the service itself is running. Any ideas on what would cause this issue and how to go about fixing it?
    If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.
    Don't Retire Technet

    Hi Clayman
    Well it makes sense to me that the registry could help, checking the lines in the error code, it appears that the for some reason the server could not stablish a connection, the error states: because the system lacked sufficient buffer space or because a queue
    was full.
    It seems don't make sence untill you have a look at Socket Class (MSDN article), which say: The Socket class provides a rich set of methods and properties for network communications. The Socket class allows you to perform both synchronous and asynchronous data
    transfer using any of the communication protocols listed in the ProtocolType
    Checking also the HttpWebRequest Class, we can see the it also relays on Socket Class, as it says by the end of your exception:
    [at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)]
    I also don't know if you could reboot your machine, but it would be good.
    Also I really think its worthy a try, as not much information can befound on this EWS issue.
    MaxUserPort
    From <http://technet.microsoft.com/en-us/library/cc938196.aspx> 
    Socket Class
    From <http://msdn.microsoft.com/en-us/library/system.net.sockets.socket(v=vs.110).aspx> 
    HttpWebRequest.GetResponse Method
    From <http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.getresponse(v=vs.110).aspx> 
    HttpWebRequest Class
    From <http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest(v=vs.110).aspx> 
    If you apply the registry change, let me know.
    Think before you ask, be detalist as much as possible, then ask and you will get help! Always have in mind, people do not guess! :)

  • Cannot open Report Manager URL -- "Unable to Connect to Remote Server"

    Hi, 
    I have recently installed SSRS 2012 on my remote server (Native Mode). I had the default configurations set except for the port has been changed to "8081". I created an Inbound Rule in Firewall to make sure it's enabled. 
    I'm unable to connect to the report manager locally at all, I got a Domain\username authentication and the credentials are never accepted locally.  I tried accessing my report server using the remote server host name and I was successfully logged in,
    however,  I got a message "Unable to Connect to the remote server". 
    I checked the log folder and there was no files created for my unsuccessful login. 
    I've been stumbling with this issue for almost a week, Any ideas or suggestions ?

    Hi SB User,
    Per my understanding that after you change the IP to "8081" then you can't connect to the report server both locally and remotely, right?
    Is that mean before you have changed the IP, everything works fine and did you got some pop up window ask for credential when you connect to the report server?
    You issue can be caused by many factors, please try to check details information below and do some configurations:
    Go to Reporting Services Configuration Manager and change the account to "Network Service" to see if it will works fine.
    Change the account to domain account and re-enter the username and password to see if it works fine. 
    Remove the SSL if configured.
    Go to C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\rsreportserver.config 
    In rsreportserver.config Change the SecureConnectionLevel value to "0":
    <Add Key="SecureConnectionLevel" Value="0"/>
    Stop and restart the report services instance to see if you can connect to report server.
    please also Using IP instead of computer name as the <servername> in the URL to have a test.
    If your issue still exists, please try to change the IP to have a test.
    If you still have any problem,please fee free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • How to connect to remote EJB 3.0 deployed on Glassfish from ADF application

    Hello, as we haven't managed to deploy ADF app with EJB 3.0 on Glassfish AS, nor on tomcat 6 with openEJB, nor on JBOSS 5GA, we're trying to deploy our app with remote interface on tomcat 6. We're using ADF, JSF and EJB 3.0 (Eclipselink as JPA).
    When the model project is deployed on WLS 10.3, everything works fine. Here is a part from DataControls.cpx
    <Source>
    <ejb-definition ejb-version="3.0" ejb-name="MySession"
    ejb-type="Session"
    ejb-business-interface="model.MySession"
    ejb-interface-type="remote"
    jndi-name="MySessionBean#model.MySession"
    provider-url="t3://localhost:7001"
    initial-context-factory="weblogic.jndi.WLInitialContextFactory"
    xmlns="http://xmlns.oracle.com/adfm/adapter/ejb"
    DataControlHandler="oracle.adf.model.adapter.bean.jpa.JPQLDataFilterHandler"/>
    </Source>Now the model project is deployed on Glassfish 2. I had to change DataControls.cpx
    <Source>
    <ejb-definition ejb-version="3.0" ejb-name="MySession"
    ejb-type="Session"
    ejb-business-interface="model.MySession"
    ejb-interface-type="remote"
    jndi-name="MySessionBean#model.MySession"
    provider-url="iiop://localhost:3700"
    initial-context-factory="com.sun.enterprise.naming.SerialInitContextFactory"
    xmlns="http://xmlns.oracle.com/adfm/adapter/ejb"
    DataControlHandler="oracle.adf.model.adapter.bean.jpa.JPQLDataFilterHandler"/>
    </Source>But I get the following error:
    SEVERE: Exception:
    oracle.jbo.JboException: JBO-29000: Выявлено непредвиденное исключение: javax.naming.NameNotFoundException, сообщ.=Exception in lookup.: `DocJournalService' could not be found.
         at oracle.adfinternal.model.adapter.ejb.EjbDataControl.<init>(EjbDataControl.java:171)
         at oracle.adfinternal.model.adapter.ejb.EjbDefinition.createDataControl(EjbDefinition.java:142)
         at oracle.adf.model.adapter.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:173)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:166)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: javax.naming.NameNotFoundException: Exception in lookup.: `DocJournalService' could not be found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
         at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:58)
         at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:252)
         at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:230)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at oracle.adfinternal.model.adapter.ejb.EjbDataControl.<init>(EjbDataControl.java:148)
         ... 60 more
    Caused by: org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
         at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:72)
         at org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContextExtStub.java:406)
         at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:241)
         ... 63 more
    ## Detail 0 ##
    javax.naming.NameNotFoundException: Exception in lookup.: `DocJournalService' could not be found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
         at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:58)
         at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:252)
         at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:230)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at oracle.adfinternal.model.adapter.ejb.EjbDataControl.<init>(EjbDataControl.java:148)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
         at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:72)
         at org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContextExtStub.java:406)
         at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:241)
         ... 63 more
    Could you tell me where is my mistake?

    http://www.alexnet.fr/doc/oracle/oas10132/web.1013/b28221/undejdev003.htm

  • Oracle 8.0.5 on RH6.0, unable to connect to remote database

    Hi Everybody,
    I have this problem, i have running oracle 8.0.5 on RH6.0
    everything works ok for me. But when i use sqlplus on box where
    is my Oracle running and try to connect to another database on
    my site (which is running on HPUX) I got resul ORA-01017 invalid
    username/password. Tnsping to this machine is ok, so i have this
    in my tnsname.ora When i create dabase link (with user which I
    try to use to connect remote database) on my local datbase to
    this database then link works sucessfully too. select * from
    dual@remote_database Ok. What's wrong ??? Remote database is
    Oracle 7.3.4.3 on HPUX. Any difference between SQL*Net of
    Oracle7 and 8 ???
    null

    Try putting
    disable_oob = ON
    in your sqlnet.ora file.
    Anwar.
    Radek Sedmak (guest) wrote:
    : Hi Everybody,
    : I have this problem, i have running oracle 8.0.5 on RH6.0
    : everything works ok for me. But when i use sqlplus on box where
    : is my Oracle running and try to connect to another database on
    : my site (which is running on HPUX) I got resul ORA-01017
    invalid
    : username/password. Tnsping to this machine is ok, so i have
    this
    : in my tnsname.ora When i create dabase link (with user which I
    : try to use to connect remote database) on my local datbase to
    : this database then link works sucessfully too. select * from
    : dual@remote_database Ok. What's wrong ??? Remote database is
    : Oracle 7.3.4.3 on HPUX. Any difference between SQL*Net of
    : Oracle7 and 8 ???
    null

  • Connecting to Remote EJB from Servlet in same application

    Please help!
    I was able to connect to SessionBeans and EJB from my sample java client in OCJ4 but when I try to do same thing from my web application using servlets, I get the below NullPointerException error.
    The JNDI lookup works fine using java client but difficult from a servlet.
    I am sure there is something I am missing.
    Thanks
    This is what I do in the servlet:
    public void init() throws ServletException, NamingException, CreateException, RemoteException
    Context jndiContext = getInitialContext();
    SessionCartEJBHome home = (SessionCartEJBHome)jndiContext.lookup("SessionCartEJBBean");
    sessionEJB = null;
    try{
    sessionEJB = (SessionCartEJB) home.create();
    }catch (Exception e)
    e.printStackTrace();
    private static Context getInitialContext() throws NamingException
    Hashtable env = new Hashtable();
    // Standalone OC4J connection details
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "admin");
    env.put(Context.SECURITY_CREDENTIALS, "admin");
    env.put(Context.PROVIDER_URL, "ormi://Princeton/ejb1");
    return new InitialContext(env);
    And when I call the following procedure, it blow up at the line sessionEJB.getLineItem(new Long(1304));
    sessionEJB is a class variable.
    void processCatalogPage(HttpServletRequest request,
    HttpServletResponse response,
    ActionMapping mapping,
    HttpSession session
    throws ServletException, IOException , Exception, FinderException{
    try {
    ActionForward actFor = null;
    String itemId = request.getParameter("id");
    if ( itemId != null ) {
    String[] itemIds = new String[1];
    itemIds[0] = itemId;
    sessionEJB.getLineItem(new Long(1304));
    actFor = mapping.findForward("catalog");
    return (mapping.findForward("success"));
    } catch (Exception ex)
    ex.printStackTrace();
    System.err.println(ex.toString());
    throw new EJBException(ex.toString());
    04/12/11 23:45:24 java.lang.NullPointerException
    04/12/11 23:45:24 at com.alashoofi.Cart.processCatalogPage(Cart.java:187)
    04/12/11 23:45:24 at com.alashoofi.Cart.execute(Cart.java:86)
    04/12/11 23:45:24 at org.apache.struts.action.RequestProcessor.processActi
    onPerform(RequestProcessor.java:484)
    04/12/11 23:45:24 at org.apache.struts.action.RequestProcessor.process(Req
    uestProcessor.java:274)
    04/12/11 23:45:24 at org.apache.struts.action.ActionServlet.process(Action
    Servlet.java:1482)
    04/12/11 23:45:24 at org.apache.struts.action.ActionServlet.doGet(ActionSe
    rvlet.java:507)
    04/12/11 23:45:24 at javax.servlet.http.HttpServlet.service(HttpServlet.ja
    va:740)
    04/12/11 23:45:24 at javax.servlet.http.HttpServlet.service(HttpServlet.ja
    va:853)
    04/12/11 23:45:24 at com.evermind.server.http.ServletRequestDispatcher.inv
    oke(ServletRequestDispatcher.java:765)
    04/12/11 23:45:24 at com.evermind.server.http.ServletRequestDispatcher.for
    wardInternal(ServletRequestDispatcher.java:317)
    04/12/11 23:45:24 at com.evermind.server.http.HttpRequestHandler.processRe
    quest(HttpRequestHandler.java:790)
    04/12/11 23:45:24 at com.evermind.server.http.HttpRequestHandler.run(HttpR
    equestHandler.java:270)
    04/12/11 23:45:24 at com.evermind.server.http.HttpRequestHandler.run(HttpR
    equestHandler.java:112)
    04/12/11 23:45:24 at com.evermind.util.ReleasableResourcePooledExecutor$My
    Worker.run(ReleasableResourcePooledExecutor.java:192)
    04/12/11 23:45:24 at java.lang.Thread.run(Thread.java:534)
    04/12/11 23:45:24 java.lang.NullPointerException
    Dec 11, 2004 11:45:24 PM org.apache.struts.action.RequestProcessor processExcept
    ion
    WARNING: Unhandled Exception thrown: class javax.ejb.EJBException

    Avi,
    Thanks for your response. I am actually returning a new InitialContext in a function call in the servlet. What I have noticed though is that JDeveloper creates two ear files for the application. One for the ejbs called ejb1.ear and another for the web files webapp1.ear. These are located in the applications subdirectory in OC4J directory.
    I know I have two projects in the application, model and viewController. I am just trying to follow the MVC pattern.
    In short, I don't think the web and the ejbs are in same ear file. I made the web project depend on the ejbs though. There is an option to set such. I don't know how to tell JDeveloper to put them all in one ear file.
    I will appreciate any suggestion.
    Thanks
    Matilda

  • Unable to connect to remote JMX

    Hi guys,
    In our development environment in linux, we are using resin + jdk1.5.
    i started my resin server with these options:
    -Dcom.sun.management.jmxremote
    -Dcom.sun.management.jmxremote.port=8004
    -Dcom.sun.management.jmxremote.authenticate=false
    -Dcom.sun.management.jmxremote.ssl=false
    It returns "Connection failed" when i tried to connect to it from local.
    If i use those options and start it locally, i am able to connect.
    Anyone has any ideas what am i missing?
    Thanks.
    Message was edited by:
    jinchuriki

    I'm also running into this issue on a Linux machine running JDK 1.6.0_12:
    java -version
    java version "1.6.0_12"
    Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
    Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01, mixed mode)I'm running with the following VM parameters:
    -Dcom.sun.management.jmxremote.port=9958 -Dcom.sun.management.jmxremote.authenticate=false
    -Dcom.sun.management.jmxremote.ssl=falseFrom a windows machine I run jconsole:
    JConsole version "1.6.0_10-rc2-b32"
    Java(TM) SE Runtime Environment (build 1.6.0_10-rc2-b32)
    Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)jconsole 192.168.10.143:9958
    It appears to begin to connect (I see the JMX monitoring tabs and a progress bar) then it says:
    Connection Failed: Retry?
    The connection to 192.168.10.143:9958 did not succeed. Would you like to try again?It seems like the JConsole is able to partial connect to the remote JMX service but then fails somewhere in the process.
    If I try to connect to a non-JMX listening port on 192.168.10.143 I receive a message in the connection selection dialogue:
    Connection failed: non-JRMP server at remote endpointIf I connect to a port that the remote server isn't listening to I do not get the Connection Failed error, it ends up timing out then I sending me back to the New Connection window.

  • Assertion Error while connecting to Remote EJB in WebLogic

    Hi,
    Can anyone help me with thie error.
    Iam getting the following error when Iam trying to connect to to a EJB running on Weblogic .
    What might be the possible causes.
    This the code where Iam getting the error.
    String custData;
    com.o2.registration.adapter.CompanionAdapter stubCustomer = (com.o2.registration.adapter.CompanionAdapter) getRemoteInterface();
    custData = stubCustomer.getUserDetails(customerNumber, username, domain);
    I cannot use the serial version UID since the environments might change from development to test to production.
    I tried to google the error.,but I have not got any satisfactory answers. Can anyone possbily give me all the possible reasons that might cause this error.
    getUserDetails() is in CompanionAdpater.jar file.
    java.io.InvalidClassException: com.o2.registration.phase2.exception.Phase2Exception; Local class not compatible: stream classdesc serialVersionUID=1519825986371884674 local class serialVersionUID=4064166766298331797
    at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java(Compiled Code))
    at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java(Compiled Code))
    at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java(Compiled Code))
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
    at weblogic.rjvm.ClassTableEntry.readExternal(ClassTableEntry.java:29)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java(Compiled Code))
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
    at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:65)
    at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:37)
    at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:202)
    at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:193)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:641)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:488)
    at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:368)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    --------------- nested within: ------------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception creating response stream ] - with nested exception:
    [java.io.InvalidClassException: com.o2.registration.phase2.exception.Phase2Exception; Local class not compatible: stream classdesc serialVersionUID=1519825986371884674 local class serialVersionUID=4064166766298331797]
    at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:212)
    at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:193)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:641)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:488)
    at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:368)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    ERROR - Error Fetching Customer Details . Method : getUserDetails()
    ERROR - ; nested exception is:
    weblogic.utils.NestedException: ***** ASSERTION FAILED *****[ Exception creating response stream ] - with nested exception:
    [weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception creating response stream ] - with nested exception:
    [java.io.InvalidClassException: com.o2.registration.phase2.exception.Phase2Exception; Local class not compatible: stream classdesc serialVersionUID=1519825986371884674 local class serialVersionUID=4064166766298331797]]weblogic.rjvm.PeerGoneException: ; nested exception is:
    weblogic.utils.NestedException: ***** ASSERTION FAILED *****[ Exception creating response stream ] - with nested exception:
    [weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception creating response stream ] - with nested exception:
    [java.io.InvalidClassException: com.o2.registration.phase2.exception.Phase2Exception; Local class not compatible: stream classdesc serialVersionUID=1519825986371884674 local class serialVersionUID=4064166766298331797]]
    java.io.InvalidClassException: com.o2.registration.phase2.exception.Phase2Exception; Local class not compatible: stream classdesc serialVersionUID=1519825986371884674 local class serialVersionUID=4064166766298331797
    at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java(Compiled Code))
    at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java(Compiled Code))
    at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java(Compiled Code))
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
    at weblogic.rjvm.ClassTableEntry.readExternal(ClassTableEntry.java:29)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java(Compiled Code))
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
    at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:65)
    at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:37)
    at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:202)
    at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:193)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:641)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:488)
    at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:368)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    --------------- nested within: ------------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception creating response stream ] - with nested exception:
    [java.io.InvalidClassException: com.o2.registration.phase2.exception.Phase2Exception; Local class not compatible: stream classdesc serialVersionUID=1519825986371884674 local class serialVersionUID=4064166766298331797]
    at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:212)
    at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:193)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:641)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:488)
    at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:368)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    --------------- nested within: ------------------
    weblogic.utils.NestedException: ***** ASSERTION FAILED *****[ Exception creating response stream ] - with nested exception:
    [weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception creating response stream ] - with nested exception:
    [java.io.InvalidClassException: com.o2.registration.phase2.exception.Phase2Exception; Local class not compatible: stream classdesc serialVersionUID=1519825986371884674 local class serialVersionUID=4064166766298331797]]
    at weblogic.rjvm.RJVMImpl.gotExceptionReceiving(RJVMImpl.java:575)
    at weblogic.rjvm.ConnectionManager.gotExceptionReceiving(ConnectionManager.java:823)
    at weblogic.rjvm.t3.T3JVMConnection.hasException(T3JVMConnection.java:625)
    at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:427)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)

    Can anyone possbily give me all
    the possible reasons that might cause this error.There is only one possible reason. Two different interfaces (like client and server) have two different versions of the same class.

  • Unable to connect to remote JMS service

    Hi I am running J2EE server on a remote machine and trying to access it from a client. But I am getting this exception. Can anybody help me in fixing this problem.
    Aug 10, 2003 5:45:45 PM com.sun.jms.ConnectionFactoryImpl establishRemoteReferences
    SEVERE: ConnectionFactoryImpl: Failed to lookup or connect to JMS service because: javax.naming.NameNotFoundException [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
    Aug 10, 2003 5:45:45 PM com.sun.jms.ConnectionFactoryImpl establishRemoteReferences
    SEVERE: ConnectionFactoryImpl: Failed to lookup or connect to JMS service because: javax.naming.NameNotFoundException [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
    Exception in thread "main" java.lang.NullPointerException
    at com.sun.jms.client.ConnectionImpl.invokeRemoteCreateConnection(ConnectionImpl.java:161)
    at com.sun.jms.ConnectionFactoryImpl.createConnection(ConnectionFactoryImpl.java:314)
    at com.sun.jms.JMSXAQueueConnectionFactoryImpl.createXAQueueConnection(JMSXAQueueConnectionFactoryImpl.java:74)
    at com.sun.jms.JMSXAQueueConnectionFactoryImpl.createXAQueueConnection(JMSXAQueueConnectionFactoryImpl.java:52)
    at com.sun.jms.connector.ra.JMSConnectionFactoryAdapter.createQueueConnection(JMSConnectionFactoryAdapter.java:97)
    at EventSender.initProcess(EventSender.java:189)
    at EventSender.start(EventSender.java:77)
    at EventSender.main(EventSender.java:21)
    The command I used is "java -Dorg.omg.CORBA.ORBInitialHost=www.salvias.net EventSender 0 2 q1 q2 q3". I am running server on salvias.net.
    tia,
    Srinivas

    I forgot to mention that lookuos are succeeding. When I print the results of lookup operation, null is not getting printed. The application is failing at this statment
    conn = qcFactory.createQueueConnection();
    I am using J2EE server provided by SUN. And also where can I find the source code of J2EE.
    tia
    Srinivas

Maybe you are looking for

  • Unable to open office documents

    Hello, I have a test SharePoint environment (1 SQL and 1 Apps/Web Server).  I am trying to implement Office Web Apps on my farm (by the way, I have it functional on my prod environment with https) using http.  I setup a new server to run OWA, I insta

  • Any ideas of what service to go with for a laptop that I want to be able to use anywhere

    I just bought a lap top and it will be my main source of internet use now.  I am over whelmed with all the stuff on the internet about wireless internet.    I need to be able to play games on pogo along with browsing the net   e-mail and photos.  I u

  • New 10.6 computer with mobile user pinwheeling often

    Hi folks, I'm having an issue with a computer being used by one of our employees. She had an old 2009 iMac that she was using that began pinwheeling often whenever she was using it (we thought it was a Hard Drive Issue), so we replaced it with a new

  • Upgrading from WebUtil 1.0.2 to 1.0.5

    I've already installed WebUtil 1.0.2 Beta. Are there any instructions for upgrading to 1.0.5 Production? Or do I basically just re-install it? Sandy

  • How to handle lsmw table control

    i have to update line items for tcode : v-45. through LSMW. please let me know how to handle multiple line items.