Specifying RMI port for 9iAS

Hello,
I can't seem to find how to explicitly declare the RMI port to use for an OC4J instance in 9iAS. There is a range of ports specified in "server properties", but how do I tell it which one to use? Through trial and error I found it listening at 3105, but for the life of me can't figure out why it chose that port.
Thanks,
Patrick

The ports are dynamically assigned. If you want a specific port to be assigned please set the change to one number e.g. 3101-3101
http://download-west.oracle.com/docs/cd/B12314_01/web.904/b10326/ormi.htm#1006423
regards
Debu

Similar Messages

  • 9.0.3/EJB RMI-Port on 9iAS?

    Hello!
    I use JDev 9.0.3 / 9iAS9.0.3.
    I deployed one session-bean to 9iAS903 which i wants to access during fat-java client.
    deploying to external oc4j-instance, i can access the ejb with "normal" rmi-port.
    But which rmi-port should i use on 9ias, because the rmi-ports are set during ranges (e.g.3100-3200) and i have more than one oc4j-instance running (i also use oc4j-islands, e.g. 2 jvm-processes for one instance)? i followed the tasks described in jdev-help (described below), but this does not really work.
    Under JDev 9.0.3 Help "Accessing EJBs from Oracle9iAS"
    i found the following description:
    "After the EJB JAR is deployed to Oracle9iAS, a Java client can access it in the following way: In the Oracle9iAS Enterprise Manager, you must provide a fixed port number for the specific OC4J instance in which the EJB JAR was deployed. Specify this port number in Enterprise Manager | OC4J Instance | Server Properties. For example: 3103. Restart this specific OC4J instance as appropriate. ... Run the Java client using the same RMI port number that you specified for the
    OC4J instance in Enterprise Manager (port 3103). "
    has anyone tested this?
    best regards
    harald.

    Hello!
    one question:
    if i do this, i must manage the rmi-ports for all
    oc4j-instances on 9ias or can i use the
    rmi-port-range for one instance and fix the rmi-port
    for another oc4j-instance?
    You can decide this on a per instance basis.
    In ompn.xml-file i can set the ranges e.g. for
    rmi-ports. is it possible to change this range e.g.
    rmi="3101-3190" and fix the instances with rmi-port
    3191?
    maybe this could work?That's the idea.
    >
    Where i can set the meta-information of rmi-ports
    range, which will be used during creating a
    oc4j-instance?
    Check out the ias administration guide. Sorry I don't have the url handy. Basically use the enterprise manager and drill down to the oc4j instance administration section.
    best regards
    Harald

  • Can you specify the port for default services when installing OEG?

    Hi everyone,
    The default installation of OEG 11g uses 8090 port for management services, and 8080 for the virtualized services that you register in the gateway. After installation, you can change the ports by editing gateway's Profile Repository in Policy Studio. But is there a way to specify the port number before/during the installation?
    Thanks,
    Iris

    Hi -
    here are the steps to change the listening port (in 11.1.1.6)
    - Connect to OEG using Policy Studio
    - Click on "Edit Active Configuration"
    - Under "Services", find the default services, and you'll see a listener for port 8080 there. Right-click to edit this.
    - Change the port from 8080 to your desired port. Note that if you've installed the software and running it as a non-root user on Linux, then it will not have permission to bind to a low-number port (like port 80 for instance)
    - Now deploy your change (for 11.1.1.6 hit F6 or click on the "deploy" button which is towards the right of the toolbar in Policy Studio).
    - You may also choose to version your configuration at this point (click on "version" which is beside the "deploy" button and enter a comment about your version).
    Now verify that OEG is listening on your new port. You can see it bind to the new port by looking at the trace [Connect a browser to port 8090 on OEG, login as admin or another user who has rights to view the trace, then click on "Trace"].
    It's a usual practice to configure a new listener on SSL (e.g. on port 443) then to delete that pre-configured port 8080 listener, if you want to only receive traffic over SSL.

  • Specifying RMI Port in JNDI Lookup

    Hi,
    I am using Silverstream 3.7.4 server for my J2EE development.
    The host machine having multiple machine uses different RMI ports.
    So I have 54893 as RMI port instead of default 54890. I cannot
    create a InitialContext due to this Reason. Can anybody help me how to resolve this problem. The Code is
    Properties p = new Properties();
    p.put(Context.INITIAL_CONTEXT_FACTORY,"com.sssw.rt.jndi.AgInitCtxFactory");
    p.put(Context.PROVIDER_URL,"iiop://cds:15003");
    Object sbobj = context.lookup("/RMI/ejb/ODRSessionFacade");
    odrEJBHome = (ODRSessionFacadeHome)PortableRemoteObject.narrow(sbobj,ODRSessionFacadeHome.class);
    odrEJB = odrEJBHome.create();
    The Exception is:
    javax.naming.ConfigurationException: Error finding 'RMI/ejb/ODRSessionFacade'. Resolution name is 'iiop://localhost:54890'.
    javax.naming.ConfigurationException: Error finding 'RMI/ejb/ODRSessionFacade'. Resolution name is 'iiop://localhost:54890'.
         at com.sssw.rt.jndi.AgInitCtx.checkFederatedContext(AgInitCtx.java:436)
         at com.sssw.rt.jndi.AgInitCtx.checkFederatedName(AgInitCtx.java:98)
         at com.sssw.rt.ejb.AgInitClientCtx.lookup(AgInitClientCtx.java:66)
         at com.sssw.rt.jndi.AgBaseCtx.lookup(AgBaseCtx.java:218)
         at com.sssw.rt.jndi.AgInitCtx.lookup(AgInitCtx.java:492)
         at com.sssw.rt.ejb.AgInitClientCtx.lookup(AgInitClientCtx.java:70)
         at com.sssw.rt.jndi.AgBaseCtx.lookup(AgBaseCtx.java:241)
         at javax.naming.InitialContext.lookup(Unknown Source)
         at com.sdm.pdr.ODR.ServerObject.<init>(ServerObject.java:39)
         at com.sdm.pdr.ODR.ODRMain.<init>(ODRMain.java:16)
         at com.sdm.pdr.ODR.ODRMain.main(ODRMain.java:48)

    YOUR SYSTEM MAYBE HAS SOMETHING WRONG WITH THE FIREWALL
    AND THE PORT CANNOT BE USED!YOU BE SURE:)

  • Pulseaudio - how specify default port for analogue stereo?

    Whenever I reboot, Pulseaudio defaults my Built-In Audio Analogue Stereo port specification to "Headphones (unplugged)" and I have to open pavucontrol to set it to "Line Out (unplugged)" [aside: I don't know why it say "unplugged" when it isn't]. 
    Is there any way to set "Line Out" as the default?

    Knute wrote:
    Yes.
    In your default.pa file you can use the set-default-source or set-default-sink and choose your line out.  You can set it either globally in /etc/pulse or per user in ~/.config/pulse.
    The other option is that you can define what source or sink to use in your shell.
    I use zsh so in my .zshrc file I have the following lines:
    export PULSE_SINK=0
    export PULSE_SOURCE=1
    You can get the numbers that you need from pactl list sinks/sources short.
    As you are looking for redirecting the sound, you want the sink.
    HTH
    I can see the basic sources via pactl list .., but I'm not being able to see where I can specify for a particular source (in this case the analog source) whether to use the headphone or line out. 
    In the info for Sink #1, I can see
    Ports:
    analog-output-lineout: Line Out (priority: 9900, not available)
    analog-output-headphones: Headphones (priority: 9000, not available)
    So I'm trying to figure out how to set the default port.

  • Changing RMI Port in HTTP adapter in interconnect

    Hi
    I need to change the RMI port for one of my HTTP adapters in Interconnect. I have changed it in the adapter.ini and in the web.xml files. I have then recreated the JAR/EAR files and redeployed the application to the oai component. The adapter starts ok but it still appears to be using the old port number and i can't send any messages to it (get a 500 Internal server error). Is there something else that needs changing?
    Cheers

    Hello,
    http://server:port/sap/xi/adapter_plain?service=<xxx>&namespace=<xxx>&interface=<xxx>&sap-user=<xxx>&sap-password=<xxx>&qos=BE&ProductID=000000000000000216&uid=500014&deviceID=0725&StoreID=0004
    In above "HTTP Post" format data has been sent in url without body of message.
    Please remember that when creating a sender/receiver using the Plain HTTP Adapter, the following are automatically filled out
    Transport Protocol: HTTP 1.0, Message Protocol: XI Payload in HTTP Body. The transport protocol means that only HTTP 1.0 is supported and that for it to work, an HTTP Body is required.
    Hope this helps,
    Mark

  • Failed to allocate port(s) in the specified range(s) for the following....

    Hi,
    I'm attempting to install oracle 10.2.0 on Solaris 10.
    When I create a database i get the error:
    Failed to allocate port(s) in the specified range(s) for the following process(es): .....
    So I look at the logs and there looks like to be some configuration issues but i'm not sure where to start.
    I've changed the port from NULL to 1521 in listener.ora.
    It worried me that it was set to null.
    Ive tried running emca -config -all db ( not sure what central agent home should be set it as /app/oracle/product/10.2.0/Db_1 seemed to accept that)
    This gives me the same above error.
    Any help is greatly appreciated. Please note im both a novice solaris and oracle user
    Nov 22, 2006 3:29:41 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /app/oracle/product/10.2.0/Db_1/cfgtoollogs/dbca/test2/emConfig.log.
    Nov 22, 2006 3:29:41 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'CHECK_CONFIG' set to true
    Nov 22, 2006 3:29:41 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: SYS
    Nov 22, 2006 3:29:41 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Nov 22, 2006 3:29:41 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: DBSNMP
    Nov 22, 2006 3:29:41 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: SYS
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'asm_db' set to false
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.DatabaseChecks getDbServiceName
    CONFIG: No service name available. Will try to set db_unique_name.db_domain
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: SYS
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value:
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: test2
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: test2
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SERVICE_NAME value: test2
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBID.
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.DatabaseChecks getDbid
    CONFIG: No dbid available. Will query db to extract it.
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: SYS
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DBID value: 691205234
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: SYSMAN
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: SYS
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.EMDBPreConfig invoke
    CONFIG: Passed repository configuration check
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
    CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: SYS
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: test2
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /app/oracle/product/10.2.0/Db_1/sysman/config/emd.properties to /app/oracle/product/10.2.0/Db_1/sysman/config/emd.prop
    erties.emca.tmp
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file /app/oracle/product/10.2.0/Db_1/sysman/config/emd.properties has been copied to /app/oracle/product/10.2.0/Db_1/s
    ysman/config/emd.properties.emca.tmp
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /app/oracle/product/10.2.0/Db_1/sysman/config/emoms.properties to /app/oracle/product/10.2.0/Db_1/sysman/config/emoms.
    properties.emca.tmp
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file /app/oracle/product/10.2.0/Db_1/sysman/config/emoms.properties has been copied to /app/oracle/product/10.2.0/Db_1
    /sysman/config/emoms.properties.emca.tmp
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /app/oracle/product/10.2.0/Db_1/sysman/emd/targets.xml to /app/oracle/product/10.2.0/Db_1/sysman/emd/targets.xml.emca.
    tmp
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file /app/oracle/product/10.2.0/Db_1/sysman/emd/targets.xml has been copied to /app/oracle/product/10.2.0/Db_1/sysman/
    emd/targets.xml.emca.tmp
    Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_CENTRAL_AGENT_RECONFIG' set to false
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: test2 Host: honeyeater Node: null OH: /app/oracle/product/10.2.0/Db_1 agentHome: null isCentral: false
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: test2 Host: honeyeater Node: null OH: /app/oracle/product/10.2.0/Db_1 isDBC: false
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_CENTRAL_AGENT_CONFIGURED' set to false
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_DBCONTROL_CONFIGURED' set to false
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT.
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT.
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT.
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: test2 Host: honeyeater Node: null OH: /app/oracle/product/10.2.0/Db_1 isDBC: false
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter PORTS_FILE.
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT_test2.
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT.
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT_test2.
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT.
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_test2.
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT_test2.
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT.
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /app/oracle/product/10.2.0/Db_1/oui
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Homes to scan for used ports: [app/oracle/product/10.2.0/Db_1]
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /app/oracle/product/10.2.0/Db_1
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking JMS port: null from /app/oracle/product/10.2.0/Db_1/oc4j/j2ee/OC4J_DBConsole
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking RMI port: null from /app/oracle/product/10.2.0/Db_1/oc4j/j2ee/OC4J_DBConsole
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking HTTP port: null from /app/oracle/product/10.2.0/Db_1/oc4j/j2ee/OC4J_DBConsole
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager getAgentPort
    CONFIG: Cannot parse EMD_URL correctly. No port identified
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking Agent port: null from /app/oracle/product/10.2.0/Db_1/sysman/config/emd.properties
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Cannnot parse EMD_URL correctly. No port identified
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.FileUtil getProperties
    CONFIG: Error reading file /app/oracle/product/10.2.0/Db_1/install/staticports.ini
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Contro
    l [5500-5519],EM Agent [3938] | [1830-1849]
    Refer to the log file at /app/oracle/product/10.2.0/Db_1/cfgtoollogs/dbca/test2/emConfig.log for more details.
    Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [55
    40-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]
    at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2266)
    at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:670)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:233)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:160)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
    at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:426)
    at java.lang.Thread.run(Thread.java:534)
    Also got thie error in another log
    Cluster Error Message: PRKH-1010 : Unable to communicate with CRS Services

    thanks mathias,
    but i have already done, netstat -na |grep portnumber
    but nothing no port in range are set
    thanks howevar
    regards

  • Port 1099 being used by other processes ,need an alt port for RMI-Registry

    I am using port 1099 for RMI and the o/s is windows 2003.
    We want that the RMI registry shud automatically be started with the windows startup processes.But we found that some other processes are usoing the same port.
    Is there any other port which can be used for the same?
    or any method to make other processes release the port forcefully.

    If you read the documentation or do a quick google search, you will discover the rmiregistry program can be assigned any port you wish. Simply invoke via:
    rmiregistry -h from windows or "man rmiregistry" from mac or unix and you will be greeted with:
    Usage: rmiregistry <options> <port>
    In a nut shell just specify the port:
    i.e.
    rmiregistry 5000
    etc...
    Hope this helps.
    -Lemont

  • Connection reset by peer when I specify port for Callback

    I have a successful rmi callback when it uses annoymous port by using UnicastRemoteObject.exportObject(this) from client. But I get the following messages when I tried to specify port by using UnicastRemoteObject.exportObject(this, port) by client. My understanding is this tells the server to callback using the port specify and the connection should be made. Where it fails is when the server tries to call client.notify() where the callback is taking place I get the errors.
    Am I missing something? I thought that was all I needed to do to specify a port.
    Remote Exception:java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.MarshalException: Error marshaling transport header; nested exception is:
    java.net.SocketException: Connection reset by peer: Connection reset by peer
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.MarshalException: Error marshaling transport header; nested exception is:
    java.net.SocketException: Connection reset by peer: Connection reset by peer
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
    Thanks for the help.

    Hi Esmond, My name is Lee and I work with Joon (hellscream) and this RMI callback problem still persists. We appreciate your help and we know about your expertise in this area. (Great products on your web site by the way).
    The problem environment currently consists of a Unix Solaris server on the backend and windows XP laptops acting as clients. The callback is from the unix server back to the client.
    By looking at the output of netstat -na on the unix server during a normal anonymous port run, we can clearly see that there seem to be 3 sequentially numbered ports involved whenever the anonymous port construct of UnicastRemoteObject is used. This happens with super() or super(0); in our client code. All works very well that way.
    The problem arises when we make changes to the client impl file and specify a port with super(65000) for example.
    There is no firwall involved right now and UnicastRemoteObject doesn't seem to behave as advertised in the sense that
    We can clearly see what's going on with the network using Thread.sleep(10000) within the client app meanwhile executing netstat -na on the unix server and grepping for the client IP address
    We can see that the unix server STILL wants to talk to the client on an arbitrary port while the laptop client is listening on the desired port that we chose (65000) in this case.
    If we attempt to instantiate a port in the server Impl java file, the results are the same with the exception of the choice of the source port on the unix server. We seem to be able to choose and set that at will. Unfortunately, and from the perspective of a future firewall, the source port is irrelevant and the rules normally apply to destination ports in an outgoing connection.
    Anyway, with ports instantiated and everything compiling, the client prints the following stacktrace
    Thanks very much in advance for your help
    Remote Exception:java.rmi.ServerException: RemoteException occurred in server th
    read; nested exception is:
    java.rmi.ConnectIOException: error during JRMP connection establishment;
    nested exception is:
    java.net.SocketException: Connection reset
    java.rmi.ServerException: RemoteException occurred in server thread; nested exce
    ption is:
    java.rmi.ConnectIOException: error during JRMP connection establishment;
    nested exception is:
    java.net.SocketException: Connection reset
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292)
    at sun.rmi.transport.Transport$1.run(Transport.java:148)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
    60)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
    .java:701)
    at java.lang.Thread.run(Thread.java:534)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream
    RemoteCall.java:247)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
    223)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
    at ids.rmi.ServerJobImpl_Stub.execute(Unknown Source)
    at ids.jobExec.JobThread.run(JobRunner.java:551)
    Caused by: java.rmi.ConnectIOException: error during JRMP connection establishme
    nt; nested exception is:
    java.net.SocketException: Connection reset
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:274
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
    at ids.rmi.JobClientImpl_Stub.message(Unknown Source)
    at ids.rmi.ServerJobImpl.execute(ServerJobImpl.java:60)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
    at sun.rmi.transport.Transport$1.run(Transport.java:148)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
    60)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
    .java:701)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:168)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
    at java.io.DataInputStream.readByte(DataInputStream.java:331)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:215
    ... 15 more
    Job finished. Exit status: -1

  • Setting return port for RMI

    Is there a way to define the port RMI connects back to the client on? By default a random port number is used which is not acceptable to our security guys.

    If you read the documentation or do a quick google search, you will discover the rmiregistry program can be assigned any port you wish. Simply invoke via:
    rmiregistry -h from windows or "man rmiregistry" from mac or unix and you will be greeted with:
    Usage: rmiregistry <options> <port>
    In a nut shell just specify the port:
    i.e.
    rmiregistry 5000
    etc...
    Hope this helps.
    -Lemont

  • Changed RMI port to 8010, but still looking for default 1099 port..

    I have changed the rmi port to 8010 by using following command
    rmiregistry 8010 & In linux server
    when I run the serverImpl class to bind.. Its giving connection refused error..The Port is opened by network admin and telnet hostname 8010 is also working fine ( gets escape chaaracter..)
    Please help.. do I have to something more in like change some configurations? :(

    Hi I am doing following after your advise,
    1. rmiregistry 8010&
    in SampleServerImpl.java
    import java.rmi.*;
    import java.rmi.server.*;
    import java.rmi.registry.*;
    public class SampleServerImpl extends UnicastRemoteObject
    implements SampleServer
    SampleServerImpl() throws RemoteException
    super();
    public int sum(int a,int b) throws RemoteException
    return a + b;
    public static void main(String args[])
    //set the security manager
    try
    System.setSecurityManager(new RMISecurityManager());
    //create a local instance of the object
    SampleServerImpl Server = new SampleServerImpl();
    //put the local instance in the registry
    Registry reg = LocateRegistry.getRegistry("10.252.26.6",8010);
    if(reg != null) {
    System.out.println("1port="+reg.REGISTRY_PORT);
    reg.bind("SAMPLE-SERVER",Server);
    System.out.println(" After reg binding server waiting.....");
    catch (RemoteException re)
    System.out.println("Remote exception: " + re.toString());
    re.printStackTrace();
    catch (Exception exp)
    System.out.println("Other exception: " + exp.toString());
    exp.printStackTrace();
    I have compiled above class and also regenerated stub and skeleton..
    After running this java im getting following error..
    one more thing is System.out.println("1port="+reg.REGISTRY_PORT); always prints 1099 port..
    1port=1099
    Remote exception: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
    java.lang.ClassNotFoundException: SampleServerImpl_Stub
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
    java.lang.ClassNotFoundException: SampleServerImpl_Stub
    at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:352)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:207)
    at sun.rmi.transport.Transport$1.run(Transport.java:148)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    at java.lang.Thread.run(Thread.java:534)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:350)
    at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
    at SampleServerImpl.main(SampleServerImpl.java:39)
    Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
    java.lang.ClassNotFoundException: SampleServerImpl_Stub
    at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
    at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:342)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:207)
    at sun.rmi.transport.Transport$1.run(Transport.java:148)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.ClassNotFoundException: SampleServerImpl_Stub
    at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:219)
    at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:430)
    at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
    at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631)
    at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257)
    at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:200)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
    ... 9 more
    Not sure how to fix this...Can you please help

  • Shutting down default JMX RMI port

    I am starting up my JMX agent for remote access and it opens 2 ports, one which is set by the -Dcom.sun.management.jmxremote.port=XXXX and one randomly assigned port.
    I know I can install a custom JMX agent to specify another RMI port that I can control, but what I really want to do is shut down the randomly assigned one. The problem is that weve a port monitoring app, so I can't open any ports open that I cannot control with causing IT to complain. Is there any way to disable this connector?
    Thanks,
    Mark

    Hi,
    Please have a look at these articles:
    [http://blogs.sun.com/jmxetc/tags/firewall|http://blogs.sun.com/jmxetc/tags/firewall]
    they should answer your questions.
    Best regards,
    -- daniel
    JMX, SNMP, Java, etc...
    [http://blogs.sun.com/jmxetc|http://blogs.sun.com/jmxetc]

  • RMI port misuse

    I'm getting really ticked off with clients having problems using my software because the RMI port 1099 (and often enough 1098) is being misused by another process. Does the IANA registered port list mean anything at all?
    I guess I can't change the world :( so I'd like to know how other people deal with this problem. Thanks.

    Two of the culprits are Microsoft (Outlook) and Google so I hope you have a big boot!
    1098 and 1099 are also in the range of ephemeral ports --- allocated as the local end of connections which don't specify a port number.
    http://support.microsoft.com/default.aspx?scid=kb;en-us;812873
    "On Windows Vista and Server 2008 the default range of ephemeral ports is now 49152 to 65535"
    For older versions of Windows the default range is 1025 - 4000 (and you can't change that lower limit). Finally a reason to use Vista!
    Edited by: mthornton on 15-Nov-2008 20:35

  • Cannot fix RMI port and wrong password

    Hi, I have tried to fix the RMI port no. for my OC4J instance.
    The port I specified sometimes may be taken by other OC4J instances and the server gives me the other one.
    Can I set the rmi port outside the range 3101-3200?
    Also I get the wrong password message if I try to remote access
    the OC4J instance with user 'admin'. The default password is 'welcome' before, but now the password was changed by the server itself, since no server configuration has been made.
    Any Ideas?
    thanks in advance.

    This post is just for reference.
    For some reason, the OAS full install uses the ias_admin password for accessing JNDI over RMI. If you get authentication errors, try username = admin and password = the ias_admin password entered during the install.

  • Error while creating logical port for Consumer Proxy in SOAMANGER

    Hi,
    While creating logical port for my consumer proxy in SOAMANGER, I am getting the error shown below
    SRT Framework exception: HTTP: Current user does not have the required authorization to access the HTTP destination
    I have searched in the forums but none of the answers helped me.
    I have specifed my PI user ID and password and the user has the followwing roles assigned to it.
    SAP_BC_WEBSERVICE_SERVICE_USER
    SAP_BC_WEBSERVICE_ADMIN_TEC
    SAP_BC_WEBSERVICE_CONSUMER
    SAP_BC_WEBSERVICE_ADMIN
    Current user in the error message refers to the PI user that i have specified or the user with which i have logged in the backend ABAP system?
    Please help me reslove this issue.
    Thanks and regards
    Sreehari Nambiar

    Hi,
    Please add the following roles as well.
    SAP_BC_WEBSERVICE_ADMIN_BIZ
    SAP_BC_WEBSERVICE_DEBUGGER
    SAP_BC_WEBSERVICE_OBSERVER
    Also make sure that you are doing the role comparison  after adding all SAP* roles in your profile.
    Let me know if this works?
    Thanks,
    Sridhar

Maybe you are looking for

  • "Undefined Function Key. Press Ctrl+F1..." Porting app from 6i to 10G

    I am running into a problem porting my application from Oracle Forms 6i to 10G. When I am querying a record based on a field that is not the first on the screen, I get an "Undefined Function Key. Press Ctrl+F1 for list of valid keys." error. I do not

  • Can't print more than one copy at a time in InDesign CS3

    No matter what quantity I set in InDesign CS3, it will only print one at a time. Doen't matter whether it's my HP 4250 LaserJet or a Xerox Phaser 8550. Also doesn't matter whether I set preferences with InDesign or the printer's preferences.

  • Please help me format my ipod

    I tried to re-install the software for my ipod and had been told my ipod need to be formatted. I click format button. It came up the message " assertion b failed at. /ipod format FAT 32. cpp appline 1068". Anybody can tell me what I am going to do? T

  • Remove namespace,xml tag in OSB

    OSB In Proxy Service: Once I get response from Business Service 1, I need to send that as request to Business Service 2. Business Service 1 response xml is <Reference>123</Reference> Business Service 2 request xml should be <ReferenceId>123</Referenc

  • Hpe 400 f freezes

    I have an HPE 400f desktop. I am running Windows 7. My screen freezes a lot. The PC does not respond to the keyboard or mouse. I do get an error message that display driver AMD is not responding. Sometimes it responds on it's own, and some times noth