You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Vito <te...@163.com> on 2014/03/19 12:30:17 UTC

Error when connecting ODE with bitronix

 Hi all,
 I'm putting bitronix with ODE and mysql. I followed the instructions on
https://ode.apache.org/war-deployment.html
and
http://sathwikbp.blogspot.de/2013/09/apache-ode-on-tomcat-7-with-bitronix.html.
But when I finished the settings, some error occured:
"ERROR [Database] Failed to resolved external DataSource at "java:comp/env/jdbc/ode".
javax.naming.NamingException: no resource registered with uniqueName 'jdbc/ode', available resources: []"

I checked all the files modifiled, they exactly the same as the two posts. Is that because I could not follow both posts but only the second post?

Best,
Vito

Re:Re: Re: Error when connecting ODE with bitronix

Posted by Vito <te...@163.com>.
Thank you for your information.
Can I use Bitronix just with ODE 1.3.5? Since I've been worked with ODE 1.3.5 modified a lot, I may just not want to move on the newest version.





At 2014-03-21 15:34:25,"Sathwik B P" <sa...@gmail.com> wrote:
>Kindly refer
>ODE-997 <https://issues.apache.org/jira/browse/ODE-997>
>
>User is free to use any TM of his choice:
>http://markmail.org/message/cemyprkfsmnsvruy?q=Apache+ODE+on+Tomcat+7+with+Bitronix+Transaction+Manager
>
>The official document https://ode.apache.org/war-deployment.html needs
>correction.
>
>
>On Thu, Mar 20, 2014 at 7:53 PM, Vito <te...@163.com> wrote:
>
>> Thanks, but the official guide tells me that I need to modify server.xml
>> to use Mysql Database:
>> https://ode.apache.org/war-deployment.html
>> Is there new means to configure ODE with Mysql?
>>
>>
>>
>>
>>
>>
>>
>>
>> At 2014-03-19 20:17:25,"Sathwik B P" <sa...@gmail.com> wrote:
>> >You are not supposed to configure datasource in tomcat server.xml.
>> >
>> >You can build the bundle from here
>> >https://github.com/vanto/apache-ode-tomcat-bundle
>> >
>> >
>> >On Wed, Mar 19, 2014 at 5:00 PM, Vito <te...@163.com> wrote:
>> >
>> >>  Hi all,
>> >>  I'm putting bitronix with ODE and mysql. I followed the instructions on
>> >> https://ode.apache.org/war-deployment.html
>> >> and
>> >>
>> >>
>> http://sathwikbp.blogspot.de/2013/09/apache-ode-on-tomcat-7-with-bitronix.html
>> >> .
>> >> But when I finished the settings, some error occured:
>> >> "ERROR [Database] Failed to resolved external DataSource at
>> >> "java:comp/env/jdbc/ode".
>> >> javax.naming.NamingException: no resource registered with uniqueName
>> >> 'jdbc/ode', available resources: []"
>> >>
>> >> I checked all the files modifiled, they exactly the same as the two
>> posts.
>> >> Is that because I could not follow both posts but only the second post?
>> >>
>> >> Best,
>> >> Vito
>> >>
>>

Re: Re: Error when connecting ODE with bitronix

Posted by Sathwik B P <sa...@gmail.com>.
Kindly refer
ODE-997 <https://issues.apache.org/jira/browse/ODE-997>

User is free to use any TM of his choice:
http://markmail.org/message/cemyprkfsmnsvruy?q=Apache+ODE+on+Tomcat+7+with+Bitronix+Transaction+Manager

The official document https://ode.apache.org/war-deployment.html needs
correction.


On Thu, Mar 20, 2014 at 7:53 PM, Vito <te...@163.com> wrote:

> Thanks, but the official guide tells me that I need to modify server.xml
> to use Mysql Database:
> https://ode.apache.org/war-deployment.html
> Is there new means to configure ODE with Mysql?
>
>
>
>
>
>
>
>
> At 2014-03-19 20:17:25,"Sathwik B P" <sa...@gmail.com> wrote:
> >You are not supposed to configure datasource in tomcat server.xml.
> >
> >You can build the bundle from here
> >https://github.com/vanto/apache-ode-tomcat-bundle
> >
> >
> >On Wed, Mar 19, 2014 at 5:00 PM, Vito <te...@163.com> wrote:
> >
> >>  Hi all,
> >>  I'm putting bitronix with ODE and mysql. I followed the instructions on
> >> https://ode.apache.org/war-deployment.html
> >> and
> >>
> >>
> http://sathwikbp.blogspot.de/2013/09/apache-ode-on-tomcat-7-with-bitronix.html
> >> .
> >> But when I finished the settings, some error occured:
> >> "ERROR [Database] Failed to resolved external DataSource at
> >> "java:comp/env/jdbc/ode".
> >> javax.naming.NamingException: no resource registered with uniqueName
> >> 'jdbc/ode', available resources: []"
> >>
> >> I checked all the files modifiled, they exactly the same as the two
> posts.
> >> Is that because I could not follow both posts but only the second post?
> >>
> >> Best,
> >> Vito
> >>
>

Re:Re: Error when connecting ODE with bitronix

Posted by Vito <te...@163.com>.
Thanks, but the official guide tells me that I need to modify server.xml to use Mysql Database:
https://ode.apache.org/war-deployment.html
Is there new means to configure ODE with Mysql?








At 2014-03-19 20:17:25,"Sathwik B P" <sa...@gmail.com> wrote:
>You are not supposed to configure datasource in tomcat server.xml.
>
>You can build the bundle from here
>https://github.com/vanto/apache-ode-tomcat-bundle
>
>
>On Wed, Mar 19, 2014 at 5:00 PM, Vito <te...@163.com> wrote:
>
>>  Hi all,
>>  I'm putting bitronix with ODE and mysql. I followed the instructions on
>> https://ode.apache.org/war-deployment.html
>> and
>>
>> http://sathwikbp.blogspot.de/2013/09/apache-ode-on-tomcat-7-with-bitronix.html
>> .
>> But when I finished the settings, some error occured:
>> "ERROR [Database] Failed to resolved external DataSource at
>> "java:comp/env/jdbc/ode".
>> javax.naming.NamingException: no resource registered with uniqueName
>> 'jdbc/ode', available resources: []"
>>
>> I checked all the files modifiled, they exactly the same as the two posts.
>> Is that because I could not follow both posts but only the second post?
>>
>> Best,
>> Vito
>>

Re: Error when connecting ODE with bitronix

Posted by Sathwik B P <sa...@gmail.com>.
You are not supposed to configure datasource in tomcat server.xml.

You can build the bundle from here
https://github.com/vanto/apache-ode-tomcat-bundle


On Wed, Mar 19, 2014 at 5:00 PM, Vito <te...@163.com> wrote:

>  Hi all,
>  I'm putting bitronix with ODE and mysql. I followed the instructions on
> https://ode.apache.org/war-deployment.html
> and
>
> http://sathwikbp.blogspot.de/2013/09/apache-ode-on-tomcat-7-with-bitronix.html
> .
> But when I finished the settings, some error occured:
> "ERROR [Database] Failed to resolved external DataSource at
> "java:comp/env/jdbc/ode".
> javax.naming.NamingException: no resource registered with uniqueName
> 'jdbc/ode', available resources: []"
>
> I checked all the files modifiled, they exactly the same as the two posts.
> Is that because I could not follow both posts but only the second post?
>
> Best,
> Vito
>