This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 90232

Summary: WL plugin does not support DataSource configuration
Product: serverplugins Reporter: Marco Walther <marcow>
Component: WebLogicAssignee: Petr Hejl <phejl>
Status: RESOLVED FIXED    
Severity: blocker CC: pjiricka, romanmostyka
Priority: P1    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 98366    

Description Marco Walther 2006-11-29 00:57:36 UTC
See CR 6498141.

1. Add WebLogic to Servers.
2. Create project.
3. Add Table component.
4. Bind it to datasource.
5. Deploy it to WebLogic.

Result: Exception arised:
"Exception Handler


Description: An unhandled exception occurred during the execution of the web 
application. Please review the following stack trace for more information 
regarding the error.

Exception Details: javax.naming.NameNotFoundException
  While trying to lookup 'jdbc.TravelPack' didn't find subcontext 'jdbc'. 
Resolved ''

Possible Source of Error:
   Class Name: weblogic.jndi.internal.BasicNamingNode
   File Name: BasicNamingNode.java
   Method Name: newNameNotFoundException
   Line Number: 1139
....

When I looked at the WL admin console, there is no JDBC DataSource 
configured:-(

Workaround ==============================================
Configure the DataSource by hand for the target server. But that's kind of 
hard because the VWP generates the JNDI name for the used DataSources.
Comment 1 Petr Jiricka 2006-11-29 10:07:13 UTC
Right, this is not supported. Changing to ENHANCEMENT request.
Comment 2 Petr Jiricka 2007-12-10 09:11:23 UTC
*** Issue 86216 has been marked as a duplicate of this issue. ***