Error with SUNPKCS11 and Terminal Server

I've found a problem when trying to create a SUNPKCS11 Provider through a Terminal Server session. My code is as simple as this:
Provider pkcs11Provider = new sun.security.pkcs11.SunPKCS11(pkcs11ConfigPath);I see that it works fine in my local system, but when I run it through a Terminal Sever session, I get the ProviderException CKR_TOKEN_NOT_RECOGNIZED. The amazing thing is that if I try to do it several times, at last it works. I mean, doing that...
Provider pkcs11Provider = null;
while (pkcs11Provider == null) {
   try {
      pkcs11Provider = new sun.security.pkcs11.SunPKCS11(pkcs11ConfigPath);
   } catch (ProviderException e) {
      Throwable cause = e.getCause();
      if (!(cause instanceof PKCS11Exception && ((PKCS11Exception) cause).getErrorCode() == PKCS11Constants.CKR_TOKEN_NOT_RECOGNIZED)) {
         throw new TokenInicializationException(e);
}...it finally works. It needs much more times to get it with JRE 1.6 (about 1500) than with 1.5 (about 10).
I'm completely lost and I haven't found anything around about this. Can someone help me to avoid using this loop?

When using NT Terminal Server, attempting to boot or shutdown Tuxedo can
fail for semaphore errors.
This is because NT Terminal Server performs "object decoration" for
kernel objects that are created while in a remote session. For example,
if you create a semaphore named foo locally, it will be called foo. But
if you create a semaphore called foo while logged in remotely with
session id 1, the semaphore name will be foo:1
To be able to work with Tuxedo within a remote login window, "object
decoration" needs to be turned off.
SOLUTION:
First make sure the tuxipc service is not running.
Change directory into %TUXDIR%\bin
Run Register
Register libgp.dll /SYSTEM
Run Register on all other dll's in %TUXDIR%\bin, it need be only run once.
This will turn off "object decoration" for these dll's and remote admin
of Tuxedo should no longer fail.
Ray Castro Junior wrote:
Hi,
I have the product Bea Tuxedo v7.1 for Windows 2000 server.
Machine: Compaq ProLiant.
If I to install in the same machine the Terminal Server the tuxedo stops all the
function.
What it can be this?
Thanks in advance.
Ray

Similar Messages

  • C++: Is it possible using callback function with ncacn_http and rpcproxy server ?

    I have a remote procedure and I can call it using http over rpc. I pass trough an rpc proxy server for arriving to my rpc server.
    But I cannot call a callback function to my client inside the server function.
    Is it possible using callback function with ncacn_http and rpcproxy server ?
    We are using IIS on windows server 2008 R2 and the server rpc and the client on the same PC with rpc rpoxy.
    If I use ncan_ip_tcp all works fine.
    Thanks
    Gianluca

    Hi,
    About the develop question please post to the MSDN forum.
    MSDN forum Developer Network
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=WAVirtualMachinesVirtualNetwork&filter=alltypes&sort=lastpostdesc
    Thanks for your understanding and support.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • BO MOBI with BOE and Mobile server on two separate servers

    Hi Experts,
    We need to set up a BO MOBI with BOE and Mobile server on two separate servers.
    In such a configuration, how does the two servers communicate?
    What should be the VAS and VMS server configurations? especially the external hostnames in the files?
    We are looking for a non Blackberry(proxy) deployment.
    We have installed the software,however the windows services of Authserver and the Job servers are not available in the mobile server instance
    Any help would be highly appreciated.

    Hi Experts,
    We need to set up a BO MOBI with BOE and Mobile server on two separate servers.
    In such a configuration, how does the two servers communicate?
    What should be the VAS and VMS server configurations? especially the external hostnames in the files?
    We are looking for a non Blackberry(proxy) deployment.
    We have installed the software,however the windows services of Authserver and the Job servers are not available in the mobile server instance
    Any help would be highly appreciated.

  • MOBI with BOE and mobile server on different servers

    Hi Experts,
    We need to set up a BO MOBI with BOE and Mobile server on two separate servers.
    In such a configuration, how does the two servers communicate?
    What should be the VAS and VMS server configurations? especially the external hostnames in the files?
    We are looking for a non Blackberry(proxy) deployment.
    We have installed the software,however the windows services of Authserver and the Job servers are not available in the mobile server instance
    Any help would be highly appreciated.

    I figured it out. I had to re-run the schconfig utility on UNIX and reconfigured the server from localhost:9710 to the actual server name.

  • Aborting index build. Too many errors with finding and copying files ...

    Hi dears,
    I'm using UCM 11g.
    I'm trying to start the automatic update cycle. When i start it, it gives me an error message just like :
    Indexing aborted at :<time>. Aborting index build. Too many errors with finding and copying files to the appropriate place.+
    Can anybody help me about this problem?
    Helps will be appreciated.
    Erdo
    Edited by: erdo on 28.Mar.2013 11:11

    Read this: error in Collection Rebuild Cycle
    and maybe also UCM Indexer - Collection Rebuild Cycle errorring out

  • Problem with Acroabt X Pro and Terminal Server 2008r2

    I have deployed Acrobat x Pro on a 2008 R2 Terminal Server.  Everything was going great but a while back I had to reapir the OS and re-install Acrobat and a few other Programs because of a minor virus.  I have confirmed everything is running fine and that the virsu is gone.  However, since then users prefernces and settings have not loaded up when they open up acrobat.  The pfx file is still there for all users it is simply not loading along with the rest of thier prefernces.  Has anybody seen this before and does anybody have a fix for it?
    Message was edited by: Skywalker32

    Hi Skywalker32,
    I think Sabian is on the right track, well other than his nomenclature  being incorrect. The way Acrobat/Reader works is the list of digital ID files are store in the registry like in the example above (except you'd be looking for 10.0 in the path and either Adobe Acrobat for your Acrobat users or Acrobat Reader for the Reader users).
    So with that in mind, are you using a GPO to push the individual PFX files and are you using the Adobe Installation Wizard to customize the application (Acrobat or Reader) installs? I'm just trying to get a handle on what's in play here. Also, I thought that maybe the digital ID file location could be set as a lockable preference in the HKLM portion of the registry, but they can't so if that's what you are trying to do via the installation wizard that could be a problem (not that I think you are, I'm just taking a shot in the dark here).
    Thanks,
    Steve

  • BSOD Error Windows 2008 R2 Terminal Server

    Hi guys
    I have a unique issue on a Windows 2008 R2 Enterprise Terminal Server where it keeps blue screening every so often (from every 2 or 3 days to some times once a week) with the exact same BSOD error. After countless hours Googling and researching I am simply
    at a dead end and desperately require some guidance if possible. I have ran malware bytes and other tools and the TS does not have any malware or viruses. I have ran a chkdsk and everything is also okay with that.
    It has happened about 5 times now with the same errors every time:
    29/05/2014 09:42:18
    Bug Check String: CRITICAL_OBJECT_TERMINATION
    Bug Check Code: 0x000000f4
    Parameter 1: 00000000`00000003
    2: fffffa80`243c5060
    3: fffffa80`243c5340
    4: fffff800`01bc70d0
    Caused by driver: ntoskrnl.exe
    Caused by address: ntoskrnl.exe+75b80
    Processor: x64
    I have uploaded the DMP to OneDrive: edit: it won't let me post a link until my account is verified?
    Thanks
    Dan

    Hi,
    Thank you for posting in Windows Server Forum.
    The problem which you are facing seems to be due to ntoskrnl.exe. There might be some corruption in ntoskrnl.exe file.It’s responsible for various system services such as hardware virtualization, process and memory management, thus making it a fundamental part
    of the system. It contains the cache manager, the executive, the kernel, the security reference monitor, the memory manager, and the scheduler.
    Please check below articles to fix the issue of ntoskrnl.exe.
    1. NTOSKRNL.EXE is missing or corrupt
    2. How to Fix Ntoskrnl.exe Missing or Corrupt Error
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • VPN Client and Terminal Server

    We have several clients that allow us to vpn into their systems and it has come to the point that we are getting software incompatabilities. What I am trying to do is set up "compatable" connections on a Terminal server box and let our people access this from their workstations. The problem is when the acuall connection thru the vpn client is made they loose connection to the terminal server. I have tried putting in 2 nic's into the terminal server and am able to allocate one for the terminal server but can not find a way to allocate the other to the VPN CLient. Is this possable or is there another way to accomplish this?
    Thanks

    Close,
    What I have is one machine with 2 nic's
    NIC #1 = Terminal Server Access (local lan only) Locked in via registry settings to use ONLY this NIC
    NIC #2 = I would like to "LOCK" the Client software to use ONLY this nic (has a dynamic IP for local lan and access to the Inet via a router.
    Problem: When you connect to the T-Server all is fine UNTIL you start up the client software to access our clients systems via the web connection to the T-Server on the local side stops and gives the appearance of a frozen screen.
    manualy disconnect person from the T-Server and kill the cisco client software then you can re-connect to the T-Server (and it all starts over again)
    The Cisco software acualy makes the connection to our clients system but we can not tell because it want BOTH the NIC's for itself and stops access via NIC#1 to the T-Server.

  • Acrobat 9 Reader with Windows 2008 Terminal Server

    I am setting up a Windows 2008 Terminal Server and i need to have the Adobe Acrobat Reader installed. I downloaded and installed the Vista version and it worked from the console but when i try to access it via a terminal server session the application just crashes. If i try and run it as administrator in the same terminal server session it launches fine.
    Any suggestions????
    Jason
    p.s The associated event log error is:
    Log Name:      Application
    Source:        Application Error
    Date:          7/31/2008 1:17:57 PM
    Event ID:      1000
    Task Category: (100)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Comet.invera.com
    Description:
    Faulting application AcroRd32.exe, version 9.0.0.332, time stamp 0x4850f0a3, faulting module Annots.api, version 9.0.0.332, time stamp 0x4850e57f, exception code 0xc0000005, fault offset 0x001bd9e0, process id 0x1458, application start time 0x01c8f3316002e3b7.
    Event Xml:
        1000
        2
        100
        0x80000000000000
        3663
        Application
        Comet.invera.com
        AcroRd32.exe
        9.0.0.332
        4850f0a3
        Annots.api
        9.0.0.332
        4850e57f
        c0000005
        001bd9e0
        1458
        01c8f3316002e3b7

    Jason...
    Make Certain that you Had the Server In "TS-Install" Mode When you Installed Acrobat. It Is In your Control Panel. I Have Pasted the MS Help File Below.
    Install Programs on a Terminal Server
    You should install the Terminal Server role service on the computer before you install any programs that you want to make available to users. If you install the Terminal Server role service on a computer that already has programs installed, some of the existing programs may not work correctly in a multiple user environment. Uninstalling and then reinstalling the affected programs may resolve these issues.
    To ensure that an application is installed correctly to work in a multiple user environment, you must put the terminal server into a special installation mode before you install the application on the terminal server. This special installation mode ensures that the correct registry entries and .ini files that are needed to support running the application in a multiple user environment are created during the installation process.
    You can put a terminal server into this special installation mode by using either of the following:
    Install Application on Terminal Server tool under Programs in Control Panel. This tool will run a wizard to help install the application.
    Change user /install command at a command prompt. You will have to start the installation of the application manually.
    After the application is installed, you must put the terminal server into execution mode before remote users begin using the application. The Install Application on Terminal Server tool will automatically put the terminal server into execution mode when it is finished running. To put the terminal server into execution mode from a command prompt, use the change user /execute command.
    Additional considerations
    Some programs may require minor setup modifications to run correctly on a terminal server.
    If you have programs that are related to each other or have dependencies on each other, you should install the programs on the same terminal server. For example, you should install Microsoft Office as a suite on the same terminal server instead of installing individual Office programs on separate terminal servers.
    You should consider installing individual programs on separate terminal servers in the following circumstances:
    The program has compatibility issues that may affect other programs.
    A single program and the number of associated users may fill server capacity.
    For more information about the change user command-line tool, see the Terminal Services Command Reference (http://go.microsoft.com/fwlink/?LinkId=89674).
    For more information about deploying programs on a terminal server, see the Terminal Server page on the Windows Server 2008 TechCenter (http://go.microsoft.com/fwlink/?LinkId=79608).

  • Bandwith Problem with Flashes over Terminal Server

    I get huge problems with viewing flash on Citrix Terminal
    Server. Everytime a user opens up a website with Flashes in it, it
    consumes the rest off the bandwith. This slows down all other user
    on the site. This happens over RDP and ICA Connection. Microsoft
    dont want to have a solution for this problem. they know it but...
    . The same ist for Citrix. I hope that Adobe can give me an
    acceptable solution. What can i do, to tune up Flashes over the
    Terminal Server?
    Thanks a lot for your help.

    Leo,
       What is your Vc version ? Also pls do check the SAP note 886209 if it helps in any way .
      We had some deployment issues which were fixed using this .
    Rgds

  • Custom xml report errored with :emsg:was terminated by signal 4

    Friends,
    one of the custom report errored out with the below error:
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    stat_low = 84
    stat_high = 0
    emsg:was terminated by signal 4
    Program was terminated by signal 4
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 5443587.
    when browsing metalink I came across few notes and chmged the out put of Active users report to XML which also errored out, the same report was running fine in other environments. we just freshed this from PROD and nothing was changed.
    any ideas
    Thanks.

    Hi Guru,
    Application version is 11.5.10.2 and DB 10.2.0.3 running on AIX, Yes it is working on other test environments and production.
    here is the error from OPP log
    [3/18/10 10:35:17 AM] [UNEXPECTED] [2908896:RT5443609] java.io.FileNotFoundException: /<path>/o5443609.out (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:129)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:229)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    [3/18/10 10:35:17 AM] [2908896:RT5443609] Completed post-processing actions for request 5443609.
    Looks like the output file was not generated as the request errored out.
    Thanks.

  • Application redraw issue over Citrix and Terminal Server

    Hi All,
    We provide a client-server application which connects to a SQL Server database. The middle-tier is hosted on an application server (Windows Server 2008 R2) which in turn connects to the SQL Server database. The fat client can either be installed on user laptops/desktops
    or published using Citix/Terminal services.
    We have a long standing issue which frankly I just cannot fathom. A customer has published the client via Citrix to users and using roaming profiles. If an employee is using the application in London, the roaming profile is created on a server in London and
    connects to the middle-tier in London. If an employee is using the application in Glasgow, the roaming profile is created in Edinburgh and the user connects to the middle-tier in London. The customer is also using DFS
    The roaming profile consists of the 'My Documents', 'My Pictures', 'My Videos', 'My Music' and 'Windows' folder. Distributed File System (DFS) is used for roaming profile folder replication between offices. See http://technet.microsoft.com/en-gb/library/cc732863%28v=ws.10%29.aspx
    The Edinburgh users are experiencing application redraw issue where the interface loads in chunks. For example, when a user scrolls up and down or left and right, the data loads immediately (from SQL Server) but the interface (GUI) loads in blocks. You can
    actually see each segment of the GUI components loading. The issue also occurs if connecting via a Terminal Server where the application is also installed.
    For London users, it all works fine. If an Edinburgh user comes to London, they have no issues.
    The network connection is super fast between the various offices.
    The application is built using C++ and Delphi and uses the GDI API to draw the objects.
    Any guidance is appreciated.

    Hello partner,
    Thanks for contacting Microsoft. This is Sophia who is going to help with this issue. From your description, I learnt that users from Edinburgh have application redraw issue. However, London users worked fine. Please let me know if I misunderstand your purpose.
    Based on the information, it seems that the issue located in the middle-tier in London. Could you try building a middle-tier in Edinburgh and then test how the issue goes?
    Besides, based on my experience and research, by default the allocation of the bandwidth is 70 percent for graphics data and 30 percent for virtual channel data, meaning when bandwidth usage is under pressure, graphics data is guaranteed to get 70 percent
    of the available bandwidth.  And we can tweak the settings a bit for some scenarios. To change the settings, we can set registry values. Please reference the information below.
    ===========================================================================================================================================
    Note: For these settings to take effect, the computer must be restarted.
    Following is the list of registry values that affect the bandwidth allocation behavior. These are all DWORD values under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermDD:
    ·         FlowControlDisable: When set to 1, this value disables the new flow control algorithm, making it essentially First-In-First-Out (FIFO) for all packet requests. This provides results similar to Windows Server
    2003. (The default for this value is 0).
    ·         FlowControlDisplayBandwidth / FlowControlChannelBandwidth: These two values together determine the bandwidth distribution between display and virtual channels. You can set these values in the range of 0–255.
    For example, setting FlowControlDisplayBandwidth = 100 and FlowControlChannelBandwidth = 100 creates an equal bandwidth distribution between video and VCs. The default is 70 for FlowControlDisplayBandwidth and 30 for FlowControlChannelBandwidth, thus making
    the default distribution equal to 70–30.
    ·         FlowControlChargePostCompression: If set to 1, this value bases the bandwidth allocation on post-compression bandwidth usage. The default for this value is 0, which means that the bandwidth distribution is applied
    on pre-compressed data.
    For more information about RDP Bandwidth, please reference the article below.
    ================================================
    Bandwidth Allocation for Terminal Server connections over RDP
    http://blogs.msdn.com/b/rds/archive/2007/04/09/bandwidth-allocation-for-terminal-server-connections-over-rdp.aspx
    Top 10 RDP Protocol Misconceptions – Part 1
    http://blogs.msdn.com/b/rds/archive/2009/03/03/top-10-rdp-protocol-misconceptions-part-1.aspx
    If you have any concerns about the action plan above, feel free to let me know.
    Best regards,
    Sophia Sun
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Getting HTTP Status 500 error with sun one application server...

    Hi,
    I am trying to develop a sample application and try to run with sun one application server. I followed the tutorial. My application client is working fine. But my web client is producing the following error. I think we don't need to install Tomcat seperately when we have the application server or do I have to... any suggestions...
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    No Java compiler was found to compile the generated source for the JSP.
    This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK
    to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
    If using an alternate Java compiler, please check its installation and access path.
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:132)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:356)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:420)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:463)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:444)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:557)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server-PE-8.0 logs.
    Sun-Java-System/Application-Server-PE-8.0

    You do not need to install Tomcat. SJSAS contains a web container. The error you are seeing could be caused by a few reasons. There are many previous threads on this issue, perhaps you could search the forum. I used the following search term, "Unable to compile class for JSP" ,and got many hits.
    http://onesearch.sun.com/search/developers/index.jsp?col=devforums&qp_name=J2EE+Software+Development+Kit+%28J2EE+SDK%29&qp=forum%3A136&qt=Unable+to+compile+class+for+JSP

  • Reader 8.1.2 and Terminal Server (2003)

    I have Adobe reader 8.1.2 loaded on a terminal server. Program has been fine until today. When some (not all) users open some (not necessarily all) PDF files, the program terminates without an error being shown.
    The server log shows:
    Faulting application AcroRd32.exe, version 8.1.0.137, faulting module ADMPlugin.apl, version 3.16.128.32, fault address 0x000a7bf1.
    I tried upgrading to Reader 9. But it seemed to do the same thing. Removed Reader, tried to make sure all traces were gone (went through the manual removal), and then reinstalled 8. Still doing this. Any ideas?

    Hi jhousen1,
    Please provide more information for better analyzation:
    1. What error message do you receive in Internet Explorer?
    2. Do we have any proxy settings configured in group policy?
    Please Check the proxy settings through Internet Options in Windows 8.1, also take a look at the article below:
    What to do when Internet Explorer isn’t working
    http://windows.microsoft.com/en-hk/internet-explorer/ie-crashes-stops-working#ie=ie-11
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • Communication Error with Host and Remote Object

    Hi,
    I was executing my RMI program in a Linux Grid Network environment and the communication was no problem and the code did work.
    However I have switched to the same code to another network with linux machines and when try to execute the code I get the Error:
    java.rmi.ConnectIOException: Exception creating connection to: 136.186.14.96; nested exception is: java.net.NoRouteToHostException: No route to host
    136.186.14.96 is the place where the registry is running and Server Object is bound
    Client Locate the Registry as below
    LocateRegistry.getRegistry("136.186.14.96",1099);
    ACTUAL CODE:
    +//Pass The Remote Reference+
    +try {+
    oClient.registry = LocateRegistry.getRegistry(oClient.o_RegistryReference,oClient.i_Port);
    oClient.server = (ART_Interface) oClient.registry.lookup("Server_Obj");
    oClient.server.clientRegister(oClient.i_ClientID, oClient);
    System.out.println("SEQUENCE <1>  Client [" iID + "] Request to Register");+
    +} catch (Exception e) {+
    System.out.println("Client [" oClient.i_ClientID + "]Registration Error: " + e);+
    +}+
    Client Code Execution....
    +#ART_CLIENT <HOST> <PORT> <Client ID> <slavesPerClient>+
    java -cp /home/research/mbcooray/network/mercury/GRID/ -Djava.rmi.server.codebase=file:/home/research/mbcooray/network/mercury/GRID/ -Djava.security.policy=/home/research/mbcooray/network/mercury/GRID/Policy.txt ART_Client 136.186.14.96 1099 0 1 &

    No for multiple instances of clients communicating (Reporting) to Server, wouldn't server have a dedicated port for them?No. A remote object is exported on port X, the client forms an inbound (from the server's point of view) connection to it, an accepted-socket is created, also on X. netstat -an will show you that: X LISTENING and zero or more X ESTABLISHED. A TCP connection consists of the tuple {TCP, client-address, client-port, server-address, server-port}. Here 'server-port' is X, 'client-port' is allocated by the system. So there can exist multiple inbound connections to X, and the server-port number is always X.
    For Call backs I guess JVM gets hold of a random free portFor all outbound connections, TCP gets hold of a random free port.
    as it is running on a separate thread (I assume)Threads have nothing to do with it.
    Is this done by using socketfactory? Forget it. You don't want to do this, for the reasons I have. You probably don't need to do it, and if you do need to do it you should shoot the netadmin instead.
    Yes, the server exports the object and binds it in the local registryThat's not the same thing as exporting it on port 1099. You can specify a port number when exporting, or when calling super() if your remote objects extend UnicastRemoteObject. If you are using LocateRegistry.createRegistry(), port 1099 will get reused automatically for all subsequently-exported remote objects unless you are using a socket factory, which you aren't. If you are using a separate Registry you should specify the export port number yourself, and you can't re-use 1099.
    The background to this is that firewalls often contain rule configurations about what remote port numbers may be connected to, which corresponds to the reality that Internet services have fixed port numbers, so you can decide e.g. to allow your users to connect to HTTP servers (80,443,8080,8443) and SSH (22) but not for example Telnet (23). However by symmetry they often also allow similar rules for outbound port numbers, which are completely useless as they do not correspond to any reality whatsoever. If you have a netadmin who is enforcing outbound port number rules, just tell him to stop it.

Maybe you are looking for