There is no exit 2; I tried to change the GSX aircraft data within FSX but eg. if I delete exit 2 completely, it is back when I open the file again.
That the exit2 comes back if you remove the whole entry, it's absolutely normal: removing the entry doesn't mean you remove the exit, it means you are not customizing it so, GSX will re-read it again from the aircraft.cfg file.
That's why GSX has a "remove" command.
I think I tried everything what was proposed in this forum, but I still cannot get the JS41 work correctly with GSX. GSX always asks for action exit 2.
The problem is this, Exit 2 EXISTS in your GSX.CFG file:
Here it is:
[cargo2]
pos = 1.05 -4.1 1.3 0.0
code = 2
name = exit 2
uldcode = AUTO
So, GSX is asking for the cargo 2 exit. It's the CODE that makes GSX identify a door and asking for it, and the name is derived from that code. As you can see, the default name that GSX assigned to it is "exit 2", because it's an "exit with code 2".
The "remove = 1" command on the [Exit2] removed the 2nd passenger door, and it was set by GSX automatically because that door couldn't be found in the aircraft.cfg, but nothing would guarantee that door would have a "code = 2" ( so it will be called "Exit 2" by GSX ) even if it actually existed...
Usually, Exit 2 it's the cargo door, at least on default airplanes. Don't know if the JS41 use default commands for its exits, if it does, if the cargo door opens with Shift+E 2, you should be already ok and if it uses another "Shift+E number" command, it would be enough to change the "code = " to that number.
If, instead, doors on that airplane are opened using custom variables specific to that airplane, you will have to set "code = 0" to IGNORE that door, and services will ignore its status. In this case, we'd better have a look at that airplane, to add it to the internal database, with its custom commands added.