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

Jboss eap 7.2 development mode fails #6245

Closed
pvm018 opened this issue Aug 14, 2019 · 3 comments · Fixed by #6444
Closed

Jboss eap 7.2 development mode fails #6245

pvm018 opened this issue Aug 14, 2019 · 3 comments · Fixed by #6444
Assignees
Labels
BFP Bugfix priority, also known as Warranty bug node/npm/pnpm/bun
Milestone

Comments

@pvm018
Copy link

pvm018 commented Aug 14, 2019

In Class DevModeInitializer scanning for jar files in classloader fails because classloader returns all paths starting with vfs (vfs:/C:/jboss-eap-7.2.0/jboss-eap-7.2/bin/content/test.war/WEB-INF/lib/vaadin-date-picker-flow-2.0.2.jar/META-INF/resources/frontend/) , and JAR_FILE_REGEX pattern looks for ".file:(.+\.jar)." and none of entries match.
In this case, method getJarFilesFromClassloader always returns empty set.

  • Versions:
    • Vaadin / Flow version - 14.0.0.rc7
    • flow-server-2.0.7.jar
    • JBOSS 7.2 eap (and all jboss/wildfly family)
@rokkolesa
Copy link

This is still a problem in Vaadin 14.0.3 using flow 2.0.10. I managed to get around it if i modified the DIR_REGEX by adding the possibility of a trailing slash. It seems to work in that case.

@denis-anisimov denis-anisimov added the BFP Bugfix priority, also known as Warranty label Sep 9, 2019
@enver-haase
Copy link
Contributor

See https://issues.jboss.org/browse/JBVFS-147 -- manipulating the "vfs:/D:/foo/wildfly-11.0.0.Final.bar/content/selfservices-pkh-1.0.0.war/WEB-INF/lib/flow-data-2.0.11.jar/META-INF/resources/frontend/" so that we have a URL of "vfs:/D:/foo/wildfly-11.0.0.Final.bar/content/selfservices-pkh-1.0.0.war/WEB-INF/lib/flow-data-2.0.11.jar" will not allow to read from the url.openConnection().getInputStream(). These reads are short reads, EOF ("-1") is read only.

@enver-haase
Copy link
Contributor

See #6440 for my suggested fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BFP Bugfix priority, also known as Warranty bug node/npm/pnpm/bun
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants