RMI server error under Linux

Hi all,
I'm not excatly sure, whether this is the right forum. Anyway, my problem is this:
I've written a JApplet that calls several methods over RMI. The RMI server is up and running properly. Most of the functions work well. One that initializes a JTree, however, causes problems. I get the following error message and I am stumped:
java.rmi.ServerError: Error occurred in server thread; nested exception is:
     java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
     at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:289)
     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:536)
     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:133)
     at de.uni_mannheim.wifo2.mlearning.portal.ServerFunctions_Stub.buildStructure(Unknown Source)
     at de.uni_mannheim.wifo2.mlearning.portal.CourseHandlerC.initialize(CourseHandlerC.java:68)
     at de.uni_mannheim.wifo2.mlearning.portal.MobilUM.actionPerformed(MobilUM.java:641)
     at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
     at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
     at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
     at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
     at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
     at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1109)
     at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
     at java.awt.Component.processMouseEvent(Component.java:5093)
     at java.awt.Component.processEvent(Component.java:4890)
     at java.awt.Container.processEvent(Container.java:1566)
     at java.awt.Component.dispatchEventImpl(Component.java:3598)
     at java.awt.Container.dispatchEventImpl(Container.java:1623)
     at java.awt.Component.dispatchEvent(Component.java:3439)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
     at java.awt.Container.dispatchEventImpl(Container.java:1609)
     at java.awt.Component.dispatchEvent(Component.java:3439)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
Caused by: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
     at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
     at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:125)
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Class.java:140)
     at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
     at java.awt.Font.initializeFont(Font.java:309)
     at java.awt.Font.<init>(Font.java:345)
     at javax.swing.plaf.metal.DefaultMetalTheme$FontDelegate.getFont(DefaultMetalTheme.java:195)
     at javax.swing.plaf.metal.DefaultMetalTheme.getFont(DefaultMetalTheme.java:153)
     at javax.swing.plaf.metal.DefaultMetalTheme.getUserTextFont(DefaultMetalTheme.java:137)
     at javax.swing.plaf.metal.MetalLookAndFeel$FontActiveValue.createValue(MetalLookAndFeel.java:1405)
     at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:196)
     at javax.swing.UIDefaults.get(UIDefaults.java:126)
     at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:44)
     at javax.swing.UIDefaults.getFont(UIDefaults.java:346)
     at javax.swing.UIManager.getFont(UIManager.java:491)
     at javax.swing.plaf.basic.BasicTreeUI.installDefaults(BasicTreeUI.java:596)
     at javax.swing.plaf.basic.BasicTreeUI.installUI(BasicTreeUI.java:530)
     at javax.swing.plaf.metal.MetalTreeUI.installUI(MetalTreeUI.java:86)
     at javax.swing.JComponent.setUI(JComponent.java:449)
     at javax.swing.JTree.setUI(JTree.java:551)
     at javax.swing.JTree.updateUI(JTree.java:567)
     at javax.swing.JTree.<init>(JTree.java:522)
     at javax.swing.JTree.<init>(JTree.java:498)
     at javax.swing.JTree.<init>(JTree.java:481)
     at de.uni_mannheim.wifo2.mlearning.portal.ServerFunctions.buildStructure(ServerFunctions.java:237)
     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: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:460)
     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
     at java.lang.Thread.run(Thread.java:536)
The entire system had been tested under a Windows XP environment and works without a glitch. Now I've installed the exact same system under unix and this happens!
If anyone has an idea I would be very grateful!
Kind regards,
Falk

Hi again,
alternately I get another error doing the excat same thing:
java.rmi.ServerError: Error occurred in server thread; nested exception is:
     java.lang.NoClassDefFoundError
     at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:289)
     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:536)
     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:133)
     at de.uni_mannheim.wifo2.mlearning.portal.ServerFunctions_Stub.buildStructure(Unknown Source)
     at de.uni_mannheim.wifo2.mlearning.portal.CourseHandlerC.initialize(CourseHandlerC.java:68)
     at de.uni_mannheim.wifo2.mlearning.portal.MobilUM.actionPerformed(MobilUM.java:641)
     at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
     at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
     at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
     at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
     at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
     at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1109)
     at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
     at java.awt.Component.processMouseEvent(Component.java:5093)
     at java.awt.Component.processEvent(Component.java:4890)
     at java.awt.Container.processEvent(Container.java:1566)
     at java.awt.Component.dispatchEventImpl(Component.java:3598)
     at java.awt.Container.dispatchEventImpl(Container.java:1623)
     at java.awt.Component.dispatchEvent(Component.java:3439)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
     at java.awt.Container.dispatchEventImpl(Container.java:1609)
     at java.awt.Component.dispatchEvent(Component.java:3439)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
Caused by: java.lang.NoClassDefFoundError
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Class.java:140)
     at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
     at java.awt.Font.initializeFont(Font.java:309)
     at java.awt.Font.<init>(Font.java:345)
     at javax.swing.plaf.metal.DefaultMetalTheme$FontDelegate.getFont(DefaultMetalTheme.java:195)
     at javax.swing.plaf.metal.DefaultMetalTheme.getFont(DefaultMetalTheme.java:153)
     at javax.swing.plaf.metal.DefaultMetalTheme.getUserTextFont(DefaultMetalTheme.java:137)
     at javax.swing.plaf.metal.MetalLookAndFeel$FontActiveValue.createValue(MetalLookAndFeel.java:1405)
     at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:196)
     at javax.swing.UIDefaults.get(UIDefaults.java:126)
     at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:44)
     at javax.swing.UIDefaults.getFont(UIDefaults.java:346)
     at javax.swing.UIManager.getFont(UIManager.java:491)
     at javax.swing.plaf.basic.BasicTreeUI.installDefaults(BasicTreeUI.java:596)
at javax.swing.plaf.basic.BasicTreeUI.installUI(BasicTreeUI.java:530)
     at javax.swing.plaf.metal.MetalTreeUI.installUI(MetalTreeUI.java:86)
     at javax.swing.JComponent.setUI(JComponent.java:449)
     at javax.swing.JTree.setUI(JTree.java:551)
     at javax.swing.JTree.updateUI(JTree.java:567)
     at javax.swing.JTree.<init>(JTree.java:522)
     at javax.swing.JTree.<init>(JTree.java:498)
     at javax.swing.JTree.<init>(JTree.java:481)
     at de.uni_mannheim.wifo2.mlearning.portal.ServerFunctions.buildStructure(ServerFunctions.java:237)
     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: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:460)
     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
     at java.lang.Thread.run(Thread.java:536)
Thanks again!

Similar Messages

  • Forms compilation Errors under Linux

    Hello,
    I have a main form called Tbdoctrk.fmb.
    This forms compiles and runs perfectly through Oracle 9i iDS.
    When transfering the fmb file under Linux, and attempting to recompile using the f90genm.sh utility, I get the following compilation errors:
    FRM-18108: Failed to load the following objects.
    FRM-30436: Parent window not specified for canvas.View Canvas H_TOOLBAR
    FRM-30041: Position of item places it off of canvas.
    Item: BUTTON_HELP
    Block: VARIABLE
    Form: TBDOCTRK
    FRM: Unable to adjust form for output.
    ====
    I noticed that most of the object that failed to load (1 data block object, 1 canvas and a number of property classes and visual attributes) are contained in a file called TOOLBAR.fmb.
    The TOOLBAR.fmb file compiles without errors under Linux/WIndows + is located in the same folder as the Tbdoctrk.fmb file.
    1) How can I resolve this issue ?
    PT
    PS: I tried renaming the fmb files to upper/lower case without success.

    Hello,
    My main form called Tbdoctrk.fmb in turn calls a form called Pre_bord.fmb in a Program Unit.
    Most but not all Class and Value Attributes are included in a file called toolbar.fmb. I did not find any specific reference to the toolbar.fmb file.
    However, at compile time, I find that those objects are not loaded.
    1) In what part of the main form Tbdoctrk.fmb should I find any such reference to the toolbar.fmb file ?
    2) How should I create those symbolic links under Linux ?
    PT

  • Vhost configuration for Adobe Media Server running under linux.

    Please help me with Vhost configuration for Adobe Media Server running under linux.
    I was running a media sharing website for which I wanted to use Adobe Media Server.
    To use, AMS, I disabled the already installed Apache server and installed AMS along with the built in Apache server. I could successfully install AMS and could login to AMS Admin Console through my IP number.
    My existing website, www.mydomain.com is having its contents located at:
    /home/mydomain/public_html
    (Directory created under the old version of Apache not bundled with AMS)
    Users will be uploading their videos, which will get transcoded and will be delivered to the website visitors in the existing scenario.
    To use this website with AMS, this is what I did:
    I created a folder for my domain, www.mydomain.com as below
    /opt/adobe/ams/conf/_defaultRoot_/www.mydomain.com
    Copied Application.xml and Vhost.xml from /opt/adobe/ams/conf/_defaultRoot_/   and pasted them in /opt/adobe/ams/conf/_defaultRoot_/www.mydomain.com
    In the Application.xml file there are 2 entries:
    <Alias name="mydomain.com"></Alias>
    <AppsDir>${/home/mydomain/public_html}</AppsDir>
    Please help me with further steps to be completed:
    Do I need to create a separate VirtualHost entry in the Apache installed with AMS?
    If yes, can I specify already existing document root for my website (/home/mydomain/public_html) or do I need to create a separate folder under webroot/Apache ?
    If yes to point 2 above, then do I need to copy all the existing contents from /home/mydomain/public_html to the newly created folder ?
    I hope, I can serve all my static contents like html pages and php and media like video/audio. In that case do I need create alias to my Media/Alias folder or AMS will automatically start streaming when a video/audio is requested ?
    What other steps do i need to complete?
    Any help in this regard would be highly appreciated.
    Thanks and Regards

    Dear sir or madam,
    Here is Letswin Technology, which specializes in global servers, web hosting, VPS, VPNj. If anything I can do for you, pls contact us!
    Have a nice day!

  • Solution to iCloud control panel 4 sign-in server error under windows 8.1x64

    Potential solution for icloud 3.1 and 4.0 installation and iTune store sign-in, all showing errors or sign-in errors due to server error.
    My setup is Iphone 4S upgraded to ios8, ipad Air still on 7.1.2, windows PC on Win8.1x64 and with icloud 3.1 working fine till I tried to
    upgrade/install/re-install 4.0 icloud control panel after upgrade to ios8. See end of message for other alternatives I had tried.
    This worked for me.
    There seem to be some programmes that is conflicting with Apple's, so download this free program autoruns suggested by Apple software on Windows: May see performance issues and blank iTunes Store
    Run the program and choose the the "Winsock Providers", any other programme that shows up here except Bonjour (which is used by Apple) may be conflicting with the sign-in.
    Uninstall those potentially conflicting programs
    Inside autoruns->Winsock Provider, right click on the conflicting programs and choose delete. This would stop the conflicting program to start up
    again. Reboot the computer
    Install icloud control panel, sign in
    If works, reinstall those conflicting programs again and all back to normal, with iCloud control panel working
    If doesn't work, my mojo not strong enough and you need to google for more help.
    Other activities I googled, tried and failed
    a) Adding Apple icloud program and services into the windows firewall
    b) Uninstall version 4.0, re-install 3.1 (about 10 times)
    c) create a new Apple ID to sign in
    d) Sign out of icloud from my devices (iphone and ipad)
    e) switch to Android devices

    You need to edit the MSI installer and change the Launch Condition to allow iCloud Control Panel 3.1 to be installed on Windows Server 2008 R2.
    First, download Orca, an MSI editor. You can get it from the Windows SDK. (Download and only check the box for "Development Tools" under Native components during installation, then go to C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin and install Orca.msi)
    Launch Orca and then find the iCloud(64).msi to edit.
    If using Apple Software Update, browse to C:\Users\<username>\AppData\Local\Apple\Apple Software Update and open iCloud(64).msi in Orca.
    Or download iCloudSetup.exe and use a zip program (7-zip) to extract the MSI from the exe and open it in Orca.
    In Orca, select the LaunchCondition table and look for the condition "(VersionNT >= 601) AND (MsiNTProductType = 1)". Change the number 1 to a number 3 so the condition should read "(VersionNT >= 601) AND (MsiNTProductType = 3)". Save and exit Orca.
    Then double click on the msi and it should install successfully now.

  • Content Server error on LINUX (HTTP error: 404 Not Found)

    Hi All,
    While checking the status of content sever by using the T-code CSADMIN I am getting the following error message.
    <b>***********************************************************
    Error : - HTTP error: 404 Not Found
    Message no. CMS025
    Diagnosis
    Error in accessing via HTTP
    404 Not Found
    *************************************************************</b>
    I have done the installation of Content server 640 on Red Hat Linux / MaxDB.
    Moreover I am using the following connection data in CSADMIN.
    HTTP server :- 80.0.0.205
    Port Number:- 1090
    HTTP Script :- ContentServer/ContentServer.dll
    Version no. :- 0046
    Please help me.
    Thanks ,
    Harshal

    Hi Dagmar,
    The HTTP services are working fine. But i m not able to reach the content server url can u help on this?
    Please find the http trace file
    ERROR => PlugInHandleServData: HttpParseRequestHeader failed (rc=701) [http_plg.c   3258]
    ERROR => IcmHandleNetWrite(id=3/4782): HandleServData failed (rc=701) [icxxthrio.c  1833]
    The error i am getting in Content server url is
    Server Error
    404 - File or directory not found.
    The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

  • 816 installer error under linux 7.1

    Hi,
    i tried to install oracle 816 under linux 7.1 . During the time of linking makefile. The following error occur :
    Error in invoking target install of makefile /oraHome/network/lib/ins_net_client.mk
    I have already added the 6.2 backward compatable libs(compat-eqcs,compat-glibc and compat-libs) and
    export LD_ASSUME_KERNEL=2.2.5
    execute the script
    /usr/i386-glibc21-linux/bin/i386-glibc21-linux-env.sh
    It still doesnt work !!! Why ???
    CAN ANY BODY HELP !!! THANK A LOTS !!!
    null

    Read the other threads more carefully next time.
    Alex Voitov posted this ftp site:
    ftp://ftp.kernel.org/pub/software/libs/glibc/hjl/sdk/2.1/
    click README.Oracle8i.
    I also did what you did, but that was not enough, so I tried following the instructions in the README file mentioned above, and then I got oracle installed in Redhat 7.1 with no problems.
    After you install Oracle, you may also want to follow the instructions below.
    Posted by Kamal:
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>
    Oracle Version 8.1.7
    Linux Redhat 7.0
    While installing Oracle you may encounter the error 'not able to connect to oracle'
    during database creation. This is due to glibc package problem.
    Please do the following
    1. Install the compat-glibc RPM for 2.1.3.x
    (This is on the Redhat 7.0 CDs)
    2. cd to the directory where compat-glibc installed the files (for me it's
    /usr/i386-glibc21-linux/lib).
    3. Copy the following files to $ORACLE_HOME/lib:
    libc-2.1.3.so
    libpthread.so
    libdl.so
    ld-linux.so.2
    For me, several of these are symbolic links, so you'll need to copy the target of the
    symbolic link and rename it to the link name when you copy it to $ORACLE_HOME/lib.
    For example, if ls -l shows:
    ld-linux.so.2 -> ld-2.1.3.so
    libc-2.1.3.so
    libdl.so -> libdl.so.2
    libpthread.so -> libpthread.so.0
    Then you will:
    cp ld-2.1.3.so $ORACLE_HOME/lib/ld-linux.so.2
    cp libc-2.1.3.so $ORACLE_HOME/lib
    cp libdl.so.2 $ORACLE_HOME/lib/libdl.so
    cp libpthread.so.0 $ORACLE_HOME/lib/libpthread.so
    4. Create a file in $ORACLE_HOME/lib called libc.so with the following contents (as a
    single line):
    GROUP ( /lib/libc-2.1.3.so /lib/ld-linux.so.2 /libc_nonshared.a )
    Substitute the value of $ORACLE_HOME for and the location of the compat-glibc directory
    for . For example:
    My $ORACLE_HOME is:
    /u01/app/oracle/product/8.1.7
    and my compat-glibc directory is:
    /usr/i386-glibc21-linux/lib
    so the GROUP line looks like this for me:
    GROUP (/u01/app/oracle/product/8.1.7/lib/libc-2.1.3.so
    /u01/app/oracle/product/8.1.7/lib/ld-linux.so.2
    /usr/i386-glibc21-linux/lib/libc_nonshared.a)
    This is all one line.
    5. cd $ORACLE_HOME/bin
    6. Run the following command from the UNIX prompt:
    relink all
    All of the Oracle software, including the assitants, will work fine now.
    I have used this technique for RedHat 7.0 with the 2.2.16 kernel.
    Thanks to Richard Rankin for this simple and reliable method
    Regards
    Kamal
    <HR></BLOCKQUOTE>

  • Jar files as application Error under linux

    I created a jar file with the following jar command
    jar cmf mainclass Asdi2GuiJar.jar *.class
    Main-Class: ASDIGUI
    It did work without any problem : java -jar Asdi2GuiJar.jar
    when I added to the CLASSPATH under linux "Redhat 7.2" C-shell, it give me an error:
    Exception in the thread main java.util.zip.ZipException: No Such file or directory
    even im not using any zip file class in my java application. Any idea why im getting such an error even before addding the jar file to the CLASSPATH it did work without any problem?

    ah young grasshopper you are using zip files :) rename your .jar file a .zip and use unzip on it :)
    and that error means that the jvm's classloader couldn't load it's zip component so it's likely that your jvm can't find it's standard lib's
    make sure your class path points to the /lib directory of your java install..... which version of the jdk are you using?
    are you setting the classpath globally? since the way you said CLASSPATH I guess you are... ....are you keeping the old classpath when you set it? like CLASSPATH=$CLASSPATH:/myNewSource
    or something like that...
    maybe something in that will help

  • RMI activation problem under LINUX

    When I try to run the activation example from the RMI tutorial, I get the following exception:
    Exception in thread "main" java.rmi.activation.ActivationException: ActivationSystem not running; nested exception is:
    java.rmi.NotBoundException: java.rmi.activation.ActivationSystem
    at java.rmi.activation.ActivationGroup.getSystem(ActivationGroup.java:453)
    at examples.activation.Setup.main(Setup.java:68)
    Caused by: java.rmi.NotBoundException: java.rmi.activation.ActivationSystem
    at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:106)
    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:536)
    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.lookup(Unknown Source)
    at java.rmi.Naming.lookup(Naming.java:84)
    at java.rmi.activation.ActivationGroup.getSystem(ActivationGroup.java:449)
    ... 1 more
    This is with J2SE 1.4.1 on RedHat 7.3 running a vanilla 2.4.18 kernel. I'm running everything out of shell scripts to keep from getting bitten by typos.
    Here's the punchline: The identical code works just fine on RedHat 6.2 (kernel 2.2.14 or so) - same 1.4.1.
    Netstat tells me there is something listening on the appropriate ports, and output from strace suggests that there is some traffic back and forth to the server. There is no firewall running - I unloaded ipchains in the interest of paranoia. (There is firewalling running on the working system, go figure...)
    Help? I can post more details if that would help resolve the problem.

    I wrote
    When I try to run the activation example from the RMI
    tutorial, I get the following exception:<snip>
    The key was this:
    The identical code works just
    fine on RedHat 6.2 (kernel 2.2.14 or so) - same 1.4.1."Identical" really was - I'd used a tar archive to make a complete copy of the code running on the RH 6.2 system. The copy included the file log/Logfile.1, written by rmid (or rmiregistry). This contains lots of IP addresses; I suspect it's more than a log. Since the original machine and the clone are separated by a firewall, attempts by the clone to contact the original failed.
    Deleting the "log" directory made the problem go away.

  • Missing data in server monitor under linux and solaris

    Some metrics are not displayed in our environments, specifically under the statistics tab, request statistics, active coldfusion thread, we always have a zero line.  Also under memory usage, "cf threads by memory usage" is always empty.  I have all three buttons at the top checked so they are monitoring.  Is there something else I'm doing wrong?
    Environment 1 : dell2850->centos5->vmware->centos5->32bitJDK5->tomcat6->coldfusion8
    Environment 2 : sun5120->solaris10->64bitJDK5->tomcat6->coldfusion8
    I'm specifically wanting thread info to check if I should increase the defaults in CFIDE configuration.  Most everything on the server is being delivered faster now that we are using a 64bit JVM and have moved to solaris in production (from windows).  But there are some sections of our cfm logic that are taking much longer now (2000% longer)
    Thanks
    Ahnjoan

    Hi all,
    does anyone can write some info why java Threads are
    recorded in the list of process (ps -ef) when you run
    on a Linux box, but not the same when you run on
    Solaris ? Which Thread support is more
    performant/stable that on Linux or that on Solaris?
    Thanks
    FrancescoLinux treats kernell threads as light weight processes and displays them as if they are actual processes - they of course are not, so the results of 'ps' can be misleading. Solaris fully differentiates between its three concepts of threads, lightweight processes and processes and 'ps' only shows actual processes.
    Both implementations in Linux and Solaris perform well.
    By the way, Solaris 8 has an optional, slightly different thread model than earlier versions of Solaris (in fact it is more like NT's) and that can be more efficient for JVM's or other multithreaded systems running on SMP systems. It can also be worse - your mileage may vary.

  • Install ECC 6.0 and Solution Manager on same server Error (MaxDB/Linux)

    I have installed Solution manager on one server and then ECC 6 also in the same server with another SID. during the installation it errored out at phase "SLD configuration" with UME error , J2EE_ADMIN locked etc..we checked the user id and noticed it got locked in ECC 6 system and we unlocked it.
    But after the ECC installation the solution manager java engine is not coming up error with "com.sap.security.core.ume.service failed" error. Prior to the ECC installation the Solution Manager J2EE was working.
    thanks in advance
    Mathew

    error in the /j2ee/cluster/server0/log/defaultTrace.1.trc
    is as follows
    #1.5#00137256A483001E0000001700006F190004163784D40864#1150327614343#com.sap.engine.core.Framework##com.sap.engine.core.Framework#######SAPEngine_System_Thread[impl:5]_61##0#0#Fatal#1#/System/Server#Plain###Critical shutdown was invoked. Reason is: Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.#
    When I looked at using jcmon the dispacher is up and the server0 and SDM is down

  • My RMI Server application Not work under Linux: Exception: Connection reset

    Under Red Hat Linux 8.0 my RMI server application, when I try to bind the Impl class, sends me the exception:
    "java.rmi.UnmarshalException: Error unmarshaling return header;
    nested exception is: java.net.SocketException: Connection reset".
    And it works under Windows 2000 without any problem.
    What could it be?
    Many thanks,
    Ales.

    Hi Ales,
    Try to change your /etc/hosts file, and change the line that says :
    127.0.0.1     MDK localhost.localdomain localhost
    (where MDK is the machine's name).
    Remove MDK from this line and add a new one mapping it to a 'real' outside IP address, visible (check firewall!!!) to the network from where you are approaching the Linux Box
    Good luck,
    Aart

  • RMI Server Object Startup Error

    Greetings,
    I am trying to set up a computer lab at my college. I currently have one server running Slackware 9.1 and one client (my laptop) running Windows XP Home. I can telnet and ftp from my client. I can also access the Apache web server running on the Linux machine. I recently discovered RMI as a way to do distributed computing (we are trying to build a proof-of-concept distributed computing system). However, I cannot get RMI to work. When I take the code I wrote and use my laptop as both client and server, everything works. However, when I try to use both machines, it does not work. I want the Linux box to be the server and my laptop to be the client. After compiling my RMI server class (the class that registers the server object for use under RMI) and running it by typing java RemServer, I get a strange error (see bottom of this message). I cannot find this error anywhere else on the internet. I have the rmiregistry program running. I do everything the same as when I do RMI on just my laptop. Please help!
    RemServer Remote Exception: java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
    java.net.SocketException: Connection reset
    [Ljava.lang.StackTraceElement;@13d93f4
    Thanks,
    Jason

    One thing I did discover is that I have not been explicitly starting rmid. Some documentation says that rmi starts rmid automatically. If I need to start rmid, what parameters to I need to pass to it?
    Thanks,
    Jason

  • Errors occurs when localizing an Struts webapps in Tomcat5.0 under Linux.

    I have an Struts webapps,which was deployed correctly and ran well in my Tomat5.0 under win2K.
    Then i copied the webapps to the Tomcat5.0_HOME/webapps/ under Linux.
    Then i copied all the struts *.jar files to the Tomcat5.0_HOME/common/lib.
    With the web.xml and struts-config.xml configed well,i restarted the Tomcat and then found my webapps existing in the Tomcat5.0 by browsing the manager page of the container,and i found that my webapps run well.(The start hyper-link of my webapps in the manager page in not underline,this means my webapps have just run well and the web.xml is correct).
    Then i access my login.jsp which runs well at my Win2k platform.
    But errors occured at that time:
    The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection
    What's worong?

    up

  • Rman of database under Linux from Windows server

    Dear colleagues! I need some help.
    I have Oracle database 10.2.0.1, which works under Linux CentOS. I've just set up rman, to backup this database to local linux partition. Now, i want to adjust rman, so it starts from Windows 2003 ( i've already install Oracle 10.2.0.1 client for Wondows 32-bit) server to backup this database to local Windows folder.Could you please answer, is it possible at all?
    When i try to perform rman from Windows manually i got this errors:
    channel t1: starting piece 1 at 29-APR-10
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on t1 channel at 04/29/2010 03:07:32
    ORA-19504: failed to create file "/u02/app/oracle/product/10.2.0/db_1/dbs/c:123
    bak"
    ORA-27038: created file already exists
    Additional information: 1

    1. You can run the backup from windows server 2003 which take the RMAN backup of your linux server. But this backup can only stored into your linux server.
    2. You can't store the backup set of linux server into windows server.
    Regards
    Asif Kabir
    -- mark your helpful post as correct/helpful.

  • Directory Server under Linux

    I just installed Directory server under linux, the slapd starts ok after installation.
    When I try ./start-admin I get this error:
    SunONE-WebServer-Enterprise/6.0SP3 B05/19/2004 05:54
    failure: server initialization failed (Interrupted system call)
    Ive searched a bit and all I found is "Install TOUR 2.2" but thats for HP-UX.
    Any tips for Linux? This problem seems to be common.

    We have Sun-DS version 5.2 on Debian Sarge. I have just upgraded Debian Sarge to Debian Etch on one machine and admin-server did not start. I try to find out and found, that on Debian Etch the uxwdog loads first following libraries: /lib/tls/i686/cmov/libcrypt.so.1 /lib/tls/i686/cmov/libc.so.6 /lib/tls/i686/cmov/libdl.so.2 /lib/tls/i686/cmov/libm.so.6 /lib/tls/i686/cmov/libnsl.so.1 /lib/tls/i686/cmov/libnss_compat.so.2 /lib/tls/i686/cmov/libnss_files.so.2 /lib/tls/i686/cmov/libnss_nis.so.2 /lib/tls/i686/cmov/libpthread.so.0 /lib/tls/i686/cmov/libresolv.so.2
    But on Debian Sarge, it loads /lib/libpthread.so.0 /lib/libdl.so.2 /lib/libcrypt.so.1 /lib/libresolv.so.2 /lib/libm.so.6 /lib/libc.so.6 /lib/libnss_files.so.2 /lib/libnss_compat.so.2 /lib/libnsl.so.1 /lib/libnss_nis.so.2.
    So I have tried to update start-admin script and inserted
    export LD_PRELOAD="/lib/libpthread.so.0 /lib/libdl.so.2 /lib/libcrypt.so.1 /lib/libresolv.so.2 /lib/libm.so.6 /lib/libc.so.6 /lib/libnss_files.so.2 /lib/libnss_compat.so.2 /lib/libnsl.so.1 /lib/libnss_nis.so.2"
    And now, it starts without problem. So I hope it's the solution.

Maybe you are looking for