PDA

View Full Version : Error -510 :: Server's Feature Doesn't Authenticate On Client Side



krish_indus
11-14-2006, 07:24 AM
Hi ,

While connecting the client to the License server to checkout the License, i encountered the error -510(Server's Feature Doesn't Authenticate On Client Side).
The server is running on the Windows platform. I looked in to the docs available but they don't have any clue of why this is happening and how to solve this. :confused:

Please help me in overcoming this problem. Any help would be greatly appreciated.

Thanks,
Krish.

drrushi
11-28-2006, 03:23 PM
This generally occurs when the vendor has issued a new license file which is built with a different encryption. Contact the vendor for this incident. It could also be that you might be pointing to the wrong server :) . If this is a Java application, there used to be a bug in the past which was fixed in v9.5

rixus1
04-25-2007, 03:32 AM
I encountered same problem when trying to call checkout() from stateful ejb bean, deployed in Bea Weblogic Server 9.1.

Error message:

Exception in thread "main" com.macrovision.flexlm.FlexlmException: Server's Feature Doesn't Authenticate On Client Side (-510,3046)
at com.macrovision.flexlm.licsource.LicenseServer.checkoutOK(Unknown Source)
at com.macrovision.flexlm.licsource.LicenseServer.tryCheckout(Unknown Source)
at com.macrovision.flexlm.licsource.LicenseServer.checkout(Unknown Source)
at com.macrovision.flexlm.License.reconnect(Unknown Source)
at com.macrovision.flexlm.License.checkout(Unknown Source)
at ejb.FlexLMBeanManager.test(FlexLMBeanManager.java:99)
at ejb.FlexLMManagerEJB_jux7nd_EOImpl.test(FlexLMManagerEJB_jux7nd_EOImpl.java:134)
at ejb.FlexLMManagerEJB_jux7nd_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:407)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:403)
at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:56)
at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:934)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)

Client code fragment:

FeatureSpecifier featSpec = new FeatureSpecifier("FEATURE_TEST", "4.0");
BnedInfo bnedInfo = new BnedInfo();
License lic = new License(featSpec, licenseSourceString, bnedInfo, null);
lic.checkout(1); // here the exception is thrown
lic.checkin();

When I use this code in a simple java application, not ejb, all works fine.
Of course licenseSourceString have proper value in the actual code.
Version of FLEXlm Java Toolkit is v10.8.5.0

nikolai.blz
09-01-2008, 08:57 AM
reason for this error is incorrect library version:
weblogic uses this jars
C:\3rdparty\bea10\wlserver_10.0\server\lib\EccpressoAsn1.jar
C:\3rdparty\bea10\wlserver_10.0\server\lib\EccpressoCore.jar
C:\3rdparty\bea10\wlserver_10.0\server\lib\EccpressoJcae.jar

your use single jar EccpressoAll.jar

when Eccpresso library is loading then weblogic libraries have proirity, then use need add to file weblogic-application.xml
these lines:


<?xml version='1.0' encoding='UTF-8'?>
<weblogic-application xmlns="http://www.bea.com/ns/weblogic/90"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/100/weblogic-application.xsd">
<prefer-application-packages>
<package-name>com.certicom.ecc.*</package-name>
</prefer-application-packages>
</weblogic-application>