RMI only accpets on Server Interface

Hi guys...
Well I have a program which 2 interfaces were bind to RMI server, StockServer and PurchaseServer.
The StockServer are works perfectly, but the PurchaseServer not, both interfaces are binding without exceptions, both stub are generated and referenced at runtime without exceptions - I print both stub with the toString method and a non-null value are printed.
But when I try to invoke a remote method from PurchaseServer interface I catch a Connection refused to host 127.0.0.1 as a java.rmi.ConnectException
I know which the RMI server support more than one interfaces at the same time, but why only the first one are work properly?!!??
Thanks all. Its URGENTE!!!!!!

HI josAH,
Thanks for the help, but I am using only one rmiregistry server and two server interfaces to bind into it. right now I solve the problem, I mount a list of client ot try send message to the server and all of them works properly...
So I focus on my application and get a reference problem, one of my stub clients was trying to connect to the remote interface before it been completly started. Multithread hard code problems
Thanks all.

Similar Messages

  • Rmi and classloader: some server instances can not find the class on server

    Hi:
    I want to migrate my rmi applications from JDK 1.1 to JDK1.2.2. It exists in the following environments:
    - there is one authentication server and many application servers, all have binded in the main method
    - dynamic loading of the server stubs and interfaces is not used; they are local on the client.
    - security manager is enabled only on the server site and the policy file is created.
    - all server classes, stubs and interfaces are in the same directory on server site
    - the registry and the server are started as follows:
    unsetenv CLASSPATH
    rmiregistry 1103 &
    setenv CLASSPATH ~usr/serverDir:~oracle/jdbc/lib/classes12.zip
    java -Djava.rmi.server.codebase=file://~usr/serverDir/
    -Djava.rmi.server.hostname=myHost -Djava.security.manager myServer
    After starting the client, the rmi client connects to the server and the authentication request comes back with a list of applications.
    When the user chooses one of them, the rmi sends the request to thatapplication (e.g., OMSRmiServer_Stub). The application could not find the other class on the sever directory: (the authenication server can find the same class)
    java.lang.NoClassDefFoundError: JOMPrepStatement
    at java.lang.Class.getFields0(Native Method)
    at java.lang.Class.getFields0(Compiled Code)
    at java.lang.Class.getDeclaredFields(Compiled Code)
    at java.io.ObjectStreamClass$1.run(Compiled Code)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessController.doPrivileged(Compiled Code)
    at java.io.ObjectStreamClass.<init>(Compiled Code)
    at java.io.ObjectStreamClass.lookupInternal(Compiled Code)
    at java.io.ObjectStreamClass.lookup(Compiled Code)
    at java.io.ObjectStreamClass.lookupInternal(Compiled Code)
    at java.io.ObjectStreamClass.lookup(Compiled Code)
    at java.io.ObjectStreamClass.lookupInternal(Compiled Code)
    at java.io.ObjectStreamClass.lookup(Compiled Code)
    at java.io.ObjectStreamClass.lookupInternal(Compiled Code)
    at java.io.ObjectOutputStream.writeObject(Compiled Code)
    at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:256)
    at sun.rmi.server.UnicastRef.invoke(Compiled Code)
    at OMSRmiServer_Stub.executeStringSetSelect(Unknown Source)
    at OMSDeviceRmiClient.getStatusLOV(OMSDeviceRmiClient.java:196)
    at OMSRmiClient.getStatusLOV(OMSRmiClient.java:76)
    at OMSDevicePane.listenToTree(Compiled Code)
         at OMSDeviceContextPane.initComponents(OMSDeviceContextPane.java:107)
    at OMSFrame.jomInit(Compiled Code)
    at JOMCountFrame.init(JOMCountFrame.java:190)
    at JOMCountFrame.run(JOMCountFrame.java:253)
    at java.lang.Thread.run(Thread.java:485)
    Any help is appreciated.
    - Mahan.

    in jdk1.2.2 no need classes12.zip in class path.
    just set CLASSPATH=.;
    that is enough for solving ur problem
    bye
    raghu

  • SQL Server interfaces through Schduler Agent

    Hi All,
    I have a SQL server source and 1 oracle source.For running the SQL server through agent , I have updated the odiparams.sh file as
    ODI_SECU_DRIVER=oracle.jdbc.driver.OracleDriver
    ODI_SECU_DRIVER=com.microsoft.sqlserver.jdbc.SQLServerDriver
    ODI_SECU_URL=jdbc:oracle:thin:@<hostno>:1521:DWHPROD1
    ODI_SECU_URL=jdbc:sqlserver://<hostno>:1433
    ODI_SECU_USER=odimaster
    ODI_SECU_ENCODED_PASS=aYyXCYqP5mHizfQzZJqURp
    ODI_SECU_WORK_REP=WORKREP
    ODI_USER=SUPERVISOR
    ODI_ENCODED_PASS=a7yXqYMFSzGapZjJUIq7CQ4np
    I'm able to execute the SQL server interfaces through this using the listener agent.
    I start the agent using
    ./agent.sh -port=20911
    ANd the agent starts.
    However when I try to start the scheduler agent using
    ./agentscheduler.sh -name="Test_Agent" -port=20911
    it gives me error
    com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user odimaster
    Now if i remove the sql related things from the odiparams i.e remove these statements
    ODI_SECU_DRIVER=com.microsoft.sqlserver.jdbc.SQLServerDriver
    ODI_SECU_URL=jdbc:sqlserver://<hostno>:1433
    After removing these statements,the scheduler agent works fine.
    I want to start the scheduler agent for SQL SERVER interfaces as well.Please let me know if you have any pointers for the same.
    Thanks,
    Pritika

    Hi ,
    ODI_SECU_DRIVER and ODI_SECU_URL is related to ODI master repository .
    You can have single master repository only which in turn can have multiple work repository .
    So odiparams.sh file can have only 1 entry for ODI_SECU_DRIVER and ODI_SECU_URL.
    You define your source and target data server information in Topology which will be stored in ODI repository .
    You don't have to specify the data server information in odiparams.sh .
    Regarding "whereas with these statements in odiparams.sh,Im able to execute the SQL Server interfaces using an agent"
    agent will not look into odiparams.sh file for repository parameters .. that is why it is working .
    But agentscheduler looks for repository parameters in odiparams.sh .. and your odiparams.sh file is not correct .. that is why it is failing .
    Thanks,
    Sutirtha

  • Why do I keep getting Error 519: Server interface error" - Server interface error "no component returned from creativewidget' Line: 479 - var test = parent.add('statictext', undefined, text)  when I try to use pattern fill/scripted patterns.  I have unin

    Why do I keep getting Error 519: Server interface error" - Server interface error "no component returned from creativewidget' Line: 479 -> var test = parent.add('statictext', undefined, text)  when I try to use pattern fill/scripted patterns.  I have uninstalled and re-installed PS CC.  I have opened holding down shift to disable third party plug-ins.  I have moved 3rd party plugins to a temp location outside of ps and it still doesn't help.  It worked once, and only once and now won't work at all.

    Unless your Photoshop question has to do with a download/install error, you should ask in Photoshop General Discussion
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • You cannot sign in to the Cisco Unified MeetingPlace Web Server interface using preconfigured system profiles

    Hi
    I recently upgrade tp 7.0.3  from 7.0.2.
    While upgrade i found that i am not able to login to the web server with the admin id "admin" default created in the application server.
    The same id i can login to application server  , but not in wewb server.
    I am getting the mentioned error "You cannot sign in to the Cisco Unified MeetingPlace Web Server interface using preconfigured system profiles".
    However if i create a new user in application server and tried logging with the  same in the web server it is working fine..
    is it a known behaviour wirh the upgrade or i m facing some issue.
    Hope i can find a solution here.
    Regards
    RC

    RC,
    This behavior is stemming from a change in MP 7.0 MR2 to disable the MPWeb login for system profiles.  This was an internal change made by the developers to restrict the log on to the MPWeb page by the default accounts created in MeetingPlace upon installation.  The change now displays this error when the admin account is attempted to be used for MPWeb login, as you experienced-
    Error:[22953] You cannot sign in to the Cisco Unified MeetingPlace Web Server interface using preconfigured system profiles.
    You should be able to log into MPWeb using any other user profile that you have either created manually or pulled in from LDAP/Active Directory.  You just cannot use the admin account.  This is reserved for login to the MP Application Server Administration page only.  I am going to work to get this information added to the MP 7.0 documentation with a note for changed behavior in MR2 and above.  Here is the note from MP 8.0 documentation-
    Note: You cannot use this preconfigured admin profile to access the Cisco Unified MeetingPlace Web Server interface. Instead enter the User ID and password information from one of the other user profiles that have system administrator privileges to sign in to the Web Server.
    Please let me know if you have any further questions.
    Thank You,
    Gerry

  • RFC Server Interface Error BODI-3017270

    I can't to do a new RFC Server Interface, the system send me a error.
    RFC Server Interface: An error occurred while calling RFC function: RFC_SYSTEM_INFO (1) (BODI-3017270)
    In BW I have a RFC Program declared with the same name.
    The telnet comunication is ok.
    The program on data service server is registred at command level
    Any idea.

    Hello Cesar. 
    The status of your question is 'Answered'.  Would it be possible to know what the answer was?
    Thanks  I am experiencing the same issue after the application of MS Security updates
    Greg Kern

  • SSIS 2012 ETL is failing only at one server (No BIDS) but running successfully from BIDS on different sever . In this ETL, I have used Stored Procedure in OLEDB Source.

    Hi Guys,
    SSIS 2012 ETL is failing only at one server (No BIDS) but running successfully from BIDS on different sever . In this ETL, I have used Stored Procedure in OLEDB Source.
    Note: I have couple of ETLs developed in 2005 using same logic and upgraded to 2012, working perfectly.
    I am getting Error Message:
    SSIS
    Error Code
    DTS_E_OLEDBERROR. 
    An OLE DB
    error has occurred.
    Error code: 0x80004005.
    An
    OLE DB
    record is available. 
    Source: "Microsoft OLE DB Provider for SQL Server" 
    Hresult: 0x80004005 
    Description: "Error converting data type varchar to datetime.".
    Unable
    to retrieve
    column information
    from the data
    source. Make
    sure your target
    table in
    the database is
    available.
    "OLE DB Source"
    failed validation
    and returned
    validation status
    "VS_ISBROKEN".
    I tried below word around and found It is working perfectly.
    I loaded data into a table (dbo.TEMP) using Stored procedure and then I used this dbo.TEMP table in OLEDB source and then found no issue.
    MY SP Details: (This SP I am calling in OLEDB source of ETL) and when I run it from one server IT is working fine and when I run from ETL dedicated Server getting error:   Guys Help me out.
    USE
    [TEST_DB]
    GO
    SET
    ANSI_NULLS ON
    GO
    SET
    QUOTED_IDENTIFIER ON
    GO
    ALTER
    PROCEDURE  [DBO].[SP_TEST]
    --EXEC [DBO].[SP_TEST] '2014-09-30','2014-10-01'
    @FROMDATETIME
    DATETIME,
    @TODATETIME
    DATETIME
    AS
    SET
    NOCOUNT ON
    BEGIN
    DECLARE
    @FROMDATEKEY INT,
    @TODATEKEY INT,
    SET
    @FROMDATEKEY=
    CONVERT(VARCHAR(10),@FROMDATETIME,112)
    SET
    @TODATEKEY=
    CONVERT(VARCHAR(10),@TODATETIME,112)
    IF 1 = 1
    BEGIN
    SELECT
    CAST(NULL
    AS DATETIME) 
    AS TXN_DATE
    , CAST(NULL
    AS DATETIME
    ) AS PROCESS_DATE     
    , CAST(NULL
    AS money)
    AS  S1_AMT
    , CAST(NULL
    AS money)
    AS  S2_AMOUNT
    , CAST(NULL
    AS money)
    AS  S2_INVALID_AMOUNT
    , CAST(NULL
    AS money)
    AS  INVALID_MOVED_IN_VALID_S2_AMOUNT
    , CAST(NULL
    AS VARCHAR(20))
    AS SYSTEM_ID
    , CAST(NULL
    AS money)
    AS  S3_AMT
    END
    SELECT
    TXN_DATE
    ,PROCESS_DATE
    ,S1_AMT
    ,S2_AMOUNT
    ,S2_INVALID_AMOUNT
    ,INVALID_MOVED_IN_VALID_S2_AMOUNT
    ,SYSTEM_ID
    S3_AMT
    FROM
    DBO.TABLE_1
    WHERE TNX_DATE_KEY
    BETWEEN @FROMDATEKEY
    and @TODATEKEY
    UNION
    ALL
    SELECT
    TXN_DATE
    ,PROCESS_DATE
    ,S1_AMT
    ,S2_AMOUNT
    ,S2_INVALID_AMOUNT
    ,INVALID_MOVED_IN_VALID_S2_AMOUNT
    ,SYSTEM_ID
    S3_AMT
    FROM
    DBO.TABLE_2
    WHERE TNX_DATE_KEY
    BETWEEN @FROMDATEKEY
    and @TODATEKEY
    UNION
    ALL
    SELECT
    TXN_DATE
    ,PROCESS_DATE
    ,S1_AMT
    ,S2_AMOUNT
    ,S2_INVALID_AMOUNT
    ,INVALID_MOVED_IN_VALID_S2_AMOUNT
    ,SYSTEM_ID
    S3_AMT
    FROM
    DBO.TABLE_3
    WHERE TNX_DATE_KEY
    BETWEEN @FROMDATEKEY
    and @TODATEKEY
    END
    Data Source Mode: SQL Command for Variable
    "EXEC [DBO].[SP_TEST]  '"+ (DT_WSTR, 24) @[User::V_EXTRACT_FROM_DT]  +"','"+ (DT_WSTR, 24) @[User::V_EXTRACT_TO_DT]  +"'"
    Where variable @[User::V_EXTRACT_FROM_DT] and @[User::V_EXTRACT_TO_DT] is defined as DATETIME 
    Thanks Shiven:) If Answer is Helpful, Please Vote

    Hi,
    Yes you are right. At one sever where I was getting error, DateTime was in USA format and Where It was running successfully was in AUS format.
    I changed from USA to AUS and I did another changes:
    Data Source Mode: SQL
    Command
    EXEC  [DBO].[SP_TEST] 
    @FROMDATETIME = ?,
    @TODATETIME = ?
    and It is working fine.
    Thanks Shiven:) If Answer is Helpful, Please Vote

  • Setting up only a testing server in Dreamweaver CS5.5

    How do we set only a testing server in Dreamweaver CS5.5 for php.
    Thank you
    LadyDee

    Hey Murray,
    Thanks for the link to the Dreamweaver Forum
    The link I provided you with earlier was in error I should placed this link instead:
    http://www.adobe.com/devnet/dreamweaver/articles/setup_testing_server.html
    Thanks for your assistance.
    Mike

  • Load balancing with only one Real Server on CSM

    Other than create a VSERVER with only one real server in it - is there a way of load balancing when you have only one real server now and may be additional servers to be added later?

    the only way is to use the vserver.
    Gilles.

  • Mobility group only works using management interface?

    Hello,  in order to stablish the control traffic between 2 WLC-5508, it's necessary to use the management interface??
    It's possible using a dynamic interface o service port ?
    I think it only works with management interface,  but I don't understand the meaning of this text in the Configuration Manual:
    "Mobility control packets can use any interface address as the source, based on routing table."
    Thank you,

    No... mobility communication is done only with the management interface.
    Thanks,
    Scott
    *****Help out other by using the rating system and marking answered questions as "Answered"*****

  • Could not execute view config service request. This usually happens when an invalid view config service request is made, or when a read only Oracle Endeca Server receives a view config service request. Error message: Error applying updates: Unsupported la

    Hi,
    I have some data loaded into the data-domain in Endeca 3.0. When I was creating views in studio I repeatedly get this message when I say save view:
    Could not execute view config service request. This usually happens when an invalid view config service request is made, or when a read only Oracle Endeca Server receives a view config service request. Error message: Error applying updates: Unsupported language ${DEFAULT_LANGUAGE}
    In the workspace.prm file I have set ${DEFAULT_LANGUAGE}=en
    May I know why this happening and a remedy for it. Appreciate you help.

    Hi,
    I have some data loaded into the data-domain in Endeca 3.0. When I was creating views in studio I repeatedly get this message when I say save view:
    Could not execute view config service request. This usually happens when an invalid view config service request is made, or when a read only Oracle Endeca Server receives a view config service request. Error message: Error applying updates: Unsupported language ${DEFAULT_LANGUAGE}
    In the workspace.prm file I have set ${DEFAULT_LANGUAGE}=en
    May I know why this happening and a remedy for it. Appreciate you help.

  • [svn:bz-trunk] 13716: since include-read-only is a server global setting, we can't have two channels with different value.

    Revision: 13716
    Revision: 13716
    Author:   [email protected]
    Date:     2010-01-22 09:26:12 -0800 (Fri, 22 Jan 2010)
    Log Message:
    since include-read-only is a server global setting, we can't have two channels with different value.  remove the test for the include-read-only false.  update the service-config.xml as well.
    Modified Paths:
        blazeds/trunk/qa/apps/qa-regress/WEB-INF/flex/services-config.mods.xml
        blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/remotingService/dataTypes/ReadOn lyTest.mxml

    You can give this a try on your Ultimate machine.  While these are said to be for Vista, I used it on my Win 7 machine just fine and it fixed the problems I was having.  Hope it works for you.
    The problem is that Vista, by default, will only use NTLMv2 for authentication, which is not supported by Mac OS X's Windows Sharing service.
    The other problem is the Minimum Session Security for NTVLM SSP based Clients.
    To get around this:
    1.     In Vista, open the Control Panel
    2.     Switch to "Classic" view
    3.     Double-click Administration Tools
    4.     Double-click Local Security Policy
    5.     Or Secpol.msc
    6.     Expand "Local Policies" and select "Security Options"
    7.     Alternate : Type secpol.msc to get editor up then
    8.     Locate "Network Security: LAN Manager Authentication Level" in the list and double-click it.
    9.     Change the setting from "Send NTMLv2 response only" to "Send LM & NTLM - use NTLMv2 session if negotiated"
    10.     Network Security: Minimum session security for NTLM SSP Based (including secure RPC) Clients
    11.     Change the setting from "require 128 bit" to unchecked (No Minimum)
    12.     Click OK
    the real difference between vista and windows 7 procedure is 10 and 11

  • JNLP prompted to Save (only) in Windows Server 2003 SP1 over https

    In Windows Server 2003 when using https to download the jnlp and jars, IE 6.0 prompts to Save the jnlp file. It does not give the option to open it straight from IE..
    The IE settings are:
    Do not save encrypted files to disk - off/unchecked
    Empty Temp Internet Files when browser is closed - off/unchecked
    Using Apache and Tomcat5 with the Mime type set correctly to application/x-java-jnlp-file.
    When using http, the jnlp launches web start just fine.
    When using https on WinXP and Win2000, the jnlp launches just fine.
    It seems to be a Win2003Svr/IE security check that will not allow the jnlp to be launched directly.
    There have been a few mentions of this on the web, but no solutions have been posted that I could find.
    I am using jre 1.4.2_06. I tried 1.4.2_08 because that WebStart security bug was fixed, but the same issue was occurring. It seems like IE is doing it.
    It doesn't get to WebStart until after saving the file and then double clicking it.
    I have tried most of the IE settings to see if they helped, but to no avail...

    Hello.
    I'm glad someone brought this problem up.
    We have about 1000 external customers using webstart for approx. 3 years with runtimes
    varying from 1.4.1_XX to 1.5.0_XX. We have the same problem with some customers being prompted by a dialog and what to do with the JNLP file. When these customers try a testing link to a webstart app over HTTP they are not prompted. Only when using our business app. over HTTPS and with Internet Explorer. This behavior does not occur only in Win server 2003 but in several
    OS from Windows 2000 , XP Home/Pro SP1 SP2 , Citrix Metframe ..you name it. We have known this for years now and not being able to do something about it since we can't reproduce it. All I know for sure is that IE is behind it all and it's not surprising since it is a part of the OS. When using other browsers like Mozilla or FireFox, it works fine.
    The customers are now forced to save the JNLP file and launch the app that way. Not acceptable
    Is there some registry change that someone knows of to correct this problem.
    Regards
    Johan

  • How do I remove server os and install normal os?  The computer has never been used as a server.  I only purchased the server version because of two internal hard drives.

    How do I remove server os and install normal os?  The computer has never been used as a server.  I only purchased the server version because of two internal hard drives.

    If you want to just disable the Server aspect, this should work for both Lion and Mountain Lion...
    http://support.apple.com/kb/HT4827
    If you want to completely start over, backup your /Users and /Applications directories and re-install the client OS.

  • ActionScript 2.0 class scripts may only define class or interface constructs.

    This is driving me nuts. I have an old AS1 project which I
    upgraded to AS2. It uses an include file, settings.as, which has
    stuff like this:
    settings = new Object();
    settings.property = 'some value';
    Then I include it on the main timeline like this:
    #include "settings.as"
    Every time I render, I get a million and one Compile Errors
    stating:
    "ActionScript 2.0 class scripts may only define class or
    interface constructs."
    But it isn't an ActionScript 2.0 class! It's just a regular
    include. How do I avoid the bogus Compile Errors?

    Okay, I found why the compiler is getting confused.
    In my settings.as file I create an object named 'settings' as
    mentioned. Later in my code elsewhere on the timeline, I refer to
    settings.property. When Flash sees that, I guess it sees that I
    refer to an object 'settings' and that there's a .as file called
    'settings' and it erroneously assumes it should be a class or
    something. I concluded this because if I change the object or .as
    name so that they do not match, the compile errors go away. As far
    as I know there's no way to tell the compiler that settings.as is
    not a class, despite the fact I'm not telling Flash that it is a
    class.

Maybe you are looking for

  • Using work managers to process WorkItems in a message driven bean

    Hi, I'm trying to get to grips with using a work manager (in 10.3) to process WorkItems concurrently, with the whole process being triggered by a JMS message. I've got everything working using the default work manager but I'm having problems switchin

  • Bind variable not picking up a global value... FUSTRATING!!! :(

    Its pretty simple, but I dont know whats going on... heres a brief example of whats going on.... :GLOBAL.VARIABLE1 := 1; MESSAGE(:GLOBAL.VARIABLE1); MESSAGE(:GLOBAL.VARIABLE1); :LOAN_DEALS.DEAL_KEY := :GLOBAL.VARIABLE1; MESSAGE(:LOAN_DEALS.DEAL_KEY);

  • Remote profiling on oc4j 10.1.2 on solaris. -ojvm unrecognized option

    Hi I have problems starting OC4J using the -ojvm -XXtimeport4000 parameters on a Solaris box. The java runtime complains about unrecognized option. I've tried to find some information how to enable ojvm on the java runtime supplied with IAS 10g 10.1.

  • Premiere Pro CS5.5 to CS6 and save back to CS5.5

    I was given project in Premiere Pro CS5.5 to work on in CS6, but have to save it back again in CS5.5. Is this possible? If so. how does one do it?

  • Syncing iCloud with Windows Outlook

    I cannot get my iCloud calendar to sync properly with Outlook on my PC. I uninstalled/reinstalled iCloud control panel which did update the calendar in Outlook, but it won't regularly update appointments from iCloud to my PC - nor will appointments I