Bug with BI Samples Common Schema and AWM 10.1.0.4
I have installed the BI Samples available here
http://www.oracle.com/technology/products/bi/samples/samples_readme.html
The common_schema installs 3 AW's in the cs_olap user.
Now in AWM 10.1.0.4 change to "object view" and open the Utils AW. Here it is not possible to expand the "Programs" folder even though there are 32 programs in this AW.
After some debugging it turns out that the reason lies in the "BUILD_IDD" programs. Specifically the 3 lines starting with the "LD" command. When these are removed from this program it is possible to view all the programs through AWM.
Don't know if the bug lies in AWM or the BUILD_IDD program.
The program will not compile unless the AW SHAW is attached and other programs have been run to add new objects to the AW. The LD command is used to add additional descriptive information to each new object added to SHAW.
Thanks for the post, this has been forwarded on to development.
Similar Messages
-
Issue with installation of Common schema of Oracle BI Sample
Hi, I am trying to install the Common schema of Oracle Business Intelligence that provides all the sample data used by the Discoverer tutorials. I have an Oracle 10g XE installed on a Windows XP box. There is no "SH" schema shipped with the XE so I created the database schema.
Once I followed the steps and ran the script install_rel.bat, I kept getting error "ORA-01031: insufficient privileges". I think the script aborted at the command "%ORACLE_HOME%\BIN\sqlplus -L -S "/ as sysdba" @user_exists.sql SH" inside the script. Any ideas?
Mike.Hello Yatan,
To start the nodemanager, you need to browse to C:\Oracle\MiddlewarePS4\wlserver_10.3\server\bin and execute "startNodeManager.cmd" (there is no such file like startNodeManager.bat).
"nodemanager.properties" will get created under ""C:\Oracle\MiddlewarePS4\wlserver_10.3\common\nodemanager\" once you start the nodemanager.
You can also check the status of nodemanager from weblogic console.
a) Login to weblogic console.
b) Browse to Environment -> Machines in the Domain Structure panel (located left side)
c) Click on "LocalMachine".
c) Click on "Monitoring" tab to know the status of nodemanager.
Thanks,
-Pavan -
Weird bug with desynced nodes - including demo and screencast
This is a follow-up to Desync of Elements and logic - how to debug?
I started a new thread because I will provide better information on this.
So we've made our graph editor working with JavaFX. One of our common demos for different products is a organizational chart demo. This is a tree-like graph with employees as nodes to depict the hierarchical structure of companies.
You can try this demo here (jre7u6 with JavaFX 2.2 b17 required):
http://www.yworks.com/products/yfilesfx/OrgChartDemo/OrgChartDemo.jnlp
We have also made a screencast which can be viewed here that shows the usage and most importantly the problem we are facing with JavaFX here:
http://www.screenr.com/uEF8
The startup is quite slow, it takes a few seconds for the graph to load. This is because the visual representation of the nodes is described within (nested) fxml files and each of those files is loaded in a not so effective way (because it is at the moment not possible in JavaFX to define a custom BeanAdapter in the FXMLLoader that does proper caching). After those files are loaded, there are still some ClassNotFoundExceptions thrown in the background by some part of the JavaFX framework I did not identify, yet. After a few seconds the performance speeds up significantly.
What you can do in this demo is described on the right. Basically you can zoom in/out, fit view, center a certain employee and interact with them.
Interaction means you can collapse and enlarge certain parts of the graph. For example, you can hide all subordinates of an employee and show them again.
The part of "showing them again" is done with an animation effect that is implemented in our framework, not in JavaFX.
When you hover an employee, a fading translation is played as a hover effect and some buttons appear. This part is important so i wanted to highlighted.
The hover effect is triggered by a onMouseEntered and onMouseExited event.
Also you can focus a certain employee by clicking on them. When clicked, the color changes from blue to orange. This is done by our internal logic, since the clickable things on the screen are not the JavaFX rectangles and such but rather a logical representation of a node with a position on the screen and a with and height.
So this is where things go wrong and what is really crucial for our application:
When you collapse/enlarge nodes (employees) a bug appears quite frequently that causes the internal representation and the actual appearence of JavaFX elements on the screen to be out of sync. Most notably the hover effect doesn't work anymore: The node is visually present (as you can see it) and the values of the nodes in the scenegraph match as well, but those nodes just are not present any more for any events. They do not receive mouse entered/exited events, hover-events and pressed-events and so on. You can still click on the node and focus it, but this is done in our framework (indicating that our logic works).
The connection of the logic and the javafx controller is done via databinding. The controller listens to changes in the corresponding model item and updates itself accordingly - you can see it when clicking on a node, the selection state of the model item changes and the controller updates the style of the javafx node.
The other effects however, like the hover-effect, are implemented on databinding on properties of the JavaFX node class: hoverProperty, onMouseEntered onMouseExited and so on.
Once a node is in this state, weird stuff is happening. For example, a node that is in this state seems to have normal values when viewed in ScenicView. However, when changing some values, for example translateX / Y, the node just disappears. (see also: http://www.screenr.com/lYF8 where i recorded that (a bit later in the video))
For an example of this have a look at the link to the screencast above. We showed how to reproduce the bug there.
We noticed that without any animation played this does not happen. So it seems to be caused by the animation. This is itself quite surprising, because we used the same animation process with other javaFX applications but never experienced this bug.
What happens is that our Animator sets the layoutX and layoutY values of a node that is being animated repeatedly and in rapid succession over a period of time.
The only thing we can think of that might cause this problem is that JavaFX somehow is not able to process a large amount of such update-calls and throws some exception internally and just dies.
Because of this we strongly hope that somebody can point us to were we have to look or how to even debug this problem.
* edit: added second screencast for ScenicViewjsmith wrote:
Just want to say thanks for the yworks stuff phelan.
I use the swing version embedded in Idea and the diagrams are really nice => everytime I make a printout I get asked "what tool did you use to generate that diagram?".:D thank you very much.
Only real advice I can offer is something you almost certainly know =>
JavaFX is a singlethreaded UI framework.
Ensure that anything you do which could read/write from nodes in an active scenegraph be done on the JavaFX application thread.I just double checked this and unless Platform.isFxApplicationThread() returns a wrong value, the only interaction with JavaFX nodes is done in the JavaFX application thread.
I think your app issues will prove very hard to resolve through this forum. Nicolas Lorain is the javafx product manager, so you could try contacting him directly for support. There is also some kind of JavaFX partner program which may be able to offer support as well, Nicolas should also have details on that.
Good luck with your app.I just searched for the JavaFX partner program, and couldn't find anything ongoing. The only advanced support I could find is the Oracle Premier Support, which at this point isn't suitable for us. I also couldn't find any contact information for Nicolas Lorain (he has a blog and twitter but I cannot find his email). So if you could point me to somewhere, I'd be very glad. -
Bugs with 10.4 (80), 6 and counting...
I've downloaded the last iTunes version (I´m running Leopard 10.5.8), and since I've found 6 annoying bugs:
1. Already discussed in here, "Drag & Drop" feature is not working anymore, at least for me to create new playlists. With previous versions I just dragged the Finder folder to the top left side, just between the "Music" section and the RW / STOP / FFWD buttons , and the playlist would be created with the Finder folder name automatically. Nothing happens now.
2. No additional iTunes windows will open after I close and re-open the application. When I use iTunes I´ve got a few other iTunes windows opened (some playlists, etc.) and they used to remain opened when I re-launched the application. Not anymore.
3. If I Drag some songs to a playlist, the Library won't update. I have to add those songs to the Library in order to get the songs there as well. You can try this yourself.
4. Sometimes, and for no apparent reason, search function doesn't work. I type an Artist/Song or Copy/paste it and nothing happens.
5. A few other times, my Playlist Folders, which contains several playlists won't spread out the playlists. I'd need to re-launch iTunes.
6. Sometimes if I quit the iTunes by Q or "iTunes" "Quit iTunes" it doesn't quit, but a pop-up window appears saying "iTunes is updating Album Artwork. Cancel or Quit" when I'm not doing anything of that. If I click "Cancel" nothing happens, if I click "Quit" it won't quit at all... I'd need to Force Quit.
Is anyone having the same problems?
Feel free to post here all your bugs and also the troubleshooting!Hi,
Is there a "real" reason that you are still using OSX 10.5.8? I think that we are being "shepherded" in the direction of Lion.....
iTunes may work in your v10.5.8, but I think it will have some issues....or hick-ups....
I just upgraded from OSX 10.6.4 to v10.6.8 and all is good still.
It's gonna get worse as Lion gets momentum..... might as well get on the bus....
Sorry,,,, I feel your burn. -
Bug with OSMF 1.6 MediaPlayer and swf version = 13.
When swf version = 13, the MediaPlayer seems to fire the TimeEvent.COMPLETE event twice for a progressive video playback.
I debugged it down to the NetStreamTimeTrait. It looks like in the case of a progressive video, the "signalComplete" method is called twice.
First from the onNetStatus event handler (NetStreamCodes.NETSTREAM_PLAY_STOP) and second from the onPlayStatus event handler (NetStreamCodes.NETSTREAM_PLAY_COMPLETE).
There seems to be an implicit assumption in onPlayStatus that it should not fire for progressive, but yet it does fire. Looks like a bug to me.
This is not an issue with swf-version=11
- AbeyHi,
This looks like an issue outside OSMF (might be Flash Player). I can't tell if there's a workaround until we investigate it.
Please raise a bug in http://bugs.adobe.com/jira/browse/FM so we'll be able to track it further.
S. -
I guess that fact that iTunes isn't even available as a drop down kind of answers my question!
Most of the info on the web page you link to is 2-4 years old. I doubt it applies. Your workaround is actually the best solution: It's always preferred to use the latest PDF viewer. Reader and Acrobat can exist on the same machine.
Also, why 10.1.2? There have been 6 releases since then with documented security enhancements (meaning there are also published vulnerabilities which are patched), bug fixesm, and feature enhancments.
I'll ping some folks about the error you are getting. . .
hth,
Ben -
Bug with Base LVOOP object variants and flatten string.
I found a bug when if the base LabVIEW Object is wrapped in a variant (even indirectly), it cannot sucessfully be flattened to and from a string.
Neither of these should produce an error.
And if you try to work around it with XML, it can lockup or crash.The first is the simplest demonstration of the problem.
The second is to show that problem is indirect (through multiply layers of different structures).
As for the purpose I was writing a SQLite interface that could write any form of LabVIEW data while maintaining variant attributes. I have to serialize the data somehow so the first attempt I just packed it into a variant then turned that into a string with flatten to string (since the variant contains the type info for what it holds I just need to use the type info for a variant to unserialize it). That failed with the first bug if I tried to store a variant with a attribute holding something down classed to the LabVIEW base object.
So instead of wrapping it in a variant I tried directly flattening it to a string and storing the type info from variant to flatten as a pascal string at the front of serialized data (of course this breaks if a LabVIEW object two variant levels deep is passed in). But that destroys variant attributes. So I tried wrapping that in a cluster then flattening the cluster (hence error two, and since it's indirect I can't wrap it in anything to avoid the problem).
So the current work around is to never store anything in the LabVIEW base object. So If I wanted a generic LVOOP container I would have to make a class for storable items then everything that can be stored would have to inherit from that.
I'm mainly posting since unknown bugs are rarely fixed, and this one is a bit obscure. -
Is there a known bug with the zen vision;m and usb internet adapt
i bought the zen m yesterday. i've down loaded it onto my pc.
audible wont sync to it. the creative firmware updater wont update it keeps saying its not connected.
Windows media player synced to it ( the only thing thats gone right so far lol )
and worst of all every time i plug in the unit via usb. if i unplug the unit my netgear usb WPNT2 stops recieving all 802. signals until the driver explodes taking the system down with it. or i manual reboot.
whats going on?
i'm thinking i should have gotten a Zune, and if i can't resolve this i'm going to have to take this back.
i put the zen on my laptop and xbox 360 and it works fine. it runs a pcmcia adaptor.
my desktop is a media center rollup 2 everything up todate. my netgear drivers are uptodate. i dont know whats going on here.Message Edited by paladin238 on 2-02-200604:24 PMit's not connected on a hub.
update audible still can't activate the zen, and it still keeps crashing the wireless adaptor, which inturns causes a stop error and crashes the system. i can't win =/ -
Bug with Network Load Balancing Services and SkipAsSource always reverting to true
Steps to reproduce:
Add an IP address to the cluster (2 nodes running Windows Server 2012) using the Network Load Balancing Manager
Using PowerShell set the SkipAsSource flag on the IP Address to true (Set-NetIpAddress -IpAddress 192.168.1.10 -SkipAsSource $true). The flag is correctly set.
Try to reverse the setting (Set-NetIpAddress -IpAddress 192.168.1.10 -SkipAsSource $false). Flag stays as true.
It appears as though Network Load Balancing Services is remembering the setting from someone.
Things I've tried all without success (in no particular order):
Removing the IP address from the cluster and adding it back in
Using PowerShell to remove the IP address and add it back in manually (on each host).Flag stays set as true on the 1st node but takes a second before it reverts back to true on the 2nd node.
Using netsh to remove the IP address and add it back in manually (on each host). Flag stays set as true on the 1st node but takes a second before it reverts back to true on the 2nd node.
Deleting each host from the cluster (one at a time), removing the registry keys CurrentControlSet\Services\WLBS and
Removing both hosts from the cluster
Restarting the hosts
Using processmon (sysinternals) to try and find a registry entry that might be set when SkipAsSource is set
Does anyone know:
How to resolve this issue? I'm guessing resetting the TCP/IP stack would work but that's a last resort as it requires an on sight visit to the datacentre.
Where the SkipAsSource flag it stored?
How to reset the master/global cluster config?
Thank in advance,
AntonyHi Antony,
I am trying to involve someone familiar with this topic to further look at this issue.
There might be some time delay. Appreciate your patience.
Best Regards.
Steven Lee
TechNet Community Support -
Bugs with 10.5.7 update and Logic reported
Apparently, some users are having display problems after up dating to 10.5.7.
http://www.logicprohelp.com/viewtopic.php?t=41255
So I guess I'll wait. There doesn't seem to be anything important in the update anyway.Working well here (I have an ATI graphics card, as do you I suspect with that model 8 Core)
-
How to validate using schema and entities
I am able to validate documents using w3c schema with either SAX or JDOM. But I need to add some entity definitions from a DTD.
If I add a DOCTYPE to my document that references a DTD, the entities are handled correctly, validation fails because the document is not valid per the DTD. I may be dealing with a lot of schemas and do not want to create the whole DTD for every schema.
Is there a way to validate using the schema and get the entity declarations without doing dtd validation?? I am using jaxp-1.2.2 (wsdp 1.1) and jdom beta-8.Declare only the Entities in the Dtd.
Validate with schema & validate with Dtd containing
only the entities.I did create a dtd that contains only the entities. The parser will correctly parse this but validation fails because the entire document is not dtd valid. -
Any issues with file sharing between Windows and latest Mac client?
We're running Lync 2013. My Windows client is 15.0.4551.1005. Mac client is version 14.0.8.
I open a conversation with a coworker on his Mac. I then try to share a png file. He clicks accept but then my client says the attempt timed out, and his client says that I canceled the file transfer. The coworker then boots the Mac into Windows and we try
again, and the file share works fine. When I jump on my Mac, I can send files to his Mac without issue. When he tries to send from his Mac to my PC it fails, but when he tries to send from Windows on his Mac to my PC, it works.
I can't find anything specific in the logs that would indicate a firewall issue. Is there a bug with file sharing between the Mac and PC clients?
Thanks,
MattNo, There isn't a bug with file sharing between Mac and Pc client.
2941640 Desktop sharing session stops in Lync 2013 when all screen data is updated
Also you can check below links
http://support.microsoft.com/kb/2952672/en-us
http://support.microsoft.com/kb/2880474/en-gb
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
Mai Ali | My blog: Technical | Twitter:
Mai Ali -
Sample per channel and sample to read
Hello everybody
I am new in LABVIEW and I have some difficulties with something.
I don t know exactly what is the difference between the sample per channel et the sample to read. I believe knowing that the sample per channel is the size of the buffer which is more big than the sample rate but I don t know what is the sample to read.
I ve tested with different sample per channel and sample to read. Sometimes I have an error and sometimes know and I would like to know why. If you have any example for I understand better, it will be great.
I really need to understand this part for my project
Thank for your help
Romaric GIBERT
Solved!
Go to Solution.Hi Roro,
As you mentioned, when acquiring continuous samples you can specify the sample buffer size by placing a value at the input "samples per channel" on the timing vi. The "number of samples per channel" input on the read vi which automatically names a control/constant with "samples to read" specifies the number of samples you wish to pull out of the buffer in one go when reading multiple (N) samples. This link may provide a bit more clarification. I have also attached a good example from the NI example finder which you may find useful to explore. I'm assuming you are using the DAQmx driver set so please let me know if this is not the case, but the same principles should apply either way.
This therefore means when sampling at a given rate, you need to ensure you are pulling data out in big enough 'chunks' to prevent the buffer from overflowing (which may well be causing the error you are seeing). Conversely if your sampling rate is slow and your read vi is having to wait for the number of samples to read you specified to be available, it may throw a timeout error. You can avoid this by either increasing your sampling rate, reducing your samples to read or increasing the timeout specified at the read vi input (-1 means it will wait indefinitely).
Let me know if this helps and how you get on.
All the best.
Paul
http://www.paulharris.engineering
Attachments:
Cont Acq&Graph Voltage-Int Clk.vi 27 KB -
Bug with Show Whitespace and tab and space characters in SQL comments
If Preferences > Code Editor > Display > Show Whitespace Characters is checked, and I type the following in SQL Worksheet:
--A[tab]B[space]C
It renders with two spaces between B and C. The first one is a blank space without the light dot character used to signify a space character, and the second space is filled with the dot character. The caret is then blinking before the C instead of after it:
--A[tab]B[space][dot][|]C
Further selection actions and editing in the region produce "corrupted" results. I've tried changing fonts, but there was no change to the behavior. Multiple tabs before the B produce multiple blank spaces immediately after it, and when placed at the end of the line the caret is then shown another space to the left of the C:
--A[tab][tab]B[space][space][|][dot]C
If I turn off Show Whitespace Characters the rendering immediately corrects, and caret placement, selection action, and editing behaviors all work as expected.
This is observed on OS X with both the Mac OS X and Oracle/Fusion Blue look and feels.
Ian
About
Oracle SQL Developer 3.0.04
Version 3.0.04
Build MAIN-04.34
Copyright © 2005, 2011 Oracle. All Rights Reserved.
IDE Version: 11.1.1.4.37.59.31
Product ID: oracle.sqldeveloper
Product Version: 11.1.2.04.34
Version
Component Version
========= =======
Java(TM) Platform 1.6.0_24
Oracle IDE 3.0.04.34
Versioning Support 3.0.04.34
Properties
Name Value
==== =====
apple.awt.graphics.UseOpenGL false
apple.awt.graphics.UseQuartz false
apple.laf.useScreenMenuBar true
awt.nativeDoubleBuffering true
awt.toolkit apple.awt.CToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
com.apple.macos.smallTabs true
com.apple.mrj.application.apple.menu.about.name SQL_Developer
com.apple.mrj.application.growbox.intrudes false
file.encoding MacRoman
file.encoding.pkg sun.io
file.separator /
ftp.nonProxyHosts local|*.local|169.254/16|*.169.254/16
gopherProxySet false
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.bootstrap.start 1309201485440911000
ide.build MAIN-04.34
ide.conf /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
ide.config_pathname /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
ide.debugbuild false
ide.devbuild false
ide.extension.search.path sqldeveloper/extensions:jdev/extensions:ide/extensions
ide.firstrun true
ide.java.minversion 1.6.0_04
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir /Users/ibrandt/.sqldeveloper
ide.product oracle.sqldeveloper
ide.splash.screen splash.gif
ide.startingcwd "/Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin"
ide.user.dir /Users/ibrandt/.sqldeveloper
ide.user.dir.var IDE_USER_DIR
ide.vcs.noapplications true
ide.work.dir /Users/ibrandt/sqldeveloper
ilog.propagatesPropertyEditors false
java.awt.graphicsenv apple.awt.CGraphicsEnvironment
java.awt.printerjob apple.awt.CPrinterJob
java.class.path ../../ide/lib/ide-boot.jar
java.class.version 50.0
java.endorsed.dirs /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed
java.ext.dirs /Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext
java.home /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
java.io.tmpdir /var/folders/rq/rqQtue9lEpGAwCKh2hL8MU+++TM/-Tmp-/
java.library.path .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.protocol.handler.pkgs oracle.jdevimpl.handler
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_24-b07-334-10M3326
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.util.logging.config.file logging.conf
java.vendor Apple Inc.
java.vendor.url http://www.apple.com/
java.vendor.url.bug http://bugreport.apple.com/
java.version 1.6.0_24
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Apple Inc.
java.vm.version 19.1-b02-334
jdbc.library /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/jdbc/lib/ojdbc6.jar
line.separator \n
log.file.name /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log/datamodeler.log
mrj.build 10M3326
mrj.version 1060.1.6.0_24-334
oracle.home /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.jdbc.mapDateToTimestamp false
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
orai18n.library /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/jlib/orai18n.jar
os.arch x86_64
os.name Mac OS X
os.version 10.6.8
path.separator :
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
socksNonProxyHosts local|*.local|169.254/16|*.169.254/16
sqldev.debug false
sun.arch.data.model 64
sun.awt.exception.handler apple.awt.CToolkit$EventQueueExceptionHandler
sun.boot.class.path ../../rdbms/jlib/ojdi.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:
/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar
sun.boot.library.path /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries
sun.cpu.endian little
sun.cpu.isalist
sun.io.unicode.encoding UnicodeLittle
sun.java.launcher SUN_STANDARD
sun.java2d.ddoffscreen false
sun.jnu.encoding MacRoman
sun.management.compiler HotSpot 64-Bit Server Compiler
sun.os.patch.level unknown
svnkit.sax.useDefault true
user.country US
user.dir /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin
user.home /Users/ibrandt
user.language en
user.name ibrandt
user.timezone America/Los_Angeles
windows.shell.font.languages
Extensions
Name Identifier Version Status
==== ========== ======= ======
Check For Updates oracle.ide.webupdate 11.1.1.4.37.59.31 Loaded
Code Editor oracle.ide.ceditor 11.1.1.4.37.59.31 Loaded
Component Palette oracle.ide.palette1 11.1.1.4.37.59.31 Loaded
Data Miner oracle.dmt.dataminer 11.2.0.1.10.109 Loaded
Database Connection Support oracle.jdeveloper.db.connection 11.1.1.4.37.59.31 Loaded
Database Object Explorers oracle.ide.db.explorer 11.1.1.4.37.59.31 Loaded
Database UI oracle.ide.db 11.1.1.4.37.59.31 Loaded
Diagram Framework oracle.diagram 11.1.1.4.37.59.31 Loaded
Diagram Javadoc Extension oracle.diagram.javadoc 11.1.1.4.37.59.31 Loaded
Diagram Thumbnail oracle.diagram.thumbnail 11.1.1.4.37.59.31 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.4.37.59.31 Loaded
Extended IDE Platform oracle.javacore 11.1.1.4.37.59.31 Loaded
External Tools oracle.ide.externaltools 11.1.1.4.37.59.31 Loaded
File Support oracle.ide.files 11.1.1.4.37.59.31 Loaded
Help System oracle.ide.help 11.1.1.4.37.59.31 Loaded
History Support oracle.jdeveloper.history 11.1.1.4.37.59.31 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.4.37.59.31 Loaded
Index Migrator support oracle.ideimpl.indexing-migrator 11.1.1.4.37.59.31 Loaded
JDeveloper Runner oracle.jdeveloper.runner 11.1.1.4.37.59.31 Loaded
JViews Registration Addin oracle.diagram.registration 11.1.1.4.37.59.31 Loaded
Log Window oracle.ide.log 11.1.1.4.37.59.31 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.4.37.59.31 Loaded
Navigator oracle.ide.navigator 11.1.1.4.37.59.31 Loaded
Object Gallery oracle.ide.gallery 11.1.1.4.37.59.31 Loaded
Oracle IDE oracle.ide 11.1.1.4.37.59.31 Loaded
Oracle SQL Developer oracle.sqldeveloper 11.1.2.04.34 Loaded
Oracle SQL Developer - 3rd Party Database Browsers oracle.sqldeveloper.thirdparty.browsers 11.1.1.04.34 Loaded
Oracle SQL Developer - DBA Navigator oracle.sqldeveloper.dbanavigator 11.1.1.04.34 Loaded
Oracle SQL Developer - Extras oracle.sqldeveloper.extras 1.1.1.04.34 Loaded
Oracle SQL Developer - File Navigator oracle.sqldeveloper.filenavigator 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Antlr3 Translator oracle.sqldeveloper.migration.translation.core_antlr3 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Application Migration oracle.sqldeveloper.migration.application 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Core oracle.sqldeveloper.migration 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations DB2 oracle.sqldeveloper.migration.db2 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations DB2 Translator oracle.sqldeveloper.migration.translation.db2 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Microsoft Access oracle.sqldeveloper.migration.msaccess 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Microsoft SQL Server oracle.sqldeveloper.migration.sqlserver 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations MySQL oracle.sqldeveloper.migration.mysql 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Sybase Adaptive Server oracle.sqldeveloper.migration.sybase 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations T-SQL Translator oracle.sqldeveloper.migration.translation.core 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Teradata oracle.sqldeveloper.migration.teradata 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Translation UI oracle.sqldeveloper.migration.translation.gui 11.1.1.04.34 Loaded
Oracle SQL Developer - Object Viewer oracle.sqldeveloper.oviewer 11.1.1.04.34 Loaded
Oracle SQL Developer - Real Time SQL Monitoring oracle.sqldeveloper.sqlmonitor 11.1.1.04.34 Loaded
Oracle SQL Developer - Reports oracle.sqldeveloper.report 11.1.1.04.34 Loaded
Oracle SQL Developer - Scheduler oracle.sqldeveloper.scheduler 11.1.1.04.34 Loaded
Oracle SQL Developer - Schema Browser oracle.sqldeveloper.schemabrowser 11.1.1.04.34 Loaded
Oracle SQL Developer - SearchBar oracle.sqldeveloper.searchbar 11.1.1.04.34 Loaded
Oracle SQL Developer - Snippet oracle.sqldeveloper.snippet 11.1.1.04.34 Loaded
Oracle SQL Developer - Spatial oracle.sqldeveloper.spatial 11.1.1.04.34 Loaded
Oracle SQL Developer - TimesTen oracle.sqldeveloper.timesten 2.0.0.04.34 Loaded
Oracle SQL Developer - Tuning oracle.sqldeveloper.tuning 11.1.1.04.34 Loaded
Oracle SQL Developer - Unit Test oracle.sqldeveloper.unit_test 11.1.1.04.34 Loaded
Oracle SQL Developer - User Extensions Support oracle.sqldeveloper.userextensions 11.1.1.04.34 Loaded
Oracle SQL Developer - Worksheet v2 oracle.sqldeveloper.worksheet 11.1.1.04.34 Loaded
Oracle SQL Developer - XML Schema oracle.sqldeveloper.xmlschema 11.1.1.04.34 Loaded
Oracle SQL Developer Data Modeler oracle.datamodeler 3.0.0.665.2 Loaded
Oracle SQL Developer Data Modeler - Reports oracle.sqldeveloper.datamodeler_reports 11.1.1.04.34 Loaded
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.4.37.59.31 Loaded
Peek oracle.ide.peek 11.1.1.4.37.59.31 Loaded
Persistent Storage oracle.ide.persistence 11.1.1.4.37.59.31 Loaded
Property Inspector oracle.ide.inspector 11.1.1.4.37.59.31 Loaded
QuickDiff oracle.ide.quickdiff 11.1.1.4.37.59.31 Loaded
Replace With oracle.ide.replace 11.1.1.4.37.59.31 Loaded
Runner oracle.ide.runner 11.1.1.4.37.59.31 Loaded
VHV oracle.ide.vhv 11.1.1.4.37.59.31 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.4.37.59.31 Loaded
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.4.37.59.31 Loaded
Virtual File System oracle.ide.vfs 11.1.1.4.37.59.31 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.4.37.59.31 Loaded
XML Editing Framework IDE Extension oracle.ide.xmlef 11.1.1.4.37.59.31 Loaded
audit oracle.ide.audit 11.1.1.4.37.59.31 Loaded
classpath: protocol handler extension oracle.jdeveloper.classpath 11.1.1.0.0 Loaded
jdukshare oracle.bm.jdukshare 11.1.1.4.37.59.31 Loaded
mof-xmi oracle.mof.xmi 11.1.1.4.37.59.31 Loaded
oracle.ide.dependency oracle.ide.dependency 11.1.1.4.37.59.31 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.4.37.59.31 Loaded
palette2 oracle.ide.palette2 11.1.1.4.37.59.31 Loaded
status oracle.ide.status 11.1.1.4.37.59.31 Loadedare you using an "Expert Mode" query or not?
With normal mode, the query is stored in an XML attribute.
With expert mode, it's stored in a CDATA Section, which allows it to respect all user-spacing and newlines.
XML attribute values are forced by the XML 1.0 spec to be normalized, and this is done by the parser when they are read in. That might account for your different in space treatment. -
Problem inserting and querying XML data with a recursive XML schema
Hello,
I'm facing a problem with querying XML data that is valid against a recursive XML Schema. I have got a table category that stores data as binary XML using Oracle 11g Rel 2 on Windows XP. The XML Schema is the following:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="bold_type" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="bold" type="bold_type"/>
<xs:element name="keyword" type="keyword_type"/>
<xs:element name="emph" type="emph_type"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="keyword_type" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="bold" type="bold_type"/>
<xs:element name="keyword" type="keyword_type"/>
<xs:element name="emph" type="emph_type"/>
<xs:element name="plain_text" type="xs:string"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="emph_type" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="bold" type="bold_type"/>
<xs:element name="keyword" type="keyword_type"/>
<xs:element name="emph" type="emph_type"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="text_type" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="bold" type="bold_type"/>
<xs:element name="keyword" type="keyword_type"/>
<xs:element name="emph" type="emph_type"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="parlist_type">
<xs:sequence>
<xs:element name="listitem" minOccurs="0" maxOccurs="unbounded" type="listitem_type"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="listitem_type">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="parlist" type="parlist_type"/>
<xs:element name="text" type="text_type"/>
</xs:choice>
</xs:complexType>
<xs:element name="category">
<xs:complexType>
<xs:sequence>
<xs:element name="name"/>
<xs:element name="description">
<xs:complexType>
<xs:choice>
<xs:element name="text" type="text_type"/>
<xs:element name="parlist" type="parlist_type"/>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="id"/>
</xs:complexType>
</xs:element>
</xs:schema>I registered this schema and created the category table. Then I inserted a new row using the code below:
insert into category_a values
(XMlElement("category",
xmlattributes('categoryAAA' as "id"),
xmlforest ('ma categ' as "name"),
(xmlelement("description", (xmlelement("text", 'find doors blest now whiles favours carriage tailor spacious senses defect threat ope willow please exeunt truest assembly <keyword> staring travels <bold> balthasar parts attach </bold> enshelter two <emph> inconsiderate ways preventions </emph> preventions clasps better affections comes perish </keyword> lucretia permit street full meddle yond general nature whipp <emph> lowness </emph> grievous pedro')))
The row is successfully inserted as witnessed by the results of row counting. However, I cannot extract data from the table. First, I tried using SqlPlus* which hangs up and quits after a while. I then tried to use SQL Developer, but haven't got any result. Here follow some examples of queries and their results in SQL Developer:
Query 1
select * from category
Result : the whole row is returned
Query 2
select xmlquery('$p/category/description' passing object_value as "p" returning content) from category
Result: "SYS.XMLTYPE"
now I tried to fully respect the nested structure of description element in order to extract the text portion of <bold> using this query
Query 3
select xmlquery('$p/category/description/text/keyword/bold/text()' passing object_value as "p" returning content) from category_a
Result: null
and also tried to extract the text portion of element <text> using this query
Query 4
select xmlquery('$p/category/description/text/text()' passing object_value as "p" returning content) from category_a
Result: "SYS.XMLTYPE".
On the other hand, I noticed, from the result of query 1, that the opening tags of elements keyword and bold are encoded as the less than operator "<". This explains why query 3 returns NULL. However, query 4 should display the text content of <text>, which is not the case.
My questions are about
1. How to properly insert the XML data while preserving the tags (especially the opening tag).
2. How to display the data (the text portion of the main Element or of the nested elements).
The problem about question 1 is that it is quite unfeasible to write a unique insert statement because the structure of <description> is recursive. In other words, if the structure of <description> was not recursive, it would be possible to embed the elements using the xmlelement function during the insertion.
In fact, I need to insert the content of <description> from a source table (called category_a) into a target table (+category_b+) automatically .
I filled category_a using the Saxloader utility from an flat XML file that I have generated from a benchmark. The content of <description> is different from one row to another but it is always valid with regards to the XML Schema. The data is properly inserted as witnessed by the "select * from category_a" instruction (500 row inserted). Besides, the opening tags of the nested elements under <description> are preserved (no "<"). Then I wrote a PL/SQL procedure in which a cursor extracts the category id and category name into varchar2 variables and description into an XMLtype variable from category_a. When I try to insert the values into a category_b, I get the follwing error:
LSX-00213: only 0 occurrences of particle "text", minimum is 1which tells that the <text> element is absent (actually it is present in the source table).
So, my third question is why are not the tags recognized during the insertion?
Can anyone help please?Hello,
indded, I was using an old version of Sqlplus* (8.0.60.0.0) because I had a previous installation (oracle 10g XE). Instead, I used the Sqlplus* shipped with the 11g2database (version 11.2.0.1.0). All the queries that I wrote work fine and display the data correctly.
I also used the XMLSERIALIZE function and can now display the description content in SQL Developer.
Thank you very much.
To answer your question Marco, I registered the XML Schema using the following code
declare
doc varchar2(4000) := '<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="bold_type" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="bold" type="bold_type"/>
<xs:element name="keyword" type="keyword_type"/>
<xs:element name="emph" type="emph_type"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="keyword_type" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="bold" type="bold_type"/>
<xs:element name="keyword" type="keyword_type"/>
<xs:element name="emph" type="emph_type"/>
<xs:element name="plain_text" type="xs:string"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="emph_type" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="bold" type="bold_type"/>
<xs:element name="keyword" type="keyword_type"/>
<xs:element name="emph" type="emph_type"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="text_type" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="bold" type="bold_type"/>
<xs:element name="keyword" type="keyword_type"/>
<xs:element name="emph" type="emph_type"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="parlist_type">
<xs:sequence>
<xs:element name="listitem" minOccurs="0" maxOccurs="unbounded" type="listitem_type"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="listitem_type">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="parlist" type="parlist_type"/>
<xs:element name="text" type="text_type"/>
</xs:choice>
</xs:complexType>
<xs:element name="category">
<xs:complexType>
<xs:sequence>
<xs:element name="name"/>
<xs:element name="description">
<xs:complexType>
<xs:choice>
<xs:element name="text" type="text_type"/>
<xs:element name="parlist" type="parlist_type"/>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="id"/>
</xs:complexType>
</xs:element>
</xs:schema>';
begin
dbms_xmlschema.registerSchema('/xmldb/category_auction.xsd', doc, LOCAL => FALSE,
GENTYPES => FALSE, GENBEAN => FALSE, GENTABLES => FALSE,
FORCE => FALSE,
OPTIONS => DBMS_XMLSCHEMA.REGISTER_BINARYXML,
OWNER => USER);
end;then, I created the Category table as follows:
CREATE TABLE category_a of XMLType XMLTYPE store AS BINARY XML
XMLSCHEMA "xmldb/category_auction.xsd" ELEMENT "category";Now, there still remains a problem of how to insert the "description" content which I serialized as a CLOB data into another table as XML. To this purpose, I wrote a view over the Category_a table as follows:
CREATE OR REPLACE FORCE VIEW "AUCTION_XWH"."CATEGORY_V" ("CATEGORY_ID", "CNAME", "DESCRIPTION") AS
select category_v."CATEGORY_ID",category_v."CNAME",
XMLSerialize(content ( xmlquery('$p/category/description/*' passing object_value as "p" returning content)) as clob) as "DESCRIPTION"
from auction.category_a p,
xmltable ('$a/category' passing p.Object_Value as "a"
columns category_id varchar2(15) path '@id',
cname varchar2(20) path 'name') category_v;Then, I wrote a procedure to insert data into the Category_xwh table (the source and target tables are slightly different: the common elements are just copied wereas new elements are created in the target table). The code of the procedure is the following:
create or replace PROCEDURE I_CATEGORY AS
v_cname VARCHAR2(30);
v_description clob ;
v_category_id VARCHAR2(15);
cursor mycursor is select category_id, cname, description from category_v;
BEGIN
open mycursor;
loop
/*retrieving the columns*/
fetch mycursor into v_category_id, v_cname, v_description ;
exit when mycursor%notfound;
insert into category_xwh values
(XMlElement("category",
xmlattributes(v_category_id as "category_id"),
xmlelement("Hierarchies", xmlelement("ObjHierarchy", xmlelement ("H_Cat"),
xmlelement ("Rollsup",
(xmlelement("all_categories",
xmlattributes('allcategories' as "all_category_id")))
xmlforest (
v_cname as "cat_name",
v_description as "description")
end loop;
commit;
close mycursor;
END I_CATEGORY;When I execute the procedure, I get the following error:
LSX-00201: contents of "description" should be elements onlyso, I just wonder if this is because v_description is considered as plain text and not as XML text, even if its content is XML. Do I need to use a special function to cast the CLOB as XML?
Thanks for your help.
Doulkifli
Maybe you are looking for
-
Hi! My computer recently crashed and i lost all my music and i can not seem to find the cd i burned with all my music. I have been dying to update my ipod, but I am afraid I will loose all of my music already on there. My question, is there anyway i
-
Play prompt before call is handed to the agent
I am editing a script and I have found that a prompt is not playing if the caller is queue. But it does play if an agent is available and "Ready" when the call comes in. Below is a screenshot of the script. The prompt that is not playing if the cal
-
Uninstallation of Hyp analyzer 7.x
Hi, I am trying to uninstall Hyp analyzer but I am getting an error saying can't delete tomcat.exe, few files are unistalled but I can't even delete tomcat.exe manually The uninstall log says as follows (Jun 10, 2009 10:02:42 AM), Uninstall, com.inst
-
Unable to edit generated Word output
Hello all, after generating printed Output, the Word document cannot be edited. The entire content can be copied into a new document though and then it can be edited. It makes no difference whether the output into a single Word document or a master i
-
Scroll/select wheel not working
HELP. My ipod is stuck on the menu list and the wheel is not working. the hold button is the only thing is working so far. i have tried to reset it holding the menu and select button down together. It shows the language menu now, but i can't select n