Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

Inability to start rotatelogs causes Apache startup failure.

NameVirtualHost Directive - - - - Multiple SSL virtual hosts
(29 lines)
"MyServiceName" will not not start in my Apache Software Monitor...Why?
(47 lines)
Jun 4, 2010
Tuba Flea
Tuba Flea
I'm using Apache 2.2.11 on Windows Server 2003.

Apache is failing to start as its attempt to start rotatelogs fails. I
cannot figure out what the problem is.

Every time httpd starts up, these two message are placed sequentially in
error.log:

1) unable to start piped log program ' "C:/Program
Files/foo/apache/bin/rotatelogs.exe" "C:/Program
Files/foo/logs/httpd/access.%Y_%m_%d_%H_%M_%S.log" 86400': Access is
denied.
2) Unable to open logs

("foo" is a service that Apache is installed under and uses Apache.)

"Access is denied" is a Windows permission error message.

These are various things I've confirmed/tried:

1) The foo service runs.
2) The user that the foo service runs as can start rotatelogs.exe from the
command line.
3) rotatelogs.exe has full execute permissions for all users.
4) The logging-to directory exists and has write permissions for all
users.
5) There are no security programs involved.
6) Getting the events while running procman indicates that rotatelogs.exe
is
not accessed in anyway by httpd.
7) This works fine on other machines (running XP).

I've looked in the source code:
- The "Unable to open logs" is from server/main.c:main().
- The "unable to start piped log program" is from
server/log.c:piped_log_spawn(), and the access denied is coming from when
srclib/apr/threadproc/win32/proc.c:apr_proc_create() calls the Windows
function CreateProcess(). As rotatelogs is not found in the events
captured
by procman, it seems that CreateProcess() wasn't able to start rotatelogs.

This appears to be some weird permissions issue. But since httpd can
start,
I can't figure out why it can't start rotatelogs.

Any help would be much appreciated.


Reply
Tags: startfailingapache
Messages in this thread
Inability to start rotatelogs causes Apache startup failure.
Similar Threads
Created: (AMQ-2757) AMQ startup fails during Startup due to NullPointerException in KahaDB
AMQ startup fails during Startup due to NullPointerException in KahaDB

Startup fails for geronimo 2.2 when using a symbolic link for startup.sh
I'm trying to startup a geronimo 2.2 server using a symlink for startup.sh,
but the server does not start up successfully.  We use this same setup for
version 2.1.4 and do not have these problems.

I have geronimo 2.2 installed on a device at
/opt/geronimo-jetty7-javaee5-2.2.

I created a symlink to this directory using the following command:
$ ln -s /opt/geronimo-jetty7-javaee5-2.2/ current

I then created a symlink to startup.sh:
$ ln -s current/bin/startup.sh startup.sh

If I run
$ ./startup.sh

the server fails to start up, having problems with starting console-jetty.
A partial trace is located below.

If I run the startup.sh command directly from the
/opt/geronimo-jetty7-javaee5-2.2/bin directory, the server starts up
without
error.



Partial output:
Booting Geronimo Kernel (in Java 1.5.0_16)...
Module  1/79
org.apache.geronimo.framework/j2ee-system/2.2/car
started in   .000s

... Many successfully started modules ...

Module 39/79
org.apache.geronimo.configs/remote-deploy-jetty/2.2/car
2010-06-04 10:08:16,481 WARN  [log] Aliased resource:
file:/home/geronimo/current/repository/org/apache/geronimo/configs/remote-deploy-jetty/2.2/remote-deploy-jetty-2.2.car/~=file:/opt/geronimo-jetty7-javaee5-2.2/repository/org/apache/geronimo/configs/remote-deploy-jetty/2.2/remote-deploy-jetty-2.2.car/
 started in   .607s

... More successfully started modules...

Module 56/79
org.apache.geronimo.configs/uddi-jetty/2.2/car
2010-06-04 10:08:18,492 WARN  [log] Aliased resource:
file:/home/geronimo/current/repository/org/apache/geronimo/configs/uddi-jetty/2.2/uddi-jetty-2.2.car/WEB-INF/juddi.properties~=file:/opt/geronimo-jetty7-javaee5-2.2/repository/org/apache/geronimo/configs/uddi-jetty/2.2/uddi-jetty-2.2.car/WEB-INF/juddi.properties
2010-06-04 10:08:18,492 WARN  [RegistryServlet] Could not locate jUDDI
properties '/WEB-INF/juddi.properties'. Using defaults.
2010-06-04 10:08:18,887 WARN  [log] Aliased resource:
file:/home/geronimo/current/repository/org/apache/geronimo/configs/uddi-jetty/2.2/uddi-jetty-2.2.car/~=file:/opt/geronimo-jetty7-javaee5-2.2/repository/org/apache/geronimo/configs/uddi-jetty/2.2/uddi-jetty-2.2.car/
 started in   .604s
Module 57/79
org.apache.geronimo.configs/welcome-jetty/2.2/car
2010-06-04 10:08:19,063 WARN  [log] Aliased resource:
file:/home/geronimo/current/repository/org/apache/geronimo/configs/welcome-jetty/2.2/welcome-jetty-2.2.car/~=file:/opt/geronimo-jetty7-javaee5-2.2/repository/org/apache/geronimo/configs/welcome-jetty/2.2/welcome-jetty-2.2.car/
 started in   .132s
Module 58/79
org.apache.geronimo.plugins/pluto-support/2.2/car
started in   .020s
Module 59/79
org.apache.geronimo.plugins/console-jetty/2.2/car
2010-06-04 10:08:20,015 WARN  [log] Aliased resource:
file:/home/geronimo/current/repository/org/apache/geronimo/plugins/console-jetty/2.2/console-jetty-2.2.car/portal-driver.war/WEB-INF/pluto-portal-driver-services-config.xml~=file:/opt/geronimo-jetty7-javaee5-2.2/repository/org/apache/geronimo/plugins/console-jetty/2.2/console-jetty-2.2.car/portal-driver.war/WEB-INF/pluto-portal-driver-services-config.xml
2010-06-04 10:08:20,017 ERROR [ContextLoader] Context initialization
failed
org.springframework.beans.factory.BeanDefinitionStoreException:
IOException
parsing XML document from ServletContext resource
[/WEB-INF/pluto-portal-driver-services-config.xml]; nested exception is
java.io.FileNotFoundException: Could not open ServletContext resource
[/WEB-INF/pluto-portal-driver-services-config.xml]
    at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:349)
    at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
    at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
    at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
    at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
    at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
    at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
    at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
    at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)
    at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
    at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
    at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
    at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
    at
org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:643)
    at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:189)
    at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:913)
    at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:584)
    at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:341)
    at
org.apache.geronimo.jetty7.handler.GeronimoWebAppContext.doStart(GeronimoWebAppContext.java:71)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
    at
org.apache.geronimo.jetty7.WebAppContextWrapper.doStart(WebAppContextWrapper.java:323)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:953)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:525)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:295)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:539)
    at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:377)
    at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
    at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:493)
    at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546)
    at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
    at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816)
    at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
    at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
    at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
    at
org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$125fce98.startConfiguration(<generated>)
    at
org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:161)
    at
org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78)
    at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
    at
org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
    at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
Caused by: java.io.FileNotFoundException: Could not open ServletContext
resource [/WEB-INF/pluto-portal-driver-services-config.xml]
    at
org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:117)
    at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)
    ... 54 more
2010-06-04 10:08:20,019 ERROR [log] Failed startup of context
GeronimoWeb### @195bf19
@195bf19/console,file:/home/geronimo/current/repository/org/apache/geronimo/plugins/console-jetty/2.2/console-jetty-2.2.car/portal-driver.war/,file:/home/geronimo/current/repository/org/apache/geronimo/plugins/console-jetty/2.2/console-jetty-2.2.car/portal-driver.war/
org.springframework.beans.factory.BeanDefinitionStoreException:
IOException
parsing XML document from ServletContext resource
[/WEB-INF/pluto-portal-driver-services-config.xml]; nested exception is
java.io.FileNotFoundException: Could not open ServletContext resource
[/WEB-INF/pluto-portal-driver-services-config.xml]
    at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:349)
    at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
    at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
    at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
    at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
    at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
    at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
    at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
    at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)
    at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
    at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
    at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
    at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
    at
org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:643)
    at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:189)
    at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:913)
    at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:584)
    at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:341)
    at
org.apache.geronimo.jetty7.handler.GeronimoWebAppContext.doStart(GeronimoWebAppContext.java:71)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
    at
org.apache.geronimo.jetty7.WebAppContextWrapper.doStart(WebAppContextWrapper.java:323)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:953)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:525)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:295)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:539)
    at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:377)
    at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
    at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:493)
    at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546)
    at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
    at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816)
    at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
    at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
    at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
    at
org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$125fce98.startConfiguration(<generated>)
    at
org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:161)
    at
org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78)
    at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
    at
org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
    at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
Caused by: java.io.FileNotFoundException: Could not open ServletContext
resource [/WEB-INF/pluto-portal-driver-services-config.xml]
    at
org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:117)
    at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)
    ... 54 more
2010-06-04 10:08:20,020 WARN  [log] Nested in
org.springframework.beans.factory.BeanDefinitionStoreException:
IOException
parsing XML document from ServletContext resource
[/WEB-INF/pluto-portal-driver-services-config.xml]; nested exception is
java.io.FileNotFoundException: Could not open ServletContext resource
[/WEB-INF/pluto-portal-driver-services-config.xml]:
java.io.FileNotFoundException: Could not open ServletContext resource
[/WEB-INF/pluto-portal-driver-services-config.xml]
    at
org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:117)
    at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)
    at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
    at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
    at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
    at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
    at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
    at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
    at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
    at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)
    at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
    at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
    at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
    at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
    at
org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:643)
    at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:189)
    at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:913)
    at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:584)
    at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:341)
    at
org.apache.geronimo.jetty7.handler.GeronimoWebAppContext.doStart(GeronimoWebAppContext.java:71)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
    at
org.apache.geronimo.jetty7.WebAppContextWrapper.doStart(WebAppContextWrapper.java:323)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:953)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:525)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:295)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:539)
    at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:377)
    at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
    at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:493)
    at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546)
    at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
    at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816)
    at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
    at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
    at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
    at
org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$125fce98.startConfiguration(<generated>)
    at
org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:161)
    at
org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78)
    at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
    at
org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
    at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
2010-06-04 10:08:20,137 WARN  [log] Aliased resource:
file:/home/geronimo/current/repository/org/apache/geronimo/plugins/console-jetty/2.2/console-jetty-2.2.car/portal-driver.war/~=file:/opt/geronimo-jetty7-javaee5-2.2/repository/org/apache/geronimo/plugins/console-jetty/2.2/console-jetty-2.2.car/portal-driver.war/
2010-06-04 10:08:21,257 WARN  [AdminConsoleExtensionGBean]
AdminConsoleExtensionGBean for Welcome failed.

... Many more exceptions related to the lack of a portal driver...

Server Startup failed
org.apache.geronimo.kernel.config.LifecycleException: start of
org.apache.geronimo.plugins/console-jetty/2.2/car failed
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562)
    at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
    at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816)
    at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
    at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
    at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
    at
org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$125fce98.startConfiguration(<generated>)
    at
org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:161)
    at
org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78)
    at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
    at
org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
    at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException:
Unknown
start exception
    at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:522)
    at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:493)
    at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546)
    ... 15 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
Configuration
org.apache.geronimo.plugins/console-jetty_base-portlets.war/2.2/car failed
to start due to the following reasons:
  The service
J2EEApplication=org.apache.geronimo.plugins/console-jetty/2.2/car,WebModule=base-portlets.war,j2eeType=GBean,name=Welcome
did not start because No portal driver has been registered with the portal
container services
  The service
J2EEApplication=org.apache.geronimo.plugins/console-jetty/2.2/car,WebModule=base-portlets.war,j2eeType=GBean,name=ServerInfo
did not start because No portal driver has been registered with the portal
container services
  The service
J2EEApplication=org.apache.geronimo.plugins/console-jetty/2.2/car,WebModule=base-portlets.war,j2eeType=GBean,name=JavaSysInfo
did not start because No portal driver has been registered with the portal
container services
  The service
J2EEApplication=org.apache.geronimo.plugins/console-jetty/2.2/car,WebModule=base-portlets.war,j2eeType=GBean,name=Logs
did not start because No portal driver has been registered with the portal
container services
  The service
J2EEApplication=org.apache.geronimo.plugins/console-jetty/2.2/car,WebModule=base-portlets.war,j2eeType=GBean,name=Shutdown
did not start because No portal driver has been registered with the portal
container services
  The service
J2EEApplication=org.apache.geronimo.plugins/console-jetty/2.2/car,WebModule=base-portlets.war,j2eeType=GBean,name=WebServer
did not start because No portal driver has been registered with the portal
container services
  The service
J2EEApplication=org.apache.geronimo.plugins/console-jetty/2.2/car,WebModule=base-portlets.war,j2eeType=GBean,name=ThreadPool
did not start because No portal driver has been registered with the portal
container services
  The service
J2EEApplication=org.apache.geronimo.plugins/console-jetty/2.2/car,WebModule=base-portlets.war,j2eeType=GBean,name=ApacheJK
did not start because No portal driver has been registered with the portal
container services
  The service
J2EEApplication=org.apache.geronimo.plugins/console-jetty/2.2/car,WebModule=base-portlets.war,j2eeType=GBean,name=Aliases
did not start because No portal driver has been registered with the portal
container services
  The service
J2EEApplication=org.apache.geronimo.plugins/console-jetty/2.2/car,WebModule=base-portlets.war,j2eeType=GBean,name=RepositoryViewer
did not start because No portal driver has been registered with the portal
container services
  The service
J2EEApplication=org.apache.geronimo.plugins/console-jetty/2.2/car,WebModule=base-portlets.war,j2eeType=GBean,name=WARModules
did not start because No portal driver has been registered with the portal
container services
  The service
J2EEApplication=org.apache.geronimo.plugins/console-jetty/2.2/car,WebModule=base-portlets.war,j2eeType=GBean,name=SystemModules
did not start because No portal driver has been registered with the portal
container services
  The service
J2EEApplication=org.apache.geronimo.plugins/console-jetty/2.2/car,WebModule=base-portlets.war,j2eeType=GBean,name=EARModules
did not start because No portal driver has been registered with the portal
container services
  The service
J2EEApplication=org.apache.geronimo.plugins/console-jetty/2.2/car,WebModule=base-portlets.war,j2eeType=GBean,name=EJBModules
did not start because No portal driver has been registered with the portal
container services
  The service
J2EEApplication=org.apache.geronimo.plugins/console-jetty/2.2/car,WebModule=base-portlets.war,j2eeType=GBean,name=RARModules
did not start because No portal driver has been registered with the portal
container services
  The service
J2EEApplication=org.apache.geronimo.plugins/console-jetty/2.2/car,WebModule=base-portlets.war,j2eeType=GBean,name=ClientModules
did not start because No portal driver has been registered with the portal
container services
  The service
J2EEApplication=org.apache.geronimo.plugins/console-jetty/2.2/car,WebModule=base-portlets.war,j2eeType=GBean,name=UsersGroups
did not start because No portal driver has been registered with the portal
container services
  The service
J2EEApplication=org.apache.geronimo.plugins/console-jetty/2.2/car,WebModule=base-portlets.war,j2eeType=GBean,name=Keystores
did not start because No portal driver has been registered with the portal
container services
  The service
J2EEApplication=org.apache.geronimo.plugins/console-jetty/2.2/car,WebModule=base-portlets.war,j2eeType=GBean,name=CertificationAuthority
did not start because No portal driver has been registered with the portal
container services


error when trying to start apache
Hi,

i had to have a power cycle for remote server i have (which runs as a 
webserver). After that apache never came back up.

Trying to start the server again i now get:
(98)Address already in use: make_sock: could not bind to address
0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

i googled this a bunch but none of the results seems to match my issue.

Doing a:
sudo netstat -plant
gives (the relevant lines):
tcp        0      0 72.167.143.65:8080      0.0.0.0:*               LISTEN
     
4851/apache2
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN
     
4851/apache2
tcp      502      0 72.167.143.65:80        128.123.131.126:53821   
ESTABLISHED - 

Can anyone give me a hint or point me to some documentation on how i can
deal 
with this?

thanks
matt


svn commit: r947974 - /tomcat/trunk/test/org/apache/catalina/startup/TestTomcatSSL.java
Author: jfclere
Date: Tue May 25 09:13:15 2010
New Revision: 947974

URL: http://svn.apache.org/viewvc?rev=947974&view=rev
Log:
It would a lot of work to have it switchable in APR.

Modified:
    tomcat/trunk/test/org/apache/catalina/startup/TestTomcatSSL.java

Modified: tomcat/trunk/test/org/apache/catalina/startup/TestTomcatSSL.java
URL:
http://svn.apache.org/viewvc/tomcat/t...974&view=diff

svn commit: r980262 - /tomcat/trunk/test/org/apache/catalina/startup/TomcatBaseTest.java
Author: markt
Date: Wed Jul 28 23:03:40 2010
New Revision: 980262

URL: http://svn.apache.org/viewvc?rev=980262&view=rev
Log:
Make life easier when debugging failing tests

Modified:
    tomcat/trunk/test/org/apache/catalina/startup/TomcatBaseTest.java

Modified:
tomcat/trunk/test/org/apache/catalina/startup/TomcatBaseTest.java
URL:
http://svn.apache.org/viewvc/tomcat/t...262&view=diff

svn commit: r964731 - in /tomcat/tc6.0.x/trunk: ./ STATUS.txt java/org/apache/catalina/startup/Conte
Author: markt
Date: Fri Jul 16 10:12:01 2010
New Revision: 964731

URL: http://svn.apache.org/viewvc?rev=964731&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49551
Allow default context.xml file to be specified using an absolute path

Modified:
    tomcat/tc6.0.x/trunk/   (props changed)
    tomcat/tc6.0.x/trunk/STATUS.txt
   
tomcat/tc6.0.x/trunk/java/org/apache/catalina/startup/ContextConfig.java
    tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml

Propchange: tomcat/tc6.0.x/trunk/

svn commit: r948248 - /tomcat/trunk/test/org/apache/catalina/startup/TomcatBaseTest.java
Author: markt
Date: Tue May 25 23:14:06 2010
New Revision: 948248

URL: http://svn.apache.org/viewvc?rev=948248&view=rev
Log: (empty)

Modified:
    tomcat/trunk/test/org/apache/catalina/startup/TomcatBaseTest.java

Modified:
tomcat/trunk/test/org/apache/catalina/startup/TomcatBaseTest.java
URL:
http://svn.apache.org/viewvc/tomcat/t...248&view=diff

svn commit: r956653 - /tomcat/trunk/test/org/apache/catalina/startup/SimpleHttpClient.java
Author: markt
Date: Mon Jun 21 17:52:25 2010
New Revision: 956653

URL: http://svn.apache.org/viewvc?rev=956653&view=rev
Log:
Add support for additional 500 error codes.
Allow responses to include blank lines

Modified:
    tomcat/trunk/test/org/apache/catalina/startup/SimpleHttpClient.java

Modified:
tomcat/trunk/test/org/apache/catalina/startup/SimpleHttpClient.java
URL:
http://svn.apache.org/viewvc/tomcat/t...653&view=diff

svn commit: r979854 - /tomcat/trunk/test/org/apache/catalina/startup/TestTomcatSSL.java
Author: markt
Date: Tue Jul 27 20:28:38 2010
New Revision: 979854

URL: http://svn.apache.org/viewvc?rev=979854&view=rev
Log:
Fix unit test failure with APR. SSL renegotiation will not work by default
for this connector.

Modified:
    tomcat/trunk/test/org/apache/catalina/startup/TestTomcatSSL.java

Modified: tomcat/trunk/test/org/apache/catalina/startup/TestTomcatSSL.java
URL:
http://svn.apache.org/viewvc/tomcat/t...854&view=diff

svn commit: r966735 - in /tomcat/trunk/java/org/apache/catalina: ./ core/ startup/ util/
Author: markt
Date: Thu Jul 22 16:32:11 2010
New Revision: 966735

URL: http://svn.apache.org/viewvc?rev=966735&view=rev
Log:
Extend Lifecycle state machine so global listeners can start before
everything else without impacting the context and TLD config listeners

Modified:
    tomcat/trunk/java/org/apache/catalina/Lifecycle.java
    tomcat/trunk/java/org/apache/catalina/LifecycleState.java
    tomcat/trunk/java/org/apache/catalina/core/AprLifecycleListener.java
    tomcat/trunk/java/org/apache/catalina/core/JasperListener.java
   
tomcat/trunk/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java
    tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java
    tomcat/trunk/java/org/apache/catalina/startup/TldConfig.java
    tomcat/trunk/java/org/apache/catalina/util/LifecycleBase.java

Modified: tomcat/trunk/java/org/apache/catalina/Lifecycle.java
URL:
http://svn.apache.org/viewvc/tomcat/t...735&view=diff

svn commit: r948213 - /tomcat/trunk/test/org/apache/catalina/startup/TomcatBaseTest.java
Author: markt
Date: Tue May 25 21:25:45 2010
New Revision: 948213

URL: http://svn.apache.org/viewvc?rev=948213&view=rev
Log:
Clean-up

Modified:
    tomcat/trunk/test/org/apache/catalina/startup/TomcatBaseTest.java

Modified:
tomcat/trunk/test/org/apache/catalina/startup/TomcatBaseTest.java
URL:
http://svn.apache.org/viewvc/tomcat/t...213&view=diff

svn commit: r966613 - in /tomcat/trunk: build.xml test/org/apache/catalina/startup/TestTomcatSSL.jav
Author: markt
Date: Thu Jul 22 12:18:59 2010
New Revision: 966613

URL: http://svn.apache.org/viewvc?rev=966613&view=rev
Log:
Run all unit tests will all connectors

Modified:
    tomcat/trunk/build.xml
    tomcat/trunk/test/org/apache/catalina/startup/TestTomcatSSL.java
    tomcat/trunk/test/org/apache/catalina/startup/TomcatBaseTest.java
    tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/build.xml
URL:
http://svn.apache.org/viewvc/tomcat/t...613&view=diff

svn commit: r963599 - in /tomcat/trunk: java/org/apache/catalina/startup/HostConfig.java webapps/doc
Author: kfujino
Date: Tue Jul 13 04:44:25 2010
New Revision: 963599

URL: http://svn.apache.org/viewvc?rev=963599&view=rev
Log:
Avoid NullPointerException, when copyXML=true and META-INF/context.xml
does not exist.

Modified:
    tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java
    tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java
URL:
http://svn.apache.org/viewvc/tomcat/t...599&view=diff

svn commit: r980347 - in /tomcat/trunk: java/org/apache/catalina/startup/WebRuleSet.java webapps/doc
Author: markt
Date: Thu Jul 29 07:52:07 2010
New Revision: 980347

URL: http://svn.apache.org/viewvc?rev=980347&view=rev
Log:
Fix copy/paste typo

Modified:
    tomcat/trunk/java/org/apache/catalina/startup/WebRuleSet.java
    tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/catalina/startup/WebRuleSet.java
URL:
http://svn.apache.org/viewvc/tomcat/t...347&view=diff

svn commit: r960701 - in /tomcat/trunk: java/org/apache/catalina/startup/ContextConfig.java webapps/
Author: markt
Date: Mon Jul  5 21:07:32 2010
New Revision: 960701

URL: http://svn.apache.org/viewvc?rev=960701&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49551
Allow default context.xml file to be specified using an absolute path.

Modified:
    tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java
    tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java
URL:
http://svn.apache.org/viewvc/tomcat/t...701&view=diff

"MyServiceName" will not not start in my Apache Software Monitor...Why?
Running on my Domain Server which is Server 2003: (NEED HELP PLEASE)

*My Apache Software Monitor 2 out 3 of my services have started. *
Apache 2.2...........is ON as I have a Green Light
MyServiceName... is OFF I have a RED Light ??? (Is This Normal)
Symantec Protection Ceneter Webserver...is ON as I have a Green Light

I have tried everything including the following....

when I tried to Type HTTPD.EXE at the C:\Program Files\Apache Software
Foundation\Apache2.2\bin>httpd.exe

THIS IS THE DATA THAT FOLLOWED: (*is this normal if not why? How can i
fix*)
(OS 10048)Only one usage of each socket address (protocol/network
address/port)
is normally permitted.  : make_sock: could not bind to address
127.0.0.1:8080
no listening sockets available, shutting down
Unable to open logs

Also in Services my Apache2.2....Apache/2.2.15 SERVICE is on and running.

Lastly, when I typed http://localhost:8080/ in my browser it returned: It
Works!

so I know I am doing ok.However, Please I am just wanting to make sure I
did
everything properly. My question is since I am successfully running Apache
2.2 and my Symantec Protection Ceneter Webserver am I done is everything
properly configured?

As you can tell I am not an Apache Software expert but I do want to make
sure I am properly configured.

*SO WHY WON'T "MyNameService" START...PLEASE WHAT AM I DOING WRONG or IS
THIS OK and am I Over reacting?*

Thanks in advance!

Sincerely,
Randy
a.k.a. Aspiring Apache Expert...
nomche### @gmail.com


DO NOT REPLY New: Apache service fails to start when using windows service
https://issues.apache.org/bugzilla/show_bug.cgi?id=49672

           Summary: Apache service fails to start when using windows
                    service
           Product: Tomcat 6
           Version: 6.0.29
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Native:Packaging
        AssignedTo: d### @tomcat.apache.org
        ReportedBy: oldenuf2n### @yahoo.com


I installed the Tomcat 6.0.29 on a Windows 2008 R2 64bit server using the
downloaded exe called, apache-tomcat-6.0.29.exe. I am using JDK 6 Update
21.
Once installed I tried to start the service through the Windows Service
panel
and it failed. I was seeing in the jakarta_service log the message
stating:
prunsrv.c] [error] failed setting process executable. I don't know what
this
meant. I uninstalled this and cleaned up the Programs Files directory and
then
I downloading the 64 bit zipped install called,
apache-tomcat-6.0.29-windows-x64.zip. I unzipped this and copied the files
to a
location I wanted and ran the startup.bat. It ran fine. I then tried to
run the
service.bat and tried to install the service this way. That ran fine but
when I
tried to run the tomcat6w.exe it failed. I removed the service I added and
I
stopped tomcat with the shutdown.bat command. I decided to try running the
apache-tomcat-6.0.29.exe on top of what I had. This ran successfully. Only
then
was I able to start the service from the Windows Service panel. I
uninstalled
everything to double check what I had done and installed Tomcat 6.0.26
with the
apache-tomcat-6.0.26.exe to verify I did not have to install anything on
top of
that and I did not. It just installed and started. So I am not sure what
changed or what the problem is in the 6.0.29 exe install that I cannot
start
the service after using the 6.0.29 exe without installing the files from
your
zipped up version of Tomcat 6.0.29.




svn commit: r954423 - /tomcat/trunk/java/org/apache/catalina/startup/Catalina.java
Author: markt
Date: Mon Jun 14 12:17:59 2010
New Revision: 954423

URL: http://svn.apache.org/viewvc?rev=954423&view=rev
Log:
After deprecating the Embedded class, move the package access/protection
initialisation to Catalina

Modified:
    tomcat/trunk/java/org/apache/catalina/startup/Catalina.java

Modified: tomcat/trunk/java/org/apache/catalina/startup/Catalina.java
URL:
http://svn.apache.org/viewvc/tomcat/t...423&view=diff

Error during startup
I'm getting an "Expected both token and generation columns; found
ColumnFamily" error during startup can anyone tell me what it is? Details
below.

Starting Cassandra Server
Listening for transport dt_socket at address: 8888
 INFO 16:14:33,459 Auto DiskAccessMode determined to be standard
 INFO 16:14:33,615 Sampling index for
C:\var\lib\cassandra\data\system\LocationInfo-1-Data.db
 INFO 16:14:33,631 Removing orphan
C:\var\lib\cassandra\data\Lookin2\Users-tmp-27-Index.db
 INFO 16:14:33,631 Sampling index for
C:\var\lib\cassandra\data\Lookin2\Users-19-Data.db
 INFO 16:14:33,662 Sampling index for
C:\var\lib\cassandra\data\Lookin2\Users-18-Data.db
 INFO 16:14:33,818 Sampling index for
C:\var\lib\cassandra\data\Lookin2\Users-20-Data.db
 INFO 16:14:33,850 Sampling index for
C:\var\lib\cassandra\data\Lookin2\Users-21-Data.db
 INFO 16:14:33,865 Sampling index for
C:\var\lib\cassandra\data\Lookin2\Users-22-Data.db
 INFO 16:14:33,881 Sampling index for
C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestIdx-580-Data.db
 INFO 16:14:33,896 Sampling index for
C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestIdx-672-Data.db
 INFO 16:14:33,912 Sampling index for
C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestIdx-681-Data.db
 INFO 16:14:33,912 Sampling index for
C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestIdx-691-Data.db
 INFO 16:14:33,928 Sampling index for
C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestIdx-696-Data.db
 INFO 16:14:33,943 Sampling index for
C:\var\lib\cassandra\data\Lookin2\Attractions-17-Data.db
 INFO 16:14:34,006 Sampling index for
C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestTrendsetterIdx-5-Data.db
 INFO 16:14:34,006 Sampling index for
C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestTrendsetterIdx-6-Data.db
 INFO 16:14:34,021 Sampling index for
C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestPeerGroupIdx-29-Data.db
 INFO 16:14:34,350 Sampling index for
C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestPeerGroupIdx-51-Data.db
 INFO 16:14:34,693 Sampling index for
C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestPeerGroupIdx-72-Data.db
 INFO 16:14:35,021 Sampling index for
C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestPeerGroupIdx-77-Data.db
 INFO 16:14:35,225 Sampling index for
C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestPeerGroupIdx-78-Data.db
 INFO 16:14:35,350 Sampling index for
C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestPeerGroupIdx-79-Data.db
 INFO 16:14:35,459 Sampling index for
C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestPeerGroupIdx-80-Data.db
 INFO 16:14:35,459 Sampling index for
C:\var\lib\cassandra\data\Lookin2\Taxonomy-1-Data.db
 INFO 16:14:35,475 Sampling index for
C:\var\lib\cassandra\data\Lookin2\Taxonomy-2-Data.db
 INFO 16:14:35,475 Sampling index for
C:\var\lib\cassandra\data\Lookin2\Content-30-Data.db
 INFO 16:14:35,631 Sampling index for
C:\var\lib\cassandra\data\Lookin2\Content-35-Data.db
 INFO 16:14:35,771 Sampling index for
C:\var\lib\cassandra\data\Lookin2\Content-40-Data.db
 INFO 16:14:35,959 Compacting
[org.apache.cassandra.io.SSTableReader(path='C:\var\lib\cassandra\data\Lookin2\Users-19-Data.db'),org.apache.cassandra.io.SSTableReader(path='C:\var\lib\cassandra\data\Lookin2\Users-20-Data.db'),org.apache.cassandra.io.SSTableReader(path='C:\var\lib\cassandra\data\Lookin2\Users-21-Data.db'),org.apache.cassandra.io.SSTableReader(path='C:\var\lib\cassandra\data\Lookin2\Users-22-Data.db')]
ERROR 16:14:35,975 Exception encountered during startup.
java.lang.RuntimeException: Expected both token and generation columns;
found ColumnFamily(LocationInfo [Generation:false:4@4,])
    at
org.apache.cassandra.db.SystemTable.initMetadata(SystemTable.java:159)
    at
org.apache.cassandra.service.StorageService.initServer(StorageService.java:305)
    at
org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:99)
    at
org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:177)
Exception encountered during startup.


JAXRSServerFactoryBean server seems not startup
Hi,
  I write the following code for unit test. This code is so simple, but I
find it does not work. That is, the server does not start up and No error
message is shown. Anything I do is wrong?

        JAXRSServerFactoryBean sf = new JAXRSServerFactoryBean();
        sf.setServiceBeans(new PassThroughResource());
        sf.setAddress("http://localhost:9500/");
        sf.create();

Regards,
Rice