You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "neilcsmith-net (via GitHub)" <gi...@apache.org> on 2023/05/26 15:55:57 UTC
[GitHub] [netbeans] neilcsmith-net commented on issue #5990: Javadoc http server fails to load
neilcsmith-net commented on issue #5990:
URL: https://github.com/apache/netbeans/issues/5990#issuecomment-1564599472
This is probably macOS specific (haven't tested Windows as yet!). And most likely caused by #5530
On macOS, it seems that `user.dir` is the root, not the home directory. And creating the Tomcat directory fails - see also https://github.com/apache/tomcat/blob/9.0.x/java/org/apache/catalina/startup/Tomcat.java#L847
As a workaround, find the userdir - eg. `~/Library/Application Support/NetBeans/18/`. Inside, add a `<userdir>/etc/netbeans.conf` file with the following contents -
```bash
netbeans_default_options="-J-Dcatalina.base=/Users/<user>/TOMCAT $netbeans_default_options"
```
I'm assuming we haven't got any UI to set the Tomcat location? cc/ @matthiasblaesing Possibly another fix for an 18-u1 if we have one?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists