You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@syncope.apache.org by Ömer Faruk Ak <ma...@gmail.com> on 2013/02/13 21:51:22 UTC
Run Syncope in embedded mode
I'm trying to start up Syncope in basic embedded mode. Firstly i download
it from here:http://syncope.apache.org/downloads.html then install maven to
my Ubuntu 12.04 from repo. Then with maven 3 i build syncope with this
settings
mvn archetype:generate \
-DarchetypeGroupId=org.apache.syncope \
-DarchetypeArtifactId=syncope-archetype \
-DarchetypeRepository=http://repo1.maven.org/maven2 \
-DarchetypeVersion=1.0.5
from here:
https://cwiki.apache.org/confluence/display/SYNCOPE/Create+a+new+Syncope+project
then
run this command:
mvn clean package
Finally i want to try console demo and from this page
https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+embedded+mode
i
used this command
mvn -P embedded
it build project again and gives this warning:
[WARNING] The requested profile "embedded" could not be activated
because it does not exist.
How can i run this application?
--
Ömer Faruk AK
faruk@iyte.net
555 557 12 45
www.omerfarukak.com
Re: Run Syncope in embedded mode
Posted by Ömer Faruk AK <om...@gmail.com>.
Sorry, my fault. It's working as you say now. :)
2013/2/18 Ömer Faruk AK <om...@gmail.com>
> As i said before for now in /opt/syncope/bundles folder i have only this
> jar
>
>
> http://repo1.maven.org/maven2/org/connid/bundles/db/org.connid.bundles.db.table/2.1.4/org.connid.bundles.db.table-2.1.4.jar
>
> and i'm getting that error. I have only 1 jar file in bundles folder,
> it's still normal, so will we wait for next release? :)
>
>
> 2013/2/18 Francesco Chicchiriccò <il...@apache.org>
>
>> On 17/02/2013 23:34, Ömer Faruk AK wrote:
>>
>> In tomcat/lib we have jdbc connector. And our bundles directory was
>> empty, still syncope can connect to mysql db i know because it created some
>> tables.
>>
>>
>> As Jesse correctly points out below, these are two completely separated
>> aspects:
>>
>> 1. you get tables created in MySQL because you have configured Syncope
>> to have its own internal storage on MySQL (and this required you to put the
>> MySQL JDBC driver JAR in $CATALINA_HOME/lib);
>>
>> 2. connectors (and resources) are needed for establishing relationships
>> between users in Syncope and users on external containers (LDAP, other
>> RDBMS, whatever). Read [1] for some information about what connectors and
>> resources are in Syncope.
>>
>>
>> Now, if you want to configure a database as external resource (2), you
>> are dealing with something completely different than the internal storage
>> (1): please be aware that this external resource could even be backed up by
>> the same MySQL instance you are using for internal storage, it doesn't
>> matter, it is something conceptually different.
>>
>> So now i'm confused, why i'm getting this error
>> [...]
>>
>> Last cause: List of choices is null - Was the supplied 'Choices' model
>> empty?
>> When i tried to open *Resources -> **Connectors *tab and clicked *Create
>> new Connector *button section?
>>
>>
>> Hei hei, compliments, you've found a bug :-)
>> I have created SYNCOPE-316 [2] for this: the fix will be included in
>> 1.0.6; for the moment you must have at least one connector bundle in the
>> bundles directory *before* starting up Tomcat.
>>
>> Finally, I'd suggest you to take a look at [3] for understanding how to
>> add a database resource.
>>
>> Regards.
>>
>> [1]
>> https://cwiki.apache.org/confluence/display/SYNCOPE/Connectors+and+resources
>> [2] https://issues.apache.org/jira/browse/SYNCOPE-316
>> [3]
>> https://cwiki.apache.org/confluence/display/SYNCOPE/Configure+a+Database+resource
>>
>> --
>> Francesco Chicchiriccò
>>
>> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Memberhttp://people.apache.org/~ilgrosso/
>>
>>
>
>
> --
> Ömer Faruk AK
> faruk@iyte.net
> 555 557 12 45
> www.omerfarukak.com
>
--
Ömer Faruk AK
faruk@iyte.net
555 557 12 45
www.omerfarukak.com
Re: Run Syncope in embedded mode
Posted by Ömer Faruk AK <om...@gmail.com>.
As i said before for now in /opt/syncope/bundles folder i have only this jar
http://repo1.maven.org/maven2/org/connid/bundles/db/org.connid.bundles.db.table/2.1.4/org.connid.bundles.db.table-2.1.4.jar
and i'm getting that error. I have only 1 jar file in bundles folder, it's
still normal, so will we wait for next release? :)
2013/2/18 Francesco Chicchiriccò <il...@apache.org>
> On 17/02/2013 23:34, Ömer Faruk AK wrote:
>
> In tomcat/lib we have jdbc connector. And our bundles directory was empty,
> still syncope can connect to mysql db i know because it created some
> tables.
>
>
> As Jesse correctly points out below, these are two completely separated
> aspects:
>
> 1. you get tables created in MySQL because you have configured Syncope
> to have its own internal storage on MySQL (and this required you to put the
> MySQL JDBC driver JAR in $CATALINA_HOME/lib);
>
> 2. connectors (and resources) are needed for establishing relationships
> between users in Syncope and users on external containers (LDAP, other
> RDBMS, whatever). Read [1] for some information about what connectors and
> resources are in Syncope.
>
>
> Now, if you want to configure a database as external resource (2), you are
> dealing with something completely different than the internal storage (1):
> please be aware that this external resource could even be backed up by the
> same MySQL instance you are using for internal storage, it doesn't matter,
> it is something conceptually different.
>
> So now i'm confused, why i'm getting this error
> [...]
>
> Last cause: List of choices is null - Was the supplied 'Choices' model
> empty?
> When i tried to open *Resources -> **Connectors *tab and clicked *Create
> new Connector *button section?
>
>
> Hei hei, compliments, you've found a bug :-)
> I have created SYNCOPE-316 [2] for this: the fix will be included in
> 1.0.6; for the moment you must have at least one connector bundle in the
> bundles directory *before* starting up Tomcat.
>
> Finally, I'd suggest you to take a look at [3] for understanding how to
> add a database resource.
>
> Regards.
>
> [1]
> https://cwiki.apache.org/confluence/display/SYNCOPE/Connectors+and+resources
> [2] https://issues.apache.org/jira/browse/SYNCOPE-316
> [3]
> https://cwiki.apache.org/confluence/display/SYNCOPE/Configure+a+Database+resource
>
> --
> Francesco Chicchiriccò
>
> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Memberhttp://people.apache.org/~ilgrosso/
>
>
--
Ömer Faruk AK
faruk@iyte.net
555 557 12 45
www.omerfarukak.com
Re: Run Syncope in embedded mode
Posted by Francesco Chicchiriccò <il...@apache.org>.
On 17/02/2013 23:34, Ömer Faruk AK wrote:
> In tomcat/lib we have jdbc connector. And our bundles directory was
> empty, still syncope can connect to mysql db i know because it created
> some tables.
As Jesse correctly points out below, these are two completely separated
aspects:
1. you get tables created in MySQL because you have configured
Syncope to have its own internal storage on MySQL (and this required you
to put the MySQL JDBC driver JAR in $CATALINA_HOME/lib);
2. connectors (and resources) are needed for establishing
relationships between users in Syncope and users on external containers
(LDAP, other RDBMS, whatever). Read [1] for some information about what
connectors and resources are in Syncope.
Now, if you want to configure a database as external resource (2), you
are dealing with something completely different than the internal
storage (1): please be aware that this external resource could even be
backed up by the same MySQL instance you are using for internal storage,
it doesn't matter, it is something conceptually different.
> So now i'm confused, why i'm getting this error
> [...]
> Last cause: List of choices is null - Was the supplied 'Choices' model
> empty?
> When i tried to open /Resources -> //Connectors /tab and clicked
> /Create new Connector /button section?
Hei hei, compliments, you've found a bug :-)
I have created SYNCOPE-316 [2] for this: the fix will be included in
1.0.6; for the moment you must have at least one connector bundle in the
bundles directory *before* starting up Tomcat.
Finally, I'd suggest you to take a look at [3] for understanding how to
add a database resource.
Regards.
[1]
https://cwiki.apache.org/confluence/display/SYNCOPE/Connectors+and+resources
[2] https://issues.apache.org/jira/browse/SYNCOPE-316
[3]
https://cwiki.apache.org/confluence/display/SYNCOPE/Configure+a+Database+resource
--
Francesco Chicchiriccò
ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/
Re: Run Syncope in embedded mode
Posted by Ömer Faruk AK <om...@gmail.com>.
In tomcat/lib we have jdbc connector. And our bundles directory was empty,
still syncope can connect to mysql db i know because it created some
tables. So now i'm confused, why i'm getting this error
Unexpected RuntimeException
Last cause: List of choices is null - Was the supplied 'Choices' model empty?
WicketMessage: Exception in rendering component: [DropDownChoice
[Component id = dropDownChoiceField]]
When i tried to open *Resources -> **Connectors *tab and clicked *Create
new Connector *button section?
2013/2/18 Jesse van Bekkum <be...@gmail.com>
> There are two different things:
>
> The ConnID jar file, that file is responsible for connecting syncope to
> "a" database. This jar should be in the bundles directory
>
> The JDBC connector jar. That is responsible for connecting a java
> application (any java application) to a specific database, for example
> Mysql. That one should be in the tomcat/lib directory.
>
> For mysql you can find that connector here:
> http://dev.mysql.com/downloads/connector/j/
>
> Jesse
>
>
> On Sun, Feb 17, 2013 at 11:22 PM, Ömer Faruk AK <om...@gmail.com>wrote:
>
>> Thanks again Mr. Chicchiriccò, we're moving step by step. :)
>>
>> Now we of course we want to connect a datasource (datatable) [1], and i
>> downloaded connector from this list
>> http://repo1.maven.org/maven2/org/connid/bundles/db/org.connid.bundles.db.table/2.1.4/ this
>> jar file
>> http://repo1.maven.org/maven2/org/connid/bundles/db/org.connid.bundles.db.table/2.1.4/org.connid.bundles.db.table-2.1.4.jarbut now when i open
>> *Resources -> **Connectors *tab and clicked *Create new Connector *button
>> i'm getting this error;
>>
>> Unexpected RuntimeException
>>
>> Last cause: List of choices is null - Was the supplied 'Choices' model empty?
>> WicketMessage: Exception in rendering component: [DropDownChoice [Component id = dropDownChoiceField]]
>>
>>
>> I'm guessing, i loadded wrong jar file to /opt/syncope/bundles folder,
>> where can i find correct jar file to connect mysql datasource?
>>
>>
>> [1] -
>> https://cwiki.apache.org/confluence/display/SYNCOPE/Configure+a+Database+resource
>>
>> 2013/2/16 Francesco Chicchiriccò <il...@apache.org>
>>
>>> On 15/02/2013 20:49, Ömer Faruk AK wrote:
>>>
>>> Thank you for information.
>>>
>>> Now i'm trying to run on ubuntu server at Apache Tomcat. I completed
>>> your wiki exactly. But when i deploy syncope-console always gives session
>>> expired error and for syncope application, tomcat web application manager
>>> says *FAIL - Application at context path /syncope could not be started*
>>>
>>>
>>> When you say "your wiki", I guess you are referring to [1].
>>>
>>> I'd suggest to first deploy syncope.war, and to take a look at Tomcat
>>> log files (mainly catalina.out) while deploying in order to catch the first
>>> exception during WAR deployment and provide necessary action.
>>>
>>> Problems in deploying Syncope core are often due to missing JDBC driver
>>> (did you put mysql-connector-java-XXXX.jar or the JDBC driver for your DBMS
>>> in Tomcat's classpath, e.g. under $CATALINA_HOME/lib, *before* starting
>>> Tomcat for deploying Syncope?) but can vary across many reasons.
>>>
>>> The error related to Syncope console is instead due to the fact that it
>>> cannot contact the Syncope core - in this case it could very well be
>>> because the Syncope core is just not available.
>>>
>>> Regards.
>>>
>>> [1]
>>> https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+real+environments
>>>
>>>
>>> If you can look my war files can be downloadable from this links;
>>>
>>> http://omerfarukak.com/syncope.war
>>> http://omerfarukak.com/syncope-console.war
>>>
>>> --
>>> Francesco Chicchiriccò
>>>
>>> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Memberhttp://people.apache.org/~ilgrosso/
>>>
>>>
>>
>>
>> --
>> Ömer Faruk AK
>> faruk@iyte.net
>> 555 557 12 45
>> www.omerfarukak.com
>>
>
>
--
Ömer Faruk AK
faruk@iyte.net
555 557 12 45
www.omerfarukak.com
Re: Run Syncope in embedded mode
Posted by Jesse van Bekkum <be...@gmail.com>.
There are two different things:
The ConnID jar file, that file is responsible for connecting syncope to "a"
database. This jar should be in the bundles directory
The JDBC connector jar. That is responsible for connecting a java
application (any java application) to a specific database, for example
Mysql. That one should be in the tomcat/lib directory.
For mysql you can find that connector here:
http://dev.mysql.com/downloads/connector/j/
Jesse
On Sun, Feb 17, 2013 at 11:22 PM, Ömer Faruk AK <om...@gmail.com>wrote:
> Thanks again Mr. Chicchiriccò, we're moving step by step. :)
>
> Now we of course we want to connect a datasource (datatable) [1], and i
> downloaded connector from this list
> http://repo1.maven.org/maven2/org/connid/bundles/db/org.connid.bundles.db.table/2.1.4/ this
> jar file
> http://repo1.maven.org/maven2/org/connid/bundles/db/org.connid.bundles.db.table/2.1.4/org.connid.bundles.db.table-2.1.4.jarbut now when i open
> *Resources -> **Connectors *tab and clicked *Create new Connector *button
> i'm getting this error;
>
> Unexpected RuntimeException
>
> Last cause: List of choices is null - Was the supplied 'Choices' model empty?
> WicketMessage: Exception in rendering component: [DropDownChoice [Component id = dropDownChoiceField]]
>
>
> I'm guessing, i loadded wrong jar file to /opt/syncope/bundles folder,
> where can i find correct jar file to connect mysql datasource?
>
>
> [1] -
> https://cwiki.apache.org/confluence/display/SYNCOPE/Configure+a+Database+resource
>
> 2013/2/16 Francesco Chicchiriccò <il...@apache.org>
>
>> On 15/02/2013 20:49, Ömer Faruk AK wrote:
>>
>> Thank you for information.
>>
>> Now i'm trying to run on ubuntu server at Apache Tomcat. I completed
>> your wiki exactly. But when i deploy syncope-console always gives session
>> expired error and for syncope application, tomcat web application manager
>> says *FAIL - Application at context path /syncope could not be started*
>>
>>
>> When you say "your wiki", I guess you are referring to [1].
>>
>> I'd suggest to first deploy syncope.war, and to take a look at Tomcat log
>> files (mainly catalina.out) while deploying in order to catch the first
>> exception during WAR deployment and provide necessary action.
>>
>> Problems in deploying Syncope core are often due to missing JDBC driver
>> (did you put mysql-connector-java-XXXX.jar or the JDBC driver for your DBMS
>> in Tomcat's classpath, e.g. under $CATALINA_HOME/lib, *before* starting
>> Tomcat for deploying Syncope?) but can vary across many reasons.
>>
>> The error related to Syncope console is instead due to the fact that it
>> cannot contact the Syncope core - in this case it could very well be
>> because the Syncope core is just not available.
>>
>> Regards.
>>
>> [1]
>> https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+real+environments
>>
>>
>> If you can look my war files can be downloadable from this links;
>>
>> http://omerfarukak.com/syncope.war
>> http://omerfarukak.com/syncope-console.war
>>
>> --
>> Francesco Chicchiriccò
>>
>> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Memberhttp://people.apache.org/~ilgrosso/
>>
>>
>
>
> --
> Ömer Faruk AK
> faruk@iyte.net
> 555 557 12 45
> www.omerfarukak.com
>
Re: Run Syncope in embedded mode
Posted by Ömer Faruk AK <om...@gmail.com>.
Thanks again Mr. Chicchiriccò, we're moving step by step. :)
Now we of course we want to connect a datasource (datatable) [1], and i
downloaded connector from this list
http://repo1.maven.org/maven2/org/connid/bundles/db/org.connid.bundles.db.table/2.1.4/
this
jar file
http://repo1.maven.org/maven2/org/connid/bundles/db/org.connid.bundles.db.table/2.1.4/org.connid.bundles.db.table-2.1.4.jarbut
now when i open
*Resources -> **Connectors *tab and clicked *Create new Connector *button
i'm getting this error;
Unexpected RuntimeException
Last cause: List of choices is null - Was the supplied 'Choices' model empty?
WicketMessage: Exception in rendering component: [DropDownChoice
[Component id = dropDownChoiceField]]
I'm guessing, i loadded wrong jar file to /opt/syncope/bundles folder,
where can i find correct jar file to connect mysql datasource?
[1] -
https://cwiki.apache.org/confluence/display/SYNCOPE/Configure+a+Database+resource
2013/2/16 Francesco Chicchiriccò <il...@apache.org>
> On 15/02/2013 20:49, Ömer Faruk AK wrote:
>
> Thank you for information.
>
> Now i'm trying to run on ubuntu server at Apache Tomcat. I completed
> your wiki exactly. But when i deploy syncope-console always gives session
> expired error and for syncope application, tomcat web application manager
> says *FAIL - Application at context path /syncope could not be started*
>
>
> When you say "your wiki", I guess you are referring to [1].
>
> I'd suggest to first deploy syncope.war, and to take a look at Tomcat log
> files (mainly catalina.out) while deploying in order to catch the first
> exception during WAR deployment and provide necessary action.
>
> Problems in deploying Syncope core are often due to missing JDBC driver
> (did you put mysql-connector-java-XXXX.jar or the JDBC driver for your DBMS
> in Tomcat's classpath, e.g. under $CATALINA_HOME/lib, *before* starting
> Tomcat for deploying Syncope?) but can vary across many reasons.
>
> The error related to Syncope console is instead due to the fact that it
> cannot contact the Syncope core - in this case it could very well be
> because the Syncope core is just not available.
>
> Regards.
>
> [1]
> https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+real+environments
>
>
> If you can look my war files can be downloadable from this links;
>
> http://omerfarukak.com/syncope.war
> http://omerfarukak.com/syncope-console.war
>
> --
> Francesco Chicchiriccò
>
> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Memberhttp://people.apache.org/~ilgrosso/
>
>
--
Ömer Faruk AK
faruk@iyte.net
555 557 12 45
www.omerfarukak.com
Re: Run Syncope in embedded mode
Posted by Francesco Chicchiriccò <il...@apache.org>.
On 15/02/2013 20:49, Ömer Faruk AK wrote:
> Thank you for information.
>
> Now i'm trying to run on ubuntu server at Apache Tomcat. I completed
> your wiki exactly. But when i deploy syncope-console always gives
> session expired error and for syncope application, tomcat web
> application manager says /FAIL - Application at context path /syncope
> could not be started/
When you say "your wiki", I guess you are referring to [1].
I'd suggest to first deploy syncope.war, and to take a look at Tomcat
log files (mainly catalina.out) while deploying in order to catch the
first exception during WAR deployment and provide necessary action.
Problems in deploying Syncope core are often due to missing JDBC driver
(did you put mysql-connector-java-XXXX.jar or the JDBC driver for your
DBMS in Tomcat's classpath, e.g. under $CATALINA_HOME/lib, *before*
starting Tomcat for deploying Syncope?) but can vary across many reasons.
The error related to Syncope console is instead due to the fact that it
cannot contact the Syncope core - in this case it could very well be
because the Syncope core is just not available.
Regards.
[1]
https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+real+environments
> If you can look my war files can be downloadable from this links;
>
> http://omerfarukak.com/syncope.war
> http://omerfarukak.com/syncope-console.war
--
Francesco Chicchiriccò
ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/
Re: Run Syncope in embedded mode
Posted by Ömer Faruk AK <om...@gmail.com>.
Thank you for information.
Now i'm trying to run on ubuntu server at Apache Tomcat. I completed your
wiki exactly. But when i deploy syncope-console always gives session
expired error and for syncope application, tomcat web application manager
says *FAIL - Application at context path /syncope could not be started*
*
*
If you can look my war files can be downloadable from this links;
http://omerfarukak.com/syncope.war
http://omerfarukak.com/syncope-console.war
2013/2/15 Francesco Chicchiriccò <il...@apache.org>
> On 15/02/2013 00:03, Ömer Faruk AK wrote:
>
> Thank you, i was trying in wrong folder as you say.
>
> But now i can not access localhost:9080/syncope/rest
> my /console/src/main/resources/configuration.properties settings is same
> like
>
> scheme=http
> host=localhost
> port=9080
> path=/syncope/rest/
>
> but still i'm getting "HTTP STATUS 404"
>
>
> As reported in [1], http://localhost:9080/syncope/rest is the base URL
> for REST services; it is meant to be completed by the different services
> you'd like to access, as for example "/schema/user/list.xml". FYI, the
> complete URL in this case would be
>
> http://localhost:9080/syncope/rest/schema/user/list.xml
>
> and this will return an XML representation of the list of attribute
> schemas defined for users.
>
> Anyway, it is by far more meaningful when trying Syncope for the first
> time, to take a look at the admin console UI, e.g.
>
> http://localhost:9080/syncope-console
>
> Regards.
>
> [1]
> https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+embedded+mode
>
> --
> Francesco Chicchiriccò
>
> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Memberhttp://people.apache.org/~ilgrosso/
>
>
--
Ömer Faruk AK
faruk@iyte.net
555 557 12 45
www.omerfarukak.com
Re: Run Syncope in embedded mode
Posted by Francesco Chicchiriccò <il...@apache.org>.
On 15/02/2013 00:03, Ömer Faruk AK wrote:
> Thank you, i was trying in wrong folder as you say.
>
> But now i can not access localhost:9080/syncope/rest
> my /console/src/main/resources/configuration.properties settings is
> same like
>
> scheme=http
> host=localhost
> port=9080
> path=/syncope/rest/
>
> but still i'm getting "HTTP STATUS 404"
As reported in [1], http://localhost:9080/syncope/rest is the base URL
for REST services; it is meant to be completed by the different services
you'd like to access, as for example "/schema/user/list.xml". FYI, the
complete URL in this case would be
http://localhost:9080/syncope/rest/schema/user/list.xml
and this will return an XML representation of the list of attribute
schemas defined for users.
Anyway, it is by far more meaningful when trying Syncope for the first
time, to take a look at the admin console UI, e.g.
http://localhost:9080/syncope-console
Regards.
[1]
https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+embedded+mode
--
Francesco Chicchiriccò
ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/
Re: Run Syncope in embedded mode
Posted by Ömer Faruk AK <om...@gmail.com>.
Thank you, i was trying in wrong folder as you say.
But now i can not access localhost:9080/syncope/rest
my /console/src/main/resources/configuration.properties settings is same
like
scheme=http
host=localhost
port=9080
path=/syncope/rest/
but still i'm getting HTTP Status 404
2013/2/14 Francesco Chicchiriccò <il...@apache.org>
> On 13/02/2013 21:51, Ömer Faruk Ak wrote:
>
> I'm trying to start up Syncope in basic embedded mode.
>
>
> Hi,
> glad to see you're interested in Apache Syncope!
>
> Find my replies below.
>
>
> Firstly i download it from here:http://syncope.apache.org/downloads.html then
> install maven to my Ubuntu 12.04 from repo.
>
>
> This step is not needed: downloading the sources from the link above is
> not required for generating a new project.
>
>
> Then with maven 3 i build syncope with this settings
>
> mvn archetype:generate \
> -DarchetypeGroupId=org.apache.syncope \
> -DarchetypeArtifactId=syncope-archetype \
> -DarchetypeRepository=http://repo1.maven.org/maven2 \
> -DarchetypeVersion=1.0.5
>
> from here:
> https://cwiki.apache.org/confluence/display/SYNCOPE/Create+a+new+Syncope+project then
> run this command:
>
> mvn clean package
>
> Finally i want to try console demo and from this page
> https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+embedded+mode i
> used this command
>
>
> Before running "mvn -P embedded" you must "Go under console", i.e.
>
> cd console
>
> then
>
>
> mvn -P embedded
>
> it build project again and gives this warning:
>
> [WARNING] The requested profile "embedded" could not be activated because it does not exist.
>
> How can i run this application?
>
>
> Now you should be able to get to it.
>
> Next upcoming release 1.1.0 will provide an easier standalone distribution
> for "test driving" Syncope.
>
> Regards.
>
> --
> Francesco Chicchiriccò
>
> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Memberhttp://people.apache.org/~ilgrosso/
>
>
--
Ömer Faruk AK
faruk@iyte.net
555 557 12 45
www.omerfarukak.com
Re: Run Syncope in embedded mode
Posted by Francesco Chicchiriccò <il...@apache.org>.
On 13/02/2013 21:51, Ömer Faruk Ak wrote:
>
> I'm trying to start up Syncope in basic embedded mode.
>
Hi,
glad to see you're interested in Apache Syncope!
Find my replies below.
> Firstly i download it from
> here:http://syncope.apache.org/downloads.html then install maven to my
> Ubuntu 12.04 from repo.
>
This step is not needed: downloading the sources from the link above is
not required for generating a new project.
> Then with maven 3 i build syncope with this settings
>
> |mvn archetype:generate \
> -DarchetypeGroupId=org.apache.syncope \
> -DarchetypeArtifactId=syncope-archetype \
> -DarchetypeRepository=http://repo1.maven.org/maven2 \
> -DarchetypeVersion=1.0.5
> |
>
> from here:
> https://cwiki.apache.org/confluence/display/SYNCOPE/Create+a+new+Syncope+project then
> run this command:
>
> |mvn clean package
> |
>
> Finally i want to try console demo and from this
> pagehttps://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+embedded+mode i
> used this command
>
Before running "mvn -P embedded" you must "Go under console", i.e.
cd console
then
> |mvn -P embedded
> |
>
> it build project again and gives this warning:
>
> |[WARNING] The requested profile "embedded" could not be activated because it does not exist.
> |
>
> How can i run this application?
>
Now you should be able to get to it.
Next upcoming release 1.1.0 will provide an easier standalone
distribution for "test driving" Syncope.
Regards.
--
Francesco Chicchiriccò
ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/