Here is the file that is being used. Usernames and passwords changed to protect the innocent.
On Thu, Oct 10, 2013 at 10:53 PM, Freeman Fang <[email protected]>wrote: > Hi, > > Could you please post your blueprint file here? > ------------- > Freeman(Yue) Fang > > Red Hat, Inc. > FuseSource is now part of Red Hat > Web: http://fusesource.com | http://www.redhat.com/ > Twitter: freemanfang > Blog: http://freemanfang.blogspot.com > http://blog.sina.com.cn/u/1473905042 > weibo: @Freeman小屋 > > > > On 2013-10-11, at 上午11:39, Scott Carr wrote: > > I have a blueprint xml file in the deploy folder in apache karaf 2.3.3. > The blueprint has worked before fine. For some reason, now I see: > > Started bundle: blueprint:file:....xml over and over in the log. It is > like it keeps trying to create the bundle but there is no other information > about an error or anything. > > Does anyone else see this? Putting blueprint files directly in the deploy > folder has worked in the past. > > Thanks > > Scott Carr > > > -- Scott Carr
<?xml version="1.0" encoding="UTF-8"?> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"> <bean id="dataSource" class="org.postgresql.jdbc2.optional.PoolingDataSource"> <property name="serverName" value="localhost"/> <property name="user" value="postgres"/> <property name="password" value="temp"/> <property name="databaseName" value="mydb"/> </bean> <bean id="dsMas90" class="org.apache.commons.dbcp.BasicDataSource"> <property name="driverClassName" value="sun.jdbc.odbc.JdbcOdbcDriver"/> <property name="url" value="jdbc:odbc:MYTEMP"/> <property name="username" value="temp"/> <property name="password" value="temp"/> </bean> <service interface="javax.sql.DataSource" ref="dataSource"> <service-properties> <entry key="name" value="temp"/> <entry key="osgi.jndi.service.name" value="jdbc/temp"/> </service-properties> </service> <service interface="javax.sql.DataSource" ref="dsMas90"> <service-properties> <entry key="name" value="otherdb"/> <entry key="osgi.jndi.service.name" value="jdbc/otherdb"/> </service-properties> </service> </blueprint>
