Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure when working dir has a space in it #76

Open
NimG98 opened this issue May 12, 2020 · 1 comment
Open

Failure when working dir has a space in it #76

NimG98 opened this issue May 12, 2020 · 1 comment
Labels
Blocked by Blocked by other issue OL Open Liberty Issue

Comments

@NimG98
Copy link
Contributor

NimG98 commented May 12, 2020

Errors found by @meswan @AustinSeto

When running the guide in a directory with no space in it, the guide works fine.

When running the guide with the working directory path having a space in the name
(ex. "/Users/[email protected]/Directory Space/guide-sessions") you get an error when you run mvn liberty:dev and the tests fail.

Error:

[INFO] [ERROR   ] SESN0307E: An exception occurred when initializing the cache. The exception is: java.lang.IllegalArgumentException: SESN0300E: Invalid syntax in httpSessionCache URI.  Cause is java.net.URISyntaxException: Illegal character in path at index 41: file:/Users/[email protected]/Directory Space/guide-sessions/finish/target/liberty/wlp/usr/servers/defaultServer/hazelcast-config.xml.
[INFO]  at com.ibm.ws.session.store.cache.CacheStoreService.activateLazily(CacheStoreService.java:184)
[INFO]  at [internal classes]
[INFO]  at com.ibm.ws.session.store.cache.CacheHashMap$$Lambda$130.000000004389E790.run(Unknown Source)
[INFO]  at java.base/java.security.AccessController.doPrivileged(AccessController.java:647)
[INFO]  at com.ibm.ws.session.store.cache.CacheHashMap.<init>(CacheHashMap.java:133)
[INFO]  at [internal classes]
[INFO] Caused by: java.net.URISyntaxException: Illegal character in path at index 41: file:/Users/[email protected]/Directory Space/guide-sessions/finish/target/liberty/wlp/usr/servers/defaultServer/hazelcast-config.xml
[INFO]  at java.base/java.net.URI$Parser.fail(URI.java:2915)
[INFO]  at java.base/java.net.URI$Parser.checkChars(URI.java:3086)
[INFO]  at java.base/java.net.URI$Parser.parseHierarchical(URI.java:3168)
[INFO]  at java.base/java.net.URI$Parser.parse(URI.java:3116)
[INFO]  at java.base/java.net.URI.<init>(URI.java:600)
[INFO]  at com.ibm.ws.session.store.cache.CacheStoreService.activateLazily(CacheStoreService.java:182)
[INFO]  ... 5 more
[INFO] .
[INFO] [ERROR   ] SRVE8059E: An unexpected exception occurred when trying to retrieve the session context
[INFO] Internal Server Error
@gkwan-ibm
Copy link
Member

caused by OpenLiberty/open-liberty#12143

@gkwan-ibm gkwan-ibm added the OL Open Liberty Issue label May 13, 2020
@gkwan-ibm gkwan-ibm added the Blocked by Blocked by other issue label Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocked by Blocked by other issue OL Open Liberty Issue
Projects
None yet
Development

No branches or pull requests

2 participants