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
[737 byte] By [
npalicha] at [2007-9-26 12:42:31]

I too would like to know what it is that Explorer is missing when t looks for applet processes...further it occasional has an application asking to install JVM. Is Gates so bent out of sha by Java that the mere mention of the word by a call process causes a glitch? If you can't make MVM behave like JVM, why not surrender? Any ideas? I have apps that will not run on IE6 on account of not being able to peg the VM?
I too would like to know what it is that Explorer is missing when t looks for applet processes...further it occasional has an application asking to install JVM. Is Gates so bent out of sha by Java that the mere mention of the word by a call process causes a glitch? If you can't make MVM behave like JVM, why not surrender? Any ideas? I have apps that will not run on IE6 on account of not being able to peg the VM?
I too would like to know what it is that Explorer is missing when it looks for applet processes...further it occasionally has an application asking to install JVM. Is Gates so bent out of shape by Java that the mere mention of the word by a call process causes a glitch? If you can't make MVM behave like JVM, why not surrender? Any ideas? I have apps that will not run on IE6 on account of not being able to peg the VM?
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.
I want to ask mwood40
I saw that you said to use version 1.3.1 to fix the No object for moniker error message.
What version of the jdk did you use to compile with?
What version of the jre are you using.
I tried using your fix by downloading jdk1.3.1_09 and it's corresponding jre.
I still get the error
(0x800401E5)
No object for moniker
I am using Windows 2000 with IIS. I rebooted and have stopped and restarted the IIS and PWS servers.
My code is a simple HelloWorld example.
Previously I was using j2sdk-1_4_2.
Do I need to reinstall a vm from Microsoft?
I had the same error "No object for moniker". Resolved it by reading this thread. I placed all of the compiled .class files in my /WINNT/java/trustlib. Seems to work now! Thanks,joe
i m getting error " No object for moniker " on following lineset oEncryptionLib = GetObject("java:com.opus.epg.sfa.java.EPGMerchantEncryptionLib") from which place i have to download .can u help me , i m waiting for ur reply.
i have error in asp code trying to call java class library at line
set oEncryptionLib = GetObject("java:com.opus.epg.sfa.java.EPGMerchantEncryptionLib")
throwing an invalid syntax error: (0x800401E4)
does any one have any idea to resolve this error.
is my mvm for java not getting the java class files?
HELP...... ITS URGENT.
Have you solved this problem. I was having no problem when using windows xp with iis, But when i uploaded it to the site, i am getting the same error as you, The site has actually windows 2003 + iis server
http://www.filemirrors.com/search.src?file=msjavx86.exe&size=5473872
JRE support needs to be added in Windows 2003 so that ASP SFA library can be used to send transactions to Payment Gateway. Install the version of JRE 1.4 (mjavax86.exe) Microsoft Virtual Machine & follow same steps as ASP Installation for Windows 2000.
This is the solution i found.
but i still didnt succeed.so , please help me.
sincierely
I dont think there will be any conflicts if you have both JVM and Microsoft Virtual Machine for Java. You need Microsoft Virtual Machine for Java when you want to run applications like ASP on IIS , install Visual Studio on Windows XP etc.
Ya, it is running on my local machine.As I installed the MSjax86.exe on my local machine and followed through the process.
Ya, it is running on my local machine.As I installed the MSjavx86.exe on my local machine and followed through the process.