JVM versus MVM

hi;
I have an applet that wotk on JVM but it does not work on MVM and raise the following error in the Java consol:
Microsoft (R) VM for Java, 5.0 Release 5.0.0.3810
Error loading class: StoqsApplet
java.lang.NoClassDefFoundError
java.lang.ClassNotFoundException: StoqsApplet
at com/ms/vm/loader/URLClassLoader.loadClass
at com/ms/vm/loader/URLClassLoader.loadClass
at com/ms/applet/AppletPanel.securedClassLoad
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
can any one help me?

I have an applet that wotk on JVM but it does not work on MVM
so there is no problem at all. The Microsoft JVM doesn't exist anymore. See "Java Upgrade Program" or something like that.
Microsoft has stopped the Development and you should now decide if you want to continue develop programs for Java and/or .Net.

Similar Messages

  • URGENT: JVM versus Microsoft VM

    hi,
    we have an application that works with applets. This application is installed locally to the users drive and runs from there. We use the java plugin for this (version 1.4.1).
    Now we're facing the problem that some users already have the Microsoft plugin installed which they need to use for other applications. However, when they install our JVM the other apps no longer work. Furthermore our application doesn't work with the MVM, I think because of one of the following 2 reasons:
    1) the security settings: easy to do with the JVM (change the java.policy) but how in earth do you do it for the MVM?
    2) the fact (is this so?) that MVM uses something like JDK version 1.1
    My question, apart from the two above, is: how can we solve this problem. How can we get our application to work with the MVM or how can you make the other apps work with the MVM and ours with the JVM (can they co-exist)?
    Dollars for anyone who gives me something to work with!
    tx very much,
    Stijn

    Hi
    You can set the security settings for Internet(Zone 3) for MVM by
    modifying the registry key:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3
    For more information on security zones in IExplorer take a look at:
    http://support.microsoft.com/default.aspx?scid=KB;EN-US;q182569&
    The Java Permissions setting (1C00) has the following five possible values (binary):
    Value Setting
    00 00 00 00 Disable Java
    00 00 01 00 High safety
    00 00 02 00 Medium safety
    00 00 03 00 Low safety
    00 00 80 00 Custom
    If Custom is selected, it uses {7839DA25-F5FE-11D0-883B-0080C726DCBB}
    to store the custom information in a binary blob.
    One possible way (for unsigned content or signed content) is to do this manually
    (on your machine)from Tools->Internet Options ... and then
    export the branch (using regedit to a .reg file for example).
    Your installation process will merge the exported key with the registry
    on the user's local machine.
    On my machine (Win2000 Pro) the Zone\3 key .
    with all the java permissions disabled and custom selected looks like this:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3]
    "1C00"=hex:00,00,80,00
    "{7839DA25-F5FE-11D0-883B-0080C726DCBB}"=hex:30,82,01,ca,03,02,00,00,30,82,01,\
    c2,30,81,cc,06,0a,2b,06,01,04,01,82,37,0f,03,01,30,81,bd,06,09,2b,06,01,04,\
    01,82,37,0f,01,31,81,af,30,81,ac,03,01,00,30,81,a6,a0,20,30,1e,06,09,2b,06,\
    01,04,01,82,37,04,04,30,11,01,01,00,30,08,14,06,61,70,70,6c,65,74,30,00,30,\
    00,a0,17,30,15,06,09,2b,06,01,04,01,82,37,04,07,30,08,03,02,00,01,03,02,00,\
    02,a0,11,30,0f,06,09,2b,06,01,04,01,82,37,04,0c,03,02,00,02,a0,21,30,1f,06,\
    09,2b,06,01,04,01,82,37,04,01,30,12,01,01,ff,01,01,00,01,01,00,01,01,00,01,\
    01,00,01,01,00,a0,17,30,15,06,09,2b,06,01,04,01,82,37,04,02,30,08,01,01,00,\
    01,01,ff,30,00,a0,1a,30,18,06,09,2b,06,01,04,01,82,37,04,03,30,0b,01,01,00,\
    01,01,00,02,01,00,14,00,30,81,cc,06,0a,2b,06,01,04,01,82,37,0f,03,02,30,81,\
    bd,06,09,2b,06,01,04,01,82,37,0f,01,31,81,af,30,81,ac,03,01,00,30,81,a6,a0,\
    20,30,1e,06,09,2b,06,01,04,01,82,37,04,04,30,11,01,01,00,30,08,14,06,61,70,\
    70,6c,65,74,30,00,30,00,a0,17,30,15,06,09,2b,06,01,04,01,82,37,04,07,30,08,\
    03,02,00,01,03,02,00,02,a0,11,30,0f,06,09,2b,06,01,04,01,82,37,04,0c,03,02,\
    00,02,a0,21,30,1f,06,09,2b,06,01,04,01,82,37,04,01,30,12,01,01,ff,01,01,00,\
    01,01,00,01,01,00,01,01,00,01,01,00,a0,17,30,15,06,09,2b,06,01,04,01,82,37,\
    04,02,30,08,01,01,00,01,01,ff,30,00,a0,1a,30,18,06,09,2b,06,01,04,01,82,37,\
    04,03,30,0b,01,01,00,01,01,00,02,01,00,14,00,30,22,06,0a,2b,06,01,04,01,82,\
    37,0f,03,03,30,14,06,09,2b,06,01,04,01,82,37,0f,01,31,07,30,05,03,01,00,30,\
    00
    I did 2 exports one with all the permissions (i.e. "Access to All files",
    "Access to all Network Addresses") enabled, the other with all of them disabled.
    By importing the files into the registry I enabled and then disabled all the java permissions.
    Regarding the 'Use Java 2 version for <applet>' checkbox.... If UNCHECKED the mvm will be launched
    for the following html code:
    <APPLET code="Applet-name.class"  width=500 height=500>
         <param name="param1" value="value1"/>
    </APPLET>For:
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = 695 HEIGHT = 525
                   codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">
         <PARAM NAME = "CODE" VALUE = "SimpleApplet">
         <PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
         <PARAM NAME="scriptable" VALUE="false">
         <param name="param1" value="value-for-param1"/>
    </OBJECT>the jvm 1.3 will be called to execute the applet code. If your browser doesn't behave this
    way your registry settings may be messed up.
    Let me know if this solves your problem
    Regards
    BG

  • Applet Caching - JVM and MVM

    Hi,
    I am new to Java and I need to enable caching a java applet archived in a jar/cab file. The caching should work irrespective of whether the User enables the Sun JVM or Microsoft VM in his IE.
    Here is the code I have in my html:-
    <applet width="1" height="1"
         codebase = "/advisor/classessource/"
         code="LauncherApplet.class" name="Launcher"
    MAYSCRIPT VIEWASTEXT id=Applet1>
         <PARAM NAME = CACHE_ARCHIVE VALUE = "classes.jar">
         <PARAM NAME = CACHE_OPTION VALUE = "Plugin" >
         <PARAM NAME='cabbase' VALUE='classes.cab'>
         <param name="ImagArchive" value="0">
    </applet>
    When I enable Sun JVM in IE - I notice the caching works. I'm checking the time stamp Documents and Settings/mylogin/Application Data/Sun/Java/Deployment/cache/javaapi/v1.0/jar
    But when I enable Microsoft VM - The cab file is always getting downloaded into the Local Settings/Temporary Internet Files
    Could you please tell me how do make it cache with MVM enabled?
    Thanks,
    G

    The document you point to explains caching JAR files in 1.3. Can I also cahce GIF files the same way? Does the plug-in caching mechanism work with any file type? If I cache a GIF file, how to I reference that in my code so the Applet uses the cached version instead of the one on the server, or does it implicitly know this?
    Thanks for any insight.

  • Configuration Manager services stoping on regular basis.

    we have installed and configured WebCenter Interaction 10.3 on Windows 2003 (x86) and using JVM 1.5.0_09.
    Running all the component as windows services. Today our Configuration Manager services is stopping on regular basis.
    Error:
    ================================================================================================
    STATUS | wrapper | 2009/08/06 06:14:48 | --> Wrapper Started as Service
    WARN | wrapper | 2009/08/06 06:14:48 | The value of property 'wrapper.java.additional.2', '%JVM_2%' is not a valid argument to the jvm. Skipping.
    WARN | wrapper | 2009/08/06 06:14:48 | The value of property 'wrapper.java.additional.3', '%JVM_3%' is not a valid argument to the jvm. Skipping.
    WARN | wrapper | 2009/08/06 06:14:48 | The value of property 'wrapper.java.additional.4', '%JVM_4%' is not a valid argument to the jvm. Skipping.
    WARN | wrapper | 2009/08/06 06:14:48 | The value of property 'wrapper.java.additional.5', '%JVM_5%' is not a valid argument to the jvm. Skipping.
    WARN | wrapper | 2009/08/06 06:14:48 | The value of property 'wrapper.java.additional.6', '%JVM_6%' is not a valid argument to the jvm. Skipping.
    WARN | wrapper | 2009/08/06 06:14:48 | The value of property 'wrapper.java.additional.7', '%JVM_7%' is not a valid argument to the jvm. Skipping.
    WARN | wrapper | 2009/08/06 06:14:48 | The value of property 'wrapper.java.additional.8', '%JVM_8%' is not a valid argument to the jvm. Skipping.
    WARN | wrapper | 2009/08/06 06:14:48 | The value of property 'wrapper.java.additional.9', '%JVM_9%' is not a valid argument to the jvm. Skipping.
    WARN | wrapper | 2009/08/06 06:14:48 | The value of property 'wrapper.java.additional.10', '%BIT_MODE%' is not a valid argument to the jvm. Skipping.
    STATUS | wrapper | 2009/08/06 06:14:48 | Launching a JVM...
    INFO | jvm 1 | 2009/08/06 06:14:50 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
    INFO | jvm 1 | 2009/08/06 06:14:50 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
    INFO | jvm 1 | 2009/08/06 06:14:50 |
    INFO | jvm 1 | 2009/08/06 06:14:50 |
    INFO | jvm 1 | 2009/08/06 06:14:50 | WARNING - Unable to load the Wrapper's native library 'wrapper.dll'.
    INFO | jvm 1 | 2009/08/06 06:14:50 | The file is located on the path at the following location but
    INFO | jvm 1 | 2009/08/06 06:14:50 | could not be loaded:
    INFO | jvm 1 | 2009/08/06 06:14:50 | C:\bea\alui\configmgr\2.0\bin\..\..\..\common\wrapper\3.2.3\lib\native\win32\wrapper.dll
    INFO | jvm 1 | 2009/08/06 06:14:50 | Please verify that the file is readable by the current user
    INFO | jvm 1 | 2009/08/06 06:14:50 | and that the file has not been corrupted in any way.
    INFO | jvm 1 | 2009/08/06 06:14:50 | One common cause of this problem is running a 32-bit version
    INFO | jvm 1 | 2009/08/06 06:14:50 | of the Wrapper with a 64-bit version of Java, or vica versa.
    INFO | jvm 1 | 2009/08/06 06:14:50 | This is a 64-bit JVM.
    INFO | jvm 1 | 2009/08/06 06:14:50 | Reported cause:
    INFO | jvm 1 | 2009/08/06 06:14:50 | no wrapper in java.library.path
    INFO | jvm 1 | 2009/08/06 06:14:50 | System signals will not be handled correctly.
    INFO | jvm 1 | 2009/08/06 06:14:50 |
    INFO | jvm 1 | 2009/08/06 06:14:50 | OpenLog: verbosity level = 2
    INFO | jvm 1 | 2009/08/06 06:14:50 | bid.bootstrap.loglevel=info+
    INFO | jvm 1 | 2009/08/06 06:14:50 | 8-6-2009     6:14:50.872     Info     OpenKernel.Config     Disabled-1249553690622     WrapperStartStopAppMain     com.plumtree.openkernel.impl.config.providers.ConfigXMLFileProvider     Loading config data from C:\bea\alui\configmgr\2.0\bin\../settings/config
    INFO | jvm 1 | 2009/08/06 06:14:51 | 8-6-2009     6:14:51.419     Info     OpenKernel.Config     Disabled-1249553690622     WrapperStartStopAppMain     com.plumtree.openkernel.impl.config.providers.ConfigXMLFileProvider     Setting subscription data.
    INFO | jvm 1 | 2009/08/06 06:14:51 | container config context:EAS:configurator
    INFO | jvm 1 | 2009/08/06 06:14:51 | OpenLog: Registered application name: ConfigInitialization (local machine only)
    INFO | jvm 1 | 2009/08/06 06:14:51 | OpenLog: Configuration component contained no logging settings. Creating disabled log service.
    INFO | jvm 1 | 2009/08/06 06:14:53 | Aug 6, 2009 6:14:53 AM org.apache.coyote.http11.Http11Protocol init
    INFO | jvm 1 | 2009/08/06 06:14:53 | INFO: Initializing Coyote HTTP/1.1 on http-12345
    INFO | jvm 1 | 2009/08/06 06:14:53 | Aug 6, 2009 6:14:53 AM org.apache.catalina.startup.Catalina load
    INFO | jvm 1 | 2009/08/06 06:14:53 | INFO: Initialization processed in 1157 ms
    INFO | jvm 1 | 2009/08/06 06:14:53 | Aug 6, 2009 6:14:53 AM org.apache.catalina.core.StandardService start
    INFO | jvm 1 | 2009/08/06 06:14:53 | INFO: Starting service cm
    INFO | jvm 1 | 2009/08/06 06:14:53 | Aug 6, 2009 6:14:53 AM org.apache.catalina.core.StandardEngine start
    INFO | jvm 1 | 2009/08/06 06:14:53 | INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
    INFO | jvm 1 | 2009/08/06 06:14:53 | Aug 6, 2009 6:14:53 AM org.apache.catalina.startup.HostConfig deployWAR
    INFO | jvm 1 | 2009/08/06 06:14:53 | INFO: Deploying web application archive cm.war
    INFO | jvm 1 | 2009/08/06 06:14:55 | Aug 6, 2009 6:14:55 AM org.apache.catalina.realm.JAASRealm setContainer
    INFO | jvm 1 | 2009/08/06 06:14:55 | INFO: Set JAAS app name cm
    INFO | jvm 1 | 2009/08/06 06:14:55 | 06 Aug 2009 06:14:55,810 INFO - Reading standard config org/apache/myfaces/resource/standard-faces-config.xml [FacesConfigurator:151]
    INFO | jvm 1 | 2009/08/06 06:14:56 | 06 Aug 2009 06:14:56,200 INFO - Reading config jar:file:/C:/bea/alui/common/container/tomcat/6.0.14/work/cm/localhost/cm/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xml [FacesConfigurator:250]
    INFO | jvm 1 | 2009/08/06 06:14:56 | 06 Aug 2009 06:14:56,200 INFO - Reading config jar:file:/C:/bea/alui/common/container/tomcat/6.0.14/work/cm/localhost/cm/WEB-INF/lib/opencontrols-framework.jar!/META-INF/faces-config.xml [FacesConfigurator:250]
    INFO | jvm 1 | 2009/08/06 06:14:56 | 06 Aug 2009 06:14:56,200 INFO - Reading config jar:file:/C:/bea/alui/common/container/tomcat/6.0.14/work/cm/localhost/cm/WEB-INF/lib/opencontrols.jar!/META-INF/faces-config.xml [FacesConfigurator:250]
    INFO | jvm 1 | 2009/08/06 06:14:56 | 06 Aug 2009 06:14:56,294 INFO - Reading config jar:file:/C:/bea/alui/common/container/tomcat/6.0.14/work/cm/localhost/cm/WEB-INF/lib/tomahawk-1.1.3.jar!/META-INF/faces-config.xml [FacesConfigurator:250]
    INFO | jvm 1 | 2009/08/06 06:14:56 | 06 Aug 2009 06:14:56,294 INFO - Reading config /WEB-INF/faces-config.xml [FacesConfigurator:411]
    INFO | jvm 1 | 2009/08/06 06:14:56 | 06 Aug 2009 06:14:56,341 WARN - Locale name in faces-config.xml null or empty, setting locale to default locale : en_US [LocaleUtils:52]
    INFO | jvm 1 | 2009/08/06 06:14:56 | OpenLog: verbosity level = 2
    INFO | jvm 1 | 2009/08/06 06:14:56 | OpenLog: Registered application name: OpenControls.winapaqlog4
    INFO | jvm 1 | 2009/08/06 06:14:56 | OpenControls.winapaqlog4
    INFO | jvm 1 | 2009/08/06 06:14:57 | 06 Aug 2009 06:14:57,154 WARN - Ignored element 'dispatcher' as child of 'filter-mapping'. [WebXmlParser:347]
    INFO | jvm 1 | 2009/08/06 06:14:57 | 06 Aug 2009 06:14:57,154 WARN - Ignored element 'dispatcher' as child of 'filter-mapping'. [WebXmlParser:347]
    INFO | jvm 1 | 2009/08/06 06:14:57 | 06 Aug 2009 06:14:57,169 INFO - ServletContext 'null' initialized. [StartupServletContextListener:99]
    INFO | jvm 1 | 2009/08/06 06:14:57 | 06 Aug 2009 06:14:57,169 INFO - Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory [StartupServletContextListener:140]
    INFO | jvm 1 | 2009/08/06 06:14:57 | 06 Aug 2009 06:14:57,185 INFO - Root WebApplicationContext: initialization started [ContextLoader:174]
    INFO | jvm 1 | 2009/08/06 06:14:57 | Aug 6, 2009 6:14:57 AM org.apache.catalina.core.ApplicationContext log
    INFO | jvm 1 | 2009/08/06 06:14:57 | INFO: Loading Spring root WebApplicationContext
    INFO | jvm 1 | 2009/08/06 06:14:57 | 06 Aug 2009 06:14:57,263 INFO - JDK 1.4+ collections available [CollectionFactory:76]
    INFO | jvm 1 | 2009/08/06 06:14:57 | 06 Aug 2009 06:14:57,263 INFO - Commons Collections 3.x available [CollectionFactory:80]
    INFO | jvm 1 | 2009/08/06 06:14:57 | 06 Aug 2009 06:14:57,294 INFO - Loading XML bean definitions from ServletContext resource [WEB-INF/applicationContext-acegi-security.xml] [XmlBeanDefinitionReader:347]
    INFO | jvm 1 | 2009/08/06 06:14:57 | 06 Aug 2009 06:14:57,607 INFO - Bean factory for application context [Root WebApplicationContext]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [acegiFilterChainProxy,httpSessionContextIntegrationFilter,securityRequestFilter,exceptionTranslationFilter,filterSecurityInterceptor,authenticationManager,daoAuthenticationProvider,userDetailsService,authenticationBean]; root of BeanFactory hierarchy [XmlWebApplicationContext:100]
    INFO | jvm 1 | 2009/08/06 06:14:57 | 06 Aug 2009 06:14:57,622 INFO - 9 beans defined in application context [Root WebApplicationContext] [XmlWebApplicationContext:322]
    INFO | jvm 1 | 2009/08/06 06:14:57 | 06 Aug 2009 06:14:57,654 INFO - Unable to locate MessageSource with name 'messageSource': using default [[email protected]9d] [XmlWebApplicationContext:473]
    INFO | jvm 1 | 2009/08/06 06:14:57 | 06 Aug 2009 06:14:57,654 INFO - Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@f0f2f1e] [XmlWebApplicationContext:495]
    INFO | jvm 1 | 2009/08/06 06:14:57 | 06 Aug 2009 06:14:57,654 INFO - Unable to locate ThemeSource with name 'themeSource': using default [[email protected]f0fdecd] [UiApplicationContextUtils:83]
    INFO | jvm 1 | 2009/08/06 06:14:57 | 06 Aug 2009 06:14:57,654 INFO - Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [acegiFilterChainProxy,httpSessionContextIntegrationFilter,securityRequestFilter,exceptionTranslationFilter,filterSecurityInterceptor,authenticationManager,daoAuthenticationProvider,userDetailsService,authenticationBean]; root of BeanFactory hierarchy] [DefaultListableBeanFactory:261]
    INFO | jvm 1 | 2009/08/06 06:14:57 | 06 Aug 2009 06:14:57,888 INFO - Validated configuration attributes [AbstractSecurityInterceptor:220]
    INFO | jvm 1 | 2009/08/06 06:14:57 | 06 Aug 2009 06:14:57,888 INFO - Using context class [org.springframework.web.context.support.XmlWebApplicationContext] for root WebApplicationContext [ContextLoader:189]
    INFO | jvm 1 | 2009/08/06 06:14:57 | 06 Aug 2009 06:14:57,888 INFO - Root WebApplicationContext: initialization completed in 703 ms [ContextLoader:199]
    INFO | jvm 1 | 2009/08/06 06:14:57 | 06 Aug 2009 06:14:57,904 INFO - Initializing filter 'RequestContextFilter' [RequestContextFilter:152]
    INFO | jvm 1 | 2009/08/06 06:14:57 | 06 Aug 2009 06:14:57,904 INFO - Filter 'RequestContextFilter' configured successfully [RequestContextFilter:177]
    INFO | jvm 1 | 2009/08/06 06:14:58 | Aug 6, 2009 6:14:57 AM org.apache.catalina.startup.HostConfig deployWAR
    INFO | jvm 1 | 2009/08/06 06:14:58 | INFO: Deploying web application archive ROOT.war
    INFO | jvm 1 | 2009/08/06 06:14:58 | Aug 6, 2009 6:14:58 AM org.apache.coyote.http11.Http11Protocol start
    INFO | jvm 1 | 2009/08/06 06:14:58 | INFO: Starting Coyote HTTP/1.1 on http-12345
    INFO | jvm 1 | 2009/08/06 06:14:58 | Aug 6, 2009 6:14:58 AM org.apache.catalina.startup.Catalina start
    INFO | jvm 1 | 2009/08/06 06:14:58 | INFO: Server startup in 4531 ms
    INFO | wrapper | 2009/08/06 07:10:02 | User logged out. Ignored.
    INFO | wrapper | 2009/08/06 07:10:03 | User logged out. Ignored.
    INFO | jvm 1 | 2009/08/06 07:10:04 | OpenLog: verbosity level = 2
    INFO | jvm 1 | 2009/08/06 07:10:04 | bid.bootstrap.loglevel=info+
    INFO | jvm 1 | 2009/08/06 07:10:04 | 06 Aug 2009 07:10:04,279 INFO - Closing application context [Root WebApplicationContext] [XmlWebApplicationContext:599]
    INFO | jvm 1 | 2009/08/06 07:10:04 | 06 Aug 2009 07:10:04,279 INFO - Destroying singletons in {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [acegiFilterChainProxy,httpSessionContextIntegrationFilter,securityRequestFilter,exceptionTranslationFilter,filterSecurityInterceptor,authenticationManager,daoAuthenticationProvider,userDetailsService,authenticationBean]; root of BeanFactory hierarchy} [DefaultListableBeanFactory:272]
    INFO | jvm 1 | 2009/08/06 07:10:04 | 8-6-2009     7:10:04.279     Info     OpenKernel.Config     Disabled-1249557004060     Wrapper-Shutdown-Hook     com.plumtree.openkernel.impl.config.providers.ConfigXMLFileProvider     Loading config data from C:\bea\alui\configmgr\2.0\bin\../settings/config
    INFO | jvm 1 | 2009/08/06 07:10:04 | OpenControls.winapaqlog4
    INFO | jvm 1 | 2009/08/06 07:10:04 | INFO: PmbApplication.run() exiting forcefully... Releasing one worker thread.
    INFO | jvm 1 | 2009/08/06 07:10:04 | 8-6-2009     7:10:04.810     Info     OpenKernel.Config     Disabled-1249557004060     Wrapper-Shutdown-Hook     com.plumtree.openkernel.impl.config.providers.ConfigXMLFileProvider     Setting subscription data.
    INFO | jvm 1 | 2009/08/06 07:10:04 | container config context:EAS:configurator
    INFO | jvm 1 | 2009/08/06 07:10:04 | OpenLog: Registered application name: ConfigInitialization (local machine only)
    INFO | jvm 1 | 2009/08/06 07:10:04 | OpenLog: Configuration component contained no logging settings. Creating disabled log service.
    STATUS | wrapper | 2009/08/06 07:10:06 | <-- Wrapper Stopped
    ============================================================================
    When we are starting , it stays for couple of mins say 10/15 mins then it stops.
    Can any body have any idea what should i do to get it resolved.

    The logs look odd to say the least on start up and there are couple items when the service gets the signal to shutdown that are suspicious.
    My suggestion is to troubleshoot top down. Clean up the discrepant messages upon startup.
    message : INFO
    Please verify that the file is readable by the current user
    and that the file has not been corrupted in any way.
    One common cause of this problem is running a 32-bit version
    of the Wrapper with a 64-bit version of Java, or vica versa.
    This is a 64-bit JVM.
    Are you attempting change the existing out of box JVM?
    You know it doesn't use sun jvm anymore. It's JROCKIT.
    Make sure your JVM Settings are as follows:
    C:\bea\alui\configmgr\2.0\settings\config\wrapper_base.conf
    # Java Application
    wrapper.java.command=%JRE_PATH%/bin/java
    THEN Verify:
    CMD
    cd C:\bea\alui\common\jre\1.5.0_32\
    java -versionYou should get something like.
    java version "1.5.0_12"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
    BEA JRockit(R) (build R27.4.0-90-89592-1.5.0_12-20070928-1715-windows-ia32, comp
    iled mode)
    In any case, your enviroment seems funky. Use the tips above to troubleshoot.
    Troubleshoot this error first and find out why it thinks your using a 64 bit JVM versus a 32 bit one.
    Last tip: Place Logging into Debug to see whether more logging will give you further insight into the problem.
    Hope this helps!
    Cheers!!!

  • Excesive CPU usage - java process OBI related

    Hola a todos,
    We have installed OBIEE 11.1.1.5 in a virtual machine (a clean one, just DB and OBI) and since a few weeks we've noticed perfomance issues. There is a java.exe process running with 30 - 50% CPU usage and if we stop it, OBIEE stops working as well, so we think it may be related, but we dont have any further clues.
    Has anybody dealt with something liket his before or does anyone know if there's a log where we could check this?
    Thanks in advance.

    Tuning
    Whether its a 64 bit or 32 bit of SUN or Jrocket ,
    Please increase the heap size parameters to Xms & Xmx to atleast2048 (min and max to atleast) 2GB
    Below were the comments from Oracle Support
    Best Practices Guide for Tuning Oracle® Business Intelligence Enterprise Edition
    In JRockit JVM (R28), the heap grows faster than before. The JVM also ensures that the heap size grows up to the maximum Java heap size (-Xmx) before an OutOfMemory error is thrown. In addition, the default value of the -Xmx option is changed from 1 GB to 3 GB on 64-bit OS. Note the JRockit JVM auto shrinks the heap if it is unused or if other applications require more physical memory.
    Note: It is recommended to use the default garbage collection mode i.e. -Xgc:throughput. Also
    large heap reduces the garbage collection frequency and fragmentation, improving the throughput
    of the application; however, a large heap increases the memory footprint of the Java process.
    *Warning: Make sure you have enough physical memory allocated / available on 64bit servers and then use the above settings as a starting point, and after load testing, adjust as needed. For a stable / an even performance over time, you should set the initial heap size (- Xms) to the same value as the maximum heap size (-Xmx).
    Common JRockit JVM issues seen with BI (i.e. bi_server1) managed
    servers:
    Startup Times Take Longer When Using JRockit JVM Versus Sun JVM: The Oracle® JRockit JVM is by default optimized for server use, which means that the startup times can be longer in favor of high performance as soon as the application is up and running. Moreover, as the application runs, the JRockit JVM optimizes frequently called methods, improving the performance further.
    When you run the JRockit JVM on a 64-bit system with a heap size less than 4 GB, if native OutOfMemory errors occurs despite memory being available only then add the parameter -XXcompressedRefs:size=32GB in JVM startup options to enable heap to grow up to 32 GB heap (practical limit of 25 GB). This will fix the issue native OutOfMemory errors. Moreover heap size still be restricted till the limits defined using -Xmx only benefit would be your heap will get the capability to grow beyond 4 GB up to 25 GB due to increase in size of pointer to
    32 bit address.
    On Oracle Solaris SPARC, due to the way classblock memory is reserved,Oracle® JRockit (R28) might occasionally run out of memory when a large number of classes are loaded (in the order of 100000).Workaround: The default value of -XX:MaxClassBlockMemory=50 MB, and a reasonable value is around 75 MB.
    By design Oracle® JRockit will often use more memory than Sun JVM because JRockit compiles everything and is optimized for being a server-side JVM. So if
    your customer have limited resources (i.e. CPU, memory) then it is recommended to experiment with switching to the Sun JVM which should save some system resources, but customer really should consider to do a performance tuning and sizing exercise, and determine if they have sufficient memory / CPU’s to support their requirements.
    It is important to keep Oracle® JRockit R28.1.x up to date with latest fix release because the latest release provide fixes for security vulnerabilities, performance,
    and other improvements of the Oracle® JRockit R28.1.x
    Tuning 64bit Sun JVM
    suggested
    Minimum heap -Xms2048m Maximum heap -Xmx2048m
    Minimum permanent generation heap -XX:PermSize=512m Maximum permanent generation heap -XX:MaxPermSize=512m
    I'm not sure from where I've copied but save the same in text file.
    This may help you.
    Or check this (since you pointed to java.exe) http://docs.oracle.com/cd/E18930_01/html/821-2431/abeic.html
    Edited by: veeravalli on Oct 25, 2012 7:38 AM

  • Applet: MVM and JVM

    I have an applet which works wonderfully well when i use the java plugin.
    i compiled it using this:
    [code javac -target 1.1 PreviewApplet.java[/code]
    it works properly when i use my java plugin, but when i disable it and use the microsoft VM which comes with Internet Explorer (as most of my customers will be doing)
    my applet is a grey box with nothing on it, and in the status bar i get the message:
    load: class PreviewApplet not found.
    how can that be? the applet tag is the same for both the MVM and the JVM. or should it be different? im terribly confused as i thought that by compiling for JDK1.1 it would work (my applet doesnt use anything fancy that i need 1.4 stuff)
    and there is no red X or a coffee cup symbol on the grey box (the applet) so i have no idea what to do.
    can you help?

    There is something in the applet that the old MSJVM is not capable of handling. IIRC, the MSJVM console can be opened from the IE View menu. Hopefully that will tell you something useful.
    Much of the time using the -target 1.1 option will allow the applet to run - but sometimes it won't. There are still 2 other differences left unaccounted for.
    First, the classes that you used to compile with are a later version, and can cause a runtime error. You can eliminate this problem by using -bootclasspath and -extdirs to cause compilation to be done against the old classes (which need to be on your machine.) Note that there's also a -Xbootclasspath option for the java command - though if that's needed, it would have to be on the machine that's running the applet.
    Second, there may still be diferences between the Sun 1.1 VM and the MS 1.1 VM (after all, that's what the argument was about!) that will not allow the applet to run.
    Take a look at the javac and java command documentation for the options that are available. You can probably find some additional help at the Sun Upgrade pages:
    http://java.sun.com/upgrade/index.html

  • SAP JVM 5.1 / SAP JVM 6.1 - versus SUN

    With WAS 7.1 / 7.2, per PAM the only supported JVM's are SAP JVM 5.1 / SAP JVM 6.1.  Specifically that means, SUN, IBM and HP are no longer supported.   Question: Where can I find details on SAP JVM 5.1 / SAP JVM 6.1?  I assume those are essentially SUN SDK 1.5/1.6 with SAP's own implementation around; is that correct?

    Hi,
    use this: https://cw.sdn.sap.com/cw/docs/DOC-106773
    as your start for exploring the SAP JVM.
    To my knowledge, the SAP JVM is 100% Java standard compliant but offers a better (long-term) support compared to other vendors. After all, the SUN Java entered end of maintenance from SUN some years ago and the version for SAP is now the -b, business version of the JDK 1.4.
    Should be interessting to know if the SAP JVM is the same for all OS supported (like: AIX, HPUX, Linux, Windows, etc), in terms of performance, bugs (?) and parameters.
    br,
    Tobias

  • JVM Loads Class fine-- MVM says classNotFoundError

    I have written a simple applet for use on my personal web site. When using the JVM the class loads fine, but the Microsoft VM won't load the class and when I check the console I find the classNotFoundError. Can anyone tell me why? (not just that M sucks)

    Thanks so much for your attention to my little dilemma. here is the applet and HTML:
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    public class ImgView extends java.applet.Applet {
    public Image imgList[];
    public Image imgChoice;
    private Button btnNext, btnPrev;
    private String loc;
    private int totImgs;
    private int imgIndex;
    public void init() {
    setBackground(Color.black);
    String temp = getParameter("nimgs");
    totImgs = Integer.valueOf(temp).intValue();
    imgIndex = totImgs - 1;
    imgList = new Image[totImgs];
    for (int i = 0; i < totImgs; ++i) {
    imgList[i] = getImage(getDocumentBase(), "G" + i + ".jpg");
    imgChoice = imgList[imgIndex];
    Panel p = new Panel(new FlowLayout(FlowLayout.LEFT));
    p.add(btnPrev = new Button("Prev Image"));
    btnPrev.addActionListener(
    new ActionListener() {
         public void actionPerformed(ActionEvent ae) {
         if (imgIndex == totImgs - 1) {
         imgIndex = 0;
         imgChoice = imgList[imgIndex];
         else {
         imgIndex++;
         imgChoice = imgList[imgIndex];
         repaint();
    p.add(btnNext = new Button("Next Image"));
    btnNext.addActionListener(
         new ActionListener() {
         public void actionPerformed(ActionEvent ae) {
         if (imgIndex == 0) {
         imgIndex = totImgs - 1;
         imgChoice = imgList[imgIndex];
         else {
         imgIndex--;
         imgChoice = imgList[imgIndex];
         repaint();
    add(p);
    public void paint(Graphics g) {
    g.clearRect(0,0,500,400);
    g.drawImage(imgChoice, 40, 45, this);          
    and the HTML:
    <td width=500 background="appGrfx/appbgcolor.jpg">
    <applet code="ImgView.class" width=500 height=400>
    alt="Your browser can not display this Applet."
    <param name=nimgs value="4">
    Your browser can not recognize Applets.
    </applet>
    </td>
    Thanks again for any advice!

  • JNI Versus MQ Series

    For one of our projects I am given a task of integrating with EJB for data access from a C++ client. Since I couldnt use corba i have two options available JNI / IBM MQ. Since I am new to the Java world I hoping you gurus could solve my dilemma with JNI and MQ.
    Has anyone used JNI for accessing beans for data access. there will be atleast 10000 calls made per hour and the amount of data is not that big. What would a Java Architect do given the oppurtunity of using MQ versus JNI.
    I heard anecdotes saying JNI is complex and JVM will take time to load and so on.. My initial code for access a java class is "manageable" and I load JVM once in the beginning. I wondering which is faster and reliable.
    Any comments much appreciated..

    You said:
    So in my c++ class I load the JVM once in the beginning, load a java proxy class that will pre
    load classes and execute methods for the C++ server. Clients requesting data will tell me which >>class to ask for and I execute methods on that class. The data is returned to me as an xml
    string. Please explain "clients". Who are your clients? Is there such a C++ code already in place??? And some existing client? Who accesses your C++ code, and how?
    Also, please explain C++ server. In what sense is it a server?
    If there is none at the moment, I think you are making things a bit too complex.
    If your clients are instances of servlet (JSP) invokation:
    There is at least one JVM in which all servlets run.
    In one of your Beans, or servlets, you declare native methods to do the data fetching stuff.
    You also have instances of classes that do the XML generation.
    If you first need to call the native methods which will do the data fetch for you, and return data to your Java side code as a string, array or of strings, vector of strings or in some data structure.
    (RecordSet???)
    And then on this data, you use one of your "XML generating class" object to generate XML.
    Return this XML data to your clients, which I guess would be other Servlets or JSPs.
    Once you have the basic structure in place, people here can help you with deeper problems like threads, performance etc.
    Since each servlet/ JSP runs in a different thread, you can make your calls to native code thread safe my keeping most of your stuff in the native function scope. Global variable should be placed in critical sections.
    I hope I made some sense.
    Please update me with whatever advances you make. I intend to learn a lot from these forums.
    cheers
    [email protected]

  • Application using JVM with IE embedded within it using its own JVM

    I am developing on an application that uses JVM to run. Within this application an IE browser is being called. Subsequently IE browser is trying to run an applet which is trying to open another jvm.
    It appears the version of Java I am using does not allow this. I believe this is fixed in a later release of java but don't know which one.
    I must have tried about 5 or 6 different versions of java and each time either getting an ASDAS error or a registry HKEY_LOCAL_MACHINE error.
    Any help would be appreciated.
    Thanks

    I am developing on an application that uses JVM to
    run. Within this application an IE browser is being
    called. Subsequently IE browser is trying to run an
    applet which is trying to open another jvm.
    It appears the version of Java I am using does not
    allow this. I believe this is fixed in a later
    release of java but don't know which one.
    I must have tried about 5 or 6 different versions of
    java and each time either getting an ASDAS error or a
    registry HKEY_LOCAL_MACHINE error.
    Huh?
    How exactly are you embedding IE into your app?
    Normally IE is a seperate process and in that case nothing that your original JVM is doing will have any impact on that.
    Of course the environment space that the spawned IE is being run with could very well impact it.
    Of course if you are actually embedding it in your app versus spinning up another process then that would not apply. But off hand I can't ever recall seeing an article that suggested IE could be embedded in another application.
    And what do you mean the applet is trying to run a jvm?
    An applet runs in a JVM. The only way an applet (or just a java app) can run a jvm is by using Runtime.exec() or via JNI. Is that what you are doing?

  • Message mapping : UDF parameter string type versus default UTF-8 encoding

    Hi,
    I'm facing an issue with character encoding when using an UDF to transform into base64 encoding.
    While thinking about the subject, I'm not 100% sure if it's possible to get it to work corerctly :
    Given :
    -The input XML is encoded UTF-8 ( with a special characeter )
    -The UDF is generated with java parameter type 'string' ( = set of 16bit unicode characters )
    Doubts :
    -What is supposed to happen when a node content ( of message encoded in UTF-8 ) is used as input for the UDF string type parameter  ? Is the node content decoded/encoded correctly by PI automatically ( at input/output versus the internal 16bit unicode character string ) ?
    ( I would assume yes )
    -Is the default charset of the underlying JVM relevant ? Or does pi always use explicit charsets when encoding/decoding ?
    ( I would assume it's not relevant )
    The UDF java code considers the string as a array of chars while processing them. It uses methods .length and .charat on the input string.
    The result is that I have a ISO-8859 encoded string ! ( after decoding it back from the base64 ) 
    What could cause this ?
    regards
    Dirk
    PS If I simply use default functions ( concat etc..) then the resulting xml stays correctly encoded...

    Hi,
    But that would mean that an UTF-8 encoded byte array would be passed unconverted to the UTF-16 unicode string parameter ?
    Shouldn't that trigger an exception ?
    I'm going to make some tests and see if it enlights my knowledge ( empirical )
    Keep you updated,
    thanks
    dirk

  • OC4J Versus 9ias

    With all the fuss over OC4J, what is the strategic importance of using OC4J versus deploying your application on 9ias? Is there something proprietory within 9ias that would be a dis-incentive? A response from would be greatly appreciated. When it seemed ORACLE had something stable they suddenly seemed to have created a whole lot of confusion!!
    Rajendra V Auradkar
    Software Architect
    [email protected]

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Rajendra Auradkar ([email protected]):
    I am sure that OC4J has great features. Is there a structured treatment on what these features are and how to use them?
    Thanks,
    Rajendra V Auradkar<HR></BLOCKQUOTE>
    Rajendra,
    Before OC4J, we had the Oracle JVM running inside the database. This meant that users had to install a database to run J2EE applications. Though there were some benefits of running J2EE applications with Oracle JVM, there were some usability issues
    and our customers gave us feedback that they did not like to idea of installing a database ( in the middle tier) to run J2EE applications. To address these and other concerns OC4J was launched about 6 week back.
    Oracle JVM will continued to be enriched to run Java stored procedures and server -side JDBC and SQLJ. For your J2EE needs, please use OC4J. It is easy to use and very fast as another person on this thread mentioned.
    For more technical info including examples and white papers check out http://technet.oracle.com/tech/java/oc4j/content.html

  • Supported Server JVM

    At the following location BEA is telling which JVM version is supported for a given
    Version of WLS (WLS 7.0 SP4):
    http://e-docs.bea.com/wls/certifications/certs_700/sun_solaris9.html#sp4
    I would like to know what this comment means:
    WebLogic 7.0 SP4 was certified with SunSoft SDK 1.3.1_08 and will support any
    service pack of SunSoft SDK 1.3.1 higher than SDK 1.3.1_08.
    Does it means that for example SDK 1.3.1_09 is supported, or do I miss anderstand
    this comment?
    Thanks for any hints

    Below is the edocs link which has information on JRockit JDK
    http://edocs.bea.com/jrockit/webdocs/interm/pdf.html
    Below Link has some useful information on 32-bit vs 64-bit JDK.
    http://benjchristensen.wordpress.com/2007/02/16/32-bit-versus-64-bit-jdk-memory-usage/
    Hope this helps.
    - - Tarun

  • JVM CPU USAGE

    I am working on load tests for c to jni to java. While doing these tests, it appears as if the first or initial instantiation of a class hits the jvm the hardest & uses any where from 25 % to 15 % of the cpu. This number eventually goes down, dropping to around 8.7% in the first few seconds then slowing dropping to .6 after 2 minutes. It takes ruffly 45 minutes for it to drop to 0.0 & stay there. Subsequent hits do not appear to affect this number greatly once it has leveled out, so after the initial hit, we are good to go.
    The issue is that we have 300 users on unix. Approximately 2/3 of those users will login approximately the same time. I can drop the number to .8 if I delay 60 seconds prior to instantiating the first class. Is there anyway to get around this issue. Are there some settings in the jvm that I could utilize to drop this number? I have searched the internet & not found anything useful. Is this just typical of the jvm? Any help or insights would be greatly appreciated!
    Thanks, Janet.

    I am working on load tests for c to jni to java.
    While doing these tests, it appears as if the first
    or initial instantiation of a class hits the jvm the
    hardest & uses any where from 25 % to 15 % of theDo you mean that you've observed that the initial instantiation of any class takes more time than the subsequent ones? It might be class load (in many cases, a class would be loaded when a first instance of this class is created). Or if you include in "instantiation" the execution of the constructor code, and for some classes constructors are large enough, then what you see may be initial interpreted execution of the constructor (maybe combined with class loading), that takes much time. Then this constructor and/or the code it calls gets compiled into machine code, which reduces execution time.
    BTW, how (which tool/method) do you measure that class instantiation uses 25% of CPU time? Percentage of CPU time seems like not the most appropriate metrics for such a (normally short) event.
    cpu. This number eventually goes down, dropping to
    around 8.7% in the first few seconds then slowing
    dropping to .6 after 2 minutes. It takes ruffly 45
    minutes for it to drop to 0.0 & stay there.
    Subsequent hits do not appear to affect this number
    greatly once it has leveled out, so after the initial
    hit, we are good to go.
    The issue is that we have 300 users on unix.
    Approximately 2/3 of those users will login
    approximately the same time. I can drop the number^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    Each starting his/her own JVM or what? Why long first instantiation time affects each of them, not just the first one?
    to .8 if I delay 60 seconds prior to instantiating
    the first class. Is there anyway to get around this
    issue. Are there some settings in the jvm that IIf you have multiple JVMs indeed, an ideal solution would be a "multitasking JVM" like the experimental one called MVM, once developed at Sun, but still not productized after a few years. It works as kind of a Java-level OS, capable of starting multiple applications, well isolated from each other, within a single JVM. Otherwise, I can only suggest to look at your code and check why this instantiation takes that much time, and how the code can be improved. Perhaps some things can be delayed or done later on demand, etc.
    could utilize to drop this number? I have searched
    the internet & not found anything useful. Is this
    just typical of the jvm? Any help or insights would
    be greatly appreciated!
    Thanks, Janet.

  • Client jvm.dll vs server jvm.dll

    I recently had to work on an legacy application which led me dig into jvm.dll things but could not find something concrete.
    From my research, i know
    client jvm.dll- comes with JRE, for lighter apps.
    server jvm.dll-comes with JDk and more optimized implementation of jvm.
    But-
    why jdk/jre for 64-bit doesnt contain client jvm.dll (only server.dll)??
    jdk/jre for 32 bit contains client jvm.dll.
    Our app (which is actually a windows service written by some unknown team) didnt run with server jvm.dll and after struggling a lot, we realized it requires client jvm.dll
    which led us to download 32 bit jdk.
    That app/wondows service was created using apache commons daemon on jdk 4.

    user5873044 wrote:
    ...didnt run with server jvm.dll That either means that
    1. It threw an exception - which would tell you something.
    2. It crashed.
    3. You had some 'criteria' which was not met for one of them.
    Additionally it might have been one of the above but you don't know what caused the problem.
    It would be helpful and interesting to know which it was.
    (which is actually a windows service written by some unknown team)Which suggests one possible failure in that they used jni and were explicitly loading one dll versus the other.
    why jdk/jre for 64-bit doesnt contain client jvm.dll (only server.dll)??Possibly because when they first put together the 64 bit VMs the only machines that ran 64 bits were server class machines.

Maybe you are looking for