Workspace question

Hi,
I have a question about the folowing source code:
1 WorkspaceDef defaultWS =
T3Services.getT3Services().workspace().getWorkspace();
2 // Attach to the system subWorkspace already created
3 WorkspaceDef myDataWS = defaultWS.getWorkspace("SETTING_WORKSPACE",
WorkspaceDef.ATTACH, WorkspaceDef.SCOPE_SERVER);
4 String JDBCDEBUG= (String) myDataWS.fetch("JDBCDebug");
5 System.out.println(JDBCDEBUG);
6 myDataWS.store("JDBCDebug","2");
Is there a way so i change the value of JDBCDebug variable without creating
it
I first created the Variable JDBCDebug in a startUpClass and when i want to
change the variable i don't want to recreate it.
what i mean is:
is there a method like myDataWS.change("JDBCDebug","4");
Thanks in advance,
Ido Dijkstra
J2EE Develloper

Hi,
Yes it is possible to automate this process using the Workspace API. In fact the API doc has a sample that demonstrates how to import a document into the Workspace.
http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/hs_developer.pdf
Regards,
Robb Salzmann

Similar Messages

  • Bridge Dual Monitors CS3 Workspace Questions

    I can't seem to figure out a few things regarding running dual monitors. Run windows XP, have the latest bridge/cs 3 updates. Sometimes everything works fine, other times it doesn't.
    I like having my preview pane on monitor #1, directly in front of me. I also like opening the selected photo in RAW from monitor #1 and having the RAW window come up on monitor #1.
    Most often the RAW window will open up on Monitor #2, which I do not want to happen. On Monitor #2, I have my content pane and my metadata & folders showing.
    I've reversed 1:2 and 2:2 and can't get it to work right either. Could someone provide some guidance? Been searching options and can't figure it out.
    Another topic that is not related to dual montiors. Sometimes my preview tab, will not show the selected photo in it. I usually reset Bridge on start up and it'll be there...but sometimes the photo disappears. The tab will still be there. Any help/ideas would be appreciated.
    Thank you.

    I discovered that with dual monitors if the window is maximized it has no preview image (default workspace), just a green pane. If you use the double headed arrow and pull back the dividing line between thumb/preview pane or preview/metadata pane it revels dozens of "copies" of underneath. The preview will only show up when the thumb window pane is moved quite a ways to the left. It is almost like the real workspace is on the bottom and the others are on top.
    The solution I have found is to click RESTORE DOWN (middle window icon) and then everything works correctly, even if I enlarge the window to full monitor. If I maximize it reverts again. Am using Vista and 2 monitors. Can work with this now that I know what to do, but a little puzzling. For anyone not seeing a preview image, or metadata, might be worth while to see if maximize window mode is the problem.
    Perhaps you could experiment with maximize - restore down and see if it helps with your problem.
    Probably get a better response if you post questions in Bridge question forum rather than feature forum.

  • Basic Hyperion Workspace question

    Is there any way to Drill-Down to data by double-clicking on the chart item in Hyperion Workspace? I can do this in Hyperion Reporting Studio.

    hi all,Hi Neerav
    I have very basic clone database question
    If i create database A and clone database B using A...
    I want to know that any operation done on A will be automatically done on Cloned database B.Oops....Now you're asking about rocket science. Sorry, I don't know.
    I know about some basics:
    Streams or Replication--> Which can give you data on B in read-write mode.
    DR--> For safeguarding your database and B will work as DR solution.
    Hope u understandNo, please make us understand.
    Regards,
    S.K.

  • Merge/Refresh Workspace: Question concerning conflict resolution

    hi!
    thank's so far for answering our last question,now another question popped up during developing :)
    we now have a state with our application where the user can select which objects to merge/refresh and finally commit these changes.
    if there have been any conflicts he had to select a resolve operation for them. so far so good.
    now, our method that performs the merging looks (no surprise) something like that: (the numbers are markers, used later on)
    (1)
    beginResolve();
    do a few resolveConflicts();
    (*) commit;
    commitResolve();
    (2)
    (3)
    do_merge/refresh_operations_of_death_in_correct_order();
    (4)
    ok, first question is concerning the line with the (*).
    it seems we cannot call commitResolve() when there is an open transaction? as we run a spring managed application we first had it that way, that all of the above lines were executed within on transaction (that is, the complete merge/refresh operation going from (1) to (4)).
    that didn't work, as we got exceptions on commitResolve(), that there is an open database transaction. is that because of the transaction wrapping the complete method? or did we do something else wrong?
    now we split the method in two parts: one for the conflict resolution ((1) to (2) and one for the rest ((3) to (4)), both running within a transaction now. that works.
    however, I feel a little bit unsafe with that, questions are:
    if the first part runs in an own transaction and is commited: does the commitResolve() actually write data? or is that just something temporary on a per-session base? because, if something fails in the second part ((3) to (4)) then the transaction of that part of course rolls back fine, but the result of the conflict resolve part is probably still there? could we then, somewhere in the exception handling of the second transaction, call rollbackResolve()? or does it always have to happen within a conflict resolution session, that means, within (1) to (2)? the docs state the latter, but we're not really sure.
    if something fails for whatever reason during the actual merge/refresh part, we need to make sure, that everything is rolled back to the state before
    starting the whole process. it would be very dangerous to have some resolved conflicts hanging around that get merged/refreshed sometime later when the user doesn't even think about them.
    btw, we also found the docs a bit inconsistent concerning conflict resolution. at some point it is explained, that after calling the resolveConflicts() a commit is needed, at another point this is left out and it is said, that one would just need to call commitResolve() afterwards and THEN a commit. it seems only the first explanation is correct (with another commit after the commitResolve()).
    so, if you could clarify a bit on how a conflict resolution + merge/refresh session should look like concerning the management and scope of transactions, that would be really of great help and highly appreciated! the first tests worked fine with the way we have it working right now, but we always feel like there's a huge pitfall hiding somewhere ;)
    best regards,
    Andreas

    Hi Ben,
    after your explanation I agree. As the workspaces only carry the difference information of course there actually is no data in the child workspace if the object has been deleted in the parent.
    I guess for the first we should not display this object to the user except when he's attempting to do a refresh, but not for a merge (or the other way round if the delete was done in the
    child and NC in parent).
    We didn't realize there is a rollbackTable with a WHERE clause, quite nice! Still, nothing practicable for us as we can't really know when a user might want to undo a delete and thus
    which savepoint to use.
    Reinserting would work, yes. We even tried that once for another scenario. Though in our case it would be important that the object also gets the same PK again, which is possible but still
    feels like an ugly hack :-) Anyway, back to topic.
    For the second scenario I was unfortunately mixing some WM and our users' terminology, thus it was not 100% clear. Sorry for that. What I meant was the following:
    1) create new object in child
    2) merge this object to parent
    2a) DIFF is clear now, everything OK
    3) goto parent workspace, new object is there
    4) modify the new object there
    5) goto child workspace again
    6) open differences-viewer of our application <- here I wrote the users do a refresh, I meant they are >planning< to do a refresh, but not actually did it yet
    OK, at point 6) we now get the diff information from the DIFF view and have an U for the parent and an I for the child. After your explanations and thinking over it some time we realized, that
    this of course is totally correct: the last change in the parent was the update, the last change in the child the insert.
    As the current version of our differences-viewer more or less displays the information from the DIFF-views in a straight way, the user now sees, that the object was updated in parent and new/inserted in child,
    because those are the last operations for this row in both of the workspaces. That's what I meant is not intuitive, especially if they did not do all the operations themselves like in our small example and within
    the timespan of 2 minutes.
    It seems, we have to build some more abstraction around our current process?
    To us it seems there are two solutions to this "problem", correct us if we oversee something:
    1) currently synchronization within our application is directional, so either merge or refresh (except for conflict resolution, where the user might also want to decide to keep the object from the target workspace)
    Thus we simply can ignore the DiffCode for the target workspace, except for conflicts, where we easily get the information from the CONF views
    EDIT: no, we cannot simply ignore the target diffcode :( After some more thinking we have the same problem as with a real bidirectional synchronization process.
    2) on the long run we actually planned to provide a bidirectional merge-tool to the user. In that case it's not that easy, as there is no single target workspace.
    We didn't go into details yet, but probably we would need to retrieve further information, like e.g. the change timestamps for the DIFF rows for child and parent?
    Then we could see what was actually the last change and display only that (except for U/U conflicts, but then again we get that information from the CONF view)
    Any hints on how to do something like that the best way?
    EDIT: We think it boils down to the question: how can we know, which parts of the DIFF have already been handled in a merge/refresh before and which haven't?
    And another question, this time concerning the original topic: conflict resolution.
    Is it possible in some way to ignore conflicts during a merge or refresh? Our users will definitely need that. The only idea we came up with yet would be again to use a savepoint (as you suggested
    already concerning error rollback), that is have a savepoint (e.g. for the last time the workspace was synchronized) and then "fake resolve" the conflict (use CHILD with resolveconflicts) but do not
    include the row in the following mergeTable() call. After merging has succeeded, use rollbackTable() for that row to the previous savepoint. Would that work?
    Thanks again and regards,
    Andreas Schilling
    Edited by: aschilling on Dec 15, 2009 9:33 AM

  • Illustrator CS4 Workspace Question

    Hello,
    I was wondering how to keep the windows in the position that I save them in after closing and re-opening Illustrator. I've saved the workspace many times as a custom workspace, but every time I re-open Illustrator, the windows are all stacked on top of one another.
    Also, any actions that I save and load are gone the next time that I open Illustrator. This results in my having to reload them.
    One more thing. I have an action set that performs these tasks in order:
    Select All / Convert Text to Outlines / Save as EPS (to a specified Network Folder) / Close File
    This results in an Illustrator error that gives the following string: R6025 -pure virtual function call. Afterward, Illustrator closes.
    Any help on these 3 issues would be greatly appreciated.
    Thanks,
    Luke

    I concur with Monika regarding the prefs/workspaces/actions - you may have permissions problems. The same could be true for the networking stuff - you have limited access to the server and AI can#t cope with it...
    Mylenium

  • Workspace question mark(?) error

    Hi,
    We have Oracle EPM 11.1.2.1. When Our users open financial reporting reports in pdf error occurs. Error contain question mark(?) and adobe on top.
    Anybody know about these issue?
    Thanks in advance.

    Hi,
    Following Ghostscript versions are supported in 11.1.2.1 with 32-bit mode only.
    GPL Ghostscript 8.63; AFPL Ghostscript 8.54 or 8.51;
    You can check the details in windows registry HKEY_LOCAL_MACHINE ---> SOFTWARE ---> Check for the folder with ghostscript you can find the version details or Check for "GS_LIB" Value in the same folder for the version details.
    regards,
    Harish.

  • Activity Guide 11.1.1.4 & BPM Workspace Question?

    Hi
    Anybody have a simple document or demo on the Activuty Guide.
    Also does it need Process Spaces or can it be shown with BPM Workspace.
    Regards
    Craig

    I would expect more support in BPM Workspace for activity guide in a later ps/feature pack.
    For now i think only api is available.

  • Workspace Question on Packages

    I have crated a couple of classes and packaged them. However the
    workspace in JDeveloper doesn't separate them by packages. What
    should I do?
    Thanks.

    In JDeveloper 3.2.3, you can view the class hierarchy of a class
    by selecting the class with you mouse and right-clicking on it.
    You can then choose "Class heirarchy". You can see class and
    package information in the navigator and structure pane.
    In Oracle9i JDeveloper, you can view a project by package
    structure by setting some options in the ide. One way to do
    this is to click on the project. At the top of the System
    Navigator you can select a "Show Categories" button. At this
    point you will see a "source node". Click on the "source node",
    and again at the top right of the System navigator, select a
    button that will let you sort by "File List, Package Tree,
    Package List, or Directory Tree". The Package Tree or List will
    display your classes in the System navigator according to
    package structure.
    I have crated a couple of classes and packaged them. However the
    workspace in JDeveloper doesn't separate them by packages. What
    should I do?
    Thanks.

  • Bridge workspace question

    I used to be able to open up bridge, and my favorite saved, customized workspace would open up automatically. Now I have to manually go to window and choose my workspace, which doesn't take a long time, but is a pain to me.
    Does anyone know how to make my favorite saved workspace the default workspace adobe bridge opens up to? Thanks!

    Corrupted preferences file(s)?  When something happens "suddenly"  That's the first thing to suspect.
    Have you tried this:
    Troubleshoot errors, freezes | Adobe Bridge | Windows, Mac OS

  • CS4 Workspace Question

    I really hate the way the workspace functions in CS4. I don't like the mac interface, if I wanted a mac, I would have bought one. I don't like that the tool panels are not in the workspace so when I zoom an image, the image window ends up behind the tool panels. In my previous versions, this was not the case. Is there any way to make the workspace like it was in CS3?
    Thanks

    Well, that is the way it works...try again. Note that it's the cursor position that pops up the blue line, not the panel edge.
    Unfortunately a screen shot doesn't capture mouse events, so I can't illustrate.
    Drag one panel by the tab, and when you get to the edge of the workspace, just inside the thin UI border, a blue line appears. Individual panels dock vertically to each other the same way (drag to the lower edge of the panel above).

  • Workspace Question in CS5

    I just upgraded to CS5 and am trying to view thumbnails in Bridge as a grid with a preview image and it's metadata underneath it as I did in CS4. I can't for the life of me figure out how to do this. I can get the grid of thumbnails on the left with a preview on the right, but I can't get the metadata to show up underneath the preview as it used to do. Can this be done?
    Many thanks,
    Jeff

    Thanks for your response Nini. I am able to get the preview and thumbnails set the way I want but sadly, I still can't get metadata to be displayed under the large preview image the way it did in Bridge CS4. Has this type of layout been whacked in CS5, or am I whacked? I don't want to be the raspberry seed in anyone's wisdom tooth in regards to this but I liked seeing a large preview image with the metadata underneath and still have the thumbnails up on the left side of the screen. 

  • CS-5 Workspace question.

    In all previous versions of Photoshop, when opening an image file, the image would extend over to the edge of the Palettes, as did Ctrl+0/ full screen.
    In CS-5, the image extends out-- under the Palletes.
    Is there a setting to have the image stop at the edge of the Palletes???
    Regards,
    Leigh 

       "Float all windows" corrects this behaviour after an image is opened, but I would like it to do so when the image is opened.
    Leigh

  • How to create an OWB Repository in a database

    By default a database will have a repository installed into it. One has to create a workspace using Repository assistant within the repository.
    database> repository> workspace
    Question:
    1. How can I create a new repository [either in same or a new database]?
    2. Can one database have multiple repositories or is it limited to only 1?
    Thanks!

    >
    Also, on 10g, how do I go about creating a repository.
    Please note I'm aware of using Repository assistant to:
    create workspaces on 11g and
    create repository owners on 10g [we create owners and not workspaces on 10g]
    In both the cases where do I define a specific repository, where do I give the name of repository etc.
    In 10g ,OWB Owner is nothing but the schema which holds OWB repository
    If you are creating a new OWB Owner that means it is a new repository.
    If you are creating/registering a new OWB user when you can choose an existing OWB repository/owner to which the new user will be associated with.
    Thanks,
    Sutirtha

  • Are qt4 applications fully compatible with plasma5 ?

    Well, this may be my fault, maybe I should install some packages, but it seems that qt4 applications don't behave as they were on kde4.
    In my case, kmail says it can't access kwallet (which is very annoying), or when I change notification sounds, it doesn't apply for some applications, and some other differences. why is that?

    Sorry,You're right.
    Well, when I want to create an account using account wizard or when modifying existing account in "configure-kmail" window, It says:
    "Could not access KWallet. If you want to store the password permanently then you have to activate it. If you do not want to use KWallet, check the box below, but note that you will be prompted for your password when needed."
    I've installed kwalletmanager but it doesn't work. It opens with an empty window unless running as root which is useless.
    About sounds, kmail is one example. I changed almost all notification sounds in systemsettings-> Notifications-> Event source: Plasma Workspace-> Question, Warning, Critical Message, ... but kmail uses the old default ones. Dolphin does the same.
    I had problems with theming for qt4 applicatins that solved by using "qtconfig-qt4", and I'm wondering if I'm missing something else too. You know, I'm new to Arch, in Kubuntu things are a little different.

  • BPM Workspace Customization & User Interface: Best Practice Question

    Hi All,
    This is our first BPM Project in house and we are on Oracle BPM 11g.
    The business process involves request for approval for a permit from a public user and internal users need to approve/reject the same. Pretty simple and straightforward so far.
    But we are now having lots of questions wrt to user interface.
    1. Work Space Changes.
    If we develop this application completely in Oracle BPM, the outside user (general public) will also see the 'workspace' with its current interface. It would be impossible to handle user training on this interface for a simple Joe Bloe, who may not be computer savvy) So the requirement documents demand that the look and feel of the outside users should be totally different than what the workspace provides. They want this to be customized in such a way that iit would strip all of the default lay out (left navigation bar, and get rid of the upper section completely. with its list of tabs) and also to modify the task list that appears below).
    We have figured out how to achieve this (by modifying the workspace .jar files and recompiling the same), but is this a good approach? What happens if we are developing a brand new application on the BPM in our shop? This change will affect that application as well, as the workspace is shared and common to all the apps? I want some of you experts to let us know, your thoughts on this. If this is not a recommended practice, what would be best way to achieve what we want using Oracle BPM? (Where we want a simple intuitive user interface, without the default add ons that comes with the work space)...
    2. What would be the best method to create a user registration page (where a user creates his own login and password and maintains his account) for an application using the BPM ? Right now we are thinking this should be in either a ADF page/ JSP page or (worst case a PL SQL cartridge) that can be launched on the browser, which will be open and does not require any kind of authentication to access. Is this a good practice or recommended one? Or are we missing out on something within BPM application itself, that we are not aware of and that would let us do this?
    3. Also, if we go with an external ADF application for the 'public' user interface developement, then how can we (or can we) leverage the BPM's internal storage for the submitted data from the payload? I understand that it stores this information currently on the server 'soa infra' tables some where? Thru an external ADF app, can we write into these tables (Is this recommended or just sounds plain ridiculous)???
    Knowing answers to these questions will help us decide, if this is the right tool for the job at hand.
    Appreciate your time and xpertise.
    Thanks
    SR

    Hi All,
    This is our first BPM Project in house and we are on Oracle BPM 11g.
    The business process involves request for approval for a permit from a public user and internal users need to approve/reject the same. Pretty simple and straightforward so far.
    But we are now having lots of questions wrt to user interface.
    1. Work Space Changes.
    If we develop this application completely in Oracle BPM, the outside user (general public) will also see the 'workspace' with its current interface. It would be impossible to handle user training on this interface for a simple Joe Bloe, who may not be computer savvy) So the requirement documents demand that the look and feel of the outside users should be totally different than what the workspace provides. They want this to be customized in such a way that iit would strip all of the default lay out (left navigation bar, and get rid of the upper section completely. with its list of tabs) and also to modify the task list that appears below).
    We have figured out how to achieve this (by modifying the workspace .jar files and recompiling the same), but is this a good approach? What happens if we are developing a brand new application on the BPM in our shop? This change will affect that application as well, as the workspace is shared and common to all the apps? I want some of you experts to let us know, your thoughts on this. If this is not a recommended practice, what would be best way to achieve what we want using Oracle BPM? (Where we want a simple intuitive user interface, without the default add ons that comes with the work space)...
    2. What would be the best method to create a user registration page (where a user creates his own login and password and maintains his account) for an application using the BPM ? Right now we are thinking this should be in either a ADF page/ JSP page or (worst case a PL SQL cartridge) that can be launched on the browser, which will be open and does not require any kind of authentication to access. Is this a good practice or recommended one? Or are we missing out on something within BPM application itself, that we are not aware of and that would let us do this?
    3. Also, if we go with an external ADF application for the 'public' user interface developement, then how can we (or can we) leverage the BPM's internal storage for the submitted data from the payload? I understand that it stores this information currently on the server 'soa infra' tables some where? Thru an external ADF app, can we write into these tables (Is this recommended or just sounds plain ridiculous)???
    Knowing answers to these questions will help us decide, if this is the right tool for the job at hand.
    Appreciate your time and xpertise.
    Thanks
    SR

Maybe you are looking for