Adding Resource in a simple Portal app
hi
In the doContent method of a simple Portal app i'm Transforming and XML Source into an HTML one using XSL
I want to embed a css file/image ( or any resource ) into a page which is used within an XSLT file.
How can i do this?
Thanks
Jer
as a follow up:
i took out JTextPane and put JTextArea back in and it works like a charm. Anyone have any idea how i could get my colored lines without the
lock ups??
Similar Messages
-
Webcenter portal app globalization - howto
Hi,
I'm looking for a good guide/tutorial on Custom Webcenter portal app globalization. Webcenter dev guide also doesn't seem to be comprehensive about that.
I found very straightforward video: http://www.youtube.com/watch?v=ha6FzOkVc24 however it refers to some additional files with code snippets I cannot download anywhere.Hi,
Okay, I know I should use resource bundles for everything. I tried to follow video tutorial mentioned earlier (http://www.youtube.com/watch?v=ha6FzOkVc24):
- added xlff PortalBundle
- translated some af:outputText labels on page template
Now when I try to run my portal in JDeveloper I got following exception:
<LifecycleImpl> <_handleException> ADF_FACES-60098:Faces - cykl życia otrzymuje nieobsługiwane wyjątki w fazie RENDER_RESPONSE 6
javax.faces.FacesException: javax.servlet.ServletException: java.util.MissingResourceException: Can't find bundle for base name com.mycompany.myproject.portal.PortalBundle, locale en
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
[----- CUT ---------]
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
... 66 more
Caused by: java.util.MissingResourceException: Can't find bundle for base name com.mycompany.myproject.portal.PortalBundle, locale en
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)
[----- CUT ---------]
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:802)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:726)
... 116 more
<PersonalizationFilter> <doFilter> Caught unexpected client exception.
javax.servlet.ServletException: java.util.MissingResourceException: Can't find bundle for base name com.mycompany.myproject.portal.PortalBundle, locale en
at oracle.jsp.runtimev2.JspReportUtil.reportException(JspReportUtil.java:170)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:737)
[----- CUT ---------]
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Caused by: java.util.MissingResourceException: Can't find bundle for base name com.mycompany.myproject.portal.PortalBundle, locale en
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)
[----- CUT ---------]
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:726)
... 116 more
where
ADF_FACES-60098:Faces - cykl życia otrzymuje nieobsługiwane wyjątki w fazie RENDER_RESPONSE 6
means
ADF_FACES-60098:Faces - lifecycle recieves unhandled exceptions in phase RENDER_RESPONSE 6
I tried to duplicate PortalBundle.xlf as PortalBundle_en.xlf, but it doesn't help. What am I doing wrong? Please note that comparing to mentioned tutorial, I don't have phase listener nor ApplicationBean registered.
But what next - how can I implement language selection control and pass information about selected language to taskflows defined in my ADF library?
Concerning 2) - I'm not sure what do you mean - why can't I follow instructions from the video on localizing navigation (starting from 7:04) - seem to be pretty straightforward. -
Can't get simple Struts app to work when using DCs
Hello,
I need to use Struts to develop web apps. I took a simple example app of 3 screens and was able to get it working fine in local development.
Then I tried to do same thing using DCs in a Track. The first page of the app is a jsp called login.jsp. That file has the following two lines at the beginning:
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
This works fine in local development. However in the DC I get the following error when I try to run login.jsp:
Application error occurs during processing the request.
Internal error while parsing JSP page C:/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/com.firstenergycorp/pilot_webapp~strutsear/servlet_jsp/struts/root/login.jsp.
Details: com.sap.engine.services.servlets_jsp.lib.jspparser.exceptions.JspParseException: Tag library descriptor cannot be found for uri:{1}. The ID of this error is
Exception id: [000F1FCC15FA00450000000F00000CA4000400A8BC089FE5].
The struts-html.tld and struts-bean.tld are both in the WEB-INF folder of my Web Module DC.
So why am I getting this error?
Thanks in advance for any help.
David.David,
we are using Struts in our application without any problems. But we don't deploy via JDI but build the ear-files in Netweaver Studio and deploy with SDM.
I guess the tag libs are not added properly to the war file of your productive environment. Can you check whether they contain the files in the correct path ?
And you shouldn't mix Tag Libs and struts.jar of different versions (e.g 1.0 + 1.2). That will result in the very same error message.
Regards, Astrid
Regards, Astrid -
Can u upload .htm file via portal app
i have developed a simple webcenter portal application (11.1.1.6)
i also have UCM 11.1.1.6
I am able to see contribution folder in my portal app.
Is it possible to upload a local file (c:\sample.htm) from my webcenter portal app TO ucm ???
If yes, then what is the taskflow i should use. i used Folder Viewer and Document Explorer and try upload this htm it gives me a popup with
info --- Unable to upload document why ?
thxDid you check the following documentation -
http://docs.oracle.com/cd/E21764_01/webcenter.1111/e10148/jpsdg_doc_lib.htm#CIHCEACA
Also check the section -29.5 Setting Parameters to Upload Files to Content Repositories
where it is clearly mentioned -
"The Document Manager task flow allows you to upload files into content repositories. Oracle WebCenter Framework uses Apache MyFaces Trinidad to handle file upload from a browser to the application server."
and "To change the default settings of Apache MyFacesTrinidad, you can add three parameters to the web.xml file. To edit this file, open the ViewController project of your application. Under Web Content, open the web.xml file. In the Overview, navigate to Application > Context Initialization Parameters, then click the green plus (+) sign to add the parameters and their values (as described in Table 29-1) or simply update the code in the Source view. After you've made your changes, save the web.xml file, then restart Oracle JDeveloper.
Table 29-1 Apache MyFaces Trinidad Parameters
Parameter Description
UPLOAD_MAX_MEMORY
The maximum amount of memory in kilobytes that a single file can use when uploaded.
UPLOAD_MAX_DISK_SPACE
The maximum amount of disk space in kilobytes that a single file can use when uploaded.
UPLOAD_TEMP_DIR
The directory in which the file being uploaded is temporarily stored.
Provide the necessary information.
Hope it helps you to resovle the problem.
Regards,
Hoque -
Errors when adding resources to rg in zone cluster
Hi guys,
I managed to create and bring up a zone cluster, create a rg and add a HAStoragePlus resource (zpool), but getting errors when I want to add a lh resource. Here's the output I find relevant:
root@node1:~# zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
rpool 24.6G 10.0G 14.6G 40% 1.00x ONLINE -
zclusterpool 187M 98.5K 187M 0% 1.00x ONLINE -
root@node1:~# clzonecluster show ztestcluster
=== Zone Clusters ===
Zone Cluster Name: ztestcluster
zonename: ztestcluster
zonepath: /zcluster/ztestcluster
autoboot: TRUE
brand: solaris
bootargs: <NULL>
pool: <NULL>
limitpriv: <NULL>
scheduling-class: <NULL>
ip-type: shared
enable_priv_net: TRUE
resource_security: SECURE
--- Solaris Resources for ztestcluster ---
Resource Name: net
address: 192.168.10.55
physical: auto
Resource Name: dataset
name: zclusterpool
--- Zone Cluster Nodes for ztestcluster ---
Node Name: node2
physical-host: node2
hostname: zclnode2
--- Solaris Resources for node2 ---
Node Name: node1
physical-host: node1
hostname: zclnode1
--- Solaris Resources for node1 ---
Now I want to add a lh (zclusterip - 192.168.10.55) to a resource group named z-test-rg.
root@zclnode2:~# cat /etc/hosts
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
# Internet host table
::1 localhost
127.0.0.1 localhost loghost
#zone cluster
192.168.10.51 zclnode1
192.168.10.52 zclnode2
192.168.10.55 zclusterip
root@zclnode2:~# cluster status
=== Cluster Resource Groups ===
Group Name Node Name Suspended State
z-test-rg zclnode1 No Online
zclnode2 No Offline
=== Cluster Resources ===
Resource Name Node Name State Status Message
zclusterpool-rs zclnode1 Online Online
zclnode2 Offline Offline
root@zclnode2:~# clrg show
=== Resource Groups and Resources ===
Resource Group: z-test-rg
RG_description: <NULL>
RG_mode: Failover
RG_state: Managed
Failback: False
Nodelist: zclnode1 zclnode2
--- Resources for Group z-test-rg ---
Resource: zclusterpool-rs
Type: SUNW.HAStoragePlus:10
Type_version: 10
Group: z-test-rg
R_description:
Resource_project_name: default
Enabled{zclnode1}: True
Enabled{zclnode2}: True
Monitored{zclnode1}: True
Monitored{zclnode2}: True
The error, for lh resource:
root@zclnode2:~# clrslh create -g z-test-rg -h zclusterip zclusterip-rs
clrslh: No IPMP group on zclnode1 matches prefix and IP version for zclusterip
Any ideas?
Much appreciated!Hello,
First of all, I detected a mistake in my previous config: instead of adding an ipmp, a "simple" NIC was added to cluster. I rectified that (I created zclusteripmp0 ipmp out of net11):
root@node1:~# ipadm
NAME CLASS/TYPE STATE UNDER ADDR
clprivnet0 ip ok -- --
clprivnet0/? static ok -- 172.16.3.66/26
clprivnet0/? static ok -- 172.16.2.2/24
lo0 loopback ok -- --
lo0/v4 static ok -- 127.0.0.1/8
lo0/v6 static ok -- ::1/128
lo0/zoneadmd-v4 static ok -- 127.0.0.1/8
lo0/zoneadmd-v6 static ok -- ::1/128
net0 ip ok sc_ipmp0 --
net1 ip ok sc_ipmp1 --
net2 ip ok -- --
net2/? static ok -- 172.16.0.66/26
net3 ip ok -- --
net3/? static ok -- 172.16.0.130/26
net4 ip ok sc_ipmp2 --
net5 ip ok sc_ipmp2 --
net11 ip ok zclusteripmp0 --
sc_ipmp0 ipmp ok -- --
sc_ipmp0/out dhcp ok -- 192.168.1.3/24
sc_ipmp1 ipmp ok -- --
sc_ipmp1/static1 static ok -- 192.168.10.11/24
sc_ipmp2 ipmp ok -- --
sc_ipmp2/static1 static ok -- 192.168.30.11/24
sc_ipmp2/static2 static ok -- 192.168.30.12/24
zclusteripmp0 ipmp ok -- --
zclusteripmp0/zoneadmd-v4 static ok -- 192.168.10.51/24
root@node1:~# clzonecluster export ztestcluster
create -b
set zonepath=/zcluster/ztestcluster
set brand=solaris
set autoboot=true
set enable_priv_net=true
set ip-type=shared
add net
set address=192.168.10.55
set physical=auto
end
add dataset
set name=zclusterpool
end
add attr
set name=cluster
set type=boolean
set value=true
end
add node
set physical-host=node2
set hostname=zclnode2
add net
set address=192.168.10.52
set physical=zclusteripmp0
end
end
add node
set physical-host=node1
set hostname=zclnode1
add net
set address=192.168.10.51
set physical=zclusteripmp0
end
end
An then I tried again to add the lh, but getting the same error:
root@node2:~# zlogin -C ztestcluster
[Connected to zone 'ztestcluster' console]
zclnode2 console login: root
Password:
Last login: Mon Jan 19 15:28:28 on console
Jan 19 19:17:24 zclnode2 login: ROOT LOGIN /dev/console
Oracle Corporation SunOS 5.11 11.2 June 2014
root@zclnode2:~# ipadm
NAME CLASS/TYPE STATE UNDER ADDR
clprivnet0 ip ok -- --
clprivnet0/? inherited ok -- 172.16.3.65/26
lo0 loopback ok -- --
lo0/? inherited ok -- 127.0.0.1/8
lo0/? inherited ok -- ::1/128
zclusteripmp0 ipmp ok -- --
zclusteripmp0/? inherited ok -- 192.168.10.52/24
root@zclnode2:~# cluster status
=== Cluster Resource Groups ===
Group Name Node Name Suspended State
z-test-rg zclnode1 No Offline
zclnode2 No Online
=== Cluster Resources ===
Resource Name Node Name State Status Message
zclusterpool-rs zclnode1 Offline Offline
zclnode2 Online Online
root@zclnode2:~# ipadm
NAME CLASS/TYPE STATE UNDER ADDR
clprivnet0 ip ok -- --
clprivnet0/? inherited ok -- 172.16.3.65/26
lo0 loopback ok -- --
lo0/? inherited ok -- 127.0.0.1/8
lo0/? inherited ok -- ::1/128
zclusteripmp0 ipmp ok -- --
zclusteripmp0/? inherited ok -- 192.168.10.52/24
root@zclnode2:~# clreslogicalhostname create -g z-test-rg -h zclusterip zcluste
rip-rs
clreslogicalhostname: No IPMP group on zclnode1 matches prefix and IP version for zclusterip
root@zclnode2:~#
To answer your first question, yes - all global nodes and zone cluster nodes have entries for zclusterip:
root@zclnode2:~# cat /etc/hosts
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
# Internet host table
::1 localhost
127.0.0.1 localhost loghost
#zone cluster
192.168.10.51 zclnode1
192.168.10.52 zclnode2
192.168.10.55 zclusterip
root@zclnode2:~# ping zclnode1
zclnode1 is alive
When I tried the command you mentioned, first it gave me an error ( there was a space between interfaces), then I changed the rg group to fit mine (z-test-rg) and it (partially) worked:
root@zclnode2:~# clrs create -g z-test-rg -t LogicalHostname -p Netiflist=sc_ip
mp0@1,sc_ipmp0@2 -p Hostnamelist=zclusterip zclusterip-rs
root@zclnode2:~# clrg show
=== Resource Groups and Resources ===
Resource Group: z-test-rg
RG_description: <NULL>
RG_mode: Failover
RG_state: Managed
Failback: False
Nodelist: zclnode1 zclnode2
--- Resources for Group z-test-rg ---
Resource: zclusterpool-rs
Type: SUNW.HAStoragePlus:10
Type_version: 10
Group: z-test-rg
R_description:
Resource_project_name: default
Enabled{zclnode1}: True
Enabled{zclnode2}: True
Monitored{zclnode1}: True
Monitored{zclnode2}: True
Resource: zclusterip-rs
Type: SUNW.LogicalHostname:5
Type_version: 5
Group: z-test-rg
R_description:
Resource_project_name: default
Enabled{zclnode1}: True
Enabled{zclnode2}: True
Monitored{zclnode1}: True
Monitored{zclnode2}: True
root@zclnode2:~# cluster status
=== Cluster Resource Groups ===
Group Name Node Name Suspended State
z-test-rg zclnode1 No Offline
zclnode2 No Online
=== Cluster Resources ===
Resource Name Node Name State Status Message
zclusterip-rs zclnode1 Offline Offline
zclnode2 Online Online - LogicalHostname online.
zclusterpool-rs zclnode1 Offline Offline
zclnode2 Online Online
root@zclnode2:~# ipadm
NAME CLASS/TYPE STATE UNDER ADDR
clprivnet0 ip ok -- --
clprivnet0/? inherited ok -- 172.16.3.65/26
lo0 loopback ok -- --
lo0/? inherited ok -- 127.0.0.1/8
lo0/? inherited ok -- ::1/128
sc_ipmp0 ipmp ok -- --
sc_ipmp0/? inherited ok -- 192.168.10.55/24
zclusteripmp0 ipmp ok -- --
zclusteripmp0/? inherited ok -- 192.168.10.52/24
root@zclnode2:~# ping zclusterip
zclusterip is alive
root@zclnode2:~# clrg switch -n zclnode1 z-test-rg
root@zclnode2:~# cluster status
=== Cluster Resource Groups ===
Group Name Node Name Suspended State
z-test-rg zclnode1 No Online
zclnode2 No Offline
=== Cluster Resources ===
Resource Name Node Name State Status Message
zclusterip-rs zclnode1 Online Online - LogicalHostname online.
zclnode2 Offline Offline - LogicalHostname offline.
zclusterpool-rs zclnode1 Online Online
zclnode2 Offline Offline
root@zclnode2:~# ping zclusterip
no answer from zclusterip
root@zclnode2:~# ping zclusterip
no answer from zclusterip
root@zclnode2:~#
So, the lh was added, the rg can switch over to the other node, but zclusterip is pingable only from that cluster zone; I cannot ping zcluster ip from the cluster zone that does not hold the rg, nor from any global cluster node (node1, node2)... -
Seek advices on simple web app
weblogic11g, RDBMS11gr2
skills: PLSQL, and limited in J2EE programming.
I am a DBA for the cust app. I'd like to create a simple web app for our help desk to run a couple of queries against the app's database, and execute a couple of the statements to resolve the issues if found from the queries.
I'd like to deploy the web app war the WL without not requiring additional resources such as named JDBC data sources or JMS queues.
Please advise me what minimum do I have to have to make this simple web app.Hi,
The below URL should help you
http://docs.oracle.com/cd/E18476_01/doc.220/e18479/deploy.htm
Thanks & Regards,
Murali.
============= -
Simple PageFlow app deployment
Hi all-
I built a simple pageflow app with a single database control in WLW 8.1. I want
to create a WAR file for deployment to a separate WLS 8.1 server, but the IDE
doesn't seem to help much. So, I copied my web project to a separate directory,
added my control.jar to WEB-INF/lib and went through several rounds of tweaking
the web.xml and weblogic.xml files. I've created my WAR file several times and
after several attempted deploy/test rounds, I'm frustrated. Here's what I've
run into thus far:
- Looks like a base WLS 8.1 domain doesn't properly include and initialize log4j
- I now have log4j in my WEB-INF/lib, but I haven;t fixed it's config yet. Prior
to including this, I received good ol' java.lang.NoClassDefFoundError on it.
- Looks like a base WLS 8.1 domain doesn't include classes used by the page flow
framework - I'm now stuck on another missing class - com.bea.wlw.runtime.core.dispatcher.AppManager$ReployCallback.
The "wlw" in the name makes me think there's some kind of Workshop dependency
here.
So - is what I'm attempting simply unsupported? Must I deploy my app in production
to a domain with the workshop extensions?
Thx for any help.
Regards,
RRick,
Applications built using Workshop need to be deployed on a Workshop enabled
server. the IDE helps you in generating an EAR file which can be deployed on
a Workshop enabled server running either in production mode or development
mode.
The following document has more information on deploying to Workshop built
apps.
http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/deployment/navDeploymentandClustering.html
Hope this helps.
Regards,
Raj Alagumalai
Backline Workshop Support
"Rick Robinson" <[email protected]> wrote in message
news:[email protected]..
>
Hi all-
I built a simple pageflow app with a single database control in WLW 8.1.I want
to create a WAR file for deployment to a separate WLS 8.1 server, but theIDE
doesn't seem to help much. So, I copied my web project to a separatedirectory,
added my control.jar to WEB-INF/lib and went through several rounds oftweaking
the web.xml and weblogic.xml files. I've created my WAR file severaltimes and
after several attempted deploy/test rounds, I'm frustrated. Here's whatI've
run into thus far:
- Looks like a base WLS 8.1 domain doesn't properly include and initializelog4j
- I now have log4j in my WEB-INF/lib, but I haven;t fixed it's config yet.Prior
to including this, I received good ol' java.lang.NoClassDefFoundError onit.
- Looks like a base WLS 8.1 domain doesn't include classes used by thepage flow
framework - I'm now stuck on another missing class -com.bea.wlw.runtime.core.dispatcher.AppManager$ReployCallback.
The "wlw" in the name makes me think there's some kind of Workshopdependency
here.
So - is what I'm attempting simply unsupported? Must I deploy my app inproduction
to a domain with the workshop extensions?
Thx for any help.
Regards,
R -
SM Portal App Pool account permissions
Hi there
Apologies if this is a stupid question, but I've installed the SM Portal following advice on various articles, and they all seem to say to run the portal app pool as the Service Manager service account. This account is also required to be a local admin on
the service manager server. Isn't this a bit insecure or am i missing something? If anyone knows how to run it as another account with less permissions, then that would be great.
Many thanks
AmyHi,
The SCSM service AD account must be added to local Administrators Group on on all machines as it is used to perform the installation : SharePoint Server , SQL Server and Content Server.
In my opionion, the account used to install portal should have permissions for service manager database, and also DW database.
The best way should be use the service account, and I didn't find any official document regarding to this, and most articles use service account to install portal.
Regards,
Yan Li
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
Unable to run portal app in CE
Hi,
i'm trying to develop the portal application project in CE. I have deploy the the portal project to the server successfully(i have registered sap instance in CE's preference). But when i try to run the portal component in the CE. it pops out a dialog says " no server defined check your setting". when i developed the portal app in NWDS7.0, i should configue the SAP Enterprise Portal in the preference(i can add portal server there), but in CE i can't add portal server under the SAP Enterprise Portal(or maybe i don't know where can i add it). So is there anybody can tell me what can i do now?
thanks
Liu HongHello,
You said you deployed the the portal project to the server successfully (registered sap instance in CE's preference). How you do this?
I am having trouble to get in my portal:
Thread: Can't open irj/servlet/prt/portal/prtroot/com.sap.portal.content.layers....
Can't open portal server irj/servlet/prt/portal/prtroot/com.sap.portal.....
Thanks, -
Can I upload a simple iPhone App that all it does is direct the User to a Filemaker Pro URL fmp://~filename.fmp?$VariableName=Value This launches Filemaker Go and directs the user to the Database Hosted online
Right now there is no app store for Filemaker Go. Filemaker Forgot about us.
So I want to create a simple native iPhone App that all it does
is launch
fmp://~/filename.fmp12?$VariableName=value
This URL will launch the Filemaker Go App
Filemaker Go is a app that the user will have to have
downloaded already on the device..
The Simple Native app will launch the Filemaker Go.
The fmp URL has the information where the Filemaker Pro database is hosted
and get the user where they need to be..
Help Me please
iPhone 5s, iOS 8.1.3That would be software. And, you said "upload." That's "uploading software." Why do you question what you stated?
I don't know where you even want to upload this software. The only way it can be downloaded to a device is through the iTunes store. Do you even know what you want to do? -
Not able to sign in to Company Portal app installed from Windows Store
Not able to sign in to Company Portal app installed from Windows Store .I'm using Workplace joined (Intune + SCCM 2012 R2) Windows 10 Laptop.
Following is the error which I got while trying to sign in with my Intune trail account
Any idea much appreciated :)
--- Exception Details ---
System.Exception: Authentication failed because response data could not be parsed.
Stack Trace:
at Microsoft.Management.Services.SelfServicePortal.DataAccess.Service.IntuneAuthenticationService.<UpdateContextFromAuthenticationResponseAsync>d__c.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Management.Services.SelfServicePortal.DataAccess.Service.IntuneAuthenticationService.<AuthenticateAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Management.Services.SelfServicePortal.ViewModels.ServiceLoginPageViewModel.<AuthenticateAsync>d__b.MoveNext()
2014-10-30T17:44:27.6437234Z
VERB MethodEnter
Common 1800
c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 Microsoft.Management.Services.SelfServicePortal.ViewModels.Common.ApplicationStatusMonitor - CheckMonitoringCapable() Enter
2014-10-30T17:44:27.6437234Z
INFO Event
None 0
User is not authenticated, monitoring is not capable.
2014-10-30T17:44:27.6437234Z
VERB MethodLeave
Common 1801
c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 Microsoft.Management.Services.SelfServicePortal.ViewModels.Common.ApplicationStatusMonitor - CheckMonitoringCapable() Leave
2014-10-30T17:44:27.6437234Z
VERB MethodEnter
Common 1800
c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 Microsoft.Management.Services.SelfServicePortal.ViewModels.Common.ApplicationStatusMonitor - DelayPolling() Enter
2014-10-30T17:44:27.6437234Z
INFO Event
None 0
Attempting to delay polling task for '30' seconds.
2014-10-30T17:44:45.9431915Z
INFO Event
Application 611
c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 WebAuthenticationBroker AuthenticateAsync to url: https://go.microsoft.com/fwlink/?LinkID=314087&&appru=ms-app://s-1-15-2-2666988183-1750391847-2906264630-3525785777-2857982319-3063633125-1907478113/&api-version=1.1
returned result:Success
2014-10-30T17:44:45.9431915Z
INFO Event
Application 611
c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 WebAuthenticationBroker returned result:Success
2014-10-30T17:44:45.9744572Z
INFO Event
Application 208
c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 Authentication failed because response data could not be parsed.
Exception:
System.ArgumentException: User agent string ("Mozilla/5.0 (Windows NT 6.4; Win64; x64; Trident/7.0; MSAuthHost/1.0; rv:11.0) like Gecko") does not contain match for Windows version regex pattern ("Windows
NT (?<Version>6\.2|6\.3)").
Parameter name: userAgent
at Microsoft.Management.Services.SelfServicePortal.DataAccess.Service.AuthenticationResponseData.GetWindowsVersion(String userAgent)
at Microsoft.Management.Services.SelfServicePortal.DataAccess.Service.AuthenticationResponseData..ctor(String responseData)
at Microsoft.Management.Services.SelfServicePortal.DataAccess.Service.IntuneAuthenticationService.<UpdateContextFromAuthenticationResponseAsync>d__c.MoveNext()
Response Data:
wresult=eyJ0eXAiOiJKV1QiLCJhbGciOiJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGRzaWctbW9yZSNyc2Etc2hhMjU2IiwieDV0IjoieE42Z05aYlhvYmRRMkhhbl8yT08xTUZ1SHFZIn0.eyJpc3MiOiJ1cm46aW50dW5lOm9hdXRoMjpjMWIwMWVmNS00ZTE3LTRkODMtYTMyMC1jYWZkOTE1YzJmYWUiLCJhdWQiOiJ1cm46aW50dW5lOnNlcnZpY2UiLCJuYmYiOjE0MTQ2OTEwNzksImV4cCI6MTQxNDY5MjI3OSwiVGVuYW50SWQiOiI1ZjZiMDRjOS1lZWZhLTQ4ZDYtYTEyZi02NDNkMDYxZjBhYjkiLCJVc2VySWQiOiJkZDZhNmRiOC0zZjdhLTQwODQtOWZhMS0xOThkNWNhMDkwNWIiLCJMaWNlbnNlIjoiU0NDTSIsIkF1dGhvcml0eSI6IlNDQ00iLCJSb2xlIjoiNmNiYzg0MDMtNjU2Yi00ZjA1LTc4ZDgtMDAwMDAwMDAwMDAxIiwidHlwIjoiVXNlciIsImp0aSI6IjA2YTEwNDgzLWFmM2MtNGIwZS1iNzNjLTU1YTVlZGE2YTI0MSIsIlZlcnNpb24iOiIxLjEiLCJJc3N1ZUluc3RhbmNlIjoiMTAvMzAvMjAxNCA1OjQ0OjM5IFBNIn0.bZmz4BNmW1sg90bmUED-y0gSpR3qFfHpBZz6jf_7pMIEiO-n8TF8aPryDgLE0_pOXBBxjGZj2CjvvCjKE3xtc_RCfQ66f8sPjJDk5nDn87Zqr3nuybcWyr_QJzLAV-wrqBQyZbhiKXjAHByQfovl25EJEljwiYc8gvDAh6mSpOiSNDRo51iycmtFPJVg9SLomONTtrIvNI-c4OksER4smKiuV989EBxA2IUUbuUMpEXArFBtAJMQe4IyDCdVV_c-45i69cVNeIjcc9WkzgUx4wkdMOVXY-TVKGkyW67Iu62dU_3fJhRJ6Cc_ZfSFWby-QB9Vj-1qu3LdtkU4z4LX_Q&tokenCookie=eyJ0eXAiOiJKV1QiLCJhbGciOiJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGRzaWctbW9yZSNyc2Etc2hhMjU2IiwieDV0IjoieE42Z05aYlhvYmRRMkhhbl8yT08xTUZ1SHFZIn0.eyJpc3MiOiJ1cm46aW50dW5lOm9hdXRoMjpjMWIwMWVmNS00ZTE3LTRkODMtYTMyMC1jYWZkOTE1YzJmYWUiLCJhdWQiOiJ1cm46aW50dW5lOnNlcnZpY2UiLCJuYmYiOjE0MTQ2OTEwNzksImV4cCI6MTQxNDY5MjI3OSwiVGVuYW50SWQiOiI1ZjZiMDRjOS1lZWZhLTQ4ZDYtYTEyZi02NDNkMDYxZjBhYjkiLCJVc2VySWQiOiJkZDZhNmRiOC0zZjdhLTQwODQtOWZhMS0xOThkNWNhMDkwNWIiLCJMaWNlbnNlIjoiU0NDTSIsIkF1dGhvcml0eSI6IlNDQ00iLCJSb2xlIjoiNmNiYzg0MDMtNjU2Yi00ZjA1LTc4ZDgtMDAwMDAwMDAwMDAxIiwidHlwIjoiVXNlciIsImp0aSI6IjA2YTEwNDgzLWFmM2MtNGIwZS1iNzNjLTU1YTVlZGE2YTI0MSIsIlZlcnNpb24iOiIxLjEiLCJJc3N1ZUluc3RhbmNlIjoiMTAvMzAvMjAxNCA1OjQ0OjM5IFBNIn0.bZmz4BNmW1sg90bmUED-y0gSpR3qFfHpBZz6jf_7pMIEiO-n8TF8aPryDgLE0_pOXBBxjGZj2CjvvCjKE3xtc_RCfQ66f8sPjJDk5nDn87Zqr3nuybcWyr_QJzLAV-wrqBQyZbhiKXjAHByQfovl25EJEljwiYc8gvDAh6mSpOiSNDRo51iycmtFPJVg9SLomONTtrIvNI-c4OksER4smKiuV989EBxA2IUUbuUMpEXArFBtAJMQe4IyDCdVV_c-45i69cVNeIjcc9WkzgUx4wkdMOVXY-TVKGkyW67Iu62dU_3fJhRJ6Cc_ZfSFWby-QB9Vj-1qu3LdtkU4z4LX_Q&userId=dd6a6db8-3f7a-4084-9fa1-198d5ca0905b&tokenExpiry=1196&serviceLocatorUrl=https%3A%2F%2Fmanage.microsoft.com%2FRestUserAuthLocationService%2FRestUserAuthLocationService%2FServiceAddresses&userAgent=Mozilla%2F5.0+%28Windows+NT+6.4%3B+Win64%3B+x64%3B+Trident%2F7.0%3B+MSAuthHost%2F1.0%3B+rv%3A11.0%29+like+Gecko
2014-10-30T17:44:45.9744572Z
VERB MethodLeave
Common 1801
c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 Microsoft.Management.Services.SelfServicePortal.DataAccess.Service.IntuneAuthenticationService - AuthenticateAsync() Leave
2014-10-30T17:44:45.9744572Z
ERR_ Event
ViewModel 2202
c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 System.Exception: Authentication failed because response data could not be parsed. ---> System.ArgumentException: User agent string ("Mozilla/5.0 (Windows NT 6.4; Win64; x64; Trident/7.0; MSAuthHost/1.0; rv:11.0)
like Gecko") does not contain match for Windows version regex pattern ("Windows NT (?<Version>6\.2|6\.3)").
Parameter name: userAgent
at Microsoft.Management.Services.SelfServicePortal.DataAccess.Service.AuthenticationResponseData.GetWindowsVersion(String userAgent)
at Microsoft.Management.Services.SelfServicePortal.DataAccess.Service.AuthenticationResponseData..ctor(String responseData)
at Microsoft.Management.Services.SelfServicePortal.DataAccess.Service.IntuneAuthenticationService.<UpdateContextFromAuthenticationResponseAsync>d__c.MoveNext()
--- End of inner exception stack trace ---
at Microsoft.Management.Services.SelfServicePortal.DataAccess.Service.IntuneAuthenticationService.<UpdateContextFromAuthenticationResponseAsync>d__c.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Management.Services.SelfServicePortal.DataAccess.Service.IntuneAuthenticationService.<AuthenticateAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Management.Services.SelfServicePortal.ViewModels.ServiceLoginPageViewModel.<AuthenticateAsync>d__b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Management.Services.SelfServicePortal.ViewModels.ServiceLoginPageViewModel.<AuthenticateWithExceptionHandlingAsync>d__6.MoveNext()
==========================================================
2014-10-30T17:44:57.6486693Z VERB
MethodLeave Common
1801 c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 Microsoft.Management.Services.SelfServicePortal.ViewModels.Common.ApplicationStatusMonitor - DelayPolling() Leave
2014-10-30T17:44:57.6486693Z VERB
MethodEnter Common
1800 c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 Microsoft.Management.Services.SelfServicePortal.ViewModels.Common.ApplicationStatusMonitor - CheckMonitoringCapable() Enter
2014-10-30T17:44:57.6486693Z INFO
Event None
0 'Microsoft.Management.Services.SelfServicePortal.Common.Portable.DataAccess.IApplicationsRepository' is not registered, monitoring is not capable.
2014-10-30T17:44:57.6486693Z VERB
MethodLeave Common
1801 c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 Microsoft.Management.Services.SelfServicePortal.ViewModels.Common.ApplicationStatusMonitor - CheckMonitoringCapable() Leave
2014-10-30T17:44:57.6486693Z VERB
MethodEnter Common
1800 c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 Microsoft.Management.Services.SelfServicePortal.ViewModels.Common.ApplicationStatusMonitor - DelayPolling() Enter
2014-10-30T17:44:57.6486693Z INFO
Event None
0 Attempting to delay polling task for '30' seconds.
==========================================================
Anoop C Nair (My Blog www.AnoopCNair.com)
- Twitter @anoopmannur -
FaceBook Forum For SCCMI just noticed the same. Looking at the following error message it seems to do a version check and based on the results of that check I would think that it's not supported yet.
System.ArgumentException: User agent string ("Mozilla/5.0 (Windows NT 6.4; Win64; x64; Trident/7.0; MSAuthHost/1.0; rv:11.0) like Gecko") does not contain match for Windows version regex pattern ("Windows NT (?<Version>6\.2|6\.3)").
My Blog: http://www.petervanderwoude.nl/
Follow me on twitter: pvanderwoude -
Error while running / creating webcenter portal app
Hi,
I had a fresh installation of Oracle JDeveloper Studio Edition Version 11.1.1.6.0. I installed the oracle.webcenter.customization_bundle and oracle.webcenter.framework_bundle as well. Now whenever I want to create a new Webcentre Portal App it's missing out the folders like application sources, in Web content it's missing out 'images' and 'oracle' folders.
Now even if i open a webcentre app taken from a different machines and run I'm getting this error.
*** Using port 7101 ***
C:\Users\supriyo_basu\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\bin\startWebLogic.cmd
[waiting for the server to complete its initialization...]
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
WLS Start Mode=Development
CLASSPATH=D:\ORACLE~1\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;D:\ORACLE~1\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\ORACLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\ORACLE~1\JDK160~1\lib\tools.jar;D:\ORACLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\ORACLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\ORACLE~1\modules\features\weblogic.server.modules_10.3.5.0.jar;D:\ORACLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\ORACLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;D:\ORACLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Users\SUPRIY~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\wcps-lib\derby-10.6.1.0.jar;C:\Users\SUPRIY~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\wcps-lib\derbytools-10.6.1.0.jar;D:\Oracle middleware1\jdeveloper\webcenter\modules\oracle.portlet.server_11.1.1\oracle-portlet-api.jar;D:\Oracle middleware1\jdeveloper\webcenter\modules\wcps_11.1.1.4.0\wcps-connection-mbeans.jar;D:\ORACLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;D:\ORACLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;D:\ORACLE~1\WLSERV~1.3\server\lib\xqrl.jar
PATH=D:\ORACLE~1\patch_wls1035\profiles\default\native;D:\ORACLE~1\patch_jdev1111\profiles\default\native;D:\ORACLE~1\WLSERV~1.3\server\native\win\32;D:\ORACLE~1\WLSERV~1.3\server\bin;D:\ORACLE~1\modules\ORGAPA~1.1\bin;D:\ORACLE~1\JDK160~1\jre\bin;D:\ORACLE~1\JDK160~1\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\SYSTEM;C:\Windows\system32\Wbem;C:\Program Files\CA\eTrustITM\\;C:\Program Files\CA\SharedComponents\CAUpdate\;C:\Program Files\CA\SharedComponents\ThirdParty\;C:\Program Files\CA\SharedComponents\SubscriptionLicense\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\CA\SharedComponents\CAUpdate\;C:\Program Files\CA\SharedComponents\ThirdParty\;C:\Program Files\CA\SharedComponents\SubscriptionLicense\;C:\Program Files\CA\eTrustITM;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Microsoft Application Virtualization Client;D:\ORACLE~1\WLSERV~1.3\server\native\win\32\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b50)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode)
Starting WLS with line:
D:\ORACLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\ORACLE~1\WLSERV~1.3\server\lib\weblogic.policy "-Djavax.net.ssl.trustStore=D:\Oracle middleware1\wlserver_10.3\server\lib\DemoTrust.jks" -Doracle.adfm.usemds=true -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=D:\ORACLE~1\WLSERV~1.3 -Dwls.home=D:\ORACLE~1\WLSERV~1.3\server -Dweblogic.home=D:\ORACLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=D:\ORACLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\Users\SUPRIY~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1 -Djrockit.optfile=D:\ORACLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\Users\SUPRIY~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.domain.config.dir=C:\Users\SUPRIY~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\Users\SUPRIY~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Users\SUPRIY~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\Users\SUPRIY~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\Users\SUPRIY~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\servers\DefaultServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=D:\ORACLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,D:\ORACLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\SUPRIY~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\oracle\store\gmds -DUSE_JAAS=false -Djps.policystore.hybrid.mode=false -Djps.combiner.optimize.lazyeval=true -Djps.combiner.optimize=true -Djps.auth=ACC -Doracle.core.ojdl.logging.usercontextprovider=oracle.core.ojdl.logging.impl.UserContextImpl -noverify -Doracle.webcenter.analytics.disable-native-partitioning=false -Doracle.webcenter.tagging.scopeTags=false -XX:+UseParallelGC -XX:+DisableExplicitGC -Dportlet.oracle.home=D:\Oracle middleware1\jdeveloper -Dwc.oracle.home=D:\Oracle middleware1\jdeveloper -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\ORACLE~1\patch_wls1035\profiles\default\sysext_manifest_classpath;D:\ORACLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
java.lang.NoClassDefFoundError: middleware1\jdeveloper
Caused by: java.lang.ClassNotFoundException: middleware1\jdeveloper
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
Could not find the main class: middleware1\jdeveloper. Program will exit.
Exception in thread "main" Process exited.
How to resolve it?Hi,
The path to your JDeveloper installation has a space in it - "D:\Oracle middleware1". This is known to cause issues with the Integrated WLS.
I suggest you reinstall JDeveloper into a directory without space for e.g. D:\Oracle_Middleware_1 or even better a shorter path like D:\OR_MW_1. -
Jazn-data. xml has 3 errors on newly created portal app
I just created a new portal app and my jazn-data.xml has 3 errors right off the bat.
1. element attributes not expected
2. element functions not expected
3. Element system-policy not expected
Why am I getting these errors.Are you sure? Cause somebody told me the same thing about my css files. But then somebody suggested I check the ADF Faces Extension and the errors went away and my skins were able to be applied.
Also I created a user how the Portal Framework tutorial told me too and when I login as that user all the files I am bringing in from the content server won't display, all my panel links disappear and I get this error when I log in as content admin:
oracle.webcenter.content.integration.RepositoryException: Sep 14, 2012 9:53:59 AM oracle.webcenter.content.integration.spi.ucm.UCMBridge getUCMAccessLevel
SEVERE: Cannot get security info for node ID: /UCM/0
Caused by: oracle.webcenter.content.integration.RepositoryException: oracle.stellent.ridc.protocol.ServiceException: Could not calculate the user's permissions. User 'contentadmin' cannot be retrieved.
Edited by: beachw08 on Sep 14, 2012 6:54 AM
Edited by: beachw08 on Sep 14, 2012 10:38 AM -
TS1702 I have an ipod touch,were can i find a simple compass app?
I have an ipod touch,were can i find a simple compass app?
There is no compass hardware in an iPod touch, so an app is not possible.
Regards. -
How can I get the current user an resource context in a portal JSPDynPag
How can I get the current user (com.sapportals.portal.security.usermanagement.IUser?)an the resource context in a portal component (JSPDynPage)?
Thanks.Hi Jon,
Here is the code to get the current user and resource context in your JSPDynPage:
IPortalComponentRequest currentRequest = (IPortalComponentRequest)pageContext.getAttribute(javax.servlet.jsp.PageContext.REQUEST);
com.sapportals.portal.security.usermanagement.IUser contextUser = (com.sapportals.portal.security.usermanagement.IUser) currentRequest.getUser().getUser();
ResourceContext resourceContext = new ResourceContext(contextUser);
Greetings,
Praveen Gudapati
p.s. points are always welcome for helpful answers
Maybe you are looking for
-
I'm using CS3 to create a series of XSL files to transform XML but when i'm in DW, in the bindings tab, when I create a fragment XSL and point it to attach to a remote source I get 'unable to locate or parse the xml source' I'm sure my source is corr
-
After iphoto update i can't delete pictures
Yesterday after the new updtae i can't delete pictures and after some time iphoto gives nor respones. can someone help please? sorry for bad english
-
How do I get pictures of my contacts to show next to their name in my messages.
How do I get pictures of my contacts to show next to their name in my messages app?
-
Lightroom 5.6 crashes when images with some color profiles are in import
I am a recent subscriber to Adobe CC. I run LR 5.6 64bit on my Win 7 PC. Whenever I seek to import images previously processed in iPhoto or LR elements into my catalog, ACC Lightrom crashes. I suspect it is because the original editing program used a
-
No search result using managed property from a column of a published infopath form
Hi, I'm trying to use a managed property in the advanced search to retrieve only words from a column of a published InfoPath form. We are using FAST Search and verify that the column are being crawled by checking the crawled property in Central Admin