ODI Agent as a Service
Hello All ,
We have ODI 11.1.1.6 and we have created a standalone agent called localagent . We want to run this localagent as a windows service .
NOTE: IN <%ODI_home %>/agent/bin folder we haven't see any agentservice.bat
Can you please suggest me how to make a ODI standalone agent as a windows service ?
Thanks & regards
Keny Alex
839100 wrote:
Hello All ,
We have ODI 11.1.1.6 and we have created a standalone agent called localagent . We want to run this localagent as a windows service .
NOTE: IN <%ODI_home %>/agent/bin folder we haven't see any agentservice.bat
Can you please suggest me how to make a ODI standalone agent as a windows service ?
ODI 11g does not have any feature to run agent as windows service.
There is only one Agent “mode” in ODI 11g, which is similar to the SchedulerAgent in ODI 10g .
ODI11g relies on OPMN to run agents as “services”
The odi_opmn_addagent.bat and odi_opmn_deleteagent.bat should help to declare the agent to OPMN
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/odi_opmn/odi_opmn.htm
Thanks,
Sutirtha
Similar Messages
-
Hi,
I am trying to create ODI 11.1.1.6 agent as windows services ( followed jhon blog ) but getting fail with below errors.
Configured ohs opmn of Hyperion 11.1.2.1.
(I am able to configure in 11.1.1.5 but i hope there is no difference in 11.1.1.6 of ODI)
ODI-1604: Unable to parse Opmns Snippet Xml
ODI-1600: Unable to update Opmn Xml file.java.io.FileNotFoundException: C:\Oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\bin\Oracle_Ho
me Directory\oracledi\agent\bin\odi_opmn_standaloneagent_template.xml (The system cannot find the path specified)
ODI-1600: Unable to update Opmn Xml file.java.lang.NullPointerException
opmnctl reload: reconfiguring opmn...
Here are updates in files
agentcreate.property
ORACLE_ODI_HOME=Oracle_Home Directory
INSTANCE_HOME=INSTANCE_HOME Directory
COMPONENT_TYPE=odiagent
COMPONENT_NAME=ODIAGENT
ODI_MASTER_DRIVER=oracle.jdbc.OracleDriver
ODI_MASTER_URL=jdbc:oracle:thin:@xyz.abc.com:1521:DEV
ODI_MASTER_USER=ODI_Repo
ODI_MASTER_ENCODED_PASS=e3yHXTyLvogAGJYiddyU4ZVg
ODI_SECU_WORK_REPO=WORKREP
ODI_SUPERVISOR_ENCODED_PASS=d,yHvBA9Vb79z3f4w86cnZ0Fa
PORTNO=20910
JAVA_HOME=C:/Progra~1/Java/jdk1.6.0_33
ORACLE_OPMN_HOME=D:/Oracle/Middleware/Oracle_WT1
JMXPORTNO=21910
odi_opmn_addagent.bat
if "%ODI_HOME%" == "" set ODI_HOME=C:\Oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent
REM call "%ODI_HOME%\bin\odiparams.bat"
if "%OPMN_HOME%" == "" set OPMN_HOME=D:\Oracle\Middleware\Oracle_WT1
if "%INSTANCE_HOME%" == "" set INSTANCE_HOME=D:\Oracle\Middleware\Oracle_WT1\instances\instance1
REM set CLASSPATH=%ODI_CLASSPATH%;%OPMN_HOME%\opmn\lib\opmneditor.jar
set CLASSPATH=%ODI_HOME%\lib\odi-standalone-agent.jar;%OPMN_HOME%\opmn\lib\opmneditor.jar;%ODI_HOME%\..\..\setup\manual\oracledi-sdk\oracle.odi-sdk-jse_11.1.1.jar
java -classpath %CLASSPATH% oracle.odi.AddAgentToOpmn %*I tried it today, it works well, generally the issue is caused home not set correctly.
on window platform, for all pathes please use / not \
odi_opmn_addagent.bat
if "%ODI_HOME%" == "" set ODI_HOME=..
REM call "%ODI_HOME%\bin\odiparams.bat"
if "%OPMN_HOME%" == "" set OPMN_HOME=C:/Oracle/Middleware/Oracle_WT1
if "%INSTANCE_HOME%" == "" set INSTANCE_HOME=C:/Oracle/Middleware/Oracle_WT1/instances/instance2
agentcreate.properties
# Use / as path seperator to specify path in Unix as well as Windows.
ORACLE_ODI_HOME=C:/Oracle/Middleware/Oracle_ODI1
INSTANCE_HOME=C:/Oracle/Middleware/Oracle_WT1/instances/instance2
COMPONENT_TYPE=odiagent
COMPONENT_NAME=myagent
ODI_MASTER_DRIVER=oracle.jdbc.OracleDriver
ODI_MASTER_URL=jdbc:oracle:thin:@jjpeng-lab10.us.oracle.com:1521:oditest01
ODI_MASTER_USER=jini_01pfx
ODI_MASTER_ENCODED_PASS=hpfX,Dc,hJLYSgD.m,LnNr9zf
ODI_SECU_WORK_REPO=JINI_01PFX_WORK
ODI_SUPERVISOR_ENCODED_PASS=hpfX,Dc,hJLYSgD.m,LnNr9zf
PORTNO=9787
JAVA_HOME=C:/java_64bit/jdk1.6.0_29
ORACLE_OPMN_HOME=C:/Oracle/Middleware/Oracle_WT1
JMXPORTNO=21910
PROXY_PORT=98767
MASTER_REPO_EXTERNAL_ID=1329894428167 -
ODI Agent after Restarting/Rebooting Server
Hi All,
How can ODI Agent executes after we Restart/Reboot our Servers?
Thanks,
RandyIf you are using Windows machine then you can set up ODI Agents as Windows Services .
Metalink Note 423712.1 can be helpful in this case .
Once the ODI Agents is running as Windows Services , you can specify the service startup type as Automatic.
So when your windows server gets restarted , ODI agent service will also start.
If you are using Unix based system then create a script that contains the agent.sh/agentscheduler.sh
Specify all required parameter .
Then get in touch with your system admin and place the script inside the folder
which contains all the start-up scripts . -
Hi,
I am trying to create ODI agent in Windows. I have followed the steps in ODI set up document. It has launched the server. Now I am trying to create that as a windows service. But I am getting following error message.
I ran the followiing the command line
<ODI_HOME>\bin\agentservice -i -s Sched_Agent 20910
The error I am getting is
"FATAL | wrapper | The argument 'Files\Java\jdk1.5.0_12\bin\java.exe' is not a valid property name-value pair."
I have 10.1.3.5.5
My ODI_JAVA_HOME is pointing to C:\Program Files\Java\jdk1.5.0_12. Is this the issue for the error
Anyone knows why its happening.
-app
Edited by: user6401072 on Jul 28, 2010 11:35 AMThe reason is becuase you JDK path is some thing like this c:\program files\Java\jdk1.5.0_12\bin\java.exe'
so what is the happening becuase of space between program and files its not picking up the correct JDK path .
Either change the path of JDK installation or
go to your odiparam path and go to this line
if "%ODI_JAVA_HOME%" == "" set ODI_JAVA_HOME="c:\program files\Java\jdk1.5.0_12"
or
if "%ODI_JAVA_HOME%" == "" set ODI_JAVA_HOME='c:\program files\Java\jdk1.5.0_12'
i dont remember exactly whether single or double quotes but try and let me know if that helps you -
ODI Agent error: java.sql.SQLException: Invalid column name
When running a scenairo on a standalone ODI agent, it hangs on "Wait" state. The ODI agent's log is logging the following errors over and over again.
We are in Fusion Application Development and are using Middleware D8B4A RC5.
[2011-01-07T14:35:16.381-08:00] [odi] [WARNING] [] [oracle.odi.agent] [tid: 4215] [ecid: 0000IpYbCrKE8TQRyaJ7D01D8^zE00009o,0] /oraclediagent/invoke.do[[
oracle.odi.core.security.SecurityManager.doODIInternalAuthentication(SecurityManager.java:356)
oracle.odi.core.security.SecurityManager.createAuthentication(SecurityManager.java:331)
oracle.odi.runtime.agent.servlet.AgentServlet.doPost(AgentServlet.java:418)
javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:503)
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
org.mortbay.jetty.Server.handle(Server.java:326)
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:749)
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:219)
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
[2011-01-07T14:35:18.341-08:00] [] [ERROR] [ODI-1131] [] [tid: 4214] [ecid: 0000IpYaiZCE8TQRyaJ7D01D8^zE00009n,0] [arg: OracleDiAgent] [arg: java.sql.SQLException: Invalid column name] Agent OracleDiAgent encountered an error: java.sql.SQLException: Invalid column nameAre you sure the datasources point to the right master/work configuration, and that your repository is correctly up-to-date? This looks like the agent trying to connect a repository, but the repository is not updated correctly, or misses some columns. The whole stack (and the name of the missing column) would help of course.
-
Hi John,
I am using my ODI agent as a windows service. It was working fine.
But now it is not running fine and when i have seen the log for it the following error is given
Starting Oracle Data Integrator Agent...
Version : 10.1.3.5 - 10/11/2008
com.sunopsis.tools.core.exception.SnpsRuntimeException: java.sql.SQLException: Io exception: Invalid connection string format, a valid format is: "host:port:sid"
at com.sunopsis.dwg.cmd.n.a(n.java)
at com.sunopsis.a.f.run(f.java)
at com.sunopsis.dwg.cmd.i.y(i.java)
at com.sunopsis.dwg.cmd.i.run(i.java)
When i trie to launch the agent from the batch file the command prompt is opening and shutting down immediately.
Please let me know the solutionIf it is not working from batch then you need to check the odiparams.bat file, it is more than likely some of the information is not correct in it.
Cheers
John
http://john-goodwin.blogspot.com/ -
ERPI 11.1.2.4 and odi agent java ee
HI, I have installed EPM system 11.1.2.4 now i want to set odi agent. In previous version i have to install odi and create agents but in this version i got a preinstalled ODI and precreated ODI agent. I have few queries related to odi agents:
1 - if i want to use standalone agent i have to install another ODI and there i can created standalone agent? correct?
2 - can i create standalone odi agent in already installed ODI by FDMEE?
3 - When i start my EPM services, does my odi agent starts automatically or i have to start odi agent manually?
RegardsHi JanGLi,
1) Yes, if you want standalone agent you need to install ODI studio in that you will get the option for standalone agent.
2) Yes, you can create standalone agent in already installed ODI by FDMEE and FDMEE has given you the J2EE agent in there configuration.
3) If the agent is J2EE then it has come by FDMEE so while starting the services for EPM for FDMEE the agent also starts(It depends how you have stated the properties of the services in the services.msc if it is automatically then while booting itself it will start else need to start manually.)
AND
If the agent is standalone you need to start manually bye going to that path(If you have configured the standalone agent).
Thanks,
Pratik -
Error Adding ODI Agent to OPM-NModule libopmncustom: initialization failed
Hi All
I am getting an error when I try to add, remove or start and ODI Agent in OPMN. The Error is as follows:
E:\Oracle\products\11.1.1\Oracle_ODI_1\oracledi\agent\bin>odi_opmn_addagent.bat
agentcreate.properties
Module libopmncustom: initialization failed (proc set odiagent)
Module libopmncustom initialization failed: disabled
opmnctl reload: reconfiguring opmn...
opmn status shows that the agent has been added but it is down and when I try to start it I get the following error:
E:\Opmn1\Oracle_WT1\instances\instance2\bin>opmnctl startproc ias-component=ERPI
DEVAGENT
opmnctl startproc: starting opmn managed processes...
================================================================================
opmn id=servername:6701
no processes or applications matched this request
Response: not enabled: libopmncustom
I can start and successfully test the agent using the agent_DEVAGENT.bat file but the problem seems to be adding it to OPMN.
-This issues seems to be that the OPMN module libopmncustom failed to initialize properly and hence has been disabled. I cannot see how I can enable it and test again.
I have tried the following to resolve the issue
1. Removed the agent and restarted it
2. Restarted the OPMN service
3. Restarted the server
4. Reinstalled ODI as well as the Stand Alone Agent
5. Uninstalled OPMN and installed it to a different location
Has anyone come across this and could you please give me a few pointers of what I can look at. The configs that I have are as follows
ODI Version : 11.1.5.0_generic_110422.1001
OPMN Version : 11.1.1.3
OS : Server 2008 STD R2 x64
ODI and OPMN are running on the same machine.
Agentcreate.properties file:
# Use / as path seperator to specify path in Unix as well as Windows.
ORACLE_ODI_HOME=E:/Oracle/products/11.1.1/Oracle_ODI_1
INSTANCE_HOME=E:/opmn1/Oracle_WT1/instances/instance2
COMPONENT_TYPE=odiagent
COMPONENT_NAME=DEV_AGENT
ODI_MASTER_DRIVER=oracle.jdbc.OracleDriver
ODI_MASTER_URL=jdbc:oracle:thin:@prddb:1521:hypprd
ODI_MASTER_USER=ODI_MASTER
ODI_MASTER_ENCODED_PASS=dzfHrWobFQN4u7YLBqBq7cqtljDTCy
ODI_SECU_WORK_REPO=ODI_WORK
ODI_SUPERVISOR_ENCODED_PASS=cByXt0OZvhRCIyaOQoTnl7y
PORTNO=90210
JAVA_HOME=E:/Oracle/Middleware/jdk160_21
ORACLE_OPMN_HOME=E:/Opmn1/Oracle_WT1
JMXPORTNO=91210
ODI_OPMN_ADDAGENT
@echo off
REM #
REM # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
REM #
setlocal
for %%a in ("/HELP" "/help" "-HELP" "-help") do if %%a == "%1" goto HELPTEXT
goto STARTCOMMAND
:HELPTEXT
echo.
echo (c) Copyright Oracle. All rights reserved.
echo.
echo PRODUCT
echo Oracle Data Integrator
echo.
echo FILENAME
echo odi_opmn_addagent.bat
echo.
echo DESCRIPTION
echo Adds agent entry in opmn.xml file.
echo.
echo SYNTAX
echo odi_opmn_addagent ["<agent create property file name>"]
echo.
echo PREREQUISITES
echo The Agent Create PropertyFile INFORMATION should be
echo completed before running this script.
echo.
goto ENDCOMMAND
:STARTCOMMAND
if "%ODI_HOME%" == "" set ODI_HOME=E:\Oracle\products\11.1.1\Oracle_ODI_1\oracledi\agent
REM call "%ODI_HOME%\bin\odiparams.bat"
if "%OPMN_HOME%" == "" set OPMN_HOME=E:/Opmn1/Oracle_WT1
if "%INSTANCE_HOME%" == "" set INSTANCE_HOME=E:/opmn1/Oracle_WT1/instances/instance2
REM set CLASSPATH=%ODI_CLASSPATH%;%OPMN_HOME%\opmn\lib\opmneditor.jar
set CLASSPATH=%ODI_HOME%\lib\odi-standalone-agent.jar;%OPMN_HOME%\opmn\lib\opmneditor.jar;%ODI_HOME%\..\..\setup\manual\oracledi-sdk\oracle.odi-sdk-jse_11.1.1.jar
java -classpath %CLASSPATH% oracle.odi.AddAgentToOpmn %*
CALL %INSTANCE_HOME%\bin\opmnctl reload
:ENDCOMMAND
ODI PARAMS
REM #
REM # Repository Connection Information
REM #
set ODI_MASTER_DRIVER=oracle.jdbc.OracleDriver
set ODI_MASTER_URL=jdbc:oracle:thin:@prddb:1521:hypprd
set ODI_MASTER_USER=ODI_MASTER
set ODI_MASTER_ENCODED_PASS=dzfHrWobFQN4u7YLBqBq7cqtljDTCy
REM #
REM # User credentials for agent startup program
REM #
set ODI_SUPERVISOR=SUPERVISOR
set ODI_SUPERVISOR_ENCODED_PASS=cByXt0OZvhRCIyaOQoTnl7y
REM #
REM # User credentials for ODI tools
REM #
set ODI_USER=%ODI_SUPERVISOR%
set ODI_ENCODED_PASS=%ODI_SUPERVISOR_ENCODED_PASS%
REM #
REM # Work Repository Name
REM #
set ODI_SECU_WORK_REP=ODI_WORK
REM #
REM # Connection retry parameters
REM #
set ODI_CONNECTION_RETRY_COUNT=0
set ODI_CONNECTION_RETRY_DELAY=7000
REM #
REM # Java virtual machine
REM #
set ODI_JAVA_HOME=E:\Javax86\jdk1.6.0_29
REM #
REM # Other Parameters
REM #
set ODI_INIT_HEAP=256m
set ODI_MAX_HEAP=1024m
set ODI_JMX_PROTOCOL=rmi
REM #
REM # Additional Java Options
REM #
set ODI_ADDITIONAL_JAVA_OPTIONS=
REM # Windows 95,98, Me users only: Any package files added to the /drivers
REM # or /lib/scripting directory should be manually declared in the
REM # ODI_ADDITIONAL_CLASSPATH variable
set ODI_ADDITIONAL_CLASSPATH=
REM # DO NOT EDIT BELOW THIS LINE !
REM # ----------------------------------------------------------------------------
set ODI_JAVA_EXE=%ODI_JAVA_HOME%\bin\java.exe
set ODI_JAVAW_EXE=%ODI_JAVA_HOME%\bin\javaw.exe
set ODI_JAVAC_EXE=%ODI_JAVA_HOME%\bin\javac.exe
REM # Testing the java virtual machine
if not exist "%ODI_JAVA_EXE%" goto NOJAVA
if not exist "%ODI_JAVAW_EXE%" goto NOJAVA
if not exist "%ODI_JAVAC_EXE%" goto NOJAVAC
goto OKJAVA
:NOJAVA
@echo The Java Virtual Machine was not found at the following location: %ODI_JAVA_HOME%
@echo The ODI_JAVA_HOME environment variable is not defined correctly.
@echo Please set this variable in odiparams.bat.
goto OKJAVA
:NOJAVAC
@echo A JDK is required to execute Web Services with OracleDI. You are currently using a JRE.
goto OKJAVA
:OKJAVA
if "%ODI_HOME%" == "" set ODI_HOME=E:\Oracle\products\11.1.1\Oracle_ODI_1
REM # Change the current directory to %ODI_HOME%/bin
cd "%ODI_HOME%\bin"
Environmental Variables
JAVA_HOME=E:\Javax86\jdk1.6.0_29
ODI_JAVA_HOME=E:\Javax86\jdk1.6.0_29
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32
\WindowsPowerShell\v1.0\;E:\Oracle\Middleware\EPMSystem11R1\common\ODBC-64\Meran
t\6.0\Drivers;E:\Oracle\Middleware\EPMSystem11R1\products\Essbase\eas\console\bi
n;E:\Javax86\jdk1.6.0_29;E:\Javax64\jdk1.6.0_29;E:\Opmn1\Oracle_WT1\bin;E:\Opmn1
\Oracle_WT1\opmn\bin;E:\Opmn1\Oracle_WT1\opmn\lib;E:\Opmn1\Oracle_WT1\perl\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
Could someone please help me with this.
Thanks
Edited by: 800166 on 18/05/2012 00:39Solved the problem by dropping and recreating the user schema and all its objects, reinstalling and configuring both ODI and OPMN.
If you ever come across the problem I recommend the above, you will save yourself hours of troubleshooting -
Hello!
I use EPM 11.1.2.1.0, ODI 11g, Solaris SPARC
The situation is as follows:
On a single server X is installed Hyperion Essbase, on another server (Y) - the application server (Hyperion Planning, Shared Services, etc.), the third (Z) - ODI
In Oracle Data Integrator creates the following packages:
1) Load the actual values from the Oracle DWH to Hyperion Essbase and execution of business rules using the Hyperion Planning console utility - CalcMgrCmdLineLauncher.sh
2) Extract planning values from the Hyperion Essbase to Oracle DWH, using KM - LKM Hyperion Essbase Data to SQL, which is specified EXTRACTION_QUERY_FILE - report script Essbase.
My question is, do I need to install ODI agents on both servers: X and Y. On Y must be exactly as it is called a command line utility, located on the hyperion planning server. Be sure to install the agent on the server X, where Essbase. (called report script)
If I need the agents on both servers, I can somehow relate them so as not to break the existing chain of steps in the ODI package?If it is the report script extract then it should still work even if there is no agent on the essbase server.
An agent will be required on the running the calc manager utility though.
Even if you did multiple agents you can generate a scenario for each step and call the scenarios from a package.
Cheers
John
http://john-goodwin.blogspot.com/ -
I'm having difficulty setting up ODI. I've been following John's excellant blog. so far I've created the master repository. In topology manager, I have created the connection, the dataserver ,the work repository, the agent & context.
When I try to test the agent I get the following error:
--------------- begin error msg ------------------------
C:\OraHome_1\oracledi\bin>AgentScheduler "-port=20300" "-name=odi_demo_agent"
A JDK is required to execute Web Services with OracleDI. You are currently usin
a JRE.
OracleDI: Starting Scheduler Agent ...
java.lang.IndexOutOfBoundsException: toIndex = 138
at java.util.SubList.<init>(Unknown Source)
at java.util.RandomAccessSubList.<init>(Unknown Source)
at java.util.AbstractList.subList(Unknown Source)
at com.sunopsis.d.a.g.a(g.java)
at com.sunopsis.d.a.c.a(c.java)
at com.sunopsis.d.a.f.b(f.java)
at com.sunopsis.tools.core.SnpsStringTools.b(SnpsStringTools.java)
at com.sunopsis.dwg.DwgObject.snpsDecypher(DwgObject.java)
at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
at oracle.odi.Agent.main(Agent.java)
----------------- end error message --------------
Obviously something is not right.
I'm unclear as to the entry for ODI_SECU_WORK_REP in ODIPARMS. Is it the dataserver name that was set up in the repository, the Work name in the repository or the actual sqlserver database name for the work repository?
Thanks,
DaveHi,
Here is an example of an odiaparams.bat
set ODI_SECU_DRIVER=com.microsoft.sqlserver.jdbc.SQLServerDriver
set ODI_SECU_URL=jdbc:sqlserver://odimachine:1433;SelectMethod=cursor;databaseName=odi_master;integratedSecurity=false
set ODI_SECU_USER=hypdb
set ODI_SECU_ENCODED_PASS=cByXKqrOj5h8XMUV,3OnOny
set ODI_SECU_WORK_REP=WORK_REPOS
set ODI_USER=SUPERVISOR
set ODI_ENCODED_PASS=LELKIELGLJMDLKMGHEHJDBGBGFDGGH
The ODI_SECU_WORK_REPOS relates to the name of your work repository
ODI_SECU_ENCODED_PASS requires an encoded password using the agent encode password
ODI_USER & ODI_ENCODED_PASS can be kept as default
Also make sure you have created the agent in the topology manager before starting the agent up.
Cheers
John
http://john-goodwin.blogspot.com/ -
Managing ODI Agent through OPMN - Install Issue
Hi
I am attempting to set up my ODI agent so that I can manage it through my OPMN service but I keep getting an error "java is not recognised as an internal or external command, operable program or batch file" when I run the command "odi_opmn_addagent.bat agentcreate.properties".
I have installed EPM 11.1.2.2 and my essbase service is currently managed through the OPMN.
I have updated the odiparams, agentcreate.properties and odi_opmn_addagent.
In the agentcreate file I set my JAVA_HOME to E:\Oracle\Middleware\jdk160_29
Any ideas what could be wrong?
Thanks
MCopy your jdk path as given below. Change it if you have different.
C:\Program Files\Java\jdk1.6.0_33\bin
Right click on my computer->go to properties->advanced system setting->environmental variable->system variables
Scroll down. you will get a variable names as "Path"
Double click on it. then single click on variable value. Then press home key in your keybord. (better take backup of it)
now pest above code that is C:\Program Files\Java\jdk1.6.0_33\bin;
Give a semicolon at the end as i have given. Click ok,ok,ok
Now go to cmd and type javac. let me now the output. -
Scheduling using ODI agent?
Hi,
I want to schedule an interface using the scheduling option in ODI11g. For that I saw somewhere that I need to have agent running. I was able to start the agent
from command line and execute the interface. How can schedule the interface without going through this process. Also I noticed that we can run agent as windows
service in 10g. But I don't see any script or info for 11g. Any ideas on this?
Thanks in advance!!
PMIf you dont want to start up the agent from command line then you can use OPMN to control the agent - http://john-goodwin.blogspot.co.uk/2010/12/managing-odi-11g-standalone-agents.html
Your other option is to deploy the J2EE agent into WebLogic but you would still need to start up the managed server by some mechanism e.g. node manager or manually create a window service.
Once you have the agent running you can just schedule the interface/scenario from in the designer/operator.
Cheers
John
http://john-goodwin.blogspot.com/ -
Hello,
I am trying to create a new ODI agent and I can't find any simple set of steps to follow. Should I set up the physical and logical agents first? If I want it to be a scheduler agernt running as a windows service is there a different set of steps? I seem to have a collection of notes and documentation that give me bits and pieces of information but no concrete steps to follow. I know the odiparams.bat file needs to be updated as well. Any help would be greatly appreciated!
Thanks!Which version of ODI are you trying to set up and whis OS are you trying to install?
Edited by: rjdio on 21-Jul-2011 12:22 -
ODI agent status shown prepared in Weblogic
hi,
I have installed FDMEE 11.1.2.4. When i start services everything is ok except ODI Java EE agent. I haven't configured it ( i think it was preconfigured).
I have tried starting ODI agent from enterprise manager but i am getting an error; will paste below.
I have seen that in weblogic server under erpi integrator server my odi console status is active and odi agent status is prepared. I don't know how to start JAVA EE agent.
Any help?
Error:
Invoking Start Up operation for application oraclediagent on target ErpIntegrator0.
[Deployer:149193]Operation 'start' on application 'oraclediagent' has failed on 'ErpIntegrator0'
[Deployer:149034]An exception occurred for task [Deployer:149026]start application oraclediagent on ErpIntegrator0.: [HTTP:101216]Servlet: "AgentServlet" failed to preload on startup in Web application: "oraclediagent".
com.tangosol.net.RequestTimeoutException: Timeout during service start: ServiceInfo(Id=0, Name=Cluster, Type=Cluster
MemberSet=MasterMemberSet(
ThisMember=null
OldestMember=null
ActualMemberSet=MemberSet(Size=0
MemberId|ServiceVersion|ServiceJoined|MemberState
RecycleMillis=1200000
RecycleSet=MemberSet(Size=0
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onStartupTimeout(Grid.CDB:3)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:28)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.start(Grid.CDB:6)
at com.tangosol.coherence.component.net.Cluster.onStart(Cluster.CDB:58)
at com.tangosol.coherence.component.net.Cluster.start(Cluster.CDB:11)
at com.tangosol.coherence.component.util.SafeCluster.startCluster(SafeCluster.CDB:4)
at com.tangosol.coherence.component.util.SafeCluster.restartCluster(SafeCluster.CDB:10)
at com.tangosol.coherence.component.util.SafeCluster.ensureRunningCluster(SafeCluster.CDB:26)
at com.tangosol.coherence.component.util.SafeCluster.start(SafeCluster.CDB:2)
at com.tangosol.net.CacheFactory.ensureCluster(CacheFactory.java:427)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureServiceInternal(DefaultConfigurableCacheFactory.java:968)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:937)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:919)
at com.tangosol.net.DefaultConfigurableCacheFactory.configureCache(DefaultConfigurableCacheFactory.java:1296)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:297)
at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:204)
at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:181)
at oracle.odi.runtime.agent.coherence.OdiAgentCoherenceCache.<init>(OdiAgentCoherenceCache.java:52)
at oracle.odi.runtime.agent.servlet.AgentServlet.initCoherence(AgentServlet.java:812)
at oracle.odi.runtime.agent.servlet.AgentServlet.initializeClusterCache(AgentServlet.java:762)
at oracle.odi.runtime.agent.servlet.AgentServlet.startup(AgentServlet.java:437)
at oracle.odi.runtime.agent.servlet.AgentServlet.init(AgentServlet.java:250)
at javax.servlet.GenericServlet.init(GenericServlet.java:242)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1981)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1955)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3155)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:487)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:672)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:149)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
:com.tangosol.net.RequestTimeoutException:Timeout during service start: ServiceInfo(Id=0, Name=Cluster, Type=Cluster
MemberSet=MasterMemberSet(
ThisMember=null
OldestMember=null
ActualMemberSet=MemberSet(Size=0
MemberId|ServiceVersion|ServiceJoined|MemberState
RecycleMillis=1200000
RecycleSet=MemberSet(Size=0
Operation Start Up on target oraclediagent Failed. Please see error logs for details.
RegardsHi JanGLi,
The ODI Agent is completely failing to start here from the error that you initially pasted so agent tests are not going to work wherever you try them. Port 6550 should have something listening on it as that's the port that the FDMEE managed server listens on so that would only prove that the FDMEE managed server is up. I can't see the connection closed error having anything to do with running out of connections in the connection pool either as it's simply a message saying that a connection was closed (not that the connection pool is exhausted).
On the plus side though I have seen the 'Servlet: "AgentServlet" failed to preload on startup in Web application: "oraclediagent"' error in the past (I get a lot of the really nice issues coming my way). Which operating system are you using here? I've seen this happen on Windows when there are multiple network interfaces and an incorrect interface has been put to the top of the bind order (e.g. an interface that has fallen back to a link local address in the 169.254.0.0/16 range as DHCP has failed).
Regards
Craig -
dear all,
odi agent test successfully, update the scheduling successfully but when pressing the scheduling information it give error
"ODI agent may not running"
kindly solve the issue
regards
NaseerHi Ratish,
Following are the things i did and things which are happening .. :)
created a scenario and scheduled it.
And from Topology Man.. Agent Window... clicked on "Update Scheduling"... Output is "Planning Update is Completed" and when i click on Schedule Information" it is throwing warning saying... "Unable to retrieve Agents Schedule"... and my scheduled job is also not executed at scheduled time.
Any idea what could be the problem?
Thanks in advance.
Regards,
Amar
Maybe you are looking for
-
When trying to update my iTunes 10.6.1 software, I keep getting a message that states, "the feature you are trying to use is on a network resource that is unavailable". Specifically, it is an error for 'Bonjour.msi'. Can someone please help me get
-
Hi There - I heard rumors that Apple was coming out with something I've wanted for a long time and was wondering if this were true: is Apple coming out with portable laptop displays? I do video editing on the run on my 15" G4 and having another displ
-
Hi, When ,I am doing MIGO in STO,I am not getting accounting document. Only Cenvat Entry is being generated.As result Credit balance shows in Cenvat Clearing A/c .What could be the reason for that. Regards Prabudh
-
Does anyone know where I can find a floppy with System 6 on it so I can run my Mac Plus again? I don't know what happened to my system disks. When I boot with my System 6.08 tools disk it doesn't work. I'd love to play Loderunner again.
-
I purchased QT Pro for Windows and can not get it to upgrade. The registaration appears to be successful, but their is no change in the QT features. I have uninstalled and reinstalled iTunes and QT several times, downloaded and installed the stand al