majst2005 Posted January 14, 2013 Share Posted January 14, 2013 When I try to install JasperServer 5.0.1 WAR Archive, into Oracle 11.1.0 and JBOSS 5.1.0, I recieve the following error: BUILD FAILEDC:UsersbsmithDesktopProjectsJasperReports Serverjasperreports-server-5.0.1-binbuildomaticbindb-common.xml:871: The following error occurred while executing this line:C:UsersbsmithDesktopProjectsJasperReports Serverjasperreports-server-5.0.1-binbuildomaticbinimport-export.xml:264: The following error occurred while executing this line:C:UsersbsmithDesktopProjectsJasperReports Serverjasperreports-server-5.0.1-binbuildomaticbinimport-export.xml:158: java.io.IOException: Cannot run program "C:Program FilesJavajdk1.6.0_30jrebinjava.exe": CreateProcess error=206, The filename or extension is too long Any idea on to fix this? Link to comment Share on other sites More sharing options...
Solution mrcaffeine Posted January 15, 2013 Solution Share Posted January 15, 2013 Windows has a path length limitation of 260 characters (see here for details). Instead of installing JRS from C:UsersbsmithDesktopProjectsJasperReports Serverjasperreports-server-5.0.1-bin try to install it from C:Usersbsmithjasperreports-server-5.0.1-bin or C:jasperreports-server-5.0.1-bin. Link to comment Share on other sites More sharing options...
majst2005 Posted January 15, 2013 Author Share Posted January 15, 2013 This worked, thanks!!! Link to comment Share on other sites More sharing options...
sant3dg Posted April 5, 2015 Share Posted April 5, 2015 Thanks worked for me... Link to comment Share on other sites More sharing options...
navisakhti123 Posted October 29, 2015 Share Posted October 29, 2015 You should check out ‘Long Path Tool’ it will help you fix the issues. Link to comment Share on other sites More sharing options...
aiden_carter Posted October 11, 2016 Share Posted October 11, 2016 Long path tool is the very good program for error, unlock solution. Try it and solve your problem. I used long path tool and I solve my error, unlock problem solution. Link to comment Share on other sites More sharing options...
bobtins Posted July 25, 2017 Share Posted July 25, 2017 I'd like to explain the origin of the problem in more depth. The workaround, which is to install JR Server in a directory with a shorter path, is still valid.I also thought that the 260 character limit was the culprit; however, this is confusing because in later versions of Windows, including Windows 10, this restriction has been lifted. Also, this can happen when none of the paths exceed 260 characters.It turns out that there is still a limit of 32,768 bytes on the size of the entire command line. This seems like a lot, but during the installation, an import process is started which includes a list of all the JARs in the directory <JRS_INSTALL>/buildomatic/conf_source/iePro/lib.In JRS 6.4, the count of JARs is approximately 304, so it's pretty easy to go over this limit. Previous versions of JRS had fewer JARs, so it was possible to have a longer path without hitting this error.The easiest workaround is still to install JRS on a shorter path; an issue has been filed to lift this limitation in a future version of JRS. 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