Search found 238 matches

by sderrick
Mon Jan 25, 2016 2:15 am
Forum: SDK-API, Frameworks - Document Types
Topic: Using the SDK Author Editor with Java Web Start
Replies: 1
Views: 1277

Using the SDK Author Editor with Java Web Start

We are using the SDK editor as applet to access a CMS document repository and it is working great. However, since Chrome(Google) is at war with Java and removed all NPAPI support, and the possibility that Mozilla may follow suit, I was considering packaging the Editor into a java application and run...
by sderrick
Fri Dec 18, 2015 6:37 pm
Forum: SDK-API, Frameworks - Document Types
Topic: setEditable odd behavior
Replies: 6
Views: 2564

Re: setEditable odd behavior

great news and good work.. :D
by sderrick
Wed Nov 18, 2015 1:01 am
Forum: SDK-API, Frameworks - Document Types
Topic: SDK using individual license
Replies: 8
Views: 2216

Re: SDK using individual license

radu,

thanks, I tried that and its working perfectly! Thanks..

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

Re: SDK using individual license

I've reread the docs about licensing the author component. Maybe I miss understood it? Use of this AuthorComponentFactory.getInstance().init( frameworkZips, optionsZipURL, codeBase, appletID, //Null license key, will ask the user. null); Will cause this behavoir Display the license registration dial...
by sderrick
Tue Nov 17, 2015 5:29 pm
Forum: SDK-API, Frameworks - Document Types
Topic: SDK using individual license
Replies: 8
Views: 2216

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: 2216

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: 2216

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");
by sderrick
Sun Oct 18, 2015 10:09 pm
Forum: SDK-API, Frameworks - Document Types
Topic: SDK using individual license
Replies: 8
Views: 2216

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: 2584

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: 2584

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: 1477

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 restrict access to ...
by sderrick
Tue Jun 30, 2015 11:11 pm
Forum: SDK-API, Frameworks - Document Types
Topic: mising toolbar icon
Replies: 3
Views: 2173

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: 1477

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: 1477

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: 3258

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="oxygen-frame...
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: 5964

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: 3258

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: 5964

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: 3258

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: 5964

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="Caller-Allowable-Co...
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: 5964

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: 5964

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: 5964

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: 2564

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: 3258

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: 1650

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: 5964

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: 1650

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: 3258

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>maven-depende...
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: 5964

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