[Anthill] Anthill in JBoss under Solaris

sumanth sumanth sumanth_666 at yahoo.com
Tue Sep 21 12:59:03 CDT 2004


Hi ,
Iam using Anthill deployed in jboss under solaris environiment. When i tried to access the application , i got the following error .
please help me.
I pasted the stack trace below.
thanks in advance,
Sumanth
 
05:52:39,593 WARN  [jbossweb] WARNING: Exception for /anthill/style/anthillStyle
.jsp
java.lang.Exception: ANTHILL singleton construction error.
        at com.urbancode.anthill.Anthill.<init>(Anthill.java:152)
        at com.urbancode.anthill.Anthill.getAnthill(Anthill.java:121)
        at org.apache.jsp.anthillStyle$jsp._jspService(anthillStyle$jsp.java:64)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspSer
vlet.java:201)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
81)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:366
)
        at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:293)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
81)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1687)
        at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:544)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1637)
        at org.mortbay.http.HttpServer.service(HttpServer.java:875)
        at org.jboss.jetty.Jetty.service(Jetty.java:543)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:806)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:956)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:823)
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
203)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:290)
        at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:743)
        at java.lang.Thread.run(Thread.java:536)
09:24:46,333 INFO  [jbossweb] Registered jboss.web:Jetty=0,HttpContext=0,context
=/
09:24:46,336 INFO  [jbossweb] Started HttpContext[/]
09:24:55,615 INFO  [STDOUT] Anthill: looking for file: /wl/.anthill.anthill.prop
erties
09:25:00,325 WARN  [jbossweb] WARNING: Exception for /anthill/style/anthillStyle
.jsp
java.lang.Exception: ANTHILL singleton construction error.
        at com.urbancode.anthill.Anthill.<init>(Anthill.java:152)
        at com.urbancode.anthill.Anthill.getAnthill(Anthill.java:121)
        at org.apache.jsp.anthillStyle$jsp._jspService(anthillStyle$jsp.java:64)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspSer
vlet.java:201)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
81)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:366
)
        at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:293)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
81)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1687)
        at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:544)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1637)
        at org.mortbay.http.HttpServer.service(HttpServer.java:875)
        at org.jboss.jetty.Jetty.service(Jetty.java:543)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:806)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:956)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:823)
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
203)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:290)
        at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:743)
        at java.lang.Thread.run(Thread.java:536)
09:25:13,655 WARN  [jbossweb] WARNING: Exception for /anthill/style/anthillStyle
.jsp
java.lang.Exception: ANTHILL singleton construction error.
        at com.urbancode.anthill.Anthill.<init>(Anthill.java:152)
        at com.urbancode.anthill.Anthill.getAnthill(Anthill.java:121)
        at org.apache.jsp.anthillStyle$jsp._jspService(anthillStyle$jsp.java:64)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspSer
vlet.java:201)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
81)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:366
)
        at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:293)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
81)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1687)
        at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:544)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1637)
        at org.mortbay.http.HttpServer.service(HttpServer.java:875)
        at org.jboss.jetty.Jetty.service(Jetty.java:543)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:806)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:956)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:823)
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
203)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:290)
        at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:743)
        at java.lang.Thread.run(Thread.java:536)


anthill-request at lists.urbancode.com wrote:
Send Anthill mailing list submissions to
anthill at lists.urbancode.com

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.urbancode.com/mailman/listinfo/anthill
or, via email, send a message with subject or body 'help' to
anthill-request at lists.urbancode.com

You can reach the person managing the list at
anthill-owner at lists.urbancode.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Anthill digest..."


Today's Topics:

1. RE: Multiple scripts (sten.rosendahl at sungard.com)
2. RE: build.xml does not exist! (William Walsh)
3. Different ant target? (Robert Smith)
4. RE: Different ant target? (Priest, Mark)


----------------------------------------------------------------------

Message: 1
Date: Tue, 21 Sep 2004 08:50:35 +0200
From: 
Subject: RE: [Anthill] Multiple scripts
To: 
Message-ID:


Content-Type: text/plain; charset="utf-8"

Thanks, I'll have another look.

BTW: when I talk about dashboards, I mean something like this: http://www.cmake.org/CMake/Testing/Dashboard/20040921-0100-Nightly/Dashboard.html. I know you had a similar enhancement request about graphical build status back in February.

Regards,
Sten

Eric Minick wrote: 

Sten,

I'd have to think about how to rig it with dependency groups, but it
sure wouldn't be elegant if it is possible. The best documentation I've
got for build lists is at
http://www.urbancode.com/documentation/anthillpro/build_owners.html#build_tracks
. If you look at the screen shot, you can see a "builder" named build.
This is an Ant script. Below it is a box saying "Add a Builder." There
you can add an Ant, Make, Maven, Shell Script or builder. They run in
the order they are listed in, stopping when any fails (the stop will be
optional in 2.3).

Regards,

Eric

sten.rosendahl at sungard.com wrote:

>Hi Eric,
>
>Yes I gathered that 5 minutes later :-) But I did browse through the (quite fragmented) Pro documentation without finding any references to build script lists, could you point me in the right direction? Does AntHill Pro support an extended dashboard too? Could I accomplish this in AntHill OS with multiple scripts (if not that elegant) with dependency groups?
>
>Regards,
>Sten
>
>Eric Minick wrote:
>
>Hi Sten,
>
>It looks like we should update that FAQ. Anthill2 is Anthill Pro and it
>does have the ability to run a list of build scripts. This is something
>we would like to port back down to Anthill OS at some point, but it
>isn't highest on our list of priorities.
>
>Regards,
>
>Eric
>
>sten.rosendahl at sungard.com wrote:
>
> 
>
>>Hi,
>>
>>I'm new to this list (but not new to ANT) and I have a question on
>>something mentioned in the AntHill FAQ:
>>
>>"Future versions of Anthill will allow for greater control of ANT build
>>scripts. In Anthill2, you will be able to configure your project to have
>>a build script, a junit script, a publish script, and possibly some
>>other scripts. Or, you will be able to configure a project to use only a
>>single build script."
>>
>>I would like that very much, and even to make the list of script types
>>configurable. The main reason would be to track the progress and result
>>of each step in the dashboard (adding additional status columns to the
>>Projects table). Is this still planned for or how are AntHill users
>>reporting results of unit tests, regressions tests, jlint runs, purify
>>tests, install tests with AntHill today?
>>
>>Regards,
>>
>>Sten Rosendahl (sten.rosendahl at sungard.com)
>>Front Capital Systems
>>Sungard Trading Systems



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 6314 bytes
Desc: not available
Url : http://lists.urbancode.com/pipermail/anthill/attachments/20040921/7a7e2af9/attachment-0001.bin

------------------------------

Message: 2
Date: Tue, 21 Sep 2004 11:35:28 +0100
From: William Walsh 
Subject: RE: [Anthill] build.xml does not exist!
To: Anthill user list 
Message-ID:
<399CF0DEB7592F4E9D320F3505EAF004023F7B5A at relay2.curamsoftware.com>
Content-Type: text/plain

Hi Eric, I think I understand what you are saying. But, since z/OS is an
EBCDIC platform and we can only use it for testing I've setup Anthill to use
the FileSystemRepositoryAdapter, which I understand to work differently than
the source control adapters--uses an absolute path. The manual says:

repository.fileSystem.work.dir
This is the only attribute you need to specify with the File System
Repository.
Enter the absolute base directory of the project files.

I've set this to /Testing/source; so, I expect that the java command
invoking ant with -buildfile, as reported by log4j, is whatever it finally
resolves it to and expects it to be (and a command line ant command with the
same argument finds it). Yet, there must be something else I've missed.
Any ideas?

Thanks,
www


-----Original Message-----
From: Eric Minick [mailto:eric at urbancode.com] 
Sent: 20 September 2004 19:29
To: Anthill user list
Subject: Re: [Anthill] build.xml does not exist!


William,

I think I see the problem. Anthill assumes that the build script you are 
passing it is a part of the project that it checked out. The build 
script that you enter would be relative to the project directory. 
Anthill then checks out your project, and then executes the build file 
it just checked out. /Testing/source/build.xml looks like you're trying 
to reach the build file with an absolute path, which isn't supported.

Regards,

Eric

William Walsh wrote:

>I have Anthill 1.7.0.162 running under Tomcat 5.0.27, running under jzos
>rc-2, but have not yet had success getting Anthill to build a project. A
>DEBUG level log4j trace for Anthill reports:
>Buildfile: build.xml does not exist!
>Build failed
>
>Yet, if I use its same -buildfile argument for a simple ant command; e.g.:
>ant -projecthelp -buildfile /Testing/source/build.xml
>it works. I have these settings for the jzos JVM and for the Anthill
>project:
>-Dfile.encoding=ISO8859-1 -Dconsole.encoding=Cp1047
>
>Has anyone tackled this? I've tried a number of Ant releases in the
Anthill
>configuration. 
>
>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.


------------------------------

Message: 3
Date: Tue, 21 Sep 2004 09:58:41 -0400
From: "Robert Smith" 
Subject: [Anthill] Different ant target?
To: "Anthill user list" 
Message-ID: <0a4401c49fe3$1a557fe0$5c01a8c0 at shipx34bonp16j>
Content-Type: text/plain; charset="iso-8859-1"

Hello, how do I tell AntHill to run a target in Ant other than the default?
I'd like to run my "compile" target, but I don't see where I can pass it in.

Thanks,

Robert



------------------------------

Message: 4
Date: Tue, 21 Sep 2004 10:24:38 -0400
From: "Priest, Mark" 
Subject: RE: [Anthill] Different ant target?
To: 'Anthill user list' 
Message-ID: 
Content-Type: text/plain

Robert,

I pass in the Ant target using an anthill.publish.ant.params setting and
that works. I assume it would also work for anthill.build.ant.params. My
target is called "deploy" so I have an anthill.publish.ant.params argument
of "deploy".

-Mark

-----Original Message-----
From: Robert Smith [mailto:robert at shipxpress.com] 
Sent: Tuesday, September 21, 2004 9:59 AM
To: Anthill user list
Subject: [Anthill] Different ant target?


Hello, how do I tell AntHill to run a target in Ant other than the default?
I'd like to run my "compile" target, but I don't see where I can pass it in.

Thanks,

Robert

_______________________________________________
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


End of Anthill Digest, Vol 8, Issue 17
**************************************

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill/attachments/20040921/f1d4681e/attachment-0002.htm


More information about the Anthill mailing list