rortin Posted June 16, 2011 Share Posted June 16, 2011 Hi, I have a problem starting jasperreports-server-cp-4.0.0 in linux.When i installed its start correctly, but once i restart de computer, jasper didnt start.I tried to execute the command: sudo ./ctlscript.sh startBut the result is:110616 10:11:32 mysqld_safe Logging to '/opt/jasperreports-server-cp-4.0.0/mysql/data/mysqld.log'.110616 10:11:33 mysqld_safe Starting mysqld.bin daemon with databases from /opt/jasperreports-server-cp-4.0.0/mysql/data/opt/jasperreports-server-cp-4.0.0/mysql/scripts/ctl.sh : mysql started at port 3306Using CATALINA_BASE: /opt/jasperreports-server-cp-4.0.0/apache-tomcatUsing CATALINA_HOME: /opt/jasperreports-server-cp-4.0.0/apache-tomcatUsing CATALINA_TMPDIR: /opt/jasperreports-server-cp-4.0.0/apache-tomcat/tempUsing JRE_HOME: /opt/jasperreports-server-cp-4.0.0/javaUsing CLASSPATH: /opt/jasperreports-server-cp-4.0.0/apache-tomcat/bin/bootstrap.jarPID file (/opt/jasperreports-server-cp-4.0.0/apache-tomcat/temp/catalina.pid) found. Is Tomcat still running? Start aborted./opt/jasperreports-server-cp-4.0.0/apache-tomcat/scripts/ctl.sh : tomcat could not be started I dont know what is the problem, I dont have any tomcat running and if i want to start it i must do:/opt/jasperreports-server-cp-4.0.0/apache-tomcat/bin/startup.sh Then it seem to works.... What is the problem?? how i can do to start it from de ctlscript??? Thans a lot. Link to comment Share on other sites More sharing options...
tkavanagh Posted June 16, 2011 Share Posted June 16, 2011 It seems you have found a bug with the start/stop. Perhaps it has something to do with running the application server as root (because I haven't hit this issue on all of my testing). It looks like if tomcat does not get cleanly shutdown, then the catalina.pid that is used to track whether tomcat is running or not does not get removed. So, the next attempt to start is aborted because the catalina.pid is found. So, go ahead and delete the catalina.pid file and start jasperserver again. It looks like the pid file is found here: /opt/jasperreports-server-cp-4.0.0/apache-tomcat/temp/catalina.pid Link to comment Share on other sites More sharing options...
manoj0523 Posted August 7, 2011 Share Posted August 7, 2011 While I am trying to Generate a dynamic report using jtable as datasource using jasper report, This error is caught "Exception in thread "AWT-EventQueue-0" java.lang.IllegalAccessError: tried to access method java.lang.Object.clone()Ljava/lang/Object; from class ar.com.fdvs.dj.util.Utils" i have added all possible library files to my netbeans project , but this error is coming.. Can any one help me out of this, Thanks in Advance. Manoj Post Edited by manoj0523 at 08/07/2011 06:09 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