Skip to main content

Posts

Showing posts with the label webcenter

Solaris 11 : Web Center installation problem

We ran into a problem running the web center installation on Solaris 11 yesterday and I need to document this for my own sake. The installation would fail all prerequisite checks randomly on different environments. We could just click continue and the install would be fine or run with ./runInstaller -ignoreSysPreReqs. Our sys admin ran a trace and we tracked the problem down to a file being generated a run time using the sysdef -i command. This showed us that IPC Semaphores module is not loaded. Just running the ipcs -a command before we install fixed the error for us and generated the correct size of file and made everything work - amazing.

Webcenter BI integration

I followed this document: http://www.oracle.com/technetwork/middleware/webcenter/portal/learnmore/wc-biappsconfig-396418.pdf The only to comment (FRUSTRATED the hell out of me) 1) Add the bi libraries to your portal before you embark on the above guide :  http://rsriv.blogspot.com/2011/10/obiee-11g-integration-with-webcenter.html 2) I kept getting an error: Caused by: javax.naming.NamingException [Root exception is oracle.bi.presentation.soap.connection.BISoapException: javax.xml.ws.soap.SOAPFaultException: Authentication error. An invalid User Name or Password was entered.] For some reason (I still need to investigate) the security does NOT work without impersonation for me. So I had to create my users on the bi server before everything could work.

Web Center: using a custom security provider other than LDAP [custom identity store]

So far everything looks like it will work I am just using the default auth provider and UCM is picking up my groups on login so now to integrate with Web center and use my custom auth provider. Custom authentication provider is done and I can log in to my content server and application and everything is working. The snag is not of the webcenter custom profile pictures and webcenter goodies are working (it uses the JpsContextFactory etc and that ignores my provider and looks up the default weblogic provider and tries to use that). I have replaced the identity store with a custom database implementation and everything seems to work [after a LOT of debugging]. Ok so step 1) The custom authentication provider - tons od documentation on how to do this eg:  http://docs.oracle.com/cd/E12890_01/ales/docs32/dvspisec/progrmng.html ,  http://docs.oracle.com/cd/E13222_01/wls/docs81/dvspisec/atn.html  so I am not going to rehash this if you want I can post some code but it shoul...

Adding a custom attribute WebCenter menu...

Find the schema section in your menu xml --> ie default-navigation-model.xml Add a descriptor:     <descriptor shortLabelKey="TITLE.SHORT_PROMPT_KEY" multivalue="false"                 attributeId="NewAtrr" labelKey="TITLE.PROMPT_KEY"                 endUserVisible="true" searchable="true"                 xmlns="http://xmlns.oracle.com/adf/rcs/catalog"/> Note: you can change the  shortLabelKey and labelKey by adding a resourceBundle="..." but that is another post.... Looks a bit like this: <schema resourceBundle="oracle.adf.rc.attribute.nls.AttributeBundle"           xmlns="http://xmlns.oracle.com/adf/rcs/catalog">     <descriptor shortLabelKey="TITLE.SHORT_PROMPT_KEY" multivalue="false"                 attributeId="Title" labelKey="TITLE.PROM...

Automated remote deployment of Webcenter ear to our development enviroment

All the usual undeploy / stop start code worked remotely but unfortunately the deploy was not going as planned - I wanted to set the MDS info on deployment so it was time for a new plan. So this time on our build server would call WLST to deploy our web center app on the development weblogic enviroment. Wlst commands I used: Connect   connect('weblogic','bobsentme', ''t3://remote.wl:7001') Stop   shutdown('ManagedServer1', force='true') Start   start(start('WC_Cluster', 'Cluster', 't3://remote.wl:7001')); Deploy archive = getMDSArchiveConfig(fromLocation='/tmp/pathto.ear') archive.setAppMetadataRepository(repository='mds-CustomDS', partition='dev_partition', type='DB', jndi='jdbc/mds/CustomDS')"); archive.save() deploy(appName='OurAppName', path='/tmp/pathto.ear', targets='WC_Cluster', stageMode='stage',   upload=...

ADF: Minor PS3 - PS5 bug

I could not access the security tab on my Webcenter admin console and was getting a  error which was cause by: Caused by: java.lang.NullPointerException     at oracle.webcenter.security.common.WCGroup. (WCGroup.java:74)     at oracle.webcenter.security.common.IdentityWrapper.getGroup(IdentityWrapper.java:183)   We have a mapping from JNDI role to Administrator and it had this under members of the app role: <member>   <class>weblogic.security.principal.WLSGroupImpl</class>  <name>Administrators</name> </member> Removed this and all is good again. Reference : https://forums.oracle.com/forums/thread.jspa?messageID=10423076

Webcenter install : java.lang.ClassNotFoundException: oracle.jrf.wls.JRFStartup

I did a fresh install of Web Center and was starting up my managed server through the console: [Windows] I got a bunch of errors in my log file and the deployment failed. java.lang.ClassNotFoundException: oracle.jrf.wls.JRFStartup Fix:  Find your nodemanager.properties -should be [Weblogic Dir]\wlserver_10.3\common\nodemanager  Change the line StartScriptEnabled=false to StartScriptEnabled=true.   Everything should work If not check that you have the JFR stuff installed.

Jdeveloper 11.1.1.6 upgrade integrated server to 10.3.6

NOTE: This may break some stuff so backup before you proceed so you have been warned Prerequisites: Install JDev 11.1.1.6 Run integrated weblogic. Now install just weblogic 10.3.6 I used the generic installer. java  -jar -D64 -Xmx1024M wls1036_generic.jar Next > Select Create new MiddlewareHome and enter a value > Next > Typical > Next Now select your JDK and click Next * 3 Run QuickStart Click Next Select 9.0 or Higher Click Next Find your integrated domain  [usually under C:\Users\[username]\AppData\Roaming\JDeveloper\system11.1.1.6.38.62.29\DefaultDomain] NOTE: On windows I had to make this folder ! read only but this is not recommended. If you don't want to do this Install your integrated server in a different location Click Next. Once the Installer has finished backup setDomainEnv.cmd then copy setDomainEnv.cmd.back to setDomainEnv.cmd and edit the line: set WL_HOME=... and make it set WL_HOME=C:\Dev\Oracle\Weblogic_10.3....