Meaningless Drivel is fun!*
The moose likes Websphere and the fly likes After WAS 7.0 to WAS 8.5: ScannerContextImpl getInputDataForClass Failed to open resource Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "After WAS 7.0 to WAS 8.5: ScannerContextImpl getInputDataForClass Failed to open resource" Watch "After WAS 7.0 to WAS 8.5: ScannerContextImpl getInputDataForClass Failed to open resource" New topic
Author

After WAS 7.0 to WAS 8.5: ScannerContextImpl getInputDataForClass Failed to open resource

Mikalai Zaikin
Ranch Hand

Joined: Jun 04, 2002
Posts: 3199
    
    5
Hello,

I have migrated application from Java EE 1.4 to Java EE6, and trying to run it in WAS 8.5.

Servers log show some error during deployment (deploying from RAD 8.5), however application works fine.

It seems that some annotations processor can not load servlet class (???). The application does not use any annotations (it was ported from Servlet 2.4), so it's OK. The error repeats for all servlets in web app.

Any help is appreciated.

Version of WAS:


WebSphere Platform 8.5.0.1 [BASE 8.5.0.1 cf011242.02] running with process name XXXCell\YYYNode\server1 and process id 3248
Host Operating System is Windows XP, version 5.1
Java version = 1.6.0, Java Compiler = j9jit26, Java VM name = IBM J9 VM


Typical error messages:


[24.4.13 12.35.39:225 FET] 00000048 annotations W com.ibm.ws.amm.scan.context.ScannerContextImpl getInputDataForClass Failed to open resource [ XXXXXXXServlet.class ] from module [ BBBBB.war ]
[24.4.13 12.35.39:225 FET] 00000048 annotations W com.ibm.ws.amm.scan.context.ScannerContextImpl getInputDataForClass Class loader [ org.eclipse.jst.j2ee.commonarchivecore.internal.util.WarFileDynamicClassLoader@2eee11a8 ]
[24.4.13 12.35.39:225 FET] 00000048 annotations W com.ibm.ws.amm.scan.context.ScannerContextImpl getInputDataForClass Class loader [ com.ibm.ws.bootstrap.ExtClassLoader@9c966e14 ]
[24.4.13 12.35.39:225 FET] 00000048 annotations W com.ibm.ws.amm.scan.context.ScannerContextImpl getInputDataForClass Class loader [ org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@19a76051 ]
[24.4.13 12.35.39:225 FET] 00000048 annotations W com.ibm.ws.amm.scan.context.ScannerContextImpl getInputDataForClass Class loader [ sun.misc.Launcher$AppClassLoader@9e123232 ]
[24.4.13 12.35.39:225 FET] 00000048 annotations W com.ibm.ws.amm.scan.context.ScannerContextImpl getInputDataForClass Class loader [ sun.misc.Launcher$ExtClassLoader@8786f9ff ]
[24.4.13 12.35.39:241 FET] 00000048 annotations W com.ibm.ws.amm.scan.context.ScannerContextImpl getInputDataForClass Failed to open resource [ YYYYYYYServlet.class ] from module [ BBBBB.war ]
[24.4.13 12.35.39:241 FET] 00000048 annotations W com.ibm.ws.amm.scan.context.ScannerContextImpl getInputDataForClass Class loader [ org.eclipse.jst.j2ee.commonarchivecore.internal.util.WarFileDynamicClassLoader@2eee11a8 ]
[24.4.13 12.35.39:241 FET] 00000048 annotations W com.ibm.ws.amm.scan.context.ScannerContextImpl getInputDataForClass Class loader [ com.ibm.ws.bootstrap.ExtClassLoader@9c966e14 ]
[24.4.13 12.35.39:241 FET] 00000048 annotations W com.ibm.ws.amm.scan.context.ScannerContextImpl getInputDataForClass Class loader [ org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@19a76051 ]
[24.4.13 12.35.39:241 FET] 00000048 annotations W com.ibm.ws.amm.scan.context.ScannerContextImpl getInputDataForClass Class loader [ sun.misc.Launcher$AppClassLoader@9e123232 ]
[24.4.13 12.35.39:241 FET] 00000048 annotations W com.ibm.ws.amm.scan.context.ScannerContextImpl getInputDataForClass Class loader [ sun.misc.Launcher$ExtClassLoader@8786f9ff ]


Free SCDJWS 5.0 Study Guide - SCDJWS 5.0 Quiz (How to get SCDJWS 5.0 Quiz)
Java Platform, Enterprise Edition 6 Web Services Developer Certified Expert Exam Study Guide and Quiz
Revanth Sharma
Greenhorn

Joined: Jul 30, 2011
Posts: 14
hi,

I have new portal 8.0 theme deployed and when ever I deploy the theme or restart the EAR I see these errors in my logs. Did you find any solution for this ?
Mikalai Zaikin
Ranch Hand

Joined: Jun 04, 2002
Posts: 3199
    
    5
Revanth Sharma wrote:hi,

I have new portal 8.0 theme deployed and when ever I deploy the theme or restart the EAR I see these errors in my logs. Did you find any solution for this ?


Not yet. Please, share solution here if you find one. Thanks.
 
Consider Paul's rocket mass heater.
 
subject: After WAS 7.0 to WAS 8.5: ScannerContextImpl getInputDataForClass Failed to open resource
 
Similar Threads
RAD server startup - what classpaths these classloaders refer to
Error while deploying Enity bean in WSAD 5.1 test envoronment
Websphre + Flex ClassLoader issue: java.lang.NoClassDefFoundError: javax.net.ssl.SSLSocketFactory
Problem in deploying entity bean in WSAD5.1
RAD/Struts 2 error/ Action class not found