Using People Connection Services in a Custom WebCenter Application Is Showing Errors java.net.URISyntaxException (Doc ID 1067034.1)

Last updated on NOVEMBER 22, 2016

Applies to:

Oracle WebCenter Portal - Version 11.1.1.2.0 and later
Information in this document applies to any platform.

Symptoms

When trying to add People Connections to a custom WebCenter application and use them at runtime deployed on JDeveloper embedded WLS on a Windows platform the following error is shown:

java.net.URISyntaxException: Illegal character in opaque part at index 16: zip:C:/Documents and Settings/vijayku/Application Data/JDeveloper/system11.1.1.2.36.55.36/DefaultDomain/servers/DefaultServer/tmp/_WL_user/oracle.webcenter.framework.view/qvdb18/WEB-INF/lib/peopleconnections-profile-view.jar!/oracle/webcenter/peopleconnections/profile/default-profile-config.xml
...
...
Cause: There was an error executing adrci commands; the following errors have been found "DIA-48415: Syntax error found in string [create home base=C:\\Documents and Settings\\vijayku\\Application] at column [65]
DIA-48447: The input path [C:\\Documents and Settings\\vijayku\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr] does not contain any ADR homes
DIA-48447: The input path [diag\ofm\defaultdomain\defaultserver] does not contain any ADR homes
DIA-48494: ADR home is not set, the corresponding operation cannot be done
"
Action: Ensure that command line tool "adrci" can be executed from the command line.
at oracle.dfw.impl.incident.ADRHelper.invoke(ADRHelper.java:1052)
at oracle.dfw.impl.incident.ADRHelper.createIncident(ADRHelper.java:786)
at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:688)

 

Note:

The following parts of the Tutorial have been followed:

Oracle Fusion Middleware Tutorial for Oracle WebCenter Developers
11g Release 1 (11.1.1)
Part Number E10273-03

http://download.oracle.com/docs/cd/E15523_01/webcenter.1111/e10273/services.htm#CHDBFDHH

Step 8: Add the People Connections Service to Your Application. 
Step 9: Use the People Connections Service in Your Application at Runtime.

 

Steps to reproduce are e.g.:

1. Create a new application based on webcenter template. 
2. Create a jspx page. 
3. Drop a search taskflow on the new page. 
4. Enable ADF security and add users like fmwamdin/orcladmin. 
5. Save and run the page. 
6. Login as fmwadmin. 
7. Search for "fmwadmin" in search taskflow.

When it is returned under People service, click on it and it opens a dialog and throws the above error.

Changes

JDeveloper has been installed on Windows in a directory underneath C:/Documents and Settings/...

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms