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

Modify the ClassPathScanner to support URIs prefixed with "zip:" #154

Merged

Conversation

galet
Copy link
Contributor

@galet galet commented Nov 3, 2016

In my deployment in WebLogic 12 the classloader returns the JAR files of
the web application prefixed with "zip:" instead of "jar:". That prevents
us from loading our custom plugin.

The jar files are taken from the standard WAR location (WEB-INF/lib/)

Example of an error:

<BEA-000000> <HOTSWAP AGENT: 6:3:56.322 WARNING (org.hotswap.agent.util.scanner.ClassPathScanner) - Unknown resource type of file zip:/opt/web-app/WEB-INF/lib/dev-tools.jar!/com/acme/hotswap/agent/plugin/acme>

In my deployment in WebLogic 12 the classloader returns the JAR files of
the web application prefixed with "zip:" instead of "jar:". That prevents
us from loading our custom plugin.

The jar files are taken from the standard WAR location (WEB-INF/lib/)

Error:
```
<BEA-000000> <HOTSWAP AGENT: 6:3:56.322 WARNING (org.hotswap.agent.util.scanner.ClassPathScanner) - Unknown resource type of file zip:/opt/web-app/WEB-INF/lib/dev-tools.jar!/com/acme/hotswap/agent/plugin/acme>
```
@edudant edudant merged commit 4ccdb24 into HotswapProjects:master Nov 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants