Webstart unable to find the Bea licence file
843802Jun 1 2007 — edited Jun 15 2007Hi All,
We are using an web application with weblogic server and webstart. We are currently trying to convert the application from T3 to T3s protocol. For this we require the license.bea file to be set in the client side class path.
When i place this license.bea in the download directory of the webstart (where all signed the jar's and .jnlp file is downloaded) and launch the .jnlp file,it works.But when the .jnlp file is called throug the application it fails to locate the license file. error message:
<<Missing license file for: WebLogic Platform 8.1>>
The .jnlp file is as below :
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="http://dbnexus.int.risk.db.com:80/webstart/" href="launch.jnlp" spec="1.0+">
<information>
<vendor>GRT</vendor>
<homepage href="index.html"/>
<description kind="short">Client for dbNexus reference data management system</description>
<description kind="one-line">dbNexus client</description>
<description kind="tooltip">dbNexus client</description>
<title>dbNexus Client ( INT )</title>
</information>
<security>
<all-permissions/>
</security>
<property name="bea.home" value=".\"/>
<property name="weblogic.security.SSL.ignoreHostnameVerification" value="true"/>
<property name="weblogic.security.SSL.trustedCAKeyStore" value=".\DAPTrust.jks"/>
<property name="weblogic.security.SSL.trustedCAKeyStorePassPhrase" value="trustpassword"/>
<resources>
<j2se initial-heap-size="512M" max-heap-size="1024M" version="1.4+"/>
<jar download="eager" href="dbnApplet.jar"/>
<jar download="eager" href="xmlParserAPIs.jar"/>
<jar download="eager" href="xercesImpl.jar"/>
<jar download="eager" href="log4j-1.2.3.jar"/>
<jar download="eager" href="utils.jar"/>
<jar download="eager" href="weblogic.jar"/>
<jar download="eager" href="dbnexus-ejb-compiled.jar"/>
<jar download="eager" href="wlcipher.jar"/>
</resources>
<application-desc main-class="dbnexus.client.applet.appletwrapper.MainFrame">
<argument>http://dbnexus.int.risk.db.com:80/webstart//dbnexus.properties</argument>
</application-desc>
</jnlp>
In the above code i have specified the Bea.home as .\ so that it picks up the license from the same directory. We do not want to place the file at other place and hard code the path in the code as the path might differ in different systems where the application will be downloaded.
Is there any way by which we can achive the above. Is it possible to place the .bea file inside any jar and access it from the same. Please advice.
Thaks in advance....
Regards,
Ravi