OBIEE -oc4j starting scripts
Hi All,
Is there any script to start oc4j as a background process in Linux OS.
Why because i am opening the terminal window and start the oc4j server using this command ./oc4j -start for this we need keep open the terminal window.
If any body have the any information please let me know.
As well i am longing user as EBS to OBIEE answers but not able to saving the report in Shared folders its saying that access denied for user to path /share/
Thanks in Advance.
Best Regards,
Venkat.
Hi Mika,
Thank you for your help, its working.
Best Regrads,
Venkat.
Similar Messages
-
OBIEE 11g Start all compenents as Windows Services
Hi Attached link to document for OBIEE 11g Start as windows Services.
http://deliverbi.blogspot.com/2010/10/obiee-11g-auto-start-all-with-windows.html
Cheers
ShahedI have made a change to the scripts so they allow a new rpd to be loaded without errors... Beware Metalink scripts are incorrect for embedding OBIEE 11g windows services..
cheers
shahed -
Unable to start script startOwbbInst.sh (for repository browser access)
Hello!
Short info about the environment:
OS: Red Hat Enterprise Linux Server release 5.2
DB: Oracle SE 10.2 g
SW: - Oracle Warehouse Builder 11.1
- Oracle WorkFlow 2.6.4
Problem: I am unable to start startOwbbInst.sh as root user.
I get the following error (in short):
OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
OC4J JMS server recovering local transactions Queue (jms/Oc4jJmsExceptionQueue)
OC4J JMS server recovering local transactions Queue (jms/jobstore)
OC4J JMS server recovering local transactions Queue (jms/events)
OC4J JMS server recovering local transactions Queue (jms/notifications)
ERROR jms.xml: port 9,127 already in use.
(SEVERE) jms.xml: port 9,127 already in use.
Failed to set the internal configuration of the OC4J JMS Server with: ...
ERROR J2EE RMI0002 Error starting ORMI server servername port 23,911: Address already in use
some java Bindexception
Error starting ORMI server servername port 23,911: Address already in use
Shutting down OC4J...
i produced the error by starting script startOwbbInst.sh as root user. First time I started the script I set the password. Listener was started successfully. I closed it by pressing CTRL+C. Then I started the script once again. And I got the error above. I tried to execute stopOwbbInst.sh but I got the error I was not authorized. Then I killed the process with unix kill command. When I tried to start the listener again I got the same error as given above.
I really need some help because i am stuck with this problem, and searching the web I found only this blog post:
http://rnyb2.blogspot.com/2006/04/multiple-oc4j-containers-on-one-server.html
i am not sure if this is my problem???
Any help is much appreciated,
Regards,
Mladen
Edited by: user613991 on Apr 2, 2009 6:08 AMHi, did you ever figure this out?
I get the following when trying to start.
$ startOwbbInst.sh
09/07/01 12:26:57 Error initializing server: Unable to initialize transport managers: java.net.UnknownHostException: localhost: localhost
09/07/01 12:26:57 OC4J startup failed
09/07/01 12:26:57 java.lang.reflect.InvocationTargetException
09/07/01 12:26:57 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09/07/01 12:26:57 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
09/07/01 12:26:57 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
09/07/01 12:26:57 at java.lang.reflect.Method.invoke(Method.java:585)
09/07/01 12:26:57 at oracle.classloader.util.MainClass.invoke(MainClass.java:94)
09/07/01 12:26:57 at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:30)
09/07/01 12:26:57 Caused by: java.lang.NullPointerException
09/07/01 12:26:57 at oracle.oc4j.admin.management.mbeans.J2EEServer.notifyServerReady(J2EEServer.java:1864)
09/07/01 12:26:57 at com.evermind.server.ApplicationServer.launchCommandline(ApplicationServer.java:693)
09/07/01 12:26:57 at com.evermind.server.OC4JServer.launchOC4JCommandline(OC4JServer.java:202)
09/07/01 12:26:57 at com.evermind.server.OC4JServer.main(OC4JServer.java:399)
09/07/01 12:26:57 ... 6 more
Edited by: user6491174 on Jul 1, 2009 9:28 AM -
Wlst obiee restart .py script errors when cmd line; ok if type cmds
I pulled the scripts that are posted at http://obiee101.blogspot.com/2011/08/obiee-wlst-useful-scripts.html to automate some admin tasks. I downloaded and installed the zip version of wl s106_dev on my desktop. When I start wlst from command line and type commands they work just fine. When I try to run them from the cmd line as "java weblogic.WLST RestartOBI.py" I get error message shown below...???
Thanks
------------script start---------------------
connect('weblogic','welcome1','t3://obi5.mnapps.state.mn.us:7101',adminServerName='AdminServer');
print 'Connecting to Domain ...'
try:
domainCustom()
except:
print 'Already in domainCustom'
cd('..\..')
print 'Go to biee admin domain'
cd('oracle.biee.admin')
print 'Go to coreapplication_obips1 Mbean'
cd('oracle.biee.admin:oracleInstance=EPM91TD,type=BIDomain.BIInstanceDeployment.BIComponent,biInstance=coreapplication,process=coreapplication_obis1,group=Service')
------------script end---------------------
---works fine if it start wlst and type commands
when runing "java weblogic.WLST RestartOBI.py"
-----------------------------output from command line execution--------------------------
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Error: No domain or domain template has been read.
Connecting to Domain ...
You will need to be connected to a running server to execute this command
Go to biee admin domain
Error: No domain or domain template has been read.
Go to coreapplication_obips1 Mbean
ThanksFinally found a solution: removing the import of the wlstModule and calling the wlst commands directly works.
When using the wlstModule, I was in the wrong namespace, where there was no theInterpreter. -
Orarun rpm, stop/start scripts for tiers
Is anyone using the orarun rpm? If so, how do you startup your tiers? I have the metalink note 211497.1, an oracle sales person gave me it since I am evaluating OCS and can't have a metalink account. I was able to successfully install all 3 tiers finally and I had to powerdown because electricians were coming in. Now I can't even bring up the ifrastructure tier using the commands. Someone help please. Thanks for any input.
here u r the note
How to start/stop components of Collaboration Suite
PURPOSE
Helping to start and stop all components of Collaboration Suite
SCOPE & APPLICATION
All administrators and consultants working with Collaboration Suite
HOW TO START/STOP COLLABORATION SUITE
There are several steps for starting and stopping Collaboration Suite
components.
Here you can find examples how to start and stop infrastructure,
database and middletier components seperately
1) INFRASTRUCTURE
Please check first, which of the components you have configured
----infraenv begin----
export ORACLE_BASE=<your ORACLE_BASE, e.g: /u01/oracle>
export ORACLE_HOME=<your ORACLE_HOME, e.g: /u01/oracle/product/infra>
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/opmn/bin:/usr/local/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/ctx/lib:$LD_LIBRARY_PATH
export NLS_LANG=<your NLS setting, e.g: american_america.UTF8>
export ORACLE_SID=iasdb
export TNS_ADMIN=$ORACLE_HOME/network/admin
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
----infraenv end------
----infrastart begin----
# starting infrastructure components:
# get env
. ./infraenv
ALTDISP=$DISPLAY
export DISPLAY=localhost:0.0
# listener starting
lsnrctl start
# listener checking
lsnrctl status
# database starting (refers to ORACLE_SID setting in infraenv)
sqlplus "/ as sysdba" <<!
startup
# OID starting
oidmon connect=iasdb start
sleep 5
oidctl connect=iasdb server=oidldapd instance=1 start
# HTTP and OC4J starting
dcmctl shell <<!
getState -v
start -v -ct ohs
start -v -co OC4J_DAS
getState -v
# Webcache start (only necessary for portal)
webcachectl start
# OPMN start (sometimes necessary, please try first without it)
opmnctl startall
# EMD starting (not needed for OID, only for web administration)
emctl start
export DISPLAY=$ALTDISP
----infrastart end------
----infrastop begin----
# stopping infrastructure components
# get env
. ./infraenv
ALTDISP=$DISPLAY
export DISPLAY=localhost:0.0
# EMD stopping (not needed for OID, only for web administration)
# setting pw variable to avoid emctl asking for pw
export EM_ADMIN_PWD=<ias_admin_password>
emctl stop
# Webcache stop
webcachectl stop
# HTTP and OC4J stopping
dcmctl shell <<!
getState -v
stop -v -ct ohs
stop -v -co OC4J_DAS
getState -v
# OPMN stop (to stop opmn and his shadow process)
opmnctl stopall
# OID stopping
oidctl connect=iasdb server=oidldapd instance=1 stop
sleep 5
oidmon connect=iasdb stop
# listener stopping
lsnrctl stop
# database stopping
sqlplus "/ as sysdba" <<!
shutdown immediate
export DISPLAY=$ALTDISP
----infrastop end------
2) STORAGE
If there are different databases for mailstore and Files, then each of them
needs these scripts
----dbenv begin------
export ORACLE_BASE=<your ORACLE_BASE, e.g. /u01/oracle>
export ORACLE_HOME=<your ORACLE_HOME, e.g. /u01/oracle/product/storage>
export PATH=$ORACLE_HOME/bin:/usr/local/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/ctx/lib:$LD_LIBRARY_PATH
export NLS_LANG=<your NLS setting, e.g. american_america.UTF8>
export ORACLE_SID=<your SID, e.g. OCS>
export TNS_ADMIN=$ORACLE_HOME/network/admin
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
----dbenv end--------
----dbstart begin------
# starting storage components
# get env
. ./dbenv
# listener starting
lsnrctl start
# listener checking
lsnrctl status
# database starting
sqlplus "/ as sysdba" <<!
startup
----dbstart end--------
----dbstop begin------
# stopping storage components
# get env
. ./dbenv
# listener stopping
lsnrctl stop
# database stopping
sqlplus "/ as sysdba" <<!
shutdown immediate
----dbstop end--------
3) MIDTIER COMPONENTS
first of all start Calendar and Files before the other components always
(both of them as root !)
switch from oracle with environment set (see below) to root with 'su'
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
cd /users/unison/bin
./unistart
cd $ORACLE_HOME/ifs/files/bin
./ifsctl start
check <Note.205298.1> Considerations how to start UM listener as oracle
to see, if you can start listener_es as oracle (as desribed below) or not
----midenv begin------
export ORACLE_BASE=<your ORACLE_BASE, e.g. /u01/oracle>
export ORACLE_HOME=<your ORACLE_HOME, e.g. /u01/oracle/product/midtier>
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/opmn/bin:/usr/local/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/ctx/lib:$LD_LIBRARY_PATH
export NLS_LANG=<your NLS setting, e.g. american_america.UTF8>
export TNS_ADMIN=$ORACLE_HOME/network/admin
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
----midenv end--------
----midstart begin------
# starting midtier components
# get env
. ./midenv
# UM listener_es start
lsnrctl start listener_es
dcmctl shell <<!
getState -v
start -v -ct ohs
start -v -co OC4J_Portal
start -v -co OC4J_UM
start -v -co OC4J_iFS_files
getState -v
# Webcache start (if configured, but not started, OC4J may fail)
webcachectl start
# EMD (if installed and enabled)
emctl start
# UM processes
oesctl startup midtierhost:um_system:smtp_in
oesctl startup midtierhost:um_system:smtp_out
oesctl startup midtierhost:um_system:imap
oesctl startup midtierhost:um_system:gc
oesctl startup midtierhost:um_system:list
oesctl startup midtierhost:um_system:pop
----midstart end--------
----midstop begin------
# stopping midtier components
# get env
. ./midenv
export password=oracle1
export myprompt=false
export prompt=false
ifsctl stop
oesctl shutdown sniprim2:um_system:smtp_in
oesctl shutdown sniprim2:um_system:smtp_out
oesctl shutdown sniprim2:um_system:imap
oesctl shutdown sniprim2:um_system:gc
oesctl shutdown sniprim2:um_system:list
oesctl shutdown sniprim2:um_system:pop
lsnrctl stop listener_es
# Webcache stop
webcachectl stop
dcmctl shell <<!
getState -v
stop -v -ct ohs
stop -v -co OC4J_Portal
stop -v -co OC4J_UM
stop -v -co OC4J_iFS_files
getState -v
opmnctl stopall
----midstop end-------- -
Issue while running page OC4J start up failed.
Hi,
I am working on two instances one is Local and another is in abroad.
Now when I am running simple Hello World Page by giving Local Instance connections The page is loading quickly and running fine.
Now when I am running the same Hello World Page by giving Abroad Instance connections The page load is taking almost 9-10 mins and running fine.
In the above cases what might be the issue with Abroad Instances for loading page.
1) Is it the Network Issue?
2) Is it the OC4J Issue?
Can anyone breif this senario and how to over come this issue.
And one more Issue is
Took the remote desktop of the Abroad Machine Installed JDeveloper in it and while running the Hello World page the Message OC4J start up failed is getting popedup in the Message.
In which cases we will get OC4J start up failed error.
Thanks,
Krishna
Edited by: user1000 on Feb 7, 2011 5:29 AMI am working on two instances one is Local and another is in abroad.What is your application release?
In the above cases what might be the issue with Abroad Instances for loading page.
1) Is it the Network Issue?Could be one or more.
Can you reproduce the issue with other Self-Service pages? Any performance issues with forms?
2) Is it the OC4J Issue?What about local users who access the same page from the same network, do they encounter the same performance issues?
Can anyone breif this senario and how to over come this issue.Before investigating the performance issues with the instance/server (which are discussed many times in the forum, so just search old threads for performance tuning and you will get many hits), I would suggest you answer the above two questions to determine whether this is a network issue or an instance/server issue.
And one more Issue is
Took the remote desktop of the Abroad Machine Installed JDeveloper in it and while running the Hello World page the Message OC4J start up failed is getting popedup in the Message.
In which cases we will get OC4J start up failed error.What is the error?
Thanks,
Hussein -
Oc4j starting with Oracle Database & oc4j App Server on same machine
Hi ALL, can anybody help me(pls read this)
This is Sagar, i have created a GIS Application(java) using Oracle 10g.
Senario I:
oc4j server and oracle 10g Database Server on different machines:
When i start oc4j server with NO. OF Mappers = 64 or 30 in DNS using
1. oc4j -start (normally)
from the path c:/oc4j/bin by setting ORACLE_HOME path normally
application is working fine but when users are increased say 4 to 5 oc4j server gives error:
java.lang.OutOfMemoryError: Java Heap Space
I searched for this error i found a solution for starting oc4j as follows:
2.Java -Xmx1024m -Xms1024m -jar oc4j.jar
from the path c:/oc4j/j2ee/home --- oc4j.jar
Then map & application works fine and fast since heap space is increased to 1GB (speed is noticable)
but if...(in other senario)
Senario II:
oc4j server and oracle 10g Database Server on same machine:
if step 2: is used form above senario, oc4j Server does not gets started only it gets initialized...(server does not gets started)
but Step 1: is used application works fine but again heap space error as mentioned above is seen.
Again if changes are made in oc4j.cmd file in c:/oc4j/bin ....by giving the heap space command oc4j works fine but the application(performance) is very very slow but heap space error is not seen.
Please can any body suggest the solution.. application should work fast and also the heap space should be increased but taking the senario - oc4j App Server & Oracle 10g Database Server on Same machine..Hello,
How much RAM do you have on the machine? What is the size of the SGA for the database you are using?
if step 2: is used form above senario, oc4j Server does not gets started only it gets >initialized...(server does not gets started)What do you mean by this? Provide the output from the server when you start your server. -
InDesign CS4 Scripting Help how i can start scripting
Hi all,
I'm new to Indesign Scripting, and I'm hoping someone can help me with the following Apple/Java_Script which script language (Apple/Java) good for me.
(1) Adobe InDesign CS4 Apple/JavaScript tutorial (.PDF/Text/ExampleScript)
(2) How i can start scripting ???
I'm working Adobe InDesign/QuarkXpress with ETMV2 with (Pearson DTD/IDML) as a Operator last 4 Year. I want learn Scripting.
Any one Help/Suggest i really appreciated!
Thank's
snegig
email => [email protected]Thank you so much!
Kudos to you. -
[SOLVED] How do I start scripts at boot up?
I've been looking around for awhile and can't find a way to auto-start scripts I've written in the console (the only ways I've found are for older systems using /etc/rc.local, but my system doesn't have this file. The only things I've found for systemd are about starting daemons. I'm not running a desktop environment on this system nor do I plan to (I'm using this machine as a server), so I can't put the scripts in a directory that auto-starts them like I can in KDE (and even then, I think that's only auto-starting them after login; I need these scripts to run without need of logging in). And since my scripts aren't services I can't use "systemctl enable" to make them start at bootup.
Does anyone know how to start scripts when the system boots?
Last edited by Zukaro (2013-01-10 23:02:22)https://wiki.archlinux.org/index.php/Sy … process.3F
-
Application start script when failover
Dear Gurus,
When VMware HA vm1 fails over to vm2, we want to start application automatically, but our VMware engineer tells me the only way is to add the start script into booting script. But I do not want to start the application every time when I restart this vm.
My understanding there should be a tag to distinguish failover and normal startup/stop, or there should be a exist for application start/stop, so we can decide when to use the application start/stop script.
Or 3rd party HA software is mandatory for this situation?
thx in advance.With respect to Application, there are 2 options VMware currently offers.
1. Enable Application monitoring : To enable Application Monitoring, you must first obtain the appropriate SDK (or be using an application that supports VMware Application Monitoring) and use it to set up customized heartbeats for the applications you want to monitor. After you have done this, Application Monitoring works much the same way that VM Monitoring does. If the heartbeats for an application are not received for a specified time, its virtual machine is restarted. Here Application itself will not be restarted but VM (when Application that you configured for monitoring)
Refer:VMware vSphere 5.1
2. vSphere App HA: This is another product (Plugin to web client): Here you can configure your Application. Once configured, when Application fails, application will be restarted for set number of times, if it is not successful, VM itself be restarted.
Learn more here: vSphere App HA 1.1 Documentation Center
If you would like to have anything else, you can raise feature request with VMware. -
My J2EE requires a lot of initialization action for data caching and resources preload. Typically, this initialization action takes 5 mins to finish. I execute this action in my servlet's init() function, which is invoked during OC4J. However, in my oc4j, I need to run 5 J2EE applications of this kind. It means my OC4J takes 25 mins to start. It makes my oc4j 'seems to be' failed to start for most of the time.
Apart from servlet's init() and startup class, is there any way I can execute my initialization actions AFTER oc4j startup? It can at least make my oc4j start normally and timely. ThxThere's no inherent functionality in OC4J that can do this for you. I think you need to look at your architecture -- if this was me, I'd be offloading the work to a MDB or something of that manner so it can be executed asynchronously and in parallel. The tricky bit there is to work out how to stop the corresponding applications from being used until there cache initialization is completed, and perhaps also sharing the cache between the worker and the consumer. You could synchronize the application aliveness on a file, or perhaps use an MBean in which an active attribute is checked by the application and updated from the end result of the MDB processing.
-steve- -
OBIEE -oc4j service unable to start
oc4j is starting and with in few seconds it shut downs..what shall i do? anyone help me
oc4j is starting and with in few seconds it shut downs..what shall i do? anyone help me
Error while starting oc4j
The Oracle BI: OC4J Service on the Local Computer started and then stopped.
Hope it helps you.Award Points.
Best Wishes,
Kranthi. -
I am installing OBIEE on windows server 2003 with java version 1.6.0_12
find below java - version command output
java version"1.6.0_12"
java(TM)SE Runtime Environment (build 1.6.0_12-bo4)
java Hotspot (TM) client VM (build 11.2-b01,mixed mode,sharing)
everything was working fine untill suddenly OC4j failed to start with the following error
Starting oc4j from c:\oracleBi\oc4j_bi\j2ee\home
WARNING:Application.setconfig Application:default is in failed state as initialization failed
java.lang.ClassCastException: B cannot be cast to javax.naming context
Error initializating server:application:default is in failed state as initialization failed
Fatal error server exiting
Thanks in advance
Edited by: user12266474 on Feb 7, 2010 3:26 AMJ Developer 11 is too slow also. Yesterday I have downloaded J developer 10.1.1.3 version and I is really fast. Moreover this version OC4J run faster than Jdev 11. At this point I have one more question, in older version I have tryed to run ADF Faces Rich Client Components demo but I couldn't.
I think it is because the version problem. I want to start a project to use adf faces and I am really beginner and I need to know that if I can use some components from ADF Faces Rich Client Components demo project in the older version of Jdeveloper. (10.1.1.3) thank you my friends. -
Installed the bi11g on unix server, tried to find the script to start server. -thanks
Hi,
kindly refer the below link
http://rnm1978.wordpress.com/2009/08/14/unix-script-to-report-on-obiee-and-obia-processes-state/
https://forums.oracle.com/forums/thread.jspa?messageID=2825483�
THanks
Deva -
Where can i find the OC4J.SH script file
hi everyone... anybody can tell me where can i find the oc4j.sh file.. ??? this script allows to run an instance of oc4j on linux... also this allows to start oc4j as a service.. please help.-... if you have the source of this script please put it here...
You should be able to find it in $ORACLE_HOME/bin, where $ORACLE_HOME is the place you install your oc4j. It seems this "oc4j.sh", "oc4j.cmd", or just "oc4j" comes to into being since oc4j 10.1.3. So you can just download oc4j 10.1.3 standalone, unzip the file, and find it in the bin directory.
As far as I checked, this oc4j.sh is a very thin wrapper around oc4j.jar or admin.jar. There is nothing fancy about it. You can just as well start your oc4j by
java -jar oc4j.jar
To start oc4j as a service, or a background process as it is usually called on linux,
java -jar oc4j.jar &
Maybe you are looking for
-
Anyone seen this problem with Excel 2003?
We're developing a Microsoft Excel-based app. The help system uses HTML Help (.chm) format, and works just fine with Excel 2007 and 2010. However, since a lot of potential users out there are still using older versions, we've been asked to adapt the
-
How do I format the structure of xml from: <root><news><title>title text</title><body>body text</body></news></root> to: <root> <news> <title>title text</title> <body>body text</body> </news> </root> //code var news_xml:XML = new XML(); news_xml.igno
-
I am making a video out of still images.
I am making a video out of still images. I would like to start zoomed in on a certain image and have the video show the image as it zooms out. I would like the speed of the zoom to be the same from start to finish. How can i achieve this? Any help
-
Itunes freezes when I try to disconnect my ipod
I am not sure if anyone else is having this problem, but everytime I try to disconnect my ipod nano using the eject button, itunes freezes. I have itunes 7 installed currently and have had so many problems (like so many other people). I wish I never
-
Want to buy apple care for iphone 5 in thailand
I can't find it in thailand store