[Anthill-pro] problem adding agent on differnet network segment
Au, Simon
Simon.Au at blueshieldca.com
Tue Oct 17 12:33:56 CDT 2006
Jim or Any Anthill3 guru,
I didn't see the agent on the "available agents" area. I made sure the
port I assigned the agent was open to the server.
Simon Au
Software Configuration Management/Release Management
Simon.au at blueshieldca.com
Office:(415) 229-6136
-----Original Message-----
From: Jason Buck [mailto:buckja at gmail.com]
Sent: Tuesday, October 17, 2006 10:15 AM
To: Au, Simon
Subject: Re: [Anthill-pro] problem adding agent on differnet
network segment
Simon,
I believe this is a problem with the Create Agent function in
the admin console. This is actually an unnecessary step. Simply
install your agent on the desired machine and start both server and
agent. The server will automatically recognize the agent and place it
in the "Available Agents" section. You should then edit that agent and
give it a name and select the Server Groups you wish it to belong to,
then save. The agent should now appear in the "Active Agents" section.
We will be removing the Create Agent function altogether.
Let me know if this still presents a problem for you.
Regards,
Jason Buck
Urbancode, Inc.
On Oct 16, 2006, at 6:56 PM, Au, Simon wrote:
I am having problems adding agents on a different
network segment. My server is 165.253.44.175 running on windows but
agent is 165.253.175.14 running on solaris. Everytime I add the agent I
get the message below and my database get corrupted so my server
shutdown when I retry to start it up again.
Agent add error message
type Exception report
message
description The server encountered an internal error ()
that prevented it from fulfilling this request.
exception
com.urbancode.anthill3.domain.persistent.PersistenceRuntimeException:
com.urbancode.anthill3.domain.persistent.PersistenceException: Error
storing object in database
com.urbancode.anthill3.web.util.Conversation.unbind0(Conversation.java:1
69)
com.urbancode.anthill3.web.util.Conversation.unbind(Conversation.java:49
)
com.urbancode.anthill3.web.controller.ControllerServlet.doPost(Controlle
rServlet.java:384)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.urbancode.anthill3.web.util.LicenseFilter.doFilter(LicenseFilter.jav
a:63)
com.urbancode.anthill3.web.util.SecurityFilter.doFilter(SecurityFilter.j
ava:64)
note The full stack trace of the root cause is available
in the Apache Tomcat/5.0.28 logs.
Server restart error message
C:\AntHill3\server\bin>run_ah3server.cmd
Starting AnthillPro3 Server
Logging configured
Database starting...
Database started
License is valid
Scheduler starting...
Scheduler started
Loading Server Settings...
Server Settings loaded
ERROR main
com.urbancode.anthill3.main.server.AnthillServer -
com.urbancode.anthill3.domain.persiste
nt.PersistenceException: Error restoring object from
database
com.urbancode.anthill3.services.ServiceLifecycleException:
com.urbancode.anthill3.domain.persistent.
PersistenceException: Error restoring object from
database
at
com.urbancode.anthill3.services.agent.AgentManager.start(AgentManager.ja
va:102)
at
com.urbancode.anthill3.main.server.AnthillServer.run(AnthillServer.java:
331)
at
com.urbancode.anthill3.main.server.AnthillServer.main(AnthillServer.java
:96)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at
java.lang.reflect.Method.invoke(Method.java:585)
at
com.urbancode.anthill3.launcher.Launcher.main(Launcher.java:68)
Caused by:
com.urbancode.anthill3.domain.persistent.PersistenceException: Error
restoring object fro
m database
at
com.urbancode.anthill3.domain.persistent.DaoSql.restoreAll(DaoSql.java:3
42)
at
com.urbancode.anthill3.persistence.UnitOfWorkDefault.restoreAll0(UnitOfW
orkDefault.java:2
73)
at
com.urbancode.anthill3.persistence.UnitOfWork.restoreAll(UnitOfWork.java
:489)
at
com.urbancode.anthill3.domain.agent.AgentFactory.restoreAll(AgentFactory
.java:76)
at
com.urbancode.anthill3.services.agent.AgentManager.start(AgentManager.ja
va:69)
... 7 more
Caused by:
com.urbancode.anthill3.domain.persistent.PersistenceException: Error
restoring object fro
m database
at
com.urbancode.anthill3.domain.agent.AgentDaoSql.restore(AgentDaoSql.java
:158)
at
com.urbancode.anthill3.domain.persistent.DaoSql.restoreAll(DaoSql.java:3
37)
... 11 more
Caused by: java.lang.IllegalArgumentException: hostname
can't be null
at
java.net.InetSocketAddress.<init>(InetSocketAddress.java:121)
at
com.urbancode.devilfish.client.ServiceEndpoint.<init>(ServiceEndpoint.ja
va:74)
at
com.urbancode.anthill3.domain.agent.AgentDaoSql.restore(AgentDaoSql.java
:139)
... 12 more
WARN main
com.urbancode.anthill3.main.server.AnthillServer - Shutting down
server...
Simon Au
Software Configuration Management/Release Management
Simon.au at blueshieldca.com
Office:(415) 229-6136
_______________________________________________
Anthill-pro mailing list
Anthill-pro at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill-pro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20061017/8c99e594/attachment.htm
More information about the Anthill-pro
mailing list