Directory Create problem
Hi,
I have used the below query for creating a directory
CREATE OR REPLACE DIRECTORY EXPORT_DIR AS 'D:\SCRIPTS';
The above query is giving no error while execution but its not creating any directory under D:\
Any help will be needful
Hi,
CREATE DIRECTORY doesn't create any directory in the operating system, only creates an Oracle object related to this directory. You must create the directory and grant the privileges later to the user on the Oracle directory created.
Regards,
Similar Messages
-
Mac - SGD won't start - home directory permission problem?
Mac OSX 10.5.6 when attempting to login to SGD fails to start. Relevant section from java console:
security: Certificate has failed the verification with the Root CA certificates
security: Adding certificate in Deployment session certificate store
security: Added certificate in Deployment session certificate store
security: Saving certificates in Deployment session certificate store
security: Saved certificates in Deployment session certificate store
network: Connecting https://zsgd.open-tech.com/sgd/tcc/java/Tester.class with cookie "JSESSIONID=F5602C38467AC1159DCF761A6AA3CE44; TTA_SESSION_OBJECT=-1721504362694110337:zsgd.open-tech.com:1234879815946:-1085814744412016712:2; TTA_CLIENT_COOKIE=1234818729782-6121439398221565261"
basic: Loading https://zsgd.open-tech.com/sgd/tcc/java/Tester.class from cache
Tue Feb 17 08:21:58 CST 2009 JEP creating applet Tester (https://zsgd.open-tech.com/sgd/tcc/java/)
basic: Starting applet
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@a32ea4, refcount=1
basic: Loading applet/u2026
basic: Initializing applet/u2026
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@946d22
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@a32ea4, refcount=2
basic: Releasing classloader: sun.plugin.ClassLoaderInfo@a32ea4, refcount=1
network: Connecting https://zsgd.open-tech.com/sgd/tcc/java/ttalwG-jps.jar with proxy=DIRECT
network: Connecting https://zsgd.open-tech.com/sgd/tcc/java/ttalwG-jps.jar with cookie "JSESSIONID=F5602C38467AC1159DCF761A6AA3CE44; TTA_SESSION_OBJECT=-1721504362694110337:zsgd.open-tech.com:1234879815946:-1085814744412016712:2; TTA_CLIENT_COOKIE=1234818729782-6121439398221565261"
basic: Loading https://zsgd.open-tech.com/sgd/tcc/java/ttalwG-jps.jar from cache
basic: Reading cached JAR file from JRE 1.5 release
basic: Certificates for https://zsgd.open-tech.com/sgd/tcc/java/ttalwG-jps.jar is read from JAR cache
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Checking if certificate is in Deployment session certificate store
security: User has denied the priviledges to the code
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
So I created another account and it works fine there. Compared permissions between the two accounts and they appear identical. Looks like it can't create the .tarantella directory in my home directory. Did have some home directory permission problems a couple weeks ago and used the utility on the Mac OSX install disk to reset home directory permissions and ACLs.
Any suggestions greatly appreciated.
Mark G.I probably should have included more of the java console output. This is output after what appears to be certificate checking:
basic: Reading cached JAR file from JRE 1.5 release
basic: Certificates for https://zsgd.open-tech.com/sgd/tcc/java/ttalwG-jps.jar is read from JAR cache
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Checking if certificate is in Deployment session certificate store
security: User has denied the priviledges to the code
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.LinkedList.entry(LinkedList.java:368)
at java.util.LinkedList.get(LinkedList.java:313)
at com.sun.deploy.security.MacOSXTrustDecider.isAllPermissionGranted(MacOSXTrustDecider.java:163)
at com.sun.deploy.security.MacOSXTrustDecider.isAllPermissionGranted(MacOSXTrustDecider.java:86)
at com.sun.deploy.security.MacOSXTrustDecider.isAllPermissionGranted(MacOSXTrustDecider.java:79)
at sun.plugin.security.PluginClassLoader.getPermissions(PluginClassLoader.java:146)
at java.security.SecureClassLoader.getProtectionDomain(SecureClassLoader.java:192)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:147)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:605)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:723)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1864)
at jep.AppletFramePanel.createApplet(AppletFramePanel.java:189)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:652)
at sun.applet.AppletPanel.run(AppletPanel.java:326)
at jep.AppletFramePanel.run(AppletFramePanel.java:176)
at java.lang.Thread.run(Thread.java:613)
Tue Feb 17 16:43:26 CST 2009 JEP creating applet com.tarantella.tta.client.tcc.lwplugin.pluginG.TCCHelper (https://zsgd.open-tech.com/sgd/tcc/java/)
java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)
at java.lang.System.getProperty(System.java:628)
at com.tarantella.tta.client.tcc.lwplugin.qG.k.a(k.java)
at com.tarantella.tta.client.tcc.lwplugin.qG.h.l(h.java)
at com.tarantella.tta.client.tcc.lwplugin.qG.h.a(h.java)
at com.tarantella.tta.client.tcc.lwplugin.qG.h.a(h.java)
at com.tarantella.tta.client.tcc.lwplugin.qG.h.a(h.java)
at com.tarantella.tta.client.tcc.lwplugin.pluginG.c.p(c.java)
at com.tarantella.tta.client.tcc.lwplugin.pluginG.c.<init>(c.java)
at com.tarantella.tta.client.tcc.lwplugin.pluginG.TCCHelper.run(TCCHelper.java)
at java.lang.Thread.run(Thread.java:613)
basic: Starting applet -
2014 .3 is much too buggy and full of error messages. Creating problems as I am on a timeline with my client and I don't have time to fool around with all the problems.
You didn't mention what error(s) you've encountered? A workaround for the most commonly hit problem is here Re: error in Muse : Object UID:U6875 has two (or more) owners: U3633 and U3165
If you have a copy of your .muse file that has not been saved using 2014.3, you can downgrade by uninstalling Muse and then choose Previous Version in the Filters drop down in the Apps panel of the Creative Cloud desktop app. There will be a popup next to Muse where you can select a prior version to install. -
Integration Directory(Configuration) Problem
Hi All,
I am facing one Probelm. I am working one the client through Citrix. I am not able to open Integration Directory(Configuration Problem) . In onsite it's working fine. Reming all other applications(Integartion Repository and SLD and Runtime work bench) are working fine.
if I open Integration Directory i am getting this messge.
<jnlp spec="1.0+" codebase="http://filp55.group.upm-kymmene.com:50100/dir">
<information>
<title>Integration Builder</title>
<vendor>SAP AG</vendor>
<homepage href="http://www.sap.com" />
<description type="one-line">Directory</description>
<description type="short">Directory</description>
<description type="tooltip">Directory</description>
<icon hight="64" href="start/graphics/sap6464.gif" type="splash" width="64" />
<icon hight="32" href="start/graphics/SAP3232.gif" width="32" />
</information>
<security>
<all-permissions />
</security>
<resources>
<j2se version="1.4+" initial-heap-size="32m" max-heap-size="1024m" />
<jar href="directory/aii_ibdir_client.jar" />
<jar href="directory/aii_ibdir_core.jar" />
<jar href="directory/aii_ibdir_sbeans.jar" />
<jar href="directory/aii_ibdir_rb.jar" />
<jar href="directory/aii_ib_client.jar" />
<jar href="directory/aii_ib_core.jar" />
<jar href="directory/aii_ib_sbeans.jar" />
<jar href="directory/aii_ib_rb.jar" />
<jar href="directory/aii_util_icons.jar" />
<jar href="directory/aii_util_swing.jar" />
<jar href="directory/aii_util_xml.jar" />
<jar href="directory/aii_util_xsd.jar" />
<jar href="directory/aii_utilxi_misc.jar" />
<jar href="directory/aii_util_rb.jar" />
<jar href="directory/clientaii_ib_sbeans.jar" />
<jar href="directory/clientaii_ibdir_sbeans.jar" />
<jar href="directory/frog.jar" />
<jar href="directory/focus14.jar" />
<jar href="directory/sapxmltoolkit.jar" />
<jar href="directory/jta.jar" />
<jar href="directory/ejb20.jar" />
<jar href="directory/exception.jar" />
<jar href="directory/logging.jar" />
<jar href="directory/guidgenerator.jar" />
<jar href="directory/jperflib.jar" />
<jar href="directory/sapni.jar" />
<jar href="directory/sapj2eeclient.jar" />
<property name="sap.theme" value="Streamline" />
<property name="jnlp.log.initialConfiguration" value="FILE, SIMPLE" />
<property name="jnlp.com.sap.aii.ib.client.properties" value="com.sap.aii.ib.client., com.sap.aii.ib.core., com.sap.aii.util.xml., com.sap.aii.connect., com.sap.aii.repository.mapping.additionaltypes, com.sap.aii.docu., com.sap.aii.ibrep.core., com.sap.aii.ibdir.core.*" /><property name="jnlp.com.sap.aii.connect.integrationserver.r3.sysnr" value="01" /><property name="jnlp.com.sap.aii.connect.landscape.contextroot" value="sld" /><property name="jnlp.com.sap.aii.connect.cr.name" value="filp40.group.upm-kymmene.com" /><property name="jnlp.com.sap.aii.ib.client.content.languages" value="EN,DE" /><property name="jnlp.com.sap.aii.connect.repository.contextroot" value="rep" /><property name="jnlp.com.sap.aii.ib.client.login.languages" value="EN,DE" /><property name="jnlp.com.sap.aii.connect.directory.rmiport" value="50104" /><property name="jnlp.com.sap.aii.connect.cr.contextroot" value="sld" /><property name="jnlp.com.sap.aii.connect.rwb.r3.client" value="790" /><property name="jnlp.com.sap.aii.connect.directory.contextroot" value="dir" /><property name="jnlp.com.sap.aii.connect.rwb.contextroot" value="rwb" /><property name="jnlp.com.sap.aii.connect.landscape.httpsport" value="@com.sap.aii.server.httpsport.lcr@" /><property name="jnlp.com.sap.aii.connect.repository.rmiport" value="50104" /><property name="jnlp.com.sap.aii.connect.repository.httpport" value="50100" /><property name="jnlp.com.sap.aii.connect.directory.name" value="filp55.group.upm-kymmene.com" /><property name="jnlp.com.sap.aii.connect.cr.httpsport" value="@com.sap.aii.server.httpsport.cr@" /><property name="jnlp.com.sap.aii.connect.repository.name" value="filp55.group.upm-kymmene.com" /><property name="jnlp.com.sap.aii.connect.integrationserver.contextroot" value="run" /><property name="jnlp.com.sap.aii.connect.integrationserver.name" value="filp55.group.upm-kymmene.com" /><property name="jnlp.com.sap.aii.connect.rwb.httpsport" value="@com.sap.aii.connect.rwb.httpsport@" /><property name="jnlp.com.sap.aii.connect.landscape.httpport" value="50000" /><property name="jnlp.com.sap.aii.docu.languages" value="null" /><property name="jnlp.com.sap.aii.ib.client.jnlp.j2se.initialheapsize" value="32m" /><property name="jnlp.com.sap.aii.util.xml.parserFactory" value="com.sap.engine.lib.jaxp.SAXParserFactoryImpl" /><property name="jnlp.com.sap.aii.connect.directory.httpport" value="50100" /><property name="jnlp.com.sap.aii.connect.directory.httpsport" value="@com.sap.aii.server.httpsport.directory@" /><property name="jnlp.com.sap.aii.connect.integrationserver.r3.httpport" value="8001" /><property name="jnlp.com.sap.aii.connect.rwb.name" value="filp55.group.upm-kymmene.com" /><property name="jnlp.com.sap.aii.connect.integrationserver.r3.client" value="790" /><property name="jnlp.com.sap.aii.connect.cr.httpport" value="50000" /><property name="jnlp.com.sap.aii.connect.landscape.name" value="filp40.group.upm-kymmene.com" /><property name="jnlp.SAPMYNAME" value="filp55_GTX_01" /><property name="jnlp.com.sap.aii.connect.rwb.httpport" value="50100" /><property name="jnlp.com.sap.aii.docu.url" value="null" /><property name="jnlp.com.sap.aii.ib.client.applicationname.directory" value="sap.com/com.sap.xi.directory/" /><property name="jnlp.com.sap.aii.util.xml.transformerFactory" value="com.sap.engine.lib.jaxp.TransformerFactoryImpl" /><property name="jnlp.com.sap.aii.ib.client.applicationname.repository" value="sap.com/com.sap.xi.repository/" /><property name="jnlp.com.sap.aii.ib.client.login.InitialContextFactory" value="com.sap.engine.services.jndi.InitialContextFactoryImpl" /><property name="jnlp.com.sap.aii.connect.integrationserver.httpport" value="50100" /><property name="jnlp.client" value="true" /><property name="jnlp.com.sap.aii.connect.repository.httpsport" value="@com.sap.aii.server.httpsport.repository@" /><property name="jnlp.com.sap.aii.ib.client.jnlp.j2se.maxheapsize" value="1024m" /><property name="jnlp.com.sap.aii.connect.integrationserver.httpsport" value="@com.sap.aii.connect.integrationserver.httpsport@" /><property name="jnlp.com.sap.aii.connect.integrationbuilder.startpage.url" value="rep/start/index.jsp" /><property name="jnlp.com.sap.aii.connect.integrationserver.r3.httpsport" value="@com.sap.aii.connect.integrationserver.r3.httpsport@" /><property name="jnlp.com.sap.aii.connect.rwb.r3.sysnr" value="01" /><property name="jnlp.com.sap.aii.util.xml.schemaValidator" value="com.sap.engine.lib.schema.validator.SchemaValidator" /><property name="jnlp.rc.release" value="7_00" /><property name="jnlp.rc.applname" value="DIRECTORY" /><property name="jnlp.rc.supportpackage" value="09" /><property name="jnlp.rc.synctime" value="${sync.time}" /></resources>
<application-desc main-class="com.sap.aii.ibdir.gui.appl.ApplicationImpl">
<argument>webstart</argument>
</application-desc>
</jnlp>
Please help me on this..........
Thanks in Advacne.
Regards,
ChandraHello,
1)
May be the problem is a network connectivity issue. Do one thing copy the "cahce" folder from some other client PC(which has successfully opened IR and ID) to your client PC. The folder resides in "C:Documents and Settings<yourUserProfile>Application DataSunJavaDeploymentjavaws".
Copy "cache" folder to your client PC under the above path.
/people/shabarish.vijayakumar/blog/2006/02/13/unable-to-open-iresrid-xipipi-71-updated-for-pi-71-support
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1688 [original link is broken] [original link is broken] [original link is broken]
2) Go to http://filp55.group.upm-kymmene.com:50100/rep/
Click on Administration -> Java Web Start -> Java Web Start Administration ->
Try
1. Re-initialization (then try logging)
2. Re-initialization and force-signing (then try logging)
3. Delete lock (then try logging)
Do this for IR and ID tabs.
3) Check can be a firewall issue.
4) Check wether sufficient roles have been assigned -> Tcode -> SU01 -> roles tab. These roles need to be assigned to your username
SAP_BC_AI_LANDSCAPE_DB_RFC
SAP_SLD_CONFIGURATOR
SAP_SLD_DEVELOPER
SAP_XI_BPE_CONFIGURATOR_ABAP
SAP_XI_BPE_MONITOR_ABAP
SAP_XI_DEVELOPER
SAP_XI_DEVELOPER_ABAP
SAP_XI_DEVELOPER_J2EE
SAP_XI_MONITOR
SAP_XI_MONITOR_ABAP
SAP_XI_MONITOR_J2EE
<b>*******************Reward,if found useful</b>
Edited by: BVS on May 7, 2008 3:01 PM -
When firefox checking for updates and updates found but due to proxy restrictions it unable to download the updates then it continue trying to download that and this time it creating problem on executing javascript and raising errors.
What are the error messages you are seeing?
-
I swapped out my broken iPad for a new one, and went to sync in iTunes and only see my iPhone backups. Should I use those to back it up (most of the apps are the same across both, and same with the email, calendar, and contacts settings). Will that create problems if I use the same backup for two devices? Thanks!
No it will not create problems but if the iPad that you got is running an iOS less than what you are running on the iPhone, you will have to update the iPad first, before you can restore from the phone backup. You can't use the backup of a newer iOS on a device running an older iOS without updating the device first.
-
i am trying to create directory for large object and using following syntax
sql> create directory dri_name as os_system_patth (like '\temp')
but i am unable to find this this directory bec sql run but no tmp directory created in any where can any body tell me where is tmp directory is .
A.RPlease try this approach:
C:\>mkdir test
C:\>sqlplus "mob/mob"
SQL*Plus: Release 9.2.0.7.0 - Production on Sat Aug 19 17:46:55 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
[email protected]> create directory test_dir as 'C:\test\';
Directory created.
Best Regards
Krystian Zieja / mob -
I wish to rename my drive letter & not create problems
I had an SSD installed on my PC. The SSD is 'C' & kept for programs only. The other drive letters I have currently got displayed don't make much sense.I started with CD burner & Blu-ray burner & got them away from my own files by changing the drive letters to Y & Z. A USB drive which is red in color is not R drive.
I want to give the drive that has all of my music files & its catalog data another letter. I want to do this without having problem with file associations etc. How is this done without creating problems? My photos are also on this drive but I know that I can just direct that program to its catalog location.
Since an SSD is fast enough it apparently doesn't need to be indexed. What I have done is plugged a couple of my external drives into the PC & had Windows index every drive except 'C'. I don't know is indexing will automatically updated the index to reflect the new drive letter for my music files but it It doesn't I'll ask for it to be done again.
Thanks in advanceJust before I did this I when I opened iTunes I got the message that said that I must have changed by burner or something to the effect & that I had to re install the program.
I held of doing this because I wanted to change the drive letter first. This I did & that appears to have worked.
I hadn't made any changes to DVD burning software. I did see that there was a new 64 bit version available so I downloaded & installed it.
The next time I opened the program I got the same message that I needed to re install the program. When I went to tell it where the library.itl I must have directed it to the wrong library as it asked me again about my account details & wanted my credit cards details. Only after I give this information did I find that the library that I had nominated was in fact the account for my wife's iPad.
So now I have 2 major problems firstly I'm linked to my wife's account where it displays the few things she purchased. My library was make up 100% from all of my old CD's that I had ripped. nothing else. How do I connect to the other library.itl file?
The second problem is that even though I downloaded & & installed a new version of iTunes I'm getting the message that I need to reinstall because my burning software has changed & it hasn't. How do I get past these problems?
Thanks in advance -
Hi, I have a macbook pro 17" 2.4ghz intel core 2 duo 2007, will upgrading to Yosemite slow me down or create problems with my Iphone or other app ?
Yes, i do not suggest upgrading right now. There is some software malfunction or glitch that spontaneously shuts down this specific model. I upgraded and it was a pain to downgrade and make my mac usable again.
-
Can 119 phantom asslys at one bom level create problem in product costing
I am going through a scenario where there r 119 phantom assemlies at one bom level. Can this create problem in product costing? It has been told to me by somebody that there can not be more than 99 phantom asslys at one level of bom? Is that true? My problem is that when i am doing product costing it is showing error-" too many dummies at bom level". Is this related to no. of phantom asslys at one bom level?
HI bala,
all the materials are costing relevent. I thik this problem is releteted with no. of phantom assemlies allowed at one bom level.
I had 119 phantom assemlies at bom level 3 of a varient material. At that time it gives me abap runtime error during product costing.
Now I have removed special procurment key 50 from material master of 20 number of phantom asslys. so now there r now 99 phantom assemlies at bom level 3.
I have taken costing run and its not giving error.
so i reached to conclusion that statndard limit of no. of phantom assemlies at one bom level can not exeed 99.
Now customer requires 119 phantom assleys at this level 3 of bom.
So can u suggest me whether i should contact sap to increase this limit for this perticular case?
will they solve my problem or there is any other solution to this?
please reply.
nitin -
Finding association rule (creating problem)
sir i m working on xquery for finding assocation rule using xquery i complete the conding for how i write xquery for that. but now i found a problem that they give me error that _"Unexpected token "declare function" beyond end of query_" i send me coding part for u plz help me out for how i do.........i m using oxygen xml developer for running the xquery my simple query running proper but we use more than one function in recursive manner they create problem give error Unexpected token "declare function" beyond end of query.
(: You can activate the content completion by pressing the Ctrl+Space keys. :)
xquery version "1.0";
(: Namespace for the <oXygen/> custom functions and variables :)
declare namespace oxy="http://www.oxygenxml.com/xquery/functions";
declare namespace global="http://www.oxygenxml.com/xquery/functions";
(: The URI of the document that is to be queried :)
declare variable $oxy:document-uri as xs:string := "transaction.xml";
declare variable $oxy:document-to-query as xs:string := "transaction.xml";
declare variable $local:document-to-query as xs:string := "transaction.xml";
declare variable $oxy:document as document-node() := doc($oxy:document-uri);
let $src := doc("transaction.xml")//items
let $minsup:=2
let $total:=count($src)*1.00
let $c:=distinct-values($src/*)
let $l:=(for $itemset in $c
let $items:=(for $item in $src/*
where $itemset=$item
return $item)
let $sup:=(count($items)+1)
where $sup>=$minsup
return <largeItemset>
<items> {$items} </items>
<support> {$sup} </support>
</largeItemset>)
let $L:=$l
return <largeItemsets>{oxyl:FP-growth($l,$L,$minsup,$total,$src)}
</largeItemsets>
_/////that part is fine but we we use next fp-growth function they give same error
plz sir help me for solving this////*
declare function oxy:FP-growth(element $l, element $L, element $minsup, element $total, element $src)
returns element {
let $f-item:= first item in $L
let $l-item:= last item in $L
let $T:=oxy:getl-itemsets($src, $total, $minsup)
return <items>
{oxy:join ($l-item, $T)}
</items>
let $l:=$l-items
let $L:=oxy:remove($l)
for f-item in $L
where $f-item != $l-item
return oxy:FP-growth($l, $L, $minsup, $total, $src)
declare function oxy:getl-itemsets(element $src, element $total, element $minsup)
returns element {
let $l:=(for $itemset in $src
where $itemset=$l-item
return $itemset)
let $sup:=(count($l)+1
where $sup>=$minsup
return <largeItemset>
<items> {$item} </items>
<support> {$sup} </support>
</largeItemset>
declare function oxy:join(element $X, element $Y) returns element {
let $items := (for $item in $Y
where every $i in $X satisfies
$i != $item
return $item)
return $X union $items
declare function oxy:removeDuplicate(element $C) returns element
for $itemset1 in $C
let $items1 := $itemset1/*
let $items :=(for $itemset2 in $C
let $items2 := $itemset2/*
where $itemset2>>$itemset1 and
count($items1) =
count(commonIts($items1, $items2))
return $items2)
where count($items) = 0
return $itemset1
input file for this xquery is:=
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="personal-schema.css"?>
<transactions>
<transaction id="1">
<items>
<title>The Green Mile</title>
<author>Stephen King</author>
<item>a</item>
<item>d</item>
<item>e</item>
</items>
</transaction>
<transaction id="2">
<items>
<title>The Green Mile</title>
<author>J. D. Salinger</author>
<item>b</item>
<item>c</item>
<item>d</item>
</items>
</transaction>
<transaction id="3">
<items>
<title>The Green Mile</title>
<author>Issac Asimov</author>
<item>a</item>
<item>c</item>
<item>e</item>
</items>
</transaction>
<transaction id="4">
<items>
<title>The Green Mile</title>
<author>Isaac Asimov</author>
<item>b</item>
<item>c</item>
<item>d</item>
</items>
</transaction>
<transaction id="5">
<items>
<title>The Green Mile</title>
<author>Oscar Wilde</author>
<item>a</item>
<item>b</item>
</items>
</transaction>
</transactions>
Edited by: 920412 on Mar 12, 2012 11:26 PM
Edited by: 920412 on Mar 14, 2012 10:57 PM
Edited by: 920412 on Mar 14, 2012 11:17 PMthank u sir my code is running
but there is one problem the result he regerate is not correct sir
i send the complete information to u my input file my project code my output file and my actual output that i need ......plz sir chek it where is he logical mistak in code i completely chek lots of time i m not able to find where is the logical mistak plz sir help me
input file "transactions.xml"
<?xml version="1.0" standalone="yes"?>
<transactions>
<transaction id="1">
<items>
<item>a</item>
<item>d</item>
<item>e</item>
</items>
</transaction>
<transaction id="2">
<items>
<item>b</item>
<item>c</item>
<item>d</item>
</items>
</transaction>
<transaction id="3">
<items>
<item>a</item>
<item>c</item>
<item>e</item>
</items>
</transaction>
<transaction id="4">
<items>
<item>b</item>
<item>c</item>
<item>d</item>
</items>
</transaction>
<transaction id="5">
<items>
<item>a</item>
<item>b</item>
</items>
</transaction>
</transactions>
coding :=
xquery version "1.0";
declare namespace local = "http://www.w3.org/2003/11/xpath-local-functions";
declare function local:join($X as element()*, $Y as element()*) as element()* {
let $items := (for $item in $Y
where every $i in $X satisfies
$i != $item
return $item)
return $X union $items
declare function local:commonIts($X as element()*, $Y as element()*) as element()* {
for $item in $X
where some $i in $Y satisfies $i = $item
return $item
declare function local:removeIts($X as element()*, $Y as element()*) as element()* {
for $item in $X
where every $i in $Y satisfies $i != $item
return $item
declare function local:candidateGen($l as element()*) as element()* {
for $freqSet1 in $l
let $items1 := $freqSet1//items/*
for $freqSet2 in $l
let $items2 := $freqSet2//items/*
where $freqSet2 >> $freqSet1 and
count($items1)+1 = count($items1 union $items2)
and local:prune(local:join($items1,$items2), $l)
return
<items>{local:join($items1,$items2)}</items>
declare function local:prune($X as element()*, $Y as element()*) as xs:boolean
every $item in $X satisfies
some $items in $Y//items satisfies
count(local:commonIts(local:removeIts($X,$item),$items/*))
= count($X) - 1
declare function local:removeDuplicate($C as element()*) as element()*
for $itemset1 in $C
let $items1 := $itemset1/*
let $items :=(for $itemset2 in $C
let $items2 := $itemset2/*
where $itemset2>>$itemset1 and
count($items1) =
count(local:commonIts($items1, $items2))
return $items2)
where count($items) = 0
return $itemset1
declare function local:getLargeItemsets($C as element()*, $minsup as xs:decimal, $total as xs:decimal, $src as element()*) as element()*
for $items in $C
let $trans := (for $tran in $src
where every $item1 in $items/* satisfies
some $item2 in $tran/*
satisfies $item1 = $item2
return $tran)
let $sup := (count($trans) * 1.00) div $total
where $sup >= $minsup
return <largeItemset> {$items}
<support> {$sup} </support>
</largeItemset>
declare function local:fp-growth($l as element()*, $L as element()*, $minsup as xs:decimal, $total as xs:decimal, $src as element()*) as element()*
let $C := local:removeDuplicate(local:candidateGen($l))
let $l := local:getLargeItemsets($C, $minsup, $total, $src)
let $L := $l union $L
return if (empty($l)) then
$L
else
local:fp-growth($l, $L, $minsup, $total, $src)
let $src := doc("transactions.xml")//items
let $minsup := 0.5
let $total := count($src) * 1.00
let $C := distinct-values($src/*)
let $l :=(for $itemset in $C
let $items := (for $item in $src/*
where $itemset = $item
return $item)
let $sup := (count($items) * 1.00) div $total
where $sup >= $minsup
return <largeItemset>
<items> {$itemset} </items>
<support> {$sup} </support>
</largeItemset>)
let $L := $l
return <largeItemsets> { local:fp-growth($l, $L,$minsup, $total, $src) }
</largeItemsets>
output that is get for running the query:=
<?xml version="1.0" encoding="UTF-8"?>
<largeItemsets>
<largeItemset>
<items>a</items>
<support>0.6</support>
</largeItemset>
<largeItemset>
<items>d</items>
<support>0.6</support>
</largeItemset>
<largeItemset>
<items>b</items>
<support>0.6</support>
</largeItemset>
<largeItemset>
<items>c</items>
<support>0.6</support>
</largeItemset>
</largeItemsets>
but sir i want my output like that:=
<?xml version="1.0" standalone="yes"?>
<largeItemsets>
<largeItemset>
<Items>
<item>a</item>
</Items>
<support>0.6</support>
</largeItemset>
<largeItemset>
<Items>
<item>d</item>
</Items>
<support>0.6</support>
</largeItemset>
<largeItemset>
<Items>
<item>b</item>
</Items>
<support>0.6</support>
</largeItemset>
<largeItemset>
<Items>
<item>c</item>
</Items>
<support>0.6</support>
</largeItemset>
<largeItemset>
<Items>
<item>d</item>
<item>b</item>
</Items>
<support>0.4</support>
</largeItemset>
<largeItemset>
<Items>
<item>b</item>
<item>c</item>
</Items>
<support>0.4</support>
</largeItemset>
<largeItemset>
<Items>
<item>d</item>
<item>c</item>
<item>b</item>
</Items>
<support>0.4</support>
</largeItemset>
</largeItemsets>
sir i want that out which i shown last help me sir how i sort out this problem
thank i advance -
Printer Dialog Box through SDK creating problem
Hello Experts,
I have created a addon for printing Invoice Report in which i have given the option of Printer Dialog Box .
Through sdk i have called that printer dialog box in the addon .It's running well in the server showing the Printer Dialog Box
but while running the addon in client machine first two to three times printer dialog box appears after that while pressing the
print button of my addon form Printer dialog box is not appearing .
Then after restarting the machine Printer dialog box shows which is creating problem for the client use .
Suggest the right way to sort out the problem .
If anyone need to see the code which i have written i can post that code.
Thanks
AmitHello Janos,
Following code i have write for prrinter dialog box to open
Public Sub ShowPrintDialogBrowser()
Dim MyProcs() As System.Diagnostics.Process
FileName = ""
Dim PrintFile As New PrintDialog
Try
PrintFile.AllowSelection = True
PrintFile.ShowNetwork = True
MyProcs = Process.GetProcessesByName("SAP Business One")
Dim UserName = Environment.UserName
For i As Integer = 0 To UBound(MyProcs)
If GetProcessUserName(MyProcs(i)) = UserName Then
GoTo NEXT_STEP
End If
Next
sbo_application.MessageBox("Unable to determine Running processes by UserName!")
GC.Collect()
Exit Sub
NEXT_STEP:
For i As Integer = 0 To MyProcs.Length - 1
Dim MyWindow As New WindowWrapper(MyProcs(i).MainWindowHandle)
Dim ret As DialogResult = PrintFile.ShowDialog(MyWindow)
If ret = DialogResult.OK Then
File_Directory = PrintFile.PrinterSettings.PrinterName
PrintFile.Dispose()
ElseIf ret = DialogResult.Cancel Then
File_Directory = ""
System.Windows.Forms.Application.ExitThread()
Else
File_Directory = ""
System.Windows.Forms.Application.ExitThread()
End If
Next
End If
Catch ex As Exception
SBO_Application.MessageBox(ex.Message)
FileName = PrintFile.PrinterSettings.PrinterName
Finally
PrintFile.Dispose()
End Try
End Sub
Imports System.Management
Private Function GetProcessUserName(ByVal Process As Process) As String
Dim sq As New ObjectQuery("Select * from Win32_Process Where ProcessID = '" & Process.Id & "'")
Dim searcher As New ManagementObjectSearcher(sq)
If searcher.Get.Count = 0 Then Return Nothing
For Each oReturn As ManagementObject In searcher.Get
Dim o As String() = New String(1) {}
'Invoke the method and populate the o var with the user name and domain
oReturn.InvokeMethod("GetOwner", DirectCast(o, Object()))
Return o(0)
Next
End Function
Regards,
Amit -
Master /Detail create problem
hi,everyone:
Firstly to say sorry for my bad English.
Now I have a question:
I'm working in JDeveloper 10.1.3 .The model layer is SessionEJB /Toplink ,and the view layer is JSF. I have a data structure :
HrUnit : Master
HrHuman : detail
HrKnowledge : detail
the <HrHuman>'s PRIMARYKEY is <ID>,and the <HrKnowledge>'s FOREIGN KEY is <RYID>.
and I want to make a page to insert a new row on <HrKnowledge>. I drag the <hrKnowledgeCollectionIterator> into the page as <ADF Creation Form>, the page run fine.
next step, I make <persistEntity> binding to the <submit button> and the parameters(entity) is
${bindings.hrKnowledgeCollectionIterator.currentRow.dataProvider}.
when i run the page , i get a wrong . i get the SQL in the <Unit of work > is
"INSERT INTO HrUnit ....."
i create a direct mapping for the detail's foreginkey in toplink,and when i "rebuild" the map ,it gives me a warning. This warning affect my custom code in EJB,it can't work correctly. So i can't use this way in my question.
Re: Master /Detail create problem
I beg your help.
Thanks. and very very thanks.Hi,
I am not an expert in TopLink, but it appears to me that the TopLink model is causes your problems not ADF. There is a TopLink forum here on OTN that could give you a helping hand on this issue.
The following tutorial explains the use of TopLink in ADF
http://www.oracle.com/technology/obe/obe1013jdev/10131/10131_adftoplink/master-detail-edit_page_adf_toplink.htm
Frank -
Where is the directory created?
I have create a directory with the following command:
create or replace directory '/tmp/';
Where this directory created?See correct syntax there:
http://www.mcs.csueastbay.edu/support/oracle/doc/10.2/server.102/b14200/statements_5007.htm
The statement creates a database object, not a operating system object/folder. The database directory object is not validated, it is just object pointing to some operating system folder, does this folder exist or not does not matter for database, it creates the database object only.
You must create in operating system the folder yourself. This command doens't create the OS folder. -
when i make my fire fox off if not ask me to save my exist tab , then i have to make all the off , its create problem. I am not able to pause my work.
Yes.
Did you before "purchase" a free app and then make in-app purchases.? Many free apps have in-app purchases the cost money. Did you pursue with iTunes the "unauthorized" purchases that you sad you did not make?
Contact iTunes
Maybe you are looking for
-
Highlight row in report?
I have a SSRS report which displays hundred of rows. I was wondering if there is anyway i can highlight the rows so that i can easily know on which row i am while accessing the report. Any thoughts? creativity..
-
OK, I'm somewhat of a newbie, but I know enough to make me dangerous. Here's my problem. I have a form that I want to use for both Adding a course and Editing an existing course. I have a Course object. My ideal situation is to check an "action" para
-
Hi Guys, What does Table Type mean? What are uses of Table Type? Regards, Chandru
-
Outlook Error 0x80040126 - Intermittent - HELP
Hello - have Outlook 2010 and the Outlook connector configured for a Hotmail account. Currently getting error x80040126 - intermittently - on wifi, Ethernet, or on Verizon hotspot. Trying desperately to solve the issue...
-
hi .... i have this problem the profile option FND: daignostics is for displaying the about this page link, right? when i put it no the about this page link is still there, i want to hide this link. i have searched old threads but nothing helped i ha