Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > jProductivity protection framework

Reply
Thread Tools

jProductivity protection framework

 
 
michael.friderichsen@gmail.com
Guest
Posts: n/a
 
      12-22-2006
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.EmailLicens ingFacadeDelivery.sendLicense(EmailLicensingFacade Delivery.java:160)
at
com.jp.protection.priv.pro.integration.EmailLicens ingFacadeDelivery.deliver(EmailLicensingFacadeDeli very.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

 
Reply With Quote
 
 
 
 
wesley.hall@gmail.com
Guest
Posts: n/a
 
      12-22-2006

> 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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
copy protection / IP protection g Java 69 04-25-2006 04:10 PM
Installing 1.1 Framework and 2.0 Framework on the same web server Mark ASP .Net 4 11-17-2005 03:30 PM
microsoft.public.dotnet.faqs,microsoft.public.dotnet.framework,microsoft.public.dotnet.framework.windowsforms,microsoft.public.dotnet.general,microsoft.public.dotnet.languages.vb Charles A. Lackman ASP .Net 1 12-08-2004 07:08 PM
COMInterop does not work in Framework 1.1 without Framework 1.0 Anatoly Volodko ASP .Net 1 08-14-2003 08:11 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57