Anonymous_User Absent Member.
Absent Member.
457 views

IDM 4.5 - Workflow - Write to catalina.out


Hello,

I have a simple yet strange problem. Since the dawn of time, I have used
Packages.java.lang.System.out.println("Text here") to troubleshoot my
workflows. But in IDM 4.5 this does not seem to work anymore. No errors
in catalina.out the line is just ignored and nothing is written to the
log file. Has something changed? I am 100% certain the code is executed,
because everything else in the function is executed.

Is it not possible to do it like this anymore, or am I doing something
wrong?

Thanks in advance,

Jacob.


--
jacmarpet
------------------------------------------------------------------------
jacmarpet's Profile: https://forums.netiq.com/member.php?userid=415
View this thread: https://forums.netiq.com/showthread.php?t=53198

Labels (1)
0 Likes
11 Replies
Anonymous_User Absent Member.
Absent Member.

Re: IDM 4.5 - Workflow - Write to catalina.out

You're not the first person I've heard report this, but the response to
the other person was that "It works for me." Care to share your code, and
how the code is called, and which version of Tomcat and Java you are
using? I know it's just simple 'Text Here', but seeing it in context may
help a bit, or knowing the other details may help isolate the problem for
some customers but not other parties.

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: IDM 4.5 - Workflow - Write to catalina.out

Also, which platform are you on? The other person I know who saw it said
he only saw it when running the UserApp outside of Linux hosts.

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: IDM 4.5 - Workflow - Write to catalina.out

On 3/26/15 12:46 PM, jacmarpet wrote:
>
> Hello,
>
> I have a simple yet strange problem. Since the dawn of time, I have used
> Packages.java.lang.System.out.println("Text here") to troubleshoot my
> workflows. But in IDM 4.5 this does not seem to work anymore. No errors
> in catalina.out the line is just ignored and nothing is written to the
> log file. Has something changed? I am 100% certain the code is executed,
> because everything else in the function is executed.
>
> Is it not possible to do it like this anymore, or am I doing something
> wrong?
>
> Thanks in advance,
>
> Jacob.
>
>

I had the same issue, seems to clear up after a restart of the tomcat
server.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: IDM 4.5 - Workflow - Write to catalina.out


You are right! It works now, after a restart! That is so weird!

I did it from a mapping activity, like so:


Code:
--------------------

function getUserByCPR()
{
var user = IDVault.globalQuery("qUserByCPR", {"CPR": flowdata.get("CPRNumber")})
Packages.java.lang.System.out.println("####CREATE USER#### Check if user exists: " + user);

return(user);
}
getUserByCPR();

--------------------


UA server specs:

IDM 4.5
SLES 11 SP3
Tomcat:
Server version: Apache Tomcat/7.0.55
Server built: Jul 18 2014 05:34:04
Server number: 7.0.55.0
OS Name: Linux
OS Version: 3.0.101-0.46-xen
Architecture: amd64
JVM Version: 1.7.0_65-b17
JVM Vendor: Oracle Corporation

Thanks for the help guys!

Jacob.


--
jacmarpet
------------------------------------------------------------------------
jacmarpet's Profile: https://forums.netiq.com/member.php?userid=415
View this thread: https://forums.netiq.com/showthread.php?t=53198

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: IDM 4.5 - Workflow - Write to catalina.out

On 03/26/2015 02:34 PM, jacmarpet wrote:
>
> You are right! It works now, after a restart! That is so weird!
>
> I did it from a mapping activity, like so:
>
>
> Code:
> --------------------
>
> function getUserByCPR()
> {
> var user = IDVault.globalQuery("qUserByCPR", {"CPR": flowdata.get("CPRNumber")})
> Packages.java.lang.System.out.println("####CREATE USER#### Check if user exists: " + user);
>
> return(user);
> }
> getUserByCPR();
>
> --------------------
>
>
> UA server specs:
>
> IDM 4.5
> SLES 11 SP3
> Tomcat:
> Server version: Apache Tomcat/7.0.55
> Server built: Jul 18 2014 05:34:04
> Server number: 7.0.55.0
> OS Name: Linux
> OS Version: 3.0.101-0.46-xen
> Architecture: amd64
> JVM Version: 1.7.0_65-b17
> JVM Vendor: Oracle Corporation
>
> Thanks for the help guys!
>
> Jacob.
>
>

Greetings,
Was the issue seen right after installing? Meaning that you had
not restarted Tomcat since the install? Just trying to better
understand to track this.

--

Sincerely,
Steven Williams
Lead Software Engineer
NetIQ
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: IDM 4.5 - Workflow - Write to catalina.out

On 3/26/15 9:42 PM, Steven Williams wrote:
> On 03/26/2015 02:34 PM, jacmarpet wrote:
>>
>> You are right! It works now, after a restart! That is so weird!
>>
>> I did it from a mapping activity, like so:
>>
>>
>> Code:
>> --------------------
>>
>> function getUserByCPR()
>> {
>> var user = IDVault.globalQuery("qUserByCPR", {"CPR":
>> flowdata.get("CPRNumber")})
>> Packages.java.lang.System.out.println("####CREATE USER#### Check if
>> user exists: " + user);
>>
>> return(user);
>> }
>> getUserByCPR();
>>
>> --------------------
>>
>>
>> UA server specs:
>>
>> IDM 4.5
>> SLES 11 SP3
>> Tomcat:
>> Server version: Apache Tomcat/7.0.55
>> Server built: Jul 18 2014 05:34:04
>> Server number: 7.0.55.0
>> OS Name: Linux
>> OS Version: 3.0.101-0.46-xen
>> Architecture: amd64
>> JVM Version: 1.7.0_65-b17
>> JVM Vendor: Oracle Corporation
>>
>> Thanks for the help guys!
>>
>> Jacob.
>>
>>

> Greetings,
> Was the issue seen right after installing? Meaning that you had
> not restarted Tomcat since the install? Just trying to better
> understand to track this.
>

In my situation it is kind of random, one workflow would work fine.
Another one would cause it to break, after which all tracing would stop.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: IDM 4.5 - Workflow - Write to catalina.out

On 03/26/2015 10:58 PM, Daryl Creedy wrote:
> On 3/26/15 9:42 PM, Steven Williams wrote:
>> On 03/26/2015 02:34 PM, jacmarpet wrote:
>>>
>>> You are right! It works now, after a restart! That is so weird!
>>>
>>> I did it from a mapping activity, like so:
>>>
>>>
>>> Code:
>>> --------------------
>>>
>>> function getUserByCPR()
>>> {
>>> var user = IDVault.globalQuery("qUserByCPR", {"CPR":
>>> flowdata.get("CPRNumber")})
>>> Packages.java.lang.System.out.println("####CREATE USER#### Check if
>>> user exists: " + user);
>>>
>>> return(user);
>>> }
>>> getUserByCPR();
>>>
>>> --------------------
>>>
>>>
>>> UA server specs:
>>>
>>> IDM 4.5
>>> SLES 11 SP3
>>> Tomcat:
>>> Server version: Apache Tomcat/7.0.55
>>> Server built: Jul 18 2014 05:34:04
>>> Server number: 7.0.55.0
>>> OS Name: Linux
>>> OS Version: 3.0.101-0.46-xen
>>> Architecture: amd64
>>> JVM Version: 1.7.0_65-b17
>>> JVM Vendor: Oracle Corporation
>>>
>>> Thanks for the help guys!
>>>
>>> Jacob.
>>>
>>>

>> Greetings,
>> Was the issue seen right after installing? Meaning that you had
>> not restarted Tomcat since the install? Just trying to better
>> understand to track this.
>>

> In my situation it is kind of random, one workflow would work fine.
> Another one would cause it to break, after which all tracing would stop.

Greetings Daryl,
In your step-up, do you have all of the 4.5 applications deployed on
this Tomcat
-Identity Applications (User App, landing, dash, rra)
-Identity Reporting
-SSPR
-OSP

If not, what applications are deployed?

--

Sincerely,
Steven Williams
Lead Software Engineer
NetIQ
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: IDM 4.5 - Workflow - Write to catalina.out


Steven Williams;255737 Wrote:
> On 03/26/2015 10:58 PM, Daryl Creedy wrote:
> > On 3/26/15 9:42 PM, Steven Williams wrote:
> >> On 03/26/2015 02:34 PM, jacmarpet wrote:
> >>>
> >>> You are right! It works now, after a restart! That is so weird!
> >>>
> >>> I did it from a mapping activity, like so:
> >>>
> >>>
> >>> Code:
> >>> --------------------
> >>>
> >>> function getUserByCPR()
> >>> {
> >>> var user = IDVault.globalQuery("qUserByCPR", {"CPR":
> >>> flowdata.get("CPRNumber")})
> >>> Packages.java.lang.System.out.println("####CREATE USER#### Check

> if
> >>> user exists: " + user);
> >>>
> >>> return(user);
> >>> }
> >>> getUserByCPR();
> >>>
> >>> --------------------
> >>>
> >>>
> >>> UA server specs:
> >>>
> >>> IDM 4.5
> >>> SLES 11 SP3
> >>> Tomcat:
> >>> Server version: Apache Tomcat/7.0.55
> >>> Server built: Jul 18 2014 05:34:04
> >>> Server number: 7.0.55.0
> >>> OS Name: Linux
> >>> OS Version: 3.0.101-0.46-xen
> >>> Architecture: amd64
> >>> JVM Version: 1.7.0_65-b17
> >>> JVM Vendor: Oracle Corporation
> >>>
> >>> Thanks for the help guys!
> >>>
> >>> Jacob.
> >>>
> >>>
> >> Greetings,
> >> Was the issue seen right after installing? Meaning that you

> had
> >> not restarted Tomcat since the install? Just trying to better
> >> understand to track this.
> >>

> > In my situation it is kind of random, one workflow would work fine.
> > Another one would cause it to break, after which all tracing would

> stop.
> Greetings Daryl,
> In your step-up, do you have all of the 4.5 applications deployed on
> this Tomcat
> -Identity Applications (User App, landing, dash, rra)
> -Identity Reporting
> -SSPR
> -OSP
>
> If not, what applications are deployed?
>
> --
>
> Sincerely,
> Steven Williams
> Lead Software Engineer
> NetIQ


I have the following installed on my server:

-Identity Applications (User App, landing, dash, rra)
-Identity Reporting
-OSP

It also seems to be random for me. I had restarted the Tomcat several
times before I noticed this problem.

Jacob.


--
jacmarpet
------------------------------------------------------------------------
jacmarpet's Profile: https://forums.netiq.com/member.php?userid=415
View this thread: https://forums.netiq.com/showthread.php?t=53198

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: IDM 4.5 - Workflow - Write to catalina.out

On 3/27/15 5:22 AM, Steven Williams wrote:
> On 03/26/2015 10:58 PM, Daryl Creedy wrote:
>> On 3/26/15 9:42 PM, Steven Williams wrote:
>>> On 03/26/2015 02:34 PM, jacmarpet wrote:
>>>>
>>>> You are right! It works now, after a restart! That is so weird!
>>>>
>>>> I did it from a mapping activity, like so:
>>>>
>>>>
>>>> Code:
>>>> --------------------
>>>>
>>>> function getUserByCPR()
>>>> {
>>>> var user = IDVault.globalQuery("qUserByCPR", {"CPR":
>>>> flowdata.get("CPRNumber")})
>>>> Packages.java.lang.System.out.println("####CREATE USER#### Check if
>>>> user exists: " + user);
>>>>
>>>> return(user);
>>>> }
>>>> getUserByCPR();
>>>>
>>>> --------------------
>>>>
>>>>
>>>> UA server specs:
>>>>
>>>> IDM 4.5
>>>> SLES 11 SP3
>>>> Tomcat:
>>>> Server version: Apache Tomcat/7.0.55
>>>> Server built: Jul 18 2014 05:34:04
>>>> Server number: 7.0.55.0
>>>> OS Name: Linux
>>>> OS Version: 3.0.101-0.46-xen
>>>> Architecture: amd64
>>>> JVM Version: 1.7.0_65-b17
>>>> JVM Vendor: Oracle Corporation
>>>>
>>>> Thanks for the help guys!
>>>>
>>>> Jacob.
>>>>
>>>>
>>> Greetings,
>>> Was the issue seen right after installing? Meaning that you had
>>> not restarted Tomcat since the install? Just trying to better
>>> understand to track this.
>>>

>> In my situation it is kind of random, one workflow would work fine.
>> Another one would cause it to break, after which all tracing would stop.

> Greetings Daryl,
> In your step-up, do you have all of the 4.5 applications deployed on
> this Tomcat
> -Identity Applications (User App, landing, dash, rra)
> -Identity Reporting
> -SSPR
> -OSP
>
> If not, what applications are deployed?
>

This is a single server install for all of the apps.

Daryl
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: IDM 4.5 - Workflow - Write to catalina.out


This problem still exist in IDM 4.5.2. Has anyone a solution or has
anyone open a service request? Have NetIQ create a BugNumber vor this
issue?

Thomas


--
KahlerThomas
------------------------------------------------------------------------
KahlerThomas's Profile: https://forums.netiq.com/member.php?userid=1030
View this thread: https://forums.netiq.com/showthread.php?t=53198

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: IDM 4.5 - Workflow - Write to catalina.out

On 1/18/16 4:04 AM, KahlerThomas wrote:
>
> This problem still exist in IDM 4.5.2. Has anyone a solution or has
> anyone open a service request? Have NetIQ create a BugNumber vor this
> issue?
>
> Thomas
>
>

Greetings Thomas,
If you are deployed on Windows, there is a different thread about
that and the current suggestion is to utilize log4j in your code instead
of System.out.Print

--
Sincerely,
Steven Williams
Lead Software Engineer
Micro Focus
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.