JSP Failed to Compile in BEA WebLogic!
Hi All,
I am getting the following error message while executing the JSP pages in WebLogic Server 8.1 SP5.
Explicit cast needed to convert java.lang.Throwable to java.lang.Exception.
The JSP page was working fine in JRun application Server. But it is throwing this error message in BEA WebLogic Server 8.1 SP5.
Can someone from BEA team help to resolve this issue. Looks like it is a bug in BEA WebLogic Server?
Thanks in Advance,
Raghuram
You'd have to provide more detail to have a chance of getting a reasonable response to this. Can you show an excerpt of the JSP page that is getting the error? If you really do have a scriptlet that assigns a Throwable to an Exception object, then the compile error is understandable.
Similar Messages
-
Weblogic.appc failed to compile your application. Recompile with the -verbo
[exec] <Jan 25, 2012 9:24:39 AM IST> <Warning> <J2EE> <BEA-160214> <Output location exists C:/views/932_wls/cfm/conformia/pcm/dist/maven/cfmlib/pcmwebapp.war>
[exec] <Jan 25, 2012 9:26:38 AM IST> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile your application. Recompile with the -verbose option for more details. Please see the error message(s) below.>
[exec]
[exec]
[exec] There are 1 nested errors:
[exec]
[exec] weblogic.utils.compiler.ToolFailureException: jspc failed with errors :weblogic.servlet.jsp.CompilationException: CFMWFAdminStates.jsp:24:4: This tag is not recognized.
[exec] <cfm:resultstabcontainer id ="primaryPartyAdd" title = "PCM_WF_PRIMARY_PARTY" collapsible = "Yes" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" tabData = "#{CFMPrimaryPartyBean.tabs}" width="500"/>
[exec] ^---------------------^
[exec] CFMWFAdminStates.jsp:24:4: This tag is not recognized.
[exec] <cfm:resultstabcontainer id ="primaryPartyAdd" title = "PCM_WF_PRIMARY_PARTY" collapsible = "Yes" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" tabData = "#{CFMPrimaryPartyBean.tabs}" width="500"/>
[exec] ^---------------------^
[exec] CFMWFAdminStates.jsp:41:6: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "backupPartyAdd" title = "PCM_WF_BACKUP_PARTY" collapsible = "Yes" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" width="200"/>
[exec] ^---------------------^
[exec] CFMWFAdminStates.jsp:41:6: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "backupPartyAdd" title = "PCM_WF_BACKUP_PARTY" collapsible = "Yes" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" width="200"/>
[exec] ^---------------------^
[exec] CFMRoleBackupParty.jsp:28:8: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "Yes" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" width="200"/>
[exec]
[exec] ^---------------------^
[exec] CFMRoleBackupParty.jsp:28:8: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "Yes" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" width="200"/>
[exec]
[exec] ^---------------------^
[exec] CFMUserPrimaryParty.jsp:20:10: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "Yes" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" />
[exec]
[exec] ^---------------------^
[exec] CFMUserPrimaryParty.jsp:20:10: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "Yes" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" />
[exec]
[exec] ^---------------------^
[exec] CFMUserBackupParty.jsp:24:8: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "Yes" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" />
[exec]
[exec] ^---------------------^
[exec] CFMUserBackupParty.jsp:24:8: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "Yes" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" />
[exec]
[exec] ^---------------------^
[exec] CFMWFEditMacroBackupParty.jsp:35:10: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr"
[exec]
[exec] ^---------------------^
[exec] CFMWFEditMacroBackupParty.jsp:35:10: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr"
[exec]
[exec] ^---------------------^
[exec] CFMWFEditMacroBackupParty.jsp:56:6: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr1"
[exec]
[exec] ^---------------------^
[exec] CFMWFEditMacroBackupParty.jsp:56:6: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr1"
[exec]
[exec] ^---------------------^
[exec] CFMWFPrimaryParty.jsp:10:4: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "No" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" height = "400" tabData = "#{CFMPrimaryPartyBean.tabs}" />
[exec]
[exec] ^---------------------^
[exec] CFMWFPrimaryParty.jsp:10:4: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "No" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" height = "400" tabData = "#{CFMPrimaryPartyBean.tabs}" />
[exec]
[exec] ^---------------------^
[exec] CFMWFEditMacroPrimaryParty.jsp:32:16: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_MacroaddAttr"
[exec]
[exec] ^---------------------^
[exec] CFMWFEditMacroPrimaryParty.jsp:32:16: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_MacroaddAttr"
[exec]
[exec] ^---------------------^
[exec] CFMWFEditMacroPrimaryParty.jsp:51:7: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_MacroaddAttr1"
[exec]
[exec] ^---------------------^
[exec] CFMWFEditMacroPrimaryParty.jsp:51:7: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_MacroaddAttr1"
[exec]
[exec] ^---------------------^
[exec] CFMWFEditUserBackupParty.jsp:35:7: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}"/>
[exec]
[exec] ^---------------------^
[exec] CFMWFEditUserBackupParty.jsp:35:7: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}"/>
[exec]
[exec] ^---------------------^
[exec] CFMWFEditUserBackupParty.jsp:52:7: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr1" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}"/>
[exec]
[exec] ^---------------------^
[exec] CFMWFEditUserBackupParty.jsp:52:7: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr1" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}"/>
[exec]
[exec] ^---------------------^
[exec] CFMWFEditUserPrimaryParty.jsp:31:18: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" />
[exec]
[exec] ^---------------------^
[exec] CFMWFEditUserPrimaryParty.jsp:31:18: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" />
[exec]
[exec] ^---------------------^
[exec] CFMWFEditUserPrimaryParty.jsp:46:10: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr1" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" />
[exec]
[exec] ^---------------------^
[exec] CFMWFEditUserPrimaryParty.jsp:46:10: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr1" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" />
[exec]
[exec] ^---------------------^
[exec] CFMRolePrimaryParty.jsp:25:7: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_RoleaddAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "Yes" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" tabData = "#{CFMPrimaryPartyBean.tabs}" width="500"/>
[exec]
[exec] ^---------------------^
[exec] CFMRolePrimaryParty.jsp:25:7: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_RoleaddAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "Yes" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" tabData = "#{CFMPrimaryPartyBean.tabs}" width="500"/>
[exec]
[exec] ^---------------------^
[exec] CFMMacroPrimaryParty.jsp:20:11: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_RoleaddAttr"
[exec]
[exec] ^---------------------^
[exec] CFMMacroPrimaryParty.jsp:20:11: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_RoleaddAttr"
[exec]
[exec] ^---------------------^
[exec] CFMWFEditGroupBackupParty.jsp:35:12: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" />
[exec]
[exec] ^---------------------^
[exec] CFMWFEditGroupBackupParty.jsp:35:12: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" />
[exec]
[exec] ^---------------------^
[exec] CFMWFEditGroupBackupParty.jsp:53:6: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr1" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" />
[exec]
[exec] ^---------------------^
[exec] CFMWFEditGroupBackupParty.jsp:53:6: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr1" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" />
[exec]
[exec] ^---------------------^
[exec] CFMWFEditRolePrimaryParty.jsp:36:18: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_RoleaddAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" width="500"/>
[exec]
[exec] ^---------------------^
[exec] CFMWFEditRolePrimaryParty.jsp:36:18: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_RoleaddAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" width="500"/>
[exec]
[exec] ^---------------------^
[exec] CFMWFEditRolePrimaryParty.jsp:55:5: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_RoleaddAttr1" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" width="500"/>
[exec]
[exec] ^---------------------^
[exec] CFMWFEditRolePrimaryParty.jsp:55:5: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_RoleaddAttr1" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" width="500"/>
[exec]
[exec] ^---------------------^
[exec] CFMGroupBackupParty.jsp:25:11: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "Yes" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}"/>
[exec]
[exec] ^---------------------^
[exec] CFMGroupBackupParty.jsp:25:11: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "Yes" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}"/>
[exec]
[exec] ^---------------------^
[exec] CFMWFEditRoleBackupParty.jsp:39:14: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" width="200"/>
[exec]
[exec] ^---------------------^
[exec] CFMWFEditRoleBackupParty.jsp:39:14: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" width="200"/>
[exec]
[exec] ^---------------------^
[exec] CFMWFEditRoleBackupParty.jsp:60:5: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr1" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" width="200"/>
[exec]
[exec] ^---------------------^
[exec] CFMWFEditRoleBackupParty.jsp:60:5: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr1" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" width="200"/>
[exec]
[exec] ^---------------------^
[exec] CFMMacroBackupParty.jsp:25:10: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr"
[exec]
[exec] ^---------------------^
[exec] CFMMacroBackupParty.jsp:25:10: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr"
[exec]
[exec] ^---------------------^
[exec] CFMWFEditGroupPrimaryParty.jsp:33:17: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_GroupaddAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" height = "200" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}"/>
[exec]
[exec] ^---------------------^
[exec] CFMWFEditGroupPrimaryParty.jsp:33:17: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_GroupaddAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" height = "200" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}"/>
[exec]
[exec] ^---------------------^
[exec] CFMWFEditGroupPrimaryParty.jsp:48:8: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_GroupaddAttr1" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" height = "200" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}"/>
[exec]
[exec] ^---------------------^
[exec] CFMWFEditGroupPrimaryParty.jsp:48:8: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_GroupaddAttr1" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" height = "200" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}"/>
[exec]
[exec] ^---------------------^
[exec] CFMWFEditTransSetNotifUsers.jsp:43:9: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "PCM_WFADMIN_TRANS_NOTIF_USER_RESULT1" hasFooter="yes"
[exec]
[exec] ^---------------------^
[exec] CFMWFEditTransSetNotifUsers.jsp:43:9: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "PCM_WFADMIN_TRANS_NOTIF_USER_RESULT1" hasFooter="yes"
[exec]
[exec] ^---------------------^
[exec] CFMWFEditTransSetNotifUsers.jsp:59:7: This tag is not recognized.
[exec] <cfm:resultstabcontainer id="PCM_WFADMIN_TRANS_NOTIF_USER_RESULT2" hasFooter="yes"
[exec]
[exec] ^---------------------^
[exec] CFMWFEditTransSetNotifUsers.jsp:59:7: This tag is not recognized.
[exec] <cfm:resultstabcontainer id="PCM_WFADMIN_TRANS_NOTIF_USER_RESULT2" hasFooter="yes"
[exec]
[exec] ^---------------------^
[exec] CFMGroupPrimaryParty.jsp:20:10: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_GroupaddAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "Yes" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" height = "200" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" />
[exec]
[exec] ^---------------------^
[exec] CFMGroupPrimaryParty.jsp:20:10: This tag is not recognized.
[exec] <cfm:resultstabcontainer id = "rt_addPrim_GroupaddAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "Yes" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" height = "200" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" />
[exec]
[exec] ^---------------------^
[exec]
[exec]
[exec] at weblogic.servlet.jsp.jspc20.runBodyInternal(jspc20.java:458)
[exec] at weblogic.servlet.jsp.jspc20.runJspc(jspc20.java:227)
[exec] at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:236)
[exec] at weblogic.application.compiler.AppcUtils.compileWAR(AppcUtils.java:376)
[exec] at weblogic.application.compiler.WARModule.compile(WARModule.java:245)
[exec] at weblogic.application.compiler.flow.SingleModuleCompileFlow.proecessModule(SingleModuleCompileFlow.java:18)
[exec] at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:36)
[exec] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
[exec] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
[exec] at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
[exec] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
[exec] at weblogic.application.compiler.WARCompiler.compile(WARCompiler.java:29)
[exec] at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:112)
[exec] at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:37)
[exec] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
[exec] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
[exec] at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
[exec] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
[exec] at weblogic.application.compiler.Appc.runBody(Appc.java:203)
[exec] at weblogic.utils.compiler.Tool.run(Tool.java:158)
[exec] at weblogic.utils.compiler.Tool.run(Tool.java:115)
[exec] at weblogic.application.compiler.Appc.main(Appc.java:262)
[exec] at weblogic.appc.main(appc.java:14)
[exec]
[exec]
[exec] [ERROR] Result: 1I took the sample integration domain. It is an integration domain. Just to be sure, I tried to extend WLI on top of the existing sample domain, and got a few "the feature already exist" warning dialog.
Wait...
I just tried to build again, this time it worked. I think you are right, the sample domain has some problem, and extending it helped.
Thanks a lot,
Kev -
Problem with BPM workspace - Failed to compile JSP /bpmHome.jsff
Hi
I have instaled SOA Suite 11gR1 (11.1.1.5.0). All console woks, except bpm workspace. I have following error after login
Incident Id: 3
Incident Source: SYSTEM
Create Time: Thu Sep 22 09:21:36 CEST 2011
Problem Key: BEA-101017 [HTTP][weblogic.servlet.jsp.CompilationException]
Application Name: OracleBPMWorkspace
Error Message Id: BEA-101017
Description
Incident detected using watch rule "UncheckedException":
Watch time: 2011-09-22 09:21:36 CEST
Watch ServerName: soa_server1
Watch RuleType: Log
Watch Rule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
Watch DomainName: SOADomain
Watch Data:
DATE : 2011-09-22 09:21:36 CEST
SERVER : soa_server1
MESSAGE : [ServletContext@9413464[app:OracleBPMWorkspace module:/bpm/workspace path:/bpm/workspace spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@31c41d[
GET /bpm/workspace/faces/jsf/worklist/worklist.jspx?_afrLoop=4649677285821&_afrWindowMode=0&_adf.ctrl-state=7b5s8pm1s_4 HTTP/1.1
User-Agent: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.9.2.13) Gecko/20101209 CentOS/3.6-2.el5.centos Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: pl,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://localhost:8001/bpm/workspace/faces/jsf/worklist/worklist.jspx
Cookie: JSESSIONID=XS3VT6hZBFLPZvqGZsnjQWnhgG06NTnDHMX9QY8Wbf1FvBZ4QYTK!-276213214
]] Root cause of ServletException.
weblogic.servlet.jsp.CompilationException: Failed to compile JSP /bpmHome.jsff
Exception occurred while processing '/home/kuba/Oracle/Middleware/user_projects/domains/SOADomain/servers/soa_server1/tmp/_WL_user/OracleBPMWorkspace/jx2oeu/war/bpmHome.jsff'java.lang.NullPointerException
at weblogic.jsp.internal.jsp.JspParser.jspParse(JspParser.java:1092)
at weblogic.jsp.internal.jsp.JspParser._parse(JspParser.java:604)
at weblogic.jsp.internal.jsp.JspParser.parse(JspParser.java:597)
at weblogic.jsp.internal.jsp.JspAnalyzer.parseFile(JspAnalyzer.java:104)
at weblogic.jsp.internal.jsp.JspAnalyzer.parse(JspAnalyzer.java:92)
at weblogic.jsp.internal.ProxySourceFile.parse(ProxySourceFile.java:106)
at weblogic.jsp.internal.SourceFile.getAst(SourceFile.java:559)
at weblogic.jsp.internal.SourceFile.getAst(SourceFile.java:533)
at weblogic.jsp.internal.SourceFile.check(SourceFile.java:335)
at weblogic.jsp.internal.ProxySourceFile.codeGen(ProxySourceFile.java:224)
at weblogic.jsp.internal.SourceFile.codeGen(SourceFile.java:327)
at weblogic.jsp.internal.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:599)
at weblogic.jsp.internal.client.Job.performJob(Job.java:83)
at weblogic.jsp.internal.client.ThreadPool$WorkerThread.run(ThreadPool.java:217)
at weblogic.servlet.jsp.JavelinxJSPStub.reportCompilationErrorIfNeccessary(JavelinxJSPStub.java:226)
at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:162)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:256)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:216)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:243)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
at oracle.adfinternal.view.faces.taglib.region.IncludeTag.__include(IncludeTag.java:442)
at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:153)
at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:128)
at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:503)
at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
at jsp_servlet._jsf._worklist.__worklist_jspx._jspx___tag27(__worklist_jspx.java:1265)
at jsp_servlet._jsf._worklist.__worklist_jspx._jspx___tag26(__worklist_jspx.java:1232)
at jsp_servlet._jsf._worklist.__worklist_jspx._jspx___tag14(__worklist_jspx.java:723)
at jsp_servlet._jsf._worklist.__worklist_jspx._jspx___tag13(__worklist_jspx.java:673)
at jsp_servlet._jsf._worklist.__worklist_jspx._jspService(__worklist_jspx.java:168)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:469)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:800)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:294)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:214)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
SUBSYSTEM : HTTP
USERID : <WLS Kernel>
SEVERITY : Error
THREAD : [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'
MSGID : BEA-101017
MACHINE : vm0-jpawlows.amg.net.pl
TXID :
CONTEXTID : 2910bfe82460a9b3:63a8fc67:1328fe13615:-8000-00000000000022a6
TIMESTAMP : 1316676096720
Diagnostic Dumps
Name: jvm.threads
Dump Files: jvm_threads13_i3.dmp
Name: dms.metrics
Dump Files: dms_metrics14_i3.dmp
Name: odl.quicktrace
Dump Files: odl_quicktrace15_i3.dmp
Name: odl.logs
Dump Arguments: ecid=2910bfe82460a9b3:63a8fc67:1328fe13615:-8000-00000000000022a6
Dump Files: odl_logs16_i3.dmp
Name: odl.logs
Dump Arguments: timestamp=1316676096814
Dump Files: odl_logs17_i3.dmp
Name: wls.image
Dump Files: diagnostic_image_soa_server1_2011_09_22_09_21_48.zipKubaHi Kuba
I guess you are getting this error in Linux Env and not Windows. Basically SOA/BPM opens lots of files (JARs and WARs) and I guess it do not close them properly. The root cause for your error is something else. Here is the fix. This should work.
Login into the linux machine with the root user privileges. Or ask the person who have root privileges to do this. Basically you have to increase the open file limits to much bigger number like 8192.
To change the open file limits, login as root and edit the /etc/security/limits.conf file. If the following lines are already there, just change the number to 8192. Otherwise add below 2 lines exactly. Means for all the users on this OS, the nofiles is set to 8192, instead of single user.
* hard nofile 8192
* soft nofile 8192
after this, make sure to RESTART the Linux box. Otherwise changes will not get reflected.
Login into unix box from any client and run this command and it should return 8192
ulimit -n
Then start the soa server and you should be all set. Let me know if this fixes your issue (I am hoping it should).
Thanks
Ravi Jegga -
Jsp compile error in weblogic 10.3
When i run the project, an error has occured. The jsp page only contains few words.
weblogic.servlet.jsp.CompilationException: Failed to compile JSP /deployed/SYSTEM/Function_List/1/resources/List Functions.jsp
List Functions.jsp:1:1: The public type __list_32_functions must be defined in its own file
This is a JSP page.
^-----------------^
at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:328)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:237)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:182)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
Could somebody help me.Add this tag to your weblogic.xml file and deploy the application and check it ,it should work
<jsp-descriptor>
<jsp-param>
<param-name>
compileCommand
</param-name>
<param-value>
sj
</param-value>
</jsp-param>
</jsp-descriptor> -
JSP compilation errors in weblogic 6.1
I'm getting these JSP compilation errors in weblogic 6.1 on Solaris. Please help.
Full compiler error(s):
error: Invalid class file format:
^
/opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
eb/_jsp/_event/__eventForm.java:34: Class
com.ford.redherring.model.PropertiesAttributesModel not found in import.
import com.ford.redherring.model.PropertiesAttributesModel; <file://[>
/web/jsp/event/eventForm.jsp; Line: 64]
^
/opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
eb/_jsp/_event/__eventForm.java:38: Class com.ford.redherring.util.DialogHeader
not found in import.
import com.ford.redherring.util.DialogHeader; <file://[> /web/jsp/event/eventForm.jsp;
Line: 68]
^
/opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
eb/_jsp/_event/__eventForm.java:39: Class com.ford.redherring.util.DialogFooter
not found in import.
import com.ford.redherring.util.DialogFooter; <file://[> /web/jsp/event/eventForm.jsp;
Line: 69]
^
/opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
eb/_jsp/_event/__eventForm.java:40: Class com.ford.redherring.model.DDContainer
not found in import.
import com.ford.redherring.model.DDContainer; <file://[> /web/jsp/event/eventForm.jsp;
Line: 70]
^
/opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
eb/_jsp/_event/__eventForm.java:41: Class
com.ford.redherring.model.DDValidationModel not found in import.
import com.ford.redherring.model.DDValidationModel; <file://[>
/web/jsp/event/eventForm.jsp; Line: 71]
This appears to be a CLASSPATH problem (you are missing references to
'com.ford.redherring.model.*' and 'com.ford.redherring.util.*'). The
CLASSPATH may be set in the server startup script. Hope this helps.
Wade.
"Katri Alur" <[email protected]> wrote in message news:<[email protected]>...
> I'm getting these JSP compilation errors in weblogic 6.1 on Solaris. Please help.
>
> ----------------------------------------------------------------------------
> ----
> Full compiler error(s):
> error: Invalid class file format:
>
>
> ^
> /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
> tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
> eb/_jsp/_event/__eventForm.java:34: Class
> com.ford.redherring.model.PropertiesAttributesModel not found in import.
> import com.ford.redherring.model.PropertiesAttributesModel; <file://[>
> /web/jsp/event/eventForm.jsp; Line: 64]
> ^
> /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
> tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
> eb/_jsp/_event/__eventForm.java:38: Class com.ford.redherring.util.DialogHeader
> not found in import.
> import com.ford.redherring.util.DialogHeader; <file://[> /web/jsp/event/eventForm.jsp;
> Line: 68]
> ^
> /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
> tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
> eb/_jsp/_event/__eventForm.java:39: Class com.ford.redherring.util.DialogFooter
> not found in import.
> import com.ford.redherring.util.DialogFooter; <file://[> /web/jsp/event/eventForm.jsp;
> Line: 69]
> ^
> /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
> tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
> eb/_jsp/_event/__eventForm.java:40: Class com.ford.redherring.model.DDContainer
> not found in import.
> import com.ford.redherring.model.DDContainer; <file://[> /web/jsp/event/eventForm.jsp;
> Line: 70]
> ^
> /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
> tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
> eb/_jsp/_event/__eventForm.java:41: Class
> com.ford.redherring.model.DDValidationModel not found in import.
> import com.ford.redherring.model.DDValidationModel; <file://[>
> /web/jsp/event/eventForm.jsp; Line: 71]
-
Recursive calls by JSP tag files fail to compile
We're hitting an issue with recursive calls in JSP tag files. I found one unanswered post in the General forum - [Tag Files used recursivily throws exception|https://forums.oracle.com/forums/thread.jspa?threadID=853300] - and was wondering if anyone else has hit this or knows of any work-arounds/patches or knows how to raise suspected bugs with Oracle (when you don't have an official support relationship for WebLogic)?
Example tag file - /WEB-INF/tags/recurse/hello.tag:
<%@ tag body-content="empty" %>
<%@ attribute name="name" required="true" type="java.lang.String"%>
<%@ attribute name="depth" required="true" type="java.lang.Number"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="r" uri="/WEB-INF/tags/recurse/recurse.tld" %>
<table border="1" cellpadding="3" cellspacing="3">
<tr>
<td>
Hello ${name} [${depth}]
</td>
<c:if test="${depth > 1}">
<td>
<r:hello name="${name}" depth="${depth-1}"/>
</td>
</c:if>
</tr>
</table>
Example tld file - /WEB-INF/tags/recurse/recurse.tld:
<?xml version="1.0" encoding="UTF-8" ?>
<taglib xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
version="2.1">
<description>Library with Recursive tag</description>
<tlib-version>1.0</tlib-version>
<shortname>r</shortname>
<tag-file>
<name>hello</name>
<path>/WEB-INF/tags/recurse/hello.tag</path>
</tag-file>
</taglib>
Example jsp file - /recurse/test.jsp:
<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="r" uri="/WEB-INF/tags/recurse/recurse.tld" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Recursive Tag-file Test</title>
</head>
<body>
<c:set var="name" value="${pageContext.request.remoteUser}"/>
<c:set var="depth" value="${5}"/>
<p>Welcome ${name}, here are ${depth} greetings</p>
<r:hello name="${name}" depth="${depth}"/>
</body>
</html>
The expected result from this example would be to get nested 5 HTML tables.
The current behaviour, is the following is shown on screen when loading the test.jsp:
Compilation of JSP File '/recurse/test.jsp' failed:
hello.tag:15:6: Current file's JSP version conflicts with current tag "r:hello"'s.
<r:hello name="${name}" depth="${depth-1}"/>
^-----^
hello.tag:15:6: Current file's JSP version conflicts with current tag "r:hello"'s.
<r:hello name="${name}" depth="${depth-1}"/>
^-----^
I believe the "JSP version conflicts with current tag" message is misleading (you also get the same error referring to the tag file's folder via a tagdir reference from the JSP and defining an 'implicit.tld' which declares version="2.1"). If you take the recursive <r:hello .../> call out of hello.tag the JSP and tag file compile and function fine. I tried the work around mentioned in the forum post mentioned above, taking the recursive call out, deploying, then putting the recursive tag call back in and just updating the tag file doesn't seem to work for me.
Using "weblogic.appc" you get a few more messages, though the issue is the same - tag file doesn't compile:
test.jsp:15:6: The tag handler class was not found "jsp_servlet._tags._recurse.__hello_tag".
<r:hello name="${name}" depth="${depth}"/>
^-----^
test.jsp:15:14: This attribute is not recognized.
<r:hello name="${name}" depth="${depth}"/>
^--^
test.jsp:15:29: This attribute is not recognized.
<r:hello name="${name}" depth="${depth}"/>
^---^
hello.tag:15:6: The tag handler class was not found "jsp_servlet._tags._recurse.__hello_tag".
<r:hello name="${name}" depth="${depth-1}"/>
^-----^
hello.tag:15:6: Current file's JSP version conflicts with current tag "r:hello"'s.
<r:hello name="${name}" depth="${depth-1}"/>
^-----^
Happy to send this example as an ear/war for anyone that's interested.
At this stage, WebLogic seems to be the only servlet container with this limitation.
This has been tested with WebLogic 10.3.3.0 and 12.1.1.0.
The context for this is that the issue is present in a (larger) enterprise application. The above simple example with recursive tags is what we have isolated as the problem.
Although I/we may not have a support relationship for WebLogic, our clients will, so if the solution is apply an already existing patch that solution would be acceptable.Somethings definitely wrong with your gcc installation.
Which gcc are you using. What output do you get from "which gcc".
Solaris 10 ships with a gcc in /usr/sfw/bin.
If your using a 3rd party gcc try changing your path to put /usr/sfw/bin before whereever the 3rd party gcc lives. Or just uninstall it. -
JSP on BEA Weblogic: random error when loading a jsp page that uses a Bean
Hi!
I wrote a simple jsp page that stores a String in a JavaBean, and then forwards to another jsp page to display that String. The jsp pages are deployed on a BEA Weblogic 6 Server, but I get a weird behaviour when loading the page into my browser. Usually I get an error message:
/Response.jsp(9): class 'query.jsp.QueryBean' could not be loaded
probably occurred due to an error in /Query.jsp line 9:
<jsp:useBean id = "queryBean" scope = "request" class = "query.jsp.QueryBean" />
But the funny thing is that after reloading the page a few times it eventually works. The bahaviour seems to be totally random - sometimes it works, sometimes it claims not finding the JavaBean class.
Anyone experienced something similar?
Thank you very much,
CharlieIs QueryBean.class located under '<appname>/Web_inf/query/jsp/'?
If it is please try changing the package name to something else like com.myclass or something like that. -
Bea weblogic can't see index.jsp?
For some weird reason bea weblogic has started to act strange... it doesn't automatically go into 'index.jsp' when i access /MyWebapplication/someotherdir/index.jsp
I've tried index.html too but i just get a 404?? i verified the same web project on tomcat and it doesn't give me the same error.after inspecting it a bit more i can access /MyWebapplication/someotherdir/index.jsp directly i.e.. it doesn't auto redirect to the index.jsp. In bea weblogic web application configurations if i have it listed as:
MyWebapplication_war
that is when i can't access it but if it appears as:
appsdirMyWebapplication_war
it works fine...
in the first instance i used the upload function in the second one i dropped it directly in the application directory... it shouldn't make a difference which is strange?? -
How to setup and run JSP project in BEA Weblogic
i am trying to run my JSP project located in c:\project. i am actually running it in Tomcat webserver, this time i wanna test it in bea weblogic server, i have downloaded a version 8.1, before purchasing the software for development use, i wanna know and test first BEA's integrity and use... my question is how can i set up the base document path that i have in tomcat in bea, so i can just point it to such directory and run it directly using port 7001 for bea weblogic server..
can anybody help me get tru it step-by-step??
help please...Jason Combras napisa?(a):
how can i set up the base document path that i have in tomcat in bea, so i can just point it to such directory and run it directly using port 7001 for bea weblogic server..
can anybody help me get tru it step-by-step??
help please...Jason,
Simplest way "in my opinion":
1. start weblogic Server. You can use Server with examples. This domain
is already configured, so You will not need any domain configuration tasks.
2. open weblogic administration console using browser
http://localhost:7001/console/. Log in.
3. On the left side choose Deployments -> Web Application Modules
4. Click "Deploy a new Web Application Module"
5. Find folder with Your application. Mark it and click Target Module.
6. Define Application name and click Deploy
7. If deployed successfully, Your application should be accessible at
http://localhost:7001/YourApplicationContextRoot
Best Regards,
KArol Muszynski -
Virtual Server fails to compile JSP pages -repeat
I'm running iWS 6.0 SP2 using jdk 1.3
I have 4 virtual servers defined each serving out HTML pages and everything runs fine.
I'm building a 5th VS and I need it to support JSPs and nothing works...
I've turned on all the debugging and trace features I can find but, nothing helps me resolve the fact
that the JSPC can not locate the index.jsp file.
Below is a copy of the JSP1x error found in the errors file:
[12/Aug/2002:18:19:27] info (14254): Service(): uri=/index.jsp cgiScriptName=/index.jsp token=null cached=false
[12/Aug/2002:18:19:27] info (14254): Internal Info: loading servlet /index.jsp
[12/Aug/2002:18:19:27] info (14254): JSP: This is a jsp 1.x file
[12/Aug/2002:18:19:27] info (14254): JSP: Before JSP1x compiler.compile, servletName = /index.jsp servletPath = /bto/appl/netserver/PROD/BUSINESSWARE/public_html/index.jsp & dir = ../ClassCacheclasspath = ../ClassCache
[12/Aug/2002:18:19:27] info (14254): JSP11 Log:Package name is: _jsps
[12/Aug/2002:18:19:27] info (14254): JSP11 Log:Class file name is: /bto/appl/iplanet/servers/https-TE-Production/config/../ClassCache/_jsps/_index_jsp.class
[12/Aug/2002:18:19:27] info (14254): JSP11 Log:Java file name is: /bto/appl/iplanet/servers/https-TE-Production/config/../ClassCache/_jsps/_index_jsp.java
[12/Aug/2002:18:19:27] info (14254): JSP11 Log:Class name is: indexjsp
[12/Aug/2002:18:19:27] info (14254): JSP: JSP1x compiler threw exception
java.io.FileNotFoundException: /bto/appl/netserver/PROD/MBDB/public_html/index.jsp
at org.apache.jasper.compiler.JspReader.pushFile(JspReader.java:187)
at org.apache.jasper.compiler.JspReader.<init>(JspReader.java:253)
at org.apache.jasper.compiler.JspReader.createJspReader(JspReader.java:259)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:164)
at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:252)
at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173)
at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:416)
[12/Aug/2002:18:19:27] warning (14254): Internal error: Failed to get GenericServlet. (uri=/index.jsp,SCRIPT_NAME=/index.jsp)
Based on the above information I notice a few things that seem to not follow the documentation.
First the JSPC is looking for a file in MBDB/html even thought the original index.jsp file is
part of the BUSINESSWARE virtual machine
Second the ClassCache files do not follow the documented naming convention
jsps/VS id/uriid ...
Thanks in advance for your assistance.Not related to the problem but you shouldn't really be using JDK 1.3 (use JDK 1.3.1 if you need to use JDK 1.3+). As for the problem, the problem seems to be you don't seem to be ling web application. Could you add a web application with context root as "/" for the virtual server and I am positive this problem should go away.
-
Does BEA WebLogic 4.2.1 have JSP support
If so what level
Thank you
Ashish,
WLI 2.1 does not run on WLS 6.0, only WLS 6.1 SP1.
WLI 2.0 -> WLS 6.0 SP2
WLI 2.1 -> WLS 6.1 SP1
Cheers,
Chris
Ashish Agrawal wrote:
Hi David,
I downloaded WLI2.1 and installed it successfully.
I am using WLS 6.1 SP1 with WL2.1.
Please tell me does WL2.1 supports WLS 6.0 as I am getting error in deploying
a JCA adapter in WL2.1 + WLS 6.0 SP2.
The same adapter was successfully deployed using WL2.1 + WL6.1
Thanx in advance
Ashish Agrawal
ASAP Solutions.
"R J David Burke" <[email protected]> wrote:
Hi all,
BEA WebLogic Integration 2.1 is now available!
Read the press release at
http://www.bea.com/press/releases/2001/1022_portal_wli.shtml
Download the software for evaluation purposes from
http://commerce.bea.com/downloads/weblogic_integration.jsp
Regards, David Burke
ECI Product Management
BEA Systems, Ltd. -
OC4J : canno't complie jsp Page : the oracle OracleJSP say "invalid flag : de"
hello,
I 've to deploy a J2EE web application with 10g application server (this application works fine with tomcat for the moment).
The first time i access to my jsp page via oc4j , i have this error :
oracle.jsp.provider.JspCompileException : compilation error
:/home/oracle10/OraHome1/j2ee/home/application-deployments/Gifco/Gifco/persistence/_pages/_web_2d_inf/_jsp/_cadre.java
invalid flag: de
i guess there is a file access problem but if someone knows what means this error...
regards
Version :
Operating System and Version: Red Hat AS 3
Product (i.e., OAS, IAS, etc): IAS
Product Version: 10g (9.0.4)
JDK Version: java version "1.4.2_02"You may have run into bug 3498079.
Here is rediscovery:
Install oc4j_extended.zip to a location which has a long absolute path name and whitespaces in it(e.g. /tmp/test 1/test lasspath/testwhitespace/). Shorter absolute path may not reproduce the problem. Or add more jar libraries in <library path> tag in j2ee/home/applications.xml.
Both cases would cause compilation error.
This bug is fixed in 9.0.4 and (I assume you are not
on that version) you could upgrade to it.
I hope this helps. -
HI,
I am trying to deploy my jsp's as Web Appplication (in a directory & not as a war
file)on Weblogic 5.1 on Solaris 8. Weblogic throws following exception when I try
to invoke the jsp:
Failed to parse compiler output:
java.io.IOException: javac: not found
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:54)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:551)
at java.lang.Runtime.exec(Runtime.java:477)
at java.lang.Runtime.exec(Runtime.java:443)
at weblogic.utils.Executable.exec(Executable.java:170)
at weblogic.utils.Executable.exec(Executable.java:107)
at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:423)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:245)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:337)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:217)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:164)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:101)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:907)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:851)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
I set the Env before starting Weblogic and the PATH point to jdk\bin and the CLASSPATH
is set to the java libraries. I can invoke javac from the command shell. I have no
idea what the problem is ?
Any clues..
Thanks a lot
Roger
Hi, Roger,
Could you please add the %JAVA_HOME%\bin into your "System Variables" (not
the "User Variables") and reboot your Windows 2000 box. This way, NT
services should be able to pick up JDK executables.
Cheers,
Peter Chang
BEA Systems Inc.
"Sam He" <[email protected]> wrote in message
news:[email protected]...
>
> I had the same problem on NT when it runs as a service. However, it runs
fine
> with my W2K development box.
>
>
> "Roger Zamon" <[email protected]> wrote:
> >
> >Thanks James.. I found that when weblogic.jsp.compilecommand is specified
> >in the context
> >parameter in web.xml file and path to javac is specified it seems to
> >work. It is
> >not clear why Weblogic does not read the location of javac from the
> >PATH !
> >
> >Thanks once again..
> >
> >"James McGovern" <[email protected]> wrote:
> >>This sounds like a problem with weblogic.properties in how you specified
> >>the
> >>JSP process.
> >>
> >>
> >>"Roger Zamon" <[email protected]> wrote in message
> >>news:[email protected]...
> >>>
> >>> HI,
> >>> I am trying to deploy my jsp's as Web Appplication (in a directory
> >& not
> >>as a war
> >>> file)on Weblogic 5.1 on Solaris 8. Weblogic throws following exception
> >>when I try
> >>> to invoke the jsp:
> >>>
> >>> Failed to parse compiler output:
> >>> java.io.IOException: javac: not found
> >>> at java.lang.UNIXProcess.forkAndExec(Native Method)
> >>> at java.lang.UNIXProcess.(UNIXProcess.java:54)
> >>> at java.lang.Runtime.execInternal(Native Method)
> >>> at java.lang.Runtime.exec(Runtime.java:551)
> >>> at java.lang.Runtime.exec(Runtime.java:477)
> >>> at java.lang.Runtime.exec(Runtime.java:443)
> >>> at weblogic.utils.Executable.exec(Executable.java:170)
> >>> at weblogic.utils.Executable.exec(Executable.java:107)
> >>> at
> >>>
> >>>
>
>>weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.j
av
> >>a:423)
> >>> at
>
>>weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:245)
> >>> at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:337)
> >>> at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:217)
> >>> at
>
>>weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:
16
> >>4)
> >>> at
>
>>weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.ja
va
> >>:101)
> >>> at
> >>>
> >>>
>
>>weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextI
mp
> >>l.java:907)
> >>> at
> >>>
> >>>
>
>>weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextI
mp
> >>l.java:851)
> >>> at
> >>>
> >>>
>
>>weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletConte
xt
> >>Manager.java:252
> >>>
> >>> )
> >>> at
>
>>weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364
> >>> at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
> >>> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
> >>>
> >>> I set the Env before starting Weblogic and the PATH point to jdk\bin
> >and
> >>the CLASSPATH
> >>> is set to the java libraries. I can invoke javac from the command
> >shell.
> >>I
> >>have no
> >>> idea what the problem is ?
> >>>
> >>> Any clues..
> >>>
> >>> Thanks a lot
> >>>
> >>> Roger
> >>
> >>
> >
>
-
Problem in calling a web service hosted on tomcat from BEA WebLogic portal
Hi,
I have a wsdl file for my web service which is hosted on apache tomcat 5.5(running on port : 8080). The contents of the wsdl file are-
*<?xml version="1.0" encoding="UTF-8"?>*
*<wsdl:definitions targetNamespace="http://soa.tutorials.serg.edu" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://soa.tutorials.serg.edu" xmlns:intf="http://soa.tutorials.serg.edu" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">*
*<!--WSDL created by Apache Axis version: 1.4*
Built on Apr 22, 2006 (06:55:48 PDT)-->
*<wsdl:types>*
*<schema elementFormDefault="qualified" targetNamespace="http://soa.tutorials.serg.edu" xmlns="http://www.w3.org/2001/XMLSchema">*
*<element name="getNums">*
*<complexType>*
*<sequence>*
*<element name="n" type="xsd:int"/>*
*<element name="m" type="xsd:int"/>*
*</sequence>*
*</complexType>*
*</element>*
*<element name="getNumsResponse">*
*<complexType>*
*<sequence>*
*<element maxOccurs="unbounded" name="getNumsReturn" type="xsd:int"/>*
*</sequence>*
*</complexType>*
*</element>*
*<element name="getNums2">*
*<complexType>*
*<sequence>*
*<element name="n" type="xsd:int"/>*
*<element name="m" type="xsd:int"/>*
*</sequence>*
*</complexType>*
*</element>*
*<element name="getNums2Response">*
*<complexType>*
*<sequence>*
*<element maxOccurs="unbounded" name="getNums2Return" type="xsd:int"/>*
*</sequence>*
*</complexType>*
*</element>*
*</schema>*
*</wsdl:types>*
*<wsdl:message name="getNums2Request">*
*<wsdl:part element="impl:getNums2" name="parameters"/>*
*</wsdl:message>*
*<wsdl:message name="getNumsRequest">*
*<wsdl:part element="impl:getNums" name="parameters"/>*
*</wsdl:message>*
*<wsdl:message name="getNums2Response">*
*<wsdl:part element="impl:getNums2Response" name="parameters"/>*
*</wsdl:message>*
*<wsdl:message name="getNumsResponse">*
*<wsdl:part element="impl:getNumsResponse" name="parameters"/>*
*</wsdl:message>*
*<wsdl:portType name="Echo">*
*<wsdl:operation name="getNums">*
*<wsdl:input message="impl:getNumsRequest" name="getNumsRequest"/>*
*<wsdl:output message="impl:getNumsResponse" name="getNumsResponse"/>*
*</wsdl:operation>*
*<wsdl:operation name="getNums2">*
*<wsdl:input message="impl:getNums2Request" name="getNums2Request"/>*
*<wsdl:output message="impl:getNums2Response" name="getNums2Response"/>*
*</wsdl:operation>*
*</wsdl:portType>*
*<wsdl:binding name="EchoSoapBinding" type="impl:Echo">*
*<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>*
*<wsdl:operation name="getNums">*
*<wsdlsoap:operation soapAction=""/>*
*<wsdl:input name="getNumsRequest">*
*<wsdlsoap:body use="literal"/>*
*</wsdl:input>*
*<wsdl:output name="getNumsResponse">*
*<wsdlsoap:body use="literal"/>*
*</wsdl:output>*
*</wsdl:operation>*
*<wsdl:operation name="getNums2">*
*<wsdlsoap:operation soapAction=""/>*
*<wsdl:input name="getNums2Request">*
*<wsdlsoap:body use="literal"/>*
*</wsdl:input>*
*<wsdl:output name="getNums2Response">*
*<wsdlsoap:body use="literal"/>*
*</wsdl:output>*
*</wsdl:operation>*
*</wsdl:binding>*
*<wsdl:service name="EchoService">*
*<wsdl:port binding="impl:EchoSoapBinding" name="Echo">*
*<wsdlsoap:address location="http://localhost:8080/SOATest/services/Echo"/>*
*</wsdl:port>*
*</wsdl:service>*
*</wsdl:definitions>*
I created a client from the above wsdl file using ClientGen wizard in WebLogic. This client contains the follwoing classes-
Echo.java
EchoService.java
EchoService_Impl.java
Echo_Stub.java
I created a JSP portlet and the jsp content of it is-
String url = "http://localhost:8080/SOATest/services/Echo";
Echo echo = new EchoService_Impl(url).getEcho();
getNumsResponse = echo.getNums(getNums);
I tried to call that web service from BEA weblogic portal through a JSP potlet. I got an error saying -
*<An exception [javax.xml.rpc.ServiceException: Failed to parse WSDL http://localhost:8080/SOATest/services/Echo weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- java.io.IOException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element] was thrown while rendering the content at [TestEcho.jsp].*
*javax.servlet.ServletException: javax.xml.rpc.ServiceException: Failed to parse WSDL http://localhost:8080/SOATest/services/Echo weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- java.io.IOException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
* at weblogic.servlet.jsp.PageContextImpl.handlePageException(PageContextImpl.java:420)*
* at jsp_servlet.__testecho._jspService(__testecho.java:112)*
* at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)*
* at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)*
* at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)*
* Truncated. see log file for complete stacktrace*
*javax.xml.rpc.ServiceException: Failed to parse WSDL http://localhost:8080/SOATest/services/Echo weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- java.io.IOException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
* at weblogic.wsee.jaxrpc.ServiceImpl.throwServiceException(ServiceImpl.java:174)*
* at weblogic.wsee.jaxrpc.ServiceImpl.loadWsdlDefinition(ServiceImpl.java:485)*
* at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:119)*
* at edu.serg.tutorials.soa.EchoService_Impl.<init>(Unknown Source)*
* at edu.serg.tutorials.soa.EchoService_Impl.<init>(Unknown Source)*
* Truncated. see log file for complete stacktrace*
*weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- java.io.IOException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
* at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:313)*
* at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:405)*
* at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:391)*
* at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:79)*
* at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:66)*
* Truncated. see log file for complete stacktrace*
*java.io.IOException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
* at weblogic.xml.domimpl.Loader.load(Loader.java:38)*
* at weblogic.wsee.util.dom.DOMParser.getWebLogicDocumentImpl(DOMParser.java:122)*
* at weblogic.wsee.util.dom.DOMParser.getDocument(DOMParser.java:65)*
* at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:311)*
* at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:405)*
* Truncated. see log file for complete stacktrace*
*javax.xml.stream.XMLStreamException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
* at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:206)*
* at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)*
* at weblogic.xml.domimpl.Loader.load(Loader.java:112)*
* at weblogic.xml.domimpl.Loader.load(Loader.java:73)*
* at weblogic.xml.domimpl.Loader.load(Loader.java:35)*
* Truncated. see log file for complete stacktrace*
*Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
* at weblogic.xml.babel.baseparser.BaseParser.parseProlog(BaseParser.java:417)*
* at weblogic.xml.babel.baseparser.BaseParser.parseSome(BaseParser.java:328)*
* at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:195)*
* at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)*
* at weblogic.xml.domimpl.Loader.load(Loader.java:112)*
* Truncated. see log file for complete stacktrace*
My web service is using soap binding. I have tested it with eclipse and other tools also. It is working well and good. But when I tried to call a web service which is created and hosted on WebLogic server(running on port : 7001), I got the correct output.
Can anyone help me out in calling a web service hosted on different server from WebLogic server.
Thanks in advance,
Tiijnar
Edited by: user8715057 on Aug 13, 2009 1:11 AMHi
1. The way you are invoking the WebService deployed on Tomcat server is looks suspicious. It may be valid by adding extra ?wsdl etc into the url, but still I have not seen this way to invoke the webservice.
2. So you used Weblogic ant task to generate client JARs by giving this WSDL. So looks like it generated the 4 classes (.java) and in addition any other classes for Request/Response xml objects.
3. Look at the source code of EchoService.java. It should have one default empty constructor. Internally it uses the default wsdl defined in this class. You will see another constructor that takes WSDL URL as one of the parameters (QName) etc. Echo.java is the class corresponding to the Port. In the same EchoService you should see an instance method like getEcho() something like that. This Echo.java class will have methods for all the Operations defined on this Port. So the standard code snippet we use most of the times will be like this:
EchoService myEchoService = new EchoService(); // Default it uses WSDL deployed on Tomcat at localhost:8080
Echo myEchoPort = myEchoService.getEchoPort(); // Something along these lines.
myEchoPort.xxxYYY(); // NOW this is the operation name that takes the input parameters and returns outputs defined as per the WSDL defintions. If the Input and Outputs are complex xml types, it will have corresponing .JAVA files with setters and getters.
Now if this WebService is deployed on same Tomcat but on different machine or different port, you just give the full WSDL URL with that host and port in the constructor for new EchoService(...). You may need to instantiate QName object. But look at the methods generated in EchoService.java class.
The way you are using with Impl and Stubs class may also work. I am not much famiiar with this APIs apporach. Still look at the methods generated in these classes.
Also if you latest Sun JDK 1.6, it also has one command like wsimport. Infact if you install WLS 10.3 with Sun JDK, it should have C:\beawlp103\jdk160_05\bin\wsimport command. This will also generate client jar given a WSDL URL.
Thanks
Ravi Jegga -
Upgrading from BEA Weblogic portal 8.1.5 to BEA Weblogic Portal 10.3
We are upgrading from BEA Weblogic portal 8.1.5 to BEA Weblogic Portal 10.3. We just took over the project from some other vendor since last 9 months. At some of the places in the code, we are using internal APIs of Weblogic Server which should not have been used at the first place.
As weblogic has changed the version and internal structure as well as the classes also, We are facing problems in terms of compilation of the code itself.
The class "ServletRequestImpl" is giving us issues.
Has anybody faced the similar issues, if yes, please let me know.Andy-
Since the Struts portlet support requires that struts app be converted to a module,
alternate message resources need to be accessed by modifying the bundle name by
appending the module name, since Struts doesn't automatically propogate the alternate
resources from the ServletContext to the Request when a module is selected.
For instance, in suppose your struts application module is /struts/myExample.
To access the alternate bundle from within that module, you'll need to specify
the bundle as alternate/struts/myExample.
-Brodi Beartusk
"Andy Hull" <[email protected]> wrote:
>
Hi,
I'm trying to get the struts-example webapp from Struts 1.1 RC1 working
under
Weblogic Portal 8.1 with the JSR 168 and Struts support patch.
I am having problems with the message bundle properties files ApplicationResources.properties
and AlternateApplicationResources.properties as neither of these files
are being
picked up.
These files are located in org/apache/struts/webapp/example in WEB-INF/src
and
WEB-INF/classes of my webapp (i.e. <WEBAPP>/WEB-INF - my struts-example
resides
in <WEBAPP>/struts-example). I've also tried adding <init-param>'s to
the <WEB-APP>/WEB-INF/web.xml
file for the action servlet as follows:
<servlet> <servlet-name>action</servlet-name> ... <init-param> <param-name>application</param-name>
<param-value>org.apache.struts.webapp.example.ApplicationResources</param-value>
</init-param> <init-param> <param-name>alternate</param-name> <param-value>org.apache.struts.webapp.example.AlternateApplicationResources</param-value>
</init-param> </servlet>
When I use the logon action as the starting action for the portlet, I
get:
Error opening /struts-example/logon.jsp. The source of this error is
javax.servlet.ServletException:
Cannot find message resources under key alternate at weblogic.servlet.jsp.PageContextImpl.handlePageException...
Any help would be appreciated.
--Andy
Maybe you are looking for
-
We are under strict regulations and monitoring at my company. Because of this, we have to define what updates are being installed during a patch cycle by KB Article. Two production networks and one test network. The installed updates have to be the e
-
Generic comparator in container search
I have an application where I'm using a Stack to store heterogeneous objects, some of which might be Comparable. I occasionally have need to search(obj) the stack for some object that might or might not be there. The object might be comparable. I hav
-
PDF Font Rendering in Preview/Safari on Mountain Lion
Since upgrading to 10.8.2 a few days ago, I have been unable to read any of the PDF statements provided by my bank. To be clear: there was never a problem reading these statements in 10.5, 10.6, or 10.7. The files are not corrupted, nor are the fo
-
Lpad use with dense_rank question
Hi, I looked up lpad/rpad in the 10g Complete refernce but can't seem to figure if I can use it in conjunction with dense_rank. When I run "DENSE_RANK () OVER (PARTITION BY 'batch_doc_total' ORDER BY ae.emp_code) AS "batch_skey"," I get numbers start
-
Hi Experts, Our client just upgraded from EHP4 TO 6 with HR Renewal Pack. Now the client want to use the new SAP forms functionality provided by EHP6/HR Renewal and want a new application to be built on this. Client is still using Home Page Framework