<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:09:03 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[AAA-253] Logging in to the H2 database interface results in an &quot;IO Exception&quot; error</title>
                <link>https://jira.opendaylight.org/browse/AAA-253</link>
                <project id="10102" key="AAA">aaa</project>
                    <description>&lt;p&gt;I am unable to log in to the H2 database using the default &quot;foo:bar&quot; credentials, as I assume it should be set up according to this code in the AAA repository:&lt;br/&gt;
&lt;a href=&quot;https://github.com/opendaylight/aaa/blob/master/aaa-idm-store-h2/src/main/java/org/opendaylight/aaa/datastore/h2/H2Store.java#L37&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/aaa/blob/master/aaa-idm-store-h2/src/main/java/org/opendaylight/aaa/datastore/h2/H2Store.java#L37&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Every login attempt results in the following error message:&lt;br/&gt;
`IO Exception: &quot;/home/user/test outside /home/user/Projects/ODL/aaa/karaf/target/assembly/system/com/h2database/h2/2.1.210&quot; &lt;span class=&quot;error&quot;&gt;&amp;#91;90028-210&amp;#93;&lt;/span&gt; 90028/90028`&lt;/p&gt;

&lt;p&gt;Steps to reproduce:&lt;br/&gt;
1) Build the AAA project.&lt;/p&gt;

&lt;p&gt;2) Run the following commands:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
cd aaa/karaf/target/assembly/system/com/h2database/h2/2.1.210&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
java -cp h2-2.1.210.jar org.h2.tools.Server -trace -pg -web -webAllowOthers -baseDir `pwd` &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;3) Open a browser and go to ` &lt;a href=&quot;http://10.0.2.15:8082&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://10.0.2.15:8082&lt;/a&gt;&quot;&lt;br/&gt;
4) Try to log in with &quot;foo:bar&quot; or &quot;admin:admin&quot; credentials.&lt;/p&gt;</description>
                <environment></environment>
        <key id="36712">AAA-253</key>
            <summary>Logging in to the H2 database interface results in an &quot;IO Exception&quot; error</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="10001" iconUrl="https://jira.opendaylight.org/" description="">In Review</status>
                    <statusCategory id="4" key="indeterminate" colorName="yellow"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="PeterSuna">Peter Suna</assignee>
                                    <reporter username="PeterSuna">Peter Suna</reporter>
                        <labels>
                            <label>pick-next</label>
                            <label>pt</label>
                    </labels>
                <created>Wed, 22 Feb 2023 10:23:59 +0000</created>
                <updated>Thu, 9 Mar 2023 07:29:17 +0000</updated>
                                            <version>0.17.6</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="72026" author="ivanhrasko" created="Tue, 28 Feb 2023 09:51:45 +0000"  >&lt;p&gt;You have hit: &lt;a href=&quot;https://github.com/h2database/h2database/blob/1ba3590b5d29581a14b018b966e5da0a8ff2994c/h2/src/main/org/h2/engine/ConnectionInfo.java#L249&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/h2database/h2database/blob/1ba3590b5d29581a14b018b966e5da0a8ff2994c/h2/src/main/org/h2/engine/ConnectionInfo.java#L249&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="72027" author="ivanhrasko" created="Tue, 28 Feb 2023 09:55:43 +0000"  >&lt;p&gt;The message means that &lt;b&gt;test&lt;/b&gt; database (located at your home) is outside of defined &lt;b&gt;baseDir&lt;/b&gt;.&lt;/p&gt;</comment>
                            <comment id="72028" author="ivanhrasko" created="Tue, 28 Feb 2023 09:57:29 +0000"  >&lt;p&gt;We have to investigate how this works, for example:&lt;/p&gt;

&lt;p&gt;when has test database been created?&lt;/p&gt;

&lt;p&gt;how to move it to desired baseDir?&lt;/p&gt;</comment>
                            <comment id="72029" author="ivanhrasko" created="Tue, 28 Feb 2023 09:59:03 +0000"  >&lt;p&gt;And then write the finding into documentation, for example when you just delete &lt;b&gt;baseDir&lt;/b&gt; from parameters then it works. Do we need to specify it? Does ODL have specific location for database? If yes use that.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i044dr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>