<?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 Need to restart alfresco every time I change a web script? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/need-to-restart-alfresco-every-time-i-change-a-web-script/m-p/265793#M218923</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there any other way of deploying a &lt;/SPAN&gt;&lt;STRONG&gt;java based&lt;/STRONG&gt;&lt;SPAN&gt; web script without restarting alfresco in tomcat manager. It takes at least several minutes to start the whole alfresco application again, so it's painfully slow development.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using NetBeans where i included all the JARs from c:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\ and then I create my own JAR, copy it into same folder and restart alfresco in tomcat. Only then does my webscript reload.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Nov 2011 02:25:12 GMT</pubDate>
    <dc:creator>cile87</dc:creator>
    <dc:date>2011-11-30T02:25:12Z</dc:date>
    <item>
      <title>Need to restart alfresco every time I change a web script?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-to-restart-alfresco-every-time-i-change-a-web-script/m-p/265793#M218923</link>
      <description>Is there any other way of deploying a java based web script without restarting alfresco in tomcat manager. It takes at least several minutes to start the whole alfresco application again, so it's painfully slow development.I'm using NetBeans where i included all the JARs from c:\Alfresco\tomcat\weba</description>
      <pubDate>Wed, 30 Nov 2011 02:25:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-to-restart-alfresco-every-time-i-change-a-web-script/m-p/265793#M218923</guid>
      <dc:creator>cile87</dc:creator>
      <dc:date>2011-11-30T02:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Need to restart alfresco every time I change a web script?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-to-restart-alfresco-every-time-i-change-a-web-script/m-p/265794#M218924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is there any other way of deploying a java based web script without restarting alfresco in tomcat manager. It takes at least several minutes to start the whole alfresco application again, so it's painfully slow development.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;No, because each WebScript must be declared as a Spring Bean that by default it is a singleton. This means that all the WebScripts must be declared and instantiated only at bootstrap time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should manage Spring beans programmatically using the Spring Core API adding beans using Java and trying to copy the classes directly in the deploy folder of Tomcat following the classpath resource. But anyway this is not a clean way to follow to manage a development project as an Alfresco extension project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 12:04:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-to-restart-alfresco-every-time-i-change-a-web-script/m-p/265794#M218924</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2011-11-30T12:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need to restart alfresco every time I change a web script?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-to-restart-alfresco-every-time-i-change-a-web-script/m-p/265795#M218925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When I've developed Java backed web scripts I've used Unit Tests and run them from within Eclipse.&amp;nbsp;&amp;nbsp; There's no need to deploy and restart tomcat, except the first time when the spring config is changed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 13:29:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-to-restart-alfresco-every-time-i-change-a-web-script/m-p/265795#M218925</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2011-11-30T13:29:53Z</dc:date>
    </item>
  </channel>
</rss>

