Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in configuring JNDI and Connection Pools in Netbeans IDE

 
Bhavesh Sangwan
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 989
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic