Bookmark method for a page is not getting called
Hi,
I am developing a simple ADF application which contains two jspx pages, in JDEVELOPER 11g (build JDEVADF_MAIN_GENERIC_080910.1420.5124).
I have a commandLink in Page1 which takes me to the Page2.I have a bookmark method for Page2, which gets called when I load the page.
When I access the Page2 directly,the corresponding bookmark method is getting called.But when I navigates it through commandLink provided in Page1,the bookmark method is not getting called.
Page1.jspx:
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document maximized="true">
<af:form>
<af:commandLink text="Go to Page2" action="page2" />
</af:form>
</af:document>
</f:view>
</jsp:root>
Page2.jspx:
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
xmlns:bib="http://xmlns.oracle.com/dss/adf/faces">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document maximized="true">
<af:form>
<af:outputText value="This is Page2"/>
</af:form>
</af:document>
</f:view>
</jsp:root>
adfc-config.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
<view id="page1">
<page>/page1.jspx</page>
</view>
<view id="page2">
<page>/page2.jspx</page>
<bookmark>
<method>#{mBean.bookMarkMethod}</method>
</bookmark>
</view>
<control-flow-rule>
<from-activity-id>page1</from-activity-id>
<control-flow-case>
<from-outcome>page2</from-outcome>
<to-activity-id>page2</to-activity-id>
</control-flow-case>
</control-flow-rule>
<managed-bean>
<managed-bean-name>mBean</managed-bean-name>
<managed-bean-class>view.ManagedBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
</adfc-config>
ManagedBean.java:
public class ManagedBean {
public ManagedBean() {
super();
public void bookMarkMethod() {
System.out.println("Inside bookmark method");
Please look into this...........
Hi Frank,
I need to provide the af:commandLink inside af:table component and the values which I pass to page2 depends on the row I select at runtime.
so,I am trying to use ad:setActionListener inside af:commandLink.
If I use FacesContext.getCurrentInstance.getExternalContext.redirect() inside the actionListener of af:commandLink, I need to extract all the required values in the actionListener.
Isn't there any way so that, I can pass the values using af:setActionListener inside af:commandLink and a method ( which will initialise the managed bean) will be called when page2 loads ???
Regards,
Lokesh.
Similar Messages
-
I am part of a family sharing setup. Can I have my own payment method so the organizer does not get charged for my purchases? If so, how do I set this up?
Yes. Just redeem gift cards so that your own account always has a sufficient credit balance. Here is how it works:
Family purchases and payments
After you set up your family, any time a family member initiates a new purchase it will be billed directly to your account unless that family member has gift or store credit. First, their store credit will be used to pay the partial or total bill. The remainder will bill to the family organizer's card. -
How can I get itunes to download on my PC. I just got an ipod classic for Christmas and can not get Itunes to download. Website goes to downloaded page but i never get a downloading popup. I even turned off my popup blocker.
Make an appointment at the genius bar.
If you went without an appointment, then it would make sense that you could be turned away. -
Getter & Setter Method not getting called for a field enhanced through AET
Hello,
I am new to SAP CRM 7.0 and working on a requirement.
A Z-field was added by our functional guy in CRM 7.0 WebGui through AET in the 'Create Opportunity' transaction (Header data).
Now the requirement is, as soon as the opportunity is created through the WebGui, I should post a document in R/3 and paste that document number back to the enhanced Z-field in opportunity.
Work done by me:
I pressed F2 on the enhanced Z-field in the WebGui screen and took the details of view, component name etc. After this I went to normal SAP CRM system and open tcode "BSP_WD_CMPWB", located the corresponding view "BT111H_OPPT/Details" and right clicked & enhanced the same.
Then I opened the structure of this view, expanded context node, located context "BTOPPORTH" and inside this, located my Z-attribute. Now right clicked on the Z-attribute & selected the option "Generate SETTER & GETTER Methods" and these were generated successfully.
Problem:
The problem is even after putting external break points in these methods, these methods are not getting called while creating, modifying & displaying the Opportunity in WebGui.
I hope that for the requirements that I have, I have to do the coding in "Getter & Setter" methods. But since these are not getting called, I am unable to proceed.
Please help/suggest how to achieve this.
Thanks in anticipation.
Best Regards,
Rahul MalaniHi,
If you can see the field in UI and still get_ method is not being triggered then try to regenerate these methods. If it still doesn't work then please look for SAP notes or raise an OSS.
There should be some note for the issue you faced.
please refer:
Help Needed immediately - AET getter setter methods not getting triggered
Regards,
BJ -
Input value given on web page is not getting pickedup in event handler
Hi friends,
I have created one simple page in SE80 with program with flow logic option, in which I would like to show business partner details from BUT000 table with the input of partner number. But the thing is the input value(partner no.)which I am giving on web page is not getting picked up in selection in event handler though I am giving input value it is becoming initial while selecting. What could be the reason?
Below I am mentioning the code which I have written in even handler for OnInputProcessing event.
CASE EVENT_ID.
WHEN 'select'.
NAVIGATION->SET_PARAMETER( 'partner' ).
SELECT * FROM but000 INTO TABLE I_but000 WHERE partner BETWEEN partner AND partner1.
WHEN OTHERS.
ENDCASE.
Thanks in advance,
SteveHi Abhinav,
I tried with the one you posted. But it is giving run time error as shown below.
Note
The following error text was processed in the system CRD : Access via 'NULL' object reference not possible.
The error occurred on the application server crmdev_CRD_00 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: ONINPUTPROCESSING of program CLO24DDFJW575HVAQVJ89KWHEHC9OCP
Method: %_ONINPUTPROCESSING of program CL_O24DDFJW575HVAQVJ89KWHEHC9OCP
Method: DO_REQUEST of program CL_BSP_PAGE===================CP
Method: ON_REQUEST of program CL_BSP_RUNTIME================CP
Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_HTTP_EXT_BSP===============CP
Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP
Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
Module: %_HTTP_START of program SAPMHTTP
Regards,
Steve -
EP Login Page is not getting displayed
HI
I modified the
ume.login.guest_user.uniqueids to add some of the annonymous users to the portal using Direct edit of the UM configuration.
I have also changed the index.html file to redirect the anonymopus logon page by changeing the
<drive>:\usr\sap\<SID>\<instance_number>\j2ee\cluster\serverX\apps\sap.com\irj\servlet_jsp\irj\root\index.html
<body onload="location.replace('portal' + document.location.search)"></body>
Change this line to the following:
<body onload="location.replace('servlet/prt/portal/prtroot/com.sap.portal.navigation.portallauncher.anonymous' + cument.location.search)"></body>
Then I started J2ee server.
Since then My logon page is not getting displayed.
In the server console I am getting this error list
Element 671469607 joined. Wed Nov 16 17:23:25 IST 2005
Nov 16, 2005 5:31:21 PM # Client_Thread_3 Fatal Cannot find user
when uniqueID is null!
com.sap.security.api.UMRuntimeException: Cannot find user when uniqueID is null!
at com.sap.security.core.imp.AbstractPrincipalSet.isUserMember(AbstractP
rincipalSet.java:388)
at com.sap.security.core.imp.RoleWrapper.isUserMember(RoleWrapper.java:5
2)
at com.sap.security.core.acl.imp.wcm.jdbc.JDBCAcl.containsPrincipal(JDBC
Acl.java:769)
at com.sap.security.core.acl.imp.wcm.jdbc.JDBCAcl.basicCheckPermission(J
DBCAcl.java:704)
at com.sap.security.core.acl.imp.wcm.jdbc.JDBCAcl.checkPermission(JDBCAc
l.java:510)
at com.sap.security.core.acl.imp.Acl.isAllowed(Acl.java:294)
at com.sapportals.portal.acl.Acl.isAllowed(Acl.java:343)
at com.sapportals.portal.pcd.gl.Acl.isAllowed(Acl.java:278)
at com.sapportals.portal.pcd.gl.AclHandle.isAllowedInt(AclHandle.java:42
3)
at com.sapportals.portal.pcd.gl.AclHandle.isAllowed(AclHandle.java:407)
at com.sapportals.portal.pcd.gl.PcdPersObject.checkPermission(PcdPersObj
ect.java:785)
at com.sapportals.portal.pcd.gl.PcdPersObject.hasPermission(PcdPersObjec
t.java:765)
at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterC
ontext.java:400)
at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdPr
oxyContext.java:1083)
at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookupLink(PcdProxy
Context.java:1170)
at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookup(PcdProxyCont
ext.java:1132)
at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.j
ava:926)
at com.sapportals.portal.pcd.gl.PcdGlContext.lookup(PcdGlContext.java:79
at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.j
ava:919)
at com.sapportals.portal.application.applicationrepository.ParContextFac
tory.getInitialContext(ParContextFactory.java:18)
at com.sapportals.portal.prt.jndisupport.NamingManager.getInitialContext
(NamingManager.java:52)
at com.sapportals.portal.prt.jndisupport.InitialContext.getDefaultInitCt
x(InitialContext.java:39)
at javax.naming.InitialContext.init(InitialContext.java:217)
at javax.naming.InitialContext.<init>(InitialContext.java:193)
at com.sapportals.portal.prt.jndisupport.InitialContext.<init>(InitialCo
ntext.java:24)
at com.sapportals.portal.prt.deployment.DeploymentManager.getEndUserInit
ialContext(DeploymentManager.java:1745)
at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyCon
tentProvider(DeploymentManager.java:1670)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refr
esh(PortalComponentContextItem.java:193)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getC
ontext(PortalComponentContextItem.java:287)
at com.sapportals.portal.prt.component.PortalComponentRequest.getCompone
ntContext(PortalComponentRequest.java:389)
at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(Por
talRequest.java:423)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(P
ortalRequestManager.java:535)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(
ServletConnection.java:208)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatc
her.java:532)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.ja
va:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(Invoker
Servlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServl
et.java:149)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServle
t(ServletsAndJspImpl.java:833)
at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(Re
questAnalizer.java:665)
at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAn
alizer.java:312)
at com.inqmy.services.httpserver.server.Response.handle(Response.java:17
3)
at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServ
erFrame.java:1229)
at com.inqmy.core.service.context.container.session.ApplicationSessionMe
ssageListener.process(ApplicationSessionMessageListener.java:36)
at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
Nested Exception:
com.sap.security.api.NoSuchUserException: Cannot find user when uniqueID is null
at com.sap.security.core.imp.UserFactory.getUser(UserFactory.java:95)
at com.sap.security.core.imp.AbstractPrincipalSet.isUserMember(AbstractP
rincipalSet.java:376)
at com.sap.security.core.imp.RoleWrapper.isUserMember(RoleWrapper.java:5
2)
at com.sap.security.core.acl.imp.wcm.jdbc.JDBCAcl.containsPrincipal(JDBC
Acl.java:769)
at com.sap.security.core.acl.imp.wcm.jdbc.JDBCAcl.basicCheckPermission(J
DBCAcl.java:704)
at com.sap.security.core.acl.imp.wcm.jdbc.JDBCAcl.checkPermission(JDBCAc
l.java:510)
at com.sap.security.core.acl.imp.Acl.isAllowed(Acl.java:294)
at com.sapportals.portal.acl.Acl.isAllowed(Acl.java:343)
at com.sapportals.portal.pcd.gl.Acl.isAllowed(Acl.java:278)
at com.sapportals.portal.pcd.gl.AclHandle.isAllowedInt(AclHandle.java:42
3)
at com.sapportals.portal.pcd.gl.AclHandle.isAllowed(AclHandle.java:407)
at com.sapportals.portal.pcd.gl.PcdPersObject.checkPermission(PcdPersObj
ect.java:785)
at com.sapportals.portal.pcd.gl.PcdPersObject.hasPermission(PcdPersObjec
t.java:765)
at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterC
ontext.java:400)
at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdPr
oxyContext.java:1083)
at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookupLink(PcdProxy
Context.java:1170)
at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookup(PcdProxyCont
ext.java:1132)
at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.j
ava:926)
at com.sapportals.portal.pcd.gl.PcdGlContext.lookup(PcdGlContext.java:79
at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.j
ava:919)
at com.sapportals.portal.application.applicationrepository.ParContextFac
tory.getInitialContext(ParContextFactory.java:18)
at com.sapportals.portal.prt.jndisupport.NamingManager.getInitialContext
(NamingManager.java:52)
at com.sapportals.portal.prt.jndisupport.InitialContext.getDefaultInitCt
x(InitialContext.java:39)
at javax.naming.InitialContext.init(InitialContext.java:217)
at javax.naming.InitialContext.<init>(InitialContext.java:193)
at com.sapportals.portal.prt.jndisupport.InitialContext.<init>(InitialCo
ntext.java:24)
at com.sapportals.portal.prt.deployment.DeploymentManager.getEndUserInit
ialContext(DeploymentManager.java:1745)
at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyCon
tentProvider(DeploymentManager.java:1670)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refr
esh(PortalComponentContextItem.java:193)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getC
ontext(PortalComponentContextItem.java:287)
at com.sapportals.portal.prt.component.PortalComponentRequest.getCompone
ntContext(PortalComponentRequest.java:389)
at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(Por
talRequest.java:423)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(P
ortalRequestManager.java:535)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(
ServletConnection.java:208)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatc
her.java:532)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.ja
va:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(Invoker
Servlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServl
et.java:149)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServle
t(ServletsAndJspImpl.java:833)
at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(Re
questAnalizer.java:665)
at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAn
alizer.java:312)
at com.inqmy.services.httpserver.server.Response.handle(Response.java:17
3)
at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServ
erFrame.java:1229)
at com.inqmy.core.service.context.container.session.ApplicationSessionMe
ssageListener.process(ApplicationSessionMessageListener.java:36)
at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
Nov 16, 2005 5:31:21 PM # Client_Thread_3 Fatal Cannot find user
when uniqueID is null!
com.sap.security.api.UMRuntimeException: Cannot find user when uniqueID is null!
at com.sap.security.core.imp.AbstractPrincipalSet.isUserMember(AbstractP
rincipalSet.java:388)
at com.sap.security.core.imp.RoleWrapper.isUserMember(RoleWrapper.java:5
2)
at com.sap.security.core.acl.imp.wcm.jdbc.JDBCAcl.containsPrincipal(JDBC
Acl.java:769)
at com.sap.security.core.acl.imp.wcm.jdbc.JDBCAcl.basicCheckPermission(J
DBCAcl.java:704)
at com.sap.security.core.acl.imp.wcm.jdbc.JDBCAcl.checkPermission(JDBCAc
l.java:510)
at com.sap.security.core.acl.imp.Acl.isAllowed(Acl.java:294)
at com.sapportals.portal.acl.Acl.isAllowed(Acl.java:343)
at com.sapportals.portal.pcd.gl.Acl.isAllowed(Acl.java:278)
at com.sapportals.portal.pcd.gl.AclHandle.isAllowedInt(AclHandle.java:42
3)
at com.sapportals.portal.pcd.gl.AclHandle.isAllowed(AclHandle.java:407)
at com.sapportals.portal.pcd.gl.PcdPersObject.checkPermission(PcdPersObj
ect.java:785)
at com.sapportals.portal.pcd.gl.PcdPersObject.hasPermission(PcdPersObjec
t.java:765)
at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterC
ontext.java:400)
at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdPr
oxyContext.java:1083)
at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookupLink(PcdProxy
Context.java:1170)
at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookup(PcdProxyCont
ext.java:1132)
at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.j
ava:926)
at com.sapportals.portal.pcd.gl.PcdGlContext.lookup(PcdGlContext.java:79
at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.j
ava:919)
at com.sapportals.portal.application.applicationrepository.ParContextFac
tory.getInitialContext(ParContextFactory.java:18)
at com.sapportals.portal.prt.jndisupport.NamingManager.getInitialContext
(NamingManager.java:52)
at com.sapportals.portal.prt.jndisupport.InitialContext.getDefaultInitCt
x(InitialContext.java:39)
at javax.naming.InitialContext.init(InitialContext.java:217)
at javax.naming.InitialContext.<init>(InitialContext.java:193)
at com.sapportals.portal.prt.jndisupport.InitialContext.<init>(InitialCo
ntext.java:24)
at com.sapportals.portal.prt.deployment.DeploymentManager.getEndUserInit
ialContext(DeploymentManager.java:1745)
at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyCon
tentProvider(DeploymentManager.java:1670)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refr
esh(PortalComponentContextItem.java:193)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getC
ontext(PortalComponentContextItem.java:287)
at com.sapportals.portal.prt.component.PortalComponentRequest.getCompone
ntContext(PortalComponentRequest.java:389)
at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(Por
talRequest.java:423)
at com.sapportals.portal.prt.service.document.DocumentHookServiceNew.doD
ocumentHook(DocumentHookServiceNew.java:218)
at com.sapportals.portal.prt.connection.PortalHook.doDocumentHook(Portal
Hook.java:433)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(P
ortalRequestManager.java:707)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(
ServletConnection.java:208)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatc
her.java:532)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.ja
va:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(Invoker
Servlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServl
et.java:149)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServle
t(ServletsAndJspImpl.java:833)
at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(Re
questAnalizer.java:665)
at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAn
alizer.java:312)
at com.inqmy.services.httpserver.server.Response.handle(Response.java:17
3)
at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServ
erFrame.java:1229)
at com.inqmy.core.service.context.container.session.ApplicationSessionMe
ssageListener.process(ApplicationSessionMessageListener.java:36)
at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
Nested Exception:
com.sap.security.api.NoSuchUserException: Cannot find user when uniqueID is null
at com.sap.security.core.imp.UserFactory.getUser(UserFactory.java:95)
at com.sap.security.core.imp.AbstractPrincipalSet.isUserMember(AbstractP
rincipalSet.java:376)
at com.sap.security.core.imp.RoleWrapper.isUserMember(RoleWrapper.java:5
2)
at com.sap.security.core.acl.imp.wcm.jdbc.JDBCAcl.containsPrincipal(JDBC
Acl.java:769)
at com.sap.security.core.acl.imp.wcm.jdbc.JDBCAcl.basicCheckPermission(J
DBCAcl.java:704)
at com.sap.security.core.acl.imp.wcm.jdbc.JDBCAcl.checkPermission(JDBCAc
l.java:510)
at com.sap.security.core.acl.imp.Acl.isAllowed(Acl.java:294)
at com.sapportals.portal.acl.Acl.isAllowed(Acl.java:343)
at com.sapportals.portal.pcd.gl.Acl.isAllowed(Acl.java:278)
at com.sapportals.portal.pcd.gl.AclHandle.isAllowedInt(AclHandle.java:42
3)
at com.sapportals.portal.pcd.gl.AclHandle.isAllowed(AclHandle.java:407)
at com.sapportals.portal.pcd.gl.PcdPersObject.checkPermission(PcdPersObj
ect.java:785)
at com.sapportals.portal.pcd.gl.PcdPersObject.hasPermission(PcdPersObjec
t.java:765)
at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterC
ontext.java:400)
at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdPr
oxyContext.java:1083)
at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookupLink(PcdProxy
Context.java:1170)
at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookup(PcdProxyCont
ext.java:1132)
at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.j
ava:926)
at com.sapportals.portal.pcd.gl.PcdGlContext.lookup(PcdGlContext.java:79
at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.j
ava:919)
at com.sapportals.portal.application.applicationrepository.ParContextFac
tory.getInitialContext(ParContextFactory.java:18)
at com.sapportals.portal.prt.jndisupport.NamingManager.getInitialContext
(NamingManager.java:52)
at com.sapportals.portal.prt.jndisupport.InitialContext.getDefaultInitCt
x(InitialContext.java:39)
at javax.naming.InitialContext.init(InitialContext.java:217)
at javax.naming.InitialContext.<init>(InitialContext.java:193)
at com.sapportals.portal.prt.jndisupport.InitialContext.<init>(InitialCo
ntext.java:24)
at com.sapportals.portal.prt.deployment.DeploymentManager.getEndUserInit
ialContext(DeploymentManager.java:1745)
at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyCon
tentProvider(DeploymentManager.java:1670)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refr
esh(PortalComponentContextItem.java:193)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getC
ontext(PortalComponentContextItem.java:287)
at com.sapportals.portal.prt.component.PortalComponentRequest.getCompone
ntContext(PortalComponentRequest.java:389)
at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(Por
talRequest.java:423)
at com.sapportals.portal.prt.service.document.DocumentHookServiceNew.doD
ocumentHook(DocumentHookServiceNew.java:218)
at com.sapportals.portal.prt.connection.PortalHook.doDocumentHook(Portal
Hook.java:433)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(P
ortalRequestManager.java:707)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(
ServletConnection.java:208)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatc
her.java:532)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.ja
va:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(Invoker
Servlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServl
et.java:149)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServle
t(ServletsAndJspImpl.java:833)
at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(Re
questAnalizer.java:665)
at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAn
alizer.java:312)
at com.inqmy.services.httpserver.server.Response.handle(Response.java:17
3)
at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServ
erFrame.java:1229)
at com.inqmy.core.service.context.container.session.ApplicationSessionMe
ssageListener.process(ApplicationSessionMessageListener.java:36)
at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
Nov 16, 2005 5:31:22 PM # Client_Thread_3 Fatal Exception ID:05:3
1_16/11/05_0001
com.sapportals.portal.prt.runtime.PortalRuntimeException: Unexpected error - ini
tial context not available: com.sap.portal.navigation.portallauncher.default
at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyCon
tentProvider(DeploymentManager.java:1674)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refr
esh(PortalComponentContextItem.java:193)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getC
ontext(PortalComponentContextItem.java:287)
at com.sapportals.portal.prt.component.PortalComponentRequest.getCompone
ntContext(PortalComponentRequest.java:389)
at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(Por
talRequest.java:423)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(P
ortalRequestManager.java:535)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(
ServletConnection.java:208)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatc
her.java:532)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.ja
va:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(Invoker
Servlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServl
et.java:149)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServle
t(ServletsAndJspImpl.java:833)
at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(Re
questAnalizer.java:665)
at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAn
alizer.java:312)
at com.inqmy.services.httpserver.server.Response.handle(Response.java:17
3)
at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServ
erFrame.java:1229)
at com.inqmy.core.service.context.container.session.ApplicationSessionMe
ssageListener.process(ApplicationSessionMessageListener.java:36)
at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: Unable to g
et access to the root folder of the application repository
at com.sapportals.portal.application.applicationrepository.ParContextFac
tory.getInitialContext(ParContextFactory.java:34)
at com.sapportals.portal.prt.jndisupport.NamingManager.getInitialContext
(NamingManager.java:52)
at com.sapportals.portal.prt.jndisupport.InitialContext.getDefaultInitCt
x(InitialContext.java:39)
at javax.naming.InitialContext.init(InitialContext.java:217)
at javax.naming.InitialContext.<init>(InitialContext.java:193)
at com.sapportals.portal.prt.jndisupport.InitialContext.<init>(InitialCo
ntext.java:24)
at com.sapportals.portal.prt.deployment.DeploymentManager.getEndUserInit
ialContext(DeploymentManager.java:1745)
at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyCon
tentProvider(DeploymentManager.java:1670)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refr
esh(PortalComponentContextItem.java:193)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getC
ontext(PortalComponentContextItem.java:287)
at com.sapportals.portal.prt.component.PortalComponentRequest.getCompone
ntContext(PortalComponentRequest.java:389)
at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(Por
talRequest.java:423)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(P
ortalRequestManager.java:535)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(
ServletConnection.java:208)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatc
her.java:532)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.ja
va:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(Invoker
Servlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServl
et.java:149)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServle
t(ServletsAndJspImpl.java:833)
at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(Re
questAnalizer.java:665)
at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAn
alizer.java:312)
at com.inqmy.services.httpserver.server.Response.handle(Response.java:17
3)
at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServ
erFrame.java:1229)
at com.inqmy.core.service.context.container.session.ApplicationSessionMe
ssageListener.process(ApplicationSessionMessageListener.java:36)
at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
Caused by: com.sapportals.portal.pcd.gl.PermissionControlException: Access denie
d (Object(s): com.sap.portal.system)
at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterC
ontext.java:403)
at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdPr
oxyContext.java:1083)
at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookupLink(PcdProxy
Context.java:1170)
at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookup(PcdProxyCont
ext.java:1132)
at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.j
ava:926)
at com.sapportals.portal.pcd.gl.PcdGlContext.lookup(PcdGlContext.java:79
at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.j
ava:919)
at com.sapportals.portal.application.applicationrepository.ParContextFac
tory.getInitialContext(ParContextFactory.java:18)
at com.sapportals.portal.prt.jndisupport.NamingManager.getInitialContext
(NamingManager.java:52)
at com.sapportals.portal.prt.jndisupport.InitialContext.getDefaultInitCt
x(InitialContext.java:39)
at javax.naming.InitialContext.init(InitialContext.java:217)
at javax.naming.InitialContext.<init>(InitialContext.java:193)
at com.sapportals.portal.prt.jndisupport.InitialContext.<init>(InitialCo
ntext.java:24)
at com.sapportals.portal.prt.deployment.DeploymentManager.getEndUserInit
ialContext(DeploymentManager.java:1745)
at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyCon
tentProvider(DeploymentManager.java:1670)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refr
esh(PortalComponentContextItem.java:193)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getC
ontext(PortalComponentContextItem.java:287)
at com.sapportals.portal.prt.component.PortalComponentRequest.getCompone
ntContext(PortalComponentRequest.java:389)
at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(Por
talRequest.java:423)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(P
ortalRequestManager.java:535)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(
ServletConnection.java:208)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatc
her.java:532)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.ja
va:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(Invoker
Servlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServl
et.java:149)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServle
t(ServletsAndJspImpl.java:833)
at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(Re
questAnalizer.java:665)
at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAn
alizer.java:312)
at com.inqmy.services.httpserver.server.Response.handle(Response.java:17
3)
at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServ
erFrame.java:1229)
at com.inqmy.core.service.context.container.session.ApplicationSessionMe
ssageListener.process(ApplicationSessionMessageListener.java:36)
at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
[email protected]fd #
Nov 16, 2005 5:31:22 PM # Client_Thread_3 Fatal Cannot find user
when uniqueID is null!
com.sap.security.api.UMRuntimeException: Cannot find user when uniqueID is null!
at com.sap.security.core.imp.AbstractPrincipalSet.isUserMember(AbstractP
rincipalSet.java:388)
at com.sap.security.core.imp.RoleWrapper.isUserMember(RoleWrapper.java:5
2)
at com.sap.security.core.acl.imp.wcm.jdbc.JDBCAcl.containsPrincipal(JDBC
Acl.java:769)
at com.sap.security.core.acl.imp.wcm.jdbc.JDBCAcl.basicCheckPermission(J
DBCAcl.java:704)
at com.sap.security.core.acl.imp.wcm.jdbc.JDBCAcl.checkPermission(JDBCAc
l.java:510)
at com.sap.security.core.acl.imp.Acl.isAllowed(Acl.java:294)
at com.sapportals.portal.acl.Acl.isAllowed(Acl.java:343)
at com.sapportals.portal.pcd.gl.Acl.isAllowed(Acl.java:278)
at com.sapportals.portal.pcd.gl.AclHandle.isAllowedInt(AclHandle.java:42
3)
at com.sapportals.portal.pcd.gl.AclHandle.isAllowed(AclHandle.java:407)
at com.sapportals.portal.pcd.gl.PcdPersObject.checkPermission(PcdPersObj
ect.java:785)
at com.sapportals.portal.pcd.gl.PcdPersObject.hasPermission(PcdPersObjec
t.java:765)
at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterC
ontext.java:400)
at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdPr
oxyContext.java:1083)
at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookupLink(PcdProxy
Context.java:1170)
at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookup(PcdProxyCont
ext.java:1132)
at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.j
ava:926)
at com.sapportals.portal.pcd.gl.PcdGlContext.lookup(PcdGlContext.java:79
at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.j
ava:919)
at com.sapportals.portal.application.applicationrepository.ParContextFac
tory.getInitialContext(ParContextFactory.java:18)
at com.sapportals.portal.prt.jndisupport.NamingManager.getInitialContext
(NamingManager.java:52)
at com.sapportals.portal.prt.jndisupport.InitialContext.getDefaultInitCt
x(InitialContext.java:39)
at javax.naming.InitialContext.init(InitialContext.java:217)
at javax.naming.InitialContext.<init>(InitialContext.java:193)
at com.sapportals.portal.prt.jndisupport.InitialContext.<init>(InitialCo
ntext.java:24)
at com.sapportals.portal.prt.deployment.DeploymentManager.getEndUserInit
ialContext(DeploymentManager.java:1745)
at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyCon
tentProvider(DeploymentManager.java:1670)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refr
esh(PortalComponentContextItem.java:193)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getC
ontext(PortalComponentContextItem.java:287)
at com.sapportals.portal.prt.component.PortalComponentRequest.getCompone
ntContext(PortalComponentRequest.java:389)
at com.sapportals.portal.prt.connection.ContentExceptionHandler.handleEx
ception(ContentExceptionHandler.java:64)
at com.sapportals.portal.prt.connection.ContentExceptionHandler.handlePo
rtalRuntimeException(ContentExceptionHandler.java:24)
at com.sapportals.portal.prt.core.PortalRequestManager.handleRequestExce
ption(PortalRequestManager.java:825)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(P
ortalRequestManager.java:715)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(
ServletConnection.java:208)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatc
her.java:532)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.ja
va:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(Invoker
Servlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServl
et.java:149)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServle
t(ServletsAndJspImpl.java:833)
at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(Re
questAnalizer.java:665)
at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAn
alizer.java:312)
at com.inqmy.services.httpserver.server.Response.handle(Response.java:17
3)
at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServ
erFrame.java:1229)
at com.inqmy.core.service.context.container.session.ApplicationSessionMe
ssageListener.process(ApplicationSessionMessageListener.java:36)
at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
Nested Exception:
com.sap.security.api.NoSuchUserException: Cannot find user when uniqueID is null
at com.sap.security.core.imp.UserFactory.getUser(UserFactory.java:95)
at com.sap.security.core.imp.AbstractPrincipalSet.isUserMember(AbstractP
rincipalSet.java:376)
at com.sap.security.core.imp.RoleWrapper.isUserMember(RoleWrapper.java:5
2)
at com.sap.security.core.acl.imp.wcm.jdbc.JDBCAcl.containsPrincipal(JDBC
Acl.java:769)
at com.sap.security.core.acl.imp.wcm.jdbc.JDBCAcl.basicCheckPermission(J
DBCAcl.java:704)
at com.sap.security.core.acl.imp.wcm.jdbc.JDBCAcl.checkPermission(JDBCAc
l.java:510)
at com.sap.security.core.acl.imp.Acl.isAllowed(Acl.java:294)
at com.sapportals.portal.acl.Acl.isAllowed(Acl.java:343)
at com.sapportals.portal.pcd.gl.Acl.isAllowed(Acl.java:278)
at com.sapportals.portal.pcd.gl.AclHandle.isAllowedInt(AclHandle.java:42
3)
at com.sapportals.portal.pcd.gl.AclHandle.isAllowed(AclHandle.java:407)
at com.sapportals.portal.pcd.gl.PcdPersObject.checkPermission(PcdPersObj
ect.java:785)
at com.sapportals.portal.pcd.gl.PcdPersObject.hasPermission(PcdPersObjec
t.java:765)
at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterC
ontext.java:400)
at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdPr
oxyContext.java:1083)
at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookupLink(PcdProxy
Context.java:1170)
at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookup(PcdProxyCont
ext.java:1132)
at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.j
ava:926)
at com.sapportals.portal.pcd.gl.PcdGlContext.lookup(PcdGlContext.java:79
at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.j
ava:919)
at com.sapportals.portal.application.applicationrepository.ParContextFac
tory.getInitialContext(ParContextFactory.java:18)
at com.sapportals.portal.prt.jndisupport.NamingManager.getInitialContext
(NamingManager.java:52)
at com.sapportals.portal.prt.jndisupport.InitialContext.getDefaultInitCt
x(InitialContext.java:39)
at javax.naming.InitialContext.init(InitialContext.java:217)
at javax.naming.InitialContext.<init>(InitialContext.java:193)
at com.sapportals.portal.prt.jndisupport.InitialContext.<init>(InitialCo
ntext.java:24)
at com.sapportals.portal.prt.deployment.DeploymentManager.getEndUserInit
ialContext(DeploymentManager.java:1745)
at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyCon
tentProvider(DeploymentManager.java:1670)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refr
esh(PortalComponentContextItem.java:193)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getC
ontext(PortalComponentContextItem.java:287)
at com.sapportals.portal.prt.component.PortalComponentRequest.getCompone
ntContext(PortalComponentRequest.java:389)
at com.sapportals.portal.prt.connection.ContentExceptionHandler.handleEx
ception(ContentExceptionHandler.java:64)
at com.sapportals.portal.prt.connection.ContentExceptionHandler.handlePo
rtalRuntimeException(ContentExceptionHandler.java:24)
at com.sapportals.portal.prt.core.PortalRequestManager.handleRequestExce
ption(PortalRequestManager.java:825)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(P
ortalRequestManager.java:715)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(
ServletConnection.java:208)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatc
her.java:532)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.ja
va:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(Invoker
Servlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServl
et.java:149)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServle
t(ServletsAndJspImpl.java:833)
at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(Re
questAnalizer.java:665)
at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAn
alizer.java:312)
at com.inqmy.services.httpserver.server.Response.handle(Response.java:17
3)
at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServ
erFrame.java:1229)
at com.inqmy.core.service.context.container.session.ApplicationSessionMe
ssageListener.process(ApplicationSessionMessageListener.java:36)
at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
How roleback this so that I can get the logon page
thanks
pkHi
Thjanks for the reply.
I have gone thru doc.
In the doc it says
Start the Config Tool by executing j2ee
then
cluster/server
cluster/distahcer
there is no "Global server configuration" to go to
what could be the reason ..
if it is version problem .. Is there any alternative or resinatllation of EP
thanks
PK -
Server side function not get called after dispatching cairngorm event second time on same page
Hi All,
I am facing a urgent issue regarding cairngorm event. Actually my page contain 3 button add,delete,save
and clicking of any button I do the respected functionality. For ex:
I click the add button & on clicking of add button I fire a cairngorm evnt & after getting response from server side that the record is added
I displayed a message that the record is added & update the data source.
After addition of the record , with out going to other page if I perform the same functionaly(Like adding another record) on same page the cairngorm
event not call the server side function - after debugging I find out that cairngorm event reach to the corresponding excutecommand function & called that function but it is not calling my server side function & I also din't get any error message .
I dont know why the server side function not get called?. similarly if I try for delete or update case the same things happend. Only for the first time it works properly but not for the second time.
Could any of you please tell me why the cairngorm event not calling the server side function.
Thank you for your kind assistance.
Regards,
UjjwalOkay, well I think I've worked out the problem.
In ASP.NET we would typically bind repeating controls such as DataLists and Repeaters manually using <i>Control</i>.DataBind(), because we're usually using a separate class library containing collections for our objects. Seems the SAP Table control doesn't like this approach.
I changed the code so that the databinding is specified on the control, and call the Page's DataBind() method and it all worked fine.
One tip: because the collection I used to bind to is in a separate class library, I receieved a <i>BC306523: Reference required to assembly MyAssemblyName...</i> message, even though I had a reference to the assembly in my project and the DLL is being properly deployed. To fix this, you must include the following directive at the top of the component's ASCX file:
<%@ Assembly Name="AssemblyName" %> -
Get method of HtmlPanelGrid is not getting called
Hi,
I'm creating components dynamically.
I have a dropdown. Based on the selection of dropdown, the corresponding values are displayed and the get method of HtmlPanelGrid should be called.
First time the panel grid getmethod is getting called. But when i change the value of drop down, panel grid get method is not getting called and its not rendering.
This is the code:
JSF:
Drop Down
<h:panelGroup>
<t:selectOneMenu id="selectProjectTypes" onchange="sbmitform();" immediate="true" valueChangeListener="#{ProjectController.projectTypeChanged}" value="#{ProjectController.project.selectProjectTypes}">
<f:selectItem itemLabel="--------------------" itemValue="-1"/>
<f:selectItems value="#{ProjectController.projectTypesList}"/>
</t:selectOneMenu>
</h:panelGroup>
Panel Grid
<h:panelGrid columns="2" rendered="#{ProjectController.projects}" id="test" binding="#{ProjectController.defaultValues}" columnClasses="hunderadfifty" cellpadding="5" />
Controller:
public void projectTypeChanged(ValueChangeEvent event) throws AbortProcessingException,Exception {
String nodeTypeId = null;
String selectedValue = (String)event.getNewValue();
getSessionCache().addValue("test", 0, "1");
if(selectedValue.equalsIgnoreCase(selectedValue)){
try
// this.getDefaultValues().setRendered(true);
// defaultValues=this.getDefaultValues();
} catch (Exception e)
e.printStackTrace();
FacesContext.getCurrentInstance().renderResponse();
Panel Grid Method
*public HtmlPanelGrid getDefaultValues() throws Exception {*
String devlues = (String)getSessionCache().getValue("test");
Application app = FacesContext.getCurrentInstance().getApplication();
labelList = nodeTypeFieldsService.getFixedFields(this.getRpUserData(), this.getAuthUser());
HtmlPanelGrid panelGrid = (HtmlPanelGrid)app.createComponent(HtmlPanelGrid.COMPONENT_TYPE);
for(int i = 0; i<labelList.size(); i++)
HtmlOutputText heading = (HtmlOutputText)app.createComponent(HtmlOutputText.COMPONENT_TYPE);
HtmlPanelGroup panelGroup = (HtmlPanelGroup)app.createComponent(HtmlPanelGroup.COMPONENT_TYPE);
HtmlInputText inputText = (HtmlInputText)app.createComponent(HtmlInputText.COMPONENT_TYPE);
String fieldHeading =((ProjectField)labelList.get(i)).getFieldHeading();
int fieldLength = ((ProjectField)labelList.get(i)).getFieldLength();
String fieldDescription = ((ProjectField)labelList.get(i)).getFieldDescription();
String fieldType = ((ProjectField)labelList.get(i)).getFieldType();
inputText.setValueBinding("value", (ValueBinding) app.createValueBinding("#{ProjectController.newProj}"));
if(fieldType.equalsIgnoreCase("3"))
heading.setValue(fieldHeading);
heading.setTitle(fieldDescription);
inputText.setMaxlength(fieldLength);
inputText.setSize(fieldLength);
UIRDDialog dialog = (UIRDDialog)app.createComponent(UIRDDialog.COMPONENT_TYPE);
dialog.setTitle("Object Type Dialog");
dialog.setHeight("370");
dialog.setWidth("350");
dialog.setUrl("searchObjectTypeDialog.jsf");
UIRDIconButton iconButton = (UIRDIconButton)app.createComponent(UIRDIconButton.COMPONENT_TYPE);
iconButton.setType("button");
iconButton.setTitle("Search for Object Types");
iconButton.setIcon("/image/icon/portalicon_search.gif");
iconButton.setActivateDialog("searchObjectTypeDialog");
panelGroup.getChildren().add(inputText);
panelGroup.getChildren().add(iconButton);
panelGroup.getChildren().add(dialog);
panelGrid.getChildren().add(panelGroup);
}else
panelGroup.getChildren().add(inputText);
heading.setValue(fieldHeading);
inputText.setMaxlength(fieldLength);
inputText.setSize(fieldLength);
heading.setTitle(fieldDescription);
panelGrid.getChildren().add(panelGroup);
panelGrid.getChildren().add(heading);
panelGrid.getChildren().add(panelGroup);
HtmlCommandButton createButton = (HtmlCommandButton)app.createComponent(HtmlCommandButton.COMPONENT_TYPE);
createButton.setId("create");
createButton.setTitle("Create");
createButton.setValue("Skapa");
createButton.setAction(app.createMethodBinding("#{ProjectController.saveProject}", null));
HtmlCommandButton backButton = (HtmlCommandButton)app.createComponent(HtmlCommandButton.COMPONENT_TYPE);
backButton.setId("back");
backButton.setTitle("Cancel");
backButton.setValue("Avbryt");
backButton.setAction(app.createMethodBinding("#{ProjectController.cancel}", null));
panelGrid.getChildren().add(createButton);
panelGrid.getChildren().add(backButton);
return panelGrid;
/* } else {
return null;
kindly help me out.
regards
venkatraman.PHi,
I'm having the exact same problem, and it's freaking me out!!! The setGridPanel method is always called but not the getGridPanel. This one is only called the first time the page is rendered, and when I change a drodpdownlist it never gets the gridPanel again! I'm using an HtmlPanelGrid. Anyone can help please?
Thanks in advance,
Raquel -
The custm error page is not getting loaded in TomCat 5.0
Hi all,
I am working on a JSF web application deployed in Tomcat 5.0.I was trying to redirect 404 and 500 error pages to custom error pages.But the error pages are not getting loaded and i am getting normal Tocat 404 status page.
I am giving the web.xml entry for the error page defenition.
<error-page>
<error-code>404</error-code>
<location>/faces/displayErrorpage.jsp</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/faces/SessionExpirepage.jsp</location>
</error-page>
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/faces/displayErrorpage.jsp</location>
</error-page>
Please help me out to solve this problem.Its urgent.I will be greatful for any kind of help.
Note: The same application working fine,ie,the error page is getting loaded while deploying WAS 6.0.
Jeevan Edakkunnath.That's a specification version. I was asking for the implementation and version. Is it the Sun reference implementation (Sun JSF RI)? If so, which build?
It works flawlessly here on the latest build of Sun JSF RI 1.1, the 1.1_02. You can get the latest build at [http://javaserverfaces.dev.java.net]. I was using Tomcat 6.0.14 by the way, it might make difference.
Does it work if you use plain vanilla JSP files and do not pass the request through the FacesServlet? I recall some bugs related to it, but I am not sure anymore if it is related to the JSF implementation or application server used. -
Hi,
My Name is Pranav.
I am using i phone 4-s.
In my iphone when i go to app store > Updates, system showing me 10 updates but when i try to open this page, page is not getting open. Loader came up and then white blank screen is visible. Rest all Featured, Top Charts Genius and Search are working fine but updates page is not getting open.
Guys please help me out to sort this problem.
Thanks,
Pranav
[email protected]
+91-8460366331Looks O.K. to me Opens correctly in Firefox and Opera as a log-in page for Killer Content - Win7x64 Fx5.
I can't see any oddities in your plug-ins. It never hurts to clear any relevant cookies and your cache.
You could see how it goes in Safe Mode - Hold Shift key down as you double click on the Firefox icon>ignore the page that opens and continue. If the page opens you probably have a problem with extensions or themes and you should work through this -
https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes
A lot of things have been updated as well as Firefox and you could have a culprit or conflict. Next, if there is no improvement you could try disabling third party toolbars, and you should report back at this stage or if there has been early success.
Someone may come by with a more specific remedy. -
ReturnEvent not get called after search more than 10 times in LOV page
hi there,
I using ADF and Jdeveloper 10.3.1.2
In my project I have a form which called a LOV page for selecting multiple records and submit button sumup the values of each selected row of LOV and return to the main form and display added value on text field.
problem is when I search records more than 10 times or more I put search criteria and select row on each time. After click on submit the value of each row is sum up return on the main form but it not reflected on main form because ReturnListener not get called .
But when I select many rows more than 10 without searching then the ReturnListener get called when it returning on main form.
So should I do so that ReturnListener get called.
Is it any bug of ADF or Jedeveloper .Hi,
depends on whether you control the BPM task flow or not. If you do, have a look at this thread for how to debug the problem
How to debug "Attempt to validate an already invalid RegionSite"?
Otherwise, post it to the SOA forum if this is initiated by their generated code. The most common reason though is that the task flow lacks a default activity. So if the default activity is somewhat calculated dynamically in your application then this may be a reason
Frank -
Method in custom controller not getting called from view
Hi experts,
I have a very strange problem. My web dynpro application works fine on the development portal. i am in the process of deploying to the production portal there is no issue it deploys perfectly without any problems. However i have noticed that some methods in my custom controlller which are called from the view do not run. there is no error message or anything data just doesnt get picked because the execute function which fills the context are in the custom controller methods.
For some reason the method in the custom controller does not get called even though i'm calling it for the view. I have this problem with two methods. the other methods work without any issue.
Now i overwrote what i have on production at the moment so am stuck and in need for a solution.
I have tried undeplying, restarting and re-deploying to no avail. what could be wrong?
thanks and regards,
dilankeDeal all
This is the code. basically im calling it from the plug on the detail screen.
This is the method that doesnt get called anymore.
wdThis.wdGetGetPurchaseOrderCustController().getPODetail();
The reportSuccess() works fine.
regards,
Dilanke
public void onPlugFromListView(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onPlugFromListView(ServerEvent)
try
String po = wdThis.wdGetGetPurchaseOrderCustController().wdGetContext().currentContextElement().getPO_Id();
wdContext.currentZGETPODETAILS_INPUTElement().setI_Ebeln(po);
wdThis.wdGetGetPurchaseOrderCustController().getPODetail();
wdComponentAPI.getMessageManager().reportSuccess(po);
String fileName = "F://XML_Downloads//" + po + ".xml";
IWDResource resource = WDResourceFactory.createResource(new FileInputStream(new File(fileName)),fileName,WDWebResourceType.XML,true);
wdContext.currentContextElement().setXml_Resource(resource);
catch(Exception e)
e.printStackTrace();
//@@end -
XMP property for a page object not predefined and no extension schema...
In attempting to make PDF/A-1b files, I get the Preflight error "XMP property for a page object not predefined and no extension schema present."
Every page reports the same Trigger values:
=> Property exists in predefined schema (XMP 2004): is not true
=> Extension schema is present in XMP: is not true
By following the suggestions in the Acrobat 9 Help page "Edit document metadata" I can save existing metadata to an external .xmp file, but I cannot change the XMP metadata to solve the Preflight error.
I would be grateful for suggestions re how to solve the Preflight error.
Thanks,
RaphaelThere is still that same problem.
Pictures what needed to converted tot PDF/A
My situation is large JPEG's.
My workaround to print it out with adobe pdf printer with the options
1) papiersource on base of pageformat PDF
2) If needed use adjusted paperformat -
I'm trying to get an appointment for 2 months but not get an appointment.you help me.
I'm trying to get an appointment for 2 months but not get an appointmen
My name's Burak. I'm writting you from Istanbul.I have a problem. My phone's not work.It's corrupt. I'm trying to get an appointment for 2 months but not get an appointment.I went to apple store zorlu center. They did't help me. They tell me, you make an appointment to come. I want to sue them.You want to sue them? Good luck, pal. You can make an appointment up to 7 days in advance. Here's what you need to do. Keep checking the reservation page for the Apple Store you want to go to, and as soon as an appointment slot is available, take it. Or go to the store as soon as it opens, and tell them you want the first available slot if someone cancels, and wait.
Suing someone for being so busy that you can't make an appointment at their business is ridiculous. You have no right to be seen before someone that A) Made an appointment or B) Has been waiting longer than you to be seen. -
DidReceiveData not getting called for consuming a SOAP webservice
I am trying to access a webservice in iphone. didReceiveResponse connectionDidFinishLoading is getting called however didReceiveData is not getting called. I checked NSHTTPURLResponse allHeaderFields where Content-length is 0 and statusCode is 400. I am not getting why I am getting this HTTP status code. Can someone please help me in finding this error. Here is my code:
- (IBAction)buttonClickedid)sender {
NSString *soapMsg =
[NSString stringWithFormat:
@"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"
"<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xlmns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n"
"<soap:Body>\n"
"<GetAllCarsJson xmlns=\"http://cscserver2.carrollu.edu/tshah2/\">\n"
"</GetAllCarsJson>\n"
"</soap:Body>\n"
"</soap:Envelope>"];
//---print it to the Debugger Console for verification---
//NSLog(@"%@",soapMsg);
NSURL *url = [NSURL URLWithString:@"http://cscserver2.carrollu.edu/tshah2/CarService.asmx"];
NSMutableURLRequest *req = [NSMutableURLRequest requestWithURL:url];
//---set the headers---
NSString *msgLength = [NSString stringWithFormat:@"%d",[soapMsg length]];
[req addValue:@"text/xml; charset=utf-8" forHTTPHeaderField:@"Content-Type"];
[req addValue:@"http://cscserver2.carrollu.edu/tshah2/GetAllCarsJson" forHTTPHeaderField:@"SOAPAction"];
[req addValue:msgLength forHTTPHeaderField:@"Content-Length"];
//---set the HTTP method and body---
[req setHTTPMethod:@"POST"];
[req setHTTPBody: [soapMsg dataUsingEncoding:NSUTF8StringEncoding]];
//[activityIndicator startAnimating];
conn = [[NSURLConnection alloc] initWithRequest:req delegate:self];
[conn start];
NSLog(@"Connection = %@", conn);
if (conn)
//webData = [[NSMutableData data] ];
webData = [[NSMutableData alloc] initWithCapacity:2048];
//[[NSMutableData data] retainArguments];
- (void) connection NSURLConnection *) connection didReceiveResponse NSURLResponse *)response
NSLog(@"soapMsg1: %d", [webData length]);
//webData = [[NSMutableData alloc] initWith:
[webData setLength:0];
- (void) connection NSURLConnection *) connection didReceiveData NSData *)data
NSLog(@"DONE1111");
[webData appendData:data];
//NSLog(webData);
- (void) connection NSURLConnection *) connection didFailWithError NSError *)error
NSLog(@"ConnectionFailed");
//[webData release];
//[connection release];
- (void) connectionDidFinishLoading NSURLConnection *) connection
NSLog(@"DONE. Received Bytes: %d", [webData length]);
NSString *theXML = [[NSString alloc] initWithBytes:[webData mutableBytes] length: [webData length] encoding:NSUTF8StringEncoding];
//shows the XML
NSLog(theXML);
//[theXML release];
//[activityIndicator stopAnimating];
//[connection release];
connection = nil;
webData =nil;Hi,
If you can see the field in UI and still get_ method is not being triggered then try to regenerate these methods. If it still doesn't work then please look for SAP notes or raise an OSS.
There should be some note for the issue you faced.
please refer:
Help Needed immediately - AET getter setter methods not getting triggered
Regards,
BJ
Maybe you are looking for
-
Hi, I'm doing a lot of execute immediate a loop inside a procedure. My problem is that if one of the exec fails, the SP terminates. What I want to do is something like whenever error do ... insert the statment that failed into an exception table and
-
What network adaptors support 802.11ac?
I want to purchase the new airport/time capsule mainly for it's 802.11ac capabilities. I have a mid-2009 macbook pro. Wondering what network adaptors are out there that I can plug into my usb that can support 802.11ac? I found some but they only supp
-
FPCJ with Security deposit error
Hi I am getting the following information when i post cash receipt entry through FPCJ. 1. I posted security deposit request. 2. I tried to post incoming cash receipt for that request. I am getting following information. Company code is not defined M
-
When i try to boot Windows 7 it freezed with a white screen. This happens when I use "Boot Disk" in Preferences or select the drive after booting with the "Option" key. Any ideas, please?
-
Does allowing adobe flash player plug in on safari give access to websites the ability to upload and transfer documents and files(on the computer) without permission? Perhaps to their online server or somewhere where they designated them to transfer