You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2012/09/06 15:57:08 UTC

[jira] [Created] (SYNCOPE-206) Create standalone distribution

Colm O hEigeartaigh created SYNCOPE-206:
-------------------------------------------

             Summary: Create standalone distribution
                 Key: SYNCOPE-206
                 URL: https://issues.apache.org/jira/browse/SYNCOPE-206
             Project: Syncope
          Issue Type: Improvement
            Reporter: Colm O hEigeartaigh
             Fix For: 1.1.0-incubating




This task is to create a Tomcat based standalone distribution by packing the cargo configuration currently used for the console's dev profile. See this discussion thread for more information:

http://syncope-user.1051894.n5.nabble.com/DISCUSS-Create-Apache-Syncope-distribution-td5706676.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (SYNCOPE-206) Create standalone distribution

Posted by "Massimiliano Perrone (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNCOPE-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Massimiliano Perrone updated SYNCOPE-206:
-----------------------------------------

    Attachment: issueSYNCOPE206.patch

Patch with Colm's suggestions.
Check it please :)
                
> Create standalone distribution
> ------------------------------
>
>                 Key: SYNCOPE-206
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-206
>             Project: Syncope
>          Issue Type: Improvement
>            Reporter: Colm O hEigeartaigh
>            Assignee: Massimiliano Perrone
>             Fix For: 1.1.0
>
>         Attachments: issueSYNCOPE206.patch, issueSYNCOPE206.patch, issueSYNCOPE206.patch, issueSYNCOPE206.patch
>
>
> This task is to create a Tomcat based standalone distribution by packing the cargo configuration currently used for the console's dev profile. See this discussion thread for more information:
> http://syncope-user.1051894.n5.nabble.com/DISCUSS-Create-Apache-Syncope-distribution-td5706676.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (SYNCOPE-206) Create standalone distribution

Posted by "Massimiliano Perrone (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNCOPE-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Massimiliano Perrone updated SYNCOPE-206:
-----------------------------------------

    Attachment: issueSYNCOPE206.patch

Hi guys, this is my incomplete patch to solve this issue. 

I used maven-antrun-plugin to create standalone directory containing: 
*) Tomcat
*) Syncope Core
*) Syncope Console
*) Syncope Build Tools
*) Libraries

and maven-assembly-plugin to create final zip file.

Now I have two questions:

1) What can I do to execute my ant task at the end of all other modules?
Now I execute mvn clean verify before and then mvn install otherwise I obtain:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (Standalone Version) on project syncope: An Ant BuildException has occured: /home/massi/Lavoro/apache/trunk/core/target/syncope-core-test does not exist.
[ERROR] around Ant part ...<copy todir="target/standalone/apache-tomcat-7.0.32/webapps/syncope">... @ 6:72 in /home/massi/Lavoro/apache/trunk/target/antrun/build-main.xml

2) What can I do to create (with antrun plugin or assembly plugin) a "setenv.sh" file into tomcat directory, with memory extensions, otherwise I have a PermGen error. 

Can anyone help me?

Massimiliano
                
> Create standalone distribution
> ------------------------------
>
>                 Key: SYNCOPE-206
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-206
>             Project: Syncope
>          Issue Type: Improvement
>            Reporter: Colm O hEigeartaigh
>             Fix For: 1.1.0-incubating
>
>         Attachments: issueSYNCOPE206.patch
>
>
> This task is to create a Tomcat based standalone distribution by packing the cargo configuration currently used for the console's dev profile. See this discussion thread for more information:
> http://syncope-user.1051894.n5.nabble.com/DISCUSS-Create-Apache-Syncope-distribution-td5706676.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Reopened] (SYNCOPE-206) Create standalone distribution

Posted by "Massimiliano Perrone (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNCOPE-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Massimiliano Perrone reopened SYNCOPE-206:
------------------------------------------


Browser multi-tab error :)
                
> Create standalone distribution
> ------------------------------
>
>                 Key: SYNCOPE-206
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-206
>             Project: Syncope
>          Issue Type: Improvement
>            Reporter: Colm O hEigeartaigh
>             Fix For: 1.1.0-incubating
>
>
> This task is to create a Tomcat based standalone distribution by packing the cargo configuration currently used for the console's dev profile. See this discussion thread for more information:
> http://syncope-user.1051894.n5.nabble.com/DISCUSS-Create-Apache-Syncope-distribution-td5706676.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (SYNCOPE-206) Create standalone distribution

Posted by "Massimiliano Perrone (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNCOPE-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Massimiliano Perrone updated SYNCOPE-206:
-----------------------------------------

    Attachment: issueSYNCOPE206.patch

To solve the questions I added a new module called standalone.
Now, using Syncope Console,  I have this exception: Interceptor for {http://interfaces.provisioning.soap.bundles.connid.org/}ProvisioningService#{http://interfaces.provisioning.soap.bundles.connid.org/}checkAlive has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not send Message.
	at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
	at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:531)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:461)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:364)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:317)
	at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:88)
	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)
	at $Proxy142.checkAlive(Unknown Source)
	at org.connid.bundles.soap.WebServiceConnection.test(WebServiceConnection.java:121)

                
> Create standalone distribution
> ------------------------------
>
>                 Key: SYNCOPE-206
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-206
>             Project: Syncope
>          Issue Type: Improvement
>            Reporter: Colm O hEigeartaigh
>             Fix For: 1.1.0-incubating
>
>         Attachments: issueSYNCOPE206.patch, issueSYNCOPE206.patch
>
>
> This task is to create a Tomcat based standalone distribution by packing the cargo configuration currently used for the console's dev profile. See this discussion thread for more information:
> http://syncope-user.1051894.n5.nabble.com/DISCUSS-Create-Apache-Syncope-distribution-td5706676.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (SYNCOPE-206) Create standalone distribution

Posted by "Massimiliano Perrone (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNCOPE-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Massimiliano Perrone resolved SYNCOPE-206.
------------------------------------------

    Resolution: Fixed

http://svn.apache.org/viewvc?rev=1401200&view=rev

                
> Create standalone distribution
> ------------------------------
>
>                 Key: SYNCOPE-206
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-206
>             Project: Syncope
>          Issue Type: Improvement
>            Reporter: Colm O hEigeartaigh
>             Fix For: 1.1.0-incubating
>
>
> This task is to create a Tomcat based standalone distribution by packing the cargo configuration currently used for the console's dev profile. See this discussion thread for more information:
> http://syncope-user.1051894.n5.nabble.com/DISCUSS-Create-Apache-Syncope-distribution-td5706676.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (SYNCOPE-206) Create standalone distribution

Posted by "Massimiliano Perrone (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNCOPE-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Massimiliano Perrone reassigned SYNCOPE-206:
--------------------------------------------

    Assignee: Massimiliano Perrone
    
> Create standalone distribution
> ------------------------------
>
>                 Key: SYNCOPE-206
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-206
>             Project: Syncope
>          Issue Type: Improvement
>            Reporter: Colm O hEigeartaigh
>            Assignee: Massimiliano Perrone
>             Fix For: 1.1.0
>
>         Attachments: issueSYNCOPE206.patch, issueSYNCOPE206.patch
>
>
> This task is to create a Tomcat based standalone distribution by packing the cargo configuration currently used for the console's dev profile. See this discussion thread for more information:
> http://syncope-user.1051894.n5.nabble.com/DISCUSS-Create-Apache-Syncope-distribution-td5706676.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (SYNCOPE-206) Create standalone distribution

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNCOPE-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13495192#comment-13495192 ] 

Colm O hEigeartaigh commented on SYNCOPE-206:
---------------------------------------------


I get the following error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (Standalone Version) on project syncope-standalone: An Ant BuildException has occured: Warning: Could not find file /home/colm/.m2/repository/org/apache/openjpa/openjpa-all/2.2.1/openjpa-all-2.2.1.jar to copy.

openjpa-all does not appear to be a dependency for Syncope trunk and so that line can be removed from standalone/pom.xml

Apart from that it looks good! One error I noticed is that Syncope is logging to CATALINA_HOME/log instead of the root "log" directory.

Finally, I wonder instead of having a directory structure that looks like:

apache-tomcat-X
bundles
log

Should we not just merge the apache-tomcat-X/* into the root dir, e.g.:

bin   bundles lib  log   NOTICE  RELEASE-NOTES  temp     work
conf  LICENSE  logs  README  RUNNING.txt    webapps

In that way we can just tell the user to execute "bin/startup.sh". I think given that it is a standalone distribution we don't have to maintain total separation between the container and the Syncope directories. But it's a minor point...

Colm.
                
> Create standalone distribution
> ------------------------------
>
>                 Key: SYNCOPE-206
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-206
>             Project: Syncope
>          Issue Type: Improvement
>            Reporter: Colm O hEigeartaigh
>            Assignee: Massimiliano Perrone
>             Fix For: 1.1.0
>
>         Attachments: issueSYNCOPE206.patch, issueSYNCOPE206.patch, issueSYNCOPE206.patch
>
>
> This task is to create a Tomcat based standalone distribution by packing the cargo configuration currently used for the console's dev profile. See this discussion thread for more information:
> http://syncope-user.1051894.n5.nabble.com/DISCUSS-Create-Apache-Syncope-distribution-td5706676.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (SYNCOPE-206) Create standalone distribution

Posted by "Massimiliano Perrone (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNCOPE-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13495207#comment-13495207 ] 

Massimiliano Perrone commented on SYNCOPE-206:
----------------------------------------------

I agree with you. I'll implement this enhancement next week.

Massimiliano
                
> Create standalone distribution
> ------------------------------
>
>                 Key: SYNCOPE-206
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-206
>             Project: Syncope
>          Issue Type: Improvement
>            Reporter: Colm O hEigeartaigh
>            Assignee: Massimiliano Perrone
>             Fix For: 1.1.0
>
>         Attachments: issueSYNCOPE206.patch, issueSYNCOPE206.patch, issueSYNCOPE206.patch
>
>
> This task is to create a Tomcat based standalone distribution by packing the cargo configuration currently used for the console's dev profile. See this discussion thread for more information:
> http://syncope-user.1051894.n5.nabble.com/DISCUSS-Create-Apache-Syncope-distribution-td5706676.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (SYNCOPE-206) Create standalone distribution

Posted by "Massimiliano Perrone (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNCOPE-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Massimiliano Perrone updated SYNCOPE-206:
-----------------------------------------

    Attachment: issueSYNCOPE206.patch

Hi guys, this patch solve issue. Please check it.
                
> Create standalone distribution
> ------------------------------
>
>                 Key: SYNCOPE-206
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-206
>             Project: Syncope
>          Issue Type: Improvement
>            Reporter: Colm O hEigeartaigh
>            Assignee: Massimiliano Perrone
>             Fix For: 1.1.0
>
>         Attachments: issueSYNCOPE206.patch, issueSYNCOPE206.patch, issueSYNCOPE206.patch
>
>
> This task is to create a Tomcat based standalone distribution by packing the cargo configuration currently used for the console's dev profile. See this discussion thread for more information:
> http://syncope-user.1051894.n5.nabble.com/DISCUSS-Create-Apache-Syncope-distribution-td5706676.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira