Error on restart (with minor config change)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Error on restart (with minor config change)

hen-2

I changed the config such that there are two local repositories:

    <localRepositories>
        <localRepository>
            <key>local-repo</key>
            <description>local repoitory</description>
        </localRepository>
        <localRepository>
            <key>sash-1.2</key>
            <description>SASH 1.2</description>
        </localRepository>
    </localRepositories>

and restarted and I got the following error:

java.sql.SQLException: Failed to start database
'/home/hen/artifactory-1.2.0.1//repos/jcr/db', see the next exception for
details.
....
2007-03-14 21:14:59,146 [ERROR] repo.spring.CentralConfigFactoryBean  -
Failed to load configuration from
'/home/hen/artifactory-1.2.0.1//etc/artifactory.config.xml'.
java.lang.RuntimeException: Faild to config jcr repo.

Was that a bad configuration?

Hen
--
View this message in context: http://www.nabble.com/Error-on-restart-%28with-minor-config-change%29-tf3406338.html#a9488413
Sent from the Artifactory-Users mailing list archive at Nabble.com.



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error on restart (with minor config change)

Yoav Landman
Administrator
Can you post the full stacktrace?

On 3/15/07, hen <[hidden email]> wrote:

I changed the config such that there are two local repositories:

    <localRepositories>
        <localRepository>
            <key>local-repo</key>
            <description>local repoitory</description>
        </localRepository>
        <localRepository>
            <key>sash-1.2</key>
            <description>SASH 1.2</description>
        </localRepository>
    </localRepositories>

and restarted and I got the following error:

java.sql.SQLException: Failed to start database
'/home/hen/artifactory-1.2.0.1//repos/jcr/db ', see the next exception for
details.
....
2007-03-14 21:14:59,146 [ERROR] repo.spring.CentralConfigFactoryBean  -
Failed to load configuration from
'/home/hen/artifactory- 1.2.0.1//etc/artifactory.config.xml'.
java.lang.RuntimeException: Faild to config jcr repo.

Was that a bad configuration?

Hen
--
View this message in context: http://www.nabble.com/Error-on-restart-%28with-minor-config-change%29-tf3406338.html#a9488413
Sent from the Artifactory-Users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error on restart (with minor config change)

Frederic Simon-3
In reply to this post by hen-2
I'm not sure, but can you try without numbers in your repo key?
There may be an issue here.

On 3/15/07, hen <[hidden email]> wrote:

>
> I changed the config such that there are two local repositories:
>
>     <localRepositories>
>         <localRepository>
>             <key>local-repo</key>
>             <description>local repoitory</description>
>         </localRepository>
>         <localRepository>
>             <key>sash-1.2</key>
>             <description>SASH 1.2</description>
>         </localRepository>
>     </localRepositories>
>
> and restarted and I got the following error:
>
> java.sql.SQLException: Failed to start database
> '/home/hen/artifactory-1.2.0.1//repos/jcr/db', see the next exception for
> details.
> ....
> 2007-03-14 21:14:59,146 [ERROR] repo.spring.CentralConfigFactoryBean  -
> Failed to load configuration from
> '/home/hen/artifactory-1.2.0.1//etc/artifactory.config.xml'.
> java.lang.RuntimeException: Faild to config jcr repo.
>
> Was that a bad configuration?
>
> Hen
> --
> View this message in context:
> http://www.nabble.com/Error-on-restart-%28with-minor-config-change%29-tf3406338.html#a9488413
> Sent from the Artifactory-Users mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Artifactory-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>


--
------------------------
Frederic Simon - Senior Architect
AlphaCSP Israel
Malam Group
Phone: +972 3 5312388  * Fax: +972 3 5312512 Mobile: +972 54 954301
13 Gosh Etzion St.,Givat Shmuel 54030, Israel
http://www.alphacsp.com/ http://www.malam.com/
------------------------


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error on restart (with minor config change)

hen-2
In reply to this post by Yoav Landman


I had a try without the digits in the key, but no luck.

I attached the stacktrace to a JIRA issue along with the config file:

http://www.jfrog.org/jira/browse/RTFACT-72

Hen


Yoav  Landman wrote:

>
> Can you post the full stacktrace?
>
> On 3/15/07, hen <[hidden email]> wrote:
>>
>>
>> I changed the config such that there are two local repositories:
>>
>>     <localRepositories>
>>         <localRepository>
>>             <key>local-repo</key>
>>             <description>local repoitory</description>
>>         </localRepository>
>>         <localRepository>
>>             <key>sash-1.2</key>
>>             <description>SASH 1.2</description>
>>         </localRepository>
>>     </localRepositories>
>>
>> and restarted and I got the following error:
>>
>> java.sql.SQLException: Failed to start database
>> '/home/hen/artifactory-1.2.0.1//repos/jcr/db', see the next exception for
>> details.
>> ....
>> 2007-03-14 21:14:59,146 [ERROR] repo.spring.CentralConfigFactoryBean  -
>> Failed to load configuration from
>> '/home/hen/artifactory-1.2.0.1//etc/artifactory.config.xml'.
>> java.lang.RuntimeException: Faild to config jcr repo.
>>
>> Was that a bad configuration?
>>
>> Hen
>> --
>> View this message in context:
>> http://www.nabble.com/Error-on-restart-%28with-minor-config-change%29-tf3406338.html#a9488413
>> Sent from the Artifactory-Users mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys-and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Artifactory-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Artifactory-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>

--
View this message in context: http://www.nabble.com/Error-on-restart-%28with-minor-config-change%29-tf3406338.html#a9508716
Sent from the Artifactory-Users mailing list archive at Nabble.com.



Loading...