ER:  Connections in project/workspace scope instead of global

I would like to point out a problem which could be fixed in the next release of JDeveloper.
I think it should be possible to define connection (application server and database) at the project level. That would ease team based development.
We have had problems in my team with this. I am responsible for the deployment of our project (ADF-Swing, backend deployed as EJB's on Oracle Application Server). I have to make sure every team member has defined a connection to the application server which has the same name as I have, and also make sure that if I change the attributes of the connection (new oc4j instance, new RMI port/user/password ....) everybody does the same change.
If these connections were defined and stored in the jpr project file (or maybe in the jws workspace file) I could simply commit these changes in CVS and other team members would pick that up.
Another issue could be solved by this:
I have a few projects I am working on and each of them requires different set of connections (e.g. seperate database users). When I deploy my ADF projects the file connections.xml is generated in the classes folder and is deployed along with my business components. This file contains connection information for all the connections I have defined in JDeveloper, not only the ones relevant for this project. This I would consider a security risk.
Hopefully this will be addressed in a (near) future version or someone can point out a way to do this in the current version (10.1.3).

Thanks Andreas,
I did the same way. But my doubt is All the user login will be in different session, I mean, Whether the vairable used to store the user name will be in different session to each Oracle Forms user, it wont overwrite one user name with the next login user name.
-- Copied from you old message:
<<On the forms-side after the login, call PK_USER.PR_SET_USER(THE_USER_TAKEN_FROM_SOMEWHERE);
In your db-triggers where you actually use something like USER, use PK_USER.FK_GET_USER instead>>
Thanks
Rizly

Similar Messages

  • SSAS loses connection to local workspace

    I seem to be running into this quite regularly these days. I'm editing an SSAS tabular model, filtering data in the views in VS 2012 to verify that calculations are working, and I get this:
    The result is that any work you've done since you last saved is lost, because you won't be able to save. It's really getting quite frustrating.
    I did find a post online that went over how you could recover your work from your local workspace SSAS install by reverse engineering/scripting the cube out of it, but that's really not an option in my case since I'm using source control and can't dump my
    project history every time this happens (and it happens multiple times a day now).
    Does anyone know of a workaround for this issue before I open a support incident? Thanks.
    Edit: Seems that screenshots don't get persisted to the messages in MSDN forums anymore. Here's the text of what would have been in the screenshot:
    "cannot complete the operation because there is no connection to the workspace database that contains the model currently being edited"
    Specific steps to re-create. Filter any column in the tabular designer, and when you go to clear the filter if you hit clear before the list of available values populates in the box below, it'll lose connection to the workspace server, and everything will
    be lost. Any attempt to save will result in:
    "Unable to save the file Model.bim. Reason: The file cannot be saved because it is marked as readonly"
    Some posted elsewhere about getting past this issue by un-setting the Model.bim file as read-only, or unsetting the entire project directory and it's contents as read-only,  but that has not worked on any workstation I have ran into this problem with.
    I suspect this is only one of several ways to cause the issue - I know about this one, I try and avoid it, and I still run into problems occasionally.

    Hi K Dahl,
    According to your decsription, you can't save the bim file and it throw the above error. Right?
    In Analysis Services Tabular mode, this error occurs if the tabular designer has lost the connection to the workspace database server at some point during the editing session. However, there is a way to recover the work you did since the last save of the
    model. Please refer to a blog below:
    Recovering your model when you can’t save the BIM file
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
    TechNet Community Support

  • Regenerating an IMG project's scope

    Hi All,
    is is possible to regenerate an IMG project's scope. It doesn't tell me I can't but after trying I get a popup saying "Generate the Project IMG or Customizing view in Project Management" when I try to open up the IMG project in SPRO.
    regards,
    Jason

    Hi jason,
    After ur satellite system has been connected to solution manager u can Generate an IMG Project and an IMG View from Solution manager - T code -SOLAR_PROJECT_ADMIN    under system lasndscape tab and IMG projects ,once the IMG is genereated u can then view this in ur satellite system
    regard
    Praveen

  • When I login to Horizon View, it shows me the list of desktops to connect to. If I'm entitled to only one desktop then can View auto connect me to that desktop instead of me clicking on Connect?

    When I login to Horizon View, it shows me the list of desktops to connect to. If I'm entitled to only one desktop then can View auto connect me to that desktop instead of me clicking on Connect.

    Yes you certainly can.
    Right click any desktop in the list > Settings > in the left pane select the desktop you want to auto connect to > check "Auto connect to this desktop".

  • Error While creating new database connection from HFM workspace

    Hi,
    We have recently installed HFM and was trying to create database connection from database connection manager in HFM workspace.
    I am getting below error:
    "Error connecting to database connection : no HssJNIDriver950 in java.library.path" initially and later
    "Error connecting to database connection : com/hyperion/ap/adm/HssConn".
    Any information in this direction would helpful.
    Thanks,
    Bhargav
    Edited by: bhargavr on Jan 24, 2011 6:55 PM

    Hi bhargavr,
    We came accross the same issue. Try the following solution below for this 'KNOWN ISSUE' and let me know how you get on. Drop me a note if you have any questions regarding this post.
    Error: *"Error connecting to database connection: com/hyperion/ap/adm/HssConn" While Creating a Financial Management Database Connection* [ID 1102697.1]
    Modified 04-JAN-2011 Type PROBLEM Status PUBLISHED
    Applies to:
    Hyperion BI+ - Version: 11.1.2.0.00 and later [Release: 11.1 and later ]
    Microsoft Windows x64 (64-bit)
    Symptoms:
    You are running the Financial Reporting Web Server on a 64-bit server.
    When you try to create a new Financial Management (HFM) database connection using the Database Connection Manager in Workspace you receive the following message:
    “Error connecting to database connection <connection_name>: com/hyperion/ap/adm/HssConn”
    You can create a database connection in Financial Reporting Studio. When you refresh a report with a Financial Management database connection, you receive one of the following messages:
    “1001: Error connecting to database connection <DATABASE_CONNECTION_NAME>: com/hyperion/ap/adm/HssConn”
    or
    “1001: Error connecting to database connection <DATABASE_CONNECTION_NAME>: no HssJNIDriver950 in java.library.path”
    Cause:
    The issue is documented in unpublished bug 9537050, and in Known Issues in the 11.1.2 Reporting and Analysis Readme. Cross-reference unpublished bug 9707353.
    Solution:
    In the Windows registry, take the following steps:
    Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\HyperionSolutions\FinancialReporting0\HyS9FRReports.
    For each of the following entries, prefix the contents with text in the blue box: Env2, JVMOption13, and JVMOption17 (note that the JVMOption numbers might be slightly different in your environment).
    C:\Oracle\Middleware\EPMSystem11R1\common\ADM\11.1.2.0\bin-64
    If your EPM_ORACLE_HOME is not located at C:\Oracle\Middleware\EPMSystem11R1, replace that location with your location.
    Restart the server.
    G'Luck,
    -David

  • How to save open files in different projects/workspaces?

    Is it possible at all to have Dreamweaver save different sets of open files in different projects/workspaces like every other IDE out there?
    I can't imagine every web developer is working on ONE project at a time and doesn't feel the need to switch to another one and have his last open files restored from that specific project..
    Am I missing something?

    Very wrong
    I am talking about saving different sessions of open files automatically (and assign them to user-defined projects that may or may not contain several sites or just one site).

  • How to connect Template project and Implementation project

    Hi Experts,
         I would like to know how to connect Template project and Implementation project
        in Solution maneger.   Please help.
    Best regards,
       Gaito

    Hey Gaito,
    great. Now that you have a template project, you need to create one or more templates within the project template.
    Go to tab Templates (of your Templ Proj) and activate 'Global Rollout Functionnality' to be able to use the templates.
    Create a new template thanks to button create. Visibility will be set to red 'private'. You ll have to set it to visible so it becomes visible from your implementation project.
    You ll see when trying to do that next message 'No scenarios/configuration structures assigned to the template XXXX'. That means that in SOLAR01 you did not define a scenario that ll be used in template you re trying to create
    In order to do that go to SOLAR01 for template project, select/create scenarios in tab structure and set in column template value of your template (the one you re creating in SOLAR_PROJECT_ADMIN) and in Global Attribute set value t Global
    You l definitely find more info on this in sap document SMI310 (course). I don t know if you can find it on internet
    Hope this helps
    Regards
    Khalil

  • Project professional 2013 can not connect to Project Online behind proxy

    Hi,
    I had problem when running application ms project professional 2013 connect to project online behind proxy,
    but we can access url PWA site in browser.
    but when we connect to pass through internet  we can connect project professional 2013 to project online.
    i get article http://technet.microsoft.com/library/hh373144.aspx to open port 443, but we already
    open port 443. 
    anybody  know how to troubleshoot this problem? or other port to open beside port 443.
    thansk for advice.
    regards
    rully

    Hi Ruly,
    Are you still having an issue? Could you share the error details, when you try to connect the MS Project to project online behind proxy?
    Cheers, Badal

  • Cache directory of Project Pro 2013 connected to Project Online

    Hello,
    Where is located the local Cache directory for Project Pro 2013 connected to Project Online ?
    Thanks

    Check here
    HKey_Current_User\Software\Microsoft\Office\15.0\MS Project\Options
    once you will be in Option --> Save --> Cache Location -->Click
    on Browse 
    You can also try form Open MPP --> File --> Option --> Cache location --> Click on Browse 
    kirtesh

  • Cost status report in Project Workspace of Commercial Project Management

    Is it possible to view planned cost of Easy Cost Plan version of a PS Project in Project Workspace (Commercial Project Management)? We have installed only Project Work space and not Project Financial Planning.
    Is there a possibility to link Easy cost plan to master project in CPM? As we have not installed PFP, we cannot configure ' Define Plan scenarios, plan types, version types' under Project Cost and Revenue Planning in SPRO.

    Hi Shanky, 
    I wouldn't think you would be able to use PowerShell as that is more concerned with administration.  However, you could probably use SQL to get at the data - the tables are defined in the SDK - http://www.microsoft.com/en-gb/download/details.aspx?id=30435 
    Ben Howard [MVP] | web |
    blog | book |
    P2O

  • How to connect java project to sql server 2008 r2 database

    i want to create an java application which has to create a database and later access it. My problem is that i am not able to connect sql server 2008 r2 database driver on to the netbeans.i have sql server 2008 r2 installed on my system.please
    suggest me the step by step procedure to establish the connection

    Hi ENG,
    To establish a connection to SQL Server from a Java project, you have to download the JDBC driver for SQL Server from
    here.
    After extracting the jar files(like sqljdbc.jar) from the above link, add the driver to the netbeansIDE.
    Test establishing a connection with the below Java Class.
    import java.sql.*;
    public class Test {
    public static void main(String[] srg) {
    String driverName = "com.microsoft.sqlserver.jdbc.SQLServerDriver"; //load the jdbc driver
    String dbURL = "jdbc:sqlserver://localhost:1433; DatabaseName=test"; //connection string to the db hosted on localhost
    String userName = "sa"; //user name
    String userPwd = "123456"; //password
    Connection dbConn;
    try {
    Class.forName(driverName);
    dbConn = DriverManager.getConnection(dbURL, userName, userPwd);
    System.out.println("Connection Successful!"); //print Connection Successful! if connection establishes
    } catch (Exception e) {
    e.printStackTrace();
    A demonstration video from Youtube for you reference.
    Connect NetBeans Project with Microsoft SQL Server 2008 - YouTube
    Since this is a question regarding Java, I suggest you post your subsequent questions to a java dedicated forum. It is appropriate and more experts will assist you.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • When I merge one project with another, Aperture for some strange reason, randomly scrambles the photos from the project being merged, instead of keeping them in the order they were shot. What can I do to fix this?

    When I merge one project with another, Aperture 3 randomly scrambles the photos of the project being merged, instead of keeping them in the chronological order that I shot them in. What can I do to correct this?

    The photos have just been dumped into a new home and need to be told how to be arranged.  Go to the top left of the browser view for the merged project and select the desired sort order from the drop-down and they'll all sort according to that setting.

  • Captivate 8 - How to change to producing "project.json" file instead of a "project.txt" file?  Having issues with viewing published projects due to this.

    Captivate 8 - How to change to producing "project.json" file instead of a "project.txt" file?  Having issues with viewing published projects due to this.   Would be thankful fo rany/all advice.

    I'm having the same issue. I've been able to work around it by opening the txt file and copying the contents. Then I open a new file in Sublime Text 2, paste the contents and save the new file as "project.json". It seems to work, but it'd been nice if I didn't have to do this everytime I publish a new project.

  • Error when manually adding user to project workspace

    I am currently using Project Server 2010.  I have a requirement for Business Users to have access to the project workspaces in Sharepoint but not be users of the PWA.  Similar to as it is outlined in this Microsoft Documentation (http://technet.microsoft.com/en-us/library/cc197668(v=office.14).aspx) 
    There might be a circumstance where you want to grant people who are not members of the project access to the project workspace site. Anyone assigned to the Web Administrator group can create new users for a project workspace site. In addition to the
    four groups that were mentioned earlier, there are four default SharePoint Server 2010 groups. They are as follows:
    Full Control   Has all personal, site, and list permissions.
    Design   Can edit lists, document libraries, and pages in the Web site.
    Contribute   Can view pages and edit list items and documents.
    Read   Can view pages, list items, and documents.
    I have added the user to the Contributor group but when they try to contribute to the space, ie add documents or an issue/risk, they recieve an error, similar to as is documented in the following article (http://pwmather.wordpress.com/2011/07/11/manually-adding-users-to-project-workspace-project-site-in-projectserver-ps2010-ps2007-epm/) 
    What has been identified in this article makes sense.  I am just wondering why Microsoft documentation states that it can be done.
    Any thoughts?

    Chris,
    The Microsoft article says, users who are not part of the project. It does not say not part of project server. 
    However, as far as I can remember, this scenario could work if the "Synchronization" is turned off between Project Server and Project Sites. I will run a test and confirm, later today.
    Prasanna Adavi,PMP,MCTS,MCITP,MCT TWitter: @prasannaadavi Blog: http://www.prasannaadavi.com

  • Migrating SP 2007 site which is using the template Project Workspace (Id 6215) to SP 2013

    Hi,
    We have our SharePoint 2007 with project server installed on it. It is only one server having all of the components including SQL server and SP 2007. We are planning to migrate one of the site which is using the
    Project Workspace Template(Id 6215)  to the SP 2013 environment using Database
    Attach Method.
    Questions:
    1) Is there any workaround available we can migrate the site to SP 2013 without
    installing project server? 
    2) If there is no other workaround, we may need the justification or supports articles to share with our management.
    Looking forward to hearing from you guys.
    Regards,
    Zulfiqar

    Hi,
    According to your description, my understanding is that the error occurred when you tested the database.
    I recommend to check if the site template exists in the folder located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\1033\XML.
    If yes, then restart the SharePoint machine and run the PowerShell command Test-SPContentDatabase again.
    If not, please re-install the template to see if the issue still occurs.
    If the sites with issue are no longer needed, then you can delete the sites with issue. Or you can
    rename the site template with a standard template id.
    More references:
    http://www.sharepointnadeem.com/2014/01/sharepoint-2013-missingsitedefinition.html
    http://red1s.wordpress.com/2012/08/16/sharepoint-2010-missing-site-definition-error/
    http://sharepointgeorge.com/2009/upgrading-content-db-sharepoint-2010-part-1-preupgradecheck/
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

Maybe you are looking for

  • Subscribing to a page with Firefox Live Bookmarks launches Mac Mail?!

    Can anyone PLEASE help me?! I'm going insane here. I just upgraded to Firefox 3, but the same thing was happening with Firefox 2. Any time I tried to subscribe to a page using Firefox Live Bookmarks (or do anything related to RSS feeds), my mac launc

  • ICal: How do I get iCal to sync with a shared calendar?

    I am working in a small business who are running a Microsoft Exchange Server. All users are using Microsoft Outlook for e-mails and calendars. I want to get iCal on my mac to sync with the shared calendar on the Exchange server which is published in

  • Which is better, The iPhone 4 or iPhone 3GS?

    Hello people. I hope to be getting an iPhone today. I'm just trying to decide which one I will get. The 4 or 3GS? What are your opinions on both models? For some reason, I'd like to get the iPhone 4 because it's the latest model and the 3GS is almost

  • Contract Item Hierarchy

    Hi Expert, I'm working with SRM 7.0 Extended Classic Scenario (EHP3) assigned to backend ECC6. I have question related to enabling item hierarchy in Contract. I have activated Service Procurement in the configuration and all others configuration rela

  • Sync iPad using iCloud

    I've sync my iPad using iCloud and it seems that my contacts hasn't transferred from my iPhone to ipad. Help please