Jump to content

javax.naming.noinitialcontextexception execption


toure32

Recommended Posts

Hi all,

i've connect my ireport to my persistant unit for an EJBQL connection.

Ireport connect to my PU. But in my PU i use a datasource for database connection. so got exception :

cannot acuire datasource [mysource]. internal exception javax.naming.noinitialcontextexception need to specify
class name in environement or système property or as aplet parameter or in an application resource file: java.naming.factory.initial

could some help me please ?

best regards.


 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi all,
i've found the solution.
I just add some these jar in ireport directory :

appserv-admin
appserv-cmp
appserv-deployement-client
appserv-ee
appserv-ext
appserv-jstl
appserv-jwsac
appserv-launch
appserv-rt
appserv-rtl10n
appserv-se
appserv-tags
appserv-upgrade
appserv-ws
imq
javaee


Dont forget to add your JDBC driver and your persistence provider to the lib directory

Hope it will help someone else

regards

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...