Using team assignment pool with milestone tasks

Hello,
Can someone explain to me why the team assignment pool functionality is only available for tasks with non-zero durations?  In other words, any milestone task cannot be self-assigned using this feature.  When one attempts to do so, the "One
or more of the specified tasks could not be re-assigned ..." error is observed and the self-assignment is not processed. 
However adding a duration of 1 minute to the task solves the problem and the functionality works perfectly. 
Is there any reason for this restriction?  In practice it is often useful to allow team members to update milestone dates.  In fact, the ability to do so is available without issue if the assignment is performed via MS Project Pro rather then as
a team assignment in PWA.
Is this a bug, or is there a grand design behind it?
Thanks,
Boris

Hi Boris,
We are just non-microsoft volunteers here on those Project forums thus have to clear asnwer for your question.
That being said, a milestone should not represent an activity resources are working on. Moreover they have a 0 duration, thus they don't trigger any work. Reporting on itmes that don't work, neither progress does'nt make sense in my point of view. A milestone
is a only the result of an activity, like a deliverable. 
Finally, the project manager is accountable for updating milestones since he'll be reporting to his board on those milestones he owns (and not the team member). I'd said that team member will send the task progress to the project manager with eventually
the remaining work, which will update the milestones dates in case the PM approves. In my opinion, this should be done that way. 
Hope this helps,
Guillaume Rouyre, MBA, MCP, MCTS |

Similar Messages

  • Opportunity Team Assignment Rule and Automated Task Owner

    Hi,
    We have a requirement that when an Opportunity is created, the Opportunity Team assigned will be based on the Owner of the record. We created a "test" assignment rule wherein the:
    * Team Assignment: (Example) John Locke (Manager), Jack Shephard (Coordinator)
    * Rule criteria: Opportunity Owner First Name = Sawyer, Opportunity Owner Last Name = Ford (Question 1: I can't find Owner id field from the list... that would have been better..)
    This works when the Reassign Opportunity checkbox is ticked during record creation and I needed to refresh the record to see the added users in the Team. (Question 2: Is that how it really works? Also, the users added in the Team does not have an Opportunity Role assigned... This field is important to my requirement..)
    We have 3 Opportunity Team Opportunity Roles: Manager, Coordinator, Sales Rep. We also have a Sales Process based on the Opportunity Type wherein each Sales Stage has automated tasks for it. We assigned the "Opportunity Team Role - Coordinator" as the Owner of the tasks.
    This part does not work because when you create the opportunity record, the user in the Team is only the Owner (creator of the record = Sawyer Ford)m which is also assigned as the Owner of the Activities created based on Sales Stage. What should happen is that the Owner of the Activities should be "Jack Shephard" (Coordinator from the assignment rule).
    Question 3: How can I assign Opportunity Team Role in the assignment rules?
    Question 4: It seems like the Sales Stage fires first (which creates the automated tasks) before the assignment rule fires....
    Help please...
    Thanks in advance,
    Jasmin

    Hi Abhijit,
    Indeed as you stated, the team assignment can only be self-assigned. Meaning that a manager cannot assign a team assignment to another member. Customizing this feature could be quite complex and time/money consuming. If you decide to go that way, then it
    is out of my knowledge.
    Using the "reassign task" feature will not help because once reassigned, the manager will not be able to change the assignment again for another resource.
    I'd rather suggest to put in place a process together with the project manager who is actually managing assignments in the project with Project Pro. For example the manager can access the project plan and should only update his resources on assignments but
    not the project itself.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • How to Use Team Foundation Server With SharePoint 2013 For Development

    Hi All,
    As i am new to team foundation server and i want to use team foundation server for our development. Please give me good startup point.

    Hi,
    If you wanted to integrate Team Foundation Server with SharePoint 2013,
    there are two articles for your reference:
    http://dumians.wordpress.com/2013/04/01/integrate-team-foundation-server-with-sharepoint-2013/
    http://nakedalm.com/integrate-sharepoint-2013-with-team-foundation-server-2013/
    By the way, you can also post the question in in Visual Studio Team Foundation Server forums and more experts will assist you.
    Team Foundation Server – General  http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=tfsgeneral
    More information:
    SharePoint Products requirements for Team Foundation Server:
    http://msdn.microsoft.com/en-us/library/hh667648.aspx
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How can I use the Connection Pool with DB2

    Hi All,
    I am facing the problem with the usage for the Connection Pool.
    I want to use DB2 via JNDI lookup.
    But when starting the Weblogic server, Error occured with the following message.
    <Error> <JDBC> <Cannot startup connection pool "MyJDBCPool" Cannot load driver class : com.ibm.db2.jdbc.app.DB2Driver>
    DB2 and Weblogic are on the same machine.
    In case of the use of remote DB2 database, I also encountered the same error.
    Configurations are as follows.
    <JDBCConnectionPool DriverName="com.ibm.db2.jdbc.app.DB2Driver"
    MaxCapacity="10" Name="MyJDBCPool"
    Password="{3DES}gCGsOfD9M6iwOtgL2v/NpA==" Targets="myserver"
    TestConnectionsOnReserve="false" TestTableName="test" URL="jdbc:db2://localhost:6789/yongjoo"/>
    <SNMPAgent Name="mydomain"/>
    <JDBCDataSource JNDIName="acsdb" Name="acsdb" PoolName="MyJDBCPool" Targets="myserver"/>
    Could you please give some information about this problem? I will appreciate your kindness.

    Hi Joe,
    Thanks your help.
    Perhaps It's my fault for Weblogic console's setting.
    After I reset the target server in console, Error message disappeared.
    But, when I call the TestCode, I encountered another error message. The error
    is NameNotFoundException.
    When lookingup the JNDI name, NameNotFoundException errer occured. I tried to
    change my setting and JNDI name, but the results are the same.
    Would you please give me some information about this one more time? I will be
    appreciated for your help.
    Follows are Config.xml
    <JDBCConnectionPool DriverName="com.ibm.db2.jdbc.app.DB2Driver" MaxCapacity="10"
    Name="MyJDBCPool" Password="{3DES}gCGsOfD9M6iwOtgL2v/NpA==" Targets="myserver"
    TestConnectionsOnReserve="false" TestTableName="test"
    URL="jdbc:db2://localhost:6789/yongjoo"/> <SNMPAgent Name="mydomain"/>
    <JDBCDataSource JNDIName="acsdb" Name="acsdb" PoolName="MyJDBCPool"
    Targets="myserver"/>
    and follows are TestCode,
    url = "t3://localhost:7001"; //default URL
    datasource = "jdbc/acsdb";
    Context ctx = null;
    Hashtable p = new Hashtable();
    p.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    p.put(Context.PROVIDER_URL, url);
    try{
    ctx = new InitialContext(p);
    System.err.println("initialContext(p)"+ctx); <-- success
    ds = (DataSource)ctx.lookup("java:comp/env/jdbc/acsdb");
    }catch(NameNotFoundException ne){
    throw new ConnectionException(); .
    }catch(NamingException ne){
    throw new ConnectionException();

  • Can I build an user Interface using a proccess with Human Task?

    Hi,
    I'm building an application, web application, with a several screens. The application just will be used for entering some data and depending on the data entered, some bpel process will be launched.
    I'm thinking about implementing a MVC using a BPEL Process with Human Task. I mean: I'll make everything with bpel process (*including the application*). I would make a bpel process with some human task. This process would be like a Spring Webflow file or similar. Each screen wouldl be a human task but with synchronus nature. Will it be possible? Will it be so complicated? Is it usual?
    Other way would be making a web application to enter data and then launch a proccess that will record the information in the database. That would be the normal way.
    Thank you so much.

    Hello,
    There's a more powerfull solution you may use.
    You can create a View. Some Views can be updatable (it means that it's possible to update
    the Table from the View) and, you can add constraints (Primay Key) on a View.
    For instance:
    CREATE OR REPLACE VIEW {color:red}User2.view_name{color}
    ({color:red}col1{color}, {color:red}col2{color}
    UNIQUE RELY DISABLE NOVALIDATE,
    CONSTRAINT {color:red}pk_view{color}
    PRIMARY KEY {color:red}col1{color}) RELY DISABLE NOVALIDATE
    ) AS
    SELECT {color:red}col1{color},{color:red}col2{color} FROM {color:red}User1.Table1{color};This example is from the link bellow:
    [http://www.psoug.org/reference/views.html]
    Hope it can help.
    Best regards,
    Jean-Valentin

  • Analysis service cubes - Utilisation report, how to extract resource, team assignment information

    Hi,
    I am using Excel 2013 and attached an external data source from analysis services OLAP cube that Project Server 2013 builds.
    The cube I am using is portfolio analyser.
    I would like categorise the resources by which team they are part of firstly, i.e. Project Management, Technical Services, Delivery
    I have created a PowerPivot table and would like group each user by team and then by resource name, capacity, work and availability. Time across the top, so I can see this for Year, month, and weekly utilisation.
    How can I get the team that each is resource is assigned from this cube?
    Thanks. 

    Hi Guillaume,
    I think the field I require is listed in the Enterprise Custom Fields and Lookup Tables section of PWA, however I believe it was a default field that came pre-configured OOB after install. The exact field I require is located if you go to; PWA Settings
    > Security >Manage Users > Select User> Team Details > Team Name.
    As you can see by the description next team name, there are instructions advising on how to populate the team names for your organisation. So it was a pre-configured field. 
    Team Details    
    Team Details are optional and are used to define team membership and the team resource that represents a team. Before you set these options use "Server Settings"/"Enterprise Custom Fields and Lookup Tables" to create a lookup table that
    contains your team names, and edit the "Team Name" resource custom field to use this lookup table.
    Team Name is used to indicate team membership - each resource in a team will have the same value for Team Name. 
    The Team Assignment Pool check box is selected for the team resource, used when assigning tasks to the team. Often a generic resource will be used with the assignment owner field set as the team manager.
    So I have entered in all my appropriate organisation team names in the Lookup Table for Custom Field; Team.
    I have assigned each resource to one of the team names.
    Now I would like to create a PowerPivot Table and incorporate the resource team to be able to create a utilisation report based on each team within my organisation.
    After receiving the link from you above I have gone to central admin > Service Application > Project Server Service Application > OLAP Database Management > Configuration of Cube > Cube Dimensions > Resource >
    I have added "Team_Resource" to the selected dimension list. Then I completed a "Build Now".
    When I go back to my PowerPivot Excel sheet and refresh data I am able to see the new field however, it is not the field that I need.
    Can you confirm which field I would need to add?
    Is this field a multi field?
    Appreciate your assistance.
    Thanks

  • Trying to use the Tour 9630 with Outlook 2003 Calendar, Memo/Notes & Tasks. Can't Config & Complete....

    I would like to use my Outlook 2003 with my Blackberry Tour 9630 to use the Calendar, Memo & Task features instead of entering everything on the BB. I use my Outlook Express 6 for my email input and output. The Outlook 2003 is not connected to the internet for use but on my computer as a free standing application. Everytime I attempt to config the Desktop with Calendar, Memo & Tasks I get a "Option Values is unacceptable. Pls check options properties". I do pick MS Outlook as the application to connect but continuely get that message above when I am at the end of the config process at selecting NEXT. I would like to use Outlook 2003 if it is ok to use and connect. Or is there any other application that I can easily purchase for an easier connect and config too. Pls assist me. Ed

    Hello BklynBoy273 and welcome to the BlackBerry Support Community Forums.
    Have you entered any information into Outlook yet? 
    The BlackBerry communicates with the Outlook data folder, called a pst.
    KB02362 may offer you some help trying to get the sync configured.
    Let me know how you make out.
    Thanks! And have a great day
    -HMthePirate
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Include Phase for Phase with role task assignment in cProjects

    Hi,
    When I include a Phase with different tasks and the tasks with Role assignment in to a project,  the task-role assignment is not gettting copied.
    But when I use a Project template with the same Phase-task-Role task assignments, every thing is getting copied. But for Include phase the task-role assignments are not getting copied.
    Can anybody help me how to achieve this functionality?
    Thanks and regards,
    Jashua

    Hi Matthias,
    Thank you very much for your reply.
    Here I have a question.  Because the method ''SET_DEFAULTS_UPON_COPYING'  of the class 'CL_DPR_TASK' is being called in the both cases Create project from template and include a phase in to an existing project.  So, if I implement the BAdI method I think it would effect both the times.  wouldn't it create the role task assignments twice at the time of project creation.
    Also please give me some more details about creating the role-task assignments in this BAdI.
    Thanks and regards,
    Jashua
    Edited by: Jashua Andra on Jan 4, 2012 12:42 PM

  • I have a private Adobe ID and I have a Lightroom Testversion running there! Now my university gave me access to Creative Cloud for Teams and I want to use my Lightroom catalogues with this ID! How can I do this?

    I have a private Adobe ID and I have a Lightroom Testversion running there! Now my university gave me access to Creative Cloud for Teams and I want to use my Lightroom catalogues with this ID! How can I do this?

    Hi,
    thank you, it’s done! The Chat helped me! Now I cannot go into this forum anymore with my old password, but that’s not a big problem.
    Best wishes,
    Christian
    Von: JimHess <[email protected]<mailto:[email protected]>>
    Antworten an: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Datum: Montag, 20. April 2015 18:38
    An: Christian Kogler <[email protected]<mailto:[email protected]>>
    Betreff:  I have a private Adobe ID and I have a Lightroom Testversion running there! Now my university gave me access to Creative Cloud for Teams and I want to use my Lightroom catalogues with this ID! How can I do this?
    I have a private Adobe ID and I have a Lightroom Testversion running there! Now my university gave me access to Creative Cloud for Teams and I want to use my Lightroom catalogues with this ID! How can I do this?
    created by JimHess<https://forums.adobe.com/people/JimHess> in Photoshop Lightroom - View the full discussion<https://forums.adobe.com/message/7454915#7454915>

  • Task 0085 for parallel SID assignment terminated with errors

    Hi,
    While activating the ODS object we are getting the following error
    Task 0085 for parallel SID assignment terminated with errors
    Can anyone help me on this issue.
    Thanks
    Sheela Datla

    Hi Sheela,
    Does the problem happen with activating the ODS object (definition) itself or with activating the data in the
    ODS? I think that there must be other errors apart from Task 0085. At the time of the error you should check in
    sm21 and st22 for additional error messages and dumps. If the problem is with the activation of data in the ODS
    you should also check sm37 for the job that is created for the ODS activation , you may find more detailed
    information in the job log. You should also check the activation step in the 'Details' TAB in the monitor for
    the load there may also be more detailed information here.
    In transaction rscusta2 (ODS customizing) you should try the following setting for the activation:
    No. of Par. Proc.    3          
    Min. No. Data Recs.  10000     
    Wait Time in Sec.      600
    Before changing the values you have in RSCUSTA2 please take note of the values you have already in
    case you want to change them back.
    Best Regards,
    Des.

  • I am trying to find out how to assign files with particular extensions to the appropriate software. At the moment when I create a file using Word it is apparently given the extension .docx but Word doesn't recognise its own files. How do I alocate th

    I am trying to find out how to assign files with particular extensions to the appropriate software. At the moment when I create a file using Word it is apparently given the extension .docx but Word doesn't recognise its own files. How do I allocate the extension .docx to Word? There used to be a way of doing it, I think under "Preferences" but I can't seem to find it.

    Still in the same location:
    File > Get Info > Open with (select) > Change All (button)

  • How to create a Pooled VDI infrastructure using Win server 2012 as VM image?I have followed the "usual" way to build a pooled VDI desktop using Win7 or Win8 with success, but it fails when I use an image of Win Server 2012 as VM

    I have followed the "usual" way to build a pooled VDI desktop using Win7 or Win8 with success, but it fails when I use an image of Win Server 2012 as VM instead.
    Am I overlooking something?  Should I need to prepare the image in a different way? (Sysprep differently?)
    Thanks

    Hi,
    Thank you for your posting in Windows Server Forum.
    Can you specify the error which you are facing during VDI setup for server 2012?
    I might think that you need to check the memory setting for server 2012, as might happens that due to less memory you can’t setup the VDI setup properly. 
    Memory: If the Master VM is configured with static memory, it must have at least 1024 MB as startup RAM. If the Master VM is configured with dynamic memory, the maximum RAM must be at least 1024 MB.
    Please check beneath article for information.
    Windows
    Server 2012 2,500-user pooled VDI deployment guide (Doc)
    Single Image Management for Virtual Desktop Collections in Windows Server 2012
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Strange behaviour when using connection pooling with proxy authentication

    All
    I have developed an ASP.NET 1.1 Web application that uses ODP.NET 9.2.0.4 accessing Oracle Database 8i (which is to be upgraded to 10g in the coming months). I have enabled connection pooling and implemented proxy authentication.
    I am observing a strange behaviour in the live environment. If two users (User 1 and User 2) are executing SQL statements at the same time (concurrent threads in IIS), the following is occurring:
    * User 1 opens a new connection, executes a SELECT statement, and closes this connection. The audit log, which uses the USER function, shows User 1 executed this statement.
    * User 2 opens the same connection (before it is released to the connection pool?), excutes an INSERT statement, and closes this connection. The audit log shows User 1, not User 2, executed this statement.
    Is this a known issue when using connection pooling with proxy authentication? I appreciate your help.
    Regards,
    Chris

    Hi Chris,
    I tried to reproduce your complaint, but was unable to. I didnt use auditting however, just a series of "select user from dual" with proxy authentication. You might want to see if you can put together a small complete testcase for this and open a sr with support.
    Cheers
    Greg

  • Workaround for using Oracle JDBC extension with WLS pooling

    Reading the newsgroup I saw that many of us encountered the problems
    with ClassCastException when tried to use Oracle JDBC extension
    with WLS pooling. I also had.
    In this case BEA recommends to use dangerous
    method getVendorConnection() which exposes
    the physical connection object to your code.
    Yes it's really dangerous because of unsafe usage may breaks
    WLS pooled connection(s).
    Moreover, this practice will make your JDBC code
    unportable (your JDBC code in addition to Oracle dependence
    became Weblogic dependent):
    void doSmth() {
    Connection con = ...;
    Connection vCon = ((WLConnection)con).getVendorConnection();
    // + mess of usage con in one places and vCon in others
    // (where Oracle extensions are needed)
    // !Don't forget to don't close vCon!
    Sux.
    I found the workaround.
    Introduction
    ============
    Yes the real cause of ClassCastException is that
    in depth of Oracle driver the casting
    to class oracle.jdbc.driver.OracleConnection
    (not to interface oracle.jdbc.OracleConnection)
    is performed.
    Someone can say that this is bug or pure desing.
    Weblogic pooled connection provide dynamic
    implementation for all public interfaces
    which real physical (wrapped) connection object implements.
    Great feature!
    But I guess that all interface methods implemented
    by simple call-delegation to physical (wrapped) connection object.
    In case of oracle.jdbc.OracleConnection interface
    this approach doesn't work for at least one its method:
    public OracleConnection unwrap()
    WLS pooled connection shoudn't implement this method by
    delegation to physical connection object BUT should
    return physical connection object itself!
    // Wrong implementation of unwrap()
    // delegation is used
    public OracleConnection unwrap() {
    return physicalConnection.unwrap();
    // Right implementation of unwrap()
    // physical connection returned
    public OracleConnection unwrap() {
    return physicalConnection;
    Workaround
    ==========
    1. Develop your own OracleConnection wrapper class:
    import oracle.jdbc.OracleConnection;
    import weblogic.jdbc.extensions.WLConnection;
    public class MyOracleConnectionImpl implements OracleConnection {
    private OracleConnection con;
    public MyOracleConnectionImpl(OracleConnection connection)
    throws SQLException
    this.con = connection;
    public OracleConnection unwrap() {
    return (OracleConnection)
    ((WLConnection)con).getVendorConnection();
    /* Implement all other methods by delegation to con object */
    2. Don't get Connections directly from DataSource --
    develop your own simple (may be static) utility
    class which retrives Connections from dataSource
    and returns them wrapped into your MyOracleConnectionImpl
    to your code from some method:
    puclic abstract class MyConnectionSource {
    public static Connection getConnection() {
    Connection con = // get it from DataSource
    return new MyOracleConnectionImpl((OracleConnection)con);
    3. Add attribute RemoveInfectedConnectionsEnabled="false"
    to definition of your JDBCConnectionPool within config.xml
    You may do it because of you `safely` use vendorConnection --
    you don't expose it to application code.
    4. Enjoy the Oracle JDBC extensions in your code!
    Example:
    Connection con = MyConnectionSource.getConnection;
    ArrayDescriptor add =
    ArrayDescriptor.createDescriptor("your_type", con);
    Hope it helps to someone.
    Best regards,
    Eugene Voytitsky

    Hello Eugene Voytitsky,
    Thanks Eugene Voytitsky for your idea
    I have tried the solution suggested by You, but it did not work.
    It still throws ClassCastException.
    I am sorry for posting the whole code of two classes below.
    I did this to give you more clarity.
    I am also indicating the place where the exception was thrown..
    Please let me know if I am doing something wrong.
    OracleConnection Wrapper class
    package ejbTesting;
    // sql imports
    import java.sql.CallableStatement;
    import java.sql.Connection;
    import java.sql.DatabaseMetaData;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    import java.sql.SQLWarning;
    import java.sql.Statement;
    // util imports
    import java.util.Map;
    import java.util.Properties;
    // imports from Oracle Driver Classes
    import oracle.jdbc.OracleConnection;
    import oracle.jdbc.OracleOCIFailover;
    import oracle.jdbc.OracleSavepoint;
    // import from Weblogic extensions
    import weblogic.jdbc.extensions.WLConnection;
    public class WeblogicConnectionWrapper implements OracleConnection
         // oracle connection object
         private OracleConnection connection;
         public WeblogicConnectionWrapper (OracleConnection orclConnection)
              try
                   this.connection = orclConnection;
              catch(Exception unexpected )
                   unexpected.printStackTrace();
         public OracleConnection unwrap()
              try
              // The datasource returns a weblogic.jdbc.pool.Connection
              // This needs to be type casted to weblogic.jdbc.extensions.WLConnection
              // Only this weblogic.jdbc.extensions.WLConnection CAN BE type casted
              // to OracleConnection
         return (OracleConnection) ((WLConnection) connection).getVendorConnection();
         catch(Exception sqlException )
              sqlException.printStackTrace ();
              return null;
         /* Implement all other methods by delegation to connection object */      
    public Connection _getPC()
    return connection._getPC();
    public void archive(int i, int j, String s)
    throws SQLException
    connection.archive(i, j, s);
    public void assertComplete()
    throws SQLException
    connection.assertComplete();
    public void clearWarnings()
    throws SQLException
    connection.clearWarnings();
    public void close()
    throws SQLException
    connection.close();
    public void commit()
    throws SQLException
    connection.commit();
    public Statement createStatement()
    throws SQLException
    return connection.createStatement();
    public Statement createStatement(int i, int j)
    throws SQLException
    return connection.createStatement(i, j);
    public boolean getAutoClose()
    throws SQLException
    return connection.getAutoClose();
    public boolean getAutoCommit()
    throws SQLException
    return connection.getAutoCommit();
    public CallableStatement getCallWithKey(String s)
    throws SQLException
    return connection.getCallWithKey(s);
    public String getCatalog()
    throws SQLException
    return connection.getCatalog();
    public boolean getCreateStatementAsRefCursor()
    return connection.getCreateStatementAsRefCursor();
    public int getDefaultExecuteBatch()
    return connection.getDefaultExecuteBatch();
    public int getDefaultRowPrefetch()
    return connection.getDefaultRowPrefetch();
    public Object getDescriptor(String s)
    return connection.getDescriptor(s);
    public boolean getExplicitCachingEnabled()
    throws SQLException
    return connection.getExplicitCachingEnabled();
    public boolean getImplicitCachingEnabled()
    throws SQLException
    return connection.getImplicitCachingEnabled();
    public boolean getIncludeSynonyms()
    return connection.getIncludeSynonyms();
    public Object getJavaObject(String s)
    throws SQLException
    return connection.getJavaObject(s);
    public DatabaseMetaData getMetaData()
    throws SQLException
    return connection.getMetaData();
    public Properties getProperties()
    return connection.getProperties();
    public boolean getRemarksReporting()
    return connection.getRemarksReporting();
    public boolean getRestrictGetTables()
    return connection.getRestrictGetTables();
    public String getSQLType(Object obj)
    throws SQLException
    return connection.getSQLType(obj);
    public String getSessionTimeZone()
    return connection.getSessionTimeZone();
    public int getStatementCacheSize()
    throws SQLException
    return connection.getStatementCacheSize();
    public PreparedStatement getStatementWithKey(String s)
    throws SQLException
    return connection.getStatementWithKey(s);
    public int getStmtCacheSize()
    return connection.getStmtCacheSize();
    public short getStructAttrCsId()
    throws SQLException
    return connection.getStructAttrCsId();
    public boolean getSynchronousMode()
    return connection.getSynchronousMode();
    public int getTransactionIsolation()
    throws SQLException
    return connection.getTransactionIsolation();
    public Map getTypeMap()
    throws SQLException
    return connection.getTypeMap();
    public String getUserName()
    throws SQLException
    return connection.getUserName();
    public boolean getUsingXAFlag()
    return connection.getUsingXAFlag();
    public SQLWarning getWarnings()
    throws SQLException
    return connection.getWarnings();
    public boolean getXAErrorFlag()
    return connection.getXAErrorFlag();
    public boolean isClosed()
    throws SQLException
    return connection.isClosed();
    public boolean isLogicalConnection()
    return connection.isLogicalConnection();
    public boolean isReadOnly()
    throws SQLException
    return connection.isReadOnly();
    public String nativeSQL(String s)
    throws SQLException
    return connection.nativeSQL(s);
    public Object openJoltConnection(String s, short word0, short word1)
    return connection.openJoltConnection(s, word0, word1);
    public void oracleReleaseSavepoint(OracleSavepoint oraclesavepoint)
    throws SQLException
    connection.oracleReleaseSavepoint(oraclesavepoint);
    public void oracleRollback(OracleSavepoint oraclesavepoint)
    throws SQLException
    connection.oracleRollback(oraclesavepoint);
    public OracleSavepoint oracleSetSavepoint()
    throws SQLException
    return connection.oracleSetSavepoint();
    public OracleSavepoint oracleSetSavepoint(String s)
    throws SQLException
    return connection.oracleSetSavepoint(s);
    public int pingDatabase(int i)
    throws SQLException
    return connection.pingDatabase(i);
    public CallableStatement prepareCall(String s)
    throws SQLException
    return connection.prepareCall(s);
    public CallableStatement prepareCall(String s, int i, int j)
    throws SQLException
    return connection.prepareCall(s, i, j);
    public CallableStatement prepareCallWithKey(String s)
    throws SQLException
    return connection.prepareCallWithKey(s);
    public PreparedStatement prepareStatement(String s)
    throws SQLException
    return connection.prepareStatement(s);
    public PreparedStatement prepareStatement(String s, int i, int j)
    throws SQLException
    return connection.prepareStatement(s, i, j);
    public PreparedStatement prepareStatementWithKey(String s)
    throws SQLException
    return connection.prepareStatementWithKey(s);
    public void purgeExplicitCache()
    throws SQLException
    connection.purgeExplicitCache();
    public void purgeImplicitCache()
    throws SQLException
    connection.purgeImplicitCache();
    public void putDescriptor(String s, Object obj)
    throws SQLException
    connection.putDescriptor(s, obj);
    public void registerApiDescription(String s, short word0, short word1, String
    s1)
    connection.registerApiDescription(s, word0, word1, s1);
    public void registerSQLType(String s, Class class1)
    throws SQLException
    connection.registerSQLType(s, class1);
    public void registerSQLType(String s, String s1)
    throws SQLException
    connection.registerSQLType(s, s1);
    public void registerTAFCallback(OracleOCIFailover oracleocifailover, Object
    obj)
    throws SQLException
    connection.registerTAFCallback(oracleocifailover, obj);
    public void rollback()
    throws SQLException
    connection.rollback();
    public void setAutoClose(boolean flag)
    throws SQLException
    connection.setAutoClose(flag);
    public void setAutoCommit(boolean flag)
    throws SQLException
    connection.setAutoCommit(flag);
    public void setCatalog(String s)
    throws SQLException
    connection.setCatalog(s);
    public void setCreateStatementAsRefCursor(boolean flag)
    connection.setCreateStatementAsRefCursor(flag);
    public void setDefaultExecuteBatch(int i)
    throws SQLException
    connection.setDefaultExecuteBatch(i);
    public void setDefaultRowPrefetch(int i)
    throws SQLException
    connection.setDefaultRowPrefetch(i);
    public void setExplicitCachingEnabled(boolean flag)
    throws SQLException
    connection.setExplicitCachingEnabled(flag);
    public void setImplicitCachingEnabled(boolean flag)
    throws SQLException
    connection.setImplicitCachingEnabled(flag);
    public void setIncludeSynonyms(boolean flag)
    connection.setIncludeSynonyms(flag);
    public void setReadOnly(boolean flag)
    throws SQLException
    connection.setReadOnly(flag);
    public void setRemarksReporting(boolean flag)
    connection.setRemarksReporting(flag);
    public void setRestrictGetTables(boolean flag)
    connection.setRestrictGetTables(flag);
    public void setSessionTimeZone(String s)
    throws SQLException
    connection.setSessionTimeZone(s);
    public void setStatementCacheSize(int i)
    throws SQLException
    connection.setStatementCacheSize(i);
    public void setStmtCacheSize(int i)
    throws SQLException
    connection.setStmtCacheSize(i);
    public void setStmtCacheSize(int i, boolean flag)
    throws SQLException
    connection.setStmtCacheSize(i, flag);
    public void setSynchronousMode(boolean flag)
    connection.setSynchronousMode(flag);
    public void setTransactionIsolation(int i)
    throws SQLException
    connection.setTransactionIsolation(i);
    public void setTypeMap(Map map)
    throws SQLException
    connection.setTypeMap(map);
    public void setUsingXAFlag(boolean flag)
    connection.setUsingXAFlag(flag);
    public void setWrapper(OracleConnection oracleconnection)
    connection.setWrapper(oracleconnection);
    public void setXAErrorFlag(boolean flag)
    connection.setXAErrorFlag(flag);
    public void shutdown(int i)
    throws SQLException
    connection.shutdown(i);
    public void startup(String s, int i)
    throws SQLException
    connection.startup(s, i);
    Util class to get Wrapped Connections from
    datasource
    package ejbTesting;
    // j2ee imports
    import javax.naming.InitialContext;
    import javax.sql.DataSource;
    // sql imports
    import java.sql.Connection;
    // imports from Oracle Driver Classes
    import oracle.jdbc.OracleConnection;
    * Wrapper class for the DataSource Connection from Weblogic pool
    public class DataSourceConnectionWrapper
         // datasource variable
         private static transient DataSource datasource = null;
         private static String dbName = "jdbc/workbench";
    * Method that returns the database connection
         public static Connection getConnection()
              try
                   // initialsing the datasource object
                   initialiseDataSource ();
                   // Getting a connection from the datasource
                   Connection con = datasource.getConnection( );
                   // wrapping it custom wrapper class and
                   // returning the connection object
                   return new WeblogicConnectionWrapper((OracleConnection)con);
              catch(Exception exception )
                   exception.printStackTrace();
                   return null;
         private static void initialiseDataSource( ) throws Exception
    if ( datasource == null )
    try
    InitialContext ic = new InitialContext( );
    datasource = (DataSource) ic.lookup( dbName );
    catch (Exception ne )
    throw new Exception( "NamingException while looking up DataSource with
    JNDI name" +
    dbName + ": \n" + ne.getMessage( ) );
    Exception Stack Trace
    The line 46 in DataSourceConnectionWrapper
    corresponds to
    return new WeblogicConnectionWrapper((OracleConnection)con);
    Which I feel is logical as the connection which we get from Weblogic
    datasource cannot be type casted to OracleConnection
    java.lang.ClassCastException: weblogic.jdbc.pool.Connection
    at ejbTesting.DataSourceConnectionWrapper.getConnection(DataSourceConnectionWrapper.java:46)

  • How to use connection pool with RDBMSRealm

    I am having a problem with the RDBMSRealm. The problem is that the connection defined in the .realm_properties file times out after 1 hour. My solution was to use the connection pool defined in the weblogic.properties file, but the realm_proprties are read before the connection pool is created so it did'nt work.Is there anyway of controling the order of which WLS reads various properties?If no, is there any way of setting "autorefresh" on the connection defined in the .realm_properties file?I'am using WLS 5.1, S.P 8, WIN2000 and Sybase. It works fine except for the timeout.Please help-Marius

    I've been struggling to find a way to use a weblogic connection
    pool or datasource nicely, and have failed with whatever I've tried.
    There is a chicken and egg problem here. The connection pool needs
    security to initialize itself, and security needs a connection
    pool. So that will not work.
    I've tried the follwing, which almost worked. Weblogic falls
    back to the default realm if your custom realm returns null for
    any user or group requests. So if your custom realm is not capable
    of reading info from the database, return null. The default realm
    will take over, and allow the connection pool to initialize if
    you allow everybody (or users defined in the weblogic.properties
    file) access to the pool. Then define a datasource which points
    to the pool.
    After the server starts, security can then use JNDI to look up
    the datasource, and all seems well. However, in some instances
    (it seems like calls for a bean), where security and jndi can get
    into infinite loops where jndi performs a security check when doing
    the lookup, so they both end up asking each other for information.
    So if anyone knows how to successfully use a connection pool or
    DataSource in a custom realm, I would love to know how.
    For you, I would suggest you don't try and use a connection pool,
    but figure out how to refresh your connection. You can do it manually
    by taking your connection, checking if it's valid before using
    it, if not, then open a new one.
    -d-
    Marius <[email protected]> wrote:
    I am having a problem with the RDBMSRealm. The problem
    is that the connection defined in the .realm_properties
    file times out after 1 hour. My solution was to use the
    connection pool defined in the weblogic.properties file,
    but the realm_proprties are read before the connection
    pool is created so it did'nt work.Is there anyway of
    controling the order of which WLS reads various properties?If
    no, is there any way of setting "autorefresh" on the
    connection defined in the .realm_properties file?I'am
    using WLS 5.1, S.P 8, WIN2000 and Sybase. It works fine
    except for the timeout.Please help-Marius

Maybe you are looking for

  • How can i have someone elses music in my ITUNES - HELP!!!!!

    I have someone elses library in my itunes. So much that it asks me for the password to sign into her yahoo account. I still have my own personal library but how can i have another person who i don't even know?!?!!

  • Letters of Credit

    In R11i what is the solution for issuing and tracking the subsequent presentation of LOC`s issued to suppliers?

  • Explorer 8 & PDF

    I am using Windows XP with Explorer 8.  I get a run time error when trying to read PDF files! Is there a fix for Exploader 8?  I have no problem with Firefox reading PDF files.

  • Report TNS time out errors in EM

    TNS 12535 timeouts. they appear in the alert log. Is there a way to get them captured in the EM/Grid control? oel 11.2.0.2 em11

  • Classpath, how to know what's in it?

    Hi, I installed an XML parser package and set the class path to this package but it is not running. Is there a command to know what the classpath is holding? Thanx