[Anthill] JAVA_HOME problem after upgrade
Eric Minick
eric at urbancode.com
Mon Jan 17 20:00:30 CST 2005
Thanks for writing this in Adrian. We did change the command engine for
1.8, so I can imagine how this could have gone wrong. I'll see what I
can do.
- Eric
Swain, Adrian wrote:
>
>
> I have just tried upgrading an old version of anthill (1.7.0.162
> to 1.8.0.264). When I kick off a build, I see the following
> error in my tomcat log file. Why isn't JAVA_HOME being picked
> up correctly? The user running tomcat (fsdev) has the JAVA_HOME
> environment variable set. This was all working fine before I
> tried to upgrade.
>
>
> 12:26:28:342 [http8080-Processor4] DEBUG
> com.urbancode.anthill.AnthillConfig - JdkHome points to a JRE -
> /opt/java/j2se-1.4.2/jre
>
> 12:26:28:353 [http8080-Processor4] DEBUG
> com.urbancode.anthill.AnthillConfig - Looking for jdkHome in
> the parentDirectory: /opt/java/j2se-1.4.2/
>
> 12:26:28:362 [http8080-Processor4] DEBUG
> com.urbancode.anthill.AnthillConfig - jdkHome:
> /opt/java/j2se-1.4.2
> 12:26:28:363 [http8080-Processor4] DEBUG
> com.urbancode.anthill.AnthillConfig - AntHome: lib/ant1.6.2
> 12:26:28:366 [http8080-Processor4] DEBUG
> com.urbancode.anthill.AnthillConfig - Ant ClassPath:
> /opt/java/j2se-1.4.2/lib/tools.jar:
>
> ...............
>
> 12:29:18:363 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.BuildManager - step 2) is project up to
> date?
> 12:29:18:364 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.BuildManager - step 3) Increment version:
> 12:29:18:367 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.UrbanCodeVersionAdapter - Branch
> from the repository adapter:
>
> 12:29:18:367 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.UrbanCodeVersionAdapter -
> Incrementing version file: /home/fsdev/proj
>
> ects/fox-int/fox/build.version
> 12:29:18:387 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.ProfileRepositoryAdapter -
> Preparing file: build.version for editing.
>
> 12:29:18:404 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.ProfileRepositoryAdapter -
> Executing Command: sh /home/fsdev/buildenv
>
> /anthill/conf/profiles/Unix/unix_cvs/preEditPagelet.sh
> /home/fsdev/projects/fox-int/fox
> :pserver:fsdev at nbftdsc05.fi.gs.com:/home/futdev/cvs build.ver
>
> sion
> 12:29:18:408 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.ProfileRepositoryAdapter -
> Execute:Java13CommandLauncher: Executing '
>
> sh' with arguments:
> '/home/fsdev/buildenv/anthill/conf/profiles/Unix/unix_cvs/preEditPagelet.sh'
>
> '/home/fsdev/projects/fox-int/fox'
> ':pserver:fsdev at nbftdsc05.fi.gs.com:/home/futdev/cvs'
> 'build.version'
>
> The ' characters around the executable and arguments are
> not part of the command.
>
> WorkingDir: none
> Environment Variables: none
> 12:29:20:022 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.ProfileRepositoryAdapter - Post
> file edit on file: build.version
>
> 12:29:20:033 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.ProfileRepositoryAdapter -
> Executing Command: sh /home/fsdev/buildenv
>
> /anthill/conf/profiles/Unix/unix_cvs/postEditPagelet.sh
> /home/fsdev/projects/fox-int/fox
> :pserver:fsdev at nbftdsc05.fi.gs.com:/home/futdev/cvs Committe
>
> d_by_Anthill build.version
> 12:29:20:034 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.ProfileRepositoryAdapter -
> Execute:Java13CommandLauncher: Executing '
>
> sh' with arguments:
> '/home/fsdev/buildenv/anthill/conf/profiles/Unix/unix_cvs/postEditPagelet.sh'
>
> '/home/fsdev/projects/fox-int/fox'
> ':pserver:fsdev at nbftdsc05.fi.gs.com:/home/futdev/cvs'
> 'Committed_by_Anthill'
> 'build.version'
>
> The ' characters around the executable and arguments are
> not part of the command.
>
> WorkingDir: none
> Environment Variables: none
> 1 is: /home/fsdev/projects/fox-int/fox
> Error: JAVA_HOME is not defined correctly.
> We cannot execute Set the FAME QA1, QA2, QA3 or QA4 test
> environments by running 'Fset_qa1', 'Fset_qa2', 'Fset_qa3' or
> 'Fset_qa4'.
>
> /usr/bin/java
> 12:29:23:379 [Thread - AnthillBuildDaemon] ERROR
> com.urbancode.anthill.BuildManager - Failed to Build project.
> Error: 1
>
> java.lang.Exception: Failed to Build project. Error: 1
> at
> com.urbancode.anthill.BuildManager.buildProject(BuildManager.java:523)
>
> at
> com.urbancode.anthill.BuildManager.runBuild(BuildManager.java:401)
> at
> com.urbancode.anthill.BuildManager.build(BuildManager.java:185)
> at
> com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.java:231)
>
> at
> com.urbancode.anthill.BuildDefinition.run(BuildDefinition.java:158)
> at
> com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)
> 12:29:23:388 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.BuildManager - Step 6) Tag project (if
> set to success):
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Anthill mailing list
>Anthill at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill
>
>
More information about the Anthill
mailing list