Eclipse plug-in (OpenEdge Architect 10.2B) blocked by firewall - eclipse

Yesterday I installed OpenEdge Architect 10.2B (that is Object Oriented Progress adopted to Eclipse IDE) on my Windows 7 premium platform. The installation went fine without any error messages.
When I start OpenEdge Architect I get the following error message:
"Not licensed to run OpenEdge Architect for version 10.2B".
This error message is strange since it is not the case.
Also, it seems like parts of the Eclipse-plugin are blocked
The main menu looks ok
In the views there are error messages like: "Could not create the view: Plug-in com.openedge.pdt.text was unable to load class com.openedge.pdt.text.explorer.OEExplorer...."
I noted that if I open my firewall (F-Secure) and choose to allow all, then everything works fine but then, of course, the computer is vulnerable. Then I thought I should abandon the F-secure firewall and use Windows firewall instead, setting up exceptions for OE Architect. But at this point I can not see what the exceptions should be since there are plenty of processes involved!
Any suggestion on how to proceed? How can I see what is blocked (is it Eclipse related or Eclipse plug-in related or is it something else in the OpenEdge package?)
Migrated from https://softwareengineering.stackexchange.com/

I solved the issue, this is how I did it:
Open F-secure, change the firewall setting to allow all.
Open Windows firewall, turn it on.
Start OpenEdge Architect
A warning from Windows firewall appears a .\jre\bin/javaw.exe is blocked by the firewall, check the allow boxes and press "Allow access".
Done.

It my be that the license manager is a process itself thatthe Architect is only connecting to - thus the problem with the firewalls. Most of this stuff is either a java process or one of the processes from your \bin directory. To figure out which process is trying to open which port, open a command shell (windows+r, enter 'cmd' and press 'run'), and then run 'netstat -ao', which gives you a list of all processes running and the ports thy are listening on. If you search this list while running the Architect with your firewall turned off, you might be able to find the processes involved with licensing (either a java process or one of the binaries from the aforementioned 'bin' folder).
hope that helps!

Related

C++ Builder XE5 - How to turn off Deployment Manager

I apologize if this is not the right place to ask such question, but I'm at my wit's end since Embarcadero's forum won't allow me to post any question there.
I have enabled the "Deploy" feature in the C++ Builder IDE, to test out about the depending dll & bpl files of my application, when I'm done, I found myself trapped in an annoying state - I can't perform any debugging without connected to a remote pc (with their PAServer)! This is causing a HUGE problem for me as I will not be able to debug my application if I'm away from the office, i.e. I'm on a field service at my client's place or at home.
I tried deleting the deployment profile, but it just get recreated every-time I compile my project and there is a DEPLOY command upon running compiling and running the source code. I have to wait until the connection attempt to the remote pc time-out to continue testing the application by manually clicking the .exe of my application.
Is there any way to turn off the "Deploy" feature so that I can do debugging on my local machine just as before activating the "Deploy" feature?
I've found out where the profile was hiding and deleted it, now I can debug as usual.
In the Rad Studio help:
ms-help://embarcadero.rs_xe5/rad/Connection_Profile_Manager.html
On occasion, I have this same problem with DelphiXE5 (where the problem is that I forget how to get back to the default environment without losing my remote settings.)
Remote Deploy active:
The Revert option for the normal build/debug environment:
And finally, the previous Remote Deploy settings available via the same Target Platform context menu (i.e., Properties):
The Default Connection isn't something to be setup. To the contrary, it's really not a connection at all. The Revert... menu item essentially means Revert to local build & debug.

Eclipse CDT Remote Debugging ("Attach to Applicaton" or "Remote Application")

I just created a Amazon EC2 due to limited ram size on my workstation. Thus I need to figure out how to conduct remote debugging on this remote instance.
First of all, I am not quite sure I understand the difference between "Attach to Applicaton" or "Remote Application" in debugging configuration tab. From what I've learned, the first one is just using Eclipse as a front-end GUI to connect a remote gdbserver. But I have no idea what the second one means.
Right now I can connect to the gdbserver on my EC2. However, gdbserver gives me a warning message
Could not load vsyscall page because no executable was specified
try using the "file" command first.
I've already defined the executable as well as project in Eclipse's debugging page. Is there anything I missed?
I have done the same thing some time back and it was working absolutely fine and I have mentioned all the step in my blog. Check the link for detail description.

Eclipse : Whether to select Local Or Shared File during Remote Debugging

I have made some code changes and deployed the code to Jetty Server which is located Remotely .
Accessed the application through browser and I am trying to debug a Application .
Please tell me whether i need to select the Local File Or Shared File from the Eclipse Debug Configurations .
Please see the screen shot here .
The option shown in your screenshot will not help you automatically get code deployed to your remote Jetty.
The option simply allows you to Share your launch configuration (Remote Java Application - ManageWatchlistCall) in your eclipse workspace. This will allow you to checkin the launch configuration in a versioning control system so your colleagues automatically get the sme Remote Java Application launch configuration.
in order to get new code to your remote server, there are only 2 options :
Redeploy your application on the remote server.
Hotdeploy pieces of code to the remote supported (if the server supports it)
Use Hotswap Bug Fixing (works for small fixes) (*)
(*) If you are running Java Virtual Machine (JVM) V1.4 or higher,
Eclipse supports a feature called Hotswap Bug Fixing (not available in
JVM V1.3 or lower). It allows the changing of source code during a
debugger session, which is better than exiting the application,
changing the code, recompiling, then starting another debugging
session. To use this function, simply change the code in the editor
and resume debugging.

Eclipse not updating, something blocking connection?

While updating software in Eclipse using menu 'install new software' , the program stops when connected to updateServer
Installing software: Fetching oracle.eclipse.runtime.glassfish_3.1.0.0.jar (3,93kB of 78,33MB at 0B/s) from ... well, I tried several and it just stops
I tried running eclipse as administrator
I tried without firewall
I tried on a clean eclipse install
somehow something is blocking
what have i been missing
This is usually linked to some kind of proxy issue, as illustrated in bug 330877:
Pick one of the default sites that came pre-installed with eclipse in the drop-down at the top of the box.
Progress window says "Fetching children of Helios" (or whatever update site you're trying).
It grinds for a few minutes, gets to 50% progress, then pops the error dialog.
Repeat with any other update site you can think of, watch them all fail.
OK - I found the issue - this is on Windows XP, and the IE network
configuration had a hard proxy setting that was throwing Helios off.
The weird part is that this didn't seem to affect Ganymede or most of my other apps.

Runtime Error in Visual Simulation Environment - Microsoft Robotics Studio

I am using Microsoft Robotics Studio for a school project and I am getting a strange error when I try to run the Visual Simulation Environment. It was working fine until yesterday and then suddenly it gave me a runtime error saying "Illegal command line arguments... do not use VPLHost directly, use dsshost instead to run a manifest" But I am only clicking on Run in VPL/DSS Manifest editor.
I am running MRDS as administrator and I even tried re-installing MRDS but it is still showing the same MS VPL Runtime error. I tried to search online, but cannot find any suitable solution.
I already tried running the existing samples, I.e. Urban Environment, Multiple Simulated Robots etc. but it still gives me the same error. The strange thing is that it was working perfectly one minute, and then started giving me this error message the next minute, when I had not changed anything in between. In fact, I had wanted to change something in my manifest, so I closed the running VPL application, closed VPL and opened DSS manifest editor, and ran my manifest and that is when I got this error.
What is going wrong? Is some MRDS script using vplhost32.exe instead of dsshost? If so, then where and how do I change it?
I tried running the urban envrionment manifest from the command prompt and Using DSSHost32 directly. This time, it didn't give me a runtime error but an intiialization error. I tried changing port numbers but it still doesn't work. I have deleted many files from my computer to free space (JIC) and it still doesn't work. The window just doesn't open even when I hover over it in Windows 7.
The error message looks like this: Only one usage of each socket address (protocol/network address/port) is normally permitted."
This was even after I checked netstat for free ports and tried but I get this error message. Its either this one or the "Don't use VPLHost directly" if I run it through VPL or DSS Manifest Editor.
Could it be that some external services are interfering with DSSHost/VPLHost? Are there any such services which I could try killing? ANY help/suggestion would help right now as my project is due Thursday and this is a really unfortunate time for it to be acting up like this.
Does the problem reproduce after logging off & logging back on? It's likely that you had a process hanging around that you weren't aware of. Logging off should shut down any processes you personally started.
I don't know the solution of your problem, but it would be better that you post your question on the link below:
http://p2p.wrox.com/book-professional-microsoft-robotics-studio-isbn-978-0-470-14107-6-410/
[official forum for the book : Professional Microsoft Robotics Studio], i hope you will shortly get reply there,
The other option is to post your question on the msdn forum,
http://social.msdn.microsoft.com/Forums/en-US/category/robotics
hope this would help....