Agent notification on upload
Hi,
i have read the sample code for the notification agent. I want to write an agent that notifies me when a document is uploaded in iFS. Could you tell me what i must write in the agent code?
thanks in advance
loukas
Before we respond, I want to make sure I understand the requirement. Are you asking how to notify...
* On all uploads?
* On uploads to a particular directory?
* On upload of a particular type of file to any directory?
null
Similar Messages
-
Agent is not uploading the data.
Agent is not able to ping repository..
2007-08-09 11:36:28 Thread-76 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
2007-08-09 11:36:28 Thread-76 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
2007-08-09 11:36:57 Thread-78 ERROR upload: Error in uploadXMLFiles. Trying again in 147.00 seconds or earlier.
2007-08-09 11:36:58 Thread-79 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
2007-08-09 11:36:58 Thread-79 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
2007-08-09 11:37:28 Thread-81 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
2007-08-09 11:37:28 Thread-81 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
2007-08-09 11:37:57 Thread-82 ERROR upload: Error in uploadXMLFiles. Trying again in 176.00 seconds or earlier.
2007-08-09 11:37:58 Thread-84 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
2007-08-09 11:37:59 Thread-84 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repositoryAlso make sure that the name/address that your agent is trying to upload to actually points to your EM OMS server (where the agents and web pages are served) and that you have basic network connectivity. Continue to check all the agent logs, they are helpful.
-
The agent can not upload the xml file in the repository of the OMS
Hi,
I install an agent 10.2.0.4 HP-UX v.11.23, 64 bit, which has an Oracle database v.10.2.0.4.
The OMS identified a single server, but no database.
I uninstall the agent and remove the server from the OEM (html).
I install agent again with the patch 6409645.
Configure a security key to the agent (emctl secure agent).
However, it generates a file error emagent.trc, when i start the agent:
2009-04-14 12:23:05,819 Thread-1 WARN collector: MESSAGE_NLSID "Successful Name Registration Request Sent By Identity Provider(%)" is too long, truncating to "Successful Name Registration Request Sent By Identity Provider(%"
2009-04-14 12:23:40,616 Thread-21 WARN upload: FxferSend: received http error in header from repository: https://gcontrol.manquehue.local:1159/em/upload
ERROR-400|ORA-01861: literal does not match format string
2009-04-14 12:23:40,619 Thread-21 ERROR upload: Failed to upload file B0000001.xml: HTTP error.
Response received: ERROR-400|ORA-01861: literal does not match format string
Please anyone can help me?
DavidHi:
Do the following in OMS host:
[oracle@gcontrol bin]$ ./emctl secure unlock
Oracle Enterprise Manager 10g Release 4 Grid Control
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Checking the security status of the OMS... Done.
Stopping the HTTP Server... Done.
Updating HTTPS Virtual Host for Enterprise Manager OMS... Done.
Starting the HTTP Server... Done.
OMS Unlocked. Non Secure Agents may upload using HTTP.
[oracle@gcontrol bin]$
In Agent host:
$AGENT_HOME/bin/emctl unsecure agent
$AGENT_HOME/bin/emctl secure agent
$AGENT_HOME/bin/emctl start agent
$AGENT_HOME/bin/emctl status agent
$AGENT_HOME/bin/emctl upload agent
but the error continues:
2009-04-16 18:08:07,700 Thread-1 WARN http: snmehl_connect: connect failed to (delfos:1830): Connection refused (error = 239)
2009-04-16 18:08:07,700 Thread-1 ERROR main: nmectla_agentctl: Error connecting to https://delfos:1830/emd/main/. Returning status code 1
Even start the agent without security, but the error remains. (unsecure only)
2009-04-16 18:07:43,353 Thread-1 WARN http: snmehl_connect: connect failed to (delfos:1830): Connection refused (error = 239)
2009-04-16 18:07:43,354 Thread-1 ERROR main: nmectla_agentctl: Error connecting to http://delfos:1830/emd/main/. Returning status code 1
Not yet implemented $OMS_HOME/bin/emctl secure lock
Any idea?
Thanks for your help.
David -
Error using intermedia web agent on image upload
I use web agent, the PL/SQL Proc are OK, but sometimes, when I upload images, I've got this message.
don't understand because the same image can upload the next time....
MWM-00015: event logged at 17-Oct-2000 15:51:11 web agent 'interMedia'
MWM-00013: request: method='POST' path='/intermedia/kiliko/mediaput/LIVR_PUT/' client=213.228.49.133
MWM-00740: MEDIAPUT request did not return a non-NULL content handle
nullThat's the JSP page I use to upload image if you need more info.
the PL proc I used are generated by clipboard.
<%@ page contentType="text/html;charset=WINDOWS-1252"%>
<jsp:useBean id="annonceejb" scope="page" class="a2a.annonce.pages.annoncejsp">
</jsp:useBean>
<%@ include file="../../includes/globals.txt" %>
<%
java.lang.String strannonce=request.getParameter("annonce");
int idannonce=-1;
if (strannonce!=null)
idannonce=java.lang.Integer.parseInt(strannonce);
annonceejb.insertImageAnnonce(idannonce);
%>
<html>
<head>
<title>Ajoutez une photo à l'annonce</title>
<SCRIPT LANGUAGE="JavaScript1.2">
<!-- Debut script
function valide() {
if (document.all)
window.event.cancelBubble=true;
window.event.returnValue = false;
if (document.forms[0].ord_content.value=="")
alert("Selection obligatoire du fichier!")
// Fin script -->
</SCRIPT>
</head>
<body bgcolor="#3399CC">
<p>
<br>
<br>
<br>
</p>
<form action="<%=SGBD_SERVER%>/mediaput/PUT_ANN/"
method="post"
enctype="multipart/form-data">
<div align="center"><font color="#FFFFFF"><b><font size="2" face="Arial">sélectionnez
la photo de votre annonce</font></b></font> </div>
<input type="hidden" name="ord_post_put_call" value="REDIRECT_ANN_AMS">
<input type="hidden" name="ord_procedure_path" value="<%=idannonce%>">
<p align="center"> <!-- We use file input to add the image -->
<input type="file" name="ord_content" size=20>
<br>
</p>
<div align="center"><font face="Arial" size="1" color="#FFFFFF">
<IMG SRC="../../commun/images/stabtn_valider.gif" BORDER=0 WIDTH=64 HEIGHT=12>
<a href="supphotoannonce.jsp?annonce=<%=idannonce%>"><img src="../../commun/images/stabtn_annuler.gif" width="64" height="12" border="0"></a>
</div>
</form>
<div id="Layer1" style="position:absolute; width:451px; height:546px; z-index:1; left: 503px; top: 51px; background-color: #FFFFFF; layer-background-color: #FFFFFF; border: 1px none #000000; visibility: hidden"></div>
</body>
</html>
null -
Facebook PICTURE Notifications and Uploads using 8300 CURVE
A week ago, was able to VIEW 1 pic from my FB Notification, when ppl make a comment on a PIC. And hasn't worked since, Instead I have to go "facebook" to view a pic comment.
Also, I can not send pics to me FB...WHY? What do I need to do?i would uninstall facebook and reinstall it
options- advanced options- applications
delete facebook and reboot
go and download 1.6 and reinstall -
EMail notification - While uploading any document in portal application
Is there is any way to send an email notification to the groups of users, while user is trying to create any sub pages / adding new document in oracle portal application?
--BalajiBelow link helps me to configure CMEF in portal application
http://www.oracle.com/technology/products/ias/portal/pdf/portal_cmef_bpel_integration_technote.pdf
--Balaji S -
Agent Up and Running, uploading, but host not discovered
We recently rebooted one node in a two node RAC. When it came up we were having problems getting information in Enterprise manager. The agent comes up, uploads successfully and everything seem fine, but no updates in EM. We removed the host and all associated targets and tried reconfiguring and now EM cannot discover the host. It sees the agent, but not the host. What could have possibly gone wrong? This was all working fine before the reboot.
Agent Version : 10.1.0.5.1
OMS Version : 10.2.0.5.0
Protocol Version : 10.1.0.2.0
Database version is 10.1.0.3
Running on Red Hat Linux Itanium 3.2.3-47
Targets.xml is empty now on this node.
Edited by: user8720546 on Mar 17, 2010 2:55 PMHi Erika,
still agent is not discovering by the host. Please find the details command output. During agent upload i am getting error.
bash-3.2$ ./agentca -d
Stopping the agent using /opt/oracle/OracleHomes/agent10g/bin/emctl stop agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Stopping agent ... stopped.
Running agentca using /opt/oracle/OracleHomes/agent10g/oui/bin/runConfig.sh ORACLE_HOME=/opt/oracle/OracleHomes/agent10g ACTION=Configure MODE=Perform RESPONSE_FILE=/opt/oracle/OracleHomes/agent10g/response_file RERUN=TRUE INV_PTR_LOC=/opt/oracle/OracleHomes/agent10g/oraInst.loc COMPONENT_XML={oracle.sysman.top.agent.10_2_0_1_0.xml}
Perform - mode is starting for action: Configure
Perform - mode finished for action: Configure
You can see the log file: /opt/oracle/OracleHomes/agent10g/cfgtoollogs/oui/configActions2010-03-23_01-50-58-PM.log
bash-3.2$ ./emctl clearstate agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
EMD clearstate completed successfully
bash-3.2$ ./emctl upload agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..
bash-3.2$ ./emctl status agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Agent Version : 10.2.0.5.0
OMS Version : 10.2.0.5.0
Protocol Version : 10.2.0.5.0
Agent Home : /opt/oracle/OracleHomes/agent10g
Agent binaries : /opt/oracle/OracleHomes/agent10g
Agent Process ID : 6598
Parent Process ID : 6582
Agent URL : https://kanlddev6201a.us.oracle.com:3872/emd/main/
Repository URL : https://idcovms1c.idc.oracle.com:1159/em/upload
Started at : 2010-03-23 13:52:14
Started by user : bpatra
Last Reload : 2010-03-23 13:52:14
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 342
Size of XML files pending upload(MB) : 40.36
Available disk space on upload filesystem : 31.31%
Last attempted heartbeat to OMS : 2010-03-23 13:53:29
Last successful heartbeat to OMS : unknown
Agent is Running and Ready -
Agent 10.2.0.5 on AIX is running, no upload
Hello,
Getting bad experience with agent again.
What I did:
1. Installed agent on AIX, upload was working ok, but did not find database instance.
2. Administrator changed/corrected etc/oratab
3. Uninstalled agent
4. Installed agent. No upload
5. Uninstalled agent
6. Removed target in OEM
7. Installed agent. No upload
8. Uninstalled agent
9. Restarted OEM.
10. Installed agent. No upload.
What I get:
status agent:
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Agent Version : 10.2.0.5.0
OMS Version : 10.2.0.5.0
Protocol Version : 10.2.0.5.0
Agent Home : /oracle/agent10g
Agent binaries : /oracle/agent10g
Agent Process ID : 995394
Parent Process ID : 774362
Agent URL : https://xxxx.xx.xxx:3872/emd/main/
Repository URL : https://yyy.xx.xxx:1159/em/upload
Started at : 2010-01-20 16:01:41
Started by user : oracle
Last Reload : 2010-01-20 16:01:41
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 34
Size of XML files pending upload(MB) : 16.88
Available disk space on upload filesystem : 14.97%
Last attempted heartbeat to OMS : 2010-01-20 16:01:44
Last successful heartbeat to OMS : unknown
Agent is Running and Ready
upload agent:
EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..
secure agent:
Agent successfully restarted... Done. Securing agent... Successful.
emagent.trc:
ERROR pingManager: Did not receive valid response to ping "ERROR-Agent is blocked. Blocked reason is: Agent is out-of-sync with repository. This most likely means that the agent was reinstalled or recovered. Please contact an EM administrator to unblock the agent by performing an agent resync from the console. Please contact EM adminstrator to unblock the agent"
Maybe this error is an issue? What should I exactly do?
Any help is needed very much!
Best regards,
NikolajusThanks mnazim,
I run agentca -f from agent home on target machine (i run this as root, is it ok?). It seems it worked ok:
[root@dm]# ./agentca -f
Stopping the agent using /oracle/agent10g/bin/emctl stop agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Stopping agent ... stopped.
Running agentca using /oracle/agent10g/oui/bin/runConfig.sh ORACLE_HOME=/oracle/agent10g ACTION=Configure MODE=Perform RESPONSE_FILE=/oracle/agent10g/response_file RERUN=TRUE INV_PTR_LOC=/oracle/agent10g/oraInst.loc COMPONENT_XML={oracle.sysman.top.agent.10_2_0_1_0.xml}
Perform - mode is starting for action: Configure
Perform - mode finished for action: Configure
You can see the log file: /oracle/agent10g/cfgtoollogs/oui/configActions2010-01-21_12-43-49-PM.log
Now agent is stopped. I checked last lines of that .log file - The action configuration has successfully completed
Sorry, I am a newbie, I didnt get your 'and paste the targets.xml'.
1. Where should I find that 'targets.xml' file?
2. What exactly should I do with that? Paste content of that .xml here in thread?
PS: found targets.xml on host machine:
<Targets AGENT_TOKEN="cd51f1f1289d9454f0aeaf6406e09b2f15cc9791">
<Target TYPE="oracle_emd" NAME="xxxx.xx.xxx:3872" DISPLAY_NAME="xxxxx.xx.xxx:3872"/>
<Target TYPE="host" NAME="xxxx.xx.xxx"/>
<Target TYPE="oracle_database" NAME="xxxxxxxx.xx.xx">
<Property NAME="OracleHome" VALUE="/oracle/product/10.2.0/db"/>
<Property NAME="UserName" VALUE="aa3b3d4a6e15472c" ENCRYPTED="TRUE"/>
<Property NAME="MachineName" VALUE="xxxx.xx.xxx"/>
<Property NAME="Port" VALUE="1521"/>
<Property NAME="SID" VALUE="CLL"/>
<Property NAME="ServiceName" VALUE="XXX.XXX.XX"/>
</Target>
</Targets>
What's next to do?
Regards,
Nikolajus
Edited by: Nikolajus on Jan 21, 2010 3:23 AM
Edited by: Nikolajus on Jan 21, 2010 3:26 AM -
What does Grid Control agent upload?
We recently shut down the agent for Grid Control and yet I still see data on the "top activity" page, both current and historical. If the agent isn't uploading this data what is? And what does the agent upload if not this data?
If my memory serves me correctly, the agent uploads monitoring metrics for long term. When you are viewing the target it connects directly to the database, hence why grid has to have connect descriptors for the databases beyond just the agent using them.
-
I'm using agent 10.2.0.5 on RHEL 4
OMS in Windows Server 2003
When i try to upload agent using:
emctl upload agent
i get the following error
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
EMD upload error: Failed to upload file A0000001.xml: HTTP error.
Response received: ERROR-400|ORA-01403: no data found
ORA-06512: at "SYSMAN.EMD_LOADER", line 2461
ORA-06512: at "SYSMAN.EMD_LOADER", line 1570
ORA-06512: at line 1
why there is "no data found" error???Please check the exact error message noted in OMS_HOME/sysman/log/emoms.trc file also.
This might give a clue -
Cisco Agent Desktop Timer Issue
I have a UCCX version 7.0(2)_Build254 and CAD installed . One of my agent switch to no ready and no phone call through your number . Does exist a timer to modify at UCCX ?
Thanks and best regards
Hugowhat are you trying to do here? Put the agent back to ready automatically after x secs? This isn't a good idea, and I don't think its possible with CAD.
What you could do is create an agent notification when they've been not ready for x secs. In desktop administrator, expand your workflow (create a new one perhaps) and go to Agent Management Workflows
Then create the following actions for the not ready event :
Delay action
Agent Notification action
Some screenshots attached.
Brian
Please rate helpful posts -
Problem with Notification update from backend (local notif)
Hi all
I created a Local notification and uploaded the same to the server. I found the same notification in the backend and made some changes to it and then tried to sync the data to the MAM application but I got the following error message
Exception while proccessing method SMARTSYNC : java.lang.RuntimeException: Error while Smart Sync inbound processing: java.lang.IllegalStateException: State NEW_INSYNC does not allow this transition: srvMod
Any solution or suggestion would be helpful
Thanks
GopiHi Gopi,
Looks like a problem in the middleware. Can you check in merep_mon what the server is sending to the client for that particular notification?
It should ideally be a success message along with a Replace.
But I fear that it may be sending a modify message. Can you confirm this?
Also the latest SP is SP18 do you have any plans to upgrade?
Best Regards,
Karthik -
OEM10 agent on Solaris 10?
I can't install OEM10 R2 agent on Solaris 10.
Any way to get around it?
When the authentic agent be released for Solaris10?
ThanksI was able to get the agent installed with some minor difficultly. However, the agent was not uploading any meaningful information. The only target that showed up in the Grid Control was the agent itself. So it was able to upload some information. The agent was just not discovering anything else about Oracle databases or the system itself.
-
Hi,
I have installed SAM (together with S1DS, Web Server and Administration Server (from JES installer)).
I have installed and configured Policy Agent for JBoss AS, but i'm getting a browser "Redirect loop" (Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked.) error after I login with a correct user/password combination when I try to access the sample application.
My browser accepts cookies from all domains and I get no error in console.
My AMAgent.properties looks like this:
com.sun.identity.agents.config.user.mapping.mode = USER_ID
com.sun.identity.agents.config.user.attribute.name = employeenumber
com.sun.identity.agents.config.user.principal = false
com.sun.identity.agents.config.user.token = UserToken
com.sun.identity.agents.config.client.ip.header =
com.sun.identity.agents.config.client.hostname.header =
com.sun.identity.agents.config.load.interval = 0
com.sun.identity.agents.config.locale.language = en
com.sun.identity.agents.config.locale.country = US
com.sun.identity.agents.config.organization.name = /
com.sun.identity.agents.config.audit.accesstype = LOG_BOTH
com.sun.identity.agents.config.log.disposition = ALL
com.sun.identity.agents.config.remote.logfile = amAgent_11_126_14_20_8080.log
com.sun.identity.agents.config.local.logfile = /home/ciuc/stuff/src/j2ee_agents/am_jboss_agent/agent_001/logs/audit/amAgent_11_126_14_20_8080.log
com.sun.identity.agents.config.local.log.rotate = false
com.sun.identity.agents.config.local.log.size = 52428800
com.sun.identity.agents.config.webservice.enable = false
com.sun.identity.agents.config.webservice.endpoint[0] =
com.sun.identity.agents.config.webservice.process.get.enable = true
com.sun.identity.agents.config.webservice.authenticator =
com.sun.identity.agents.config.webservice.internalerror.content = WSInternalErrorContent.txt
com.sun.identity.agents.config.webservice.autherror.content = WSAuthErrorContent.txt
com.sun.identity.agents.config.access.denied.uri =
com.sun.identity.agents.config.login.form[0] =
com.sun.identity.agents.config.login.error.uri[0] =
com.sun.identity.agents.config.login.use.internal = true
com.sun.identity.agents.config.login.content.file = FormLoginContent.txt
com.sun.identity.agents.config.auth.handler[] =
com.sun.identity.agents.config.logout.handler[] =
com.sun.identity.agents.config.verification.handler[] =
com.sun.identity.agents.config.redirect.param = goto
com.sun.identity.agents.config.login.url[0] = http://sam.domain:80/amserver/UI/Login
com.sun.identity.agents.config.login.url.prioritized = true
com.sun.identity.agents.config.agent.host =
com.sun.identity.agents.config.agent.port =
com.sun.identity.agents.config.agent.protocol =
com.sun.identity.agents.config.login.attempt.limit = 0
com.sun.identity.agents.config.sso.decode = true
com.sun.identity.agents.config.amsso.cache.enable = true
com.sun.identity.agents.config.cookie.reset.enable = false
com.sun.identity.agents.config.cookie.reset.name[0] =
com.sun.identity.agents.config.cookie.reset.domain[] =
com.sun.identity.agents.config.cookie.reset.path[] =
com.sun.identity.agents.config.cdsso.enable = false
com.sun.identity.agents.config.cdsso.redirect.uri = /agentapp/sunwCDSSORedirectURI
com.sun.identity.agents.config.cdsso.cdcservlet.url[0] = http://dm-test-win-1:80/amserver/cdcservlet
com.sun.identity.agents.config.cdsso.clock.skew = 0
com.sun.identity.agents.config.cdsso.trusted.id.provider[0] = http://dm-test-win-1:80/amserver/cdcservlet
com.sun.identity.agents.config.logout.application.handler[] =
com.sun.identity.agents.config.logout.uri[] =
com.sun.identity.agents.config.logout.request.param[] =
com.sun.identity.agents.config.logout.introspect.enabled = false
com.sun.identity.agents.config.logout.entry.uri[] =
com.sun.identity.agents.config.fqdn.check.enable = true
com.sun.identity.agents.config.fqdn.default = jbossAS.domain
com.sun.identity.agents.config.fqdn.mapping[] =
com.sun.identity.agents.config.legacy.support.enable = false
com.sun.identity.agents.config.legacy.user.agent[0] = Mozilla/4.7*
com.sun.identity.agents.config.legacy.redirect.uri = /agentapp/sunwLegacySupportURI
com.sun.identity.agents.config.response.header[] =
com.sun.identity.agents.config.redirect.attempt.limit = 0
com.sun.identity.agents.config.port.check.enable = false
com.sun.identity.agents.config.port.check.file = PortCheckContent.txt
com.sun.identity.agents.config.port.check.setting[8080] = http
com.sun.identity.agents.config.notenforced.uri[0] = /agentsample/public/*
com.sun.identity.agents.config.notenforced.uri[1] = /agentsample/images/*
com.sun.identity.agents.config.notenforced.uri[2] = /agentsample/styles/*
com.sun.identity.agents.config.notenforced.uri[3] = /agentsample/index.html
com.sun.identity.agents.config.notenforced.uri[4] = /agentsample
com.sun.identity.agents.config.notenforced.uri.invert = false
com.sun.identity.agents.config.notenforced.uri.cache.enable = true
com.sun.identity.agents.config.notenforced.uri.cache.size = 1000
com.sun.identity.agents.config.notenforced.ip[0] =
com.sun.identity.agents.config.notenforced.ip.invert = false
com.sun.identity.agents.config.notenforced.ip.cache.enable = true
com.sun.identity.agents.config.notenforced.ip.cache.size = 1000
com.sun.identity.agents.config.attribute.cookie.separator = |
com.sun.identity.agents.config.attribute.date.format = EEE, d MMM yyyy hh:mm:ss z
com.sun.identity.agents.config.attribute.cookie.encode = true
com.sun.identity.agents.config.profile.attribute.fetch.mode = NONE
com.sun.identity.agents.config.profile.attribute.mapping[] =
com.sun.identity.agents.config.session.attribute.fetch.mode = NONE
com.sun.identity.agents.config.session.attribute.mapping[] =
com.sun.identity.agents.config.response.attribute.fetch.mode = NONE
com.sun.identity.agents.config.response.attribute.mapping[] =
com.sun.identity.agents.config.bypass.principal[0] =
com.sun.identity.agents.config.default.privileged.attribute[0] = AUTHENTICATED_USERS
com.sun.identity.agents.config.privileged.attribute.type[0] = Role
com.sun.identity.agents.config.privileged.attribute.tolowercase[Role] = false
com.sun.identity.agents.config.privileged.session.attribute[0] =
com.sun.identity.agents.config.service.resolver = com.sun.identity.agents.jboss.v40.AmJBossAgentServiceResolver
com.sun.identity.agents.app.username = amagent
com.iplanet.am.service.secret = AQICJmGvlBWYuAYQndALuvNKiw==
am.encryption.pwd = /mY/WidDT34aJtbcFS0pCKFEt6evPeTF
com.sun.identity.client.encryptionKey= /mY/WidDT34aJtbcFS0pCKFEt6evPeTF
com.iplanet.services.debug.level=error
com.iplanet.services.debug.directory=/home/ciuc/stuff/src/j2ee_agents/am_jboss_agent/agent_001/logs/debug
com.iplanet.am.cookie.name=iPlanetDirectoryPro
com.iplanet.am.naming.url=http://sam.domain:80/amserver/namingservice
com.iplanet.am.notification.url=http://jbossAS.domain:8080/agentapp/notification
com.iplanet.am.session.client.polling.enable=false
com.iplanet.am.session.client.polling.period=180
com.iplanet.security.encryptor=com.iplanet.services.util.JCEEncryption
com.iplanet.am.sdk.remote.pollingTime=1
com.sun.identity.sm.cacheTime=1
com.iplanet.am.localserver.protocol=http
com.iplanet.am.localserver.host=jbossAS.domain
com.iplanet.am.localserver.port=8080
com.iplanet.am.server.protocol=http
com.iplanet.am.server.host=sam.domain
com.iplanet.am.server.port=80
com.sun.identity.agents.server.log.file.name=amRemotePolicyLog
com.sun.identity.agents.logging.level=BOTH
com.sun.identity.agents.notification.enabled=true
com.sun.identity.agents.notification.url=http://jbossAS.domain:8080/agentapp/notification
com.sun.identity.agents.polling.interval=3
com.sun.identity.policy.client.cacheMode=subtree
com.sun.identity.policy.client.booleanActionValues=iPlanetAMWebAgentService|GET|allow|deny:iPlanetAMWebAgentService|POST|allow|deny
com.sun.identity.policy.client.resourceComparators=serviceType=iPlanetAMWebAgentService|class=com.sun.identity.policy.plugins.HttpURLResourceName|wildcard=*|delimiter=/|caseSensitive=false
com.sun.identity.policy.client.clockSkew=1011.126.14.20 is the computer where I have the JBoss installation.
11.126.14.18 is the computer where I have SAM services.
Do you have any idea why this error may occur?
Thank you in advance,
CristiHi,
Thanks for your responses, I've included my AMAgent.properties below if you could take a look at it.
I only seem to run into the problem when I authenticate if the following is set:
com.sun.identity.agents.config.profile.attribute.fetch.mode = HTTP_HEADER
If that is set to NONE then I can access the application fine, but if i use the HTTP_HEADER and attempt to pass information via the header I get stuck in the loop which results in the message <strong>".Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked."</strong>
There is no helpful output in either my container log or the Policy Agent logs.
The myHost.local. exists within my /etc/hosts file and using ping and other tools resolve fine.
I am using JBOSS 4.2.2 on Linux (and windows).
If anyone can help save my sanity it would be appreciated.
com.sun.identity.agents.config.filter.mode = URL_POLICY
com.sun.identity.agents.config.user.mapping.mode = USER_ID
com.sun.identity.agents.config.user.attribute.name = employeenumber
com.sun.identity.agents.config.user.principal = false
com.sun.identity.agents.config.user.token = UserToken
com.sun.identity.agents.config.load.interval = 0
com.sun.identity.agents.config.locale.language = en
com.sun.identity.agents.config.locale.country = US
com.sun.identity.agents.config.audit.accesstype = LOG_NONE
com.sun.identity.agents.config.log.disposition = REMOTE
com.sun.identity.agents.config.remote.logfile = amAgent_8089.log
com.sun.identity.agents.config.local.logfile = /usr/j2ee_agents/am_jboss_agent/agent_001/logs/audit/amAgent_8089.log
com.sun.identity.agents.config.local.log.rotate = false
com.sun.identity.agents.config.local.log.size = 52428800
com.sun.identity.agents.config.webservice.enable = false
com.sun.identity.agents.config.webservice.endpoint[0] =
com.sun.identity.agents.config.webservice.process.get.enable = true
com.sun.identity.agents.config.webservice.authenticator =
com.sun.identity.agents.config.webservice.internalerror.content = WSInternalErrorContent.txt
com.sun.identity.agents.config.webservice.autherror.content = WSAuthErrorContent.txt
com.sun.identity.agents.config.login.form[0] = /manager/AMLogin.html
com.sun.identity.agents.config.login.form[1] = /host-manager/AMLogin.html
com.sun.identity.agents.config.login.error.uri[0] = /manager/AMError.html
com.sun.identity.agents.config.login.error.uri[1] = /host-manager/AMError.html
com.sun.identity.agents.config.login.use.internal = true
com.sun.identity.agents.config.login.content.file = FormLoginContent.txt
com.sun.identity.agents.config.auth.handler[] =
com.sun.identity.agents.config.logout.handler[] =
com.sun.identity.agents.config.verification.handler[] =
com.sun.identity.agents.config.redirect.param = goto
com.sun.identity.agents.config.login.url[0] = http://myHost.local:8080/amserver/UI/Login
com.sun.identity.agents.config.login.url.prioritized = true
com.sun.identity.agents.config.login.url.probe.enabled = true
com.sun.identity.agents.config.login.url.probe.timeout = 2000
com.sun.identity.agents.config.agent.host =
com.sun.identity.agents.config.agent.port =
com.sun.identity.agents.config.agent.protocol =
com.sun.identity.agents.config.login.attempt.limit = 0
com.sun.identity.agents.config.sso.decode = true
com.sun.identity.agents.config.amsso.cache.enable = true
com.sun.identity.agents.config.cookie.reset.enable = false
com.sun.identity.agents.config.cookie.reset.name[0] =
com.sun.identity.agents.config.cookie.reset.domain[] =
com.sun.identity.agents.config.cookie.reset.path[] =
com.sun.identity.agents.config.cdsso.enable = false
com.sun.identity.agents.config.cdsso.redirect.uri = /agentapp/sunwCDSSORedirectURI
com.sun.identity.agents.config.cdsso.cdcservlet.url[0] = http://myHost.local:8080/amserver/cdcservlet
com.sun.identity.agents.config.cdsso.clock.skew = 0
com.sun.identity.agents.config.cdsso.trusted.id.provider[0] = http://myHost.local:8080/amserver/cdcservlet
com.sun.identity.agents.config.cdsso.secure.enable = false
#com.sun.identity.agents.config.cdsso.domain[0] =
com.sun.identity.agents.config.logout.application.handler[] =
com.sun.identity.agents.config.logout.uri[] =
com.sun.identity.agents.config.logout.request.param[] =
com.sun.identity.agents.config.logout.introspect.enabled = false
com.sun.identity.agents.config.logout.entry.uri[] =
com.sun.identity.agents.config.fqdn.check.enable = true
com.sun.identity.agents.config.fqdn.default = am.ufidev.local.
com.sun.identity.agents.config.fqdn.mapping[] =
com.sun.identity.agents.config.legacy.support.enable = false
com.sun.identity.agents.config.legacy.user.agent[0] = Mozilla/4.7*
com.sun.identity.agents.config.legacy.redirect.uri = /agentapp/sunwLegacySu<br /> -
Z1 Data not being uploaded to Aggregates operation report(AOR)
Hi,
Iam facing one issue.The downtime entered into the Z1 Notification should upload into the AOR (Aggregate Operations Report). The downtimes entered in Z1s for the secondary plant have been transferred to the AOR downtime section, but the downtime entered in Z1's for the Upper plant, have not transferred to the Aggregates operation report downtine section.
The report runs based in Multiporovider.
Please help me out in this issue.
Regards,
SindhuHi,
thanks for ur response. ihave checked transfer rules and update rules.Could u tel me how can i proceed further to find out why the downtime is not transferred to the report.
Regards,
sindhu
Maybe you are looking for
-
DRQ: document date column vendor statement
Hello! We request to implement to add "document date" column on "vendor statement" report. Now, even if it is "checked" in settings and it is visible on "supplier liabilities ageing" (screenshot z1) [z1|http://img130.imageshack.us/img130/2002/6122759
-
Help-Safari wont load any pages-others having same problem
Safari wont load any pages. Tried reinstalling Safari. Nothing. Zip. Notice that people on the Safari for Windows board are having the same problem. WHAT IS GOING ON? Anyone know? I get the menu bar, but not Bookmarks, etc. Cannot see a blank page. C
-
Problems initializing Ipad2 with Windows 7 Home Premium 32 bit system
I just bought an Ipad2 and to initialize that, I tried intsallign Itunes 10.4 on my PC which has Windows 7 Home Premium system. It has become a nightmare, I am able to install Itunes successfully however when I sync the Ipad device the Itunes is unab
-
What is the alternate for flash player for iPad air
Can any body suggest a way out?
-
When trying to launch/play chess from the yahoo games website, I get the following message: "Yahoo! Chess requires Flash Player 7 or later and JavaScript enabled in your browser''. I have verified that I do have Flash Player 10 installed and that Jav