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
merged 1 commit into from Nov 4, 2016

Conversation

Projects
None yet
2 participants
@galet
Contributor

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>
Modify the ClassPathScanner to support URIs prefixed with "zip:"
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

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment