Problem starting cougaar using communities
Andreas
andreas at paleden.com
Tue Jan 22 02:20:49 EST 2008
I just went through the mesh demo and I am trying to convert some of my
earlier test code to startup using runtime and society xml files.
Before I made things work by copying files into various subfolders of
the cougaar_install directories.
The following applies to my environment
* Java 1.6
* Cougaar 12.4
* Windows 2000
I have installed cougaar to c:/cougaar and I have created a separate
location for my test application APPA which is c:/cougaar_apps and
c:/cougaar_apps/appa respectively.
When I run the application the community information cannot be loaded.
I have included the trace at the end of this email.
I have copied the communities.xml to the c:/cougaar_apps/appa/config
directory.
I seems as if the -Dorg.cougaar.config.path does not work. I have used
several different combinations in the BasicRuntime.xml file none of
which worked.
Examples:
<vm_parameter>-Dorg.cougaar.config.path=c:/cougaar/configs/common\;C:/cougaar_apps/appa/config\</vm_parameter>
<vm_parameter>-Dorg.cougaar.config.path=c:/cougaar/configs/common;C:/cougaar_apps/appa/config</vm_parameter>
<vm_parameter>-Dorg.cougaar.config.path=c:/cougaar/configs/common</vm_parameter>
<vm_parameter>-Dorg.cougaar.config.path=C:/cougaar_apps/appa/config</vm_parameter>
I have attached a zip of all the directories in c:/cougaar_apps.
Can someone please tell me what I am doing wrong here.
Thanks,
Andreas
C:\cougaar_apps\appa\run>cougaar
c:/cougaar_apps/appa/config/DirMonAgent.xml BasicRuntime.xml
C:\DOCUME~1\amundin\LOCALS~1\Temp\cougaar_exec055.bat
COUGAAR 12.4 built on Thu Sep 27 12:19:45 PDT 2007
Repository: B12_4 on Thu Sep 27 12:17:21 PDT 2007
VM: JDK 1.6.0_03-b05 (mixed mode)
OS: Windows 2000 (5.0)
2008-01-21 23:08:16,848 SHOUT [XMLComponentInitializerServiceProvider] -
Initializing node "APPA" from XML file "c:/coug
aar_apps/appa/config/DirMonAgent.xml"
2008-01-21 23:08:21,625 WARN [CommunityPlugin] - DirMonAgent: Unable to
obtain community information for agent DirMonAg
ent
2008-01-21 23:08:21,625 FATAL [SuicideService] - Suicide from DirMonAgent
java.lang.NullPointerException
at
org.cougaar.community.CommunityPlugin.findMyStartupCommunities(CommunityPlugin.java:150)
at
org.cougaar.community.CommunityPlugin.joinStartupCommunities(CommunityPlugin.java:176)
at
org.cougaar.community.CommunityPlugin.setupSubscriptions(CommunityPlugin.java:99)
at
org.cougaar.core.blackboard.BlackboardClientComponent.precycle(BlackboardClientComponent.java:329)
at
org.cougaar.core.blackboard.BlackboardClientComponent$2.trigger(BlackboardClientComponent.java:245)
at
org.cougaar.util.SyncTriggerModelImpl.runInnerTrigger(SyncTriggerModelImpl.java:233)
at
org.cougaar.util.SyncTriggerModelImpl.access$000(SyncTriggerModelImpl.java:56)
at
org.cougaar.util.SyncTriggerModelImpl$2.trigger(SyncTriggerModelImpl.java:98)
at
org.cougaar.core.agent.service.scheduler.SchedulerServiceProvider$WorkerBase.runTrigger(SchedulerServiceProvi
der.java:217)
at
org.cougaar.core.agent.service.scheduler.SchedulerServiceProvider$NormalScheduler$Worker.run(SchedulerService
Provider.java:313)
at
org.cougaar.core.thread.SchedulableObject.run(SchedulableObject.java:118)
at
org.cougaar.core.thread.ThreadPool$PooledThread.continuationLoop(ThreadPool.java:94)
at
org.cougaar.core.thread.ThreadPool$PooledThread.run(ThreadPool.java:122)
2008-01-21 23:08:21,635 WARN [CommunityPlugin] - DirMonMgr: Unable to
obtain community information for agent DirMonMgr
2008-01-21 23:08:21,635 FATAL [SuicideService] - Suicide from DirMonMgr
java.lang.NullPointerException
at
org.cougaar.community.CommunityPlugin.findMyStartupCommunities(CommunityPlugin.java:150)
at
org.cougaar.community.CommunityPlugin.joinStartupCommunities(CommunityPlugin.java:176)
at
org.cougaar.community.CommunityPlugin.setupSubscriptions(CommunityPlugin.java:99)
at
org.cougaar.core.blackboard.BlackboardClientComponent.precycle(BlackboardClientComponent.java:329)
at
org.cougaar.core.blackboard.BlackboardClientComponent$2.trigger(BlackboardClientComponent.java:245)
at
org.cougaar.util.SyncTriggerModelImpl.runInnerTrigger(SyncTriggerModelImpl.java:233)
at
org.cougaar.util.SyncTriggerModelImpl.access$000(SyncTriggerModelImpl.java:56)
at
org.cougaar.util.SyncTriggerModelImpl$2.trigger(SyncTriggerModelImpl.java:98)
at
org.cougaar.core.agent.service.scheduler.SchedulerServiceProvider$WorkerBase.runTrigger(SchedulerServiceProvi
der.java:217)
at
org.cougaar.core.agent.service.scheduler.SchedulerServiceProvider$NormalScheduler$Worker.run(SchedulerService
Provider.java:313)
at
org.cougaar.core.thread.SchedulableObject.run(SchedulableObject.java:118)
at
org.cougaar.core.thread.ThreadPool$PooledThread.continuationLoop(ThreadPool.java:94)
at
org.cougaar.core.thread.ThreadPool$PooledThread.run(ThreadPool.java:122)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cougaar.org/pipermail/cougaar-developers/attachments/20080121/cf63abf5/attachment-0001.html
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cougaar_exec055.bat.txt
Url: http://cougaar.org/pipermail/cougaar-developers/attachments/20080121/cf63abf5/cougaar_exec055.bat-0001.txt
-------------- next part --------------
This is a message from the MailScanner E-Mail Virus Protection Service
----------------------------------------------------------------------
The original e-mail attachment "appa.zip"
is on the list of unacceptable attachments for this site and has been
replaced by this warning message.
Due to limitations placed on us by the Regulation of Investigatory Powers
Act 2000, we were unable to keep a copy of the original attachment.
At Tue Jan 22 02:24:12 2008 the virus scanner said:
MailScanner: Batch files are often malicious (run.bat)
--
Postmaster
Cougaar Open Source Community
www.cougaar.org
MailScanner thanks transtec Computers for their support
More information about the Cougaar-developers
mailing list