payara / ecosystem-netbeans-plugin

Payara NetBeans plugin allows configuring and using the Payara Server & Payara Micro, for deploying and managing applications from the NetBeans IDE.
https://www.payara.fish/
Other
7 stars 5 forks source link

Payara 5.184 Windows symbolic link support: deploy fails when project path is inside a directory symbolic link #21

Open bradvido opened 5 years ago

bradvido commented 5 years ago

I'm using:

I have many projects that are inside a symbolic directory link in Windows (e.g. C:\java_projects points to C:\users\username\documents\code) which was created using the windows cmd mklink /d .....

When running any project that is inside the symbolic link, Payara log says it can't find any of the classes that are inside that war and shows 404 for every page.

I confirmed the symbolic directory link is the problem by opening the project directly from its physical path instead of the symbolic link and the deploy worked without issue.

Before this, I was using Payara 4 as a "Glassfish" type server in Netbeans 8.2 (not using Payara plugin), and all the projects inside the symbolic links worked without any issue. This is why I'm reporting this bug, because it used to work.

I'm not sure if this is a plugin issue or an issue with the server itself, but it's definitely related to this: https://github.com/payara/Payara/issues/2591

jGauravGupta commented 5 years ago

Created internal issue NP-32 to address it.