Jdev9irc initial observations
I just downloaded the Jdev9irc and installed it on my Win 2000
machine.
I migrated my BC4J/JSP project from Jdev 3.2.3 and then deployed
it to the newest OC4J 2.0. Here are my observations:
1. The new Jdev9irc software looks very promising. The
connections pooling has been fixed and it works reaaly well.
2. The migration was also not very difficult.
3. I had some <%@ include file="pagehdr.html" %> statements in
my jsp. Jdev 3.2.3 would find this file under
myhtml\soJsp_html\pagehdr.html, but under the jdev9irc, the file
has to be under myhtml.
But this cuases a problem when you deploy the project, OC4J
expects it to be under \soJsp_html directory. I had to put the
file in both locations.
4. I was also referring to some images
under /webapp/images/MDCHBanner.gif. I had tough time locating
where this should go. Under development it needs to go under
%jdev_home%\jdev\system\oc4j-
config\applications\bc4j\webapp\images.
For production(deployed to OC4J) it needs to be located under %
jdev_home\bc4j\redist\bc4j\webapp\images.
Maybe this is because I am referring to "webapp" which is a
defined virtual web-app.
5. I had some trouble with PCST_TXN and PCOLL_CONTROL tables. I
dropped the tables but JSP app would not re-create them. I then
recreated them using jdev 3.2.3
6. I had some trouble with <jbo:SetAttribute dataitem="*" />. I
was using this tag to create an auditlog of my original table.
In jdev 9i setattribute dataitem="*" checks for entity name and
would allow you to duplicate the data to another entity.
7. Some trouble with jbo:ShowValue tag. If the value is null,
jdev 3.2.3 used   but jdev 9i puts blank. If you are using
html tables, this does not look nice.
8. Deployment to OC4J documentation is still not very clear. It
talks about a sitename for the URL e.g
http://hostname:<portnumber>/<virtul path>/<sitename>/main.html.
But there is no explanation what a sitename is. The sitename is
the default packgae name. In my case soJsp_html.
9. Overall the docs have improved a lot.
10. Built in OC4J(inside jdev IDE) seems to work most of the
time,but sometimes I would get "file not found" error. I have to
then terminate the OC4J server (from run manager) and then it
would work.
11. Appmodule now has releasemode clause and that clears up all
the confusion about stateless and stateful modes.
12. Use of webbean has improved and it now use the datasource
tag. This integrates the webbeans with appmodule and datasource.
All in all a great product and it very close to being a usable
product for production JSP applications.
Thank you Jdev team.
Going through the same thing. we have to find all the loops holes to be able to gets stuff. our group is small enough that we just made everyone one set up their own account using their work email. if we want to buy apps we just have the person who has the credit card by online gift cards and let people load the money to their account.
from what I haVe read Apple does not intend to change their way to making Apple friendly to enterprise use. which is a shame because more and more companies want to use them for that way and are having the same issues.
Similar Messages
-
Initial Observations - iPads at the Office
We are initiating a beta program for our organization to deploy iPads and iPhones to select staff. I've been charged with (and was a proponent of) integrating IOS into a mostly Windows organization.
After much testing of iPads we began deploying them and have found that the devices themselves are fantastic. They will clearly make staff more productive and enable much faster communication and the ability to do more from the road.
However, I'm quickly learning that they are not ready for Enterprise use because the implementation is painful. There is no way to centralize billing. Purchasing apps for multiple devices with one account is way too much work and in fact I'm now frozen out from using our credit card until I contact Apple. Setting up the iPads requires either a credit card to activate iTunes or fancy footwork to fool iTunes into allowing the "No Credit Card" option.
To get around some limitations we tried "gifting" apps, only to find our card blocked by Apple after a few purchases. We can not print out a receipt for our purchases (waiting on the Apple email receipt, days later, is not an option).
I think once the bloom is off the rose, and the novelty wears off, Apple is going to face a backlash from businesses if it does not quickly address these issues. Perhaps we're caught in the middle - too small to incorporate more sophisticated device management services but too small to treat each iPad as an "individual" owned device. I hope with IOS 5 coming out soon Apple gives much more thought to how businesses integrate devices, and related Apps, into their business practices.Going through the same thing. we have to find all the loops holes to be able to gets stuff. our group is small enough that we just made everyone one set up their own account using their work email. if we want to buy apps we just have the person who has the credit card by online gift cards and let people load the money to their account.
from what I haVe read Apple does not intend to change their way to making Apple friendly to enterprise use. which is a shame because more and more companies want to use them for that way and are having the same issues. -
Initial observations after 2 days
I am pretty experienced in Flash but wanted to start at the beginning regarding learning Flex/FB4. I think the tutorials and examples are well done. Two things prompted me to comment now:
Every so often, somewhere in the middle, the video resets to the beginning of the file, and then I have to reload it to the point I left off. I thought it was due to me clicking on the video or something, but this has occurred even when I don't touch the player.
I would kill to have a 2x or 3x speed control on the player, to let me fast forward through parts that I feel I can skip.
Thank you for producing this great resource (as wel as Tour de Flex, a wonderful asset).
-jonathan01-Jan-2008 07:25 PM
patriciaanne3 wrote:
hi 6280 this is probably of no use but is it possible the dead pixels are not dust under screen. i had that issue with my first 6280 straight out of the box. i realise it's most unlikely as you know more about nokias than i do but it ws just a thought.
patricia
Hi Patricia,
It's not the dust under the screen, i've put a fullscreen black image on there and there seems to be a few dead ones.
The dust is another problem, but hey, i have a 6120c now!
Nokia N95
V 20.0.015
0546553 -
Collection of Tips and Observations
Being quite new to DPS and having just completed a 100 page brochure I wanted to share some observations and hopefully get some back.
Some of these may not be true as there may be better ways of working that we haven't discovered yet, and some may be blatently obvious but this is what we have found.
If you have lots of pages that make use of the same interactivity, setting this up on a master page saves a lot of time, but as you make each new page make sure you release from the master straight away otherwise elements like buttons and actions will not be linked to the right element on the page and will cause In Design to crash when uploading the article
Using layers for different interative elements can really help organise the interacivity, but make sure all layers are active before you upload the article if you have buttons that link to an inactive layer then In Design will probably crash again
Labelling buttons and MSO clearly saves a lot of time if you need to trouble shoot why something isnt behaving as you expect later on, In Design makes a good job of renaming duplicate buttons by adding a sequencial number, but if you have several duplicated elements on the same page naming them by their position on the page can help you when linking button actions, e.g. Image Slide Left, Image Slide Right. Having buttons with identical names can also cause crashes when uploading articles, but not always.
Buttons inside MSO can only control elements inside the same MSO, a bit of lateral thinking (and forum help) can probably achieve the intended results
If Video content is placed inside a frame that hides (crops) part of the video, the whole video is still shown when published (might be doing this wrong)
Edge animations that rely on custom javascript need to be added as HTML not OAM (unless there is a way to embed the javascript into oam files?)
anyway those are just my initial observations based on builing a publication that has a lot of identical layout product pages.If Video content is placed inside a frame that hides (crops) part of the video, the whole video is still shown when published (might be doing this wrong)
You can crop the video as long as the mask is set to be an overlay object. -
58L9300U Initial Setup Failure
Hello,
I recently purchased a 58L9300 series TV and from the first installation of the quick setup screen I began to experience freeze issues with the TV. I was able to make it to the network tab on Quick Setup but after that point the TV became unresponsive. Howver after repeated attemts to power on and off the TV it still reverts back to that frozen frame in the network tab.
Initial observations include before the system tries to perform the steup percentage screen I can use the remote to change inputs, turn the TV on off etc. So it seems this may be caused by a firmware of software issue residing in the TV. Right now I cannot use my new TV because of this issue and would appreciate feedback on correcting the issue.
JasonI foudn that if I unplugged the TV from the power strip, then waited like 2 min (for TV to lose power completely) at least, then plugged it back in and powered it on. It at least has a chance to boot all the way each time (for me at least). When I unplug my TV I have noticed that there are 8 'clicks' that sound kinda like a windshield wiper.
If you can get it to boot and load the OS, then you should be able to run the reset command (in options). This should re-run the setup wizard.
BTW I did find that it is normal for the setup wizard to run until it completes at least once. If you are stuck in the network settings, you may have to enter settings to get past that.. (or try skipping maybe). I did skip the IR blaster setup at the end of setup with no issues. -
Getting realistic performance expectations.
I am running tests to see if I can use the Oracle Berkeley XML database as a backend to a web application but am running into query response performance limitations. As per the suggestions for performance related questions, I have pulled together answers to the series of questions that need to be addressed, and they are given below. The basic issue at stake, however, is am I being realistic about what I can expect to achieve with the database?
Regards
Geoff Shuetrim
Oracle Berkeley DB XML database performance.
Berkeley DB XML Performance Questionnaire
1. Describe the Performance area that you are measuring? What is the
current performance? What are your performance goals you hope to
achieve?
I am using the database as a back end to a web application that is expected
to field a large number of concurrent queries.
The database scale is described below.
Current performance involves responses to simple queries that involve 1-2
minute turn around (this improves after a few similar queries have been run,
presumably because of caching, but not to a point that is acceptable for
web applications).
Desired performance is for queries to execute in milliseconds rather than
minutes.
2. What Berkeley DB XML Version? Any optional configuration flags
specified? Are you running with any special patches? Please specify?
Berkeley DB XML Version: 2.4.16.1
Configuration flags: enable-java -b 64 prefix=/usr/local/BerkeleyDBXML-2.4.16
No special patches have been applied.
3. What Berkeley DB Version? Any optional configuration flags
specified? Are you running with any special patches? Please Specify.
Berkeley DB Version? 4.6.21
Configuration flags: None. The Berkeley DB was built and installed as part of the
Oracle Berkeley XML database build and installation process.
No special patches have been applied.
4. Processor name, speed and chipset?
Intel Core 2 CPU 6400 @ 2.13 GHz (1066 FSB) (4MB Cache)
5. Operating System and Version?
Ubuntu Linux 8.04 (Hardy) with the 2.6.24-23 generic kernel.
6. Disk Drive Type and speed?
300 GB 7200RPM hard drive.
7. File System Type? (such as EXT2, NTFS, Reiser)
EXT3
8. Physical Memory Available?
Memory: 3.8GB DDR2 SDRAM
9. Are you using Replication (HA) with Berkeley DB XML? If so, please
describe the network you are using, and the number of Replica’s.
No.
10. Are you using a Remote Filesystem (NFS) ? If so, for which
Berkeley DB XML/DB files?
No.
11. What type of mutexes do you have configured? Did you specify
–with-mutex=? Specify what you find inn your config.log, search
for db_cv_mutex?
I did not specify -with-mutex when building the database.
config.log indicates:
db_cv_mutex=POSIX/pthreads/library/x86_64/gcc-assembly
12. Which API are you using (C++, Java, Perl, PHP, Python, other) ?
Which compiler and version?
I am using the Java API.
I am using the gcc 4.2.4 compiler.
I am using the g++ 4.2.4 compiler.
13. If you are using an Application Server or Web Server, please
provide the name and version?
I am using the Tomcat 5.5 application server.
It is not using the Apache Portable Runtime library.
It is being run using a 64 bit version of the Sun Java 1.5 JRE.
14. Please provide your exact Environment Configuration Flags (include
anything specified in you DB_CONFIG file)
I do not have a DB_CONFIG file in the database home directory.
My environment configuration is as follows:
Threaded = true
AllowCreate = true
InitializeLocking = true
ErrorStream = System.err
InitializeCache = true
Cache Size = 1024 * 1024 * 500
InitializeLogging = true
Transactional = false
TrickleCacheWrite = 20
15. Please provide your Container Configuration Flags?
My container configuration is done using the Java API.
The container creation code is:
XmlContainerConfig containerConfig = new XmlContainerConfig();
containerConfig.setStatisticsEnabled(true);
XmlContainer container = xmlManager.createContainer("container",containerConfig);I am guessing that this means that the only flag I have set is the one
that enables recording of statistics to use in query optimization.
I have no other container configuration information to provide.
16. How many XML Containers do you have?
I have one XML container.
The container has 2,729,465 documents.
The container is a node container rather than a wholedoc container.
Minimum document size is around 1Kb.
Maximum document size is around 50Kb.
Average document size is around 2Kb.
I am using document data as part of the XQueries being run. For
example, I condition query results upon the values of attributes
and elements in the stored documents.
The database has the following indexes:
xmlIndexSpecification = dataContainer.getIndexSpecification();
xmlIndexSpecification.replaceDefaultIndex("node-element-presence");
xmlIndexSpecification.addIndex(Constants.XBRLAPINamespace,"fragment","node-element-presence");
xmlIndexSpecification.addIndex(Constants.XBRLAPINamespace,"data","node-element-presence");
xmlIndexSpecification.addIndex(Constants.XBRLAPINamespace,"xptr","node-element-presence");
xmlIndexSpecification.addIndex("","stub","node-attribute-presence");
xmlIndexSpecification.addIndex("","index", "unique-node-attribute-equality-string");
xmlIndexSpecification.addIndex(Constants.XBRL21LinkNamespace,"label","node-element-substring-string");
xmlIndexSpecification.addIndex(Constants.GenericLabelNamespace,"label","node-element-substring-string");
xmlIndexSpecification.addIndex("","name","node-attribute-substring-string");
xmlIndexSpecification.addIndex("","parentIndex", "node-attribute-equality-string");
xmlIndexSpecification.addIndex("","uri", "node-attribute-equality-string");
xmlIndexSpecification.addIndex("","type", "node-attribute-equality-string");
xmlIndexSpecification.addIndex("","targetDocumentURI", "node-attribute-equality-string");
xmlIndexSpecification.addIndex("","targetPointerValue", "node-attribute-equality-string");
xmlIndexSpecification.addIndex("","absoluteHref", "node-attribute-equality-string");
xmlIndexSpecification.addIndex("","id","node-attribute-equality-string");
xmlIndexSpecification.addIndex("","value", "node-attribute-equality-string");
xmlIndexSpecification.addIndex("","arcroleURI", "node-attribute-equality-string");
xmlIndexSpecification.addIndex("","roleURI", "node-attribute-equality-string");
xmlIndexSpecification.addIndex("","name", "node-attribute-equality-string");
xmlIndexSpecification.addIndex("","targetNamespace", "node-attribute-equality-string");
xmlIndexSpecification.addIndex("","contextRef", "node-attribute-equality-string");
xmlIndexSpecification.addIndex("","unitRef", "node-attribute-equality-string");
xmlIndexSpecification.addIndex("","scheme", "node-attribute-equality-string");
xmlIndexSpecification.addIndex("","value", "node-attribute-equality-string");
xmlIndexSpecification.addIndex(Constants.XBRL21Namespace,"identifier", "node-element-equality-string");
xmlIndexSpecification.addIndex(Constants.XMLNamespace,"lang","node-attribute-equality-string");
xmlIndexSpecification.addIndex(Constants.XLinkNamespace,"label","node-attribute-equality-string");
xmlIndexSpecification.addIndex(Constants.XLinkNamespace,"from","node-attribute-equality-string");
xmlIndexSpecification.addIndex(Constants.XLinkNamespace,"to","node-attribute-equality-string");
xmlIndexSpecification.addIndex(Constants.XLinkNamespace,"type","node-attribute-equality-string");
xmlIndexSpecification.addIndex(Constants.XLinkNamespace,"arcrole","node-attribute-equality-string");
xmlIndexSpecification.addIndex(Constants.XLinkNamespace,"role","node-attribute-equality-string");
xmlIndexSpecification.addIndex(Constants.XLinkNamespace,"label","node-attribute-equality-string");
xmlIndexSpecification.addIndex(Constants.XBRLAPILanguagesNamespace,"language","node-element-presence");
xmlIndexSpecification.addIndex(Constants.XBRLAPILanguagesNamespace,"code","node-element-equality-string");
xmlIndexSpecification.addIndex(Constants.XBRLAPILanguagesNamespace,"value","node-element-equality-string");
xmlIndexSpecification.addIndex(Constants.XBRLAPILanguagesNamespace,"encoding","node-element-equality-string");17. Please describe the shape of one of your typical documents? Please
do this by sending us a skeleton XML document.
The following provides the basic information about the shape of all documents
in the data store.
<ns:fragment xmlns:ns="..." attrs...(about 20 of them)>
<ns:data>
Single element that varies from document to document but that
is rarely more than a few small elements in size and (in some cases)
a lengthy section of string content for the single element.
</ns:data>
</ns:fragment>18. What is the rate of document insertion/update required or
expected? Are you doing partial node updates (via XmlModify) or
replacing the document?
Document insertion rates are not a first order performance criteria.
I do no document modifications using XmlModify.
When doing updates I replace the original document.
19. What is the query rate required/expected?
Not sure how to provide metrics for this but a single web page is
being generated, this can involve hundreds of queries. each of which
should be trivial to execute given the indexing strategy in use.
20. XQuery -- supply some sample queries
1. Please provide the Query Plan
2. Are you using DBXML_INDEX_NODES?
I am using DBXML_INDEX_NODES by default because I
am using a node container rather than a whole document
container.
3. Display the indices you have defined for the specific query.
4. If this is a large query, please consider sending a smaller
query (and query plan) that demonstrates the problem.
Example queries.
1. collection('browser')/*[@parentIndex='none']
<XQuery>
<QueryPlanToAST>
<LevelFilterQP>
<StepQP axis="parent-of-attribute" uri="*" name="*" nodeType="element">
<ValueQP container="browser" index="node-attribute-equality-string" operation="eq" child="parentIndex" value="none"/>
</StepQP>
</LevelFilterQP>
</QueryPlanToAST>
</XQuery>2. collection('browser')/*[@stub]
<XQuery>
<QueryPlanToAST>
<LevelFilterQP>
<StepQP axis="parent-of-attribute" uri="*" name="*" nodeType="element">
<PresenceQP container="browser" index="node-attribute-presence-none" operation="eq" child="stub"/>
</StepQP>
</LevelFilterQP>
</QueryPlanToAST>
</XQuery>3. qplan "collection('browser')/*[@type='org.xbrlapi.impl.ConceptImpl' or @parentIndex='asdfv_3']"
<XQuery>
<QueryPlanToAST>
<LevelFilterQP>
<StepQP axis="parent-of-attribute" uri="*" name="*" nodeType="element">
<UnionQP>
<ValueQP container="browser" index="node-attribute-equality-string" operation="eq" child="type" value="org.xbrlapi.impl.ConceptImpl"/>
<ValueQP container="browser" index="node-attribute-equality-string" operation="eq" child="parentIndex" value="asdfv_3"/>
</UnionQP>
</StepQP>
</LevelFilterQP>
</QueryPlanToAST>
</XQuery>4.
setnamespace xlink http://www.w3.org/1999/xlink
qplan "collection('browser')/*[@uri='http://www.xbrlapi.org/my/uri' and */*[@xlink:type='resource' and @xlink:label='description']]"
<XQuery>
<QueryPlanToAST>
<LevelFilterQP>
<NodePredicateFilterQP uri="" name="#tmp8">
<StepQP axis="parent-of-child" uri="*" name="*" nodeType="element">
<StepQP axis="parent-of-child" uri="*" name="*" nodeType="element">
<NodePredicateFilterQP uri="" name="#tmp1">
<StepQP axis="parent-of-attribute" uri="*" name="*" nodeType="element">
<ValueQP container="browser" index="node-attribute-equality-string" operation="eq" child="label:http://www.w3.org/1999/xlink"
value="description"/>
</StepQP>
<AttributeJoinQP>
<VariableQP name="#tmp1"/>
<ValueQP container="browser" index="node-attribute-equality-string" operation="eq" child="type:http://www.w3.org/1999/xlink"
value="resource"/>
</AttributeJoinQP>
</NodePredicateFilterQP>
</StepQP>
</StepQP>
<AttributeJoinQP>
<VariableQP name="#tmp8"/>
<ValueQP container="browser" index="node-attribute-equality-string" operation="eq" child="uri" value="http://www.xbrlapi.org/my/uri"/>
</AttributeJoinQP>
</NodePredicateFilterQP>
</LevelFilterQP>
</QueryPlanToAST>
</XQuery>21. Are you running with Transactions? If so please provide any
transactions flags you specify with any API calls.
I am not running with transactions.
22. If your application is transactional, are your log files stored on
the same disk as your containers/databases?
The log files are stored on the same disk as the container.
23. Do you use AUTO_COMMIT?
Yes. I think that it is a default feature of the DocumentConfig that
I am using.
24. Please list any non-transactional operations performed?
I do document insertions and I do XQueries.
25. How many threads of control are running? How many threads in read
only mode? How many threads are updating?
One thread is updating. Right now one thread is running queries. I am
not yet testing the web application with concurrent users given the
performance issues faced with a single user.
26. Please include a paragraph describing the performance measurements
you have made. Please specifically list any Berkeley DB operations
where the performance is currently insufficient.
I have loaded approximately 7 GB data into the container and then tried
to run the web application using that data. This involves running a broad
range of very simple queries, all of which are expected to be supported
by indexes to ensure that they do not require XML document traversal activity.
Querying performance is insufficient, with even the most basic queries
taking several minutes to complete.
27. What performance level do you hope to achieve?
I hope to be able to run a web application that simultaneously handles
page requests from hundreds of users, each of which involves a large
number of database queries.
28. Please send us the output of the following db_stat utility commands
after your application has been running under "normal" load for some
period of time:
% db_stat -h database environment -c
1038 Last allocated locker ID
0x7fffffff Current maximum unused locker ID
9 Number of lock modes
1000 Maximum number of locks possible
1000 Maximum number of lockers possible
1000 Maximum number of lock objects possible
155 Number of current locks
157 Maximum number of locks at any one time
200 Number of current lockers
200 Maximum number of lockers at any one time
13 Number of current lock objects
17 Maximum number of lock objects at any one time
1566M Total number of locks requested (1566626558)
1566M Total number of locks released (1566626403)
0 Total number of locks upgraded
852 Total number of locks downgraded
3 Lock requests not available due to conflicts, for which we waited
0 Lock requests not available due to conflicts, for which we did not wait
0 Number of deadlocks
0 Lock timeout value
0 Number of locks that have timed out
0 Transaction timeout value
0 Number of transactions that have timed out
712KB The size of the lock region
21807 The number of region locks that required waiting (0%)
% db_stat -h database environment -l
0x40988 Log magic number
13 Log version number
31KB 256B Log record cache size
0 Log file mode
10Mb Current log file size
0 Records entered into the log
28B Log bytes written
28B Log bytes written since last checkpoint
1 Total log file I/O writes
0 Total log file I/O writes due to overflow
1 Total log file flushes
0 Total log file I/O reads
1 Current log file number
28 Current log file offset
1 On-disk log file number
28 On-disk log file offset
1 Maximum commits in a log flush
0 Minimum commits in a log flush
96KB Log region size
0 The number of region locks that required waiting (0%)
% db_stat -h database environment -m
500MB Total cache size
1 Number of caches
1 Maximum number of caches
500MB Pool individual cache size
0 Maximum memory-mapped file size
0 Maximum open file descriptors
0 Maximum sequential buffer writes
0 Sleep after writing maximum sequential buffers
0 Requested pages mapped into the process' address space
1749M Requested pages found in the cache (99%)
722001 Requested pages not found in the cache
911092 Pages created in the cache
722000 Pages read into the cache
4175142 Pages written from the cache to the backing file
1550811 Clean pages forced from the cache
19568 Dirty pages forced from the cache
3 Dirty pages written by trickle-sync thread
62571 Current total page count
62571 Current clean page count
0 Current dirty page count
65537 Number of hash buckets used for page location
1751M Total number of times hash chains searched for a page (1751388600)
8 The longest hash chain searched for a page
3126M Total number of hash chain entries checked for page (3126038333)
4535 The number of hash bucket locks that required waiting (0%)
278 The maximum number of times any hash bucket lock was waited for (0%)
1 The number of region locks that required waiting (0%)
0 The number of buffers frozen
0 The number of buffers thawed
0 The number of frozen buffers freed
1633189 The number of page allocations
4301013 The number of hash buckets examined during allocations
259 The maximum number of hash buckets examined for an allocation
1570522 The number of pages examined during allocations
1 The max number of pages examined for an allocation
184 Threads waited on page I/O
Pool File: browser
8192 Page size
0 Requested pages mapped into the process' address space
1749M Requested pages found in the cache (99%)
722001 Requested pages not found in the cache
911092 Pages created in the cache
722000 Pages read into the cache
4175142 Pages written from the cache to the backing file
% db_stat -h database environment -r
Not applicable.
% db_stat -h database environment -t
Not applicable.
vmstat
r b swpd free buff cache si so bi bo in cs us sy id wa
1 4 40332 773112 27196 1448196 0 0 173 239 64 1365 19 4 72 5
iostat
Linux 2.6.24-23-generic (dell) 06/02/09
avg-cpu: %user %nice %system %iowait %steal %idle
18.37 0.01 3.75 5.67 0.00 72.20
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
sda 72.77 794.79 1048.35 5376284 7091504
29. Are there any other significant applications running on this
system? Are you using Berkeley DB outside of Berkeley DB XML?
Please describe the application?
No other significant applications are running on the system.
I am not using Berkeley DB outside of Berkeley DB XML.
The application is a web application that organises the data in
the stored documents into hypercubes that users can slice/dice and analyse.
Edited by: Geoff Shuetrim on Feb 7, 2009 2:23 PM to correct the appearance of the query plans.Hi Geoff,
Thanks for filling out the performance questionnaire. Unfortunately the forum software seems to have destroyed some of your queries - you might want to use \[code\] and \[code\] to markup your queries and query plans next time.
Geoff Shuetrim wrote:
Current performance involves responses to simple queries that involve 1-2
minute turn around (this improves after a few similar queries have been run,
presumably because of caching, but not to a point that is acceptable for
web applications).
Desired performance is for queries to execute in milliseconds rather than
minutes.I think that this is a reasonable expectation in most cases.
14. Please provide your exact Environment Configuration Flags (include
anything specified in you DB_CONFIG file)
I do not have a DB_CONFIG file in the database home directory.
My environment configuration is as follows:
Threaded = true
AllowCreate = true
InitializeLocking = true
ErrorStream = System.err
InitializeCache = true
Cache Size = 1024 * 1024 * 500
InitializeLogging = true
Transactional = false
TrickleCacheWrite = 20If you are performing concurrent reads and writes, you need to enable transactions in the both the environment and the container.
Example queries.
1. collection('browser')/*[@parentIndex='none']
<XQuery>
<QueryPlanToAST>
<LevelFilterQP>
<StepQP axis="parent-of-attribute" uri="*" name="*" nodeType="element">
<ValueQP container="browser" index="node-attribute-equality-string" operation="eq" child="parentIndex" value="none"/>
</StepQP>
</LevelFilterQP>
</QueryPlanToAST>
</XQuery>
I have two initial observations about this query:
1) It looks like it could return a lot of results - a query that returns a lot of results will always be slow. If you only want a subset of the results, use lazy evalulation, or put an explicit call to the subsequence() function in the query.
2) An explicit element name with an index on it often performs faster than a "*" step. I think you'll get faster query execution if you specify the document element name rather than "*", and then add a "node-element-presence" index on it.
3) Generally descendant axis is faster than child axis. If you just need the document rather than the document (root) element, you might find that this query is a little faster (any document with a "parentIndex" attribute whose value is "none"):
collection()[descendant::*/@parentIndex='none']Similar observations apply to the other queries you posted.
Get back to me if you're still having problems with specific queries.
John -
IPhoto 09 - BIG LIST OF BUGS I'VE FOUND
I’ve been using IPhoto 08 for 10 months with no issues whatsoever.
Installed IPhoto 09 yesterday and have loads of issues. Thought it would be useful to share these. There's a lot to read, so thanks for reading if you get to the end.
BACKGROUND
As some background, I have a 2.8GHz IMac with 4GB RAM. First I uninstalled my third party Flickr uploader. Then rebooted and checked it had gone. Then installed all available updates via software update. Then rebooted. Then checked for all available updates via software update again. Then logged onto my Flickr pro account via Safari and deleted all of my photos on Flickr. Then rebooted. Then installed ILIfe 09.
It took about an hour scanning my photos for faces.
FACES
1. Initial observations – it’s very good and clever, but it does miss a lot of faces. Also when you’re clicking to confirm, or double-clicking to to decline, it would be good if you could say “no, it’s not Maria as you’ve guessed, actually it’s Sandra”, rather than just double-clicking to say “no it’s not Maria” (and then effectively losing the Sandra opportunity!)
2. After the initial dump of faces, I then tried importing 50 brand new photos directly into IPhoto 09. It then didn’t pick up any of the faces, so I had to go in manually adding the faces. Any reason for this?
3. After a couple of hours, on my corkboard I had 30 faces. An hour later, without me having added any more faces, suddenly I’ve got 25 faces. No idea where the missing 5 went. I then went about creating 3 of the missing 5 faces, taking me to 28 faces. An hour later, suddenly I’ve got about 35 faces! When I looked at the corkboard, some of my faces had been duplicated. For example, there were now 2 Rachel’s on my corkboard. When I clicked on one of them, it told me I had 8 pictures of Rachel, and then showed me the 8 pictures. When I clicked on the other, it told me I had 2 pictures of Rachel, but when I drilled down, no pictures of Rachel were displayed, even though there was supposed to be 2…!! Incidentally – on the cork board, where I now had 2 Rachel’s, the ‘key photo’ for both Rachel’s was the same photo. I then deleted all my duplicates. So all in all, a bit flakey!
4. I then had a go at entering the email addresses of some of my faces, but when clicking on the info button on the face, the 3D animation which then follows to allow you to enter the details went very slowly. When I tried to overtype “enter email address” with the email address, it kept refusing the email address and reverted to “enter email address”. The only way to fix this was to reboot.
FACEBOOK
1. When pressing the export to facebook button, it asks for an account credentials. I supplied my own credentials. It then happily exported 30 photos. When I logged onto Facebook to have a look, it had correctly tagged Brad in 5 pictures, Maria in 3 pictures and Rachel in 8 pictures. HOWEVER, for the 8 Rachel pictures, it only identified 3 out of those 8 as Rachel on Facebook, the other 5 just being Rachel. Hope that makes sense! This is definitely a bug, as Rachel’s email address was entered on the corkboard before I pressed the facebook button, therefore all 8 should have been identified as Rachel on Facebook. I even tried overtyping her email address on the corkboard and then re-syncing with Facebook, but it made no difference. I deleted the album and re-exported it with no difference.
2. I then tried switching accounts, so after pressing the facebook button, entered my wife’s username and password for facebook, to see if IPhoto supported multiple facebook accounts. Even though it accepted my wife’s credentials, it still then says “you are about to publish to Brad’s facebook account” and ignores my wife’s credentials.
MAPS
1. When trying to manually enter location information it tells me I’m not connected to the internet, when clearly I am, and can use IPhoto Facebook exporter, use Google Maps via Safari, etc.
FLICKR
1. I tired highlighting multiple events. I then pressed the flickr button. I was a bit disappointed that when the load gets to flickr, it is merged as one event (aka ‘flickr SET’). So to upload multiple events, I’ll have to do them one at a time. Ah well, never mind.
2. I’ve now uploaded 3 sets to flickr. However, every time I start IPhoto, the sync icons start turning next to every set on the flickr section on the left hand side of IPhoto (even if I'm not interested in doing anything with Flickr). This makes the operation of IPhoto slow. This will mean trouble when I'm up to 100 flickr sets!!!
3. I've downloaded a 4th set to flickr containing 300 photos. All was well and the photos are on flickr. Then an hour later, it proceeded to delete the Flickr set, so that now it says “(0)” after the flickr set rather than "(300)". Clicking on the name of the flickr set displays no photos! However, when I log onto flickr direct, the 300 photos are actually there. After a reboot, IPhoto insists there are still zero photos in the set, and there is no icon next to the set (to re-sync with flickr), like there is with my other 3 sets. So what do I do now? All I can think of is deleting via Flickr and uploading all 300 photos again!
STABILITY
1. Random crashing. The beachball appears after doing certain things and won't go away. I then have to force-quit. This is the first time I've ever had to use force-quit in my 10 months of being a Mac user.
2. Slowness. The application eventually grinds to a virtual halt after a few hours. The animations go slow, typing in text gets ignored, and eventually I have to reboot.iPhoto has a new Web preference pane and in it is an option to check for newly published photos. I don't know if it checks you filckr acco
unt or must Mobileme but you might set the option to check manually and see if some of the strange behavior goes away. It probably will increase iPhoto's speed if it's not checking online all the time.
TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier versions) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. There are versions that are compatible with iPhoto 5, 6, 7 and 8 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
NOTE: iPhoto 8's new option in it's rebuild library window, "Rebuild the iPhoto Library Database from automatic backup" may make this tip obsolete. We'll know when users have occasion to use it and see if that's the case. -
Hi Experts,
I request you to go through this query and if you find any solution on this query revert back immediately. Thanks in Advance and awaiting for your reply.
here is my query.
The role ZSE_HR_BUDGET_PREPARER has been used here since early 2004. Last week we made a small change and tested it in the development client. (T-code UPSPL was removed and put in a separate single role.)
When I transported it to the test client (request DB1K901856), it got an code error 8 because there were a number of objects in the role that BW considered invalid. There was only one name in the list that I recognized and it was an inactive authorization object, so I deleted it and retransported (DB1K901859). This time it got transported successfully with an error code 0 so I concluded that the other objects were somehow related but hidden. Two hours later, however, the same transport had an error code 8! Looking at the log, I see all the same objects listed, except the one that I deleted.
Krishna (our basis Team lead) searched the development client for those objects and it reported that they were in another role that was not involved in the transport request. (It did not find them in ZSE_HR_BUDGET_PREPARER.) We looked at the authorization objects in that other role but couldn't find them there either.
I did some testing in the test client and the role seems to working correctly.
Questions:
1. Neither Krishna nor I have ever seen a successful transport change to unsuccessful; how can this happen?
2. Can you tell us what those strange objects are?
3. Does the transport error have any effect on the role? Can we safely transport it to production ?
for this i had send a mail to client like this.
Hello Bob,
This is the initial observation and we are trying to analyze more on this. We would soon come up with a solution for the same.
These are the authorization objects which are missing in the TOBJ table:
ZBBP_STATU
ZTESTCC
ZTESTCOCOD
ZTESTCRED
These authorization objects are created when you select "Business explorer" tab in info objects and check the "authorization relevant" option. For eg. For the info object 0BBP_STATUS when you check the "authorization relevant" option then an authorization object "ZBBP_STATU" is created. I verified these info objects and I can see that the authorization relevant option is checked for all of them, but when I check it in TOBJ table they are not available there. We are trying to find out whether we can recover them or we can see them anywhere else.
Thanks in Advance
Regards
PrasadHi,
The authorization objects may be mising in the Test system.
Transporting a Role need not take the authorization objects along automatically.
Deleting an Object from a Role only deletes the association.
Your missing Z authorization objects may not have been transported to the Test system.
>>These are the authorization objects which are missing in the TOBJ table:
ZBBP_STATU
ZTESTCC
ZTESTCOCOD
ZTESTCRED
<<
Do you mean these are missing in the Test system? If so, it means these have not been transported there.
But then do a Role comparison using SUIM against TEST and QAS systems and ascertain if all these additional roles need to taken down the landscape. Somebody may have been 'Testing' as the name indicates.
Forgive me if I have made any erroneous assumptions.
Mathew. -
SPSecurity.RunWithElevatedPrivileges Not Working for Read Only Permissions Users
I have the following code in a method that generates tabbed web parts on any page in SharePoint 2010.
The problem is that it will not work for users who have Read access only on a SharePoint site. It will work when those users have Contribute access.
So even though I have elevated permissions in the code it does not actually elevate the permissions at the point where it is needed.
if (panel != null)
try
using (SPLimitedWebPartManager wpManager = SPContext.Current.Web.GetLimitedWebPartManager(HttpContext.Current.Request.Url.ToString(), PersonalizationScope.Shared))
try
// Elevated previleges required for EXPORT and IMPORT. Else Users with normal read access will get errors.
SPSecurity.RunWithElevatedPrivileges(delegate()
// Retrieve the web part titles in the ConfigureTabs XML string for this tab.
var webPartTitles = from t in xDocument.Descendants("webPart")
where (string)t.Parent.Attribute("name") == (string)e.Item.DataItem
select (string)t.Attribute("title");
foreach (string wpTitle in webPartTitles)
foreach (System.Web.UI.WebControls.WebParts.WebPart webPart in wpManager.WebParts)
// Find the matched closed web part in WebParts collection
if (webPart.Title == wpTitle && webPart.IsClosed == true)
string errorMessage;
//ADD EXPORT PROPERTY
webPart.ExportMode = WebPartExportMode.All;
MemoryStream stream = new MemoryStream();
XmlTextWriter writer = new XmlTextWriter(stream, System.Text.Encoding.UTF8);
// Export the closed webpart to a memory stream.
wpManager.ExportWebPart(webPart, writer);
writer.Flush();
stream.Position = 0;
XmlTextReader reader = new XmlTextReader(stream);
// Import the exported webpart.
System.Web.UI.WebControls.WebParts.WebPart newWebPart = wpManager.ImportWebPart(reader, out errorMessage);
reader.Close();
writer.Close();
// Show the imported webpart.
panel.Controls.Add(newWebPart);
break;
catch (Exception ex)
// For debugging use only.
Label label = new Label();
label.Text = "Please check your XML configuration for error. " + Environment.NewLine + ex.Message;
panel.Controls.Add(label);
catch (Exception ex)
// For debugging use only.
Label label = new Label();
label.Text = "Please Check SPContext.Current.Web is not null. " + Environment.NewLine + ex.Message;
panel.Controls.Add(label);
This snippet of code was originally pulled from a microsoft technet article on creating Tabbed web parts "the correct way" but it doesn't work in all scenarios.
Is there a way to get this code working for Read/Visitors to a SharePoint site?From initial observation what I see is that your SPLimitedWebPartManager is not created from an elevated web. Try like below
SPSecurity.RunWithElevatedPrivileges(delegate()
using(SPSite elevatedSite = new SPSite(SPContext.Current.Site.ID))
using(SPWeb elevatedWeb = elevatedSite.OpenWeb())
using (SPLimitedWebPartManager wpManager = elevatedWeb.GetLimitedWebPartManager(HttpContext.Current.Request.Url.ToString(), PersonalizationScope.Shared))
{ //Rest of your code
Geetanjali Arora | My blogs | -
RoboHelp 8 for AIR - Comment Feature
I'm currently using RH7. I noticed in the marketing blitz for
RH8 it mentions that the RH packager for AIR allows user comments
to be posted within your help project. I'm trying to understand if
this means:
a. User makes comment on their C drive for their own personal
reference
b. User posts comment to a web server for all to see (and
help author to moderate)While Peter's feverishly going back through his hand-written
notes (he keeps them on wax tablets), let me jump in here.
Comments stay with the AIR file wherever it is located.
Comments are identified by machine username, whether the AIR
file is on your local machine or on a server.
1. I copied an AIR file to a server location.
2. I made a comment which, when added, displayed my username.
3. I copied the AIR file back to my machine.
4. The new comment appeared.
In addition, you can sync comments from multiple local
machines, by exporting/importing comment file (
Send and Receive comments > Send to file/Receive from
file). For testing, I: 1) exported two comments; 2) edited the
file by changing <authorname> and <comment> values; and
3) imported the edited comments, which appeared along with my old
ones (but identified by the different author name).
Based on my initial observations, then, you could even share
comment files between your customers and your organization (after
moderating the entries, if need be).
How your customers use the help (shared or loaded on users'
local machines) will determine how you instruct them to use the
comments feature, as well as how to possibly interact with you, the
vendor.
Good luck,
Leon -
JSF 1.1 performance, especially UIData and Data Table
Hi,
Does anybody have any JSF 1.1 (Sun reference implementation) performance experiences to share? I am currently looking at the data table component and the use of UIData. Initial observations are an incredible amount of memory is churned during rendering the data table, with the following classes culprits:
java.util.HashMap$KeyIterator
javax.faces.component.UIComponentBase$ChildrenListIterator
java.util.AbstractList$Itr
char[]
java.util.ArrayList
javax.faces.component.UIComponentBase$FacetsMapKeySetIterator
javax.faces.component.UIComponentBase$FacetsMapKeySet
javax.faces.component.UIComponentBase$FacetsMapValues
javax.faces.component.UIComponentBase$FacetsAndChildrenIterator
To render 50 rows with 10 columns (each column only having a simple outputText component) I'm seeing 1.3Mb memory churned and 0.8 seconds processing time.
To rener 100 rows with same columns and components I'm seeing nearly 2Mb churned and 2 seconds processing time.
UIData.setRowIndex is a large culprit.
I'm really after finding out your experiences on JSF performance and its scalability.
Any help here is appreciated.
Thanks - JJHi,
Does anybody have any JSF 1.1 (Sun reference implementation) performance experiences to share? I am currently looking at the data table component and the use of UIData. Initial observations are an incredible amount of memory is churned during rendering the data table, with the following classes culprits:
java.util.HashMap$KeyIterator
javax.faces.component.UIComponentBase$ChildrenListIterator
java.util.AbstractList$Itr
char[]
java.util.ArrayList
javax.faces.component.UIComponentBase$FacetsMapKeySetIterator
javax.faces.component.UIComponentBase$FacetsMapKeySet
javax.faces.component.UIComponentBase$FacetsMapValues
javax.faces.component.UIComponentBase$FacetsAndChildrenIterator
To render 50 rows with 10 columns (each column only having a simple outputText component) I'm seeing 1.3Mb memory churned and 0.8 seconds processing time.
To rener 100 rows with same columns and components I'm seeing nearly 2Mb churned and 2 seconds processing time.
UIData.setRowIndex is a large culprit.
I'm really after finding out your experiences on JSF performance and its scalability.
Any help here is appreciated.
Thanks - JJ -
WebEdit not working....opening read-only
Just as a bit of an FYI for anyone that might be experiencing this issue with there WebEdit feature of Collaboration.If your WebEdit is opening files as read-only and thereby not allowing you to save them back to Collaboration, you can fix this issue by changing the nonGatewayedAccess enabled attribute to yes under the WebEdit Node in the Collaboration config.xml (see xml block below)
<webEdit enabled="yes"> <nonGatewayedAccess enabled="yes"> <serverURL>http://collaboration_server_uri:11930/collab</serverURL> </nonGatewayedAccess> <tokenBasedAuthentication enabled="true"> <useClustering enabled="yes"> <maxWaitSeconds>30</maxWaitSeconds> </useClustering> </tokenBasedAuthentication> <truncateFileNames>75</truncateFileNames> <clientControl> <clsid>6882A029-D576-45FC-B966-7288891BDF58</clsid> <fileSpec>PTWebEditControl.CAB#version=1,0,0,0</fileSpec> </clientControl> <installOfficeToolsPopUp enabled="yes"/></webEdit>From initial observation what I see is that your SPLimitedWebPartManager is not created from an elevated web. Try like below
SPSecurity.RunWithElevatedPrivileges(delegate()
using(SPSite elevatedSite = new SPSite(SPContext.Current.Site.ID))
using(SPWeb elevatedWeb = elevatedSite.OpenWeb())
using (SPLimitedWebPartManager wpManager = elevatedWeb.GetLimitedWebPartManager(HttpContext.Current.Request.Url.ToString(), PersonalizationScope.Shared))
{ //Rest of your code
Geetanjali Arora | My blogs | -
Receeived 17 inch MBP replacement for 15 inch - Differences
Having had 2 15 inch MBP's, I have now received a 17 inch.
Initial observations are impressive !
1. The top and lower case, left of the IR receiver are a good, tight fit with no gap. Infact the case is a snug fit all round.
2. The screen hinge feels more smooth
3. Heat ? What heat ?
4. Whine ? What whine ?
My initial conclusion is that Apple were really pushing the envelope with the 15 MBP and that things are much more comfortable inside the 17 inch. I guess the extra space in the 17 inch allows this.
The sound is so much better as well.
The 17 inch is the way it was supposed to be.Yeah I have also had 2 15' MBP and they have had the issues. I got one of the very first 17' MBP and I haven't had any problem with it. I agree right out of the box the sound is fantastic and plus the 17' is much cooler than the 13' MB and 15' MBP.
-
Major delays when I launch Acrobat X (Acrobat Not Responding)
I have Acrobat X (and Adobe CS6) installed on a relatively fast Windows machine. When I click on Photoshop, Illustrator, etc they launch within 2-3 seconds.
When I click on a PDF file, Acrobat X launches immediately but then it stops (the Acrobat window fades and I get an "not responding message") for as long as 60-120 seconds. After the delay, everything is fine. If I close the existing PDF file (not terminating Acrobat) and open another PDF file, all is still fast and OK. But if I close Acrobat and re-launch another PDF file, the same behavior is displayed.
Based on my initial observations (but I cannot clearly pinpoint it) it may be related to my wired and wireless connections. I am not 100% sure, but may be when the wireless adapter is enabled, this happens. Both my wired and wifi connections are very stable and steady.
Any thoughts? This has been quite annoying.Hello,
Try the following steps,
- close all Adobe applications.
- Navigate to :
C:\Users\<user name>\AppData\Roaming\Adobe\Acrobat
- You can also navigate by Typing %appdata% into Run command window.
- Rename Acrobat folder to Acrobat.old and then try to launch the program.
Regards,
Yuvarj. -
Migrating application from 9.0.4.1 to 10.1.3
Hi All
I hope this is the correct forum to ask this question. We are migrating a J2EE application which consists of several CMP beans from OC4J 9.0.4.1 to OC4J 10.1.3.
On initial observation it seems that 10.1.3 also generates a config file similar to 9.0.4.1 called 'toplink-ejb-jar.xml'. In 9.0.4.1 we manually edited the pre-generated 'orion-ejb-jar.xml' file to add all our JNDI names and CMR relationships.
Looks like Oracle has bundled TopLink with this version of OC4J - I assume we need to end up doing the same thing for this pre-generated file ?
Does anyone have experience doing this ? If so can you share some tips ?
Thanks in Advance
GhulamGhulam,
The toplink-ejb-jar.xml file is typically created from mapping your entities to the tables in the mapping editor provided in JDeveloper or the standalone workbench utility. It is not a direct 1:1 association with the orion file.
We have provided a migration utility for moving from the orion CMP to the new default CMP (TopLink).
http://download-west.oracle.com/otn_hosted_doc/toplink/1013/MAIN/_html/asinteg003.htm#i1016748
Doug
Maybe you are looking for
-
Function modules or BAPIs for ESS MSS
Hi Experts, I am new to HR (ESS/MSS & who's who). I am looking for standard BAPI's and Function Modules that would give me information about an employee's upper level's and lower levels (reporting). My requirement is to build an Webdynpro Application
-
Can i associate more than one number to my iMessage account?
I live in Canada at the moment and am from Seattle, and am wondering if there is a way to associate more than one phone number to iMessage?
-
Photoshop CS6 64bit crashing with big psb files right after opening
Hi everybody, I'm having big trouble since CS6 and I couldnt find andy help anywhere, thats why i have to ask here. Problem discription: Opening an 7gb 8bit psb file in PS CS6 64bit: PS opens the file and crashes immediately after showing the content
-
Hi I get an error in MONI" BPE adapter unknown message " .scenario is working fine in development system .And just now imported the configurations in quality system . SXI_CACHE RETURN CODE IS 0 DELETED AND REIMPORTED THE PROCESS AGAIN i have check
-
Mac mini + G5 + FW drive to play back DVDs
ok follow me on this one... I have a G5 Quad with a 1TB FW drive which contains my DVD collection If I get a Mac mini, can I: 1 - connect the Mac mini to playback my DVDs on my tv? 2 - can the Mac mini connect via Airport to the FW-HD to access my DV