JSP Runtime error
I have having a problem running the following JSP which compiles cleanly with no errors:
JSP Error:
Request URI:/PDF360/pdfbatchcontrol.jsp
Exception:
java.lang.NoClassDefFoundError: _PDFBatchControl
java.lang.Class java.lang.ClassLoader.defineClass0(java.lang.String, byte[], int, int, java.security.ProtectionDomain)
native code
The classes are in the correct directory but no .jpa file is created. What causes this problem to occur? This program calls a servlet. I have another JSP that is standalone and it runs correctly. I am using Jdeveloper 9.03.1035.
Unfortunately I cannot make enough out of this message to be able to provide any insight.
Could you please give some more details on your development platfrom and app architecture?
Thanks,
Arun
Similar Messages
-
What's Jsp runtime error?
Could you tell me what's the matter?
Project: C:\Program Files\resin-1.2.10\webapps\BeanToJsp\Anywhere\Anywhere.jpr
C:\Program Files\resin-1.2.10\webapps\BeanToJsp\Anywhere\admin.jsp
Error: 'class' or 'interface' expected
Error: cannot access directory oracle\jsp\runtime; verify that directory is reachable from classpath and/or sourcepath
Error: cannot access class oracle.jsp.runtime.HttpJsp; file oracle\jsp\runtime\HttpJsp.class not found
//---------------------------------------------The message is clear: the class oracle.jsp.runtime.HttpJsp is missing. It seems that ojsp.jar is missing from your enviroment.
-
Urgent help needed in redirecting to ErrorPage in case of jsp runtime error
Hi,
I have two problems in Portal. I am working with sturts portlets.
1) Some times I am getting No Provider session Error . I know that struts renderer always needs session. In my provider.xml file I changed the session attribute to true.
<session>true</session>
and In my provider Login Frequency is also set to "Once Per User Session" I want to get rid of this error permanently.
2) Another problem i am facing is handling errors in Jsps (Like some compilation errors in that jsp or runtime jsp exception) I would like to forward to the errorpage. Can I do with
<%@page errorPage="myErrorPage.jsp" %> in every jsp?
Currently I am getting the following error if anything goes wrong in the jsp.
???: ??????????????????: 500 Internal Server Error
In that case I would like to forward to an error page. It is not happening now.
How will get the path to that jsp? Is PortletRenderRequest can be used?
Any suggestions?
Thanks,
ReddiCould you post more details perhaps? Eg. the complete files.
Also, I would recommend that you consider using the runtime include, <jsp:include ...>, and put your variables in the request scope. -
How do I get the details of runtime errors to display in errorPage.jsp???
how do I get the details of a JSP runtime error onto my errorPage.jsp?
Currently, I'm getting a NumberFormatException - but I can see no details.
I have to assume that I do not have the errorPage.jsp set up correctly to capture the details of an exception.
Can someone provide an example (e.g., regular.jsp and errorPage.jsp) that illustrate how this is done (i.e., showing the details - stacktrace, etc - of a runtime exception)?
Thanks for any help!
***my page directie for otherpages.jsp***
<%@ page language="java" errorPage="errorPage.jsp" %>
***my errorPage.jsp***
<%@ page language='java' contentType='text/html' %>
<%@ page isErrorPage="true" %>
<html>
<head>
<title> errorPage.jsp </title>
</head>
<body>
<h2>
Error Encountered:
</h2>
<%= exception.toString() %>
<h2>
details...
</h2>
<%= exception.getMessage() %>
</body>
</html>You need to create a stringwriter, wrap it in a printwriter, then print to the printwriter, then convert the stringwriter to a string.
Here's an example:
StringWriter sw = new java.io.StringWriter();
PrintWriter pw = new java.io.PrintWriter(sw);
e.printStackTrace(pw);
String strError = sw.toString();
I hope this works. I didn't test the above code. I don't think I'm leaving anything out, but it's been a while since I've done it. Either way, it should get you on the right track to get what you need.
Hope that helps.
Michael -
Jsp calling a function in js -- object expected runtime error
Hi,
I have a js file. script.js
*function popup( url ) {*
newWin=window.open(url,'popupWindow,resizable=yes,menubar=no,status=no,toolbar=no,scrollbars=yes');
newWin.focus();
void(0);
and a jsp calling the function in js
*<HTML>*
*<HEAD>*
*<SCRIPT>*
*<jsp:include page="script.js"/>*
*</SCRIPT>*
*</HEAD>*
*<BODY onLoad="javascript:popup('http;//www.google.com');">*
*</BODY>*
*</HTML>*
Now when i execute the jsp, it gives runtime error -> object expected..
Not able to figure out why this occurs.. am I doing it the right way ?Do you think is this the right way to include .js file...
<SCRIPT>
<jsp:include page="script.js"/>
</SCRIPT>I generally do this way...
<head>
<script language="javascript" src = "script.js">
</script>
</head> -
When migrate from 9.0.4 to 9.0.5 my JSP-UIX project, and try to execute them, sends me the following error:
Exception Details
java.lang.NoSuchMethodError: java.lang.String java.net.URLEncoder.encode(java.lang.String, java.lang.String)
java.lang.String oracle.jbo.http.HttpSessionCookieHelperImpl.readCookieValue(javax.servlet.http.HttpServletRequest, java.lang.String)
HttpSessionCookieHelperImpl.java:44
java.lang.String oracle.jbo.http.HttpSessionCookieImpl.readValue(java.lang.Object)
HttpSessionCookieImpl.java:189
void oracle.jbo.http.HttpSessionCookieImpl.(java.lang.String, java.lang.String, oracle.jbo.common.ampool.ApplicationPool, java.security.Principal, javax.servlet.http.HttpServletRequest)
HttpSessionCookieImpl.java:101
oracle.jbo.common.ampool.SessionCookie oracle.jbo.http.HttpSessionCookieFactory.createSessionCookie(java.lang.String, java.lang.String, oracle.jbo.common.ampool.ApplicationPool, java.util.Properties)
HttpSessionCookieFactory.java:103
oracle.jbo.common.ampool.SessionCookie oracle.jbo.common.ampool.ApplicationPoolImpl.createSessionCookie(java.lang.String, java.lang.String, java.util.Properties)
ApplicationPoolImpl.java:418
oracle.jbo.common.ampool.SessionCookie oracle.jbo.http.HttpContainer.findSessionCookie(javax.servlet.http.HttpSession, java.lang.String, java.lang.String, java.util.Properties)
HttpContainer.java:651
int oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag()
ApplicationModuleTag.java:152
void RhAccesoUsuarioView_Browse._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
RhAccesoUsuarioView_Browse.jsp:9
void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
HttpJsp.java:139
void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
JspPageTable.java:349
void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
JspServlet.java:509
void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
JspServlet.java:413
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
HttpServlet.java:853
void com.evermind.server.http.ResourceFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
ResourceFilterChain.java:65
void oracle.security.jazn.oc4j.JAZNFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
ServletRequestDispatcher.java:604
void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
ServletRequestDispatcher.java:317
boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
HttpRequestHandler.java:790
void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
HttpRequestHandler.java:270
void com.evermind.server.http.HttpRequestHandler.run()
HttpRequestHandler.java:112
void com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run()
ReleasableResourcePooledExecutor.java:192
void java.lang.Thread.run()
Thread.java:484
Now, how can i fix this? In the previous version works fine.Invoke your Project Properties, click on the Libraries option and ensure your J2SE version is 1.4.2, not 1.3.1.
Steve -
Error: cannot access directory oracle\jsp\runtime
I got this error when try to add a existing project to JDeveloper 9.0.3.4
Error: cannot access directory oracle\jsp\runtime; verify that directory is reachable from classpath and/or sourcepath
can someone help me?
thanksXinwei -
Make sure you have added the correct libraries to your project; adding JSP Runtime to your project should alleviate this error.
Hope this helps,
Lynn
Java Tools Team -
Hello,
where is now oracle\jsp\runtime\HttpJsp.class located?
thanks.
Oleg.Same problem,
Error: cannot access class oracle.jsp.runtime.HttpJsp; file oracle\jsp\runtime\HttpJsp.class not found
Thanks
aldo -
Portal runtime error while selecting page layout in WPC editor
Hello,
in web page composer, editing page, when i click on "select page layout" I have a portal runtime error popup.
The logfile shows the following :
#1.5 #005056834112005E0000000C00000FA800048E28A94966CC#1282205196819#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#1016#149##n/a##7ff9c93eab6811dfa9c70000003307de#SAPEngine_Application_Thread[impl:3]_15##0#0#Error##Java###10:06_19/08/10_0010_3344350
[EXCEPTION]
#1#com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error occurs during the rendering of jsp component
Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error in java compiling
Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: E:
usr
sap
EPD
JC00
j2ee
cluster
server0
apps
sap.com
irj
servlet_jsp
irj
root
WEB-INF
portal
portalapps
com.sap.netweaver.bc.util
lib
bc.util.public_api.jar(com/sapportals/wcm/WcmException.java):24: class WcmException is public, should be declared in a file named WcmException.java
(source unavailable)
1 error
I have the same by clicking on "check assignments"
Any help ?
ThanksHello Jego.
We faced the same issue after upgrade to EHP1 SP07 last week and managed to solve it by modification of layout.jsp and com.sap.nw.wpc.layoutmanager.LayoutBean within com.sap.nw.wpc.designtime.par. SAP's code requires an additional catch handler, so it is better to rise an OSS message.
As a workaround you may change a default layout for wpc main page (good for new pages) or manually edit output.xml for existing pages.
Best regards,
Aliaksandr Zhukau -
Runtime Error in E-Commerce 5.0
Hi Experts
I am facing a runtime error in ISA 5.0, when I tried to run Webshop for r/2 b2c webshop.
We have done all the XCM Configuration.
It says Runtime Error/Contact Administrator .
Can anyone please help me out with that ?
Thanks
Gaurav SahaiHi,
I am trying to use session in the following way:
In the shipto.jsp I have a hidden input in the ShipTo form
<input type="hidden" name="save" value="" />
When the user clicks the Save button it will set the value:
document.ShipTo.save.value="true";
saveForm() is called after this in my custom javascript.
In the order.jsp I try to reteieve the value as follows
String saved = (String)request.getParameter("save");
But it just keeps returning a null value.
I don't have any custom class.
I have only recently started on B2B and normally this would work in jsp.
Thanks,
Ronan -
BI Admin Cockpit - Portal Runtime Error
Hi,
We have BI 7.0 (NW 7.0 with EHP1) BI_CONT 704. It is a dual stack (ABAP+JAVA) installation.
We have deployed "BI Administration 1.0" on the java stack. All the configurations are done as per notes.
Error is faced when trying to access BI Admin cockpit from portal.
When we click on BI Administration -> Data Load Status it should load two selector iViews in the left hand pane but it gives error.
Error message is given below:
Portal runtime error.
An exception occurred while processing your request. Send the exception ID to your portal administrator.
Exception ID: 03:02_06/08/10_0022_406159550
Refer to the log file for details about this exception.
Please help.
Regards,
YaitnDefault trace is attached herewith:
#1.5 #001A64594CA200360000001100000CEC00048D20941D9F94#1281070970280#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#A100678#8809##GLBWI741_BC1_406159550#A100678#5c89db70a11711df87a4001a64594ca2#Thread[PRT-Async 2,5,PRT-Async]##0#0#Error#1#/System/Server#Java###Exception ID:03:02_06/08/10_0022_406159550
[EXCEPTION]
#1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
Component : com.sap.portal.layouts.framework.dynNavArea
Component class : com.sapportals.portal.pb.layout.PageLayout
User : A100678
at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:444)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:680)
at com.sapportals.portal.pb.layout.PageLayout.doContent(PageLayout.java:82)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:355)
at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:310)
at com.sapportals.portal.pb.PageBuilder.includeLayout(PageBuilder.java:1038)
at com.sapportals.portal.pb.PageBuilder.doContent(PageBuilder.java:517)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.component.CachablePortalComponent.service(CachablePortalComponent.java:273)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:355)
at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:310)
at com.sapportals.portal.navigation.DynamicNavigationArea.doContent(DynamicNavigationArea.java:65)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:375)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:388)
at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
at java.lang.Thread.run(Thread.java:534)
Caused by: com.sapportals.portal.prt.component.PortalComponentException: Error occurs during the compilation of java generated from the jsp
at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:116)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
... 31 more
Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error occurs during the rendering of jsp component
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2215)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:291)
at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:141)
... 34 more
#1.5 #001A64594CA200360000001300000CEC00048D20941DA66C#1281070970280#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#A100678#8809##GLBWI741_BC1_406159550#A100678#5c89db70a11711df87a4001a64594ca2#Thread[PRT-Async 2,5,PRT-Async]##0#0#Error##Java###03:02_06/08/10_0022_406159550
[EXCEPTION]
#1#com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error occurs during the rendering of jsp component
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2215)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:291)
at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:141)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:680)
at com.sapportals.portal.pb.layout.PageLayout.doContent(PageLayout.java:82)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:355)
at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:310)
at com.sapportals.portal.pb.PageBuilder.includeLayout(PageBuilder.java:1038)
at com.sapportals.portal.pb.PageBuilder.doContent(PageBuilder.java:517)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.component.CachablePortalComponent.service(CachablePortalComponent.java:273)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:355)
at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:310)
at com.sapportals.portal.navigation.DynamicNavigationArea.doContent(DynamicNavigationArea.java:65)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:375)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:388)
at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
at java.lang.Thread.run(Thread.java:534)
Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error in java compiling
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2206)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:291)
at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:141)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:680)
at com.sapportals.portal.pb.layout.PageLayout.doContent(PageLayout.java:82)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:355)
at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:310)
at com.sapportals.portal.pb.PageBuilder.includeLayout(PageBuilder.java:1038)
at com.sapportals.portal.pb.PageBuilder.doContent(PageBuilder.java:517)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.component.CachablePortalComponent.service(CachablePortalComponent.java:273)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:355)
at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:310)
at com.sapportals.portal.navigation.DynamicNavigationArea.doContent(DynamicNavigationArea.java:65)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:375)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:388)
at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
at java.lang.Thread.run(Thread.java:534) -
Without changing the application source, after the upgrade from Upgrade from JDeveloper 9.0.2.289 to 9.0.3.1035 we are receiving the runtime error code:
oracle.jbo.AttrValException: JBO-27014: Attribute AtyId in Appointmenttypes is required
at oracle.jbo.server.JboMandatoryAttributesValidator.validateMandatoryAttributes(JboMandatoryAttributesValidator.java:115)
at oracle.jbo.server.JboMandatoryAttributesValidator.vetoableChange(JboMandatoryAttributesValidator.java:163)at oracle.jbo.server.EntityDefImpl.validate(EntityDefImpl.java:1719)
at oracle.jbo.server.EntityImpl.validateEntity(EntityImpl.java:1115)
at oracle.jbo.server.EntityImpl.validate(EntityImpl.java:1297)
at oracle.jbo.server.DBTransactionImpl.validate(DBTransactionImpl.java:3261)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1516)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:1693)
at oracle.jbo.html.jsp.datatags.CommitTag.doStartTag(CommitTag.java:45)
at jsp_servlet.__appointment_add_proc._jspService(__appointment_add_proc.java:498)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:304)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
The AtyId is defined as surrogate key. sequence number
It is strange. This field is a defined DBSequence number and should be automaticaly incremented each new record.
At the "old" version it was working and with the upgrade, not more.
Should one new parameter be defined to have it running again?
ThanksA bug 2535331 was reported for this issue:
The bug was in 902 that BC4J did not enforce null checks for domains properly. In 903 it does and that leads to validation failure in DBSequence case as in this case, the DB value for the domain is null as database generates the right value for new entities. To fix that when you open/close the Entity-editor it re-establishes the domain settings on the attribute leading it to be non-mandatory.
In JDev 903, Entity editor should not allow DBSequence domains to be "checked" as "Mandatory"
A known workaround is to visit all such entities that have DBSequence attribute marked as mandatory and open/finish editor so that attribute properties for the DBsequence attribute is regenerated and the wizard takes off the mandatory setting.
You may say that the migration/upgrade process should have 'fixed' this and we missed that boat on this issue. -
Got a Portal runtime error while using JSPDynepage
Hi,
Please help me out in the this error which I got when I tried to run the component developed based on JSPDynePage. I developed the component in the Developer Studio (version 2.0.4) in my local machine, built the project and deployed in the remote server using the option "Quick PAR Upload".
It says JSP file could not be found.
Thanks in advance
Sushma
<b>Portal Runtime Error
An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
Cannot find JSP file: JSPFileInfo :27242692 JSP File : D:\usr\sap\NPL\JC03\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\Bean_Test1\pagelet\BeanJsp.jsp Class Name: sapportalsjspBeanJsp Java File : D:\usr\sap\NPL\JC03\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\Bean_Test1\work\pagelet\_sapportalsjsp_BeanJsp.java Package Name : pagelet Class File : D:\usr\sap\NPL\JC03\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\Bean_Test1\work\pagelet\_sapportalsjsp_BeanJsp.class Is out dated : true.
Exception id: 01:45_03/11/04_0004_37482850
See the details for the exception ID in the log file</b>Hi,
I am also facing the same problem.
1) EP6 SP7
2) As mentioned in the error message there is no work directory in the mentioned path.
3) Please find beow portalapp.xml and log file.
<B>
<?xml version="1.0" encoding="utf-8"?>
<application>
<application-config>
<property name="SharingReference" value="com.sap.portal.htmlb"/>
</application-config>
<components>
<component name="default">
<component-config>
<property name="ClassName" value="Ex1"/>
<property name="SecurityZone" value="Ex1/low_safety"/>
</component-config>
<component-profile>
<property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
</component-profile>
</component>
</components>
<services/>
</application>
</B>
Exception:
#1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
Component : Ex1.default
Component class : Ex1
User : Administrator
at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:444)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:109)
at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:627)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:337)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:315)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:815)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:238)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:151)
Caused by: com.sapportals.portal.prt.component.PortalComponentException: Cannot find JSP file: JSPFileInfo :16447115
JSP File : D:
usr
sap
P66
JC00
j2ee
cluster
server0
apps
sap.com
irj
servlet_jsp
irj
root
WEB-INF
portal
portalapps
Ex1
pagelet
Ex1.jsp
Class Name: sapportalsjspEx1
Java File : D:
usr
sap
P66
JC00
j2ee
cluster
server0
apps
sap.com
irj
servlet_jsp
irj
root
WEB-INF
portal
portalapps
Ex1
work
pagelet
_sapportalsjsp_Ex1.java
Package Name : pagelet
Class File : D:
usr
sap
P66
JC00
j2ee
cluster
server0
apps
sap.com
irj
servlet_jsp
irj
root
WEB-INF
portal
portalapps
Ex1
work
pagelet
_sapportalsjsp_Ex1.class
Is out dated : true
at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:96)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:931)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
... 38 more
#1.5#000C76EEC65400440000000F000001E80003E8A8BBC24BD7#1100236331418#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#Administrator#99#####SAPEngine_Application_Thread[impl:3]_26##0#0#Info##Plain###UserAgentHook: component com.sap.portal.runtime.system.hooks.ErrorComponent supports (*, *, *) #
#1.5#000C76EEC654004400000010000001E80003E8A8BBC250B2#1100236331418#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#Administrator#99#####SAPEngine_Application_Thread[impl:3]_26##0#0#Info##Plain###------PRT AbstractPortalComponent: calling doContent for portal component: com.sap.portal.runtime.system.hooks.ErrorComponent#
#1.5#000C76EEC654005B00000005000001E80003E8A8BC0E32CF#1100236336397#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#Administrator#96#####SAPEngine_Application_Thread[impl:3]_2##0#0#Info##Plain###UserAgentHook: component com.sap.portal.runtime.admin.logviewer.default supports (*, *, *) #
#1.5#000C76EEC654004D0000000C000001E80003E8A8C46CFCDD#1100236476698#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#Administrator#96#####SAPEngine_Application_Thread[impl:3]_0##0#0#Info##Plain###UserAgentHook: component com.sap.portal.runtime.admin.logviewer.default supports (*, *, *) # -
Portal runtime error when trying to create new Iviews in EP
Hi
Require an Urgent help
getting portal runtime error when trying to create a new iView in portal. I am unable to create a single iView in portal.
It was working before please see this error message
Portal Runtime Error
An exception occurred while processing a request for :
iView : com.sap.portal.appintegrator.sap.WebDynproPageBuilder
Component Name : com.sap.portal.appintegrator.sap.WebDynproPageBuilder
Error occurs during the rendering of jsp component.
Exception id: 05:20_12/01/08_0004_17115850
See the details for the exception ID in the log file
AM Iworking on NW2004s sp11. I was able to create iViews on this system before
let me know where to check the log file also. Points will be awarded
Thank you
Krishna Kanth
Edited by: siddi siddi on Jan 13, 2008 12:05 AMKrishna Kanth,
logs can be read from nwa, if you hv the relevant access or get portal admin to pass the defaulttrace file to you. Login to nwa, navigate to Monitoring-Logs and traces and select (either default trace or last 24hrs) to view the logs. hope this helps
prachi -
HR runtime error on agent login/logout
Good afternoon.
Has anyone run in a a runtime error when running agent login/logout reports? I am unable to run this report.
a runtime error occurred while executing the inquiry. i know there used to be bugs on this but.
uccx, ha, 8.5.1. i have included the log. Thank you for any assistance.I removed my deployments from the remote OC4J server and removed deployment entries from http-web-site.xml and server.xml. I redeployed my simpleJSP bibean application to my local and remote OC4J server. It works locally but fails now with this new error:
javax.servlet.jsp.JspException: BIB-10310 An unknown exception occurred.
BIB-10101 Handler failed to handle UserObject.
oracle.bali.ewt.elaf.windows.WindowsEWTPagingComponentUI
at oracle.dss.addins.jspTags.PresentationTag.doStartTag(PresentationTag.java:254)
at simpleJSP.jspService(_simpleJSP.java:72)
[SRC:/simpleJSP.jsp:6]
at com.orionserver[Oracle9iAS (9.0.2.0.0) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:508)
Regards,
Dan
Maybe you are looking for
-
Issue with server startup - no errors, the logging just stops
Hello, we are seeing the following logs in our second node instance of Weblogic. I have Wily and can see that the second instance (jvm) never comes up. Below is the log in it's entirety and as you can see, there is nothing after the line: <Dec 17, 20
-
Masking sensitive fields during display
We want to mask some sensitive fields such as bank account number, social security number, credit card number etc during display based on an authority check. The displayed values, if not authorized, may look something like *****1234 or 1234***** with
-
Any good opensource / free image APIs out htere
Ive used JAI, but do you guys know any APIs out there that handle media files like images and perhaps movies. I am looking to use something that is perhaps better/easier to use in some ways then JAI
-
[SOLVED] pacman.conf simple line error or... ?
So here's what happened: I was trying to enable the [multilib] repository. (As according to https://wiki.archlinux.org/index.php/Multilib). Thus, I went ahead and uncommented the following from /etc/pacman.conf: [multilib] SigLevel = PackageRequired
-
Submitting an image file for indexing generates the tokens "IMAGE" and "1"
This is a problem because the user is able to submit any file through a web interface, and we want to determine when there is zero output from the indexing process so we can warn the user that the file they submitted has no indexable content. I'd rat