Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: akshit on November 25, 2015, 11:07:50 pm
-
I am trying to connect my java virtual machine running via commands in cmd with EA version 9.3. But there is no option of Java(JDWP) in execution analyzer of EA. How can I now debug the java code. I tried attaching to virtual machine option but a popout says that no agent is loaded in the process and I have no clue about it.
Please help me get out of these circumstances.
If the above query is not clear do tell me to write again
Thank you for pondering over.
-
I'm not sure when the JDWP debugging was added, but I strongly suspect it was after 9.3.
-
So any possible way to work around without jdwp or would I be able to achieve the same result with GDB debugging?
and what does it mean when pop out says that no agent is loaded whenever I try to attach to a virtual machine.
-
I just checked, JDWP first appeared in the release notes in version 10. You may be able to achieve some level of debugging using GDB, there's not much that I can do to help you with that though. Consider updating to the latest version, if only to save yourself the time.
The simple explanation for "no agent is loaded" is that EA doesn't know how to debug what you've requested.
-
Thanks for the help.
I had debugged using the newer version but my company does not have license for the newer version that's why I was trying to debug using the older version. I have found out what jdb does for us the same work is done by GDB. So do you have any command in mind that will server the purpose of "java -Xdebug -Xrunjdwp:transport=dt_shmem,address=debug,server=y,suspend=y,
address=58341"
Thanks once again
-
I don't think you're going to get version 9.3 of EA communicating with that.
-
And any suggestion how could I rectify the problem of no agent loaded into the process. I first run the debugger using the eclipse and then try to connect EA with the port in use.
I also have tried connecting to the port which has the command "java -Xdebug -Xrunjdwp:transport=dt_shmem,address=debug,server=y,suspend=y,
address=58341" running. But get the same error.
-
I can't help you any more than by saying upgrade. 9.3 just won't do it and the money your employer is spending for you to try to get it to work is better spent on the upgrade.
-
Thanks for the help.
One more thing I need to ask you. I have created a sequence diagram in the latest version of EA. Now I opened the eap model using EA9.3 and copied the sequence diagram in my project model of EA. When I checked in the changes made in the model and try verifying the diagram from other system the diagram was not viewable. Does the EA has no support for copied images from other eap models?
If my query is still unclear or confusing do tell me.
Thanks
-
You can simply open your model in the newest version of EA.
There's no conversion or anything necesarry.
Geert
-
Yeah I am able to open it but the problem is that when the diagram existing in model "a" is copied(ctrl+c) and pasted(paste from clipboard) into another model, its not viewable to other users. Our project is accessible to many users and there is a system of locking a folder. So when I commit changes to the project, the pasted diagram is viewable from only my system and not other's.
Cant we copy a diagram into clipboard and paste it into another model? Will there be a problem?
-
You cannot copy a diagram across models if the other model doesn't contain the elements and relations shown on that diagram.
The diagram is not an image, but it shows elements and relations to those elements.
Copying the diagram only copies the definition of which elements are on the diagram, and how they should look on that diagram (location, color etc).
But if the target model doesn't know the element, then it cannot be shown in the diagram.
You should really think about what you are trying to achieve to find the best solution for your case.
Geert
-
Excellent reply. Thank you
What if I export the diagram into png or bitmap format. and then paste it. Is that possible? Or what about importing from XMI file? Will that work?
If these steps failed then probably we may try the whole recording process in our project coz we just found that we might have a license for the newer version too.
Thanks in advance.
-
Sure you can copy paste any image, in Enterprise Architect, but that's not really the same no.
If you have payed your yearly license renewal fee then your license for 9.3 is valid for version 12 or 12.1 as well.
Geert
-
I was trying to register my current version of EA with a registered key but when I entered key into EA no change occurs. Am I missing anything while upgrading? I have a key for EA 12.0.1209 while the EA that I am using is 12.0.1215. Will there be a problem in registration when one is using different builds.
-
License keys don't depend on the version of EA.
You just need to upgrade, you should not need to do anything with regards to the license.
Geert
-
But then why I am not able to register my product. I have a trial version and I tried entering the key in "Register and manage license key". Is this method right?
-
You should not install the trial version.
The trial version is a different application altogether.
You have to download the new installer from the registered user section of the website:
http://www.sparxsystems.com/registered/reg_ea_down.html
Geert
-
Thank you. It was helpful
-
When i clicked on the link for installing EA, it asked for Authentication Required. but it is not taking the username and password that i received at the time of registration. please help.
-
It uses the username and password that was sent to you together with your license/renewal.
That is different from the username/password for this forum, or the community site.
Geert
-
When i clicked on the link for installing EA, it asked for Authentication Required. but it is not taking the username and password that i received at the time of registration. please help.
A current maintenance subscription is required to access registered downloads. 12 months maintenance is provided from the original date of purchase, after which you must purchase renewals for continued access to priority support and registered software updates.
For more information about maintenance renewal, see:
http://www.sparxsystems.com/products/ea/license_info.html#renewal
For any further enquiries regarding maintenance subscription, please contact [email protected].
As Geert mentioned, the logins used for the forum and community website are completely different systems.
-
I have a project testset built on server and I run it in debug mode(on web logic server) and connect enterprise architect to the testset(in debug mode). Then I run a script to start the data flow. My objective is to debug the code which is running on a remote machine. For that I have tunneled local machine's port to remote machine's port and have specified that port number in analyzer script. After the flow is started, it should hit the breakpoint. But EA responds with a message: “no reply to request jdwpCmd_ThreadName”. What does this mean? Am I doing something wrong?
If anything you felt is left unexplained on my side please inform.
Thanks in advance.
-
[103032083] jdwp error: errcode 20, cmd(010b) jdwpCmd_ThreadName
this is also an error appearing