[ https://issues.apache.org/jira/browse/KARAF-2819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré reassigned KARAF-2819: ------------------------------------------- Assignee: Jean-Baptiste Onofré > datasource-xxx.xml contains wrong password after jdbc:create > ------------------------------------------------------------ > > Key: KARAF-2819 > URL: https://issues.apache.org/jira/browse/KARAF-2819 > Project: Karaf > Issue Type: Bug > Affects Versions: 2.3.4 > Environment: Talend TESB 5.4.1 (Karaf 2.3.3) with jdbc installed from > 2.3.4: > features:addurl > mvn:org.apache.karaf.assemblies.features/enterprise/2.3.4/xml/features > features:addurl > mvn:org.apache.karaf.assemblies.features/standard/2.3.4/xml/features > features:install management > features:install jdbc > Reporter: Lothar Werzinger > Assignee: Jean-Baptiste Onofré > > I can execute the jdbc commands, but I am experiencing a problem creating a > datasource: > karaf@trun> jdbc:create -url jdbc:mysql://localhost:3306/sample -u sample -p > sample -t MySQL sample > karaf@trun> jdbc:tables jdbc/sample > Error executing command: Access denied for user 'sample'@'localhost' (using > password: YES) > It looks like the 'password' of the datasource configuration file is created > wrong '${test}' instead of 'sample' > <bean id="dataSource" > class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"> > <property name="url" value="jdbc:mysql://localhost:3306/sample"/> > <property name="user" value="sample"/> > <property name="password" value="${test}"/> > </bean> > I know I can edit the datasource-sample.xml file as a workaround and provide > the real password. -- This message was sent by Atlassian JIRA (v6.2#6252)