Re: AW: Windows Installation: System error

Varban <[email protected]> Mon, 8 May 2006 17:24:48 -0400
Newsgroups gmane.comp.java.anthill
Organization Urbancode
Message-ID <[email protected]>
Hi Felix,

the anthill.registry file should not be empty. Try populating it with the 
content bellow and try starting tomcat again:

################################################################################
# Configuration of the Log4j module
################################################################################
com.urbancode.lib.butler.adapter.log4j.class = 
com.urbancode.lib.butler.adapters.Log4jAdapter
com.urbancode.lib.butler.adapter.log4j.configurator = PropertyConfigurator
com.urbancode.lib.butler.adapter.log4j.propertyFile = log4j.configuration
# default anthill url
anthill.server = http://localhost:8080/anthill/
anthill.lock.version.file = on

anthill.ant.home = lib/ant1.6.2
anthill.repository.adapter = 
com.urbancode.anthill.adapter.CVSRepositoryAdapter

anthill.mail.host = 192.168.2.203
anthill.mail.from = anthill@localhost
anthill.version.adapter = 
com.urbancode.anthill.adapter.UrbanCodeVersionAdapter
anthill.work.dir = work
anthill.projects.dir = projects
anthill.publish.dir.default = publishDir
anthill.dependency.target = dependency
anthill.dependency.artifact.property = dependency.artifact.dir



Also make sure that the permissions on the file allow the user running tomcat 
to read it. 

Regards,
Varban

On Monday 08 May 2006 16:35, Felix Kollmann wrote:
> Hi,
>
> the .war file is in place - I used the web interface to install anthill.
>
> @Eric: 1) the file is empty 2) unfortunately there is no difference
>
> cu
> Felix
>
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Res Pons [mailto:[email protected]]
>
> I don't know how important this is: Also don't forget to drop anthill.war
> under tomcat/webapps/
>
> ----Original Message Follows----
> From: Eric Minick <[email protected]>
>
> Felix,
>
> I am not sure what the problem is, but I do have two questions to get
> started with.
> 1) Could you share the contents of the file:
> w:\anthill\projects\anthill.registry?
> 2) Is Tomcat running as a service? If so, do you have the same problem when
> running tomcat from the batch files?
>
> Thanks,
> Eric
>
> Felix Kollmann wrote:
> >Hi,
> >
> >I installed Anthill v1.8.3 on a Tomcat 5.5 on Win2k3 Server system. When
> >opening the Anthill page the request for entering the Anthill home
> >directory comes up. After entering the correct path I receive a page
> >containing nothing more than "System error" and a back-link.
> >
> >I have been able to reproduce the problem even on a Tomcat 4.1 . The
> >property file exists and does correctly contain the path: w\:\\anthill .
> >
> >Anybody had the same problem and solved it?
> >
> >Kind Regards
> >Felix
> >
> >
> >
> >BTW: The stdout logs show the following:
> >
> >
> >Anthill: looking for file: C:\Dokumente und
> >Einstellungen\Administrator\.anthill.anthill.properties
> >Anthill root dir: w:\anthill
> >java.lang.NullPointerException
> >	at com.urbancode.anthill.AnthillConfig.<init>(AnthillConfig.java:73)
> >	at com.urbancode.anthill.Anthill.initialize(Anthill.java:466)
> >	at com.urbancode.anthill.Anthill.<init>(Anthill.java:150)
> >	at com.urbancode.anthill.Anthill.getAnthill(Anthill.java:111)
> >	at
> >com.urbancode.anthill.web.admin.AnthillBaseServlet.processRequest0(Anthill
> >BaseServlet.java:93) at
> >com.urbancode.anthill.web.admin.AnthillBaseServlet.doGet(AnthillBaseServle
> >t.java:114) at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> >	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >	at
> >org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> >onFilterChain.java:252) at
> >org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> >Chain.java:173) at
> >org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
> >java:213) at
> >org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
> >java:178) at
> >org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
> >26) at
> >org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
> >05) at
> >org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.ja
> >va:107) at
> >org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148
> >) at
> >org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.jav
> >a:831) at
> >org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process
> >(Http11AprProtocol.java:639) at
> >org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1196)
> >	at java.lang.Thread.run(Thread.java:595)
> >16:46:48:875 [http-80-1] ERROR
> >org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/anthill].[
> >jsp] - Servlet.service() for servlet jsp threw exception
> >java.lang.Exception: ANTHILL singleton construction error.
> >	at com.urbancode.anthill.Anthill.<init>(Anthill.java:133)
> >	at com.urbancode.anthill.Anthill.getAnthill(Anthill.java:104)
> >	at
> >org.apache.jsp.style.anthillStyle_jsp._jspService(anthillStyle_jsp.java:46
> >) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >	at
> >org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java
> >:332) at
> >org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
> >	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> >	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >	at
> >org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> >onFilterChain.java:252) at
> >org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> >Chain.java:173) at
> >org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
> >java:213) at
> >org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
> >java:178) at
> >org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
> >26) at
> >org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
> >05) at
> >org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.ja
> >va:107) at
> >org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148
> >) at
> >org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.jav
> >a:831) at
> >org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process
> >(Http11AprProtocol.java:639) at
> >org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1196)
> >	at java.lang.Thread.run(Thread.java:595)
> >
> >
> >
> >_______________________________________________
> >Anthill mailing list
> >Anthill-IWHQxnLZ/[email protected]
> >http://lists.urbancode.com/mailman/listinfo/anthill
>
> _______________________________________________
> Anthill mailing list
> Anthill-IWHQxnLZ/[email protected]
> http://lists.urbancode.com/mailman/listinfo/anthill
>
> _________________________________________________________________
> Don’t just search. Find. Check out the new MSN Search!
> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>
>
>
>
> _______________________________________________
> Anthill mailing list
> Anthill-IWHQxnLZ/[email protected]
> http://lists.urbancode.com/mailman/listinfo/anthill