Jump to content
Changes to the Jaspersoft community edition download ×

jasperreports-server-cp-4.0.0 cant start


rortin

Recommended Posts

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 start

But 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 3306
Using CATALINA_BASE:   /opt/jasperreports-server-cp-4.0.0/apache-tomcat
Using CATALINA_HOME:   /opt/jasperreports-server-cp-4.0.0/apache-tomcat
Using CATALINA_TMPDIR: /opt/jasperreports-server-cp-4.0.0/apache-tomcat/temp
Using JRE_HOME:        /opt/jasperreports-server-cp-4.0.0/java
Using CLASSPATH:       /opt/jasperreports-server-cp-4.0.0/apache-tomcat/bin/bootstrap.jar
PID 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

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

  • 1 month later...

 

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

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...