-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: datasource definition for tomcat and weblogic is not same
PostPosted: Tue Dec 25, 2007 11:22 am 
Newbie

Joined: Sun Mar 06, 2005 10:20 am
Posts: 7
Hi,

i'm using tomcat as my development server while production server is weblogic.

what problem i'm facing is the datasource definition in hibernate.cfg.xml for tomcat and weblogic is not same.

ex:
<!-- for weblogic -->
<property name="hibernate.connection.datasource">jdbc/hrmsDS</property>

<!-- for tomcat -->
<property name="hibernate.connection.datasource">java:/comp/env/jdbc/hrmsDS</property>

My Question is, why both server have different definition?
It caused me problem, every deployment to weblogic, i need to change the datasource definition.
Is it better solution for this problem?

thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.