How to use 3rd party libraries in glassfish?

后端 未结 6 781
余生分开走
余生分开走 2020-12-03 04:00

I need to connect to a MongoDB instance from my EJB3 application, running on glassfish 3.0.1. The Mongo project provides a set of drivers, and I\'m able to use them in a sta

6条回答
  •  清歌不尽
    2020-12-03 04:38

    In my case I was using Oracle Express Edition 11gR2 and Glassfish 3.1.2 and the ONLY way that works in my case was putting the ojdbc6 in:

    C:\Program Files\glassfish-3.1.2.2\glassfish\lib
    

提交回复
热议问题