|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Plugins used to work, now they don'tHello,
I am using the Autolink and DrapDropSupport plugins with EditLive. Yesterday they were working fine on my system. Today I took the source code and built it using Eclipse, deployed those new jar files, and the plug-in functionality quit working. So I removed those and restored the original jar files, and now it still does NOT work. ??? I've deleted my browser cache and the Java cache, but those plug-ins still don't work. Below is my Java Console output. The rest of the EditLive control still works fine. Also, where can I find more information about modifying existing plugins and building custom plugins? Thanks, -Rob Java Plug-in 1.6.0_03 Using JRE version 1.6.0_03 Java HotSpot(TM) Client VM User home directory = C:\Documents and Settings\Rob network: Loading user-defined proxy configuration ... network: Done. network: Loading proxy configuration from Internet Explorer ... network: Done. network: Loading direct proxy configuration ... network: Done. network: Proxy Configuration: No proxy ---------------------------------------------------- c: clear console window f: finalize objects on finalization queue g: garbage collect h: display this help message l: dump classloader list m: print memory usage o: trigger logging p: reload proxy configuration q: hide console r: reload policy configuration s: dump system and deployment properties t: dump thread list v: dump thread stack x: clear classloader cache 0-5: set trace level to <n> ---------------------------------------------------- liveconnect: Invoking JS method: document liveconnect: Invoking JS method: URL basic: Referencing classloader: sun.plugin.ClassLoaderInfo@1dd7056, refcount=1 basic: Added progress listener: sun.plugin.util.GrayBoxPainter@1e859c0 basic: Loading applet ... basic: Initializing applet ... basic: Starting applet ... basic: completed perf rollup network: Cache entry found [url: http://site0.localteammania.net:8084/elj-code/editlivejava.jar, version: null] network: Connecting http://site0.localteammania.net:8084/elj-code/editlivejava.jar with proxy=DIRECT network: Connecting http://site0.localteammania.net:8084/elj-code/editlivejava.jar with cookie "JSESSIONID=B7D39C1D433D1D693FC735EA3EF67B00" network: ResponseCode for http://site0.localteammania.net:8084/elj-code/editlivejava.jar : 304 network: Encoding for http://site0.localteammania.net:8084/elj-code/editlivejava.jar : null network: Disconnect connection to http://site0.localteammania.net:8084/elj-code/editlivejava.jar security: Loading Root CA certificates from C:\PROGRA~1\Java\JRE16~1.0_0\lib\security\cacerts security: Loaded Root CA certificates from C:\PROGRA~1\Java\JRE16~1.0_0\lib\security\cacerts security: Loading Deployment certificates from C:\Documents and Settings\Rob\Application Data\Sun\Java\Deployment\security\trusted.certs security: Loaded Deployment certificates from C:\Documents and Settings\Rob\Application Data\Sun\Java\Deployment\security\trusted.certs security: Loading certificates from Deployment session certificate store security: Loaded certificates from Deployment session certificate store security: Loading certificates from Internet Explorer ROOT certificate store security: Loaded certificates from Internet Explorer ROOT certificate store security: Loading certificates from Internet Explorer TrustedPublisher certificate store security: Loaded certificates from Internet Explorer TrustedPublisher certificate store security: Validate the certificate chain using CertPath API security: Obtain certificate collection in Root CA certificate store security: Obtain certificate collection in Root CA certificate store security: The CRL support is enabled security: Ephox Corporation security: ObjectId: 2.5.29.31 Criticality=false CRLDistributionPoints [ [DistributionPoint: [URIName: http://crl.thawte.com/ThawteCodeSigningCA.crl] ]] security: Thawte Code Signing CA security: ObjectId: 2.5.29.31 Criticality=false CRLDistributionPoints [ [DistributionPoint: [URIName: http://crl.thawte.com/ThawtePremiumServerCA.crl] ]] security: This certificate does not have CRL extension security: Use CRL setting from certificate security: The OCSP support is enabled security: Ephox Corporation security: ObjectId: 1.3.6.1.5.5.7.1.1 Criticality=false AuthorityInfoAccess [ [accessMethod: 1.3.6.1.5.5.7.48.1 accessLocation: URIName: http://ocsp.thawte.com] ] security: This certificate does not have AIA extension security: This certificate does not have AIA extension security: Use OCSP setting from certificate network: Cache entry not found [url: http://crl.thawte.com/ThawtePremiumServerCA.crl, version: null] network: Connecting http://crl.thawte.com/ThawtePremiumServerCA.crl with proxy=DIRECT network: Downloading resource: http://crl.thawte.com/ThawtePremiumServerCA.crl Content-Length: 422,017 Content-Encoding: null network: Wrote URL http://crl.thawte.com/ThawtePremiumServerCA.crl to File C:\Documents and Settings\Rob\Application Data\Sun\Java\Deployment\cache\6.0\38\2fb889a6-404a5a71-temp network: Cache entry not found [url: http://crl.thawte.com/ThawteCodeSigningCA.crl, version: null] network: Connecting http://crl.thawte.com/ThawteCodeSigningCA.crl with proxy=DIRECT network: Downloading resource: http://crl.thawte.com/ThawteCodeSigningCA.crl Content-Length: 48,235 Content-Encoding: null network: Wrote URL http://crl.thawte.com/ThawteCodeSigningCA.crl to File C:\Documents and Settings\Rob\Application Data\Sun\Java\Deployment\cache\6.0\3\3307d003-4cf69ea9-temp security: Certificate validation succeeded using CRL security: Certificate validation succeeded using OCSP security: No timestamping info available security: Checking if certificate is in Deployment denied certificate store security: Checking if certificate is in Deployment permanent certificate store security: Checking if certificate is in Deployment session certificate store security: Checking if certificate is in Internet Explorer TrustedPublisher certificate store security: User has granted the priviledges to the code forever security: Loading Deployment certificates from C:\Documents and Settings\Rob\Application Data\Sun\Java\Deployment\security\trusted.certs security: Loaded Deployment certificates from C:\Documents and Settings\Rob\Application Data\Sun\Java\Deployment\security\trusted.certs security: Adding certificate in Deployment permanent certificate store security: Added certificate in Deployment permanent certificate store as alias deploymentusercert$tsflag9093202056860074473 security: Saving Deployment certificates in C:\Documents and Settings\Rob\Application Data\Sun\Java\Deployment\security\trusted.certs security: Saved Deployment certificates in C:\Documents and Settings\Rob\Application Data\Sun\Java\Deployment\security\trusted.certs Initialising System Look And Feel network: Cache entry found [url: http://site0.localteammania.net:8084/elj-code/editlivejava.jar, version: null] Setting debug level to off Setting logger to console Initialising System Look And Feel Starting using applet: com.ephox.editlive.win.EditLiveJava EditLive! Version: 6.3.4.93 Java VM Details: Vendor=Sun Microsystems Inc. Vendor version=1.6.0_03-b05 Java Version=1.6.0_03 Default charset: Cp1252 Locale: en_US Browser UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30) liveconnect: Invoking method: public void com.ephox.editlive.applets.ELJApplet.pageLoaded(java.lang.String) liveconnect: Needs conversion: java.lang.String --> java.lang.String network: Connecting socket://site0.localteammania.net:8084 with proxy=DIRECT network: Cache entry found [url: http://site0.localteammania.net:8084/elj-code/editlivejava.jar, version: null] network: Connecting socket://site0.localteammania.net:8084 with proxy=DIRECT network: Connecting socket://site0.localteammania.net:8084 with proxy=DIRECT network: Cache entry found [url: http://site0.localteammania.net:8084/elj-code/editlivejava.jar, version: null] network: Cache entry found [url: http://site0.localteammania.net:8084/elj-code/editlivejava.jar, version: null] network: Connecting socket://f1.teammania.net:80 with proxy=DIRECT network: Connecting socket://f1.teammania.net:80 with proxy=DIRECT liveconnect: Invoking JS method: document liveconnect: Invoking JS method: URL basic: Referencing classloader: sun.plugin.ClassLoaderInfo@1dd7056, refcount=2 basic: Added progress listener: sun.plugin.util.GrayBoxPainter@9e0c2d basic: Loading applet ... basic: Initializing applet ... basic: Starting applet ... basic: completed perf rollup network: Cache entry found [url: http://site0.localteammania.net:8084/elj-code/editlivejava.jar, version: null] liveconnect: Invoking JS method: setFormValue liveconnect: Invoking JS method: setFormValue liveconnect: Invoking JS method: EditLiveCommonStatic_submitFunction basic: Stopping applet ... basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@1e859c0 basic: Finding information ... basic: Releasing classloader: sun.plugin.ClassLoaderInfo@1dd7056, refcount=1 basic: Done ... basic: Joining applet thread ... basic: Destroying applet ... basic: Disposing applet ... basic: Joined applet thread ... basic: Quiting applet ... basic: Stopping applet ... basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@9e0c2d basic: Finding information ... basic: Releasing classloader: sun.plugin.ClassLoaderInfo@1dd7056, refcount=0 basic: Caching classloader: sun.plugin.ClassLoaderInfo@1dd7056 basic: Current classloader cache size: 1 basic: Done ... basic: Joining applet thread ... basic: Destroying applet ... basic: Disposing applet ... basic: Joined applet thread ... basic: Quiting applet ... liveconnect: Invoking JS method: document liveconnect: Invoking JS method: URL basic: Referencing classloader: sun.plugin.ClassLoaderInfo@1dd7056, refcount=1 basic: Added progress listener: sun.plugin.util.GrayBoxPainter@6e96ff basic: Loading applet ... basic: Initializing applet ... basic: Starting applet ... basic: completed perf rollup Setting debug level to off Logger has already been set, please restart to change the logger to 'console' Initialising System Look And Feel Starting using applet: com.ephox.editlive.win.EditLiveJava EditLive! Version: 6.3.4.93 Java VM Details: Vendor=Sun Microsystems Inc. Vendor version=1.6.0_03-b05 Java Version=1.6.0_03 Default charset: Cp1252 Locale: en_US Browser UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30) network: Connecting socket://site0.localteammania.net:8084 with proxy=DIRECT network: Connecting socket://site0.localteammania.net:8084 with proxy=DIRECT liveconnect: Invoking method: public void com.ephox.editlive.applets.ELJApplet.pageLoaded(java.lang.String) liveconnect: Needs conversion: java.lang.String --> java.lang.String network: Connecting socket://f1.teammania.net:80 with proxy=DIRECT network: Connecting socket://f1.teammania.net:80 with proxy=DIRECT _______________________________________________ LiveWorks mailing list LiveWorks@... http://liveworks.ephox.com/mailing-list/ |
|
|
Re: Plugins used to work, now they don'tHi Rob,
> I am using the Autolink and DrapDropSupport plugins with EditLive. > Yesterday > they were working fine on my system. Today I took the source code > and built > it using Eclipse, deployed those new jar files, and the plug-in > functionality quit working. So I removed those and restored the > original jar > files, and now it still does NOT work. ??? I've deleted my browser > cache and > the Java cache, but those plug-ins still don't work. Below is my Java > Console output. The rest of the EditLive control still works fine. > Also, > where can I find more information about modifying existing plugins and > building custom plugins? There's a couple of things that are probably adding to the confusion here - firstly something obviously went wrong either with your modifications to the source code of the plugins or to the compilation and packaging of them. Secondly, plugins are cached locally and only updated if the modification date on the server is newer than the one in the local cache, so when you put the old plugins back EditLive! probably isn't using them. You can either "touch" the original jar files to update the modification date so they're newer or delete the cached versions. On OS X look in ~/Library/Caches/Ephox/ and on Windows they're usually in C:/Documents and Settings/ (not sure where they wind up on Vista though). Probably the best course of action though is to work out why your changes didn't work. The log you provided shows the Java trace level is set but Ephox's debug level is set to "off" so it doesn't actually show the downloading and initializing of plugins. If you use the JavaScript editlive.setDebugLevel("http") command to turn it on you should see attempts to download the plugin jar files and initialize the class in the log output. You'll probably also see at least one exception there which will tell you what's going wrong. As for resources, I think the best starting point is: http://liveworks.ephox.com/2007/04/04/using-plug-ins-to-extend-editlive/ There's a bunch of links from there to our reference documentation as well. Finally, if you keep a copy of the debug log output, I suspect this will make a good hints and tips article on tracking down and understanding errors in the debug log. Regards, Adrian Sutton. ______________________ Adrian Sutton, CTO US: +1 (650) 292 9659 x717 UK: +44 (20) 8123 0617 x717 Australia: +61 (7) 3858 0118 Ephox <http://www.ephox.com/> Ephox Blogs <http://planet.ephox.com/>, Personal Blog <http://www.symphonious.net/ > On 11/01/2008, at 4:47 AM, Rob Stoecklein wrote: > Hello, > > > > Thanks, > -Rob > > > Java Plug-in 1.6.0_03 > Using JRE version 1.6.0_03 Java HotSpot(TM) Client VM > User home directory = C:\Documents and Settings\Rob > network: Loading user-defined proxy configuration ... > network: Done. > network: Loading proxy configuration from Internet Explorer ... > network: Done. > network: Loading direct proxy configuration ... > network: Done. > network: Proxy Configuration: No proxy > > > ---------------------------------------------------- > c: clear console window > f: finalize objects on finalization queue > g: garbage collect > h: display this help message > l: dump classloader list > m: print memory usage > o: trigger logging > p: reload proxy configuration > q: hide console > r: reload policy configuration > s: dump system and deployment properties > t: dump thread list > v: dump thread stack > x: clear classloader cache > 0-5: set trace level to <n> > ---------------------------------------------------- > > liveconnect: Invoking JS method: document > liveconnect: Invoking JS method: URL > basic: Referencing classloader: sun.plugin.ClassLoaderInfo@1dd7056, > refcount=1 > basic: Added progress listener: sun.plugin.util.GrayBoxPainter@1e859c0 > basic: Loading applet ... > basic: Initializing applet ... > basic: Starting applet ... > basic: completed perf rollup > network: Cache entry found [url: > http://site0.localteammania.net:8084/elj-code/editlivejava.jar, > version: > null] > network: Connecting > http://site0.localteammania.net:8084/elj-code/editlivejava.jar with > proxy=DIRECT > network: Connecting > http://site0.localteammania.net:8084/elj-code/editlivejava.jar with > cookie > "JSESSIONID=B7D39C1D433D1D693FC735EA3EF67B00" > network: ResponseCode for > http://site0.localteammania.net:8084/elj-code/editlivejava.jar : 304 > network: Encoding for > http://site0.localteammania.net:8084/elj-code/editlivejava.jar : null > network: Disconnect connection to > http://site0.localteammania.net:8084/elj-code/editlivejava.jar > security: Loading Root CA certificates from > C:\PROGRA~1\Java\JRE16~1.0_0\lib\security\cacerts > security: Loaded Root CA certificates from > C:\PROGRA~1\Java\JRE16~1.0_0\lib\security\cacerts > security: Loading Deployment certificates from C:\Documents and > Settings\Rob\Application Data\Sun\Java\Deployment\security > \trusted.certs > security: Loaded Deployment certificates from C:\Documents and > Settings\Rob\Application Data\Sun\Java\Deployment\security > \trusted.certs > security: Loading certificates from Deployment session certificate > store > security: Loaded certificates from Deployment session certificate > store > security: Loading certificates from Internet Explorer ROOT > certificate store > security: Loaded certificates from Internet Explorer ROOT > certificate store > security: Loading certificates from Internet Explorer TrustedPublisher > certificate store > security: Loaded certificates from Internet Explorer TrustedPublisher > certificate store > security: Validate the certificate chain using CertPath API > security: Obtain certificate collection in Root CA certificate store > security: Obtain certificate collection in Root CA certificate store > security: The CRL support is enabled > security: Ephox Corporation > security: ObjectId: 2.5.29.31 Criticality=false > CRLDistributionPoints [ > [DistributionPoint: > [URIName: http://crl.thawte.com/ThawteCodeSigningCA.crl] > ]] > > security: Thawte Code Signing CA > security: ObjectId: 2.5.29.31 Criticality=false > CRLDistributionPoints [ > [DistributionPoint: > [URIName: http://crl.thawte.com/ThawtePremiumServerCA.crl] > ]] > > security: This certificate does not have CRL extension > security: Use CRL setting from certificate > security: The OCSP support is enabled > security: Ephox Corporation > security: ObjectId: 1.3.6.1.5.5.7.1.1 Criticality=false > AuthorityInfoAccess [ > [accessMethod: 1.3.6.1.5.5.7.48.1 > accessLocation: URIName: http://ocsp.thawte.com] > ] > > security: This certificate does not have AIA extension > security: This certificate does not have AIA extension > security: Use OCSP setting from certificate > network: Cache entry not found [url: > http://crl.thawte.com/ThawtePremiumServerCA.crl, version: null] > network: Connecting http://crl.thawte.com/ThawtePremiumServerCA.crl > with > proxy=DIRECT > network: Downloading resource: > http://crl.thawte.com/ThawtePremiumServerCA.crl > Content-Length: 422,017 > Content-Encoding: null > network: Wrote URL http://crl.thawte.com/ThawtePremiumServerCA.crl > to File > C:\Documents and Settings\Rob\Application > Data\Sun\Java\Deployment\cache\6.0\38\2fb889a6-404a5a71-temp > network: Cache entry not found [url: > http://crl.thawte.com/ThawteCodeSigningCA.crl, version: null] > network: Connecting http://crl.thawte.com/ThawteCodeSigningCA.crl with > proxy=DIRECT > network: Downloading resource: http://crl.thawte.com/ThawteCodeSigningCA.crl > Content-Length: 48,235 > Content-Encoding: null > network: Wrote URL http://crl.thawte.com/ThawteCodeSigningCA.crl to > File > C:\Documents and Settings\Rob\Application > Data\Sun\Java\Deployment\cache\6.0\3\3307d003-4cf69ea9-temp > security: Certificate validation succeeded using CRL > security: Certificate validation succeeded using OCSP > security: No timestamping info available > security: Checking if certificate is in Deployment denied > certificate store > security: Checking if certificate is in Deployment permanent > certificate > store > security: Checking if certificate is in Deployment session > certificate store > security: Checking if certificate is in Internet Explorer > TrustedPublisher > certificate store > security: User has granted the priviledges to the code forever > security: Loading Deployment certificates from C:\Documents and > Settings\Rob\Application Data\Sun\Java\Deployment\security > \trusted.certs > security: Loaded Deployment certificates from C:\Documents and > Settings\Rob\Application Data\Sun\Java\Deployment\security > \trusted.certs > security: Adding certificate in Deployment permanent certificate store > security: Added certificate in Deployment permanent certificate > store as > alias deploymentusercert$tsflag9093202056860074473 > security: Saving Deployment certificates in C:\Documents and > Settings\Rob\Application Data\Sun\Java\Deployment\security > \trusted.certs > security: Saved Deployment certificates in C:\Documents and > Settings\Rob\Application Data\Sun\Java\Deployment\security > \trusted.certs > Initialising System Look And Feel > network: Cache entry found [url: > http://site0.localteammania.net:8084/elj-code/editlivejava.jar, > version: > null] > Setting debug level to off > Setting logger to console > Initialising System Look And Feel > Starting using applet: com.ephox.editlive.win.EditLiveJava > EditLive! Version: 6.3.4.93 > Java VM Details: Vendor=Sun Microsystems Inc. Vendor > version=1.6.0_03-b05 > Java Version=1.6.0_03 > Default charset: Cp1252 > Locale: en_US > Browser UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT > 5.1; .NET > CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30) > liveconnect: Invoking method: public void > com.ephox.editlive.applets.ELJApplet.pageLoaded(java.lang.String) > liveconnect: Needs conversion: java.lang.String --> java.lang.String > network: Connecting socket://site0.localteammania.net:8084 with > proxy=DIRECT > network: Cache entry found [url: > http://site0.localteammania.net:8084/elj-code/editlivejava.jar, > version: > null] > network: Connecting socket://site0.localteammania.net:8084 with > proxy=DIRECT > network: Connecting socket://site0.localteammania.net:8084 with > proxy=DIRECT > network: Cache entry found [url: > http://site0.localteammania.net:8084/elj-code/editlivejava.jar, > version: > null] > network: Cache entry found [url: > http://site0.localteammania.net:8084/elj-code/editlivejava.jar, > version: > null] > network: Connecting socket://f1.teammania.net:80 with proxy=DIRECT > network: Connecting socket://f1.teammania.net:80 with proxy=DIRECT > liveconnect: Invoking JS method: document > liveconnect: Invoking JS method: URL > basic: Referencing classloader: sun.plugin.ClassLoaderInfo@1dd7056, > refcount=2 > basic: Added progress listener: sun.plugin.util.GrayBoxPainter@9e0c2d > basic: Loading applet ... > basic: Initializing applet ... > basic: Starting applet ... > basic: completed perf rollup > network: Cache entry found [url: > http://site0.localteammania.net:8084/elj-code/editlivejava.jar, > version: > null] > liveconnect: Invoking JS method: setFormValue > liveconnect: Invoking JS method: setFormValue > liveconnect: Invoking JS method: EditLiveCommonStatic_submitFunction > basic: Stopping applet ... > basic: Removed progress listener: > sun.plugin.util.GrayBoxPainter@1e859c0 > basic: Finding information ... > basic: Releasing classloader: sun.plugin.ClassLoaderInfo@1dd7056, > refcount=1 > basic: Done ... > basic: Joining applet thread ... > basic: Destroying applet ... > basic: Disposing applet ... > basic: Joined applet thread ... > basic: Quiting applet ... > basic: Stopping applet ... > basic: Removed progress listener: > sun.plugin.util.GrayBoxPainter@9e0c2d > basic: Finding information ... > basic: Releasing classloader: sun.plugin.ClassLoaderInfo@1dd7056, > refcount=0 > basic: Caching classloader: sun.plugin.ClassLoaderInfo@1dd7056 > basic: Current classloader cache size: 1 > basic: Done ... > basic: Joining applet thread ... > basic: Destroying applet ... > basic: Disposing applet ... > basic: Joined applet thread ... > basic: Quiting applet ... > liveconnect: Invoking JS method: document > liveconnect: Invoking JS method: URL > basic: Referencing classloader: sun.plugin.ClassLoaderInfo@1dd7056, > refcount=1 > basic: Added progress listener: sun.plugin.util.GrayBoxPainter@6e96ff > basic: Loading applet ... > basic: Initializing applet ... > basic: Starting applet ... > basic: completed perf rollup > Setting debug level to off > Logger has already been set, please restart to change the logger to > 'console' > Initialising System Look And Feel > Starting using applet: com.ephox.editlive.win.EditLiveJava > EditLive! Version: 6.3.4.93 > Java VM Details: Vendor=Sun Microsystems Inc. Vendor > version=1.6.0_03-b05 > Java Version=1.6.0_03 > Default charset: Cp1252 > Locale: en_US > Browser UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT > 5.1; .NET > CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30) > network: Connecting socket://site0.localteammania.net:8084 with > proxy=DIRECT > network: Connecting socket://site0.localteammania.net:8084 with > proxy=DIRECT > liveconnect: Invoking method: public void > com.ephox.editlive.applets.ELJApplet.pageLoaded(java.lang.String) > liveconnect: Needs conversion: java.lang.String --> java.lang.String > network: Connecting socket://f1.teammania.net:80 with proxy=DIRECT > network: Connecting socket://f1.teammania.net:80 with proxy=DIRECT > _______________________________________________ > LiveWorks mailing list > LiveWorks@... > http://liveworks.ephox.com/mailing-list/ _______________________________________________ LiveWorks mailing list LiveWorks@... http://liveworks.ephox.com/mailing-list/ |
|
|
Re: Plugins used to work, now they don'tAdrian,
The setDebugLevel("http") is a great tip. I now have something to work with. I "touched" the Ephox autolink.jar file and it began working again. Then I went to use my code (no changes), and am now getting this security exception in the Java Console: 09:39:32:656 [ERROR] InitClassRunnable - -(AWT-EventQueue-2) Failed to load 'com.ephox.autolink.Autolink' from 'autolink.jar' using base URL ' http://site0.localteammania.net:8084/elj-code/plugins/autolink.xml'. < java.lang.SecurityException: Invalid signature file digest for Manifest main attributes>java.lang.SecurityException: Invalid signature file digest for Manifest main attributes at sun.security.util.SignatureFileVerifier.processImpl(Unknown Source) at sun.security.util.SignatureFileVerifier.process(Unknown Source) at java.util.jar.JarVerifier.processEntry(Unknown Source) at java.util.jar.JarVerifier.update(Unknown Source) at java.util.jar.JarFile.initializeVerifier(Unknown Source) at java.util.jar.JarFile.getInputStream(Unknown Source) at sun.misc.URLClassPath$JarLoader$2.getInputStream(Unknown Source) at sun.misc.Resource.cachedInputStream(Unknown Source) at sun.misc.Resource.getByteBuffer(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at com.ephox.editlive.java2.editor.plugins.PluginClassLoader.findClass( PluginClassLoader.java:42) at com.ephox.editlive.java2.editor.plugins.PluginClassLoader.loadClass( PluginClassLoader.java:33) at com.ephox.editlive.java2.editor.plugins.InitClassRunnable.run( InitClassRunnable.java:45) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Not sure what I'm doing wrong yet. (I've written boat-loads of Java code that runs on our web servers, but haven't written any applets, so am new to this type of security issue.) Also, while reading through your web page ( http://liveworks.ephox.com/2007/04/04/using-plug-ins-to-extend-editlive/), I found a link that does not work: http://www.ephox.com/developers/editliveforjava/v60/js/simplePlugin/simplePlugin.html It displays the EditLive control and then tells me that my "30 day trial has expired". -Rob On Jan 10, 2008 4:22 PM, Adrian Sutton <adrian.sutton@...> wrote: > Hi Rob, > > > I am using the Autolink and DrapDropSupport plugins with EditLive. > > Yesterday > > they were working fine on my system. Today I took the source code > > and built > > it using Eclipse, deployed those new jar files, and the plug-in > > functionality quit working. So I removed those and restored the > > original jar > > files, and now it still does NOT work. ??? I've deleted my browser > > cache and > > the Java cache, but those plug-ins still don't work. Below is my Java > > Console output. The rest of the EditLive control still works fine. > > Also, > > where can I find more information about modifying existing plugins and > > building custom plugins? > > There's a couple of things that are probably adding to the confusion > here - firstly something obviously went wrong either with your > modifications to the source code of the plugins or to the compilation > and packaging of them. Secondly, plugins are cached locally and only > updated if the modification date on the server is newer than the one > in the local cache, so when you put the old plugins back EditLive! > probably isn't using them. You can either "touch" the original jar > files to update the modification date so they're newer or delete the > cached versions. On OS X look in ~/Library/Caches/Ephox/ and on > Windows they're usually in C:/Documents and Settings/ (not sure where > they wind up on Vista though). > > Probably the best course of action though is to work out why your > changes didn't work. The log you provided shows the Java trace level > is set but Ephox's debug level is set to "off" so it doesn't actually > show the downloading and initializing of plugins. If you use the > JavaScript editlive.setDebugLevel("http") command to turn it on you > should see attempts to download the plugin jar files and initialize > the class in the log output. You'll probably also see at least one > exception there which will tell you what's going wrong. > > As for resources, I think the best starting point is: > http://liveworks.ephox.com/2007/04/04/using-plug-ins-to-extend-editlive/ > There's a bunch of links from there to our reference documentation as > well. > > Finally, if you keep a copy of the debug log output, I suspect this > will make a good hints and tips article on tracking down and > understanding errors in the debug log. > > Regards, > > Adrian Sutton. > ______________________ > Adrian Sutton, CTO > US: +1 (650) 292 9659 x717 UK: +44 (20) 8123 0617 x717 Australia: +61 > (7) 3858 0118 > Ephox <http://www.ephox.com/> > Ephox Blogs <http://planet.ephox.com/>, Personal Blog < > http://www.symphonious.net/ > > > > On 11/01/2008, at 4:47 AM, Rob Stoecklein wrote: > > > Hello, > > > > > > > > Thanks, > > -Rob > > > > > > Java Plug-in 1.6.0_03 > > Using JRE version 1.6.0_03 Java HotSpot(TM) Client VM > > User home directory = C:\Documents and Settings\Rob > > network: Loading user-defined proxy configuration ... > > network: Done. > > network: Loading proxy configuration from Internet Explorer ... > > network: Done. > > network: Loading direct proxy configuration ... > > network: Done. > > network: Proxy Configuration: No proxy > > > > > > ---------------------------------------------------- > > c: clear console window > > f: finalize objects on finalization queue > > g: garbage collect > > h: display this help message > > l: dump classloader list > > m: print memory usage > > o: trigger logging > > p: reload proxy configuration > > q: hide console > > r: reload policy configuration > > s: dump system and deployment properties > > t: dump thread list > > v: dump thread stack > > x: clear classloader cache > > 0-5: set trace level to <n> > > ---------------------------------------------------- > > > > liveconnect: Invoking JS method: document > > liveconnect: Invoking JS method: URL > > basic: Referencing classloader: sun.plugin.ClassLoaderInfo@1dd7056, > > refcount=1 > > basic: Added progress listener: sun.plugin.util.GrayBoxPainter@1e859c0 > > basic: Loading applet ... > > basic: Initializing applet ... > > basic: Starting applet ... > > basic: completed perf rollup > > network: Cache entry found [url: > > http://site0.localteammania.net:8084/elj-code/editlivejava.jar, > > version: > > null] > > network: Connecting > > http://site0.localteammania.net:8084/elj-code/editlivejava.jar with > > proxy=DIRECT > > network: Connecting > > http://site0.localteammania.net:8084/elj-code/editlivejava.jar with > > cookie > > "JSESSIONID=B7D39C1D433D1D693FC735EA3EF67B00" > > network: ResponseCode for > > http://site0.localteammania.net:8084/elj-code/editlivejava.jar : 304 > > network: Encoding for > > http://site0.localteammania.net:8084/elj-code/editlivejava.jar : null > > network: Disconnect connection to > > http://site0.localteammania.net:8084/elj-code/editlivejava.jar > > security: Loading Root CA certificates from > > C:\PROGRA~1\Java\JRE16~1.0_0\lib\security\cacerts > > security: Loaded Root CA certificates from > > C:\PROGRA~1\Java\JRE16~1.0_0\lib\security\cacerts > > security: Loading Deployment certificates from C:\Documents and > > Settings\Rob\Application Data\Sun\Java\Deployment\security > > \trusted.certs > > security: Loaded Deployment certificates from C:\Documents and > > Settings\Rob\Application Data\Sun\Java\Deployment\security > > \trusted.certs > > security: Loading certificates from Deployment session certificate > > store > > security: Loaded certificates from Deployment session certificate > > store > > security: Loading certificates from Internet Explorer ROOT > > certificate store > > security: Loaded certificates from Internet Explorer ROOT > > certificate store > > security: Loading certificates from Internet Explorer TrustedPublisher > > certificate store > > security: Loaded certificates from Internet Explorer TrustedPublisher > > certificate store > > security: Validate the certificate chain using CertPath API > > security: Obtain certificate collection in Root CA certificate store > > security: Obtain certificate collection in Root CA certificate store > > security: The CRL support is enabled > > security: Ephox Corporation > > security: ObjectId: 2.5.29.31 Criticality=false > > CRLDistributionPoints [ > > [DistributionPoint: > > [URIName: http://crl.thawte.com/ThawteCodeSigningCA.crl] > > ]] > > > > security: Thawte Code Signing CA > > security: ObjectId: 2.5.29.31 Criticality=false > > CRLDistributionPoints [ > > [DistributionPoint: > > [URIName: http://crl.thawte.com/ThawtePremiumServerCA.crl] > > ]] > > > > security: This certificate does not have CRL extension > > security: Use CRL setting from certificate > > security: The OCSP support is enabled > > security: Ephox Corporation > > security: ObjectId: 1.3.6.1.5.5.7.1.1 Criticality=false > > AuthorityInfoAccess [ > > [accessMethod: 1.3.6.1.5.5.7.48.1 > > accessLocation: URIName: http://ocsp.thawte.com] > > ] > > > > security: This certificate does not have AIA extension > > security: This certificate does not have AIA extension > > security: Use OCSP setting from certificate > > network: Cache entry not found [url: > > http://crl.thawte.com/ThawtePremiumServerCA.crl, version: null] > > network: Connecting http://crl.thawte.com/ThawtePremiumServerCA.crl > > with > > proxy=DIRECT > > network: Downloading resource: > > http://crl.thawte.com/ThawtePremiumServerCA.crl > > Content-Length: 422,017 > > Content-Encoding: null > > network: Wrote URL http://crl.thawte.com/ThawtePremiumServerCA.crl > > to File > > C:\Documents and Settings\Rob\Application > > Data\Sun\Java\Deployment\cache\6.0\38\2fb889a6-404a5a71-temp > > network: Cache entry not found [url: > > http://crl.thawte.com/ThawteCodeSigningCA.crl, version: null] > > network: Connecting http://crl.thawte.com/ThawteCodeSigningCA.crl with > > proxy=DIRECT > > network: Downloading resource: > http://crl.thawte.com/ThawteCodeSigningCA.crl > > Content-Length: 48,235 > > Content-Encoding: null > > network: Wrote URL http://crl.thawte.com/ThawteCodeSigningCA.crl to > > File > > C:\Documents and Settings\Rob\Application > > Data\Sun\Java\Deployment\cache\6.0\3\3307d003-4cf69ea9-temp > > security: Certificate validation succeeded using CRL > > security: Certificate validation succeeded using OCSP > > security: No timestamping info available > > security: Checking if certificate is in Deployment denied > > certificate store > > security: Checking if certificate is in Deployment permanent > > certificate > > store > > security: Checking if certificate is in Deployment session > > certificate store > > security: Checking if certificate is in Internet Explorer > > TrustedPublisher > > certificate store > > security: User has granted the priviledges to the code forever > > security: Loading Deployment certificates from C:\Documents and > > Settings\Rob\Application Data\Sun\Java\Deployment\security > > \trusted.certs > > security: Loaded Deployment certificates from C:\Documents and > > Settings\Rob\Application Data\Sun\Java\Deployment\security > > \trusted.certs > > security: Adding certificate in Deployment permanent certificate store > > security: Added certificate in Deployment permanent certificate > > store as > > alias deploymentusercert$tsflag9093202056860074473 > > security: Saving Deployment certificates in C:\Documents and > > Settings\Rob\Application Data\Sun\Java\Deployment\security > > \trusted.certs > > security: Saved Deployment certificates in C:\Documents and > > Settings\Rob\Application Data\Sun\Java\Deployment\security > > \trusted.certs > > Initialising System Look And Feel > > network: Cache entry found [url: > > http://site0.localteammania.net:8084/elj-code/editlivejava.jar, > > version: > > null] > > Setting debug level to off > > Setting logger to console > > Initialising System Look And Feel > > Starting using applet: com.ephox.editlive.win.EditLiveJava > > EditLive! Version: 6.3.4.93 > > Java VM Details: Vendor=Sun Microsystems Inc. Vendor > > version=1.6.0_03-b05 > > Java Version=1.6.0_03 > > Default charset: Cp1252 > > Locale: en_US > > Browser UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT > > 5.1; .NET > > CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30) > > liveconnect: Invoking method: public void > > com.ephox.editlive.applets.ELJApplet.pageLoaded(java.lang.String) > > liveconnect: Needs conversion: java.lang.String --> java.lang.String > > network: Connecting socket://site0.localteammania.net:8084 with > > proxy=DIRECT > > network: Cache entry found [url: > > http://site0.localteammania.net:8084/elj-code/editlivejava.jar, > > version: > > null] > > network: Connecting socket://site0.localteammania.net:8084 with > > proxy=DIRECT > > network: Connecting socket://site0.localteammania.net:8084 with > > proxy=DIRECT > > network: Cache entry found [url: > > http://site0.localteammania.net:8084/elj-code/editlivejava.jar, > > version: > > null] > > network: Cache entry found [url: > > http://site0.localteammania.net:8084/elj-code/editlivejava.jar, > > version: > > null] > > network: Connecting socket://f1.teammania.net:80 with proxy=DIRECT > > network: Connecting socket://f1.teammania.net:80 with proxy=DIRECT > > liveconnect: Invoking JS method: document > > liveconnect: Invoking JS method: URL > > basic: Referencing classloader: sun.plugin.ClassLoaderInfo@1dd7056, > > refcount=2 > > basic: Added progress listener: sun.plugin.util.GrayBoxPainter@9e0c2d > > basic: Loading applet ... > > basic: Initializing applet ... > > basic: Starting applet ... > > basic: completed perf rollup > > network: Cache entry found [url: > > http://site0.localteammania.net:8084/elj-code/editlivejava.jar, > > version: > > null] > > liveconnect: Invoking JS method: setFormValue > > liveconnect: Invoking JS method: setFormValue > > liveconnect: Invoking JS method: EditLiveCommonStatic_submitFunction > > basic: Stopping applet ... > > basic: Removed progress listener: > > sun.plugin.util.GrayBoxPainter@1e859c0 > > basic: Finding information ... > > basic: Releasing classloader: sun.plugin.ClassLoaderInfo@1dd7056, > > refcount=1 > > basic: Done ... > > basic: Joining applet thread ... > > basic: Destroying applet ... > > basic: Disposing applet ... > > basic: Joined applet thread ... > > basic: Quiting applet ... > > basic: Stopping applet ... > > basic: Removed progress listener: > > sun.plugin.util.GrayBoxPainter@9e0c2d > > basic: Finding information ... > > basic: Releasing classloader: sun.plugin.ClassLoaderInfo@1dd7056, > > refcount=0 > > basic: Caching classloader: sun.plugin.ClassLoaderInfo@1dd7056 > > basic: Current classloader cache size: 1 > > basic: Done ... > > basic: Joining applet thread ... > > basic: Destroying applet ... > > basic: Disposing applet ... > > basic: Joined applet thread ... > > basic: Quiting applet ... > > liveconnect: Invoking JS method: document > > liveconnect: Invoking JS method: URL > > basic: Referencing classloader: sun.plugin.ClassLoaderInfo@1dd7056, > > refcount=1 > > basic: Added progress listener: sun.plugin.util.GrayBoxPainter@6e96ff > > basic: Loading applet ... > > basic: Initializing applet ... > > basic: Starting applet ... > > basic: completed perf rollup > > Setting debug level to off > > Logger has already been set, please restart to change the logger to > > 'console' > > Initialising System Look And Feel > > Starting using applet: com.ephox.editlive.win.EditLiveJava > > EditLive! Version: 6.3.4.93 > > Java VM Details: Vendor=Sun Microsystems Inc. Vendor > > version=1.6.0_03-b05 > > Java Version=1.6.0_03 > > Default charset: Cp1252 > > Locale: en_US > > Browser UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT > > 5.1; .NET > > CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30) > > network: Connecting socket://site0.localteammania.net:8084 with > > proxy=DIRECT > > network: Connecting socket://site0.localteammania.net:8084 with > > proxy=DIRECT > > liveconnect: Invoking method: public void > > com.ephox.editlive.applets.ELJApplet.pageLoaded(java.lang.String) > > liveconnect: Needs conversion: java.lang.String --> java.lang.String > > network: Connecting socket://f1.teammania.net:80 with proxy=DIRECT > > network: Connecting socket://f1.teammania.net:80 with proxy=DIRECT > > _______________________________________________ > > LiveWorks mailing list > > LiveWorks@... > > http://liveworks.ephox.com/mailing-list/ > > _______________________________________________ > LiveWorks mailing list > LiveWorks@... > http://liveworks.ephox.com/mailing-list/ > LiveWorks mailing list LiveWorks@... http://liveworks.ephox.com/mailing-list/ |
|
|
Re: Plugins used to work, now they don't> 09:39:32:656 [ERROR] InitClassRunnable - -(AWT-EventQueue-2)
> Failed to > load 'com.ephox.autolink.Autolink' from 'autolink.jar' using base > URL ' > http://site0.localteammania.net:8084/elj-code/plugins/autolink.xml'. < > java.lang.SecurityException: Invalid signature file digest for > Manifest main > attributes>java.lang.SecurityException: Invalid signature file > digest for > Manifest main attributes This looks like the jar isn't signed properly. Try the command line tool: jarsigner -verify <jarname> and it will most likely report an error. If you're using the build.xml from the liveworks plugin, try doing an ant clean first. > Also, while reading through your web page ( > http://liveworks.ephox.com/2007/04/04/using-plug-ins-to-extend-editlive/) > , I > found a link that does not work: > http://www.ephox.com/developers/editliveforjava/v60/js/simplePlugin/simplePlugin.html > > It displays the EditLive control and then tells me that my "30 day > trial has > expired". Yeah we copy that straight from the distribution so it only contains a localhost license and apparently your trial for ephox.com has expired. It should still be useful to do a view source to see how it all works etc. Alternatively the same example is in the downloadable SDK and will run from localhost. Regards, Adrian Sutton. ______________________ Adrian Sutton, CTO US: +1 (650) 292 9659 x717 UK: +44 (20) 8123 0617 x717 Australia: +61 (7) 3858 0118 Ephox <http://www.ephox.com/> Ephox Blogs <http://planet.ephox.com/>, Personal Blog <http://www.symphonious.net/ > _______________________________________________ LiveWorks mailing list LiveWorks@... http://liveworks.ephox.com/mailing-list/ |
|
|
Re: Plugins used to work, now they don'tThat's it: I was not signing the autolink.jar file. I had moved the code
over to my Eclipse IDE and built it there, not looking at the Ant build.xmlfile, where I later found the "signjar" command. I pulled that section out and now run that immediately after I build the jar. Thanks again for your help and quick turn-around. -Rob On Jan 13, 2008 4:08 PM, Adrian Sutton <adrian.sutton@...> wrote: > > 09:39:32:656 [ERROR] InitClassRunnable - -(AWT-EventQueue-2) > > Failed to > > load 'com.ephox.autolink.Autolink' from 'autolink.jar' using base > > URL ' > > http://site0.localteammania.net:8084/elj-code/plugins/autolink.xml'. < > > java.lang.SecurityException: Invalid signature file digest for > > Manifest main > > attributes>java.lang.SecurityException: Invalid signature file > > digest for > > Manifest main attributes > > This looks like the jar isn't signed properly. Try the command line > tool: jarsigner -verify <jarname> and it will most likely report an > error. If you're using the build.xml from the liveworks plugin, try > doing an ant clean first. > > > Also, while reading through your web page ( > > http://liveworks.ephox.com/2007/04/04/using-plug-ins-to-extend-editlive/ > ) > > , I > > found a link that does not work: > > > http://www.ephox.com/developers/editliveforjava/v60/js/simplePlugin/simplePlugin.html > > > > It displays the EditLive control and then tells me that my "30 day > > trial has > > expired". > > Yeah we copy that straight from the distribution so it only contains a > localhost license and apparently your trial for ephox.com has expired. > It should still be useful to do a view source to see how it all works > etc. Alternatively the same example is in the downloadable SDK and > will run from localhost. > > Regards, > > Adrian Sutton. > ______________________ > Adrian Sutton, CTO > US: +1 (650) 292 9659 x717 UK: +44 (20) 8123 0617 x717 Australia: +61 > (7) 3858 0118 > Ephox <http://www.ephox.com/> > Ephox Blogs <http://planet.ephox.com/>, Personal Blog < > http://www.symphonious.net/ > > > > _______________________________________________ > LiveWorks mailing list > LiveWorks@... > http://liveworks.ephox.com/mailing-list/ > LiveWorks mailing list LiveWorks@... http://liveworks.ephox.com/mailing-list/ |
| Free Forum Powered by Nabble | Forum Help |