Trouble to debug a standalone version of my model

View: New views
2 Messages — Rating Filter:   Alert me  

Trouble to debug a standalone version of my model

by John Tranier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am not able to run my model from the standalone version obtained  
from the installer and I cannot figure out how to debug that issue ...
My model works properly with eclipse.
The "Build installer" launcher works also properly.
But when I install the model and run it from the script I get the  
following error message:
log4j:WARN No appenders could be found for logger  
(MessageCenter.INTERNAL.repast.simphony.ui.RSUIPlugin).

The problem here is that the GUI is not launched yet, so I cannot read  
the error message :-(

I've done this operation few days ago and it was working, so of  
course, the problem comes from my recent code updates.
But without the java error messages it is not easy to find ...

I would be really glad if someone has an idea about how to debug this  
problem ...

Regards,
John

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

Re: Trouble to debug a standalone version of my model

by Tatara, Eric R. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

John,

The runtime is looking for the log config file MessageCenter.log4j.properties, which is not included in a RS project created with the RS plugin/stand along version.  If you copy this file into the project root, it will print the error message to the console.  You can find the file either in the repast.simphony.runtime project if running from RS source, or in the /eclipse/plugins/repast.simphony.runtime_1.2.0 folder from the stand alone installer.

eric


Eric Tatara, Ph.D.
Assistant Software Engineer
Center for Complex Adaptive Agent Systems Simulation
Decision and Information Sciences Division
Argonne National Laboratory

-----Original Message-----
From: John Tranier [mailto:tranier@...]
Sent: Wednesday, October 21, 2009 9:13 AM
To: Repast
Subject: [Repast-interest] Trouble to debug a standalone version of my model

Hi,

I am not able to run my model from the standalone version obtained from the installer and I cannot figure out how to debug that issue ...
My model works properly with eclipse.
The "Build installer" launcher works also properly.
But when I install the model and run it from the script I get the following error message:
log4j:WARN No appenders could be found for logger (MessageCenter.INTERNAL.repast.simphony.ui.RSUIPlugin).

The problem here is that the GUI is not launched yet, so I cannot read the error message :-(

I've done this operation few days ago and it was working, so of course, the problem comes from my recent code updates.
But without the java error messages it is not easy to find ...

I would be really glad if someone has an idea about how to debug this problem ...

Regards,
John

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest