[Anthill] Anthill on z/OS USS
Eric Minick
eric at urbancode.com
Wed Jul 14 09:25:13 CDT 2004
William,
1) Look like it is trying to process Anthill/projects/anthill.registry
which is a plain text ascii file as well. I should have caught that the
first time around.
2) I'm not quite sure what you mean. Essentially, the first time you
launch Anthill it should create a .anthill.anthill.properties file in
the root directory of the tomcat user with the path to the Anthill base
directory that is entered by the user. Subsequently, it uses that path
to find the Anthill files.
Cheers,
Eric
William Walsh wrote:
>Hi Eric,
>
>Thanks for the tip. I converted all the com.urbancode.*.properties files,
>log4j.configuration, and resultMail.pgl to EBCDIC (the native z/OS character
>set) to see if that had an impact and it didn't seem to. But maybe I can
>narrow down my hunt with a couple more questions:
>1) The stack trace points to Registry.java; do you know what file(s) it is
>trying to process at those locations?
>2) When it does process the contents of ./conf/profiles what underlying
>directory will it be looking for? On this platform, in Ant <os
>family="z/os"/>.
>
>I'm going to post a query on the MVS-OE list about Tomcat and the
>-Dfile.encoding property because I think this would be a better way to go if
>I could just tell the JVM for Tomcat to process all external files as ASCII,
>which is what I assume would make Anthill happier.
>
>All the best,
>www
>
>
>-----Original Message-----
>From: Eric Minick [mailto:eric at urbancode.com]
>Sent: 14 July 2004 13:44
>To: Anthill user list
>Subject: Re: [Anthill] Anthill on z/OS USS
>
>
>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(AnthillB
>>
>>
>a
>
>
>>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(Applicatio
>>
>>
>n
>
>
>>FilterChain.java:237)
>> at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
>>
>>
>h
>
>
>>ain.java:157)
>> at
>>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
>>
>>
>a
>
>
>>va:214)
>> at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte
>>
>>
>x
>
>
>>t.java:104)
>> at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>> at
>>org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContex
>>
>>
>t
>
>
>>Valve.java:198)
>> at
>>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
>>
>>
>a
>
>
>>va:152)
>> at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte
>>
>>
>x
>
>
>>t.java:104)
>> at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>> at
>>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:13
>>
>>
>7
>
>
>>)
>> at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte
>>
>>
>x
>
>
>>t.java:104)
>> at
>>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:11
>>
>>
>7
>
>
>>)
>> at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte
>>
>>
>x
>
>
>>t.java:102)
>> at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>> at
>>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
>>
>>
>a
>
>
>>:109)
>> at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte
>>
>>
>x
>
>
>>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.processConn
>>
>>
>e
>
>
>>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.ja
>>
>>
>v
>
>
>>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(AnthillB
>>
>>
>a
>
>
>>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(Applicatio
>>
>>
>n
>
>
>>FilterChain.java:237)
>> at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
>>
>>
>h
>
>
>>ain.java:157)
>> at
>>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
>>
>>
>a
>
>
>>va:214)
>> at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte
>>
>>
>x
>
>
>>t.java:104)
>> at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>> at
>>org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContex
>>
>>
>t
>
>
>>Valve.java:198)
>> at
>>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
>>
>>
>a
>
>
>>va:152)
>> at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte
>>
>>
>x
>
>
>>t.java:104)
>> at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>> at
>>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:13
>>
>>
>7
>
>
>>)
>> at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte
>>
>>
>x
>
>
>>t.java:104)
>> at
>>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:11
>>
>>
>7
>
>
>>)
>> at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte
>>
>>
>x
>
>
>>t.java:102)
>> at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>> at
>>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
>>
>>
>a
>
>
>>:109)
>> at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte
>>
>>
>x
>
>
>>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.processConn
>>
>>
>e
>
>
>>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.ja
>>
>>
>v
>
>
>>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
>>
>>
>>
>>
>>
>>
>_______________________________________________
>Anthill mailing list
>Anthill at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill
>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