Tuesday 28 June 2011

JInitiator 1.3.1.22 crashing on IE 7 and later

After you've loaded the forms URL (i.e. http://<hostname>/forms/frmservlet?config=<config_name>) and installed JInitiator  you have to replace the jvm.dll file in the hotspot directory of the JInitiator installation with the Java Client Plugin's jvm.dll file. For example I've copied a 'jvm.dll' file from my Java\jre1.5.0_22\bin\client directory and pasted that into my JInitiator's hotspot folder (JInitiator 1.3.1.22\bin\hotspot).

That solves it and on the next load of the forms URL (i.e. http://<hostname>/forms/frmservlet?config=<config_name>)  it will load the forms applet successfully.

Friday 3 June 2011

JDeveloper 11.1.1.5 Integrated Weblogic JDKLog4J error

Problem:

After you have changed the logging implementation of your Integrated Weblogic to be Log4J (for whatever good reason), you might see the following exception get thrown on startup: 

<2011/06/03 16:10:35> <Error> <Log Management> <BEA-170022> <Log4j failed to initialize for DefaultServer. The default JDK Logging implementation will be used.
java.lang.ClassNotFoundException: weblogic.logging.log4j.JDKLog4jAdapterFactory

 Solution:

Put the following JARs in your DefaultDomain's lib folder:                                    (<user_home>/JDeveloper/system11.1.1.5.37.60.13/DefaultDomain/lib)  

wllog4j.jar [fetch it from Weblogic's server/lib/ directory]

com.bea.core.apache.log4j_1.2.13.jar [fetch it from JDEV's Middleware/modules/ directory]

Now the Log4J instance of the Integrated Weblogic initialize properly.