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

BUG: WLP has issues with Karyon console #36

Open
aspyker opened this issue Aug 14, 2013 · 0 comments
Open

BUG: WLP has issues with Karyon console #36

aspyker opened this issue Aug 14, 2013 · 0 comments

Comments

@aspyker
Copy link
Owner

aspyker commented Aug 14, 2013

The Karyon console fails due to classpath scanning issues with "wsjar" protocol:

Caused by: com.sun.jersey.core.spi.scanning.ScannerException: The URI scheme wsjar of the URI wsjar:file:/opt/wlp/usr/servers/server1/acmeair-auth-service-wlp-0.1.0-SNAPSHOT.war/WEB-INF/lib/karyon-admin-1.0.19.jar!/com/netflix/adminresources is not supported. Package scanning deployment is not supported for such URIs.
Try using a different deployment mechanism such as explicitly declaring root resource and provider classes using an extension of javax.ws.rs.core.Application
at com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:227)
at com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
at com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
at com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
at com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
at com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:89)
... 36 more

To fix, we need to rename wars to:
karyon-admin-1.0.19.jar.org
karyon-admin-web-1.0.19.jar.org

And expand to directories as:
karyon-admin-1.0.19.jar:
karyon-admin-web-1.0.19.jar:

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

No branches or pull requests

1 participant