Search found 264 matches

by sderrick
Tue Nov 17, 2015 5:29 pm
Forum: SDK-API, Frameworks - Document Types
Topic: SDK using individual license
Replies: 8
Views: 3877

Re: SDK using individual license

But this requires the user to paste in their license key in every time?

We have users who have paid for valid professional license keys, and the author component allows the use of a personal license.

There must be a solution that is user friendly?

Scott
by sderrick
Tue Nov 17, 2015 1:46 am
Forum: SDK-API, Frameworks - Document Types
Topic: SDK using individual license
Replies: 8
Views: 3877

Re: SDK using individual license

Radu, I am trying to implement the scenario we discussed earlier about having some of our users use their personal desktop license instead of grabbing one of the floating licenses available on our license server. I have a dialog that allows the user to paste in their key, which I store in a local fi...
by sderrick
Sun Oct 18, 2015 10:19 pm
Forum: SDK-API, Frameworks - Document Types
Topic: SDK using individual license
Replies: 8
Views: 3877

Re: SDK using individual license

this is how I'm getting the license factory.init(frameworkZips, optionsZipURL, codeBase, appletID, // //The servlet URL "http://website/oxygenLicenseServlet/license-servlet", // //The HTTP credentials user name "oxygenLicense", // //The HTTP credentials password "xxxxxxxx&qu...
by sderrick
Sun Oct 18, 2015 10:09 pm
Forum: SDK-API, Frameworks - Document Types
Topic: SDK using individual license
Replies: 8
Views: 3877

SDK using individual license

We are using the SDK Editor and a license server.

The SDK allows the use of an individual's user license if the license server has run out.

Is there a way to have the editor use the individual's user license first, and if none given, then request a license from the server?

thanks,

Scott
by sderrick
Tue Aug 04, 2015 1:16 am
Forum: SDK-API, Frameworks - Document Types
Topic: Java Security error when https hosted Editor Applet opens document
Replies: 2
Views: 3532

Re: Java Security error when https hosted Editor Applet opens document

I changed the address of the file to load from https:// to http:// and it worked fine. This is possibly related to the fact I'm using a self signed cert for the apache ssl module while I get things working. Java throws a fit anywhere near a self signed cert now. Once my client buys a cert I will see...
by sderrick
Sun Aug 02, 2015 4:25 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Java Security error when https hosted Editor Applet opens document
Replies: 2
Views: 3532

Java Security error when https hosted Editor Applet opens document

We are moving to a secure https enabled server for the Oxygen Editor Applet. I am getting the following error when opening a file(URL) in the editor javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name addPage: url: mbepp/working_files/A10087.xml userID: derricks docBase: https://m...
by sderrick
Wed Jul 01, 2015 7:54 pm
Forum: Common Problems
Topic: Servlet License Server
Replies: 4
Views: 2499

Re: Servlet License Server

I figured out why I couldn't use the "standard" role to request a license as your documentation explains. The "standard" role is not defined in the servers security constraint, user, admin and manager are defined for that! from the servers web.xml file <!-- Define a constraint to...
by sderrick
Tue Jun 30, 2015 11:11 pm
Forum: SDK-API, Frameworks - Document Types
Topic: mising toolbar icon
Replies: 3
Views: 3387

mising toolbar icon

I added the "Edit/Toggle_line_wrap" action to the toolbar in the sdk applet

The icon is missing.

How can I add that?

thanks,

Scott
by sderrick
Tue Jun 30, 2015 7:09 pm
Forum: Common Problems
Topic: Servlet License Server
Replies: 4
Views: 2499

Re: Servlet License Server

Using the manager role login creds fixed it!

thanks,

Scott
by sderrick
Tue Jun 30, 2015 2:48 am
Forum: Common Problems
Topic: Servlet License Server
Replies: 4
Views: 2499

Servlet License Server

I got the floating license. Deployed your license servlet on our tomcat server. Same server that serves the oxygen editor applet. I ran through the license registration process and the license servlet says. Activation status The license server is activated. I changed the factory.init to factory.init...
by sderrick
Fri Jun 05, 2015 8:01 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Put the Applet on a diet
Replies: 11
Views: 5468

Re: Put the Applet on a diet

I reduced the applet from 71MB to 56MB. This is for a Text mode only, editing TEI based xml files. About 20%. I removed excess frameworks by changing the frameworks configuration in the frameworks.pom to <zip destfile="${project.build.directory}/classes/frameworks.zip"> <zipfileset dir=&qu...
by sderrick
Fri Jun 05, 2015 3:26 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Security Error when running from customer site
Replies: 11
Views: 9235

Re: Security Error when running from customer site

My client is in the process of purchasing the floating license and auth cert. After I get that set up I may put ${codebase} path back in the attribute to see.

I'd rather have the location for the applet locked down.

Scott
by sderrick
Thu Jun 04, 2015 3:52 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Put the Applet on a diet
Replies: 11
Views: 5468

Re: Put the Applet on a diet

Radu,

this is perfect. I understand the problem with dependency’s and unintended consequences.

I'll test for problems. after removing the jars. I run with the console open so hopefully if I remove something that is not needed I'll get a warning or error output...

thanks again,

Scott
by sderrick
Thu Jun 04, 2015 3:48 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Security Error when running from customer site
Replies: 11
Views: 9235

Re: Security Error when running from customer site

Radu, that says says Application-Library-Allowable-Codebase ...This attribute is used to determine what is listed in the Location field for the security prompt that is shown to users when the JAR file for your RIA is in a different location than the JNLP file or HTML page that starts your RIA... The...
by sderrick
Thu Jun 04, 2015 12:58 am
Forum: SDK-API, Frameworks - Document Types
Topic: Put the Applet on a diet
Replies: 11
Views: 5468

Re: Put the Applet on a diet

I put this in an exclusion <!-- put the editor on a diet! --> <exclusion> <artifactId>avalon-framework-api</artifactId> <groupId>org.apache.avalon</groupId> </exclusion> And voila! gone. Now for he next big question. Any chance there is a list somewhere that says what each of these do? SO I can deci...
by sderrick
Wed Jun 03, 2015 5:30 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Security Error when running from customer site
Replies: 11
Views: 9235

Re: Security Error when running from customer site

Radu, that did it! There weren’t any additional or changed warnings than I normally get with a self signed applet. My changes below <!--EXM-28568 Avoid giving warning with Java 1.7.45 <attribute name="Application-Library-Allowable-Codebase" value="${codebase}" /> <attribute name=...
by sderrick
Wed Jun 03, 2015 2:27 am
Forum: SDK-API, Frameworks - Document Types
Topic: Security Error when running from customer site
Replies: 11
Views: 9235

Re: Security Error when running from customer site

Here is the top portion of the MANEFEST.MF built to run on localhost, which runs fine.. Manifest-Version: 1.0 Ant-Version: Apache Ant 1.8.2 Application-Name: MBEP Editor Applet Archiver-Version: Plexus Archiver Built-By: scott Permissions: all-permissions Caller-Allowable-Codebase: http://localhost:...
by sderrick
Wed Jun 03, 2015 2:21 am
Forum: SDK-API, Frameworks - Document Types
Topic: Security Error when running from customer site
Replies: 11
Views: 9235

Re: Security Error when running from customer site

I see from the manifest spec there is a line length limit Line length: No line may be longer than 72 bytes (not characters), in its UTF8-encoded form. If a value would make the initial line longer than this, it should be continued on extra lines (each starting with a single SPACE). So the broken lin...
by sderrick
Wed Jun 03, 2015 2:17 am
Forum: SDK-API, Frameworks - Document Types
Topic: Security Error when running from customer site
Replies: 11
Views: 9235

Re: Security Error when running from customer site

Radu, I figured it was something like that. here is the top portion of the MANIFEST.MF in mbep-editor-applet-1.0-SNAPSHOT.jar, the offending one. Manifest-Version: 1.0 Ant-Version: Apache Ant 1.8.2 Application-Name: MBEP Editor Applet Archiver-Version: Plexus Archiver Built-By: scott Permissions: al...
by sderrick
Tue Jun 02, 2015 4:07 pm
Forum: SDK-API, Frameworks - Document Types
Topic: setEditable odd behavior
Replies: 6
Views: 4165

Re: setEditable odd behavior

Alex,

Excellent! I'll give it a go. No problem chasing gooses. I think sometimes I'm in the Goose manufacturing business!

Thanks for all the great help. Your tech support is unsurpassed.

Scott
by sderrick
Tue Jun 02, 2015 4:03 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Put the Applet on a diet
Replies: 11
Views: 5468

Re: Put the Applet on a diet

Alex,

this looks good! Great info and a pointer in the right direction!

I'll post my results for those on a similar path.

thanks,

Scott
by sderrick
Tue Jun 02, 2015 3:57 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Calling the applet from Javascript
Replies: 3
Views: 2638

Re: Calling the applet from Javascript

Radu,

When it happened, The browser would hang, no output in the console. When it would finally recover the console would close, and the web page would report the plugin had crashed.

If it happens again I will enable logging in the java control panel.

Scott
by sderrick
Tue Jun 02, 2015 1:34 am
Forum: SDK-API, Frameworks - Document Types
Topic: Security Error when running from customer site
Replies: 11
Views: 9235

Re: Security Error when running from customer site

I certainly hope there is a simple answer. basically what I'm doing wrong.. Because this is a show stopper.
by sderrick
Tue Jun 02, 2015 1:33 am
Forum: SDK-API, Frameworks - Document Types
Topic: Calling the applet from Javascript
Replies: 3
Views: 2638

Re: Calling the applet from Javascript

I cleaned up and combined the function calls into the applet from javascript, and so far that has ended the odd crash.

Though I haven't been able to run the applet from a remote server yet to really test it. It did appear to be timing or thread issues..

Scott
by sderrick
Tue Jun 02, 2015 1:29 am
Forum: SDK-API, Frameworks - Document Types
Topic: Put the Applet on a diet
Replies: 11
Views: 5468

Re: Put the Applet on a diet

So from the "other" discussion it looks like I don't need all the dependency jars. The question now is how do I exclude them? maven automagically puts them in the ../jnlp/lib folder I think from this <!-- Copy all dependecy jars to the lib folder of the applet. --> <plugin> <artifactId>mav...
by sderrick
Mon Jun 01, 2015 7:56 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Security Error when running from customer site
Replies: 11
Views: 9235

Security Error when running from customer site

Using a self signed certificate. Java 8_45 Firefox 38.0 I can deploy the applet to my localhost by putting the following in my exception site list and it runs fine. I do get the Security dialog about an untrusted applet. http://localhost:8080/editor-1/ I'm trying to deploy to http://www.mbepapers.or...
by sderrick
Mon Jun 01, 2015 6:34 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Put the Applet on a diet
Replies: 11
Views: 5468

Re: Put the Applet on a diet

I changed the <zip.. contents on the pom file to <zip destfile="${project.build.directory}/classes/frameworks.zip"> <zipfileset dir="oxygen-frameworks"> <include name="tei/**" /> <exclude name="tei/xml/tei/stylesheet/**" /> <exclude name="tei/xml/teip4/st...
by sderrick
Mon Jun 01, 2015 6:32 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Put the Applet on a diet
Replies: 11
Views: 5468

Re: Put the Applet on a diet

I changed the <zip.. contents on the pom file to <zip destfile="${project.build.directory}/classes/frameworks.zip"> <zipfileset dir="oxygen-frameworks"> <include name="tei/**" /> <exclude name="tei/xml/tei/stylesheet/**" /> <exclude name="tei/xml/teip4/st...
by sderrick
Mon Jun 01, 2015 6:25 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Put the Applet on a diet
Replies: 11
Views: 5468

Re: Put the Applet on a diet

I removed most of the framework folders in /bundle-frameworks/oxygen-frameworks

rebuilt the editor and it repopulated the folder and zipped them up into the same 21MB jar as before?

I don't see a listing of the frameworks in the pom file so am unsure as to how to remove them?

Scott
by sderrick
Mon Jun 01, 2015 6:03 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Hide Author tab?
Replies: 3
Views: 2435

Re: Hide Author tab?

Alex,

I tried that early on with the 16.1 SDK and had problems.

I tried it again with 17.0 and that is working as expected!

thanks,

Scott