You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by Bob Lannoy <bo...@gmail.com> on 2012/04/05 12:48:10 UTC
Error deploying
Hi,
when I check out core from the trunk, build the war and try to deploy
it, there are some libraries missing:
- validation-api-1.0.0.GA.jar
- openjpa-all-2.2.0.jar
Guess they're missing in the POM?
regards
Bob
Re: Error deploying
Posted by Francesco Chicchiriccò <il...@apache.org>.
1.0.0-incubating has not yet been released (we are on
1.0.0-incubating-SNAPSHOT), hence go with
mvn archetype:generate -DarchetypeGroupId=org.apache.syncope
-DarchetypeArtifactId=syncope-archetype
-DarchetypeRepository=https://repository.apache.org/content/groups/snapshots
-DarchetypeVersion=1.0.0-incubating-SNAPSHOT
Regards.
On 05/04/2012 12:56, Colm O hEigeartaigh wrote:
> Change the repo to:
> "-DarchetypeRepository=https://repository.apache.org/content/groups/snapshots".
>
> Colm.
>
> On Thu, Apr 5, 2012 at 11:54 AM, Bob Lannoy <bo...@gmail.com> wrote:
>> Hi Francesco,
>>
>> I tried:
>> mvn archetype:generate -DarchetypeGroupId=org.apache.syncope
>> -DarchetypeArtifactId=syncope-archetype
>> -DarchetypeRepository=http://repo1.maven.org/maven2
>> -DarchetypeVersion=1.0.0-incubating
>>
>> But i get a
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-archetype-plugin:2.2:generate
>> (default-cli) on project standalone-pom: The desired archetype does
>> not exist (org.apache.syncope:syncope-archetype:1.0.0-incubating)
>>
>> Bob
>>
>>
>> 2012/4/5 Francesco Chicchiriccò <il...@apache.org>:
>>> On 05/04/2012 12:48, Bob Lannoy wrote:
>>>> Hi,
>>>>
>>>> when I check out core from the trunk, build the war and try to deploy
>>>> it, there are some libraries missing:
>>>> - validation-api-1.0.0.GA.jar
>>>> - openjpa-all-2.2.0.jar
>>>> Guess they're missing in the POM?
>>> Bob,
>>> please follow the wiki page for creating new projects:
>>> https://cwiki.apache.org/confluence/display/SYNCOPE/Create+a+new+Syncope+project
>>>
>>> Regards.
--
Francesco Chicchiriccò
Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/
Re: Wiki documentation about JPA Dialect
Posted by Francesco Chicchiriccò <il...@apache.org>.
On 06/04/2012 15:57, Denis Signoretto wrote:
> Hi everybody,
>
> the wiki documentation page at
>
> https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+real+environments
>
> report jpa.dialect=org.hibernate.dialect.MySQL5InnoDBDialect as jpa dialect.
> Is it correct? I get it working with org.apache.openjpa.jdbc.sql.MySQLDictionary.
> (postgreSQL as well)
Hi Denis,
thanks for reporting: the information was outdated to latest GoogleCode
(and Hibernate) based version.
I've fixed the wiki page for MySQL, PostgreSQL and Oracle.
Cheers.
--
Francesco Chicchiriccò
Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/
Wiki documentation about JPA Dialect
Posted by Denis Signoretto <de...@intesys.it>.
Hi everybody,
the wiki documentation page at
https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+real+environments
report jpa.dialect=org.hibernate.dialect.MySQL5InnoDBDialect as jpa dialect.
Is it correct? I get it working with org.apache.openjpa.jdbc.sql.MySQLDictionary.
(postgreSQL as well)
Bye,
Denis.
Re: NullPointerException creating archetype for 1.0.0-RC3
Posted by Francesco Chicchiriccò <il...@apache.org>.
On 23/07/2012 17:19, Francesco Chicchiriccò wrote:
> On 23/07/2012 17:17, Denis Signoretto wrote:
>> Hi,
>>
>> I'm trying to update to 1.0.0-RC3. When I try to execute
> Denis,
> 1.0.0-RC3 is not released yet (the second step voting on general
> incubator ML has started this morning [1]), so you can choose whether to
> use 1.0.0-RC2 or 1.0.0-incubating-SNAPSHOT.
>
> Regards.
[1]
http://mail-archives.apache.org/mod_mbox/incubator-general/201207.mbox/%3C38470A25-481B-40A7-AE59-A98E579812D8%40gmail.com%3E
--
Francesco Chicchiriccò
ASF Member, Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/
Re: NullPointerException creating archetype for 1.0.0-RC3
Posted by Francesco Chicchiriccò <il...@apache.org>.
On 23/07/2012 17:17, Denis Signoretto wrote:
> Hi,
>
> I'm trying to update to 1.0.0-RC3. When I try to execute
Denis,
1.0.0-RC3 is not released yet (the second step voting on general
incubator ML has started this morning [1]), so you can choose whether to
use 1.0.0-RC2 or 1.0.0-incubating-SNAPSHOT.
Regards.
--
Francesco Chicchiriccò
ASF Member, Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/
NullPointerException creating archetype for 1.0.0-RC3
Posted by Denis Signoretto <de...@intesys.it>.
Hi,
I'm trying to update to 1.0.0-RC3. When I try to execute
Re: Adjustments for installations affected by issue "Foreign key constraints missed with OpenJPA"
Posted by Fabio Martelli <fa...@gmail.com>.
Il giorno 09/mag/2012, alle ore 15.05, Denis Signoretto ha scritto:
> Hi,
>
> I'm using an installation of Syncope (Version: 1.0.0-incubating-SNAPSHOT)
> prior to the closure of issue #71 [1].
> I would avoid schema rebuild or a reinstallation from scratch.
>
> I'm wondering if to correct the issue I just neet to update Syncope to latest
> release or if I have to do some manual operation.
>
> Can you help me?
Hi Denis,
after resolving the issue #71 you should be able to update apache syncope without rebuilding the schema.
BTW, I cannot be sure about this. I'd like to suggest you to perform the following steps;
1. export your db by using the administration console
2. be sure about the correctness of the export (may be you have to perform manually operation to give a right order to the xml elements)
3. update syncope
4. clean your db
5. start syncope by using your export to initialize the content
6. in case of troubles, return to the point 2 and try to repair manually ....
Regards,
F.
>
> Thanks,
> Denis.
>
>
> [1] https://issues.apache.org/jira/browse/SYNCOPE-71
>
Adjustments for installations affected by issue "Foreign key constraints missed with OpenJPA"
Posted by Denis Signoretto <de...@intesys.it>.
Hi,
I'm using an installation of Syncope (Version: 1.0.0-incubating-SNAPSHOT)
prior to the closure of issue #71 [1].
I would avoid schema rebuild or a reinstallation from scratch.
I'm wondering if to correct the issue I just neet to update Syncope to latest
release or if I have to do some manual operation.
Can you help me?
Thanks,
Denis.
[1] https://issues.apache.org/jira/browse/SYNCOPE-71
Re: Error deploying
Posted by Bob Lannoy <bo...@gmail.com>.
Ok great that works
thanks
Bob
2012/4/5 Francesco Chicchiriccò <il...@apache.org>:
> On 05/04/2012 13:02, Bob Lannoy wrote:
>> OK that works, but now the mvn clean package fails
>>
>> [ERROR] Non-resolvable parent POM: Could not find artifact
>> org.apache.syncope:syncope:pom:1.0.0-incubating-SNAPSHOT and
>> 'parent.relativePath' points at wrong local POM @ line 28, column 11
>> -> [Help 2]
>
> You are right: this happens because you don't have the maven snapshot
> repository declared in your parent POM: add
>
> <repositories>
> <repository>
> <id>ASF</id>
>
> <url>https://repository.apache.org/content/repositories/snapshots/</url>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </repository>
> </repositories>
>
> to the root POM of your project.
>
> Regards.
>
>> On 5 April 2012 12:56, Colm O hEigeartaigh <co...@apache.org> wrote:
>>> Sorry sent too soon, and the version to
>>> "DarchetypeVersion=1.0.0-incubating-SNAPSHOT":
>>>
>>> Colm.
>>>
>>> On Thu, Apr 5, 2012 at 11:56 AM, Colm O hEigeartaigh
>>> <co...@apache.org> wrote:
>>>> Change the repo to:
>>>> "-DarchetypeRepository=https://repository.apache.org/content/groups/snapshots".
>>>>
>>>> Colm.
>>>>
>>>> On Thu, Apr 5, 2012 at 11:54 AM, Bob Lannoy <bo...@gmail.com> wrote:
>>>>> Hi Francesco,
>>>>>
>>>>> I tried:
>>>>> mvn archetype:generate -DarchetypeGroupId=org.apache.syncope
>>>>> -DarchetypeArtifactId=syncope-archetype
>>>>> -DarchetypeRepository=http://repo1.maven.org/maven2
>>>>> -DarchetypeVersion=1.0.0-incubating
>>>>>
>>>>> But i get a
>>>>> [ERROR] Failed to execute goal
>>>>> org.apache.maven.plugins:maven-archetype-plugin:2.2:generate
>>>>> (default-cli) on project standalone-pom: The desired archetype does
>>>>> not exist (org.apache.syncope:syncope-archetype:1.0.0-incubating)
>>>>>
>>>>> Bob
>>>>>
>>>>>
>>>>> 2012/4/5 Francesco Chicchiriccò <il...@apache.org>:
>>>>>> On 05/04/2012 12:48, Bob Lannoy wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> when I check out core from the trunk, build the war and try to deploy
>>>>>>> it, there are some libraries missing:
>>>>>>> - validation-api-1.0.0.GA.jar
>>>>>>> - openjpa-all-2.2.0.jar
>>>>>>> Guess they're missing in the POM?
>>>>>> Bob,
>>>>>> please follow the wiki page for creating new projects:
>>>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/Create+a+new+Syncope+project
>>>>>>
>>>>>> Regards.
> --
> Francesco Chicchiriccò
>
> Apache Cocoon PMC and Apache Syncope PPMC Member
> http://people.apache.org/~ilgrosso/
>
Re: Error deploying
Posted by Francesco Chicchiriccò <il...@apache.org>.
On 05/04/2012 13:02, Bob Lannoy wrote:
> OK that works, but now the mvn clean package fails
>
> [ERROR] Non-resolvable parent POM: Could not find artifact
> org.apache.syncope:syncope:pom:1.0.0-incubating-SNAPSHOT and
> 'parent.relativePath' points at wrong local POM @ line 28, column 11
> -> [Help 2]
You are right: this happens because you don't have the maven snapshot
repository declared in your parent POM: add
<repositories>
<repository>
<id>ASF</id>
<url>https://repository.apache.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
to the root POM of your project.
Regards.
> On 5 April 2012 12:56, Colm O hEigeartaigh <co...@apache.org> wrote:
>> Sorry sent too soon, and the version to
>> "DarchetypeVersion=1.0.0-incubating-SNAPSHOT":
>>
>> Colm.
>>
>> On Thu, Apr 5, 2012 at 11:56 AM, Colm O hEigeartaigh
>> <co...@apache.org> wrote:
>>> Change the repo to:
>>> "-DarchetypeRepository=https://repository.apache.org/content/groups/snapshots".
>>>
>>> Colm.
>>>
>>> On Thu, Apr 5, 2012 at 11:54 AM, Bob Lannoy <bo...@gmail.com> wrote:
>>>> Hi Francesco,
>>>>
>>>> I tried:
>>>> mvn archetype:generate -DarchetypeGroupId=org.apache.syncope
>>>> -DarchetypeArtifactId=syncope-archetype
>>>> -DarchetypeRepository=http://repo1.maven.org/maven2
>>>> -DarchetypeVersion=1.0.0-incubating
>>>>
>>>> But i get a
>>>> [ERROR] Failed to execute goal
>>>> org.apache.maven.plugins:maven-archetype-plugin:2.2:generate
>>>> (default-cli) on project standalone-pom: The desired archetype does
>>>> not exist (org.apache.syncope:syncope-archetype:1.0.0-incubating)
>>>>
>>>> Bob
>>>>
>>>>
>>>> 2012/4/5 Francesco Chicchiriccò <il...@apache.org>:
>>>>> On 05/04/2012 12:48, Bob Lannoy wrote:
>>>>>> Hi,
>>>>>>
>>>>>> when I check out core from the trunk, build the war and try to deploy
>>>>>> it, there are some libraries missing:
>>>>>> - validation-api-1.0.0.GA.jar
>>>>>> - openjpa-all-2.2.0.jar
>>>>>> Guess they're missing in the POM?
>>>>> Bob,
>>>>> please follow the wiki page for creating new projects:
>>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/Create+a+new+Syncope+project
>>>>>
>>>>> Regards.
--
Francesco Chicchiriccò
Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/
Re: Error deploying
Posted by Bob Lannoy <bo...@gmail.com>.
OK that works, but now the mvn clean package fails
[ERROR] Non-resolvable parent POM: Could not find artifact
org.apache.syncope:syncope:pom:1.0.0-incubating-SNAPSHOT and
'parent.relativePath' points at wrong local POM @ line 28, column 11
-> [Help 2]
Bob
On 5 April 2012 12:56, Colm O hEigeartaigh <co...@apache.org> wrote:
> Sorry sent too soon, and the version to
> "DarchetypeVersion=1.0.0-incubating-SNAPSHOT":
>
> Colm.
>
> On Thu, Apr 5, 2012 at 11:56 AM, Colm O hEigeartaigh
> <co...@apache.org> wrote:
>> Change the repo to:
>> "-DarchetypeRepository=https://repository.apache.org/content/groups/snapshots".
>>
>> Colm.
>>
>> On Thu, Apr 5, 2012 at 11:54 AM, Bob Lannoy <bo...@gmail.com> wrote:
>>> Hi Francesco,
>>>
>>> I tried:
>>> mvn archetype:generate -DarchetypeGroupId=org.apache.syncope
>>> -DarchetypeArtifactId=syncope-archetype
>>> -DarchetypeRepository=http://repo1.maven.org/maven2
>>> -DarchetypeVersion=1.0.0-incubating
>>>
>>> But i get a
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-archetype-plugin:2.2:generate
>>> (default-cli) on project standalone-pom: The desired archetype does
>>> not exist (org.apache.syncope:syncope-archetype:1.0.0-incubating)
>>>
>>> Bob
>>>
>>>
>>> 2012/4/5 Francesco Chicchiriccò <il...@apache.org>:
>>>> On 05/04/2012 12:48, Bob Lannoy wrote:
>>>>> Hi,
>>>>>
>>>>> when I check out core from the trunk, build the war and try to deploy
>>>>> it, there are some libraries missing:
>>>>> - validation-api-1.0.0.GA.jar
>>>>> - openjpa-all-2.2.0.jar
>>>>> Guess they're missing in the POM?
>>>>
>>>> Bob,
>>>> please follow the wiki page for creating new projects:
>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/Create+a+new+Syncope+project
>>>>
>>>> Regards.
>>>>
>>>> --
>>>> Francesco Chicchiriccò
>>>>
>>>> Apache Cocoon PMC and Apache Syncope PPMC Member
>>>> http://people.apache.org/~ilgrosso/
>>>>
>>
>>
>>
>> --
>> Colm O hEigeartaigh
>>
>> Talend Community Coder
>> http://coders.talend.com
>
>
>
> --
> Colm O hEigeartaigh
>
> Talend Community Coder
> http://coders.talend.com
Re: Error deploying
Posted by Colm O hEigeartaigh <co...@apache.org>.
Sorry sent too soon, and the version to
"DarchetypeVersion=1.0.0-incubating-SNAPSHOT":
Colm.
On Thu, Apr 5, 2012 at 11:56 AM, Colm O hEigeartaigh
<co...@apache.org> wrote:
> Change the repo to:
> "-DarchetypeRepository=https://repository.apache.org/content/groups/snapshots".
>
> Colm.
>
> On Thu, Apr 5, 2012 at 11:54 AM, Bob Lannoy <bo...@gmail.com> wrote:
>> Hi Francesco,
>>
>> I tried:
>> mvn archetype:generate -DarchetypeGroupId=org.apache.syncope
>> -DarchetypeArtifactId=syncope-archetype
>> -DarchetypeRepository=http://repo1.maven.org/maven2
>> -DarchetypeVersion=1.0.0-incubating
>>
>> But i get a
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-archetype-plugin:2.2:generate
>> (default-cli) on project standalone-pom: The desired archetype does
>> not exist (org.apache.syncope:syncope-archetype:1.0.0-incubating)
>>
>> Bob
>>
>>
>> 2012/4/5 Francesco Chicchiriccò <il...@apache.org>:
>>> On 05/04/2012 12:48, Bob Lannoy wrote:
>>>> Hi,
>>>>
>>>> when I check out core from the trunk, build the war and try to deploy
>>>> it, there are some libraries missing:
>>>> - validation-api-1.0.0.GA.jar
>>>> - openjpa-all-2.2.0.jar
>>>> Guess they're missing in the POM?
>>>
>>> Bob,
>>> please follow the wiki page for creating new projects:
>>> https://cwiki.apache.org/confluence/display/SYNCOPE/Create+a+new+Syncope+project
>>>
>>> Regards.
>>>
>>> --
>>> Francesco Chicchiriccò
>>>
>>> Apache Cocoon PMC and Apache Syncope PPMC Member
>>> http://people.apache.org/~ilgrosso/
>>>
>
>
>
> --
> Colm O hEigeartaigh
>
> Talend Community Coder
> http://coders.talend.com
--
Colm O hEigeartaigh
Talend Community Coder
http://coders.talend.com
Re: Error deploying
Posted by Colm O hEigeartaigh <co...@apache.org>.
Change the repo to:
"-DarchetypeRepository=https://repository.apache.org/content/groups/snapshots".
Colm.
On Thu, Apr 5, 2012 at 11:54 AM, Bob Lannoy <bo...@gmail.com> wrote:
> Hi Francesco,
>
> I tried:
> mvn archetype:generate -DarchetypeGroupId=org.apache.syncope
> -DarchetypeArtifactId=syncope-archetype
> -DarchetypeRepository=http://repo1.maven.org/maven2
> -DarchetypeVersion=1.0.0-incubating
>
> But i get a
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-archetype-plugin:2.2:generate
> (default-cli) on project standalone-pom: The desired archetype does
> not exist (org.apache.syncope:syncope-archetype:1.0.0-incubating)
>
> Bob
>
>
> 2012/4/5 Francesco Chicchiriccò <il...@apache.org>:
>> On 05/04/2012 12:48, Bob Lannoy wrote:
>>> Hi,
>>>
>>> when I check out core from the trunk, build the war and try to deploy
>>> it, there are some libraries missing:
>>> - validation-api-1.0.0.GA.jar
>>> - openjpa-all-2.2.0.jar
>>> Guess they're missing in the POM?
>>
>> Bob,
>> please follow the wiki page for creating new projects:
>> https://cwiki.apache.org/confluence/display/SYNCOPE/Create+a+new+Syncope+project
>>
>> Regards.
>>
>> --
>> Francesco Chicchiriccò
>>
>> Apache Cocoon PMC and Apache Syncope PPMC Member
>> http://people.apache.org/~ilgrosso/
>>
--
Colm O hEigeartaigh
Talend Community Coder
http://coders.talend.com
Re: Error deploying
Posted by Bob Lannoy <bo...@gmail.com>.
Hi Francesco,
I tried:
mvn archetype:generate -DarchetypeGroupId=org.apache.syncope
-DarchetypeArtifactId=syncope-archetype
-DarchetypeRepository=http://repo1.maven.org/maven2
-DarchetypeVersion=1.0.0-incubating
But i get a
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-archetype-plugin:2.2:generate
(default-cli) on project standalone-pom: The desired archetype does
not exist (org.apache.syncope:syncope-archetype:1.0.0-incubating)
Bob
2012/4/5 Francesco Chicchiriccò <il...@apache.org>:
> On 05/04/2012 12:48, Bob Lannoy wrote:
>> Hi,
>>
>> when I check out core from the trunk, build the war and try to deploy
>> it, there are some libraries missing:
>> - validation-api-1.0.0.GA.jar
>> - openjpa-all-2.2.0.jar
>> Guess they're missing in the POM?
>
> Bob,
> please follow the wiki page for creating new projects:
> https://cwiki.apache.org/confluence/display/SYNCOPE/Create+a+new+Syncope+project
>
> Regards.
>
> --
> Francesco Chicchiriccò
>
> Apache Cocoon PMC and Apache Syncope PPMC Member
> http://people.apache.org/~ilgrosso/
>
Re: Error deploying
Posted by Francesco Chicchiriccò <il...@apache.org>.
On 05/04/2012 12:48, Bob Lannoy wrote:
> Hi,
>
> when I check out core from the trunk, build the war and try to deploy
> it, there are some libraries missing:
> - validation-api-1.0.0.GA.jar
> - openjpa-all-2.2.0.jar
> Guess they're missing in the POM?
Bob,
please follow the wiki page for creating new projects:
https://cwiki.apache.org/confluence/display/SYNCOPE/Create+a+new+Syncope+project
Regards.
--
Francesco Chicchiriccò
Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/