shining01 Posted November 26, 2013 Share Posted November 26, 2013 Hello,i would like to show a picture of our employes in jasperserver Report. The path ist \serverfoldername.jpg. this path is stored in the database which i query.In ireport it works but on the jaspersoft Server it didn't works.i get the following error:net.sf.jasperreports.engine.JRException: Byte data not found at : \server1folderTom.jpgHow can i show a image from external server? Thanks Link to comment Share on other sites More sharing options...
shining01 Posted November 27, 2013 Author Share Posted November 27, 2013 i solved the problem. if you run the tomcat as an user which can access the directory , it will work. Link to comment Share on other sites More sharing options...
abhimanyu.prasad Posted December 3, 2013 Share Posted December 3, 2013 Could you please share the jrxml segment where you are displaying the image? Link to comment Share on other sites More sharing options...
shining01 Posted December 3, 2013 Author Share Posted December 3, 2013 thats a normal image element: <image> <reportElement x="0" y="0" width="65" height="53" uuid="85469727-d6b4-4361-bbc2-950dd91dd444"/> <imageExpression><![CDATA[$F{bilddatei}]]></imageExpression></image> 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