RMI and Microsoft Virtual Machine

Hi everyone,
I'm currently tring to find a solution for a migration issue to which I'm confronted.
I have several ActiveX components used in a server context to deliver services to a client.
I intend to migrate the whole to Java soon but there's a huge amount of work to do.
I would like to work on this migration progressively. For now, I would like to make a Java Swing Client running in a JRE 1.4 environment. This client is going to connect to a server running in a Microsoft Virtual Machine environment. The client is going to request some stuff to the server and the server is going to obtain the requested info by queryng an ActiveX component (via JActiveX).
The thing is that I need to do this communication with RMI but I wonder wether RMI is supported in Microsoft's Java Virtual Machine, is it ?
What would you suggest me to do ?
Thanx for any help,
Diego

I think that IBM's AlphaWorks team has programmed an API to make possible to use Applets that use RMI in InternetExplorer4 interpreted by a Microsoft Virtual Machine. But... is this supposed to allow RMI support only in IE4 or in windows in general ?
Diego

Similar Messages

  • ASAP: Serial Versioning and the Microsoft Virtual Machine

    Hi,
    I'm writing an applet and a server that communicate via sockets using Java's serialization interface. The whole thing works fine unless I use IE (which uses Microsofts virtual machine). In the case I get an InvalidClassException with respect to my serialVersionUID. The error says that there is a versioning problem between a class calles "LHands;" which I'm guessing corresponds to my class called "Hands.class", however hardcoding the version ID in "Hands.class" doesn't fix it. My guess is that the applet is serializing the data using the MVM and the server is using Sun VM and is causing the versioning problem. Has anybody encountered anything like this before? I'm stumped, I've already lost three days on this.
    Thanks in advanced,
    Paul

    in case anyones interested I figured it out. Do not try to serialize an array of objects if your in the the situation I described above. Its a lot of headache. Use Vectors instead

  • Microsoft Virtual Machine Converter VMware To Hyper-V Cluster

    I'm not sure if this should technically be in the clustering section but I have just moved from SCVMM 2012 SP1 to 2012 R2 and I kinda miss the built-in converter tool. What I used to do when converting VMware to Hyper-V was uninstall VMware Tools and then
    I would do a physical to virtual conversion on the VMware virtual machine and SCVMM would handle copying the virtual machine while it was online and register it in our Hyper-V cluster. Now, the only thing I could come up with is the Microsoft Virtual Machine
    Converter but it seems rather limited and doesn't seem to have an option to import to a cluster. So is the only option to convert it over to Hyper-V as if it were a local machine and then run another export/import process to get it in the cluster? I tried
    to point it to a CSV and while it copied the disk over, it registered the virtual machine in ProgramData (the default location). This obviously causes issues when trying to make the VM highly available. Any one have a suggested process of the best way to go
    about this? Thank you in advance for your time!

    So no matter what option I choose, V2V always shuts down the source VM during the conversion process. On the other hand, if I use the old method of uninstalling VMware tools manually and then doing a P2V instead, the source VM has to stay online for
    that type of process. Then I just have to migrate it to become highly available and that seems to accomplish what I want. The only annoying part is that I couldn't run it on my Win 8.1 Pro workstation as it requires the BITS feature to be installed
    and that only appears to be available on server editions (correct me if there is a way to get it on 8.1). I guess the documentation (I think) says that it should run on server editions only but V2V runs fine from 8.1 since it doesn't need BITS since it's
    an offline process.

  • Microsoft Virtual Machine Converter 3.0 throws Cannot Enumerate Disk ERROR

    I am running the Microsoft Virtual Machine Converter 3.0 to migrate Windows 2012 R2
    SP1 virtual machine from VMware on to Microsoft Azure. I followed all the pre-requisites of the tool. But, when I run the MVMC 3.0 tool it fails in the Analyze Disk stage, and displays this error below:
    10/14/2014 16:24:18 -07:00 [3] VERBOSE: Analyzing disk C:\azure_storage\MVMC\0\disk-1.vhd
    10/14/2014 16:24:23 -07:00 [3] VERBOSE: Disk C:\azure_storage\MVMC\0\disk-1.vhd is bootable
    10/14/2014 16:24:30 -07:00 [3] VERBOSE: Microsoft.Accelerators.Mvmc.Engine.DiskCopyFailureException:
    The virtual disk(s) attached to the source virtual machine were not successfully converted to VHD(s) and copied to the workspace folder path. ---> Microsoft.Accelerators.Mvmc.Engine.VolumeMvmcException: Could not enumerate volume with disk number "1".
    at Microsoft.Accelerators.Mvmc.Engine.Volume.WinVolumeFinderService.GetWinPaths(UInt32
    diskNumber)
    at Microsoft.Accelerators.Mvmc.Engine.InjectionRejection.FirewallUpdater.UpdateFirewallRules(IOwnedVirtualDisk
    virtualDisk, TaskContext taskContext)
    at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.PostConversionTouchupService.UpdateFirewallRules(String
    bootDiskPath, TaskContext taskContext)
    at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.MachineConversionService.ConvertToDrives(IMachineConversionRequest
    machineConversionRequest, IPostProgress& provisionHyperVPhase, IVirtualMachine& sourceVM, TaskContext taskContext)
    --- End of inner exception stack trace ---
    at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.MachineConversionService.ConvertToDrives(IMachineConversionRequest
    machineConversionRequest, IPostProgress& provisionHyperVPhase, IVirtualMachine& sourceVM, TaskContext taskContext)
    10/14/2014 16:24:30 -07:00 [3] EXCEPTION: Microsoft.Accelerators.Mvmc.Engine.DiskCopyFailureException:
    The virtual disk(s) attached to the source virtual machine were not successfully converted to VHD(s) and copied to the workspace folder path. ---> Microsoft.Accelerators.Mvmc.Engine.VolumeMvmcException: Could not enumerate volume with disk number "1".
    at Microsoft.Accelerators.Mvmc.Engine.Volume.WinVolumeFinderService.GetWinPaths(UInt32
    diskNumber)
    at Microsoft.Accelerators.Mvmc.Engine.InjectionRejection.FirewallUpdater.UpdateFirewallRules(IOwnedVirtualDisk
    virtualDisk, TaskContext taskContext)
    at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.PostConversionTouchupService.UpdateFirewallRules(String
    bootDiskPath, TaskContext taskContext)
    at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.MachineConversionService.ConvertToDrives(IMachineConversionRequest
    machineConversionRequest, IPostProgress& provisionHyperVPhase, IVirtualMachine& sourceVM, TaskContext taskContext)
    --- End of inner exception stack trace ---
    at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.MachineConversionService.ConvertToDrives(IMachineConversionRequest
    machineConversionRequest, IPostProgress& provisionHyperVPhase, IVirtualMachine& sourceVM, TaskContext taskContext)
    at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.MachineConversionService.<>c__DisplayClass3.<ConvertToDrivesAsync>b__2()
    at System.Threading.Tasks.Task`1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()
    10/14/2014 16:24:30 -07:00 [3] Exception caught : Microsoft.Accelerators.Mvmc.Engine.VolumeMvmcException:
    Could not enumerate volume with disk number "1".
    at Microsoft.Accelerators.Mvmc.Gui.Model.ConversionModel.ConvertGuestMachine()
    at Microsoft.Accelerators.Mvmc.Gui.ViewModels.Machine.MachineCompletionViewModel.OnWorkerDoWork()

    Same issue here. We DID have spanned disk over 2 x VMDKs but I have fixed that issue now and problem persists. The one thing I have yet to try is installing VMWare Tools - they were uninstalled on a previous failed conversion and I am getting an error saying
    "VERBOSE:    Microsoft.Accelerators.Mvmc.Engine.DiskCopyFailureException: The virtual disk(s) attached to the source virtual machine were not successfully converted to VHD(s) and copied to the workspace folder path. ---> Microsoft.Accelerators.Mvmc.Engine.DisablingNonWindowsGuestVHDException:
    The virtual hard disk C:\Temp\MVMC\0\disk-0.vhdx on which you are trying to disabling VMWare tools, is not a valid Windows-guest OS virtual hard disk. (Are you trying to disable a virtual hard disk with Linux-guest or other OS in it?)"
    I am about to install the tools and try again under advice from our partner

  • Microsoft Virtual Machine Bus Network Adapter has a yellow !

    Hi in my device manager the Microsoft Virtual Machine Bus Network Adapter ? the Microsoft Virtual Machine Bus Network Adapter has a yellow ! 
    Does anyone know how to fix this?

    Hi 
       Firsly try to run Windows updates and see if it can be detected by Windows update and install apprpriate driver ..
       Secondly if that did not work try to RIGHT click the  Microsoft Virtual Machine Bus Network Adapter and click update driver and choose let Windows look for driver . 
                  Post me your findings 
                                        Checkurtech
    ****Click the White Kudos star to say thanks****
    ****Please mark Accept As Solution if it solves your problem****

  • HT3231 Migration Assistant and vmware virtual machine

    I would like to use Migration Assistant to move my information from a MacBook Pro to a new MacBook Air. Before I perform that, I would like to make sure I  don't migrate any problems in the new machine.
    How do I choose for example NOT to migrate the VMWARE virtual machine in my older MacBook Pro so that the new MacBook Air becomes lighter?
    Thanks

    During the setup of your MacBook, it will ask you to restore a backup, so choose the option to restore data from another Mac and follow its steps. You will be able to choose what you want to restore.
    If you haven't modified anything, VMware stores virtual machines in Documents folder, so the only thing you have to do is to untick the Downloads folder and the virtual machine won't be migrated to the MacBook Air. See > http://pondini.org/OSX/SetupLion.html
    If you are going to migrate applications, it's important to check that they are compatible with Mountain Lion. PowerPC applications aren't compatible and you will be wasting space if you transfer these apps

  • How is the performance of Mac Pro if i use it as host for windows and linux virtual machines.

    How is the performance of Mac Pro if i use it as host for windows and linux virtual machines.
    I am planning to buy a high performance PC to run my Windows and Linux servers as vitrual machines for my testing purposes.
    Initially i planned to build my own computer with recommended configurations but considering space constaints and cooling factors i think Mac Pro can be a choice. But need some inputs if Mac pro (Intel Xeon E5, 12 GB RAM) is good for running virtual Machines.

    You could even run Windows natively and still run your VM servers.
    I have seen reports and such on MacRumors and elsewhere - run Windows natively as well as VMs (can also do testing and run Mavericks in a VM under Mavericks)
    The fast internal PCIe-SSD, plus 6 or 8 cores, and 32-64GB RAM. Of course for $5,000 for 8-core, some Thunderbolt storage and 32GB/64GB RAM you can buy some serious hardware.

  • Why does IE8 running on XP and Win7 Virtual Machine deletes the history while I'm still browsing the same site with client-side hashbang routing?

    Hello, 
    I have a asp.net mvc 5 web application running on .net 4.5 hosted on my local windows 8 machine on macbook pro using parallels. I'm running Internet Explorer 8 Version: 8.0.6001.18702 running on XP and Version: 8.0.7601.17514 running on Windows 7 Enterprise.
     I've got both of the virtual machine source from www.modern.ie 
    My web application is attempting to provide single page user experience by having some client-side routing by using '#!/xxx' hashbangs in the url so that I can get and post via ajax and change the hash in  the url without causing the page to reload. My
    code works fine in IE9+ and other modern browsers.
    However, I'm facing this strange issue in both of the IE8 versions. When running my demo app in IE8, I can login, view home page and can navigate from this home page to many details page. From the very first login page, all the pages are the result
    of form's post action via ajax which then expects html from server and loads in the DOM. The page structure of my app is like summary form => Details page (can also contain summary forms) => Details...so on.
    The above process works fine for few of the navigation steps. If I keep navigating from one page to another & go back, I have observed that the browser back button is removing the history items slowly. And a time comes when it totally forgets about
    all the history pages that I visited to reach this current page I'm viewing!! It treats like I have just started my browsing session and this current page is the first page I've landed on with no back option. Now if I again try to navigate, I have encountered
    problems like both the back and forward buttons gets disabled.
    Hope, my words above is clear enough to explain this problem. The same application works fine in IE9+ and other browsers. 
    Till now, I have tried following steps on both VMs: 
    Resetting IE8.
    Increasing disk space to 1024mb for temporary internet files storage.
    Setting 'Never' for Check for newer versions of stored pages.
    Disabling the automatic crash recovery feature didn't helped in this case. Found this on support website.
    Deleted temporary files, history, cache, etc many a times.
    Search many forums, posted question on StackOverflow, ASP.NET
    Forums - but didn't helped.
    Tried 'beforeunload' event of browser to see if any of the page is reloading because of submit or any other reason. But the page doesn't reload at all.
    The issue is browser forgets about the browsing history while I'm still browsing the same site. 
    Is there any possible fix for the issue above? Does IE8 have any issues as many ajax form post is happening on every page? 

    I have really tried many things to identify any possible reason of the issue above. Even rewrote all my javascript navigation code and checked server-side code.
    But the only place where I got the solution is at site: http://www.enhanceie.com/ie/bugs.asp which states that there is a bug in IE8 which reads like:
     IE0012: IE Travellog broken when navigating back/away from a page with
     a large POST form If there is a form input field with a value longer
     than 523,659 characters, when you navigate away from the page, IE may
     clear the current session's travellog (similar to history), disabling
     the back and forward buttons. Repros in IE6 & IE7.
    There are following solutions that you can go for:
    - Check for the input field that has lots of characters as mentioned above and solve your problem.
    - If you have control over the system where IE8 will be used, you can add the following registry key on that machine. There is no existing key, so, you need to add a new one:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\TravelLog] "MaxSize"=dword:ffffffff
    I am really relaxed to find this information as I spent really long time to solve this issue. Hope this will help someone.

  • Microsoft Virtual Machine

    I am looking for jave virtual machine and really not for sure where to go for it. I am trying to get into some sites and they are telling me to download java virtual machine but when I go to the web site to do it, windows tells me it's not there anymore. I am using windows xp.
    Thanks

    I am also looking for jave virtual machine. I am trying to get into some sites and they are telling me to download java virtual machine, but when I go to the web site to do it, windows tells me it's not there anymore. I am using windows xp too. I called microsoft support and they advised that I use google to search for JVM for the company that now offers it. My results didn't post anything clear. I'm asking for help from any reader.
    Thanks

  • ISE and Microsoft AD machine authentication

    Hello Security masters,
    my goal is to perform a PEAP authentication against Microsoft AD with the machine credentials of the Windows PC.
    The question is, how my authorization policy looks like? From my understanding I have different possibilities to solve this:
    1.) Directly referencing to the AD group, where the computer objects are stored:
    If "Any" and <AD-NAME>:ExternalGroups equals <DOMAIN>/COMPUTERS then PermitAccess
    Drawback: If I have multiple subdomains or if the computer accounts are stored in different OUs or groups, I have to check all of them (multiple rules or compound conditions)
    2.) Username checking
    If "Any" and Network Access:UserName STARTS_WITH host\ then "PermitAccess"
    I'm checking if the username starts with "host\", which is normally an indicator for a machine/computer account
    3.) Attribute checking
    If "Any" and <AD-NAME>:servicePrincipalName STARTS_WITH host\ then "PermitAccess"
    I'm checking the value of the "servicePrincipalName" of the AD. Normally only computers have this attribute and the value is "host\<PC-NAME>
    Is one of these three approaches the right way to do it, or am I doing it completely wrong.
    Is there a best-practice approach to do this? How did you guys solve this?
    Best regards and thank you in advance
    Johannes

    Hi Neno,
    thank you for your answer.
    There are multiple domains in the forest and the computer / machine accounts are in multiple groups.
    So a trust relationship is not enough to reach the goal. In the ISE you have to add all these groups to the ISE search index in the External Identity Sources - AD settings. Plus you'll have to check for all these groups in the authorization policy (either manually or with a compound condition).
    Is that right?

  • Sync folder to and from Virtual Machine

    i have a folder i would like to sync between my windows 7 virtual machine desktop and my mac desktop. i am imagining that what i add to one and/or delete from one would be added to or deleted from the other. same for organizing the files and folders.
    is this feasible?
    is this something for ChronoSync?
    thanks for any advice or expertise.
    - Jon

    Ask on your virtual machine software makers website how to go about doing this.
    I don't let Windows touch my precious, I use a external USB instead, but I know sharing is possible because VMFusion asked me once and I denied it.

  • Java.exe and java virtual machine

    hello
    i just want to know what is java.exe
    and where is the Virtual machine...
    are both same
    well specify what u know...
    i will really appreciate your knowledge
    thanks

    Yes java.exe is the vitual file implementation from
    sun.sorry ..... virtual machine implementation

  • UnsatisfiedLinkError and Java Virtual Machine error

    Hi,
    I'm trying load a library using the following lines:
    static {
         System.loadLibrary("mtcokus.dll");
    System.out.println("Random generator DLL loaded");
    I'm getting the following error in the console:
    java.lang.UnsatisfiedLinkError: no mtcokus.dll in java.library.path
         at java.lang.ClassLoader.loadLibrary(Unknown Source)
         at java.lang.Runtime.loadLibrary0(Unknown Source)
         at java.lang.System.loadLibrary(Unknown Source)
         at org.knowceans.util.CokusNative.<clinit>(CokusNative.java:34)
         at org.knowceans.lda.LdaEstimate.<clinit>(LdaEstimate.java:69)
    Exception in thread "main"
    Just before displaying the exception above, Java Virtual Machine Launcher DialogBox pops up and says:
    Could not find the main class. Program will exit.
    I checked the path of mtcokus.dll, it's where is must be. What can I do to fix this error?

    {forum:id=210} is the correct forum for your question

  • Load Plan and Java Virtual Machine

    Hi,
    We're think about using ODI 11g Load Plan, but I've got a question about their behaviour.
    Suppose I've got a load plan that launches 2 scenarios in parrallel with standalone agent.
    Will ODI launch 2 Java Virtual Machine "as if we just launch 2 ODI commands (startscen.bat)" or will it use only 1 Virtual Machine ?

    Okay let me try to help you on this.
    Oracle Data Integrator agents process each scenario execution instance as a session. Each session exists in the agent as a separate thread of the agent Java process.
    When a scenario is executed on an agent, the agent creates a session in the repository that corresponds to this scenario's instance. The agent reads each task of this session from the repository, processes it, and writes the result - the return code, message and tasks metrics such as the duration or number of rows processed - into the repository.
    Hence multiple session multiple thread.
    Hope you are clear now.
    Thanks.

  • Microsoft Virtual Machine & No object for moniker error

    Hi all,
    I am trying to access java object from my ASP pages that are running on IIS4.0 i currently have only sun's VM .
    when i try to access the java object from the ASP , i get a
    "No object for moniker error". IIS is not able to find my java classes.
    on doing some research i came to the conclusion that i need a microsoft VM in order to talk to my java classes through ASP.I have installed Microsoft Java SDK4.0, but still have no luck. Do i need to install the microsoft VM even after i installed teh SDk?
    the other issue is will there be conflicts if i have both Sun' JVM and Microsoft JVM on the same machine.
    I will appreciate all solution
    thanks in advance
    Namrata

    Jeez - Found the solution to this. I was having the problem that any Java classes I created and then copied to C:\WINDOWS\java\trustlib were generating the error: "Error Type:(0x800401E5) No object for moniker ". I found that Java classes compiled with the 1.4.x compiler will not work on IIS within an ASP page using the construct: "Set obj = GetObject(java:my_java_class)". When I compiled the exact same code using the javac from 1.3.1 it works! I know of no method of getting Java code that uses methods specific to 1.4.x to work. Luckily the code I was posting to the server doesn't require any of these features. My assumption is that Microsoft is looking at the version of compiler that created the Java class and then throws an error if the compiler is greater than 1.3.x.

Maybe you are looking for

  • How can I share iBooks authored by me using iBook Author on 2 different iPads synced to two different computors? Both iPads have different iTunes accounts.

    I am in the process of authoring an eBook using iBook Author.  The project is a work in progress and I want to share the draft with other collegues.  We each have our own iPads synced with other computers and we have different iTunes acounts.  I atte

  • Manual Depreciation

    Hi , This is with reference to error in  FI-AA At the time of running transaction code ABMA or ABAA for posting manual planned and unplanned depreciation for assets assigned to group asset......following error is appearing: Dep. area is assigned to a

  • Advanced HTTP Receiver Configuration

    Hi Experts, In my Business Scenario I am using the HTTP Receiver Adapter with "Additional Query String Attributes" for adding up the "MessageID" in the HTTP Header(I am not sure whether it will be added there).. and the adapter sends the HTTP data to

  • My ipad sound doesn't work?

    My ipad sound does not work, only when I put head phones in or using FaceTime.. Event if I use my head phone the sound is in and out. It's not locked on silent or anything. It's just not working, not my apps, music or videos. My ipad will just be com

  • SuPM 1.0 Implementation Checklist now on BPX

    Hi all, you can find the checklist here: http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e0ccbbc0-7696-2d10-4293-e385642b1f6e Regards, Frank