How to create OID attributes from command line in unix system
Hi,
I have to create OID attributes through ldif files in unix system. I dont know how to run it in unix system under which folder. I already have ldif files for creating OID attributes. Please help.
Hi,
unser the /your_ODI_HOME/agent/bin folder.
Excute this
sh startscen.sh REFRESH_ID 001 GLOBAL 5 -NAME=agent_ODI
REFRESH_ID=Your Scenario name
001:Version
GLOBAL:Context name
5=Log Level
agent_ODI=Your agent name
Regards
Similar Messages
-
How to execute ODI scenarios from command line in Unix
Hi Friends,
I am using ODI 11g.
I want to execute ODI senarios using the command line argument in Unix.
Please let me know how to proceed with this.
Thanks,
LonyHi,
unser the /your_ODI_HOME/agent/bin folder.
Excute this
sh startscen.sh REFRESH_ID 001 GLOBAL 5 -NAME=agent_ODI
REFRESH_ID=Your Scenario name
001:Version
GLOBAL:Context name
5=Log Level
agent_ODI=Your agent name
Regards -
How to index an attribute through command line
Hi,
I want to index an attribute through command line. I am using OID. I am creating every attribute and object class through command line. Any suggestion will be of great help.
Thanks.Hi ,
When Oracle Internet Directory is installed,by default,certain attributes are already indexed. If you want to use additional attributes in search filters, you must index them.
Below are the points one should remember when indexing an attribure....
- We can index an attribute while creating it from Oracle Directory Manager admin tool.
- You can not index an existing attribute from Oracle Directory Manager tool.
- To index an already existing attribute and that does not have any data, use ldapmodify command.
- To index an already existing attribute and the has the data, use catalog.sh command.
If you are sure that the attribute does not have any data in any of the object profile (user,group,container,etc...) then prepare any ldif file and index it using ldapmodify otherwise use catalog.sh command.
Regards
GK Goalla -
Hi All
We have 11.1.1.7 ojdeploy to compile our app.
We notice in the log that not all jars are used in classpath arguments when we explicitly set them up for compilation.
eg:
<path id="classpath">
<pathelement location="../../Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/commons-el.jar"/>
<pathelement location="../../Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/jsp-el-api.jar"/>
<pathelement location="../../Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/oracle-el.jar"/>
<pathelement location="interface/public_html/WEB-INF/lib/a.jar"/>
<pathelement location="interface/public_html/WEB-INF/lib/b.jar"/>
<pathelement location="interface/public_html/WEB-INF/lib/c.jar"/>
<pathelement location="interface/public_html/WEB-INF/lib/d.jar"/>
</path>
Log Output -
[ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/bin/javac
[ora:ojdeploy] -g
[ora:ojdeploy] -Xlint:all
[ora:ojdeploy] -Xlint:-cast
[ora:ojdeploy] -Xlint:-empty
[ora:ojdeploy] -Xlint:-fallthrough
[ora:ojdeploy] -Xlint:-path
[ora:ojdeploy] -Xlint:-serial
[ora:ojdeploy] -Xlint:-unchecked
[ora:ojdeploy] -source 1.6
[ora:ojdeploy] -target 1.6
[ora:ojdeploy] -verbose
[ora:ojdeploy] -encoding Cp1252
[ora:ojdeploy] -classpath
[ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/jre/lib/resources.jar:
[ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/jre/lib/rt.jar:
[ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/jre/lib/jsse.jar:
[ora:ojdeploy] /path/to/interface/public_html/WEB-INF/lib/a.jar"/>
[ora:ojdeploy] /path/to/interface/public_html/WEB-INF/lib/c.jar"/>
1- Is it because it depends on how jpr or jws are configured ?
2- How can we automatically generate a build file of the application from command-line (as opposed to using Jdev IDE to click to generate a build.xml) ?The first warning is happening because you're stating drivers for input devices without need. You haven't disabled hotplug so evdev gets used instead of kbd. This is normal, and you should change the driver line from kbd to evdev so that whatever options (if any) you've specified for the keyboard get parsed.
The second warning is about you not installing acpid.
The third I have no idea about, but look at the synaptics wiki. None of the (WW) are related to your video card.
And every card that has 2 or more output ports show up as "two cards". You also don't need to specify the pci port in xorg.conf. edit: this is the general case with laptops, might be different for desktops.
When I do lspci -v I get:
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. Device 0110
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at dfe80000 (32-bit, non-prefetchable) [size=512K]
I/O ports at d0f0 [size=8]
Memory at c0000000 (32-bit, prefetchable) [size=256M]
Memory at dff00000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
Subsystem: Micro-Star International Co., Ltd. Device 0110
Flags: bus master, fast devsel, latency 0
Memory at dfe00000 (32-bit, non-prefetchable) [size=512K]
Capabilities: <access denied>
And it doesn't matter if it errs in trying to sli up with it self. That's just not a possibility.
Last edited by gog (2009-10-15 23:59:49) -
How to run an executable from command-line
I'm learning how to use the Terminal and I got stuck in a silly thing (I suppose it is). How can I run an executable file from command-line in Terminal?
For example: I have a file named "Hello" in the folder /sample. If I use the ls command (ls sample), I can see the file Hello. Then I move to the directory (cd /sample) and try to run the file Hello (typing "Hello") but I got "command not found" message.
If I drag the Hello file from Finder to Terminal and hit Return, it runs perfectly. And if I type the full path to the file (even if I'm already inside its directory), it also runs.
So, my doubt is if there is any command to run an executable from command-line.
ThanksKJK555 wrote:
Hi VK:
Can you enlighten me on why it's neccessary to do the "./" thingy in OS X when in unix/linux
I never had to resort to doing that?
Kj
I took the trouble of reading *man bash* and it explains the issue. to add the current directory to PATH you need to add an empty path to PATH like this
PATH=$PATH::
you can add it to ~/.bash_profile so that it's executed automatically when you start bash. I suspect the linux system you are talking about had this set up by default or had it added to PATH in /etc/profile which defines PATH globally. -
How to run Endeca Graphs from command Line
Hi,
I would like to know if there is any way to run Endeca Graphs from command line in Windows.
Thank you,The correct way to execute a graph using the command line in windows is.......
Execute the following command from the project folder:
C:\Oracle\Endeca\Discovery\3.1.0\IntegratorETL\configuration\org.eclipse.osgi\bundles\5\1\.cp\lib\bin\clover.bat -plugins "/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/5/1/.cp/lib/plugins;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/6/1/.cp/lib/plugins/;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/9/1/.cp/lib/plugins/;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/14/1/.cp/lib/plugins/;C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/21/1/.cp/lib/plugins/;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/23/1/.cp/lib/plugins/;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/plugins/com.endeca.latitude_1.0.0/lib/plugins/;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/358/1/.cp/lib/plugins/" -noJMX graph\graph_name.grf
Our costumer needed to run some ETL process from ODI and once it finished start a Clover ETL process (automatically). So we created a .bat file witth the above command and then in ODI we created a package with all ETL interfaces and the last step of the package was a OScommand component that excecuted the .bat script from the Endeca's project folder.
Hope you find this post helpfully. -
How can pass the data from Command line to Applet?
Hi,
I am writing a chat application by using sockets. For that purpose I need to pass the parameter data from command line to Applets. Is there any method to receive command line args data in Applets? If so please tell me.Passing command line arguments to an applet is not possible, but for the same you can try using param tags, within your applet tag.
For eg:
<applet.......>
<param name="xyz" value="abcdef">
</applet>
Within the applet's any method like init call <getParameter("xyz");>
will return u the value.
[email protected] -
How can I Capture screen from command line
When I start FME from command line it automatically capture
from first camera
But I want it start capture form screem automatically
or I want to start 2 capture progress
1 form camare
2 form screen
ThanksI don't print from the command line, so I don't know this off the top of my head. There are instructions for doing this in your CUPS documentation. Read Chapter 2 & 3 here:
http://localhost:631/sum.html -
How to deploy an .ear from command line.....
Definetly newbie question folks....
I want to deploy from command line.....
Hop in folks and help this newbie guy ;)
Thanks
Desi_ThugPlease redirect the query to http://forums.bea.com/bea/category.jspa?categoryID=2004 - WebLogic Server/J2EE Newsgroups
FYI
http://edocs.bea.com/wls/docs91/deployment.html -
How to run adt.bat created installer silently from command line?
All,
I totally get how to create an installer like so:
adt -package -target native c:\AirExe\myApp.exe c:\AirExe\myAirApp.air
Is it possible to run the installer silently from the command line? Part of our smoke test process is to do nightly builds which would include the adt command above. What we're missing right now is automatically copying the installer to a QA machine and silently install from the command line. Currently, we have a QA engineer manually running the GUI installer.
We want to automate as much of our process as possible and without installing silently from the command line, we're kind of dead in the water for automating this process. Thanks...
MattSpent an hour last Friday on hold with Adobe support, bounced around to 4 different CSR's and no love getting my question answered.
I spent part of my weekend solving this. I'm sure there are other solutions, but here goes:
1) Downloaded the 7-Zip utility from here: http://www.7-zip.org/
2) Added c:/Program Files/7-Zip to my path (this helped with interactive testing from the command line)
3) Made the following edit to my ant build.properties file:
a) 7_ZIP_HOME=C:/Program Files/7-Zip
4) Made the following edit to my ant build.xml file:
a) <exec executable="${7_ZIP_HOME}/7z.exe">
<arg line="x build/INSTALLER_CREATED_WITH_ADT.exe -obuild -y"/>
</exec>
Hope this saves someone else a little time...
-M -
Problems Creating a CSV from command line
I have tried to create a csv file from the command line and get some unwanted lines of data in the output. Does anyone know how to create a csv without the extra lines from the command line.
I am using the following sequence of commands.
set wrap off
set termout off
set verify off
set heading off
set feedback off
set lines 900
set pages 9999
set newpage none
set embedded on
set colsep ','
set trimspool on
spool test6.lst
select * from rft;
spool off
When I run this from a script, I get exactly the data, which is what I want.
When I run this from the command prompt, I get an extra line at the start and one at the end of the csv file.
The data at the start is like this:
WMSP:wmsp:SQL*Plus> select * from rft;
The data at the end is like this:
WMSP:wmsp:SQL*Plus> spool off
Does anyone know how to keep these lines out of the data?
Thank you.>
The data at the start is like this:
WMSP:wmsp:SQL*Plus> select * from rft;
The data at the end is like this:
WMSP:wmsp:SQL*Plus> spool off
Does anyone know how to keep these lines out of the
data?
Well, a workaround could be to use one of the gazillions of utilities in Unix/Linux to remove all lines having the sql prompt (SQL>), right after your "test6.lst" file has been created.
I am using the "perl pie" for the same in the code snippet that follows:
$
$ cat create_csv.sh
#!/bin/bash
sqlplus -s test/test << EOF
set wrap off
set termout off
set verify off
set heading off
set feedback off
set lines 900
set pages 9999
set newpage none
set embedded on
set colsep ','
set trimspool on
set echo off
spool test6.lst
select * from t;
spool off
EOF
# remove the lines that have the sql prompt: SQL>
perl -pi -e "s/SQL\>.*$|^$\n//g" test6.lst
$
$ # run the script, dump stdout to the null device
$ create_csv.sh 1>/dev/null
$
$ cat test6.lst
1,a
2,b
3,c
4,d
$
$Note that the "test6.lst" on my system had the prompt "SQL>". You will have to tweak that regular expression so that it works for the prompt in your "test6.lst" file.
pratz -
Hi, does anyone know how to invoke the JDev 10.1.3 oc4j_remote_deploy.jar from the command line? We have it working for 10.1.2, for automated deployment scripts.
If I try the same thing for 10.1.3, I get an error.
See below my command line and the output.
I think the error is in the Oc4jDcmServlet URL, the format seems to have changed from 10.1.2 to 10.1.3.
I tried to reverse-engineer by using an HTTP tracer, but that did not help.
Any help would be much appreciated.
Regards, Maarten Brugman
======================== command line: ==================
"C:\j2sdk1.4.2_09\bin\java.exe" -Djava.protocol.handler.pkgs=HTTPClient -jar C:\jdev-work\ebrp-new\ear\target\installer\oc4j_remote_deploy.jar http://lnvx0027:29805/Oc4jDcmServletAPI/ oc4jadmin ***** listApplications /oracle/oaedv03/oracle/oas/10.1.3/ontwj2e1013 UNDEFINED UNDEFINED OC4J_OEBRP
============ output: ====================================
Initializing log
Servlet interface for OC4J DCM commands
Command timeout defined at 600 seconds
Executing DCM command...
Executing command listApplications /oracle/oaedv03/oracle/oas/10.1.3/ontwj2e1013
UNDEFINED UNDEFINED OC4J_OEBRP
Command = LISTAPPLICATIONS
Opening connection to Oc4jDcmServlet
Setting userName to oc4jadmin
Sending command to DCM servlet
**** Could not check HTTP response code
** Thread[main,5,main] ** Fri May 11 17:18:13 CEST 2007 ** ** EXCEPTION: java.
net.SocketException: Unexpected end of file from server
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:822)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:820)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:635)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:272
at oracle.j2ee.tools.remote_deploy.Oc4jDcmClient.isHttpResponseOk(Unknow
n Source)
at oracle.j2ee.tools.remote_deploy.Oc4jDcmClient.sendCommand(Unknown Sou
rce)
at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.execute(Unknown Source
at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.listApplications(Unkno
wn Source)
at oracle.j2ee.tools.remote_deploy.Oc4jDcmMain.main(Oc4jDcmMain.java:71)
#### HTTP response is NOT ok
Closing connection to Oc4jDcmServlet
#### DCM command did not complete successfully (-1)
#### HTTP return code was -1
============ end output =================================In my opinion, you will succeed in handling linefeeds in output texts by using an <tt><af:outputFormatted></tt> tag in conjuction with a JSF converter that replaces the linefeeds with a <tt><br></tt> tag in the text. You will have to implement a custom converter class (this is quite simple, see below) and to set it to the <tt>converter</tt> attribute of the <tt><af:outputFormatted></tt>. The converter class should look like:
public class MyLinefeedConverter implements javax.faces.convert.Converter
public MyLinefeedConverter() {
public Object getAsObject(FacesContext context, UIComponent component, String value) {
return value;
public String getAsString(FacesContext context, UIComponent component, Object value) {
if (value==null) return "";
if (value instanceof String) return ((String)value).replace("\n", "<br>");
return value.toString();
}In this way the linefeeds in your text values will be replaced by <tt><br></tt>, which will be rendered by the corresponding <af:outputFormatted> tag as line breaks. -
How to execute IDC services from command line
Hey Guys,
is there some way we can execute IDC Services from command prompt.
your any pointers will be highly appriciated.
regards,
sapan
Edited by: sapan on Mar 9, 2009 7:26 AMHey sapan,
You can use IdcCommand to execute services from the command line. The process is as follows:
1. Create a text file with the services calls you want to make, the definitions are in hda format:
@Properties LocalData
IdcService=UPDATE_DOCINFO
dID=1
dDocName=000001
dDocType=MyType
dSecurityGroup=Public
dRevLabel=1
dDocAuthor=sysadmin
dDocTitle=My Title
@end
<<EOD>>
(Note: for multiple entries in the file <<EOD>> is very important)
2. Execute IdcCommand from the <content server install>/bin directory:
IdcCommand -f image_update.hda -u sysadmin -l c:\idccommand.log
Options:
-f = file with service definitions
-u = user to run as
-l (lowercase L) = location for log of execution
More detailed documentation can be found in the Idc Command Reference (idc_command_reference_10en.pdf).
Hope that helps,
Andy Weaver - Software Consultant
Fishbowl Solutions < http://www.fishbowlsolutions.com?WT.mc_id=L_Oracle_Consulting_amw > -
How to run the JNLP from Command Line
Hi All,
how to run the JNLP file from the remote machine from our command line. I have requirement to run this JNLP file in java 1.4.2 version. Can any one tell me the procedure or the steps that are needed to run this file at command prompt.
Regards,
Prasanna.
Edited by: VPrasanna on May 19, 2008 4:43 AM>
I am getting "**java.security.AccessControlException: access denied (java.net.SocketPermission wwwgate0.mot.com:1080 connect,resolve)**" when I start the Web Start Client. >This seems like a largely separate problem to running the JNLP from the command line. It might have been better to end this thread (assign the dukes) and start a new one.
>
..Can you help me in resolving this issue. >However, I suspect I can guess the problem.
If this app. is normally hosted on wwwgate0.mot.com then it can 'phone home' to the server without further permission, but if you are running it from the command line, that might not be the codebase anymore.
If you wish to do 'local testing' of such an app., I would recommend setting up a server like Tomcat on the local machine, and serving the test app. directly off that.
>
..Its urgent...>Sun offers a number of options for urgent matters, such as support tickets. Perhaps you should look into one of those. -
How to play with javascripts from command line?
This is a problem that I always have no clue how to deal with.
To begin with, take a look at this page: http://jsharer.com/file/1345737.htm
If you click on "[TUTHE@ManYv][D`z][FLCL][05][H264_Vorbis][E4273181].mkv", after a little while a little window pops up and if you right click on the "点击此处开始下载", you can copy the direct download link.
I previously used a simple bash script using curl to parse direct download links from this site. I like to do it at command line. It was easy because the link used to be directly shown in the page source code (though I had to call curl twice for it, it was fine.)
But now I can't. It's all javascript. I ain't got no idea how to deal with this kind of stuff. I made my attempt to look at the page source, all I can tell is that the <div id="download_block"> part and the <div id="lord_content"> line seems to be important.
I want to use my old good command line instead of click click click!
Can somebody help me with this? Or please just give me some hints. It'd be fully appreciated. Thanks!If you know python, the package community/python-mechanize lets you automate a lot of this kind of thing. You can tell it to go to url so-and-so, simulate a click on the third link matching regexp such-and-such, preserving cookies the original page gave you, and so on.
Has made most of my webpage scraping a hell of lot easier.
EDIT: but I don't know whether it processes embedded Javascript, perhaps not.
Last edited by Profjim (2009-09-03 11:22:37)
Maybe you are looking for
-
MacBook Pro won't sleep or stay shut down?
Product: MacBook Pro 13" "mid 2009," 8GB RAM (3rd party RAM upgrade), 2.26GHz, Mountain Lion 10.8.2 This happens ~75% of the time: 1) When I put it to sleep, the fans keep running, hard drive keeps spinning, and the outside front pulsing light goes t
-
My Smart Cover is causing the aluminum to wear off/ipad crashing
About two months ago, I noticed my Smart Cover started to wear the aluminum off. The spot is getting bigger and there are others areas now where it is wearing off. On an unrelated not, my iPad crashes apps ALL the time! Even after resetting it. My on
-
How can I get a count of ALL nodes in a JTree?
Not sure if I am missing something here or what. Is there an easy way to determine the total number of nodes in a JTree? I thought there would be a method to return this, but I'm not seeing it in JTree or DefaultTreeModel. Do I have to start at the r
-
Im running 10.7.3 but as you all probably know, Power PC is no longer supported. Which is too bad cuz a lot of my favorite games are PPC. So Here's my question: What do you think is better? Lion or Snow Leopard? And also, if I revert back to 10.6 (I
-
Master Project / Resource Pool
We currently have a master project schedule that shows all our current on going projects in one schedule but unfortantely when we try to run a Visual Report for Resource Usage, it is taking some people and multiply their hours. So say "Dave" was sche