| Unix Content | Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
|
| When viewing my webapp which works in previous versions of websphere, I get the error below (pasted at end cos it's huge). This looks very similar to PK60565, except that installing fix pack 17 for WAS doesn't fix the problem. Got any ideas? Error Message: JSPG0049E: /config.jsp failed to compile : JSPG0091E: An error occurred at line: 5 in the file: /config.jsp JSPG0093E: Generated servlet error from file: /config.jsp C:\IBM\WebSphere\AppServer\profiles\AppSrv01\temp\ scramblerNode01\server1\gcsi_2_3_5_war\gcsi_2.3.5. war\_config.java : 10 : The import za.co.hsbc.gcsi.web.security cannot be resolved JSPG0225E: An error occurred at line: 19 in the statically included file: /menu.jsp JSPG0093E: Generated servlet error from file: /config.jsp C:\IBM\WebSphere\AppServer\profiles\AppSrv01\temp\ scramblerNode01\server1\gcsi_2_3_5_war\gcsi_2.3.5. war\_config.java : 30 : The import za.co.hsbc.gcsi.web.security cannot be resolved JSPG0225E: An error occurred at line: 20 in the statically included file: /menu.jsp JSPG0093E: Generated servlet error from file: /config.jsp C:\IBM\WebSphere\AppServer\profiles\AppSrv01\temp\ scramblerNode01\server1\gcsi_2_3_5_war\gcsi_2.3.5. war\_config.java : 31 : The import za.co.hsbc.gcsi.web.security cannot be resolved JSPG0225E: An error occurred at line: 17 in the statically included file: /messages.jsp JSPG0093E: Generated servlet error from file: /config.jsp C:\IBM\WebSphere\AppServer\profiles\AppSrv01\temp\ scramblerNode01\server1\gcsi_2_3_5_war\gcsi_2.3.5. war\_config.java : 57 : The import za.co.hsbc.gcsi.web.security cannot be resolved JSPG0225E: An error occurred at line: 18 in the statically included file: /messages.jsp JSPG0093E: Generated servlet error from file: /config.jsp C:\IBM\WebSphere\AppServer\profiles\AppSrv01\temp\ scramblerNode01\server1\gcsi_2_3_5_war\gcsi_2.3.5. war\_config.java : 58 : The import za.co.hsbc.gcsi.web.security cannot be resolved JSPG0091E: An error occurred at line: 12 in the file: /config.jsp JSPG0093E: Generated servlet error from file: /config.jsp C:\IBM\WebSphere\AppServer\profiles\AppSrv01\temp\ scramblerNode01\server1\gcsi_2_3_5_war\gcsi_2.3.5. war\_config.java : 372 : ConfigAction.SHOW_PASSWORD_FORM cannot be resolved to a type Root Cause: com.ibm.ws.jsp.JspCoreException: JSPG0049E: /config.jsp failed to compile : JSPG0091E: An error occurred at line: 5 in the file: /config.jsp JSPG0093E: Generated servlet error from file: /config.jsp C:\IBM\WebSphere\AppServer\profiles\AppSrv01\temp\ scramblerNode01\server1\gcsi_2_3_5_war\gcsi_2.3.5. war\_config.java : 10 : The import za.co.hsbc.gcsi.web.security cannot be resolved JSPG0225E: An error occurred at line: 19 in the statically included file: /menu.jsp JSPG0093E: Generated servlet error from file: /config.jsp C:\IBM\WebSphere\AppServer\profiles\AppSrv01\temp\ scramblerNode01\server1\gcsi_2_3_5_war\gcsi_2.3.5. war\_config.java : 30 : The import za.co.hsbc.gcsi.web.security cannot be resolved JSPG0225E: An error occurred at line: 20 in the statically included file: /menu.jsp JSPG0093E: Generated servlet error from file: /config.jsp C:\IBM\WebSphere\AppServer\profiles\AppSrv01\temp\ scramblerNode01\server1\gcsi_2_3_5_war\gcsi_2.3.5. war\_config.java : 31 : The import za.co.hsbc.gcsi.web.security cannot be resolved JSPG0225E: An error occurred at line: 17 in the statically included file: /messages.jsp JSPG0093E: Generated servlet error from file: /config.jsp C:\IBM\WebSphere\AppServer\profiles\AppSrv01\temp\ scramblerNode01\server1\gcsi_2_3_5_war\gcsi_2.3.5. war\_config.java : 57 : The import za.co.hsbc.gcsi.web.security cannot be resolved JSPG0225E: An error occurred at line: 18 in the statically included file: /messages.jsp JSPG0093E: Generated servlet error from file: /config.jsp C:\IBM\WebSphere\AppServer\profiles\AppSrv01\temp\ scramblerNode01\server1\gcsi_2_3_5_war\gcsi_2.3.5. war\_config.java : 58 : The import za.co.hsbc.gcsi.web.security cannot be resolved JSPG0091E: An error occurred at line: 12 in the file: /config.jsp JSPG0093E: Generated servlet error from file: /config.jsp C:\IBM\WebSphere\AppServer\profiles\AppSrv01\temp\ scramblerNode01\server1\gcsi_2_3_5_war\gcsi_2.3.5. war\_config.java : 372 : ConfigAction.SHOW_PASSWORD_FORM cannot be resolved to a type at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensio nServletWrapper.translateJsp(AbstractJSPExtensionS ervletWrapper.java:456) at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensio nServletWrapper._checkForTranslation(AbstractJSPEx tensionServletWrapper.java:421) at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensio nServletWrapper.checkForTranslation(AbstractJSPExt ensionServletWrapper.java:284) at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensio nServletWrapper.handleRequest(AbstractJSPExtension ServletWrapper.java:139) at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensio nProcessor.handleRequest(AbstractJSPExtensionProce ssor.java:285) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.forward(WebAppRequestDispatcher.java:321) at org.apache.struts.chain.commands.servlet.PerformFo rward.handleAsForward(PerformForward.java:99) at org.apache.struts.chain.commands.servlet.PerformFo rward.perform(PerformForward.java:82) at org.apache.struts.chain.commands.AbstractPerformFo rward.execute(AbstractPerformForward.java:51) at org.apache.struts.chain.commands.ActionCommandBase .execute(ActionCommandBase.java:48) at org.apache.commons.chain.impl.ChainBase.execute(Ch ainBase.java:190) at org.apache.commons.chain.generic.LookupCommand.exe cute(LookupCommand.java:304) at org.apache.commons.chain.impl.ChainBase.execute(Ch ainBase.java:190) at org.apache.struts.chain.ComposableRequestProcessor .process(ComposableRequestProcessor.java:280) at org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1858) at org.apache.struts.action.ActionServlet.doGet(Actio nServlet.java:446) at javax.servlet.http.HttpServlet.service(HttpServlet .java:743) at javax.servlet.http.HttpServlet.service(HttpServlet .java:856) at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1075) at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1016) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:145) at za.co.hsbc.gcsi.web.GCSIFilter.doFilter(GCSIFilter .java:105) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapp er.doFilter(FilterInstanceWrapper.java:190) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:130) at com.ibm.ws.webcontainer.filter.WebAppFilterChain._ doFilter(WebAppFilterChain.java:87) at com.ibm.ws.webcontainer.filter.WebAppFilterManager .doFilter(WebAppFilterManager.java:771) at com.ibm.ws.webcontainer.filter.WebAppFilterManager .doFilter(WebAppFilterManager.java:679) at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:546) at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.h andleRequest(ServletWrapper.java:478) at com.ibm.ws.webcontainer.webapp.WebApp.handleReques t(WebApp.java:3391) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequ est(WebGroup.java:267) at com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:811) at com.ibm.ws.wswebcontainer.WebContainer.handleReque st(WebContainer.java:1455) at com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:115) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInboundLink.java:458) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInboundLink.java:387) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCa llback.complete(HttpICLReadCallback.java:102) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListe ner.futureCompleted(AioReadCompletionListener.java :165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallbac k(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletion Actions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture .java:136) at com.ibm.io.async.ResultHandler.complete(ResultHand ler.java:195) at com.ibm.io.async.ResultHandler.runEventProcessingL oop(ResultHandler.java:743) at com.ibm.io.async.ResultHandler$2.run(ResultHandler .java:873) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1473) |
|
#2
|
| Turns out this is nothing to do with PK60565, the problem is that Websphere doesn't like the package name... taking the exact same code but renaming za.co.hsbc.gcsi.web.security to za.co.hsbc.gcsi.web.sec fixed it (which IMO is ridiculous, why have arbitrary restrictions on package names? I'm struggling to even see how a bug like this could occur). |
|
#3
|
| fritz.meissner@bsg.co.za wrote: > Turns out this is nothing to do with PK60565, the problem is that Websphere doesn't like the package name... taking the exact same code but renaming za.co.hsbc.gcsi.web.security to za.co.hsbc.gcsi.web.sec fixed it (which IMO is ridiculous, why have arbitrary restrictions on package names? I'm struggling to even see how a bug like this could occur). > That's almost certainly voodoo, I've never heard of a restriction on package names outside the java* hierarchy. I suspect you had a build problem on your previous package. Ken |