# Caused by: java.io.IOException: /var/keys/zk-kafka-client-jaas.conf (No such file or directory)

**URL:** <https://forums.broadleafcommerce.com/t/caused-by-java-io-ioexception-var-keys-zk-kafka-client-jaas-conf-no-such-file-or-directory/70>\
**Category:** Initializr Projects\
**Created:** [April 2, 2025, 11:38am UTC](https://forums.broadleafcommerce.com/t/caused-by-java-io-ioexception-var-keys-zk-kafka-client-jaas-conf-no-such-file-or-directory/70 "2025-04-02T11:38:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![broadleaf-devops](https://yyz1.discourse-cdn.com/flex011/user_avatar/forums.broadleafcommerce.com/broadleaf-devops/32/20_2.png) [@broadleaf-devops](https://forums.broadleafcommerce.com/u/broadleaf-devops)\
**Post date:** [April 2, 2025, 11:38am UTC](https://forums.broadleafcommerce.com/t/caused-by-java-io-ioexception-var-keys-zk-kafka-client-jaas-conf-no-such-file-or-directory/70/1 "2025-04-02T11:38:02Z")

</div>

On certain systems (e.g. Ubuntu), when running the initializr project in exploded mode, you may receive error messages when trying to run the Flex Package applications indicating that it cannot find files in the the `/var/keys/...` directory.

Examples:

```auto
Caused by: java.io.IOException: /var/keys/zk-kafka-client-jaas.conf (No such file or directory)
	at java.base/sun.security.provider.ConfigFile$Spi.ioException(ConfigFile.java:665) ~[na:na]
	at

```

or

```auto
Caused by: java.lang.IllegalArgumentException: /var/keys/https-keystore.jks (No such file or directory)
	at org.apache.tomcat.util.net.AbstractJsseEndpoint.createSSLContext(AbstractJsseEndpoint.java:107) ~[tomcat-embed-core-9.0.78.jar:9.0.78]
	at 

```

These files are actually present in the generated `security` folder in the root folder of your project.

However, there’s currently a limitation where this `security` folder may not be properly mapped and mounted to the config server that is running via docker-compose.

This has typically ocurred if you are trying to run your project in a directory that has a space or special characters in the path. e.g. `~/Broadleaf Projects/initializr`

Instead, try moving your project into a different directory or path that does not have spaces or special characters (e.g. `~/Desktop/initializr`) and try again
