continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mick Knutson" <mickknut...@gmail.com>
Subject Re: [c 1.1] issues with adding build definition....
Date Fri, 01 Feb 2008 21:46:33 GMT
So I am trying to figure this out and found this:

http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Tomcat

*I had to add 2 JAVA_OPTS to my Tomcat startup script  to get it to work:
-Dplexus.system.path=$PATH to get Continuum to find the mvn and ant
executables,
-Dappserver.base=$CATALINA_HOME to get the logfile in the right dir and
remove the  ${appserver.base} dirs popping up in $CATALINA_HOME and the
appBase of my Tomcat
host.*<http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Tomcat?focusedCommentId=10748005#comment-10748005>


When I added that to my startup script like:

*export CATALINA_OPTS="-Dappserver.home=/home/dapadmin/apache-tomcat-5.5.25-
Dappserver.base=/home/dapadmin/apache-tomcat-5.5.25 -
Dplexus.system.path=$PATH"
*


*I now get this is my continuum.log*
*
1    [main] INFO
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/continuum]
- Loading plexus context properties from: '/WEB-INF/plexus.properties'
23   [main] INFO
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/continuum]
- Could not load plexus context properties from:
'/WEB-INF/plexus.properties'
2895 [main] INFO  org.codehaus.plexus.PlexusContainer  - Loading on start
[role,roleHint]: [org.apache.maven.continuum.Continuum,default]*


But I also get the mvn being found:

*13352 [main] INFO  org.quartz.core.QuartzScheduler  - Scheduler
defaultScheduler_$_NON_CLUSTERED started.
13579 [main] WARN
org.apache.maven.continuum.execution.ContinuumBuildExecutor:maven-1  - Could
not find the executable 'maven' in the path '[/usr/bin, /usr/ucb, /etc,
/usr/local/bin, ., /usr/jdk/jdk1.5.0_06/bin, /opt/maven/bin,
/opt/oracle/oas/ant/bin]'.
13589 [main] INFO
org.apache.maven.continuum.execution.ContinuumBuildExecutor:ant  - Resolved
the executable 'ant' to '/opt/oracle/oas/ant/bin/ant'.
15063 [main] INFO
org.apache.maven.continuum.execution.ContinuumBuildExecutor:maven2  -
Resolved the executable 'mvn' to '/opt/maven/bin/mvn'.
15077 [main] INFO
org.apache.maven.continuum.execution.manager.BuildExecutorManager:default  -
Build executors:
15078 [main] INFO
org.apache.maven.continuum.execution.manager.BuildExecutorManager:default
-   ant
15078 [main] INFO
org.apache.maven.continuum.execution.manager.BuildExecutorManager:default
-   maven-1
15079 [main] INFO
org.apache.maven.continuum.execution.manager.BuildExecutorManager:default
-   maven2
15079 [main] INFO
org.apache.maven.continuum.execution.manager.BuildExecutorManager:default
-   shell*


I will know at 2:00pm if the notifier works as that is my next scheduled
build.





On Feb 1, 2008 1:08 PM, Mick Knutson <mickknutson@gmail.com> wrote:

> I am waiting for the next build to occur to send more continuum.log's but
> I did notice that after I bounced continuum, I started getting this error
> again:
>
> *14933 [main] WARN
> org.apache.maven.continuum.execution.ContinuumBuildExecutor:maven2  -
> Could not find the executable 'mvn' in the path '[]'.*
>
> Why is path '[]' instead of something like
> path'[/usr/bin:/usr/ucb:/etc:/usr/local/bin:.:/usr/jdk/jdk1.5.0_06/bin:/opt/maven/bin:/opt/oracle/oas/ant/bin]'
> ????
>
> mvn is, and has always BEEN on my path and the install works fine even
> with this error, but it appears the email notifier does not work.
>
>
>
>
>
> On Feb 1, 2008 12:58 PM, Mick Knutson <mickknutson@gmail.com> wrote:
>
> > In my localhost.log I see this:
> >
> > *SEVERE: Exception starting filter Compression Filter
> > java.lang.ClassNotFoundException: compressionFilters.CompressionFilter
> >     at org.apache.catalina.loader.WebappClassLoader.loadClass(
> > WebappClassLoader.java:1362)
> >     at org.apache.catalina.loader.WebappClassLoader.loadClass(
> > WebappClassLoader.java:1208)
> >     at org.apache.catalina.core.ApplicationFilterConfig.getFilter(
> > ApplicationFilterConfig.java:207)
> >     at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(
> > ApplicationFilterConfig.java:302)
> >     at org.apache.catalina.core.ApplicationFilterConfig.<init>(
> > ApplicationFilterConfig.java:78)
> >     at org.apache.catalina.core.StandardContext.filterStart(
> > StandardContext.java:3635)
> >     at org.apache.catalina.core.StandardContext.start(
> > StandardContext.java:4222)
> >     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.deployDirectory(
> > HostConfig.java:920)
> >     at org.apache.catalina.startup.HostConfig.deployDirectories(
> > HostConfig.java:883)
> >     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
> > :492)
> >     at org.apache.catalina.startup.HostConfig.start(HostConfig.java
> > :1138)
> >     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:585)
> >     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
> >     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
> > Feb 1, 2008 12:45:18 PM org.apache.catalina.core.StandardContextfilterStart
> > SEVERE: Exception starting filter Set Character Encoding
> > java.lang.ClassNotFoundException: filters.SetCharacterEncodingFilter
> >     at org.apache.catalina.loader.WebappClassLoader.loadClass(
> > WebappClassLoader.java:1362)
> >     at org.apache.catalina.loader.WebappClassLoader.loadClass(
> > WebappClassLoader.java:1208)
> >     at org.apache.catalina.core.ApplicationFilterConfig.getFilter(
> > ApplicationFilterConfig.java:207)
> >     at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(
> > ApplicationFilterConfig.java:302)
> >     at org.apache.catalina.core.ApplicationFilterConfig.<init>(
> > ApplicationFilterConfig.java:78)
> >     at org.apache.catalina.core.StandardContext.filterStart(
> > StandardContext.java:3635)
> >     at org.apache.catalina.core.StandardContext.start(
> > StandardContext.java:4222)
> >     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.deployDirectory(
> > HostConfig.java:920)
> >     at org.apache.catalina.startup.HostConfig.deployDirectories(
> > HostConfig.java:883)
> >     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
> > :492)
> >     at org.apache.catalina.startup.HostConfig.start(HostConfig.java
> > :1138)
> >     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:585)
> >     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
> >     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)*
> >
> >
> >
> > On Feb 1, 2008 12:58 PM, Mick Knutson <mickknutson@gmail.com> wrote:
> >
> > > 1st, when I start a new project group, and single build definition.
> > > Everything works fine. My install works, and I get an email each time the
> > > build occurs.
> > >
> > > Now when I add another build definition, the 1st time the build
> > > happened with the new definition, it appears the install works, but the
> > > site:site (2nd definition) seems to have an error getting the dashboard
> > > plugin as it thinks there is no valid version available, but I am using
> > > archiva, and I can assure you that running site:site from the command line
> > > in the source of the machine works.
> > > This error continues each time the build runs, but the 1st definition
> > > never runs again. Only the 2nd build definition (site:site) is run from now
> > > on.
> > >
> > > Then, I delete the 2nd build definition (site:site) and bounce
> > > continuum. Then the 1st build definition starts working again, but now the
> > > email notifier does not work anymore.
> > >
> > > This all occurs without any Clearcase code change at all.
> > >
> > >
> > >
> > > --
> > > Thanks,
> > > Mick Knutson
> > >
> > > http://www.baselogic.com
> > > http://www.blincmagazine.com
> > > http://www.djmick.com
> > > http://www.myspace.com/mickknutson
> > > http://www.myspace.com/BLiNCMagazine
> > > http://tahoe.baselogic.com
> > > ---
> >
> >
> >
> >
> > --
> > Thanks,
> > Mick Knutson
> >
> > http://www.baselogic.com
> > http://www.blincmagazine.com
> > http://www.djmick.com
> > http://www.myspace.com/mickknutson
> > http://www.myspace.com/BLiNCMagazine
> > http://tahoe.baselogic.com
> > ---
> >
>
>
>
> --
> Thanks,
> Mick Knutson
>
> http://www.baselogic.com
> http://www.blincmagazine.com
> http://www.djmick.com
> http://www.myspace.com/mickknutson
> http://www.myspace.com/BLiNCMagazine
> http://tahoe.baselogic.com
> ---
>



-- 
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message