-
Hi. I'm trying to run my java application on IntelliJ, with the use of the mirrord plugin, and I'm getting this error:
I have downloaded this java agent and set the JAVA_TOOL_OPTIONS to its location (correctly, I can verify by echo in any terminal). But seems it's not sticking here, as the location shown on the error doesn't match. This is my mirrord config: { Any help would be really appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hey, {
"feature": {
"env": {
"override": {
}
},
"network": {
"dns": true,
"incoming": {
"mode": "steal"
},
"outgoing": true
},
"fs": "read", "local": ["/otel.+"]
},
"target": {
"path": {
"deployment": "broker"
},
"namespace": "runtime"
}
} or try this {
"feature": {
"env": {
"override": {
}
},
"network": {
"dns": true,
"incoming": {
"mode": "steal"
},
"outgoing": true
},
"fs": "read", "local": ["/$"]
},
"target": {
"path": {
"deployment": "broker"
},
"namespace": "runtime"
}
} We read jars locally by default, but it could be that it tries to list the directory first, which is resolved remotely ( |
Beta Was this translation helpful? Give feedback.
ahh I think I know what happens - it has this in the remote pod and tries to load it locally.
You can just exclude that env from being fetched with this config: