• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to define target server while configuring JDBC DataSource in WLS 10.3.2 (Not through Console)?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How can we define the target server in Weblogic 10.3.2? Previously in older weblogic we used to define it in wlsconfig.xml file and it would look something like this...

<mbeans>
<mbean name="projDynamicPool" type="JDBCConnectionPool">
<attribute name="DriverName" value="oracle.jdbc.driver.OracleDriver"/>
.........
............
</mbean>
<mbean name="projDataSource" type="JDBCDataSource>
<attribute name="JNDIName" value="projDataSource"/>
.........
<attribute name="Targets" value="AdminServer"/>
............
</mbean>
</mbeans>

In weblogic 10.3.2 we have oracle-jdbc.xml and weblogic-application.xml. Can anyone please tell me where and how I need to define the target server in wls 10.3.2? I dont want to define it in wls console.

I am getting NameNotFoundException: Unable to resolve 'projDataSource'. Resolved ''; remaining name'projDataSource'. This is because when I try to deploy my web application and thats because I am not defining the target server.

Thanks...
 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

NameNotFoundException: Unable to resolve 'projDataSource'. Resolved ''; remaining name'projDataSource'.



Your JNDI binding name is incorrect or unavailable on the target server. Deploy the resource on the appropriate server to solve the problem
 
reply
    Bookmark Topic Watch Topic
  • New Topic