Runtime error: Creating a simple resource in a CM repository
Hi All,
I am trying to create a simple Resource & a collection in a CM repository without properties.
<b>The list of my imports is as follows:</b>
import com.sapportals.htmlb.event.Event;
import com.sapportals.htmlb.page.DynPage;
import com.sapportals.htmlb.page.PageException;
import com.sapportals.portal.htmlb.page.JSPDynPage;
import com.sapportals.portal.htmlb.page.PageProcessorComponent;
import com.sapportals.portal.prt.component.IPortalComponentProfile;
import com.sapportals.portal.prt.component.IPortalComponentRequest;
import com.sapportals.wcm.repository.ICollection;
import com.sapportals.wcm.repository.IResource;
import com.sapportals.wcm.repository.IResourceContext;
import com.sapportals.wcm.repository.ResourceContext;
import com.sapportals.wcm.repository.ResourceFactory;
import com.sapportals.wcm.util.uri.RID;
<b>I have written the following code:</b>
IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
com.sapportals.portal.security.usermanagement.IUser user =
(com.sapportals.portal.security.usermanagement.IUser) request.getUser().getUser();
<b>/* This is as per KM - Java iView - User Authentication */</b>
try {
IResourceContext context = new ResourceContext(user);
RID rid = RID.getRID("/documents/test");
ICollection parent = (ICollection) ResourceFactory.getInstance().getResource(rid, context);
IResource resource = parent.createResource("file", null, null);
} catch (Exception e1) {
// problem while retrieving the resource
<b>I am getting a portal Runtime error. The following is its error log:</b>
Exception ID:07:49_28/06/05_0002_3055650
[EXCEPTION]
#1#com.sapportals.portal.prt.runtime.PortalRuntimeException: PortalRuntimeException
at com.sapportals.portal.prt.core.PortalRequestManager.handleRequestException(PortalRequestManager.java:921)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:803)
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:340)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
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:162)
<i><b>Caused by: java.lang.NoClassDefFoundError: com/sapportals/wcm/repository/IResourceContext</b></i>
at com.satyam.dynpage.MyDynpage.getPage(MyDynpage.java:23)
at com.sapportals.portal.htmlb.page.PageProcessorComponent.getPage(PageProcessorComponent.java:193)
at com.sapportals.portal.htmlb.page.PageProcessorComponent.doOnNodeReady(PageProcessorComponent.java:62)
at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388)
at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369)
at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:642)
... 21 more
I don't know why am i getting an exception.
Please help me in this regard.
Thanks in advance.
<b>Regards,
Sai Krishna.</b>
You need to put a sharing reference for "com.sap.km.application" in your portalapp.xml. Check out the following portalapp.xml. You can either put
"com.sap.km.application" or "knowledgemanagement".
<application>
<application-config>
<property name="PrivateSharingReference" value="com.sap.portal.htmlb,com.sap.km.application"/>
</application-config>
<components>
<component name="links_tree">
<component-config>
<property name="ClassName" value="com.ust.kmtree.display"/>
<property name="SecurityZone" value="com.ust.kmtree/high_safety"/>
</component-config>
<component-profile>
<property name="path" value="/documents/prakash"/>
<property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
</component-profile>
</component>
</components>
<services/>
</application>
Similar Messages
-
SAP ERP E-commerce E-selling Runtime error creating a order
Hi Gurus,
I am working on setting up the E-commerce with SAP ERP as back end. I did the XCM configuration. I was able to log on to the applications both B2B and B2C -- navigate through Product catalog and other areas.But when I try creating a order (shopping basket) I get the following error
+*! Runtime Errors
i Contact the administrator*+
I have the same issue for both the applications B2B and B2C. for some reason it is not able to access the r/3 order (if I am not worng).
Point will be rewarded for helpful suggestion
Thank youHi sumit,
sorry for the delay . here is part of the session log. Hope you will be able to figure out some thing.
Thank you
2002 Jul 8, 2008 3:33:37 PM SAPEngine_Application_Thread[impl:3]_13 Path com.sap.isa.ui.uiclass.MessageUI Exiting method
2003 Jul 8, 2008 3:33:37 PM SAPEngine_Application_Thread[impl:3]_13 Debug com.sap.isa.core.util.HttpServletRequestFacade HttpServletRequestFacade created
2004 Jul 8, 2008 3:33:37 PM SAPEngine_Application_Thread[impl:3]_13 Error com.sap.isa.core.util.MessageListDisplayer An exception has occurred: java.lang.ClassCastException
2005 at com.sap.isa.catalog.webcatalog.WebCatItemList.aggregateUnits(WebCatItemList.java:639)
2006 at com.sap.isa.catalog.webcatalog.WebCatItemList.populate(WebCatItemList.java:346)
2007 at com.sap.isa.catalog.webcatalog.WebCatItemList.populate(WebCatItemList.java:218)
2008 at com.sap.isa.catalog.webcatalog.WebCatItemList.setQuery(WebCatItemList.java:190)
2009 at com.sap.isa.catalog.webcatalog.WebCatItemList.<init>(WebCatItemList.java:105)
2010 at com.sap.isa.businessobject.SalesDocument.searchItemInCatalog(SalesDocument.java:699)
2011 at com.sap.isa.businessobject.SalesDocument.populateItemsFromCatalog(SalesDocument.java:509)
2012 at com.sap.isa.backend.db.SalesDocumentDB.updateInBackend(SalesDocumentDB.java:3890)
2013 at com.sap.isa.businessobject.SalesDocument.update(SalesDocument.java:1269)
2014 at com.sap.isa.isacore.action.order.MaintainBasketBaseAction.updateSalesDocument(MaintainBasketBaseAction.java:683)
2015 at com.sap.isa.isacore.action.order.MaintainBasketRefreshAction.basketPerform(MaintainBasketRefreshAction.java:80)
2016 at com.sap.isa.isacore.action.order.MaintainBasketBaseAction.isaPerform(MaintainBasketBaseAction.java:998)
2017 at com.sap.isa.isacore.action.IsaCoreBaseAction.ecomPerform(IsaCoreBaseAction.java:343)
2018 at com.sap.isa.isacore.action.EComBaseAction.doPerform(EComBaseAction.java:353)
2019 at com.sap.isa.core.BaseAction.execute(BaseAction.java:211)
2020 at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
2021 at com.sap.isa.core.RequestProcessor.processActionPerform(RequestProcessor.java:674)
2022 at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
2023 at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:391)
2024 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
2025 at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)
2026 at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
2027 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
2028 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
2029 at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
2030 at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
2031 at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
2032 at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
2033 at com.sap.isa.core.RequestProcessor.processForwardConfig(RequestProcessor.java:267)
2034 at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
2035 at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:391)
2036 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
2037 at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)
2038 at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
2039 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
2040 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
2041 at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
2042 at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
2043 at com.tealeaf.capture.LiteFilter.doFilter(Unknown Source)
2044 at com.sap.isa.isacore.TealeafFilter.doFilter(TealeafFilter.java:61)
2045 at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
2046 at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:384)
2047 at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
2048 at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
2049 at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
2050 at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
2051 at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
2052 at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
2053 at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
2054 at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
2055 at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
2056 at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
2057 at java.security.AccessController.doPrivileged(Native Method)
2058 at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
2059 at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
2060
2061 .
2062 [EXCEPTION]
2063 java.lang.ClassCastException
2064 at com.sap.isa.catalog.webcatalog.WebCatItemList.aggregateUnits(WebCatItemList.java:639)
2065 at com.sap.isa.catalog.webcatalog.WebCatItemList.populate(WebCatItemList.java:346)
2066 at com.sap.isa.catalog.webcatalog.WebCatItemList.populate(WebCatItemList.java:218)
2067 at com.sap.isa.catalog.webcatalog.WebCatItemList.setQuery(WebCatItemList.java:190)
2068 at com.sap.isa.catalog.webcatalog.WebCatItemList.<init>(WebCatItemList.java:105)
2069 at com.sap.isa.businessobject.SalesDocument.searchItemInCatalog(SalesDocument.java:699)
2070 at com.sap.isa.businessobject.SalesDocument.populateItemsFromCatalog(SalesDocument.java:509)
2071 at com.sap.isa.backend.db.SalesDocumentDB.updateInBackend(SalesDocumentDB.java:3890)
2072 at com.sap.isa.businessobject.SalesDocument.update(SalesDocument.java:1269)
2073 at com.sap.isa.isacore.action.order.MaintainBasketBaseAction.updateSalesDocument(MaintainBasketBaseAction.java:683)
2074 at com.sap.isa.isacore.action.order.MaintainBasketRefreshAction.basketPerform(MaintainBasketRefreshAction.java:80)
2075 at com.sap.isa.isacore.action.order.MaintainBasketBaseAction.isaPerform(MaintainBasketBaseAction.java:998)
2076 at com.sap.isa.isacore.action.IsaCoreBaseAction.ecomPerform(IsaCoreBaseAction.java:343)
2077 at com.sap.isa.isacore.action.EComBaseAction.doPerform(EComBaseAction.java:353)
2078 at com.sap.isa.core.BaseAction.execute(BaseAction.java:211)
2079 at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
2080 at com.sap.isa.core.RequestProcessor.processActionPerform(RequestProcessor.java:674)
2081 at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
2082 at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:391)
2083 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
2084 at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)
2085 at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
2086 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
2087 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
2088 at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
2089 at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
2090 at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
2091 at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
2092 at com.sap.isa.core.RequestProcessor.processForwardConfig(RequestProcessor.java:267)
2093 at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
2094 at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:391)
2095 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
2096 at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)
2097 at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
2098 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
2099 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
2100 at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
2101 at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
2102 at com.tealeaf.capture.LiteFilter.doFilter(Unknown Source)
2103 at com.sap.isa.isacore.TealeafFilter.doFilter(TealeafFilter.java:61)
2104 at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
2105 at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:384)
2106 at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
2107 at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
2108 at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
2109 at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
2110 at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
2111 at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
2112 at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
2113 at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
2114 at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
2115 at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
2116 at java.security.AccessController.doPrivileged(Native Method)
2117 at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
2118 at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
2119
2120
2121 Jul 8, 2008 3:33:37 PM SAPEngine_Application_Thread[impl:3]_13 Debug com.sap.isa.businessobject.ipc.imp.DefaultIPCBOManager BO Catalog released -
Error creating a simple polygon with lat/lon
Hello,
When I validate the result of the following code used to insert a polygon, I get oracle error 13050 - Contact Oracle. If I change the order of the points, I get error 13349 - Polygon crosses itself, so I feel I have the points in the correct order. Any ideas why this polygon won't validate to true?
insert into tblname values(
(mdsys.sdo_geometry(2003,null,null,
mdsys.sdo_elem_info_array(1,1003,1),
mdsys.sdo_ordinate_array
(-89.228298,42.916663,
-89.344087,43.247025,
-89.016191,43.33739,
-88.912663,43.079601,
-89.02033,43.008463,
-89.228298,42.916663))
), field 2, 'field3')
Thanks for any thoughts,
DavidBruce,
I was attempting solve a business/spatial problem the wrong way, based on limited experinece with Oracle spatial.
I need to create a convex hull polygon from a splatering of points. (for sake of arguement, lets say the points are salesmans locations and there will be approx 2,000 salesmans locations. I need to create a convex hull of these 2000 points).
My initial thought was to use the points as input to making a polygon. I was then going to use this polygon as input to making the convex hull. In order to make a valid polygon to feed into the generation of the convex hull, the points have to be in such an order so there are no crossing lines and the polygon closes itself, when creating a polygon.
I have since been given the suggestion of using my ponits as input to making a linestring geometry, and then using this linestring geometry as input to creating a convex hull.
Hope this explains my thought process. Thanks for your input.
David
null -
We're using iWS 6.0. Is there some security configuration that needs to be done in order to use standard security directives in our web application's web.xml?
Thanks!Hi ,
I have tried adding the following into web.xml but the security feature just doesnt work and the user can go to any page without any restriction.
<security-constraint>
<web-resource-collection>
<web-resource-name>Declarative Security Test</web-resource-name>
<url-pattern>/SuperServlet</url-pattern>
<url-pattern>/*</url-pattern>
<http-method>post</http-method>
<http-method>get</http-method>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
<auth-constraint>
<role-name>guest</role-name>
<role-name>member</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
<security-role>
<role-name>guest</role-name>
<role-name>member</role-name>
</security-role>
The roles mentioned above have been added correctly into tomcat-users.xml..The version of tomcat I am using is tomcat5.0.28.Please help. -
LSO_PSV2 - Create /w Resources freezing, ABAP runtime error, TIME_OUT
Hello Experts,
I have an individual user that is a part of a team that manages our LSO environment. He is experiencing a problem when performing a "Create with resources" on an instructor-led course.
After choosing this option his session just spins but never enters the course details screen as expected.
After anywhere from 15 - 30min the session returns an ABAP runtime error of "TIME_OUT". The error details state that the time out for ABAP programs is set to 3000sec (50min). The odd thing is that the program never reaches the 50 min marks but still throws the error.
The user is able to select the "create w/o resources" option and get to the next screen as expected.
I have run security traces (ST01) on his account and all looks fine (rc=0)
He is one of several people that executes this transaction but is the only user that is receiving this issue. The team is assigned to the same position and shares the same PD profile. They share the same security roles and the same ABAP program is being run.These users are a third party vendor that remote in via citrix desktop.
I have had our Basis team exam the ABAP runtime error and what is happening behind the scenes as this runs and they see no indication that the program is retrieving data even though it processes for a long time.
Obviously this is a complex issue, I have searched for two weeks with no success. Any thoughts, suggestions are more than welcome at this point as the user is unable to perform needed work functions.Any solution on this one? I have the same problem with LSO_PSV2 :/
-
Portal runtime error on creating Travel Request
I have copied the standard ESS Role and created my own ESS Role. I then assigned this to my portal user.
Then when I log into the portal as the user and click on "Create Travel Request" or "Create Expense Report" URLs, I get the following error:
Portal runtime error.
An exception occurred while processing your request. Send the exception ID to your portal administrator.
Exception ID: 04:53_02/02/10_0021_23623650
Refer to the log file for details about this exception.
Is there any portal/IMG setup that is missing? Or any authorization missing?Thanks I made changes to Resources node in IMG.
Before making these changes I was getting the following error:
Portal Runtime error. An exception occured while processing your request... Exception ID:.... Refer to log for details....
I just changed the URL of PCD page in the Resources node.
Note:
(1) In Portal I have made my own folder structure:
-> Portant Content
-->My Travel Setup
--->Employee Self-Service
>Roles
>MyTravelESS (role copy of the original Portal ESS role, Delta link. i.e. ESS role under End User Content-->Employee Self-Service)
(2) I have not copied the iviews, pages worksets etc. under my new folder structure.
But Now I am getting another error:
500 Internal Server Error...
Root Cause
The initial exception that caused the request to fail, was:
com.sapportals.portal.prt.runtime.PortalRuntimeException: Failed in WD JNDI lookup. javax.naming.NameNotFoundException: No child found in WebDynproContext with name base -
Runtime Error ( EXPORT_NO_SHARED_MEMORY ) while creating order in CRM
Hi All,
i am getting runtime error while creating order in CRMD_ORDER. details of error is provided below
Runtime Errors EXPORT_NO_SHARED_MEMORY
Exception CX_SY_EXPORT_NO_SHARED_MEMORY
Date and Time 29.01.2009 02:07:58
Short text
Der EXPORT-Datencluster ist zu groß für das SHARED MEMORY.
What happened?
The current program had to be terminated because
a capacity limit has been reached.
What can you do?
Please make a note of the actions and input which caused the error.
To resolve the problem, contact your
SAP system administrator.
Select the "Print" function to obtain a hardcopy of the
current termination message.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_EXPORT_NO_SHARED_MEMORY', was
not caught in
procedure "CRM_EVENT_PUBLISH_OW" "(FUNCTION)", nor was it propagated by a
RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
This is probably due to a very large dataset, for which there are
insufficient resources in your installation.
Das SHARED MEMORY kann Objekte nur bis zu einer bestimmten Maximalgröße
speichern (1) und hat selbst eine beschränkte Größe (2).
In diesem Fall wurde die Größe 2 überschritten.
to correct the error
Mit den Profilparametern rsdb/esm/buffersize_kb und
rsdb/esm/large_object_size kann man diese Größen verändern.
Informationen über diese Parameter erhalten Sie mit der
Transaktion RZ11.
Beachten Sie jedoch, dass aus Performancegründen ein einzelnes
Objekt nicht den größten Teil des Puffers belegen darf, so dass die
maximal zulässige Objektgröße erheblich unter der Gesamtgröße des
Puffers liegt.
The exception must either be prevented, caught within proedure
"CRM_EVENT_PUBLISH_OW" "(FUNCTION)", or its possible occurrence must be
declared in the
RAISING clause of the procedure.
To prevent the exception, note the following:Hello Sudhir,
Have you set the user parameter CRM_EVENT_TRACE as one of your personal
user settings? If this is the case, remove this parameter and the dump will no longer occur. The parameter is intended for test purposes only, for a report which evaluates
which events are published and which function modules are called as a
result of these events. However, depending on system settings, the
allocated memory may be too low and lead to the short dump.
(CRM_EVENT_TRACE is the report which can execute in SE38.)
Regards, Gerhard -
Error while creating a simple trigger in Oracle8i Lite
Hi,
I have Oracle8i Lite release 4.0.
I want to create a simple trigger on 8i Lite.
first I created .java file and got the .class file after successful compilation.
The .class file is sitting in my local C:\ drive.
I have a table having only two columns in 8i Lite and the structure is
TABLE : SP
ACC_NO NUMBER,
ACC_DESC VARCHAR2(20)
Then I issued the command :
SQL> ALTER TABLE SP ATTACH JAVA SOURCE "JournalInst" in '.';
After that getting the following error :
alter table sp attach java source "JournalInst" in '.'
ERROR at line 1:
OCA-30021: error preparing/executing SQL statement
[POL-8028] error in calling a java method
Following is the cause/action for the error code :
POL-8028 Error in calling a Java method
Cause: Most commonly refers to a problem when converting between Java and Oracle Lite datatypes.
Action: Check the calling parameters.
I can't understand where I am wrong ?
Could anybody help me out ?
Here is my source code of .java file
import java.lang.*;
import java.sql.*;
class JournalInst {
public void INSERT_JOURNAL(Connection conn, double AccNo, String AccDesc)
System.out.println("Record Inserted for :"+AccNo +" "+AccDesc);
Thanks in advance for solutions.
Sarada
nullI just started with 8i Lite, but as far as I know 8i Lite does not support PL/SQL code.
So you have to write your triggers and stored procedures in Java.
Ciao -
Error while creating a simple function, procedure or triger in Oracle8i Lite
Hi,
I have Oracle8i Lite release 4.0.
While creating a simple proceudre/function/trigger on the database, it's throwing the following error:
create or replace function test return number is
ERROR at line 1:
OCA-30021: error preparing/executing SQL statement
[POL-5228] syntax error
Here is my sample code.
create or replace function test return number is
begin
return 0;
end;
Tried to create the same function in the user SYSTEM too but got the same error message.
Thanks in advance for the soluton.
nullI just started with 8i Lite, but as far as I know 8i Lite does not support PL/SQL code.
So you have to write your triggers and stored procedures in Java.
Ciao -
Runtime error in LSMW to create Material Master
Hi all,
I am trying to create Material No. using direct input method in lsmw. The program name is RMDATIND. But while executing the last step i.e Start Direct input program I am getting a runtime error
"A RAISE statement in the program "SAPLMG25" raised the exception
condition "NOT_FOUND".
Since the exception was not intercepted by a superior
program, processing was terminated."
I have checked all the steps of lsmw. Any idea why this specific error is coming?Are you able to create the material manually with the data. If you have checked the basic data view then i would check to see if base unit of measure is mandatory and if its being passed/mapped properly for the material you are creating.
-
Portal Runtime Error while creating new system in portal content
Hi
Can anyone solve my problem, i am geting error while creating new system in p ortal content
Portal Runtime Error
An exception occurred while processing a request for :
iView : pcd:portal_content/com.sap.pct/admin.templates/iviews/editors/com.sap.portal.templateSelection
Component Name : com.sap.portal.admin.templateselectionwizard.default
com/sap/portal/iviewserver/cache/OClass.
Exception id: 11:29_26/12/06_0014_5891950
See the details for the exception ID in the log fileHi,
Check this link for creating system object
http://help.sap.com/bp_epv260/EP_EN/documentation/EP/N03_BB_InstallGuide_EN_US.doc
Regards
Arun -
Portal runtime error while creating users in portal content administrator
I am getting this error while creating new users in portal.
Portal Runtime Error
An exception occurred while processing a request for :
iView : pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.user_administration/com.sap.portal.user_admin_ws/com.sap.portal.user_management/com.sap.portal.createNewUser/com.sap.portal.createNewUser
Component Name : com.sap.portal.usermanagement.admin.CreateNewUser
com/sap/security/core/util/imp/Util.patternMatch(Ljava/lang/String;Ljava/lang/String;Z)Z.
Exception id: 03:51_27/08/08_0028_7431850
See the details for the exception ID in the log file
any help is appreciated...log file look something like
this
2,5,PRT-Async]##0#0#Error#1#/System/Server#Java###Exception in PortalRequestManager.dispatchRequest without timeout
[EXCEPTION]
#1#java.lang.NoSuchMethodError: com/sap/security/core/util/imp/Util.patternMatch(Ljava/lang/String;Ljava/lang/String;Z)Z
at com.sap.security.core.admin.util.checkEmail(util.java:110)
at com.sap.security.core.admin.UserBean.checkFieldValidity(UserBean.java:695)
at com.sap.security.core.admin.UserBean.checkUser(UserBean.java:591)
at com.sap.security.core.admin.UserAdminLogic.performUserModify(UserAdminLogic.java:3226)
at com.sap.security.core.admin.UserAdminLogic.executeRequest(UserAdminLogic.java:552)
at com.sapportals.portal.prt.component.usermanagement.admin.UserAdminComponent.doContent(UserAdminComponent.java:71)
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:377)
at java.security.AccessController.doPrivileged(AccessController.java:241)
at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:390)
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:758)
#1.5#001125A6576A008C00000015000550E2000455943BAE9D63#1219995051656#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#Administrator#197794##irconepd_EPD_7431850#Administrator#f4d062d0759411ddb89b001125a6576a#Thread[PRT-Async 2,5,PRT-Async]##0#0#Error#1#/System/Server#Java###Exception ID:01:00_29/08/08_0043_7431850
[EXCEPTION]
#1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
Component : pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.user_administration/com.sap.portal.user_admin_ws/com.sap.portal.user_management/com.sap.portal.userSearch/com.sap.portal.userSearch
Component class : com.sapportals.portal.prt.component.usermanagement.admin.UserAdminComponent
User : Administrator
at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:377)
at java.security.AccessController.doPrivileged(AccessController.java:241)
at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:390)
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:758)
Caused by: java.lang.NoSuchMethodError: com/sap/security/core/util/imp/Util.patternMatch(Ljava/lang/String;Ljava/lang/String;Z)Z
at com.sap.security.core.admin.util.checkEmail(util.java:110)
at com.sap.security.core.admin.UserBean.checkFieldValidity(UserBean.java:695)
at com.sap.security.core.admin.UserBean.checkUser(UserBean.java:591)
at com.sap.security.core.admin.UserAdminLogic.performUserModify(UserAdminLogic.java:3226)
at com.sap.security.core.admin.UserAdminLogic.executeRequest(UserAdminLogic.java:552)
at com.sapportals.portal.prt.component.usermanagement.admin.UserAdminComponent.doContent(UserAdminComponent.java:71)
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)
... 7 more -
Portal Runtime Error when creating a new iView
Hi, all.
Our env is like the following.
EP 2004s(7.0) SPS07
From the Content Administration, when we try to create new iView, we
sometimes(these days frequently!) got the following error.
Portal Runtime Error
An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
The exception was logged. Inform your system administrator..
Exception id: 09:51_16/05/06_0062_9690550
See the details for the exception ID in the log file
And the detail in the defaultTrace.trc says like the following.
Exception ID:09:51_16/05/06_0062_9690550
[EXCEPTION]
com.sapportals.portal.prt.runtime.PortalRuntimeException: PortalRuntimeException
at com.sapportals.portal.prt.core.PortalRequestManager.handleRequestException(PortalRequestManager.java:921)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:803)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
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:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:316)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:372)
at com.sapportals.appdesigner.appdesignerfw.TabContentComponent.doOnNodeReady(TabContentComponent.java:110)
at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388)
at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369)
at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:642)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
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:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
Does anyone have any idea or advice?
Best Regards.Sejoon,
Does this happen for only specific users? Or is it global and apparent for all users?
Regards,
James -
Runtime error while creating material master data
hello sir,
i am facing one prolem while creating MATERIAL MASTER DATA.
AFTER GIVING ALL REQUIRED INFORMATION WHEN I AM GOING TO SAVE THE DOCUMENT ITS SHOWING ABAP RUNTIME ERROR.
MESSAGE TYPE: - MDS_KEYMAP.
MESSAGE CLASS: 001.
PLEASE TELL ME WHAT TO DO?
REGARDS..SIR THANK YOU FOR YOUR REPLY.
I ALREADY DONE THAT DUMP ANALYSIS.
SO PLEASE KINDLY GIVE ME IN DETAILS ABOUT THAT SOLUTION... -
RUNTIME ERROR WHILE CREATING NEW SYSTEM IN EP6
Hi
Can anyone solve my problem, i am geting error while creating new system PORTAL FOR to connect biw 3.5 system
Portal Runtime Error
An exception occurred while processing a request for :
iView : pcd:portal_content/com.sap.pct/admin.templates/iviews/editors/com.sap.portal.templateSelection
Component Name : com.sap.portal.admin.templateselectionwizard.default
com/sap/portal/iviewserver/cache/OClass.
Exception id: 11:29_26/12/06_0014_5891950
See the details for the exception ID in the log file
thanks in advance
Rockhi,
check the log file and let me the the error.
manish
Maybe you are looking for
-
Just installed CS5 - every file I open shows up as a BLACK screen
I'm a complete novice (been using PhotoShop 6.0 until today). Every file I try to open up (.psd .jpg .tif) I can't see the photo - can only see BLACK within the window. Shows filename just fine. Under "Layers" next to "Background" I can see the th
-
How do I find the newest version of MediaSource to downlo
I've been trying to get my Nomad Jukebox Zen Xtra (40 GB) to be recognized by my xbox 360, and I hear I have to download the latest firmware. So I download the first Playsforsure firmware and I see a 2nd one on the list that says to download that one
-
Cinema 23" - is this normal/acceptable?
Hi, with a black background, the backlight is "bleeding" from the bottom. (see the picture: http://axu2.dnsalias.com/~axu/cinema.jpg ) there is total of 7 green, red and blue stuck pixels - but only 3 of them are barely visible other than totally bla
-
Share favorite places or googleearth placemarks wi...
Hi, I have a E55 and think ovi maps is really very good for navigating around. However I have one "problem": In maps there are favorites which help to define places you can navigate to. However I also have placemarks in google earth and would like to
-
Hi All, Employee Mass Photo upload: Is there any functional way for doing same like Tcode: OAAD/ We dont need any technical team to involve in this photo load Please let me know any thread related to this. Appreciating immediate response SD