Jump to content
Changes to the Jaspersoft community edition download ×

Problems starting JasperServer


Blue_Ice

Recommended Posts

I was asked to put my thread here.

 

By: BlueIced - blueiced
Problems starting JasperServer
2006-09-02 04:54
Hello everyone,

I have a problem with starting JasperServer. And the solutions provided previously don't seem to work or apply. I am using MySQL 5.0.22, Tomcat 5.5.15, JVM 1.4.2 and OS Fedora Core 5 (2.6.17-1.2174_FC5). I am not very familiar with Java, so I don't really know what all the errors mean. I have put the log below:

Created MBeanServer with ID: [uID: 291184,1157196921924,-32768]:fedora.localdomain:1
2-Sep-06 1:35:24 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/i386
2-Sep-06 1:35:25 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
2-Sep-06 1:35:25 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2599 ms
2-Sep-06 1:35:25 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
2-Sep-06 1:35:25 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
2-Sep-06 1:35:25 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
2-Sep-06 1:35:25 PM org.apache.catalina.startup.HostConfig deployDescriptor
SEVERE: Error deploying configuration descriptor jasperserver.xml
2-Sep-06 1:35:27 PM org.apache.catalina.startup.HostConfig deployDescriptor
SEVERE: Error deploying configuration descriptor jasper.xml
2-Sep-06 1:35:29 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive jasper.war
2-Sep-06 1:35:29 PM org.apache.catalina.core.NamingContextListener addResource
WARNING: Failed to register in JMX: javax.naming.NamingException: Cannot create resource instance
2-Sep-06 1:35:51 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
2-Sep-06 1:35:51 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
2-Sep-06 1:35:54 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
2-Sep-06 1:35:55 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
2-Sep-06 1:35:57 PM org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: jasperserver.log (Permission denied)
at gnu.java.nio.channels.FileChannelImpl.open(libgcj.so.7)
at gnu.java.nio.channels.FileChannelImpl.<init>(libgcj.so.7)
at java.io.FileOutputStream.<init>(libgcj.so.7)
at java.io.FileOutputStream.<init>(libgcj.so.7)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:166)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:162)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:254)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:107)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:95)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:655)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612)
at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:508)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:416)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:429)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:447)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:120)
at java.lang.Class.initializeClass(libgcj.so.7)
at org.apache.log4j.Logger.getLogger(Logger.java:104)
at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
at java.lang.reflect.Constructor.newInstance(libgcj.so.7)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(commons-logging-api.jar.so)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(commons-logging-api.jar.so)
at org.apache.commons.logging.LogFactory.getLog(commons-logging-api.jar.so)
at org.apache.catalina.core.ContainerBase.getLogger(catalina.jar.socs9zxl.so)
at org.apache.catalina.valves.ValveBase.createObjectName(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardPipeline.registerValve(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardPipeline.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardContext.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.ContainerBase.addChildInternal(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.ContainerBase.addChild(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardHost.addChild(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.HostConfig.deployDirectory(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.HostConfig.deployDirectories(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.HostConfig.deployApps(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.HostConfig.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(catalina.jar.socs9zxl.so)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.ContainerBase.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardHost.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.ContainerBase.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardEngine.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardService.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardServer.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.Catalina.start(catalina.jar.socs9zxl.so)
at java.lang.reflect.Method.invoke(libgcj.so.7)
at org.apache.catalina.startup.Bootstrap.start(bootstrap.jar.so)
at org.apache.catalina.startup.Bootstrap.main(bootstrap.jar.so)
2-Sep-06 1:36:11 PM org.apache.catalina.core.NamingContextListener addResource
WARNING: Failed to register in JMX: javax.naming.NamingException: Cannot create resource instance
2-Sep-06 1:36:11 PM org.apache.catalina.core.NamingContextListener addResource
WARNING: Failed to register in JMX: javax.naming.NamingException: Cannot create resource instance
2-Sep-06 1:36:11 PM org.apache.catalina.core.NamingContextListener addResource
WARNING: Failed to register in JMX: javax.naming.NamingException: Cannot create resource instance
13:38:27,450 ERROR ContextLoader,main:200 - Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'reportJobUpdateVoter' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Class that bean class [org.acegisecurity.vote.BasicAclEntryVoter] depends on not found; nested exception is java.lang.NoClassDefFoundError: org.acegisecurity.vote.AbstractAclVoter
java.lang.NoClassDefFoundError: org.acegisecurity.vote.AbstractAclVoter
at java.lang.Class.initializeClass(libgcj.so.7)
at java.lang.Class.initializeClass(libgcj.so.7)
at java.lang.Class.forName(libgcj.so.7)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:108)
at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(BeanDefinitionReaderUtils.java:65)
at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:565)
at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:531)
at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseDefaultElement(DefaultXmlBeanDefinitionParser.java:397)
at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitions(DefaultXmlBeanDefinitionParser.java:371)
at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:206)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:388)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:259)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:209)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:184)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:128)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:144)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:126)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:95)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:90)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:280)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:241)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:178)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
at org.apache.catalina.core.StandardContext.listenerStart(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardContext.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.ContainerBase.addChildInternal(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.ContainerBase.addChild(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardHost.addChild(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.HostConfig.deployDirectory(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.HostConfig.deployDirectories(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.HostConfig.deployApps(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.HostConfig.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(catalina.jar.socs9zxl.so)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.ContainerBase.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardHost.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.ContainerBase.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardEngine.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardService.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardServer.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.Catalina.start(catalina.jar.socs9zxl.so)
at java.lang.reflect.Method.invoke(libgcj.so.7)
at org.apache.catalina.startup.Bootstrap.start(bootstrap.jar.so)
at org.apache.catalina.startup.Bootstrap.main(bootstrap.jar.so)
Caused by: java.lang.ClassNotFoundException: org.aspectj.lang.JoinPoint$StaticPart
at org.apache.catalina.loader.WebappClassLoader.loadClass(catalina.jar.socs9zxl.so)
at org.apache.catalina.loader.WebappClassLoader.loadClass(catalina.jar.socs9zxl.so)
at java.lang.Class.forName(libgcj.so.7)
at java.lang.Class.initializeClass(libgcj.so.7)
...44 more

13:38:27,983 ERROR [/jasperserver],main:? - Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'reportJobUpdateVoter' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Class that bean class [org.acegisecurity.vote.BasicAclEntryVoter] depends on not found; nested exception is java.lang.NoClassDefFoundError: org.acegisecurity.vote.AbstractAclVoter
java.lang.NoClassDefFoundError: org.acegisecurity.vote.AbstractAclVoter
at java.lang.Class.initializeClass(libgcj.so.7)
at java.lang.Class.initializeClass(libgcj.so.7)
at java.lang.Class.forName(libgcj.so.7)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:108)
at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(BeanDefinitionReaderUtils.java:65)
at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:565)
at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:531)
at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseDefaultElement(DefaultXmlBeanDefinitionParser.java:397)
at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitions(DefaultXmlBeanDefinitionParser.java:371)
at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:206)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:388)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:259)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:209)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:184)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:128)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:144)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:126)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:95)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:90)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:280)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:241)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:178)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
at org.apache.catalina.core.StandardContext.listenerStart(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardContext.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.ContainerBase.addChildInternal(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.ContainerBase.addChild(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardHost.addChild(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.HostConfig.deployDirectory(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.HostConfig.deployDirectories(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.HostConfig.deployApps(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.HostConfig.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(catalina.jar.socs9zxl.so)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.ContainerBase.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardHost.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.ContainerBase.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardEngine.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardService.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardServer.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.Catalina.start(catalina.jar.socs9zxl.so)
at java.lang.reflect.Method.invoke(libgcj.so.7)
at org.apache.catalina.startup.Bootstrap.start(bootstrap.jar.so)
at org.apache.catalina.startup.Bootstrap.main(bootstrap.jar.so)
Caused by: java.lang.ClassNotFoundException: org.aspectj.lang.JoinPoint$StaticPart
at org.apache.catalina.loader.WebappClassLoader.loadClass(catalina.jar.socs9zxl.so)
at org.apache.catalina.loader.WebappClassLoader.loadClass(catalina.jar.socs9zxl.so)
at java.lang.Class.forName(libgcj.so.7)
at java.lang.Class.initializeClass(libgcj.so.7)
...44 more

log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: jasperserver.log (Permission denied)
at gnu.java.nio.channels.FileChannelImpl.open(libgcj.so.7)
at gnu.java.nio.channels.FileChannelImpl.<init>(libgcj.so.7)
at java.io.FileOutputStream.<init>(libgcj.so.7)
at java.io.FileOutputStream.<init>(libgcj.so.7)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:166)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:162)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:254)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:107)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:95)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:655)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612)
at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:508)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:416)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:429)
at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:335)
at org.springframework.util.Log4jConfigurer.initLogging(Log4jConfigurer.java:72)
at org.springframework.web.util.Log4jWebConfigurer.initLogging(Log4jWebConfigurer.java:156)
at org.springframework.web.util.Log4jConfigListener.contextInitialized(Log4jConfigListener.java:52)
at org.apache.catalina.core.StandardContext.listenerStart(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardContext.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.ContainerBase.addChildInternal(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.ContainerBase.addChild(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardHost.addChild(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.HostConfig.deployDirectory(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.HostConfig.deployDirectories(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.HostConfig.deployApps(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.HostConfig.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(catalina.jar.socs9zxl.so)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.ContainerBase.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardHost.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.ContainerBase.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardEngine.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardService.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.core.StandardServer.start(catalina.jar.socs9zxl.so)
at org.apache.catalina.startup.Catalina.start(catalina.jar.socs9zxl.so)
at java.lang.reflect.Method.invoke(libgcj.so.7)
at org.apache.catalina.startup.Bootstrap.start(bootstrap.jar.so)
at org.apache.catalina.startup.Bootstrap.main(bootstrap.jar.so)
2-Sep-06 1:38:31 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
2-Sep-06 1:38:31 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/jasperserver] startup failed due to previous errors
2-Sep-06 1:39:28 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
2-Sep-06 1:39:28 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
2-Sep-06 1:39:28 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/307 config=null
2-Sep-06 1:39:29 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
2-Sep-06 1:39:29 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 244038 ms



By: Sherman Wood - sgwoodProject Admin
RE: Problems starting JasperServer
2006-09-02 06:37

First thing: please post on JasperForge at http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=215&func=showcat&catid=10

You have 2 problems.

I don't know why writing to your log file is not working. It usually is in TOMCAT/bin, though it can be moved by editing WEB-INF/classes/log4j.properties.

The missing class problem is strange. The classes being complained about are in WEB-INF/lib/acegi-security-1.0.1.jar. You can't have one without the other. Have you got other acegi-security jars on the classpath in Tomcat?



Sherman
JasperSoft

By: BlueIced - blueiced
RE: Problems starting JasperServer
2006-09-03 08:36
Sorry for posting, I came across this one first.

In log4j.properties there is the following line: #log4j.appender.fileout.File=${webapp.root}/WEB-INF/log4j.log.
Is this the line you are talking about? Because it is commented out. Should I enable it?

I can only find acegi-security-1.0.0.jar on my server. So I am not sure if this is right.

Arjan.
Link to comment
Share on other sites

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Arjan,

 

How did you download the application. The problem with the log file not having permissions makes me think that you have perhaps you have installed as one user and then run the application as another user...

 

It might be easier for you if you download the most current installer (we have them for both linux and windows). This will do all of the installation work for you and then you should be able to start the application from a startup menu. (if you did this already then ignore this).

 

-Tony

Link to comment
Share on other sites

  • 3 months later...

My setup is almost exactly the same, and I am getting the exact same 2 errors. I've solved the permission error for the log file:

As the warning at the bottom of this page:

http://www.springframework.org/docs/api/org/springframework/web/util/Log4jWebConfigurer.html

 

 

Make sure that your tomcat5/webapps/jasperserver/WEB-INF/web.xml has:

<context-param>

 

<param-name>webAppRootKey</param-name>

 

<param-value>jasperserver.root</param-value>

 

</context-param>

 

Then, in

tomcat5/webapps/jasperserver/WEB-INF/classes/log4j.properties, make sure you have:

log4j.appender.fileout.File=${jasperserver.root}/WEB-INF/log4j.log

or jasperserver.log or whatever you want.

 

Apparently, with Tomcat webapp.root doesn't contain anything which obviously breaks the location directive in log4j.properties.

 

I am wondering if the second problem, (missing org.acegisecurity.vote.AbstractAclVoter) is related? What do you experts out there think?

 

I'll keep plugging away to try to solve the mystery, but any insight would be greatly appreciated.

 

Scotty

Link to comment
Share on other sites

I've solved the org.acegisecurity.vote.AbstractAclVoter issue. I just needed to upgrade to the Java Virtual Machine to JDK 1.5.0. I am using Fedora Core 6 and this resolved the issue.

 

On a side note, if you are getting a "connection refused" error, double check your context.xml and jasperserver.xml files to make sure that the correct database (jasperserver) and MySQL port (usually 3306) are stipulated. I installed from the WAR file and they weren't right.

 

There's probably a good reason for it, but as a newbie it threw me off for a while.

 

Scotty

Link to comment
Share on other sites

  • 3 weeks later...

Just to be clear, we don't test on Tomcat 5, only Tomcat 5.5.

 

We compile with JDK 1.5, but do not use JDK 1.5 features, so that we can run in JDK 1.4 environments if needed.

 

Our commercial versions cover WebLogic etc.

 

 

Sherman

JasperSoft

Link to comment
Share on other sites

Just to be clear, we don't test on Tomcat 5, only Tomcat 5.5.

 

We compile with JDK 1.5, but do not use JDK 1.5 features, so that we can run in JDK 1.4 environments if needed.

 

Our commercial versions cover WebLogic etc.

 

 

Sherman

JasperSoft

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