jProductivity protection framework

  • Thread starter michael.friderichsen
  • Start date
M

michael.friderichsen

Hi

I'm currently working on a project that is protected with
jProductivity's Protection framework (a licensing system) but I have
run into some problems.

I have implemented the Sales control center as a JSP based web
application, and so far I've been able to create the License based on
the product storage (embedded in the WAR file as: company.products) and
the Customer info. But when I try to dilever it to the back-end web
service using EmailLicensingFacadeDelivery and LocalLicensingFacade
like so.

// delivery (url points to the products database)
LocalLicensingFacade localFacade = new
LocalLicensingFacade(url.openStream());
EmailLicensingFAcadeDelivery delivery = new
EmailLicensingFacadeDelivery();
delivery.init(localFacade);

result = delivery.deliver(license, customer);

But the above call just throws a NullPointerExcepton:
java.lang.NullPointerException
at
com.jp.protection.priv.pro.integration.EmailLicensingFacadeDelivery.sendLicense(EmailLicensingFacadeDelivery.java:160)
at
com.jp.protection.priv.pro.integration.EmailLicensingFacadeDelivery.deliver(EmailLicensingFacadeDelivery.java:56)

I think this is because I need to pass a LicensingFacadeConfig to
localFacade.
The problem is that the only function on localFacade that takes a
LicensingFacadeConfig is localFacade.init(LicensingFacadeConfig config,
Class aClass)
But I don't know what to pass as the second argument, and the API
documentation only tells that is is a base class to load the product
storage.

I hope anyone can shed some light on this problem.

Thank you
Michael
 
W

wesley.hall

I hope anyone can shed some light on this problem.


jProductivity probably can. Why not email them?

You are posting in a general Java group to ask about a problem with a
proprietry system. Maybe you will get lucky and find someone who has
used this specific tool, and had this specific problem, but it is
unlikely.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top