Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
3.07.00
-
None
Description
1. Check out 3.05.xx
2. In pom have the following
<version>7.7.5</version>
<hippo.cms.version>2.22.09-SNAPSHOT</hippo.cms.version>
<hippo.addon-channel-manager.version>2.22.06-SNAPSHOT</hippo.addon-channel-manager.version>
3. Do maven clean install and start the project
Expected - Project should start without exceptions
Actual - I see below exceptions
[INFO] [talledLocalContainer] 10.08.2012 10:39:04 INFO [org.hippoecm.repository.updater.UpdaterEngine.migrate():629] no migration cycle because clean repository startup without hippo configuration
[INFO] [talledLocalContainer] 10.08.2012 10:39:07 ERROR [org.hippoecm.repository.RepositoryServlet.init():179] Error while setting up JCR repository:
[INFO] [talledLocalContainer] javax.jcr.RepositoryException: Invalid data: java.lang.NumberFormatException: For input string: ""
[INFO] [talledLocalContainer] at org.hippoecm.repository.HippoRepositoryFactory.getHippoRepository(HippoRepositoryFactory.java:195)
[INFO] [talledLocalContainer] at org.hippoecm.repository.RepositoryServlet.init(RepositoryServlet.java:153)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
[INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
[INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
[INFO] [talledLocalContainer] at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
[INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
[INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardService.start(StandardService.java:525)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
[INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
[INFO] [talledLocalContainer] Caused by: java.lang.reflect.InvocationTargetException
[INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597)
[INFO] [talledLocalContainer] at org.hippoecm.repository.HippoRepositoryFactory.getHippoRepository(HippoRepositoryFactory.java:184)
[INFO] [talledLocalContainer] ... 27 more
[INFO] [talledLocalContainer] Caused by: java.lang.NumberFormatException: For input string: ""
[INFO] [talledLocalContainer] at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
[INFO] [talledLocalContainer] at java.lang.Long.parseLong(Long.java:431)
[INFO] [talledLocalContainer] at java.lang.Long.parseLong(Long.java:468)
[INFO] [talledLocalContainer] at org.hippoecm.repository.LoadInitializationModule.locateExtensionResources(LoadInitializationModule.java:645)
[INFO] [talledLocalContainer] at org.hippoecm.repository.LocalHippoRepository.initializeStartup(LocalHippoRepository.java:431)
[INFO] [talledLocalContainer] at org.hippoecm.repository.LocalHippoRepository.initialize(LocalHippoRepository.java:270)
[INFO] [talledLocalContainer] at org.hippoecm.repository.LocalHippoRepository.create(LocalHippoRepository.java:135)
[INFO] [talledLocalContainer] ... 32 more
[WARNING] [talledLocalContainer] Aug 10, 2012 10:39:07 AM org.apache.catalina.core.StandardContext loadOnStartup
[WARNING] [talledLocalContainer] SEVERE: Servlet /cms threw load() exception
[WARNING] [talledLocalContainer] javax.servlet.ServletException: RepositoryException: Invalid data: java.lang.NumberFormatException: For input string: ""
[WARNING] [talledLocalContainer] at org.hippoecm.repository.RepositoryServlet.init(RepositoryServlet.java:180)
[WARNING] [talledLocalContainer] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
[WARNING] [talledLocalContainer] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
[WARNING] [talledLocalContainer] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
[WARNING] [talledLocalContainer] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
[WARNING] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
[WARNING] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
[WARNING] [talledLocalContainer] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
[WARNING] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
[WARNING] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
[WARNING] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
[WARNING] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
[WARNING] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
[WARNING] [talledLocalContainer] at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
[WARNING] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
[WARNING] [talledLocalContainer] at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
[WARNING] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
[WARNING] [talledLocalContainer] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
[WARNING] [talledLocalContainer] at org.apache.catalina.core.StandardService.start(StandardService.java:525)
[WARNING] [talledLocalContainer] at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
[WARNING] [talledLocalContainer] at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
[WARNING] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[WARNING] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[WARNING] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[WARNING] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597)
[WARNING] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
[WARNING] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
[WARNING] [talledLocalContainer] Aug 10, 2012 10:39:07 AM org.apache.catalina.startup.HostConfig deployWAR
[WARNING] [talledLocalContainer] INFO: Deploying web application archive site.war
[WARNING] [talledLocalContainer] Aug 10, 2012 10:39:07 AM org.apache.catalina.realm.JAASRealm setUseContextClassLoader
[WARNING] [talledLocalContainer] INFO: Setting useContextClassLoader = true
[WARNING] [talledLocalContainer] Aug 10, 2012 10:39:11 AM org.apache.catalina.startup.HostConfig deployDirectory
[WARNING] [talledLocalContainer] INFO: Deploying web application directory host-manager
[WARNING] [talledLocalContainer] Aug 10, 2012 10:39:12 AM org.apache.catalina.startup.HostConfig deployDirectory
[WARNING] [talledLocalContainer] INFO: Deploying web application directory manager
[WARNING] [talledLocalContainer] Aug 10, 2012 10:39:12 AM org.apache.coyote.http11.Http11Protocol start
[WARNING] [talledLocalContainer] INFO: Starting Coyote HTTP/1.1 on http-8080
[WARNING] [talledLocalContainer] Aug 10, 2012 10:39:12 AM org.apache.jk.common.ChannelSocket init
[WARNING] [talledLocalContainer] INFO: JK: ajp13 listening on /0.0.0.0:8009
[WARNING] [talledLocalContainer] Aug 10, 2012 10:39:12 AM org.apache.jk.server.JkMain start
[WARNING] [talledLocalContainer] INFO: Jk running ID=0 time=0/19 config=null
[WARNING] [talledLocalContainer] Aug 10, 2012 10:39:12 AM org.apache.catalina.startup.Catalina start
[WARNING] [talledLocalContainer] INFO: Server startup in 28884 ms
[INFO] [talledLocalContainer] Tomcat 6.x started on port [8080]
[INFO] Press Ctrl-C to stop the container...
[INFO] [talledLocalContainer] 10.08.2012 10:39:12 WARN [org.hippoecm.hst.container.HstFilter.doFilter():435] org.hippoecm.hst.core.container.RepositoryNotAvailableException for '/site/ping/': 'org.hippoecm.hst.core.container.RepositoryNotAvailableException: Exception during loading configuration nodes. '
Attachments
Issue Links
- is a result of
-
REPO-462 Guard against NFE during bootstrap when Implementation-Build entry is missing
- Closed