May 102012
 Posted by on May 10, 2012 at 7:29 am Application Servers, Java App Servers, Oracle/BEA WebLogic Tagged with:  Add comments

Env Details:
Machine A – No Weblogic Installed – Used as client to access webservice.
Machine B – Weblogic Installed and Working – Acts as a server, Serving the webservice

When we run a Java Process on Machine A trying to call a web service on Machine B (Weblogic 9). Machine B acts as a server which provide services to clients. Machine B weblogic server by itself is working fine.

Intermittently getting the following error message on Machine A while accessing the web service on Machine B:-

java.lang.RuntimeException: Missing license file for: WebLogic Platform 9
at com.bea.sslplus.WeblogicHandler.checkLicense(Unknown Source)
at<init>(Unknown Source)
at weblogic.webservice.client.BaseWLSSLAdapter.getContext(
at weblogic.webservice.client.BaseWLSSLAdapter.setTrustManager(
at weblogic.webservice.client.BaseWLSSLAdapter._setStrictChecking(
at weblogic.webservice.client.WLSSLAdapter.setStrictChecking(
at weblogic.webservice.client.WLSSLAdapter.<init>(
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
at java.lang.reflect.Constructor.newInstance(
at java.lang.Class.newInstance0(
at java.lang.Class.newInstance(
at weblogic.webservice.client.SSLAdapterFactory.createSSLAdapter(
at weblogic.webservice.client.SSLAdapterFactory.getSSLAdapter(
at weblogic.webservice.WebServiceFactory.createFromWSDL(
at weblogic.webservice.WebServiceFactory.createFromWSDL(
at weblogic.webservice.core.rpc.ServiceImpl.getWebService(
at weblogic.webservice.core.rpc.ServiceFactoryImpl.createService(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(

To Solve above error follow below steps:

Copy the BEA license file to the client? You have to copy the BEA license file to the client(B to A) when using SSL from the client to the server.

You must have it on the client if you are remotely calling an EJB over SSL:

The workaround is simply to copy the dev license that is installed by default(or the license used by your server) to the client and set the bea.home system property to point to the directory where you put the license file.
java -Dbea.home=c:\bea…

For more info please check below doc:


© Incase of any copyright infringements please check copyrights page for faster resolutions.

Leave a Reply

Show Buttons
Hide Buttons