toure32 Posted February 1, 2010 Share Posted February 1, 2010 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.initialcould some help me please ?best regards. Link to comment Share on other sites More sharing options...
toure32 Posted February 3, 2010 Author Share Posted February 3, 2010 Hi all,i've found the solution.I just add some these jar in ireport directory :appserv-adminappserv-cmpappserv-deployement-clientappserv-eeappserv-extappserv-jstlappserv-jwsacappserv-launchappserv-rtappserv-rtl10nappserv-seappserv-tagsappserv-upgradeappserv-wsimqjavaeeDont forget to add your JDBC driver and your persistence provider to the lib directory Hope it will help someone elseregards Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now