<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Exception in Share when executing http method from applet in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/exception-in-share-when-executing-http-method-from-applet/m-p/262593#M215723</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looks like you need to play around with the &amp;lt;applet&amp;gt;/&amp;lt;embed&amp;gt;/&amp;lt;object&amp;gt; tags and make sure you make all the .jar files that the applet requires are available.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Try packaging all your custom files in a custom jar file, i.e. acme-applet-extension.jar and make sure to place it in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tomcat/shared/lib/&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now make sure acme-applet-extension.jar contains all your code and especially the .jars and .properites files (i.e. commons-logging.properties) that the applet depends on inside the jar files META_INF folder: applet-extension.jar!/META-INF/acme/java/&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then make sure to have the &amp;lt;applet&amp;gt;'s "codebase" parameter pointing to something like /share/res/acme/java and see if you can get the applet to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You should now get the applet to request /share/res/acme/java/commons-logging.properties instead of giving you an error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you haven't invested a lot of time in this already I would recommend implementing this using javascript if possible (YUI or jquery) since I'm pretty sure you will run into additional problems &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers and good luck, Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jan 2012 10:41:34 GMT</pubDate>
    <dc:creator>erikwinlof</dc:creator>
    <dc:date>2012-01-02T10:41:34Z</dc:date>
    <item>
      <title>Exception in Share when executing http method from applet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-in-share-when-executing-http-method-from-applet/m-p/262591#M215721</link>
      <description>I had an applet embeded in share using a client side javascript. The applet invokes custom script in alfresco. The problem is the following exception in share (the result from the script is ok). I use some custom libs in the applet and commons-httpclient 3.1 to communicate with alfresco. SEVERE: Ser</description>
      <pubDate>Sun, 08 May 2011 19:33:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-in-share-when-executing-http-method-from-applet/m-p/262591#M215721</guid>
      <dc:creator>hackyou</dc:creator>
      <dc:date>2011-05-08T19:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in Share when executing http method from applet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-in-share-when-executing-http-method-from-applet/m-p/262592#M215722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looks like the problem comes from the commons-logging API which most apache commons library depend on. Is the commons-logging.jar in the applet's classpath?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2011 13:20:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-in-share-when-executing-http-method-from-applet/m-p/262592#M215722</guid>
      <dc:creator>amitev</dc:creator>
      <dc:date>2011-05-09T13:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in Share when executing http method from applet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-in-share-when-executing-http-method-from-applet/m-p/262593#M215723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looks like you need to play around with the &amp;lt;applet&amp;gt;/&amp;lt;embed&amp;gt;/&amp;lt;object&amp;gt; tags and make sure you make all the .jar files that the applet requires are available.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Try packaging all your custom files in a custom jar file, i.e. acme-applet-extension.jar and make sure to place it in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tomcat/shared/lib/&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now make sure acme-applet-extension.jar contains all your code and especially the .jars and .properites files (i.e. commons-logging.properties) that the applet depends on inside the jar files META_INF folder: applet-extension.jar!/META-INF/acme/java/&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then make sure to have the &amp;lt;applet&amp;gt;'s "codebase" parameter pointing to something like /share/res/acme/java and see if you can get the applet to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You should now get the applet to request /share/res/acme/java/commons-logging.properties instead of giving you an error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you haven't invested a lot of time in this already I would recommend implementing this using javascript if possible (YUI or jquery) since I'm pretty sure you will run into additional problems &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers and good luck, Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2012 10:41:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-in-share-when-executing-http-method-from-applet/m-p/262593#M215723</guid>
      <dc:creator>erikwinlof</dc:creator>
      <dc:date>2012-01-02T10:41:34Z</dc:date>
    </item>
  </channel>
</rss>

