Deploy su alfresco di una definizione di processo(.jpdl.xml)

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2010 03:44 AM
Ciao a tutti,
ho installato Afresco "Alfresco-Community-3.3g-Linux-x86-Install" e mi si è creata la cartella Alfresco. Mi è stato chiesto di creare una database e l'ho creato e controllato l'esistenza con "mysql aministrator".
Ora vorrei capire come fare a deployare una definizione di processo(.jpdl.xml) eseguita tramite il plugin di eclipse e se c'è una console che permette la visualizzazione userfriendly.
Premetto che ho installato jbossAS e jbpm4.3(la console jbossAS non mi visualizza la definizione di processo per problemi di deploy) quindi se è possibile integrare la console jboss-jbpm con alfresco benvenga.
Grazie..attendo consigli
Andrea
ho installato Afresco "Alfresco-Community-3.3g-Linux-x86-Install" e mi si è creata la cartella Alfresco. Mi è stato chiesto di creare una database e l'ho creato e controllato l'esistenza con "mysql aministrator".
Ora vorrei capire come fare a deployare una definizione di processo(.jpdl.xml) eseguita tramite il plugin di eclipse e se c'è una console che permette la visualizzazione userfriendly.
Premetto che ho installato jbossAS e jbpm4.3(la console jbossAS non mi visualizza la definizione di processo per problemi di deploy) quindi se è possibile integrare la console jboss-jbpm con alfresco benvenga.
Grazie..attendo consigli
Andrea
Labels:
- Labels:
-
Archive
7 REPLIES 7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2010 04:04 AM
In realtà Alfresco ha internamente un'istanza di JBoss JBPM quindi non serve installarne un'altra separata.
Ti consiglio di utilizzare il JBoss Designer per deployare workflow all'interno di Alfresco:
http://wiki.alfresco.com/wiki/WorkflowAdministration#Process_Designer_developed_Process_Archive
In ogni caso all'interno di Alfresco è possibile utilizzare la Workflow Console:
http://wiki.alfresco.com/wiki/Workflow_Console
Oppure puoi iniziare ad usare Activiti per realizzare workflow con un'interfaccia più user-friendly:
http://forums.alfresco.com/it/viewtopic.php?f=2&t=141
Spero sia utile.
Ti consiglio di utilizzare il JBoss Designer per deployare workflow all'interno di Alfresco:
http://wiki.alfresco.com/wiki/WorkflowAdministration#Process_Designer_developed_Process_Archive
In ogni caso all'interno di Alfresco è possibile utilizzare la Workflow Console:
http://wiki.alfresco.com/wiki/Workflow_Console
Oppure puoi iniziare ad usare Activiti per realizzare workflow con un'interfaccia più user-friendly:
http://forums.alfresco.com/it/viewtopic.php?f=2&t=141
Spero sia utile.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2010 05:02 AM
Guardando i tuoi link mi sono accorto che ./alf_start.sh non mi avvia correttamente il server. Nel file di log presente dentro la cartella Aflresco ci sono delle eccezioni e "http://localhost:8080/alfresco/faces/jsp/admin/workflow-console.jps" non è raggiungibile.
Ma una volta installato, devo configurarlo tramite comandi da terminale?
Per quanto riguarda i link sono molto interessanti e risolto l'avvio corretto credo di non aver grossi problemi
Ma una volta installato, devo configurarlo tramite comandi da terminale?
Per quanto riguarda i link sono molto interessanti e risolto l'avvio corretto credo di non aver grossi problemi


Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2010 05:08 AM
http://localhost:8080/alfresco/faces/jsp/admin/workflow-console.jpsOcchio che deve essere una JSP quindi devi puntare il browser quì:
http://<host>:<port>/alfresco/faces/jsp/admin/workflow-console.jsp
Ma una volta installato, devo configurarlo tramite comandi da terminale?No, se parte Alfresco correttamente, devi solamente deployare i tuoi workflow.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2010 05:19 AM
si, scusami, nel riscrivere ho sbagliato comunque continua a non funzionare.
Quello che ho fatto è stato:
-lanciare l'installazione per linux
-seguire la procedura guidata
-installare,sempre con la procedura, il database
Poi, per avviare il server, ho letto che bisogna usare il comando ./alf_start.sh dall'interno della cartella Afresco.
A questo punto http://localhost:8080/alfresco/faces/jsp/admin/workflow-console.jsp dovrebbe farmi apparire la console ma è come se il server non fosse avviato.
Quello che ho fatto è stato:
-lanciare l'installazione per linux
-seguire la procedura guidata
-installare,sempre con la procedura, il database
Poi, per avviare il server, ho letto che bisogna usare il comando ./alf_start.sh dall'interno della cartella Afresco.
A questo punto http://localhost:8080/alfresco/faces/jsp/admin/workflow-console.jsp dovrebbe farmi apparire la console ma è come se il server non fosse avviato.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2010 05:20 AM
Devi prima autenticarti su Alfresco con l'utente admin e password admin da quì:
http://localhost:8080/alfresco
http://localhost:8080/alfresco

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2010 05:44 AM
niente da fare…il problema è proprio sull'avvio del server di alfresco. Dal file di log (alfresco.log) risultano i seguenti errori:
[……..]
11:33:36,004 INFO [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
11:33:36,060 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformerWorker] ImageMagickContentTransformerWorker not available: 06150000 Failed to perform ImageMagick transformation:
Execution result:
os: Linux
command: [/usr/local/bin/convert, /home/italsoft/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_init_source_6813122722333925098.gif[0], /home/italsoft/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_init_target_6561663635350689310.png]
succeeded: false
exit code: 1
out:
err: Cannot run program "/usr/local/bin/convert": java.io.IOException: error=2, No such file or directory
11:33:36,094 ERROR [org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker] Failed to start a runtime executable content transformer:
Execution result:
os: Linux
command: [/home/italsoft/Alfresco/bin/pdf2swf, -V]
succeeded: false
exit code: 1
out:
err: Cannot run program "/home/italsoft/Alfresco/bin/pdf2swf": java.io.IOException: error=2, No such file or directory
11:33:36,098 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
11:33:36,098 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
11:33:36,111 INFO [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
11:33:36,330 ERROR [org.alfresco.util.exec.RuntimeExecBootstrapBean] Bootstrap command failed:
Execution result:
os: Linux
command: [/home/italsoft/Alfresco/program/soffice, -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager, -env:UserInstallation=file:///home/italsoft/Alfresco/<%ShortInstallDir%>/alf_data/oouser, -nologo, -headless, -nofirststartwizard, -nocrashrep, -norestore]
succeeded: false
exit code: 2
out:
err: Cannot run program "/home/italsoft/Alfresco/program/soffice": java.io.IOException: error=2, No such file or directory
11:33:36,392 WARN [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
[……..]
[……..]
11:33:36,004 INFO [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
11:33:36,060 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformerWorker] ImageMagickContentTransformerWorker not available: 06150000 Failed to perform ImageMagick transformation:
Execution result:
os: Linux
command: [/usr/local/bin/convert, /home/italsoft/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_init_source_6813122722333925098.gif[0], /home/italsoft/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_init_target_6561663635350689310.png]
succeeded: false
exit code: 1
out:
err: Cannot run program "/usr/local/bin/convert": java.io.IOException: error=2, No such file or directory
11:33:36,094 ERROR [org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker] Failed to start a runtime executable content transformer:
Execution result:
os: Linux
command: [/home/italsoft/Alfresco/bin/pdf2swf, -V]
succeeded: false
exit code: 1
out:
err: Cannot run program "/home/italsoft/Alfresco/bin/pdf2swf": java.io.IOException: error=2, No such file or directory
11:33:36,098 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
11:33:36,098 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
11:33:36,111 INFO [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
11:33:36,330 ERROR [org.alfresco.util.exec.RuntimeExecBootstrapBean] Bootstrap command failed:
Execution result:
os: Linux
command: [/home/italsoft/Alfresco/program/soffice, -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager, -env:UserInstallation=file:///home/italsoft/Alfresco/<%ShortInstallDir%>/alf_data/oouser, -nologo, -headless, -nofirststartwizard, -nocrashrep, -norestore]
succeeded: false
exit code: 2
out:
err: Cannot run program "/home/italsoft/Alfresco/program/soffice": java.io.IOException: error=2, No such file or directory
11:33:36,392 WARN [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
[……..]

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2010 09:35 AM
problema risolto..ora devo capire come vedere nella console la definizione di processo deployata direttamente dal tool di eclipse.
Mi è bastato disinstallare e reinstallare alfresco.
Mi è bastato disinstallare e reinstallare alfresco.
