LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2011, 02:02 AM   #1
bluetooth
LQ Newbie
 
Registered: Feb 2011
Posts: 7

Rep: Reputation: 0
agentJ prog error


when trying to run a tcl file, i gt the following error

Starting...
Creating JavaAgent NS2 agents and attach them to the nodes...
In script: Initializing ...
Setting Java Object to use by each agent ...
InitAgent Entering
Agentj: Simulator instance name is ... _o3
InitAgent Entering
Agentj: Simulator instance name is ... _o3
Setting Logging LEVEL to = 0
Logging LEVEL is set to = 0
option[ 0] = '-Djava.library.path=:/home/icts/Desktop/ns-allinone-2.34/otcl-1.13:/home/icts/Desktop/ns-allinone-2.34/lib:/usr/X11R6/lib:/usr/local/lib:/home/icts/Desktop/ns-allinone-2.34/ns-2.34/agentj/core/lib'
option[ 1] = '-Xmx512m'
option[ 2] = '-Xms100m'
option[ 3] = '-Djava.class.path=/core/target/test-classes/:.'
option[ 4] = '-Djava.system.class.loader=agentj.instrument.AgentJClassLoader'
option[ 5] = '-verbose:jni'
option[ 6] = '(null)'
Segmentation fault
 
Old 03-11-2011, 06:24 PM   #2
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
Hmmmmmm.... Segmentation fault would indicate that there is a coding issue with the program. Did you write this file yourself or was it something that you obtained from somewhere else. If you created the file yourself and you have the source you may wanna post it in the programming forum to see if anyone can help you locate the issue.
 
Old 03-14-2011, 01:11 AM   #3
bluetooth
LQ Newbie
 
Registered: Feb 2011
Posts: 7

Original Poster
Rep: Reputation: 0
i just tried to run all the codes provided within the agentj source directory.. all are givig the same error.. so, is there something wrong with the agentj installation??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] agentj installation bluetooth Linux - Newbie 1 03-07-2011 07:14 PM
AgentJ for NS2 marioma Linux - Networking 11 02-10-2011 04:31 AM
How to implement my own protocol with AgentJ dissou Linux - Networking 0 02-10-2011 04:25 AM
[C prog] error printing IP address noir911 Programming 7 08-09-2006 01:33 PM
error loading shared libraries in C++ Prog!!!! prai Programming 2 08-01-2003 04:22 AM


All times are GMT -5. The time now is 04:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration