[Anthill] Anthill on z/OS USS
Eric Minick
eric at urbancode.com
Wed Jul 14 07:44:20 CDT 2004
Hi William,
I don't have any z/OS experience, but I might be able to point you in
the direction of the next place to look. The log suggests that the
anthill properties are being loaded and read successfully. I believe
anthill is failing when it tries to read the files in the conf
directory. If you think you need to adjust the encoding on files, I'd
suggest doing those.
Regards,
Eric
William Walsh wrote:
>Hi all,
>
>I'm trying to get anthill working on z/OS 1.4 (USS). I've installed the
>latest Tomcat binary (5.0.27) and this seems to be working (tomcat-docs and
>the sample application work fine). I've installed the latest anthill binary
>and this fails on bringing up the initial Anthill Configuration screen (that
>prompts for the anthill path, see stack trace following). I'm assuming this
>is an ASCII/EBCDIC issue since the default file encoding on z/OS is EBCDIC.
>Unfortunately, I don't seem to find Registry.java in the source distribution
>of anthill. I'm made my ~/.anthill.properties file ASCII in hopes that
>would fix it, but no luck. Have also tried to bring up Tomcat with
>-Dfile.encoding=ISO-8859-1 (or UTF-8), but with this set Tomcat doesn't come
>up and I don't see any errors as to why.
>
>If anyone has dealt with this situation or has any insight your input would
>be appreciated.
>
>catalina log:
>Anthill: looking for file: /.anthill.anthill.properties
>Anthill version: 1.7.0.162 loaded.
>Anthill root dir: /usr/local/anthill
>java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> at java.lang.String.substring(String.java(Compiled Code))
> at com.urbancode.lib.registry.Registry.loadHelper(Registry.java:138)
> at com.urbancode.lib.registry.Registry.<init>(Registry.java:77)
> at com.urbancode.lib.registry.Registry.loadFile(Registry.java:47)
> at com.urbancode.anthill.Anthill.initialize(Anthill.java:500)
> at com.urbancode.anthill.Anthill.<init>(Anthill.java:171)
> at com.urbancode.anthill.Anthill.getAnthill(Anthill.java:129)
> at
>com.urbancode.anthill.web.admin.AnthillBaseServlet.processRequest0(AnthillBa
>seServlet.java:90)
> at
>com.urbancode.anthill.web.admin.AnthillBaseServlet.doGet(AnthillBaseServlet.
>java:111)
> 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(Application
>FilterChain.java:237)
> at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>ain.java:157)
> at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
>va:214)
> at
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
>t.java:104)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
>org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
>Valve.java:198)
> at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
>va:152)
> at
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
>t.java:104)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
>)
> at
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
>t.java:104)
> at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
>)
> at
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
>t.java:102)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
>:109)
> at
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
>t.java:104)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> at
>org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> at
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> at
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
>ction(Http11Protocol.java:705)
> at
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> at
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
>a:683)
> at java.lang.Thread.run(Thread.java:513)
>java.io.IOException: Invallid registry file format.
> at com.urbancode.lib.registry.Registry.loadHelper(Registry.java:153)
> at com.urbancode.lib.registry.Registry.<init>(Registry.java:77)
> at com.urbancode.lib.registry.Registry.loadFile(Registry.java:47)
> at com.urbancode.anthill.Anthill.initialize(Anthill.java:500)
> at com.urbancode.anthill.Anthill.<init>(Anthill.java:171)
> at com.urbancode.anthill.Anthill.getAnthill(Anthill.java:129)
> at
>com.urbancode.anthill.web.admin.AnthillBaseServlet.processRequest0(AnthillBa
>seServlet.java:90)
> at
>com.urbancode.anthill.web.admin.AnthillBaseServlet.doGet(AnthillBaseServlet.
>java:111)
> 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(Application
>FilterChain.java:237)
> at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>ain.java:157)
> at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
>va:214)
> at
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
>t.java:104)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
>org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
>Valve.java:198)
> at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
>va:152)
> at
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
>t.java:104)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
>)
> at
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
>t.java:104)
> at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
>)
> at
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
>t.java:102)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
>:109)
> at
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
>t.java:104)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> at
>org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> at
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> at
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
>ction(Http11Protocol.java:705)
> at
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> at
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
>a:683)
> at java.lang.Thread.run(Thread.java:513)
>
>Thanks,
>www
>The information in this email is confidential and may be legally privileged.
>It is intended solely for the addressee. Access to this email by anyone else
>is unauthorized. If you are not the intended recipient, any disclosure,
>copying, distribution or any action taken or omitted to be taken in reliance
>on it, is prohibited and may be unlawful. If you are not the intended
>addressee please contact the sender and dispose of this e-mail. Thank you.
>_______________________________________________
>Anthill mailing list
>Anthill at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill
>
>
>
>
More information about the Anthill
mailing list