Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Mikalai Zaikin
Ranch Hand
Posts: 3364
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Revanth Sharma
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3364
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic