my dog learned polymorphism*
The moose likes IDEs, Version Control and other tools and the fly likes Problem in configuring JNDI and Connection Pools in Netbeans IDE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Problem in configuring JNDI and Connection Pools in Netbeans IDE" Watch "Problem in configuring JNDI and Connection Pools in Netbeans IDE" New topic
Author

Problem in configuring JNDI and Connection Pools in Netbeans IDE

Bhavesh Sangwan
Ranch Hand

Joined: Aug 08, 2012
Posts: 57
Hi I'm trying to run example using JPA and Singleton EJB. But I'm facing problem running (Deploying) application on GlashFish server. I also configured the JNDI name and connection pool but not listed in server JDBC Resources under Services Tab in Netbeans.

My question is should I manually create JNDI and connection pool in Glassfish console or...........?

Please Help me gyues.....


Thanks You
E Armitage
Rancher

Joined: Mar 17, 2012
Posts: 892
    
    9
If you are deploying the application to Glassfish then the connection resources need to be defined Glassfish. Remember that Netbeans is just a development tool which will not be there when you have completed your application and it's now being accessed by your customers.
Bhavesh Sangwan
Ranch Hand

Joined: Aug 08, 2012
Posts: 57
Thanks Armitage...! I know that NetBeans is Development tool... but may be anyhow netbeans able to configure these server resources autometically by using any wizard...?

I watched it in a video tutorial.... and may be he skipped this configuration in his video log..

I'll try to configure it manually on glassfish... Thanks a lot... and also leave more suggestion if you have any....
 
GeeCON Prague 2014
 
subject: Problem in configuring JNDI and Connection Pools in Netbeans IDE