UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21. Read more.
UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21.Read more.
Absent Member.
Absent Member.
998 views

ID Provider Driver integration with Userapplication

Hi,

I’m getting the following error when i tried to deploy the solution for the IDprovider in the workflow
We are using Web logic to host the userapplication

2018-05-10 23:25:27,778 ERROR [RBPM] [com.novell.soa.af.impl.activity.ActivityNode:handleException] Error Evaluating Script Error Evaluating Script com.novell.soa.script.mozilla.javascript.EcmaError: TypeError: getNextID is not a function.
2018-05-10 23:25:27,779 ERROR [RBPM] [com.novell.soa.af.impl.LogEvent:logError] [Workflow_Error] Initiated by cn=jimmy.john,ou=People,o=Event, Error Message: Dataitem [MAP0] with expression [BuildDN();^M
function BuildDN() {^M
var idpip = “180.23.20.47”; // Read the DS GCV for the IP^M
var idpp = 1199; // Read the DS GCV for the Port^M
var ue = Packages.com.novell.idm.idprovider.IDClient.getNextID(idpip,idpp,’AccessID’,’ID-Provider Driver’,’3′); // (ip, port, policy, client-id, trace)^M
return ue; //return DN^M
}] failed to evaluate.

What may be the issue?
Do we need to do a restart of the weblogic instance?

Thank in advance,
Agnel
Labels (1)
0 Likes
7 Replies
Absent Member.
Absent Member.

The IDprovider APIs need access to idprovider.jar

Check if you have copied the jar into the app server's library container.
E.g.,
[jboss]/common/lib
[CATALINA_HOME]/lib
[WLSERVER]/server/lib

Check the docs of your app server for details.
Most web servers need a restart to recognize changes in this container

Wolfgang


On 11/05/2018 07:34, Agnel Vincent wrote:
> 2018-05-10 23:25:27,778 ERROR [RBPM]
> [com.novell.soa.af.impl.activity.ActivityNode:handleException] Error
> Evaluating Script Error Evaluating Script
> com.novell.soa.script.mozilla.javascript.EcmaError: TypeError: getNextID
> is not a function.

0 Likes
Absent Member.
Absent Member.

Hi,

I have copied the jar file to /app/oracle/wls1035/wlserver_10.3/server/lib
but the error still persists.
Do i need to reboot the Weblogic server or an instance reboot would do?
I tried restarting the userapplication instance restart but the issue still persists.

Thanks,
Agnel
0 Likes
Absent Member.
Absent Member.

Agnel,

I've responded to your post on the Cool Solution.... You will have to reboot so the jar becomes part of the classpath....at the moment the WF engine can't find it.

Visit my Website for links to Cool Solution articles.
0 Likes
Absent Member.
Absent Member.

ScorpionSting;2480812 wrote:
Agnel,

I've responded to your post on the Cool Solution.... You will have to reboot so the jar becomes part of the classpath....at the moment the WF engine can't find it.


Hi,

I have copied the jar file to the following locations
/app/oracle/wls1035/wlserver_10.3/server/lib
/app/oracle/wls1035/wlserver_10.3/common/lib
And rebooted the WL server.
But still even the reboot I'm getting the same error.

Do i need to copy the jar file to the IDMProv specific library?

Thanks in Advance.
Agnel
0 Likes
Absent Member.
Absent Member.

Thankfully, I haven't had to play with Web Logic before, so not sure how it operates.....but basically, the jar needs to be available to the calling application, in this case it would be IDMProv needs to be able to load the jar file and call the functions within it....

Visit my Website for links to Cool Solution articles.
0 Likes
Micro Focus Expert
Micro Focus Expert

On 5/12/18 1:34 AM, Agnel Vincent wrote:
>
> ScorpionSting;2480812 Wrote:
>> Agnel,
>>
>> I've responded to your post on the Cool Solution.... You will have to
>> reboot so the jar becomes part of the classpath....at the moment the WF
>> engine can't find it.

>
> Hi,
>
> I have copied the jar file to the following locations
> /app/oracle/wls1035/wlserver_10.3/server/lib
> /app/oracle/wls1035/wlserver_10.3/common/lib
> And rebooted the WL server.
> But still even the reboot I'm getting the same error.
>
> Do i need to copy the jar file to the IDMProv specific library?
>
> Thanks in Advance.
> Agnel
>
>

Greetings,

1) Are you deployed on a stand alone WL or a Managed Server?

2) I believe you will need to add it to the library entry in the xml
file. I will try to find my notes about WL and the name of the file that
has to be updated for the UserApp to be aware of jars.



--
Sincerely,
Steven Williams
Principal Enterprise Architect
Micro Focus
0 Likes
Absent Member.
Absent Member.

Looks like this talks about it: https://docs.oracle.com/middleware/11119/wls/WLPRG/classloading.htm

or the weblogic-ejb-jar.xml/application.xml files as per: https://docs.oracle.com/cd/E13222_01/wls/docs60/programming/packaging.html

Visit my Website for links to Cool Solution articles.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.