XDK 9i Issues : setXSLT - NullPointerException And RMI Server hangs

Present Scenario :
JDK 1.3
Oracle DB : 8.1.6
JDBC Driver : OracleThin.jar
XML Parser : xmlparserv2.jar : ( size = 1121488 )
XML-SQL utility : xsu12.jar : ( size = 180522 )
We use RMI with JDBC. RMI server object connects to database , uses xsu12.jar and xmlparserv2.jar to convert data into XML. Servlet connects to RMI server and gets this XML. Everything works fine.
Problem Scenario :
Since this parser does not support JAXP , I downloaded XDK 9i from oracle site.(9.2.0.1.0 - Dated 01/31/02 ) . After extracting , I replaced xmlparserv2.jar and xsu12.jar with this new ones. And problem started. There are 2 problems :
A. setXSLT( String, String ) throws NullPointerExcpetion
B. When I commented setXSLT method, RMI server completes execution of remote method which can be verified from Log. But it never returns , so client gets blocked. When RMI server is stopped by doing ctrl-C , client gets correct XML document.
Then I installed latest JDBC2.0 driver for 8.1.6 from site which is classes.zip. This also resulted in to same problems mentioned above. But it did work fine wirh earlier version of xmlparserv2.jar and xsu12.jar. Just FYI : I noticed significant size difference betwenn new and old jars.
New xmlparserv2.jar : size = 660421
New xsu12.jar : size = 473249
Thanks for patience
What could be possible solution ?

Thanks Jinu
Problem A of setXSLT throwing NullPOinter Exception is solved. However problem B of RMI server not returning still there.
Just as an FYI , following is system
DB : oracle 8.1.6
xmlparserv2.jar : 9i xdk
xsu12_816.jar : 9i xdk
classes12.zip : JDBC2.0 for 8.1.6
When RMI server is stopped ( ctrl- C ) , client gets correct XML document alongwith proper Node names as set in setStyleSheet( String, String).

Similar Messages

  • SSL and RMI: Client hangs when trying to connect

    Hi all,
    Sorry for the cross-posting (I first posted to the RMI forum) but I thought someone here might be able to shed some light. The original message follows.
    I have a very simple client/server model implemented using RMI. Previously I used the default socket factories for creating sockets/connections and everything worked fine, but now I want to use SSL to encrypt all the traffic and I'm running into some trouble. The client is able to get the correct remote registry on the correct port, but when it tries to do registry.lookup("ServerName") to get a reference to the server object, it hangs indefinitely.
    Briefly, here are the changes from default RMI:
    As the docs suggested, I created a pair of custom socket factory classes (one for the client and one for the server) that create SSL sockets, and I put the following line in my server's constructor:
    super(0, new CustomClientSocketFactory(), new CustomServerSocketFactory());
    [my server extends UnicastRemoteObject].
    The custom factories are quite simple; the client consists of:
    public class CustomClientSocketFactory implements RMIClientSocketFactory, Serializable {
    public Socket createSocket(final String iHost, final int iPort) throws IOException {
    return SSLSocketFactory.getDefault().createSocket(iHost, iPort);
    and the server:
    public class CustomServerSocketFactory implements RMIServerSocketFactory {
    public ServerSocket createServerSocket(final int iPort) throws IOException {
    return SSLServerSocketFactory.getDefault().createServerSocket(iPort);
    Everything else is the same as before. I start the server on the remote machine, which starts its own registry on a certain port; then I start the client on the local machine. The client gets the registry and then ... nothing happens.
    I know this is somewhat vague, but the changes are small from the working code so I must be doing something wrong in creating SSL sockets. Is there something I can do to trace the process or figure out what's causing the hang? Am I missing some required authentication or other code in the server socket factory (my understanding from the docs is that authentication is optional)? Any other ideas about what's going on?
    Thanks,
    - Matt

    Matt, did you ever determine anything about your Strange Behavior #2. I'm running int the exact same issue. We've been using JSSE without problem for more than 2 years now. I'm currently trying to connect to a new SSL server and the connections setup is taking about 4 minutes (not the SecureRandom seeding) (see my comment in the trace: "this is where it sits for about 3 minutes")
    Trace:
    init context
    trigger seeding of SecureRandom
    done seeding SecureRandom
    %% No cached client session
    *** ClientHello, v3.1
    RandomCookie: GMT: 1005755098 bytes = { 7, 203, 184, 206, 249, 120, 35, 155, 160, 131, 72, 68, 12, 35, 64, 75, 63, 202, 161, 95, 42, 130, 74, 248, 145, 108, 49, 189 }
    Session ID: {}
    Cipher Suites: { 0, 5, 0, 4, 0, 9, 0, 10, 0, 18, 0, 19, 0, 3, 0, 17 }
    Compression Methods: { 0 }
    [write] MD5 and SHA1 hashes: len = 59
    0000: 01 00 00 37 03 01 3C F3 9B DA 07 CB B8 CE F9 78 ...7..<........x
    0010: 23 9B A0 83 48 44 0C 23 40 4B 3F CA A1 5F 2A 82 #...HD.#@K?.._*.
    0020: 4A F8 91 6C 31 BD 00 00 10 00 05 00 04 00 09 00 J..l1...........
    0030: 0A 00 12 00 13 00 03 00 11 01 00 ...........
    SbATAOutAdapter, WRITE: SSL v3.1 Handshake, length = 59
    [write] MD5 and SHA1 hashes: len = 77
    0000: 01 03 01 00 24 00 00 00 20 00 00 05 00 00 04 01 ....$... .......
    0010: 00 80 00 00 09 06 00 40 00 00 0A 07 00 C0 00 00 .......@........
    0020: 12 00 00 13 00 00 03 02 00 80 00 00 11 3C F3 9B .............<..
    0030: DA 07 CB B8 CE F9 78 23 9B A0 83 48 44 0C 23 40 ......x#...HD.#@
    0040: 4B 3F CA A1 5F 2A 82 4A F8 91 6C 31 BD K?.._*.J..l1.
    SbATAOutAdapter, WRITE: SSL v2, contentType = 22, translated length = 16310
    !!! This is where it sits for about 3 minutes !!!!
    %% No cached client session
    *** ClientHello, v3.1
    RandomCookie: GMT: 1005755287 bytes = { 8, 151, 45, 75, 86, 164, 141, 52, 216, 145, 81, 24, 157, 215, 246, 206, 87, 83, 153, 41, 88, 38, 3, 119, 190, 13, 0, 28 }
    Session ID: {}
    Cipher Suites: { 0, 5, 0, 4, 0, 9, 0, 10, 0, 18, 0, 19, 0, 3, 0, 17 }
    Compression Methods: { 0 }
    [write] MD5 and SHA1 hashes: len = 59
    0000: 01 00 00 37 03 01 3C F3 9C 97 08 97 2D 4B 56 A4 ...7..<.....-KV.
    0010: 8D 34 D8 91 51 18 9D D7 F6 CE 57 53 99 29 58 26 .4..Q.....WS.)X&
    0020: 03 77 BE 0D 00 1C 00 00 10 00 05 00 04 00 09 00 .w..............
    0030: 0A 00 12 00 13 00 03 00 11 01 00 ...........
    SbATAOutAdapter, WRITE: SSL v3.1 Handshake, length = 59
    [write] MD5 and SHA1 hashes: len = 77
    0000: 01 03 01 00 24 00 00 00 20 00 00 05 00 00 04 01 ....$... .......
    0010: 00 80 00 00 09 06 00 40 00 00 0A 07 00 C0 00 00 .......@........
    0020: 12 00 00 13 00 00 03 02 00 80 00 00 11 3C F3 9C .............<..
    0030: 97 08 97 2D 4B 56 A4 8D 34 D8 91 51 18 9D D7 F6 ...-KV..4..Q....
    0040: CE 57 53 99 29 58 26 03 77 BE 0D 00 1C .WS.)X&.w....
    SbATAOutAdapter, WRITE: SSL v2, contentType = 22, translated length = 16310
    SbATAOutAdapter, READ: SSL v3.1 Handshake, length = 74
    *** ServerHello, v3.1
    RandomCookie: GMT: 1005755466 bytes = { 145, 7, 69, 98, 152, 52, 222, 159, 96, 162, 220, 85, 77, 107, 82, 203, 25, 94, 208, 124, 2, 245, 96, 208, 224, 254, 139, 206 }
    Session ID: {68, 7, 167, 168, 236, 202, 48, 147, 191, 204, 208, 122, 24, 43, 132, 50, 65, 220, 172, 189, 17, 18, 197, 11, 150, 59, 201, 103, 86, 176, 115, 68}
    Cipher Suite: { 0, 5 }
    Compression Method: 0
    %% Created: [Session-1, SSL_RSA_WITH_RC4_128_SHA]
    ** SSL_RSA_WITH_RC4_128_SHA
    Anybody have any ideas?
    Thanks,
    Marcel

  • 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.

  • Data type conversion issues between Oracle and SQL Server

    Hi there, I am using Heterogeneous Services to insert into a SQL Server database. I am running into an issue between data types regarding Oracle's VARCHAR2 and trying to insert that into a SQL Server MONEY data type. I tried using the TO_NUMBER() function to convert my VARCHAR2 to a number, but that didn't seem to help.
    Does anyone have any advice on how to work around this??
    Thanks for any help,
    ivalum21

    ORA-02047: cannot join the distributed transaction in progress
    ORA-06512: at "MY_PACKAGE_NAME", line 263
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC]DRV_Execute: DB_ODBC_ENGINE (1645): ;
    [Microsoft][ODBC SQL Server Driver][SQL Server]Disallowed implicit conversion
    from data type varchar to data type money, table 'tableA',
    column 'total_amount'. Use the CONVERT function to run this query. (SQL
    State: 37000; SQL Code: 260)
    ORA-02063: preceding 2 lines from SQLSERVER_LINK
    ORA-06512: at "RCDTPUMP.CAMPUSCALL_DATAPUMP_UNI", line 875
    ORA-06512: at "RCDTPUMP.CAMPUSCALL_DATAPUMP_UNI", line 791
    ORA-06512: at "RCDTPUMP.CAMPUSCALL_DATAPUMP_UNI", line 1156
    ORA-06512: at line 1
    That is what I get when I take out the TO_NUMBER()
    Message was edited by:
    ivalum21

  • Routing Issue between router and Access Server

    Hi,
    We have a Lucent MAX TNT access server, having TAOS version 9.0.9. I
    have configured
    the default route so that all dialup user traffic is diverted towards
    cisco 2611 series router but this
    only happens with the IP subnets configured on MAX TNT and cisco router
    ethernet interfaces.
    We need a solution in which dailup users on MAX TNT with IPs from any network can
    be routed towards the cisco router in order to reach the internet cloud accross the Router.

    Muhammad
    Your message states that you have configured the access server with a default route pointing to the 2611 router. But it does not say whether you have configured a route on the 2611 pointing to the access server for the address range used by the dial pool which the access server uses to assign addresses to dial up users. I suspect this is your problem. I believe that the 2611 needs a route to that address space and that the 2611 needs to advertise that address range if there are any other routers in your network.
    HTH
    Rick

  • PXE boot issue with DHCP and SCCM server on different subnets

    I'm working with a client on the operating system deployment module of SCCM.
    Their network configuration currently has a single large subnet for client
    computers with a DHCP server on the same subnet. The SCCM subnet is
    configured on a seperate subnet with no DHCP server on the subnet. We want to
    configure client computers to be able to boot using the PXE client to deploy
    OS images to the machines but can not get PXE-boot to work correctly.
    Also, the client does not want to make changes to their network
    infrastructure routers or switches to remedy this problem. Are there settings
    on the DHCP or SCCM servers we can implement to make this work? If so, what
    needs to be installed or configured on each server. We currently already have
    WDS installed on the SCCM server and the SCCM server is configured as a PXE
    Service Point within SCCM. Both WDS and the PXE Service Point seem to be working fine.
    Any help would be appreciated.
    Thanks,
    Gary

    I am Brazilian,
    sorry for wrong english
    My DHCP is on linux,
    in my own structure VLANS
    The system center is on the network
    10.0.4.0/24
    The machines on the network 10.0.5.0/24
    The problem is that the machines that
    are not on the same network system center
    can not boot
      I tried configuring / etc/dhcp3/dhcpd.conf
    follows
    option vendor-class-identifier "PXEClient";
    option bootfile-name "\
    \ SMSBOOT \ \ x86 \
    \ wdsnbp.com";
    option tftp-server-name
    "10.0.4.101"; ---->
    IP server
    But it did not work, anyone know
    how to configure?

  • Connectivity Issue with Vista and SQL Server 2005

    Hi all;
    I am unable to log into SQL Server 2005 due to a connectivity problem.
    When I telnet on the port for the server, the attempt at a connection fails.
    Does anyone have any ideas as to what I should do?
    THANKS!!!
    Wally

    Closed the thread regarding: http://social.msdn.microsoft.com/Forums/en-US/sqlsecurity/thread/c20ee682-d329-4678-a8a6-6e10b746bf0e/
    Using the elevated mode fixed the problem.
    Jens K. Suessmeyer

  • EJB-RMI server hang using IIOP

    I have a java program that makes an EJB call using IIOP to an EJB hosted on a WebLogic server. The code is known to work in several environments, however when I deploy this to my production environment it hangs and appears to "lose" the reply from Weblogic.
    Essentially, then the program makes an attempt to obtain the initial context, it sends a request to the Weblogic server, but then hangs.
    Snooping the network shows that the request has reached weblogic and that weblogic has sent a sensible reply (which the client acknowledges).
    From trussing the process I can see the program send the request (268 bytes of data written to a socket that matches with what I see in snoop), but the program then seems to be looping in ioctl and pollsys, I never see it read any data.
    The last few lines of the stack trace show the process in an Object.wait (see code snippets).
    The last call my code makes is to construct a javax/naming/InitialContext (see "context = new InitialContext(props);" in Code snippet)
    Doing a "CTRL+\" does not show any deadlocked threads in the JVM.
    Code Snippets:
    The method in the code that it crashes in is:
    * Helper method to obtain an initial context
    private static void obtainInitialContext(boolean reload)
    throws IOException
    if (context == null || reload)
    logger.info("Creating a new initial context as it either doesn't exist or needs reloading");
    final String PROVIDER_URL_KEY = "props.orange.ProviderUrlKey";
    final String CONTEXT_FACTORY_KEY = "props.orange.ContextFactoryKey";
    try
    String providerURL = ConfigurationManager.getConfigValue(PROVIDER_URL_KEY);
    String contextFactory = ConfigurationManager.getConfigValue(CONTEXT_FACTORY_KEY);
    if (providerURL == null)
    logger.error("Could not find the property: " + PROVIDER_URL_KEY);
    throw new IOException("Could not find the property: " + PROVIDER_URL_KEY);
    if (contextFactory == null)
    logger.error("Could not find the property: " + CONTEXT_FACTORY_KEY);
    throw new IOException("Could not find the property: " + CONTEXT_FACTORY_KEY);
    Hashtable props = new Hashtable();
    props.put(Context.PROVIDER_URL, providerURL);
    props.put(Context.INITIAL_CONTEXT_FACTORY, contextFactory);
    context = new InitialContext(props);
    catch (Exception e)
    logger.error("Unable to obtain initial context: ", e);
    throw new IOException("Unable to obtain initial context: " + e);
    Stack trace:
    ff2c1bbc lwp_cond_wait (3a8a0, 3a888, 0, 0)
    feab4f98 __1cNObjectMonitorEwait6MxipnGThread__v_ (241d98, 94c8, 8c00, fefc4000, 39c08, 241db8) + 59c
    feab61a8 __1cSObjectSynchronizerEwait6FnGHandle_xpnGThread__v_ (ffbfa758, 8784, 0, 39c08, 8400, fefc4000) + e8
    feab5e58 JVM_MonitorWait (0, 3a204, 39c08, ff018ffc, 0, 1) + 31c
    f900c280 * java/lang/Object.wait(J)V+0
    f900c224 * java/lang/Object.wait(J)V+0
    f9005764 * java/lang/Object.wait()V+2 (line 474)
    f9005764 * com/sun/corba/se/impl/transport/CorbaResponseWaitingRoomImpl.waitForResponse(Lcom/sun/corba/se/pept/protocol/MessageMediator;)Lcom/sun/corba/se/pept/encoding/InputObject;+238 (line 140)

    prabha kancharla <> writes:
    What versions of each are you using?
    andy
    I have a java program that makes an EJB call using IIOP to an EJB hosted on a WebLogic server. The code is known to work in several environments, however when I deploy this to my production environment it hangs and appears to "lose" the reply from Weblogic.
    Essentially, then the program makes an attempt to obtain the initial context, it sends a request to the Weblogic server, but then hangs.
    Snooping the network shows that the request has reached weblogic and that weblogic has sent a sensible reply (which the client acknowledges).
    From trussing the process I can see the program send the request (268 bytes of data written to a socket that matches with what I see in snoop), but the program then seems to be looping in ioctl and pollsys, I never see it read any data.
    The last few lines of the stack trace show the process in an Object.wait (see code snippets).
    The last call my code makes is to construct a javax/naming/InitialContext (see "context = new InitialContext(props);" in Code snippet)
    Doing a "CTRL+\" does not show any deadlocked threads in the JVM.
    Code Snippets:
    The method in the code that it crashes in is:
    * Helper method to obtain an initial context
    private static void obtainInitialContext(boolean reload)
    throws IOException
    if (context == null || reload)
    logger.info("Creating a new initial context as it either doesn't exist or needs reloading");
    final String PROVIDER_URL_KEY = "props.orange.ProviderUrlKey";
    final String CONTEXT_FACTORY_KEY = "props.orange.ContextFactoryKey";
    try
    String providerURL = ConfigurationManager.getConfigValue(PROVIDER_URL_KEY);
    String contextFactory = ConfigurationManager.getConfigValue(CONTEXT_FACTORY_KEY);
    if (providerURL == null)
    logger.error("Could not find the property: " + PROVIDER_URL_KEY);
    throw new IOException("Could not find the property: " + PROVIDER_URL_KEY);
    if (contextFactory == null)
    logger.error("Could not find the property: " + CONTEXT_FACTORY_KEY);
    throw new IOException("Could not find the property: " + CONTEXT_FACTORY_KEY);
    Hashtable props = new Hashtable();
    props.put(Context.PROVIDER_URL, providerURL);
    props.put(Context.INITIAL_CONTEXT_FACTORY, contextFactory);
    context = new InitialContext(props);
    catch (Exception e)
    logger.error("Unable to obtain initial context: ", e);
    throw new IOException("Unable to obtain initial context: " + e);
    Stack trace:
    ff2c1bbc lwp_cond_wait (3a8a0, 3a888, 0, 0)
    feab4f98 __1cNObjectMonitorEwait6MxipnGThread__v_ (241d98, 94c8, 8c00, fefc4000, 39c08, 241db8) + 59c
    feab61a8 __1cSObjectSynchronizerEwait6FnGHandle_xpnGThread__v_ (ffbfa758, 8784, 0, 39c08, 8400, fefc4000) + e8
    feab5e58 JVM_MonitorWait (0, 3a204, 39c08, ff018ffc, 0, 1) + 31c
    f900c280 * java/lang/Object.wait(J)V+0
    f900c224 * java/lang/Object.wait(J)V+0
    f9005764 * java/lang/Object.wait()V+2 (line 474)
    f9005764 * com/sun/corba/se/impl/transport/CorbaResponseWaitingRoomImpl.waitForResponse(Lcom/sun/corba/se/pept/protocol/MessageMediator;)Lcom/sun/corba/se/pept/encoding/InputObject;+238 (line 140)

  • Assigned CPUs Decreased and Guest Server Hangs

    Hi,
    I created a physical virtual machine Oracle Enterprise Linux Server release 5.6 on Oracle VM server release 2.2.1. This is a DELL PowerEdge R710 with 2 4-cores Intel Xeon E5620 CPUs and 96GB memories. And the OLE is the only guest on the host. The first 12 virtual CPUs, 0-11, out of the 16 total available vcpu are assigned to the virtual machine and this configuration worked for more than 2 years.
    The guest hang this morning. The number of the online vcpus dropped from 12 to 1 (used xm list to show the information) and the guest did not response at all. None of the ping, ssh, ftp or the applications on the server were OK. Though I connected to the console using a vncviewer client, the console was black at all. Nothing can be observed from the guest. The host is OK.
    I connect to the host, destroied the guest (the connected vncviewer was disconnected automatically too), restarted it and it works as expected. The number of the online vcpus is 12 now.
    The exactly same happened in April last year too.
    I searched the Internet but could not find anything similar. Because I don't have a support of the virtual server, this is the only place I can think of for help.
    Did anyone meet this before? Any suggestion on how to solve this problem, or how to find out the reason?
    Regards,
    Chiyuan

    And the information of the guest is below.
    [root@oravm ~]# xm list VMGuest -l
    (domain
    (domid 2)
    (on_crash restart)
    (uuid ac871ffe-887e-9934-7534-da476e364598)
    (bootloader_args -q)
    (vcpus 12)
    (name VMGuest)
    (on_poweroff destroy)
    (on_reboot restart)
    (cpus
    ((0 1 2 3 4 5 6 7 8 9 10 11)
    (0 1 2 3 4 5 6 7 8 9 10 11)
    (0 1 2 3 4 5 6 7 8 9 10 11)
    (0 1 2 3 4 5 6 7 8 9 10 11)
    (0 1 2 3 4 5 6 7 8 9 10 11)
    (0 1 2 3 4 5 6 7 8 9 10 11)
    (0 1 2 3 4 5 6 7 8 9 10 11)
    (0 1 2 3 4 5 6 7 8 9 10 11)
    (0 1 2 3 4 5 6 7 8 9 10 11)
    (0 1 2 3 4 5 6 7 8 9 10 11)
    (0 1 2 3 4 5 6 7 8 9 10 11)
    (0 1 2 3 4 5 6 7 8 9 10 11)
    (bootloader /usr/bin/pygrub)
    (maxmem 73728)
    (memory 73728)
    (shadow_memory 0)
    (features )
    (on_xend_start ignore)
    (on_xend_stop ignore)
    (start_time 1334703422.3)
    (cpu_time 5142201.13696)
    (online_vcpus 1)
    (image
    (linux
    (kernel )
    (superpages 0)
    (videoram 4)
    (device_model /usr/lib/xen/bin/qemu-dm)
    (notes
    (HV_START_LOW 0)
    (FEATURES '!writable_page_tables|pae_pgdir_above_4gb')
    (VIRT_BASE 2147483648)
    (GUEST_VERSION 2.6)
    (PADDR_OFFSET 0)
    (GUEST_OS linux)
    (HYPERCALL_PAGE 2164297728)
    (LOADER generic)
    (SUSPEND_CANCEL 1)
    (PAE_MODE yes)
    (ENTRY 2176119296)
    (XEN_VERSION xen-3.0)
    (status 2)
    (state r-----)
    (store_mfn 17639393)
    (console_mfn 17639392)
    (device
    (vif
    (bridge xenbr2)
    (mac 00:16:3e:1b:66:ec)
    (script /etc/xen/scripts/vif-bridge)
    (uuid a2b74883-d709-123a-111d-d285cd87eb1d)
    (backend 0)
    (device
    (vbd
    (protocol x86_64-abi)
    (uuid e8103d5b-0b30-89e5-8f0b-101d96d50558)
    (bootable 1)
    (dev xvda:disk)
    (uname file:/OVS/running_pool/VMGuest/VMGuest_Root.dsk)
    (mode w)
    (backend 0)
    (bootable 1)
    (VDI )
    (device
    (vbd
    (protocol x86_64-abi)
    (uuid a4ef5167-0d28-ca9b-a6f2-66139215b687)
    (bootable 0)
    (dev xvdb2:disk)
    (uname phy:/dev/sdb2)
    (mode w)
    (backend 0)
    (bootable 0)
    (VDI )
    (device
    (vbd
    (protocol x86_64-abi)
    (uuid f628699b-a06a-2372-5fba-48b3e5d11675)
    (bootable 0)
    (dev xvdc1:disk)
    (uname phy:/dev/VmOS/VMGuest_Backup)
    (mode w)
    (backend 0)
    (bootable 0)
    (VDI )
    (device (vkbd (backend 0)))
    (device
    (vfb
    (vncunused 1)
    (location 0.0.0.0:5900)
    (vnc 1)
    (xauthority /root/.Xauthority)
    (uuid cd6fef1a-a380-f06b-130f-4de82844ea00)
    (device
    (console
    (protocol vt100)
    (location 2)
    (uuid e587fb0e-a124-9770-d4ad-a08fb7fce68a)
    )

  • RMI server object lookup in a session bean

    Hi all,
    I am getting MarshalException when I call java.rmi.Naming.lookup() in a session
    bean. Following is the code and exception. Please note that I am using java.rmi
    package instead of weblogic.rmi and that both the session bean and RMI server
    object (a startup class) is deployed on the same machine.
    Thanks for your help in advance.
    // a simple, replica-aware session bean method
    // some code here
    try {
    MediatorInterface mediator = (MediatorInterface) java.rmi.Naming.lookup("rmi://localhost:7001/TestMediator);
    catch (Exception e) {
    // log the exception
    The exception:
    java.rmi.MarshalException: Error marshaling transport header; nested exception
    i
    s:
    java.io.EOFException
    java.io.EOFException
    at java.io.DataInputStream.readByte(DataInputStream.java:224)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:206
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:174)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:318)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at java.rmi.Naming.lookup(Naming.java:84)
    at test.mgmtop.CreateNetworkOpHandler.execute(CreateNetworkOpHandler.jav
    a:88)
    at test.mgmtop.CreateNetworkOpHandler.perform(CreateNetworkOpHandler.jav
    a:28)
    at test.ejb.MgmtServiceBean.create(MgmtServiceBean.java:57)
    at test.ejb.MgmtServiceSession_idi8yo_EOImpl.create(MgmtServiceSession_i
    di8yo_EOImpl.java:46)
    at test.ejb.MgmtServiceSession_idi8yo_EOImpl_WLSkel.invoke(Unknown Sourc
    e)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:346)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:114)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:300)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
    eManager.java:762)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:295)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)

    Hi Pyung,
    How about trying this instead:
    InitialContext ctx = new InitialContext();
    MediatorInterface mediator = (MediatorInterface) ctx.lookup("TestMediator");
    This assumes your startup class binds the Mediator to the JNDI name "TestMediator".
    - Matt
    Pyung Yoon wrote:
    Hi all,
    I am getting MarshalException when I call java.rmi.Naming.lookup() in a session
    bean. Following is the code and exception. Please note that I am using java.rmi
    package instead of weblogic.rmi and that both the session bean and RMI server
    object (a startup class) is deployed on the same machine.
    Thanks for your help in advance.
    // a simple, replica-aware session bean method
    // some code here
    try {
    MediatorInterface mediator = (MediatorInterface) java.rmi.Naming.lookup("rmi://localhost:7001/TestMediator);
    catch (Exception e) {
    // log the exception
    The exception:
    java.rmi.MarshalException: Error marshaling transport header; nested exception
    i
    s:
    java.io.EOFException
    java.io.EOFException
    at java.io.DataInputStream.readByte(DataInputStream.java:224)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:206
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:174)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:318)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at java.rmi.Naming.lookup(Naming.java:84)
    at test.mgmtop.CreateNetworkOpHandler.execute(CreateNetworkOpHandler.jav
    a:88)
    at test.mgmtop.CreateNetworkOpHandler.perform(CreateNetworkOpHandler.jav
    a:28)
    at test.ejb.MgmtServiceBean.create(MgmtServiceBean.java:57)
    at test.ejb.MgmtServiceSession_idi8yo_EOImpl.create(MgmtServiceSession_i
    di8yo_EOImpl.java:46)
    at test.ejb.MgmtServiceSession_idi8yo_EOImpl_WLSkel.invoke(Unknown Sourc
    e)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:346)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:114)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:300)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
    eManager.java:762)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:295)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)

  • LC 8.2.1.3/JBoss and SQL Server 2008 R2

    Does anyone know if there are any issues with JBoss and SQL Server 2008 r2?  I tested connecting to a 2008 sql server in the adobe-ds.xml file and was getting errors in my server log.
    The version of JBoss was what came with 8.0.  Would I need to update JBoss prior to being able to connect to a 2008 sql server?
    Thanks,
    John

    You are correct. You cannot use 8.2 with 2008 SQL server. You have to upgrade to version 9.
    Thank you,
    John Daily
    Sent via Blackberry
    John Daily
    Application Systems Analyst III
    King Pharmaceuticals, Inc.
    Office: 423-989-7165
    Cell: 423-956-3911
    This E-Mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. This communication may contain material protected by the attorney-client privilege. If you are not the intended recipient or the person responsible for delivering the E-mail to the intended recipient, be advised that you have received this communication in error and that any use, dissemination, forwarding, printing, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately.

  • CSA and Windows Server 2008 hangs

    We're having a problem where we install CSA 6.0.2.130 on a Windows 2008 server running IIS and the server hangs after login.  Screen goes blank, mouse pointer is there but the system is unresponsive.  It is possible to start Task Manager and it shows almost all services stopped (but CSA running).  Stopping CSA service returns function to the server.  However, after all the services have started, if we try to start the CSA, then the server hangs again.
    Looking in the CSA log files doesn't show anything major.  There are some references to the management center being not reachable but they resolve themselves.
    Any ideas where to look?  We've tried disabling A/V, reinstalling, etc.

    This sounds potentially like bug CSCtg98849.  There is a workaround that should allow you to continue running with CSA enabled:
    Edit the "Base - Digital Signing of Downloaded Executables" rule module and disable the file access control "Send downloaded executables for scanning if opened for read".
    Save the change.
    Generate rules and deploy to affected hosts.
    [Wrap text]  [Edit this enclosure]
    Release-note: Modified 06/02/2010 07:41:44 by scfringe
    [Unwrap text]  [Edit this enclosure]
    Release-note: Modified 06/02/2010 07:41:44 by scfringe
    Scott

  • RMI Server Class path issue

    hi ,
    i am facing classpath issue when try to run rmi server. i have a jar file
    (RmiServer.jar) for rmi server , which contain some other jar file .
    when i run this jar file it throws ClassNotFoundException
    the java classloader are not able to load class from jar(RmiServer.jar)
    file. pls. tell me what i did wrong .
    Regards
    Brajesh K

    Actully you dont understand my problem.
    i have 2 jar file RmiClient.jar and RmiServer.jar
    when i run RMIserver.jar it throws following exception.
    Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
    java.lang.ClassNotFoundException: RmiServer_Stub
    the RmiServer.jar contain all the class file (stub/skelton,remote,etc) whichever needed.
    even i set class path to that folder where RMIserver.jar is placed
    inspite of that it throws ClassNotFoundException : RmiServer_Stub
    i dont undersatand why classloder , not able to load class file from Rmiserver.jar.
    any idea.
    thanks in advance
    Regards
    Brajesh K

  • JDK6 And ClassNotFound Exception during RMI server start

    Hello,
    I have been write a simple Hello World RMI, but I'm unable to start the server always get this exeception:
    Server exception: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
         java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
         java.lang.ClassNotFoundException: rmi.Hello
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
         java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
         java.lang.ClassNotFoundException: rmi.Hello
         at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:396)
         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
         at sun.rmi.transport.Transport$1.run(Transport.java:159)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
         at java.lang.Thread.run(Thread.java:619)
         at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
         at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:359)
         at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
         at rmi.HelloMain.main(HelloMain.java:21)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)The sources are these:
    package rmi;
    import java.rmi.Remote;
    import java.rmi.RemoteException;
    public interface Hello extends Remote {
        public void sayHello() throws RemoteException;
    package rmi;
    import java.rmi.RemoteException;
    public class HelloServer implements Hello{
        public HelloServer() {
            super();
        public void sayHello() throws RemoteException {
            System.out.println("Ciau!");
    package rmi;
    import java.rmi.registry.LocateRegistry;
    import java.rmi.registry.Registry;
    import java.rmi.server.UnicastRemoteObject;
    public class HelloMain {
        public static void main(String[] args) {
         try {
             Hello obj = new HelloServer();
             Hello stub = (Hello) UnicastRemoteObject.exportObject(obj, 0);
            // Bind the remote object's stub in the registry
            Registry registry = LocateRegistry.getRegistry();
            registry.bind("Hello", stub);
            System.err.println("Server ready");
        } catch (Exception e) {
            System.err.println("Server exception: " + e.toString());
            e.printStackTrace();
    }May be I'm wrong with start command, but I tried differents syntax without result.
    Can you help me?
    Thanks to all.
    PS:Sorry for my spaghetti-english :D

    I had similar issue and i got rid of it by doing the following:
    i. Start rmiregistry from the server code (so that the JVM remains the same) like this
    // Server.java
    Process pro = Runtime.getRuntime().exec("rmiregistry 1099 &");
    // ... ii. Use java.rmi.server.codebase property while starting the server
    D:\rmiEx\bin>java -Djava.rmi.server.codebase=file:/D:\rmiEx\bin example.hello.Server

  • RMI server and client in one application - Exceptions during some calls

    I wrote an application, which is an RMI-Server (Server1), and another separate application, which is an RMI-Client (Client1). Because I wont use dynamic class loading, I gave the client beside the interface.java also an interface_implementation.java, which is only a dummy of the original interface_implementation of the server. This dummy contains only declarations of the methods (parameters and return values) and no functional code. From this dummy the _stub.class is generated, and it works fine - no problem.
    Now I want to modify Client1 to become also an RMI-Server (Server2) for a second, separate Client (Client2), the methods used are different from the first RMI connection. This Client2 uses a dummy of the implementation of Server2 in the same way as described above. The application Client1+Server2 only has to "translate" the calls from Client2 to Server2 into calls of Client1 to Server1 (Server1 is not changed at all). In case of primitive method parameters or return values this chain of RMI-applications works fine, but in case of more complex structures (my own classes) during the call of Client1 to Server1 an "ClassNotFoundException: access denied to class loader" occurs by running through the stub. Both stub.classes are found, all of the applications know the objects needed, the call of Client1 to Server1 is exactly the same call as it was during the simple version (only Server1 and Client1).
    Does anybody know, why this exception occurs and how I can overcome this ?
    Axel

    I figured out a solution - it's a problem of policies. In detail: Server1's codebase entry (file:) refers to the class directory of Server1's project. In the simple case of only Client1, which has no codebase entry, it works fine without a file permission on the side of Server1. In the complex case of Client1+Server2, which has to have a codebase entry (file:) refering to the class directory of the Server2's project on a separate machine, for exactly the same method call from Client1 to Server1 a file permission entry on the side of Server1 is needed for Server1's class directory. But WHY ???
    It seems to be a little confusing with the codebase entries, many of the posts are contrary to others and to my personal experiences. Some comments given by Adrian Colley throw a little light upon some aspects. Is there anybody, who can explain the whole topic, when, why, and which part of RMI application deals with codebase entries, also in case of not dynamic code downloading ? May be there is also a reference into the java docs, which I didn't found up to now.
    Thanks in advance
    Axel

Maybe you are looking for

  • Installing B1iSN on Windows 7

    Hello, I am in the process of  installing B1iSN (PL08) on windows 7 Pro OS. B1iSN installation doest any go furher after Databas server username/pwd screen. There is a log file created in C:\Temp.  But this 'setup_0.log' file doest have any useful in

  • I can't click on email to open

    Wnat I mean is... when I try to read my email (that is when I'm lucky enough to get in and not get bounced around) and click on it, I get sent to some Verizon video page. I just want to read my email. I don't want to be bombarded with Verizon news an

  • Downloading web page content

    I want to take radio programme listings from a web page, such that I can parse the data and select certain programmes details only. Firstly how do I actually get the web page content out? Does it go into a text file? The actual content includes progr

  • PSE 9 Organizer hangs and crashes / Reinstall?  What will I lose?

    PSE 9 has been on my computer for almost a year and has started to get very unstable.  I can only scroll through a few rows of photos in Organizer before it hangs then crashes.  Editor is working more slowly as well.  The problem got worse last month

  • Smartform per line item

    Hi, Is it possible to issue a smartform per line item in the outbound delivery process? Thanks Lindy