Using Applets and RMI on WL6 - Error marshaling transport header; nested exception is:  - java.io.EOFException

I have a project that I am porting from WL5.1 to WL6. It was working fine
in WL5.1
but cannot get it working in WL6. So, I went back to the HelloWorld
example to
see if I could get it working. The problem I am having is basically getting
applet to
talk to a server via RMI. The applet works fine alone and RMI works fine
alone.
I can't get the applet to talk to the server via RMI.
I am trying to get the "HelloWorld" applet example in WL6 working with RMI.
I previously had the same app working in WL5.1 with SP9 but cannot get it
working in WL6.
I am running WebLogic Server 6.0 with SP2.
I have registered a startup class in the WebLogic console
named "HelloServer". When starting up the server, it states
that the HelloImpl class has been registered as "HelloServer".
When starting up the client applet I get the following error:
java.rmi.MarshalException: Error marshaling transport header; nested
exception is:
java.io.EOFException
These are two different methods of looking up the same object.
The exception occurs at the "lookup" method call in both cases.
"myserver" is the name of my machine that WL is running on.
7001 is the port that WL is using.
Registry reg = LocateRegistry.getRegistry("myserver", 7001);
obj = (Hello)reg.lookup("HelloServer");
or...
obj = (Hello)weblogic.rmi.Naming.lookup("rmi://" +
getCodeBase().getHost() + ':' + port + "/HelloServer");
I previously ran this same program under WL5.1 SP9 and everything works
fine.
I defined the startupClass in the weblogic.properties file in WL5.1
Can anyone tell my what is causing this exception and how to correct the
problem?
Thanks
Terry Antle

"Terry Antle" <[email protected]> writes:
These are two different methods of looking up the same object.
The exception occurs at the "lookup" method call in both cases.
"myserver" is the name of my machine that WL is running on.
7001 is the port that WL is using.
Registry reg = LocateRegistry.getRegistry("myserver", 7001);
obj = (Hello)reg.lookup("HelloServer");
or...
obj = (Hello)weblogic.rmi.Naming.lookup("rmi://" +
getCodeBase().getHost() + ':' + port + "/HelloServer");
I previously ran this same program under WL5.1 SP9 and everything works
fine.
I defined the startupClass in the weblogic.properties file in WL5.1
Can anyone tell my what is causing this exception and how to correct the
problem?I don't know what the problem is but you shouldn't be using either of
these methods for looking up RMI objects - you should use JNDI instead.
Thanks
andy

Similar Messages

  • RMI - Unmarshell Exception - Nested Exception is java.io.EOFException

    Hi,
    I get the following error while executing my RMI client.
    The fact is that i dont get this everytime. When i make nearly 4000 RMI method calls then for the further method calls i get the exception as given below..
    *java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:*
    *     java.io.EOFException*My RMI Client Implementation is like this.
    - Create a static object of RMI Client
    m_objRmiServiceProxy = (IExposedInterface) Naming.lookup(ConnectionURL);And use the same object for all my further rmi server calls....
    can anyone tell me when we will get the above exception?
    What can be the possible cause for it ?
    Thanks...

    If you find an answer elsewhere please let me know, your problem seems to be very much akin to what my program is experiencing. Just one question, is your program affected by the error if you call the one remoteserver method consecutive times or if you call multiple methods in parallel?
    Edited by: Inusevs on Sep 10, 2008 6:24 AM
    Edited by: Inusevs on Sep 10, 2008 6:24 AM

  • Java.rmi.ServerError: A error occurred the server; nested exception is:

    Hello Guys,
    I'm getting the following error when calling a method of a normally
    deployed facade session bean.
    java.rmi.ServerError: A error occurred the server; nested exception is:
    java.lang.AbstractMethodError
    It's very confusing, it sometimes appear and sometimes the method is
    invoked normally.
    Thanks in advance for ur help.
    Itani
    [att1.html]

    That error means your are not running xserver process. Or, your ssh connection is not set-up to forward X-11 data.

  • Error  in PI mapping "nested exception is: java.lang.OutOfMemoryError "

    Hi Experts ,
    I encounter an error in the PI mapping while calling a Java Mapping (Mercator Map)
    Error Message as ::-
    java.lang.RuntimeException: RemoteException in setMercGeneral: Error occurred in server thread; nested exception is: java.lang.OutOfMemoryError at com.philips.xi.mercator.MercatorCall.execute(MercatorCall.java:90) at
    Could anyone suggest , how we can overcome  this error message
    I have  also tried  to restart the  RMI Server , but that was not not helpful.
    Regards,
    Shweta

    Sweta,
    Is this a java mapping or Graphical, If Java, you should not run into this issue as you dont load the nested XSD`s.
    Also the error message indicates outofMemory in mercator side when posting your Large message.
    java.lang.OutOfMemoryError at com.philips.xi.mercator.MercatorCall.execute(MercatorCall.java:90) at
    Regards
    Ravi Raman
    Edited by: Ravi Raman on Jun 30, 2010 4:26 PM

  • I tried to implement photo albums using iweb and got a publishing error.

    I tried to implement photo albums using iweb and got a publishing error. All was fine with my site until I added the photo album page. The software doesnt say what the error is exactly, only that it is a publishing error to my ftp
    Exact message "There was an error communicating with the FTP server. Try again later, or check with your service provider."
    If I reduce the albums inside to 1 then it seems to work but that takes away from the usefullness of multiple albums.
    my iWeb version is 3.0.4 (601)

    Publish your site to a folder on your hard drive to see if the publication will proceed successfully and open the site locally with your browser to confirm all of the alums are there and work.  If they do try the following:
    delete the iWeb preference files, com.apple.iWeb.plist and com.apple.iWeb.plist.lockfile, that resides in your Home() /Library/Preferences folder.
    go to your Home()/Library/Caches/com.apple.iWeb folder and delete its contents.
    Click to view full size
    launch iWeb and try again.
    If you're still not able to publish from iWeb to your server download and use the free  Cyberduck to upload your website files to the server. Users have found that CD has been successful when iWeb had problems.
    OT

  • EPM 11.1.2.3.500  - financial reporting book error : ; nested exception is: java.lang.NullPointerException

    hello all,
    we have done up gradation from 11.1.1.3  to EPM 11.1.2.3.500.
    we have financial reporting book for HFM.
    when we right click on this books and select "complete book in PDF", we get following error as
    "nested exception is: java.lang.NullPointerException"
    any idea ?
    regards,
    -Dattatray Mate

    also following is the log from E:\Oracle\Middleware\user_projects\domains\EPMSystem\servers\FinancialReporting0\logs\FRLogging.log
    [2015-01-29T11:14:05.377-05:00] [FinancialReporting0] [NOTIFICATION] [] [oracle.EPMFR.performance] [tid: [ACTIVE].ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 00iR6CF85cpFw00Fzzw0w00000sk0005Nc,0:1] [APP: FINANCIALREPORTING#11.1.2.0] [URI: /hr/modules/com/hyperion/reporting/web/bookViewer/HRBookPdf.jsp] [SRC_CLASS: com.hyperion.reporting.util.HRLogTimer] [SRC_METHOD: logTimeEnd] PERF: 0000003005 WebDynamicBook                           getStatus() returned false
    [2015-01-29T11:14:05.377-05:00] [FinancialReporting0] [ERROR] [] [oracle.EPMFR.jsp] [tid: [ACTIVE].ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 00iR6CF85cpFw00Fzzw0w00000sk0005Nc,0:1] [APP: FINANCIALREPORTING#11.1.2.0] [URI: /hr/modules/com/hyperion/reporting/web/bookViewer/HRBookPdf.jsp] [SRC_CLASS: jsp_servlet._modules._com._hyperion._reporting._web._reportviewer.__hrrunjob] [SRC_METHOD: _jspService] [[
    com.hyperion.reporting.util.HyperionReportException: ; nested exception is:
    java.lang.NullPointerException
    at com.hyperion.reporting.reportserver.FetchInstanceThread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
    at com.hyperion.reporting.haradm.HRAdmUtils.getMemberNameFromMemberSelection(Unknown Source)
    at com.hyperion.reporting.results.ExecBook.processChapterMemberSelections(Unknown Source)
    at com.hyperion.reporting.results.ExecBook.executeChapterReport(Unknown Source)
    at com.hyperion.reporting.results.ExecBook.executeChapter(Unknown Source)
    at com.hyperion.reporting.results.ExecBook.executeBook(Unknown Source)
    at com.hyperion.reporting.reportserver.FetchInstanceThread.runBook(Unknown Source)
    ... 1 more

  • Trying to use Buttons and keep getting an error code

    I am trying to use buttons and I keep getting the error code ReferenceError: Error #1074: Illegal write to read-only property graphics on flash.display.MovieClip.
    There is one button that doesnt appear when I view it live/in browser/ in flash professional
    I have created this button the SAME way, about 36 times, as the other buttons that work fine. What am I doing wrong?
    PLEASE HELP ASAP...

    The error appears to involve trying to assign a value to the graphics property of a MovieClip.  Do you have code that uses something.graphics =

  • Help: How to Validate XML using SAXParser and return the entire error list

    Hi,
    I have a problem, I'm trying to validate a xml document against the DTD. Here Im using SAXParser and having the ErrorHandler object passed when setting the error Handler, like parser.setErrorHandler(errorHandlerObj).
    I need an output like where the entire XML document is read and all the errors have to be reported with the line number.
    like example:
    <b>Line 6: <promp>
    [Error]:Element type "promp" must be declared.
    Line 8: </prompt>
    [Fatal Error]:The end-tag for element type "promp" must end with a '>' delimiter.
    who can i achieve this.</b>
    what happens with the present code is that it throws the first error it encountered and comes out.
    how can i solve this problem

    You can try to set the following feature to 'true' for your SAXParser:
    http://apache.org/xml/features/continue-after-fatal-error
    At least Xerces supports this feature.

  • File upload using applet and opera

    Hello All
    I am uploading file using applet it is working file in the IE and Mozilla firefox but it doesn't work in the opera , The client is sending request but server doesn't respond it , why it should be happening with opera only . i am using jre1.6 , applet is loading successfully . But while uploading file response from server is not occur.
    please post u r comments.

    On the server side, you'll probably want to grab a 3rd party library for handling the multipart request.
    This one is very popular and has sample code in its documentation that should get you going pretty quickly.
    http://jakarta.apache.org/commons/fileupload
    For the client side, this question would probably do better in an applet forum.
    One obstacle you'll need to deal with is the applet sandbox. By default, Applets have no access to the client machine's file system. You'll either need a signed applet that will prompt the user for permissions to access files or you'll need your clients to install a security policy that allows your applets to do this.
    Again, these details will be better worked out in an applet forum.
    -Ben

  • Help. Trying use imessage and keep getting an error message that says the person is not registered with imessage

    I am trying to use imessage and everyone I am trying to send to I keep getting a message that they are not registered with imessage. They all have iphones and I know for a fact they are all registered. I have tried all the trouble shooting steps I have found so far. I made sure my imessage is turned on and set under my apple id and email, I'm connected to wifi. etc... I can use facetime but can not message anyone. Thanks in advance for you help

    Hi, reagans3.
    Thank you for visiting Apple Support Communities.
    I see you are experiencing issues with iMessage.  I am not sure what troubleshooting steps that you have processed; however, there are some additional steps in the article below that may help.
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/ts2755
    Cheers,
    Jason H.

  • Discoverer Viewer Error - Duplicate child ir196142 - Nested exception: Dupl

    Hi Experts,
    One of my discoverer report is running fine in discoverer desktop.but while running it on discoverer viewer I am facing the below error
    The application encounters an invalid state. .
    - Duplicate child ir196142 - Nested exception: Duplicate child ir196142
    - Duplicate child ir196142
    Oracle BI Discoverer Viewer cannot find the data necessary to display the results of this event. Correct any errors, and try again.
    And same Report I tried in Discoverer Plus the I am facing the error
    An internal error occurred if this persists, please contact your discoverer manager.
    Regards,
    Brajesh

    Hi Rod,
    Thanks a lot for quick reply,
    I tried to save the report as report.dis file then again saved it on database with different name but still facing the same problem.
    Regards,
    Brajesh

  • Using DateAdd and getting Null Pointer Error

    I am using the following code below:
    <cfoutput query="getpeople">
    <cfset time2 = TimeFormat(getpeople.lunch_out_time,
    "hh:mm")>
    <!---<cfset time3 = DateAdd("h", 0, time2)> --->
    <cfset time4 = DateAdd("n", 10, time2)>
    I have commented out the adding 0 hours and am trying to add
    10 minutes to time2 a variable that is set by getting a value from
    a database however when I try and do this I get a
    The system has attempted to use an undefined value, which
    usually indicates a programming error, either in your code or some
    system code.
    Null Pointers are another name for undefined values.
    Please help, thanks!

    No the issue was that I had someone in the dateabase with no
    time listed so that was the issue. Took care of it and it's working
    fine now :-) Thanks for the thought.

  • I tried to charge my iPod Touch 5th generation but it died while charging  and it was tuning and it said i had to connect to iTunes so i did and i had to restore it to use it and while restoring an error code (9) appered and i can't use it. Plz help

       So  I was using my iPod Touch 5th generation and the charger wouldnt charge it and it died then while it was in the process of tuening back on the apple logo dissapeered and it kept on turning on and off so i put it into DFU mode and it said to plug it into itunes to i did and it said i had to restore it to use it but when i tried to restore it it brought up ," Couldnt restore ipod, error code (9) " ..... and i have tried 3 different USB cables and two different computers and USB ports and i have no clue what to do so i would like help from anyone please that would be awesome!!!!
                        Thank you, 
                                           Zac

    Zac henderson wrote:
    ...Couldnt restore ipod, error code (9) " ...
    Try here  >  Configure security software

  • Wanboot using s10u3 and http fails with error 416 with a small(ish) flar

    Hi,
    Using S10 u3 (11/06) to provision a wanboot server fails
    with a 1.4Gb flash image -- output at foot. The flar is there,
    perms 644, and I can open it in a web browser. The serverside
    log in /tmp/bootlog.HOST gives the same information.
    At OpenSolaris.org, this thread
    http://www.opensolaris.org/jive/thread.jspa?messageID=82856
    mentions a known bug 6509337 s10s_u3 wanboot fails but
    like another user of opensolaris, I cannot find that bug -- nor
    does searching sunsolve for wanboot 416 give any hits.
    Has anyone but the 3 folk at opensolaris and I seen this?
    Thank you for your time
    Using rules.ok from http://10.23.0.49/config.
    Checking rules.ok file...
    Using profile: profile
    Executing JumpStart preinstall phase...
    Searching for SolStart directory...
    Checking rules.ok file...
    Using begin script: install_begin
    Using finish script: patch_finish
    Executing SolStart preinstall phase...
    Executing begin script "install_begin"...
    Begin script install_begin execution completed.
    Wed Jan 31 14:10:56 wanboot info: WAN boot messages->10.23.0.49:80
    Processing profile
    - Opening Flash archive
    ERROR: Unable to access the archive. The server returned 416: Requested Range Not Satisfiable
    ERROR: Could not read file (http://10.23.0.49:80/flash/s10.flar)
    ERROR: Flash installation failed
    Solaris installation program exited.

    Hi,
    Using S10 u3 (11/06) to provision a wanboot server
    fails
    with a 1.4Gb flash image -- output at foot. The flar
    is there,
    perms 644, and I can open it in a web browser. The
    serverside
    log in /tmp/bootlog.HOST gives the same
    information.
    At OpenSolaris.org, this thread
    http://www.opensolaris.org/jive/thread.jspa?messageID=
    82856
    mentions a known bug 6509337 s10s_u3 wanboot fails
    but
    like another user of opensolaris, I cannot find that
    bug -- nor
    does searching sunsolve for wanboot 416 give any
    hits.
    Has anyone but the 3 folk at opensolaris and I seen
    this?
    Thank you for your time
    Using rules.ok from http://10.23.0.49/config.
    Checking rules.ok file...
    Using profile: profile
    Executing JumpStart preinstall phase...
    Searching for SolStart directory...
    Checking rules.ok file...
    Using begin script: install_begin
    Using finish script: patch_finish
    Executing SolStart preinstall phase...
    Executing begin script "install_begin"...
    Begin script install_begin execution completed.
    Wed Jan 31 14:10:56 wanboot info: WAN boot
    messages->10.23.0.49:80
    Processing profile
    - Opening Flash archive
    Unable to access the archive. The server returned
    416: Requested Range Not Satisfiable
    ERROR: Could not read file
    (http://10.23.0.49:80/flash/s10.flar)
    ERROR: Flash installation failed
    Solaris installation program exited.Same here:
    Processing profile
    - Opening Flash archive
    ERROR: Unable to access the archive. The server returned 416: Requested Range Not Satisfiable
    ERROR: Could not read file (http://199.17.241.103:80/wanboot/flar/flars/flar.sun4v.sol10_11_06.2)
    ERROR: Flash installation failed
    Solaris installation program exited.
    Web server error log is clean, but access log contains the following:
    199.17.247.252 - - [02/Feb/2007:21:35:31 -0600] "GET /cgi-bin/wanboot-cgi/?CONTENT=bootfile&IP=199.17.247.128&CID=0100144F0ED53C HTTP/1.1" 200 1087128 "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:35:40 -0600] "GET /cgi-bin/wanboot-cgi/?CONTENT=bootfs&IP=199.17.247.128&CID=0100144F0ED53C&NONCE=80E23BAF0AE7E91E0B8141E0B7B66323A300C4A6 HTTP/1.1" 200 379111 "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:35:42 -0600] "GET /cgi-bin/wanboot-cgi/?CONTENT=rootfs&IP=199.17.247.128&CID=0100144F0ED53C HTTP/1.1" 200 235 "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:35:42 -0600] "GET /wanboot/miniroot/miniroot.sun4v_sol10_11_06 HTTP/1.1" 200 273847296 "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:38:57 -0600] "HEAD /wanboot/flar/sysidcfg.patrick/sysidcfg HTTP/1.1" 200 - "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:38:57 -0600] "GET /wanboot/flar/sysidcfg.patrick/sysidcfg HTTP/1.1" 206 687 "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:43:27 -0600] "HEAD /wanboot/flar/rules.ok HTTP/1.1" 200 - "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:43:27 -0600] "GET /wanboot/flar/rules.ok HTTP/1.1" 206 341 "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:43:28 -0600] "HEAD /wanboot/flar/mybegin HTTP/1.1" 200 - "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:43:28 -0600] "GET /wanboot/flar/mybegin HTTP/1.1" 206 715 "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:43:28 -0600] "HEAD /wanboot/flar/profile.sol10_T2000_72g.0 HTTP/1.1" 200 - "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:43:28 -0600] "GET /wanboot/flar/profile.sol10_T2000_72g.0 HTTP/1.1" 206 501 "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:43:29 -0600] "HEAD /wanboot/flar/flars/flar.sun4v.sol10_11_06.2 HTTP/1.1" 200 - "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:43:29 -0600] "GET /wanboot/flar/flars/flar.sun4v.sol10_11_06.2 HTTP/1.1" 416 392 "-" "-"
    showrev: Kernel version: SunOS 5.10 Generic_118833-33

  • I am using podbean and get a parsing error message when submitting my feed??

    I submit my feed and this error message shows up
    Error parsing feed: Invalid XML: error on line 24: The element type "link" must be terminated by the matching end-tag "</link>"
    I'm not literate in this department of tech
    Any help would be greatly appreciated
    The url is
    http://afishownado.podbean.com/feed/

    This is an open forum, not Adobe support... you need Adobe support to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

Maybe you are looking for

  • Payment cards : authorization not received on certain days

    Dear fellow SAP users, We use the payment cards feature but we do not need to connect to a clearing house because we know that the credit cards are actually valid. In order to by pass the connection to a clearing house, we copied the standard CCARD_A

  • Can't Import MP4 Files Into DVD Studio Pro

    I'm trying to start a DVD Studio Pro 4 project, and have .mp4 video files. When I import them with the Assets>Import tab, they come in as MP4 audio files only, not movie files. The users manual says the integrated encouder auto encodes Quick Time ass

  • Boolean representation in RFC xml

    Hello, I have problems with representing boolean values in an RFC xml call using XI towards SAP. Using 'X' as a value for true does not seem to work. The BAPI I am calling through RFC xml is BAPI_CHARACT_CREATE and I am trying to set the parameter IN

  • Recommended Patch Level for ACS 4.2

    Hi, Is there a recommended patch level for ACS 4.2? I see a patch 4 and 5 can be downloaded. Any gotchas with either? thanks Bob

  • JPA ORM for generalization table hierarchies

    I'm looking for any documentation or guidance the shows how to map existing table hierarchies to class hierarchies. I've read the following the book [Java Persistence API| http://www.amazon.com/Pro-EJB-Java-Persistence-API/dp/1590596455/ref=sr_1_1?ie