Thank you Barrie, thank you Wayne for your excellent articles. Now there is hope to get maven and ant build axis2 and maven and our own stuff on OpenVMS.
The issues we are faced with are so many fold: And to complicate things even more. We sit behind firewalls and maven and ant with a <get task> to build i.e.Axis2, needs to be set with proper proxy info including http.auth.preference=Basic, not supported straight by Ant or maven but needs to go as a hint to our Microsoft proxy server to not start negotiating authentication schemas unable to be handled by the client calling. We have a working ant version of Ant, that is to say, by a bash shell script we launch our own AntClassLoader which creates an Authenticator to pass username and password and then calls the real AntLoader;;; BTW: Username and Password for the proxy server is never picked up by default from JAVA args as said in documents at various places. We have investigated Ant code for that. It is picked up by ant code only if you pass the --diagnostics switch to Ant and makes people think that all is fine, but in reality for a get task Ant does not pick proxy info under normal operation. This circumstance alone has made us work for some days. Also to be honest to Ant, it might be a Java JVM or java.net problem. Which org has to deal with such issues? Which org should fix it once for ever? Or who has to deal with such issues? The Ant-, or Maven-, or Java- or any of the mayn thousand jar-developers. We like to setup JAVA Arguments like -Dhttp.proxy.User=name -Dhttp.proxy.Password=xxx. So all is fine if we pass this as Ant arguments from inside a build.xml. BUT we do not like to change the ant build.xml files for each product like axis2 or maven. And we do not like to modify each maven pom for the same reason. We prefer a more central place. This is the case for maven with its settings.xml (except http.auth.preference=Basic is not foreseen by maven). It is always the same: what is used where and when and under which circumstances ?! Question: Given mavens settings.xml has the proxy info's does maven tell ant about this proxy information? If yes, where in code and how? Question: how does maven get best informed about the preferred authentication schemas to be used by the proxy server i.e. -Dhttp.auth.preference=Basic as described by the ORACLE documentation for JAVA and at many other places. Question: If ant is first and picks up and works would you expect for maven that ant tells maven about proxy info to be used? BTW: thanks for the pointers to the books. BTW: I took the latest sources of nexus down to my Vista PC. Tried to build it as I do with maven and axis2 and it failed! BTW: Then I took the latest binary version of a nexus-webapp.war down to my OpenVMS, I untared it on OpenVMS as we do with Axis2 or maven. It fails during startup on Tomcat and Java 6.0. Many things get up as one can see in tomcat logs attached as text file; but it fails. I did so because Wayne Fay said to work with nexus simplifies much of this repository and cache management. And I beleave you. And I like the idea very much and was reading a lot about nexus and repositories immediately. But in reality we have now one more product on OpenVMS which we need to make work first; where ever the problem is. Is it JAVA from HP? or any of the jar files issuing a shell script? or the use of exported environment variable of which bash under OpenVMS does not know anything by default? It is a tedious process to make such complex environments work; Josef -----Ursprüngliche Nachricht----- Von: Barrie Treloar [mailto:baerr...@gmail.com] Gesendet: Mittwoch, 5. Oktober 2011 00:45 An: Maven Users List Betreff: Re: Problems with MAVEN's-ANT on OpenVMS On Wed, Oct 5, 2011 at 3:43 AM, Wayne Fay <wayne...@gmail.com> wrote: >> May I ask you a favor and lead me to a document describing how we can make >> maven using our own ant 1.7.1, >> as we had changes in ANT 1.7.1 specifically for OpenVMS, those catching >> logical, and generating a temporary >> file where all the many hundred arguments being passed today to JAVA / JVM >> are stored in. > > I already told you what to do but here are the complete steps: Plus, did you try google? http://www.google.com/search?q=maven+ant+plugin+change+version+of+ant Some of the steps that Wayne has kindly outlined are not particular to your problem. They are the knowledge you need to run Maven effectively at your company. I highly recommend that you read the freely available books at http://maven.apache.org/articles.html We can't wave a magic wand for you to grasp some of the more important and complicated concepts. Your going to have to help us by helping yourself first. Additionally, if you think these steps are important and not well documented, I invite you to document them for the benefit of others. As a user you should have access to http://docs.codehaus.org/display/MAVENUSER/Home But I think the best option would be to write the documentation into the Ant plugin and provide a patch. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
$ VERIFY = F$VERIFY(F$TRNLNM("SYLOGIN_VERIFY")) TOMCAT = "SYS$COMMON:[SYSMGR]APACHE$JAKARTA_CONFIG.COM" Using CATALINA_BASE : /disk$oracle2/apache/jakarta/tomcat/ Using CATALINA_HOME : /disk$oracle2/apache/jakarta/tomcat/ Using CATALINA_TMPDIR: /disk$oracle2/apache/jakarta/tomcat/temp APACHE$ROOT:[000000] = APACHE$SPECIFIC:[000000] = APACHE$COMMON:[000000] P1 = "RUN" P2 = "" P3 = "" P4 = "" P5 = "" P6 = "" P7 = "" P8 = "" java_vms_base = INTEG2$DKA3:[000000.JAVA$60. JAVA_HOME = /INTEG2$DKA3/000000/JAVA$60 SYSTEM_CLASSPATH = INTEG2$DKA3:[000000.JAVA$60.LIB]TOOLS.JAR Using Java 6.0 setup -- $ @sys$manager:java$60_setup Running Tomcat..... 0: integ2$dka3:[000000.java$60.bin]java$java.exe;1 1: -Djava.endorsed.dirs=/disk$oracle2/apache/jakarta/tomcat/common/endorsed 2: -Dcatalina.base=/disk$oracle2/apache/jakarta/tomcat/ 3: -Dcatalina.home=/disk$oracle2/apache/jakarta/tomcat/ 4: -Dcatalina.tmpdir=/disk$oracle2/apache/jakarta/tomcat/temp 5: org.apache.catalina.startup.Bootstrap 6: start 2011-10-05 17:49:02,568 INFO org.apache.coyote.http11.Http11BaseProtocol - Initializing Coyote HTTP/1.1 on http-8080 2011-10-05 17:49:02,572 INFO org.apache.catalina.startup.Catalina - Initialization processed in 1511 ms 2011-10-05 17:49:02,812 INFO org.apache.catalina.core.StandardService - Starting service Catalina 2011-10-05 17:49:02,822 INFO org.apache.catalina.core.StandardEngine - Starting Servlet Engine: Apache Tomcat/5.5.26 2011-10-05 17:49:02,836 INFO org.apache.catalina.core.StandardHost - XML validation disabled 2011-10-05 17:49:04,708 INFO org.apache.catalina.startup.HostConfig - Deploying web application archive axis2.war 2011-10-05 17:49:05,758 DEBUG org.apache.axis2.deployment.WarBasedAxisConfigurator - trying to load axis2.xml from module: /WEB-INF/ conf/axis2.xml 2011-10-05 17:49:06,497 DEBUG org.apache.axis2.deployment.WarBasedAxisConfigurator - setting web location string: /disk$oracle2/apac he/jakarta/tomcat/webapps/axis2 2011-10-05 17:49:11,702 INFO org.apache.axis2.deployment.util.Utils - Created temporary file : /disk$oracle2/apache/jakarta/tomcat/ work/Catalina/localhost/axis2/axis23085228387653637550addressing-1.2.mar 2011-10-05 17:49:11,957 DEBUG org.apache.axis2.deployment.DeploymentEngine - Adding new module 2011-10-05 17:49:11,958 INFO org.apache.axis2.deployment.ModuleDeployer - Deploying module: addressing-1.2 2011-10-05 17:49:11,965 INFO org.apache.axis2.deployment.util.Utils - Created temporary file : /disk$oracle2/apache/jakarta/tomcat/ work/Catalina/localhost/axis2/axis29022973229043594131soapmonitor-1.2.mar 2011-10-05 17:49:11,996 DEBUG org.apache.axis2.deployment.DeploymentEngine - Adding new module 2011-10-05 17:49:11,996 INFO org.apache.axis2.deployment.ModuleDeployer - Deploying module: soapmonitor-1.2 2011-10-05 17:49:12,144 DEBUG org.apache.axis2.deployment.WarBasedAxisConfigurator - loaded repository from /WEB-INF folder (unpacke d war) 2011-10-05 17:49:12,172 INFO org.apache.axis2.deployment.util.Utils - Created temporary file : /disk$oracle2/apache/jakarta/tomcat/ work/Catalina/localhost/axis2/axis24549229930190473949SpezplaService.aar 2011-10-05 17:49:13,488 INFO org.apache.axis2.deployment.ServiceDeployer - Deploying Web service: SpezplaService.aar 2011-10-05 17:49:13,496 INFO org.apache.axis2.deployment.util.Utils - Created temporary file : /disk$oracle2/apache/jakarta/tomcat/ work/Catalina/localhost/axis2/axis24141825249875754245version.aar 2011-10-05 17:49:13,539 INFO org.apache.axis2.deployment.ServiceDeployer - Deploying Web service: version.aar 2011-10-05 17:49:13,560 DEBUG org.apache.axis2.deployment.WarBasedAxisConfigurator - loaded services from webapp 2011-10-05 17:49:13,597 INFO org.apache.catalina.startup.HostConfig - Deploying web application archive nexus-webapp.war 2011-10-05 17:49:15,923 INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/nexus-webapp] - Setting Plexus basedir context variable to: /disk$oracle2/apache/jakarta/tomcat/webapps/nexus-webapp/WEB-INF 2011-10-05 17:49:16,049 INFO org.sonatype.appcontext.AppContext - Property "nexus-work"="/apache$root/000000/sonatype-work/nexus" i nserted into AppContext. 2011-10-05 17:49:16,049 INFO org.sonatype.appcontext.AppContext - Property "runtime-tmp"="/disk$oracle2/apache/jakarta/tomcat/webap ps/nexus-webapp/WEB-INF/runtime/tmp" inserted into AppContext. 2011-10-05 17:49:16,050 INFO org.sonatype.appcontext.AppContext - Property "webapp"="/disk$oracle2/apache/jakarta/tomcat/webapps/ne xus-webapp/WEB-INF/runtime/apps/nexus/webapp" inserted into AppContext. 2011-10-05 17:49:16,050 INFO org.sonatype.appcontext.AppContext - Property "runtime"="/disk$oracle2/apache/jakarta/tomcat/webapps/n exus-webapp/WEB-INF/runtime" inserted into AppContext. 2011-10-05 17:49:16,050 INFO org.sonatype.appcontext.AppContext - Property "application-conf"="/apache$root/000000/sonatype-work/ne xus/conf" inserted into AppContext. 2011-10-05 17:49:16,051 INFO org.sonatype.appcontext.AppContext - Property "nexus-app"="/disk$oracle2/apache/jakarta/tomcat/webapps /nexus-webapp/WEB-INF/runtime/apps/nexus" inserted into AppContext. 2011-10-05 17:49:16,051 INFO org.sonatype.appcontext.AppContext - Property "apps"="/disk$oracle2/apache/jakarta/tomcat/webapps/nexu s-webapp/WEB-INF/runtime/apps" inserted into AppContext. 2011-10-05 17:49:16,051 INFO org.sonatype.appcontext.AppContext - Property "security-xml-file"="/apache$root/000000/sonatype-work/n exus/conf/security.xml" inserted into AppContext. 2011-10-05 17:49:16,051 INFO org.sonatype.appcontext.AppContext - Property "basedir"="/disk$oracle2/apache/jakarta/tomcat/webapps/n exus-webapp/WEB-INF" inserted into AppContext. 2011-10-05 17:49:16,069 INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/nexus-webapp] - Loading plexus configu ration from: 'jndi:/localhost/nexus-webapp/WEB-INF/plexus.xml' 2011-10-05 17:49:30 INFO [main ] - org.sonatype.security.configuration.source.FileSecurityConfigurationSource - Loading S ecurity configuration from /apache$root/000000/sonatype-work/nexus/conf/security-configuration.xml 2011-10-05 17:49:31 INFO [main ] - org.sonatype.nexus.timeline.DefaultNexusTimeline - Initializing Nexus Timeline... 2011-10-05 17:49:32 INFO [main ] - org.sonatype.timeline.DefaultTimeline - Timeline index got corrupted, trying to repair it. org.sonatype.timeline.TimelineException: Failed to configure timeline index! at org.sonatype.timeline.DefaultTimelineIndexer.configure(DefaultTimelineIndexer.java:129) at org.sonatype.timeline.DefaultTimeline.configure(DefaultTimeline.java:65) at org.sonatype.nexus.timeline.DefaultNexusTimeline.updateConfiguration(DefaultNexusTimeline.java:144) at org.sonatype.nexus.timeline.DefaultNexusTimeline.start(DefaultNexusTimeline.java:82) at org.codehaus.plexus.PlexusLifecycleManager.start(PlexusLifecycleManager.java:303) at org.codehaus.plexus.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:254) at org.codehaus.plexus.PlexusLifecycleManager.manageDeferredLifecycles(PlexusLifecycleManager.java:219) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:144) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:78) at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:968) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1021) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:964) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1003) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:47) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1021) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:968) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1014) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:964) at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:79) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:53) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:243) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:235) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:229) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:48) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:831) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:720) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) 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.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Caused by: java.lang.NumberFormatException: For input string: "1." at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Long.parseLong(Long.java:419) at org.apache.lucene.index.SegmentInfos.generationFromSegmentsFileName(SegmentInfos.java:199) at org.apache.lucene.index.SegmentInfos.getCurrentSegmentGeneration(SegmentInfos.java:134) at org.apache.lucene.index.SegmentInfos.getCurrentSegmentGeneration(SegmentInfos.java:151) at org.apache.lucene.index.IndexReader.indexExists(IndexReader.java:626) at org.sonatype.timeline.DefaultTimelineIndexer.configure(DefaultTimelineIndexer.java:101) ... 55 more 2011-10-05 17:49:32 WARN [main ] - org.codehaus.plexus.PlexusContainer - Error starting: class org.sonatype.nexus.timelin e.DefaultNexusTimeline org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException: Unable to initialize Timeline! at org.sonatype.nexus.timeline.DefaultNexusTimeline.start(DefaultNexusTimeline.java:86) at org.codehaus.plexus.PlexusLifecycleManager.start(PlexusLifecycleManager.java:303) at org.codehaus.plexus.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:254) at org.codehaus.plexus.PlexusLifecycleManager.manageDeferredLifecycles(PlexusLifecycleManager.java:219) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:144) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:78) at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:968) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1021) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:964) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1003) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:47) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1021) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:968) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1014) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:964) at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:79) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:53) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:243) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:235) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:229) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:48) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:831) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:720) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) 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.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Caused by: org.sonatype.timeline.TimelineException: Failed to configure timeline index! at org.sonatype.timeline.DefaultTimelineIndexer.configure(DefaultTimelineIndexer.java:129) at org.sonatype.timeline.DefaultTimeline.repairTimelineIndexer(DefaultTimeline.java:105) at org.sonatype.timeline.DefaultTimeline.configure(DefaultTimeline.java:69) at org.sonatype.nexus.timeline.DefaultNexusTimeline.updateConfiguration(DefaultNexusTimeline.java:144) at org.sonatype.nexus.timeline.DefaultNexusTimeline.start(DefaultNexusTimeline.java:82) ... 52 more Caused by: java.lang.NumberFormatException: For input string: "1." at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Long.parseLong(Long.java:419) at org.apache.lucene.index.SegmentInfos.generationFromSegmentsFileName(SegmentInfos.java:199) at org.apache.lucene.index.SegmentInfos.getCurrentSegmentGeneration(SegmentInfos.java:134) at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:571) at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:521) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:308) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1099) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:888) at org.sonatype.timeline.DefaultTimelineIndexer.configure(DefaultTimelineIndexer.java:118) ... 56 more 2011-10-05 17:49:32 WARN [main ] - org.sonatype.guice.bean.reflect.NamedClass - Error injecting: org.sonatype.nexus.Defau ltNexus com.google.inject.ProvisionException: Guice provision errors: 1) Error starting: class org.sonatype.nexus.timeline.DefaultNexusTimeline while locating org.sonatype.nexus.DefaultNexus 1 error at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:977) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1003) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:47) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1021) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:968) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1014) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:964) at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:79) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:53) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:243) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:235) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:229) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:48) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:831) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:720) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) 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.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException: Unable to initialize Timeline! at org.sonatype.nexus.timeline.DefaultNexusTimeline.start(DefaultNexusTimeline.java:86) at org.codehaus.plexus.PlexusLifecycleManager.start(PlexusLifecycleManager.java:303) at org.codehaus.plexus.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:254) at org.codehaus.plexus.PlexusLifecycleManager.manageDeferredLifecycles(PlexusLifecycleManager.java:219) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:144) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:78) at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:968) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1021) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:964) ... 41 more Caused by: org.sonatype.timeline.TimelineException: Failed to configure timeline index! at org.sonatype.timeline.DefaultTimelineIndexer.configure(DefaultTimelineIndexer.java:129) at org.sonatype.timeline.DefaultTimeline.repairTimelineIndexer(DefaultTimeline.java:105) at org.sonatype.timeline.DefaultTimeline.configure(DefaultTimeline.java:69) at org.sonatype.nexus.timeline.DefaultNexusTimeline.updateConfiguration(DefaultNexusTimeline.java:144) at org.sonatype.nexus.timeline.DefaultNexusTimeline.start(DefaultNexusTimeline.java:82) ... 52 more Caused by: java.lang.NumberFormatException: For input string: "1." at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Long.parseLong(Long.java:419) at org.apache.lucene.index.SegmentInfos.generationFromSegmentsFileName(SegmentInfos.java:199) at org.apache.lucene.index.SegmentInfos.getCurrentSegmentGeneration(SegmentInfos.java:134) at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:571) at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:521) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:308) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1099) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:888) at org.sonatype.timeline.DefaultTimelineIndexer.configure(DefaultTimelineIndexer.java:118) ... 56 more log4j:ERROR Attempted to append to closed appender named [CONSOLE]. log4j:ERROR Attempted to append to closed appender named [R]. 2011-10-05 17:49:32,510 ERROR org.apache.catalina.core.StandardContext - Error listenerStart 2011-10-05 17:49:32,510 ERROR org.apache.catalina.core.StandardContext - Context [/nexus-webapp] startup failed due to previous erro rs WARN: The method class org.apache.commons.logging.impl.SLF4JLogFactory#release() was invoked. WARN: Please see http://www.slf4j.org/codes.html#release for an explanation. 2011-10-05 17:49:34,644 INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/balancer] - org.apache.webapp.balancer .BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Tar get string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: par amName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRul e: Redirect URL: http://jakarta.apache.org]] 2011-10-05 17:49:35,142 INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jsp-examples] - ContextListener: conte xtInitialized() 2011-10-05 17:49:35,143 INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jsp-examples] - SessionListener: conte xtInitialized() 2011-10-05 17:49:35,965 INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/servlets-examples] - ContextListener: contextInitialized() 2011-10-05 17:49:35,966 INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/servlets-examples] - SessionListener: contextInitialized() 2011-10-05 17:49:36,805 INFO org.apache.coyote.http11.Http11BaseProtocol - Starting Coyote HTTP/1.1 on http-8080 2011-10-05 17:49:37,088 INFO org.apache.jk.common.ChannelSocket - JK: ajp13 listening on /0.0.0.0:8009 2011-10-05 17:49:37,094 INFO org.apache.jk.server.JkMain - Jk running ID=0 time=0/67 config=null 2011-10-05 17:49:37,181 INFO org.apache.catalina.storeconfig.StoreLoader - Find registry server-registry.xml at classpath resource 2011-10-05 17:49:37,298 INFO org.apache.catalina.startup.Catalina - Server startup in 34726 ms 2011-10-05 17:49:40,958 INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager] - HTMLManager: init: Associat ed with Deployer 'Catalina:type=Deployer,host=localhost' 2011-10-05 17:49:40,967 INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager] - HTMLManager: init: Global r esources are available 2011-10-05 17:49:40,991 INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager] - HTMLManager: list: Listing contexts for virtual host 'localhost' 2011-10-05 17:49:47,385 INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager] - HTMLManager: list: Listing contexts for virtual host 'localhost' 2011-10-05 18:20:59,316 INFO org.apache.coyote.http11.Http11BaseProtocol - Pausing Coyote HTTP/1.1 on http-8080 2011-10-05 18:21:00,324 INFO org.apache.catalina.core.StandardService - Stopping service Catalina 2011-10-05 18:21:00,366 INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/servlets-examples] - SessionListener: contextDestroyed() 2011-10-05 18:21:00,366 INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/servlets-examples] - ContextListener: contextDestroyed() 2011-10-05 18:21:00,410 INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jsp-examples] - SessionListener: conte xtDestroyed() 2011-10-05 18:21:00,410 INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jsp-examples] - ContextListener: conte xtDestroyed() 2011-10-05 18:21:00,643 INFO org.apache.coyote.http11.Http11BaseProtocol - Stopping Coyote HTTP/1.1 on http-8080 Tomcat Logicals and Classpaths are cleared APACHE$WWW job terminated at 5-OCT-2011 18:21:00.88 Accounting information: Buffered I/O count: 185624 Peak working set size: 615792 Direct I/O count: 33063 Peak virtual size: 1799888 Page faults: 37938 Mounted volumes: 0 Charged CPU time: 0 00:01:13.27 Elapsed time: 0 00:32:01.17 IA64-2>
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org