Reputation: 563
i have an adf application.i need to change its database connection.i added a new connection and deleted the old one but when i try to execute some operation on button click it gives me error
ADF: Adding the following JSF error message: Connection name oldDBConn is not defined.
oracle.jbo.ConfigException: JBO-33003: Connection name oldDBConn is not defined.
My jdev version is 11.1.1.5
Upvotes: 0
Views: 4415
Reputation: 315
go to Model.jspx and delete the old connection and try to view the sourceCode for Model.jspx to see the old connection exists or not
Upvotes: 2
Reputation: 5803
Could you go to the application module - connections and make sure you new db connection has been selected. Also, once you create the connection you could test it once so that you are sure that the SID/service name isnt messed up.
Upvotes: 1
Reputation: 445
What's unclear about your post is the error occurring when you're running from the integrated WLS or after deploying a standalone server? I'll assume the former.
Also assuming you're using ADF Business Components, you should right click no the Model project, select Project Properties, then the ADF Business Components node and ensure that Connection option has your new connection selected.
Upvotes: 0