Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Java
 QCRTGraph for Java
 Problems loading the QCLicense.java.lic.xml file

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
daviddu@cctexas.com Posted - 18 May 2007 : 12:22:14
After months of inactivity, I'm getting back to writing a set of java applets using the RT tools.

I've included the license file in my jar file, and when ChartView.loadLicenseFileasResource is executed, it returns a true, but when I start using the graphics functions, I keep getting a message saying the license file has 'expired'.

Whats up?

David
5   L A T E S T    R E P L I E S    (Newest First)
quinncurtis Posted - 21 Aug 2007 : 16:52:32
That can only happen if you are installing the trial version of the software, or if for some reason you are referencing the trial license, instead of the developer license.

If you don't know where your developer downlod is you should track down the original download links from the e-mail that was sent to you after your order and re-download, then re-install the software.

Your original download links will download the current version of the software.
daviddu@cctexas.com Posted - 21 Aug 2007 : 16:38:02
Finally, after months of being off on other projects, this project has become important enough to warrant giving me some time.

I've falled back to reinstalling the software on a new computer (the old one was 'recalled').

Running your demo program 'scrollgraphdemo' gives me the same 'expired' message.

I get a box in the middle of the screen that says:

--------------------------------------------------------------
Your license to use the QCRTGraph Java software has expired.
Use this opportunity to purchase the product from our web site.

www.Quinn-Curtis.com
--------------------------------------------------------------

This software is from last March (March 2006). Version 1.5. Any new wonderfull stuff that would give me a reason to tell my boss to upgrade?

David

David
quinncurtis Posted - 18 May 2007 : 14:21:01
You must make the loadLicenseFileAsResource call before ANY other call is made into our libraries. So you should check that.

Does the program run properly if you do not put it into jar file?

Did you check that the license file in your program folder (that's where the path you use in getResourceAsStream says the license file is) matches the one in the C:\Quinn-Curtis\java\com\quinncurtis folder? If not, update it with that version.



daviddu@cctexas.com Posted - 18 May 2007 : 13:47:13
OK, I'll see if I can answer your questions.

I got pulled off the project months ago before completing it. I believe (but don't remember for sure...) that it was working properly with regards to loading the license file.

This is running as an applet from my WEB server, and I'm loading it into IE.
The code I'm using is a verbatim copy of the code from page 298 in the tutorial (with a couple of additions).

Exerpt from the code involved:
-----------------------------------------------------------
// Since the Frame1 class is not used in this applet example, the
// license file is initialized here.
InputStream instream = this.getClass().getResourceAsStream("QCLicenseJava.lic.xml");
boolean filefound = ChartView.loadLicenseFileAsResource(instream);

if(filefound)
System.out.println("Found License file");
else
System.out.println("Couldn't find the license file");

-----------------------------------------
The applet console window shows "Found License file" every time. I should also say that there is a considerable amount of additional code that is executed before doing the first RTGraphics call.

David Dudley

David
quinncurtis Posted - 18 May 2007 : 13:17:19
We aren't aware of any problem with reading the license file from within the jar. Please supply us with additional information.

Did this program once work, exactly as is, and only the passage of time is different? Or is this the first time you have tried to load the license file from within a jar file?

What path do you specify in loadLicenseFileasResource call, and where is the license file located in the jar file in relation to the module where loadLicenseFileasResource is called?

Are you sure you are using the license file that came with the Developer version of the software, and not an earlier trial license?

Are you running the program as a workstation application, or running it on a server and viewing it through a browser as an applet?

Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07