This content has been marked as final. Show 4 replies
It shouldn't be... But it's tricky... I'm assuming you're talking about the DbAdapter here...
The data source itself goes fine, but when you relate the datasource jndi to the DbAdapter there's an additional step to be done... You have to go to deployments again mark the checkbox at the side of DbAdapter and then click Update, on the next screen you choose the first option to update the with the new deployment plan...
That last step is not very well documented, it took me a while to figure out...
In either case, we don't need a restart thats the message you get in your screen, when you create datasource or JNDI.
But after updating a JNDI with the adapter you need to restart the server.
Last week i ran into a situation where i created a datasource and then i updated JNDI in dbadapter application, forgot to update the datasource column with value.
When i try to access the database i got an exception saying you need to provide the datasource name and restart the server, i provided the datasource name and tried to use the database but it doesn't help. I had to restart the server.
I think we need a restart if you create or update any JNDI.
After making the JNDI changes, have you tried restarting the DbAdapter deployment. Actually, I didn't need to restart for every data source creation.
Like the above comments, creation of datasource and JNDI update doesnt require server restart. Thats what the document says. Especially for datasource we dont need server restart.
If you had updated JNDI then you need to update the deployment plan.
If you see the situation i had explained in my previous post, i got the message asking me to restart the server, coz i missed to enter the datasource name.