AnsweredAssumed Answered

Problem executing SampleRunnable and ProgrammeRunnable class

Question asked by davix on Mar 28, 2011
Latest reply on Mar 28, 2011 by davix
Hi,

I was trying to run these two classes –SampleRunnable and ProgrammeRunnable. I'm on Windows XP and using Alfresco 3.4

Now, when I run SampleRunnable, I get two files
(1)dep-record-7b468de4-bc30-42b3-a620-df08b53812fe and
(2)dep-record-41b11a6a-ff50-4f7c-96c4-1b6a3ad1e9f4.
Are these the expected outputs of SampleRunnable?

Next, I'm running ProgrammeRunnable. Here is my configuration.

<bean id="sampleProgramRunnable" class="org.alfresco.deployment.ProgramRunnable">
         <property name="program"><value>C:\\Program Files (x86)\\Apache Software Foundation\\Apache2.2\\htdocs\\goafinalportal\\goa</value></property>
        
         <property name="arguments">
             <list>
                 <value>C:\Dump.txt</value>
             </list>
         </property>

         <property name="directory"><value>C:\\Program Files (x86)\\Apache Software Foundation\\Apache2.2\\htdocs\\goafinalportal\\goa</value></property>
     </bean>

Now, when I start deployment, I get this error – 02280000 Error thrown in prepare; rolled back. When I checked the deployment.log it says Error thrown in prepare; rolled back
java.lang.NullPointerException

Am I giving any properties wrong? Please let me know. Thanks!

Outcomes