cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to login

cvspanje
Champ in-the-making
Champ in-the-making
Hi,
I am new to activiti, as for many first time developers ;-).
I installed activiti using the manual. After that i started the demo and went to http://localhost:8080

All fine. When I tried to login using kermit,gonzo or fozzie I get the error message:
"The system was unable to log you in".

I looked up the h2 database and it contains the three users.
I looked up the catalina log file and it says:

INFO: Server startup in 15971 ms
Dec 7, 2010 11:42:26 AM org.springframework.extensions.webscripts.connector.AuthenticatingConnector handshake
SEVERE: An exception occurred while attempting authentication handshake for endpoint: http://localhost:8080/activiti-rest/service
org.springframework.extensions.surf.exception.AuthenticationException: Unable to login:<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>404 Not found</TITLE>
</HEAD><BODY><H1>Not found</H1>
The requested URL /activiti&#45;rest/service/login was not found on this server</BODY></HTML>

   at org.activiti.surf.ActivitiRESTAuthenticator.authenticate(ActivitiRESTAuthenticator.java:101)
   at org.springframework.extensions.webscripts.connector.AuthenticatingConnector.handshake(AuthenticatingConnector.java:403)
   at org.activiti.surf.ActivitiUserFactory.authenticate(ActivitiUserFactory.java:137)
   at org.springframework.extensions.surf.mvc.LoginController.handleRequestInternal(LoginController.java:67)
   at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
   at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
   at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:771)
   at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
   at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)
   at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:563)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
   at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
   at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
   at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
   at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)
   at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)
   at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
   at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
   at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:662)


There was one issue on this forum with nearly similar error but it was about port numbers.
Finally I looked at the folders:
C:\activiti-5.0\apps\apache-tomcat-6.0.29\webapps\activiti-rest
and there was no surf.xml there.

Any suggestions or solutions in order to login?
regards

Cvspanje
6 REPLIES 6

frederikherema1
Star Contributor
Star Contributor
This issue can also occur when the sprint-context (which contains the spring surf webscripts) failed to load. Can you check further up in your log to see if another exception occurred (catalina.out)?

cvspanje
Champ in-the-making
Champ in-the-making
I added all the log information since I do not know where to look.

There is indeed something missing.

thx by the way for responding that soon!

cvspanje
Champ in-the-making
Champ in-the-making
Sry, the extension log is not allowed…

heres the log:
Dec 7, 2010 11:40:22 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Java\jdk1.6.0_22\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Google\Google Apps Sync\;C:\Program Files (x86)\QuickTime\QTSystem\;%ANT_HOME%/bin;C:\WinAnt\bin;C:\Program Files (x86)\WinAnt\bin;C:\Program Files (x86)\Java\jdk1.6.0_22\bin
Dec 7, 2010 11:40:22 AM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind <null>:8080
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:549)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1014)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at java.net.ServerSocket.<init>(ServerSocket.java:141)
at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:50)
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:538)
… 12 more
Dec 7, 2010 11:40:22 AM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException:  Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind <null>:8080
at org.apache.catalina.connector.Connector.initialize(Connector.java:1016)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Dec 7, 2010 11:40:22 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 558 ms
Dec 7, 2010 11:40:22 AM org.apache.catalina.core.StandardService start

some info messages

Dec 7, 2010 11:40:32 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory activiti-probe
Dec 7, 2010 11:40:32 AM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Dec 7, 2010 11:40:32 AM org.apache.myfaces.config.FacesConfigurator feedStandardConfig
INFO: Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
Dec 7, 2010 11:40:32 AM org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: Starting up MyFaces-package : myfaces-api in version : 1.1.5 from path : file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/myfaces-api-1.1.5.jar
Dec 7, 2010 11:40:32 AM org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: Starting up MyFaces-package : myfaces-impl in version : 1.1.5 from path : file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/myfaces-impl-1.1.5.jar
Dec 7, 2010 11:40:32 AM org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: MyFaces-package : tomahawk-sandbox not found.
Dec 7, 2010 11:40:32 AM org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: MyFaces-package : tomahawk not found.
Dec 7, 2010 11:40:32 AM org.apache.myfaces.shared_impl.util.LocaleUtils toLocale
WARNING: Locale name in faces-config.xml null or empty, setting locale to default locale : en_US
Dec 7, 2010 11:40:32 AM org.apache.myfaces.config.FacesConfigurator handleSerialFactory
INFO: Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
Dec 7, 2010 11:40:32 AM org.apache.myfaces.webapp.StartupServletContextListener initFaces
INFO: ServletContext 'C:\activiti-5.0\apps\apache-tomcat-6.0.29\webapps\activiti-probe\' initialized.
Dec 7, 2010 11:40:32 AM org.springframework.web.servlet.FrameworkServlet initServletBean
INFO: FrameworkServlet 'Spring MVC Dispatcher Servlet': initialization started
Dec 7, 2010 11:40:32 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing WebApplicationContext for namespace 'Spring MVC Dispatcher Servlet-servlet': startup date [Tue Dec 07 11:40:32 CET 2010]; root of context hierarchy
Dec 7, 2010 11:40:32 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/config/web-application-config.xml]
Dec 7, 2010 11:40:32 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/config/surf-config.xml]
Dec 7, 2010 11:40:32 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/spring-webscripts-1.0.0-RC2.jar!/org/springframework/extensions/webscripts/spring-webscripts-application-context.xml]
Dec 7, 2010 11:40:33 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/spring-webscripts-1.0.0-RC2.jar!/org/springframework/extensions/webscripts/spring-webscripts-mvc-context.xml]
Dec 7, 2010 11:40:33 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/spring-webscripts-api-1.0.0-RC2.jar!/org/springframework/extensions/webscripts/spring-webscripts-api-application-context.xml]
Dec 7, 2010 11:40:33 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/spring-surf-1.0.0-RC2.jar!/org/springframework/extensions/surf/spring-surf-application-context.xml]
Dec 7, 2010 11:40:33 AM org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition
INFO: Overriding bean definition for bean 'web.config': replacing [Generic bean: class [org.springframework.extensions.config.xml.XMLConfigService]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/spring-webscripts-1.0.0-RC2.jar!/org/springframework/extensions/webscripts/spring-webscripts-application-context.xml]] with [Generic bean: class [org.springframework.extensions.config.xml.XMLConfigService]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=init; destroyMethodName=null; defined in URL [jar:file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/spring-surf-1.0.0-RC2.jar!/org/springframework/extensions/surf/spring-surf-application-context.xml]]
Dec 7, 2010 11:40:33 AM org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition
INFO: Overriding bean definition for bean 'webscripts.container': replacing [Generic bean: class [org.springframework.extensions.webscripts.PresentationContainer]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/spring-webscripts-1.0.0-RC2.jar!/org/springframework/extensions/webscripts/spring-webscripts-application-context.xml]] with [Generic bean: class [org.springframework.extensions.webscripts.LocalWebScriptRuntimeContainer]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/spring-surf-1.0.0-RC2.jar!/org/springframework/extensions/surf/spring-surf-application-context.xml]]
Dec 7, 2010 11:40:33 AM org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition
INFO: Overriding bean definition for bean 'webscripts.registry': replacing [Generic bean: class [org.springframework.extensions.webscripts.DeclarativeRegistry]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/spring-webscripts-1.0.0-RC2.jar!/org/springframework/extensions/webscripts/spring-webscripts-application-context.xml]] with [Generic bean: class [org.springframework.extensions.webscripts.DeclarativeRegistry]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/spring-surf-1.0.0-RC2.jar!/org/springframework/extensions/surf/spring-surf-application-context.xml]]
Dec 7, 2010 11:40:33 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/spring-surf-1.0.0-RC2.jar!/org/springframework/extensions/surf/spring-surf-model-context.xml]
Dec 7, 2010 11:40:33 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/spring-surf-1.0.0-RC2.jar!/org/springframework/extensions/surf/spring-surf-mvc-context.xml]
Dec 7, 2010 11:40:33 AM org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition
INFO: Overriding bean definition for bean 'handlerMappings': replacing [Generic bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/spring-webscripts-1.0.0-RC2.jar!/org/springframework/extensions/webscripts/spring-webscripts-mvc-context.xml]] with [Generic bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/spring-surf-1.0.0-RC2.jar!/org/springframework/extensions/surf/spring-surf-mvc-context.xml]]
Dec 7, 2010 11:40:33 AM org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition
INFO: Overriding bean definition for bean 'resourceController': replacing [Generic bean: class [org.springframework.extensions.webscripts.servlet.mvc.ResourceController]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/spring-webscripts-1.0.0-RC2.jar!/org/springframework/extensions/webscripts/spring-webscripts-mvc-context.xml]] with [Generic bean: class [org.springframework.extensions.surf.mvc.VirtualizedResourceController]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/spring-surf-1.0.0-RC2.jar!/org/springframework/extensions/surf/spring-surf-mvc-context.xml]]
Dec 7, 2010 11:40:33 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/spring-surf-1.0.0-RC2.jar!/org/springframework/extensions/surf/spring-surf-presets-context.xml]
Dec 7, 2010 11:40:33 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/spring-surf-1.0.0-RC2.jar!/org/springframework/extensions/surf/spring-surf-script-services-context.xml]
Dec 7, 2010 11:40:33 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/spring-surf-1.0.0-RC2.jar!/org/springframework/extensions/surf/spring-surf-services-context.xml]
Dec 7, 2010 11:40:33 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/spring-surf-1.0.0-RC2.jar!/org/springframework/extensions/surf/spring-surf-template-services-context.xml]
Dec 7, 2010 11:40:33 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/spring-surf-api-1.0.0-RC2.jar!/org/springframework/extensions/surf/spring-surf-api-application-context.xml]
Dec 7, 2010 11:40:33 AM org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition
INFO: Overriding bean definition for bean 'handlerMappings': replacing [Generic bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/spring-surf-1.0.0-RC2.jar!/org/springframework/extensions/surf/spring-surf-mvc-context.xml]] with [Generic bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/config/surf-config.xml]]
Dec 7, 2010 11:40:33 AM org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition
INFO: Overriding bean definition for bean 'webscripts.resources': replacing [Generic bean: class [org.springframework.extensions.surf.util.ResourceBundleBootstrapComponent]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/C:/activiti-5.0/apps/apache-tomcat-6.0.29/webapps/activiti-probe/WEB-INF/lib/spring-webscripts-1.0.0-RC2.jar!/org/springframework/extensions/webscripts/spring-webscripts-application-context.xml]] with [Generic bean: class [org.springframework.extensions.surf.util.ResourceBundleBootstrapComponent]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/config/web-application-config.xml]]
Dec 7, 2010 11:40:33 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@79e328: defining beans [web.configsource,web.config,webscripts.abdera,webscripts.formatregistry,webscripts.formatmap,webscripts.adaptorset,webscripts.adaptors,webscripts.formats,webscripts.formats.IE,webscripts.resources,webscripts.classpathstore,webscripts.remotestore,webscripts.store,webscripts.store.alfresco,webscripts.searchpath,webscripts.abstractcontainer,webscripts.web.templateregistry,webscripts.web.scriptregistry,webscripts.container,webscripts.templateprocessor.freemarker,webscripts.scriptprocessor.javascript,webscripts.script.remote,webscripts.connector.provider,webscripts.index,webscripts.registry,connector.service,credential.vault.provider,credential.vault.provider.xml,webscript,webscriptdesc,webscript.default,scriptDebugger,webscriptHandlerMappings,urlPathHelper,handlerMappings,endpointController,resourceController,webscriptViewResolver,webscript.org.springframework.extensions.webscripts.index.get,webscript.org.springframework.extensions.webscripts.indexall.get,webscript.org.springframework.extensions.webscripts.indexfamily.get,webscript.org.springframework.extensions.webscripts.indexlifecycle.get,webscript.org.springframework.extensions.webscripts.indexuri.get,webscript.org.springframework.extensions.webscripts.indexpackage.get,webscript.org.springframework.extensions.webscripts.indexpackagedoc.get,webscript.org.springframework.extensions.webscripts.index.post,webscript.org.springframework.extensions.webscripts.scriptdescription.get,webscript.org.springframework.extensions.webscripts.scriptdump.get,webscript.org.springframework.extensions.webscripts.scriptinstall.post,webscript.org.springframework.extensions.webscripts.jsdebugger.get,webscript.org.springframework.extensions.webscripts.jsdebugger.post,webframework.configsource,webframework.previewcontext.provider,webframework.connector.provider,webframework.store.classpath.abstract,webframework.store.remote.abstract,webframework.store.local.abstract,webframework.store.webapp.abstract,webframework.webapp.store.root,webframework.webapp.store.local,webframework.webapp.store.remote,webframework.webscripts.store.classpath,webframework.webscripts.store.remote,webframework.webscripts.store.local,webframework.webscripts.store.alfresco.classpath,webframework.webscripts.store.alfresco.custom,webframework.webscripts.store.webinf,webframework.webscripts.searchpath,webframework.webscripts.registry.templateprocessor,webframework.webscripts.registry.scriptprocessor,webframework.webscripts.templateprocessor.freemarker,webframework.webscripts.scriptprocessor.javascript,webframework.webscripts.index,webframework.webscripts.scriptremote,webframework.templates.store.classpath,webframework.templates.store.remote,webframework.templates.store.local,webframework.templates.store.alfresco.classpath,webframework.templates.store.alfresco.custom,webframework.templates.store.webinf,webframework.templates.searchpath,webframework.templates.registry.templateprocessor,webframework.templates.registry.scriptprocessor,webframework.templates.templateprocessor.freemarker,webframework.templates.scriptprocessor.javascript,webframework.templates.container,webscript.org.springframework.extensions.messages.get,webscript.org.springframework.extensions.messages.post,webscripts.authenticator.basic,webscripts.authenticator.delegatingbasic,webframework.rendition.processor.webscript,webframework.rendition.processor.webtemplate,webframework.rendition.processor.freemarker,webframework.rendition.processor.jsp,webframework.renderer.chrome,webframework.renderer.component,webframework.renderer.page,webframework.renderer.region,webframework.renderer.template,webframework.rendercontext.provider,webframework.sitedata.persister.abstract,webframework.webinf.persister.abstract,webframework.sitedata.store.alfresco-classpath,webframework.sitedata.persister.alfresco-classpath,webframework.sitedata.store.classpath.alfresco-custom,webframework.sitedata.persister.classpath.alfresco-custom,webframework.sitedata.store.classpath,webframework.sitedata.persister.classpath,webframework.webinf.persister.remote,webframework.webinf.persister.local,webframework.webinf.persister.root,webframework.objects.persister,abstractWebFrameworkController,abstractWebFrameworkViewResolver,abstractWebFrameworkInterceptor,webframeworkHandlerMappings,previewController,remoteController,loginController,logoutController,feedController,objectViewResolver,componentViewResolver,regionViewResolver,pageTypeViewResolver,pageViewResolver,requestContextInterceptor,previewContextInterceptor,themeInterceptor,localeResolver,webframework.classpathstore.presets,webframework.classpathstore.presets.custom,webframework.remotestore.presets,webframework.presets.searchpath,webframework.presets.manager,baseScriptExtension,webframework.factory.base,webframework.service.registry,webframework.service.resource,webframework.service.render,webframework.service.tag,webframework.service.persister,webframework.service.objectpersistence,webframework.service.modelobject,webframework.service.autowire,webframework.factory.resource.loader.url,webframework.factory.resource.loader.cmis,webframework.factory.resource.loader.alfresco,webframework.factory.requestcontext.servlet,webframework.factory.linkbuilder.requestparameter,webframework.factory.linkbuilder.servlet,webframework.factory.user.default,webframework.factory.user.alfresco,webframework.factory.user.alfresco32,baseTemplateExtension,webscript.org.springframework.extensions.surf.console.get,webscript.org.springframework.extensions.surf.console.post,org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0,annotationMethodHandlerAdapter,simpleControllerHandlerAdapter,webframework.factory.user.activiti]; root of factory hierarchy
Dec 7, 2010 11:40:34 AM org.springframework.web.servlet.handler.AbstractUrlHandlerMapping registerHandler
INFO: Mapped URL path [/resource/**] onto handler [org.springframework.extensions.surf.mvc.VirtualizedResourceController@54643]
Dec 7, 2010 11:40:34 AM org.springframework.web.servlet.handler.AbstractUrlHandlerMapping registerHandler
INFO: Mapped URL path [/proxy/**] onto handler [org.springframework.extensions.webscripts.servlet.mvc.EndPointProxyController@177e6b4]
Dec 7, 2010 11:40:34 AM org.springframework.web.servlet.handler.AbstractUrlHandlerMapping registerHandler
INFO: Mapped URL path [/preview/**] onto handler [org.springframework.extensions.surf.mvc.PreviewController@1de530a]
Dec 7, 2010 11:40:34 AM org.springframework.web.servlet.handler.AbstractUrlHandlerMapping registerHandler
INFO: Mapped URL path [/dologout/**] onto handler [org.springframework.extensions.surf.mvc.LogoutController@a92aaa]
Dec 7, 2010 11:40:34 AM org.springframework.web.servlet.handler.AbstractUrlHandlerMapping registerHandler
INFO: Mapped URL path [/remote/**] onto handler [org.springframework.extensions.surf.mvc.RemoteController@7ba849]
Dec 7, 2010 11:40:34 AM org.springframework.web.servlet.handler.AbstractUrlHandlerMapping registerHandler
INFO: Mapped URL path [/dologin/**] onto handler [org.springframework.extensions.surf.mvc.LoginController@1efc3d2]
Dec 7, 2010 11:40:34 AM org.springframework.extensions.surf.AutowireService autoWire
INFO: Autowire Mode - production
Dec 7, 2010 11:40:34 AM org.springframework.extensions.surf.AutowireService autoWire
INFO: Autowire Runtime - webapp
Dec 7, 2010 11:40:34 AM org.springframework.extensions.surf.AutowireService reportSearchPath
INFO: Search Path: webframework.webscripts.searchpath = ['webapp:/WEB-INF','classpath*:surf/webscripts']
Dec 7, 2010 11:40:34 AM org.springframework.extensions.surf.AutowireService reportSearchPath
INFO: Search Path: webframework.templates.searchpath = ['webapp:/WEB-INF/templates','webapp:/WEB-INF','classpath*:surf/templates','classpath*:surf/webscripts']
Dec 7, 2010 11:40:34 AM org.springframework.extensions.surf.AutowireService reportPersister
INFO: Persister: webframework.objects.persister = ['webframework.webinf.persister.root','webframework.sitedata.persister.classpath.alfresco-custom','webframework.sitedata.persister.alfresco-classpath','webframework.sitedata.persister.classpath',]
Dec 7, 2010 11:40:34 AM org.springframework.extensions.webscripts.DeclarativeRegistry reset
INFO: Registered 42 Web Scripts (+0 failed), 50 URLs
Dec 7, 2010 11:40:34 AM org.springframework.extensions.webscripts.DeclarativeRegistry reset
INFO: Registered 8 Package Description Documents (+0 failed)
Dec 7, 2010 11:40:34 AM org.springframework.extensions.webscripts.DeclarativeRegistry reset
INFO: Registered 0 Schema Description Documents (+0 failed)
Dec 7, 2010 11:40:34 AM org.springframework.extensions.webscripts.AbstractRuntimeContainer reset
INFO: Initialised Spring Surf Container Web Script Container (in 363.75784ms)
Dec 7, 2010 11:40:34 AM org.springframework.extensions.webscripts.TemplateProcessorRegistry registerTemplateProcessor
INFO: Registered template processor freemarker for extension ftl
Dec 7, 2010 11:40:34 AM org.springframework.extensions.webscripts.ScriptProcessorRegistry registerScriptProcessor
INFO: Registered script processor javascript for extension js
Dec 7, 2010 11:40:34 AM org.springframework.extensions.webscripts.TemplateProcessorRegistry registerTemplateProcessor
INFO: Registered template processor freemarker for extension ftl
Dec 7, 2010 11:40:35 AM org.springframework.extensions.webscripts.ScriptProcessorRegistry registerScriptProcessor
INFO: Registered script processor javascript for extension js
Dec 7, 2010 11:40:35 AM org.springframework.extensions.webscripts.TemplateProcessorRegistry registerTemplateProcessor
INFO: Registered template processor freemarker for extension ftl
Dec 7, 2010 11:40:35 AM org.springframework.extensions.webscripts.ScriptProcessorRegistry registerScriptProcessor
INFO: Registered script processor javascript for extension js
Dec 7, 2010 11:40:35 AM org.springframework.extensions.surf.persister.ReadOnlyStoreObjectPersister init
INFO: Store missing for persister: webframework.sitedata.persister.classpath.alfresco-custom
Dec 7, 2010 11:40:35 AM org.springframework.extensions.surf.persister.ReadOnlyStoreObjectPersister init
INFO: Store missing for persister: webframework.sitedata.persister.alfresco-classpath
Dec 7, 2010 11:40:35 AM org.springframework.web.servlet.FrameworkServlet initServletBean
INFO: FrameworkServlet 'Spring MVC Dispatcher Servlet': initialization completed in 3125 ms
Dec 7, 2010 11:40:35 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory activiti-rest
Dec 7, 2010 11:40:35 AM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(C:\activiti-5.0\apps\apache-tomcat-6.0.29\webapps\activiti-rest\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Dec 7, 2010 11:40:38 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Dec 7, 2010 11:40:38 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Dec 7, 2010 11:40:38 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Dec 7, 2010 11:40:38 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Dec 7, 2010 11:40:38 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Dec 7, 2010 11:40:38 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/16  config=null
Dec 7, 2010 11:40:38 AM org.apache.catalina.startup.Catalina start

cvspanje
Champ in-the-making
Champ in-the-making
By the way,
I checked on "catalina.out" in the logfile and it came out with nothing

nils1
Champ in-the-making
Champ in-the-making
Looks like port 8080 is already in use on your machine or you tried the activiti setup several times and didn't kill all the processes before re-trying. Make sure you don't have another tomcat running on port 8080 and try to manually shut down everything on ports 8080 and 9092 before doing the demo.setup again.

Cheers,
Nils

cvspanje
Champ in-the-making
Champ in-the-making
Hi,
I removed all installations of Oracle,Java and Tomcat.

Reinstalled only Java and then build with ant a new demo project:

It worked!
I assume you where right about multiple servers running on the same port(s)

Is there another way to monitor those ports and kill them if I want?

regards
jaime