[Anthill] Pagelets not installed?

Dan Crow dcrow at blurb.com
Thu Oct 20 12:20:21 CDT 2005


Varban,

Many thanks for the quick reply. The problems I had were sort of 
permissions related - Tomcat was running under a user account with 
limited permissions. Restarting Tomcat as root got me a great deal further.

I still have one more mysterious problem through. In building the 
Anthill-Example I'm getting UnsupportedClassVersion exceptions thrown. 
Here's the relevant Tomcat console log:

10:01:59:374 [Thread - AnthillBuildDaemon] ERROR 
com.urbancode.anthill.BuildManager  - 
Unix/unix_cvs/getWorkingProject_pgl (Unsupported major.minor version 49.0)
java.lang.UnsupportedClassVersionError: 
Unix/unix_cvs/getWorkingProject_pgl (Unsupported major.minor version 49.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:448)
         at 
com.urbancode.pagelet.PageletClassLoader.loadClass(PageletClassLoader.java:46)
         at com.urbancode.pagelet.Pagelet.loadClass(Pagelet.java:274)
         at com.urbancode.pagelet.Pagelet.service(Pagelet.java:157)
         at com.urbancode.pagelet.Pagelet.service(Pagelet.java:122)
         at 
com.urbancode.anthill.adapter.ProfileRepositoryAdapter.getWorkingProjectCopy(ProfileRepositoryAdapter.java:287)
         at 
com.urbancode.anthill.adapter.CVSRepositoryAdapter.getWorkingProjectCopy(CVSRepositoryAdapter.java:167)
         at com.urbancode.anthill.BuildManager.build(BuildManager.java:104)
         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)


Any ideas what might be causing this? I've tried with Java 1.5.0 and 
1.4.2 and I get the same exceptions from both.

Thanks,

Dan

varban wrote:
> Hi Dan,
> 
> the pagelets directory is not part of the AnthillOS installation. All 
> the pagelets that come with AnthillOS should be in conf/profiles. The 
> pagelets directory is where AnthillOS creates and compiles custom 
> pagelets for the specific project it is building. I would check if the 
> user running tomcat has permissions to write to the pagelets directory. 
> Any permissions denied messages would be a good indicator.
> 
> Regards,
> Varban
> 
> Dan Crow wrote:
> 
>> I've just installed the latest Anthill version (1.8.0.264) from:
>>
>> http://www.urbancode.com/projects/anthill/installation.jsp
>>
>> I followed the installation instructions and have the administration 
>> pages up and working. I tried to build the Anthill-Example and it 
>> fails. The only output is an empty (zero bytes) file in the buildLogs. 
>> Looking at the Tomcat console log I see that Anthill is attempting to 
>> execute files out of the /usr/local/anthill/pagelets. Here's a typical 
>> error message:
>>
>> 19:55:27:431 [Thread - AnthillBuildDaemon] INFO 
>> com.urbancode.anthill.BuildManager  - step 1) Retrieve working copy of 
>> code from repository
>> 19:55:27:432 [Thread - AnthillBuildDaemon] INFO 
>> com.urbancode.anthill.adapter.CVSRepositoryAdapter  - 
>> RepositoryException in checkout. message: Checkout failed: 
>> /usr/local/anthill/pagelets/Unix/unix_cvs/getWorkingProject_pgl.java 
>> (No such file or directory)
>>
>> Unfortunately the pagelets directory and its contents were not 
>> installed along with the rest of the Anthill. I checked the tar file 
>> and it does not contain a pagelets directory.
>>
>> Any ideas how I can get Anthill running? Where do I find the pagelets 
>> files?
>>
>> Many thanks,
>>
>> Dan
>>
> 
> 

-- 
Dan Crow
VP of Product and Technology
www.blurb.com



More information about the Anthill mailing list