Error using commo mbean server to create custom mbean

When I execute the attached program, I see that I can create an instance of the
DefaultAuthenticator mbean successfully, but the attempt to create an instance
of a custom authenticator mbean results in the following run time exception. Any
idea why? I can configure the custom authenticator using the weblogic.Admin tool
and also from the console without any problem - so that eliminates the possibility
of the custom mbean not created right. Then why not using a java program. I don't
see any documentation on the commo server. Are there supported public APIs to
do this sort of thing from a java class.
thanks,
Jyothi
<Feb 27, 2004 11:00:09 AM PST> <Warning> <RMI> <BEA-080003> <RuntimeException
thrown by rmi server: weblogic.management.internal.RemoteMBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)
javax.management.RuntimeOperationsException: RuntimeException thrown by the invoke
method of the Dynamic MBean.
java.lang.ClassCastException
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1166)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
--------------- nested within: ------------------
javax.management.RuntimeOperationsException: RuntimeException thrown by the invoke
method of the Dynamic MBean
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1559)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
[bea.java]

Forgot to mention that I am using weblogic server 8.1 SP2 on solaris.
Any help is greatly appreciated.
-Jyothi
"Jyothi" <[email protected]> wrote:
>
>
>
When I execute the attached program, I see that I can create an instance
of the
DefaultAuthenticator mbean successfully, but the attempt to create an
instance
of a custom authenticator mbean results in the following run time exception.
Any
idea why? I can configure the custom authenticator using the weblogic.Admin
tool
and also from the console without any problem - so that eliminates the
possibility
of the custom mbean not created right. Then why not using a java program.
I don't
see any documentation on the commo server. Are there supported public
APIs to
do this sort of thing from a java class.
thanks,
Jyothi
<Feb 27, 2004 11:00:09 AM PST> <Warning> <RMI> <BEA-080003> <RuntimeException
thrown by rmi server: weblogic.management.internal.RemoteMBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)
javax.management.RuntimeOperationsException: RuntimeException thrown
by the invoke
method of the Dynamic MBean.
java.lang.ClassCastException
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1166)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
--------------- nested within: ------------------
javax.management.RuntimeOperationsException: RuntimeException thrown
by the invoke
method of the Dynamic MBean
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1559)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

Similar Messages

  • Discussion About The Use Of Project Server 2013 Timesheet Custom Billing Categories (Post SP1 and April 2014 CU Install)

    In support of a consulting company using timesheet custom billing categories to designate project time as billable onsite, billable offsite, and non-billable, I've encountered a series of issues which appear to be associated with the custom billing category
    timesheet lines.  These issues cause timesheet users to get frustrated, and contribute to misalignment between project actuals and timesheet actuals.  We're in Single Entry Mode, no pre-population, SP1 and April 2014 CU Installed.
    I'll enumerate the issues here and pose the question to the community as to whether others are experiencing any/all of these things, and if so,  ask if any workarounds have been discovered.  We're working with Microsoft to validate these independently,
    but I am posing the questions to the community to gather additional information, and hopefully save some folks time in troubleshooting similar issues.
    1.When time is entered on an assignment into timesheet lines of multiple billing categories, only time entered since the last save is getting saved and ultimately sent, on timesheet submit, to the approval center.  Although the previously entered and
    saved time appears in the application interface when the timesheet is re-opened, only data since last save is actually saving to the server or processing through the approval center.  We believe this is the primary cause for timesheet and project actuals
    being out of alignment.
    2."_ Error Loading".  When assignments are added, deleted, or changed after a timesheet has been created, standard timesheet lines are added, deleted or changed (i.e. synchronize) with the assignments. However, for custom billing category
    timesheet lines, they do not change when the assignments change, and they aren’t removed if the assignment is removed.  We believe this causes secondary errors, like the "_Error Loading"  (and others as will be described below).
    3.When a timesheet with time in a non-standard billing category is deleted and recreated, time is arbitrarily moved to standard timesheet lines for the same assignment. If the task assignment is subsequently removed, the timesheet line causes the timesheet
    to break.
    4."Error Communicating with Server". When trying to submit a timesheet, a pop-up box appears indicating that there is an error communicating with the server.  This error appears because a timesheet line is no longer associated with a project.
    In order to submit the timesheet the orphaned timesheet line must be identified and manually removed. One technique we found which helps to identify an orphaned timesheet line is to select a task and submit task progress. Repeat for all timesheet lines until
    you get an error.  The timesheet line(s) with the error can be manually removed from the timesheet, fixing the error.
    5. Unable to Open Specific Timesheets without Error. There are certain scenarios when the "Remove Task" feature is used or an assignment is otherwise removed after creation of a timesheet with custom billing category lines, which causes orphaned
    timesheet lines. These orphaned lines can cause issues when trying to open a timesheet. The issue can appear when timesheets are in progress in multiple periods. In the problematic scenario, time is entered and submitted in one period and subsequently
    the task is 'removed' from another period before the PM processes the first approval request. Process governance can certainly help here, but improvement in the way synchronization occurs between project assignments and custom billing category timesheet lines
    would be great. The error can often be resolved by re-adding the assignment for the problematic timesheet user to the project (which creates a new assignment), and then allows you to open the timesheet.  Then time can be moved from the old timesheet
    line to the new timesheet line, and the old one can be removed.
    In 4 and 5, sometimes we can't open a timesheet without error, and other times we can open it but not submit it. We are not 100% clear on all the different causes for each. Each of these issues are suspected to be contributing the the misalignment of
    data between project actuals and timesheets, which can be a real problem for external projects for which time collected through timesheets are being used to generate invoices.
    Although these may seem like separate issues, warranting separate questions, I decided to post them together because they all seem to be related to synchronization of project assignments and timesheet lines for custom billing categories.
    Any thoughts or suggestions from the community would be appreciated.
    Best regards,
    Justin
    Justin Naughton

    There are many causes for each of the errors mention.  It would be best to put one issue to the forum at a time.  For example, some of these issues occur then tasks are deleted from projects but a timesheet has been submitted.   Depending
    on the scenario, some of these issues have been fixed with the latest service pack.
    Other issues are due to bad scheduling habits with the project managers and so first determining what they have done can help resolve some the issues.
    _error Loading, is because something is NULL in the data and the jave is choking when it build the form. Again, these may be because of delete tasks, resources, projects  or someone doing copying and pasting of rows.
    cheers!
    PS.  Train your PM to not COPY and PASTE rows in project schedules.  It can be done, but it can create problems.  There are over 500 fields and some have unique data and the copy paste creates havic.
    Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

  • CreateSparseDisk error using Convert-WindowsImage.ps1 to create VHD for Windows 10 Preview

    I have been trying to use convert-windowsimage.ps1 to create a Windows 10 .VHD under Windows 8.1 (inside VirtualBox)
    .\convert-windowsimage.ps1 -Sourcepath .\install.wim -Edition Professional -VHDFormat VHD -DiskType Fixed -SizeBytes 40GB -VHDPath .\Win10Previewx64.vhd
    This returns:
    ERROR : Exception calling "CreateFixedDisk" with "4" argument(s): "The parameter is incorrect"
    I get a similar error if I accept the default to create a sparse disk and the default SizeBytes value.
    I did notice when typing the command in the ISE that most of the parameter values turn purple, but with SizeBytes 40GB changes back to cream when you add the B of GB - I'm not sure if this is relevant. The code does appear to expect GB TB or KB.

    Post questions about scripts to the author here:
    https://gallery.technet.microsoft.com/scriptcenter/Convert-WindowsImageps1-0fe23a8f/view/Discussions#content
    ¯\_(ツ)_/¯

  • Error Using the SQL Server 2000 Driver for JDBC Service Pack 3

    Hi,
    I�m using the SQL Server 2000 Driver for JDBC Service Pack 3. The connection is succesfully, but when I use de statement.executequery() method, there is the follow exception:
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid object name 'PEC_COUNTRY'.
    This is my code:
    ResultSet resultSet;
    Statement statement;
    Connection connection;
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
    connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://S0MALMUERTA:1433;user=sa;password=");
    statement = connection.createStatement();
    resultSet = statement.executeQuery("SELECT COY_INX, COY_NAME, COY_ICO FROM PEC_COUNTRY
    ");When I make the last instruction, occurs the above exception
    Thanks in advance
    Luija

    The way you are connecting, the default database used will be 'master' and i guess that the table PEC_COUNTRY was defined in another database.
    If it is the case you need to specify the database name.
    connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://S0MALMUERTA:1433;DatabaseName=yourdb;user=sa;password=");

  • Siebel 8.1.1 Install error using MS SQL Server 08

    Hi,
    I am trying to set up a Siebel Proto environment on WinXP system. The database that I am using is MS SQL Server 2008 with SP1 installed.
    After installing Siebel at the Database Install step, I encountered a failure on step 'Import Repository Data' The error log generated is as follows:
    2010-04-03 18:47:45     C:\sba81\siebsrvr\bin\repimexp.exe /a I /G ENU /u SADMIN /p ***** /c SBA_81_DSN /d dbo /r "Siebel Repository" /f C:\sba81\dbsrvr\common\mstrep.dat /l C:\sba81\siebsrvr\log\install\output/imprep_prim.log
    2010-04-03 18:47:45     
    2010-04-03 18:47:45     Connecting to the database...
    2010-04-03 18:47:46     Connected.
    2010-04-03 18:47:46     Starting common api.
    2010-04-03 18:47:46     SQLstyle is 'Microsoft SQL Server'
    2010-04-03 18:47:46     SARM is OFF -change param SARMLevel to enable
    2010-04-03 18:47:46     SARM Client is OFF -change param SARMClientLevel to enable
    2010-04-03 18:47:46     SARM is OFF -change param SARMLevel to enable
    2010-04-03 18:47:46     SARM Client is OFF -change param SARMClientLevel to enable
    2010-04-03 18:47:46     SARM is OFF -change param SARMLevel to enable
    2010-04-03 18:47:46     SARM Client is OFF -change param SARMClientLevel to enable
    2010-04-03 18:47:47     Unable to verify login name SADMIN.
    2010-04-03 18:47:47     Unable to start common api.
    2010-04-03 18:47:47     Unable to start common api.
    2010-04-03 18:47:47     Error in initiate function..
    2010-04-03 18:47:47     Elapsed time: 2 sec.
    2010-04-03 18:47:47     (logapi.cpp (184) err=1 sys=0) SBL-GEN-00001: (logapi.cpp: 184) error code = 1, system error = 0, msg1 = (null), msg2 = (null), msg3 = (null), msg4 = (null)
    I am using SADMIN user for Database account and SIEBEL user for Table owner. I have also tried using SIEBEL user in both places.
    Basically what is SARM? And how can I enable it?
    I have tried connecting to the DB from the Server system and am successful in that.
    Thanks for the help in advance.
    With Regards,
    Tanmay Jain

    Hi EvtLoglvl,
    I am able to connect to the SQL Server using the ODBC connections and also SADMIN id has requisite SSE_ROLE granted to it and the default DB for it is SIEBEL_DB on which I am attempting installation. I was able to successfully run the grantuser.sql file that Siebel provides by default to create the roles and logins for SIEBEL, SADMIN and LDAPUSR.
    The problem I am encountering is when I try to perform the Database Server configuration. The system creates the required tables and indexes successfully on the DB. The problem is coming when it tries to Import the base repository that Siebel Server Installation comes with. The error log was for the same.
    I feel that the Siebel Installer is missing some APIs to connect to SQL Server 08.
    The SQL Server is hosted on a system with x64 architecture and the Siebel Server is on a x86 architecture system. I also have Service Pack 1 installed on both the DB Server and Siebel Server. Using third party tools I am able to manipulate the database without any hitches from the Siebel Server system.
    Latest, I have tried reinstalling the virtual environment completely, i.e. started from scratch and had the same issue when I tried the Siebel Database Server installation step. I sure hope I dont have to install SQL 05 and install Siebel Database on it and then do an upgrade of the database.
    Thanks for the info about SARM. It still shows up in the Log file and after it the install fails though.
    Thanks and Regards,
    Tanmay Jain

  • Can I use Wiki Server with a custom build of Apache?

    Hi there. For various reasons, I may need to roll my own build of Apache, PHP, and some other web technologies. What I'm hoping to do is use Wiki Server for the collaborative part of our site, but I don't know if it can be set up to run with an Apache build other than the one that comes with Leopard.
    Can this be done? If so, how?

    That could work, I suppose. I take it it's not possible to configure the Wiki Server to work with a different build of Apache?
    I'd just as soon not run two Apache instances on our new system; that's what we're doing now, on our Tiger server, and it's a bit inconvenient to have two sets of web configuration settings to worry about.
    If possible, I'd like to use the Wiki server with a custom Apache build. (I need to rebuild PHP, you see...)

  • Does jconsole support monitoring of MBeans registered to New MBean Server?

    I see that jconsole is displaying the MBeans registered to Platform MBean Server (obtained through java.lang.ManagementFactory.getPlatformMBeanServer()) but not the MBeans that are registered to a newly created MBean Server (created using javax.management.MBeanServerFactory.createMBeanServer()).
    Is there a way through which I can view the MBeans registered to newly created MBean Server in the jconsole?

    Thank you for the information emcmanus.
    So what I understand is that the jconsole if opened in a normal way (i.e. Local), it loads MBeans by looking up the Platform MBean Server.
    All the MBeans belonging to other MBean Servers or custom created MBean Servers can be managed & monitored if jconsole is loaded using Advanced option (i.e. providing JMX URL) and with the help of remote connectors.
    When I open Platform MBean Server, I dont see MBeans of other MBean Server and vice versa. (I think they are mutually exclusive).
    Please correct me if what I have mentioned above is incorrect.
    One confusing thing is that I see "JVImplementation" MBean is available when I open jconsole with either of the two option mentioned above.
    Is there any specific reason for that?
    Is that MBean part of Platform MBean Server or some other MBean Server?

  • FM to create customer master

    Hi,
    I am using BAPI function BAPI_BUSINESS_PARTNER_CREATE to create customer master. I have this error message “Activity category does not exist”.
    Please help.
    best regards,
    AL

    Nagaraj,
    1. I have import the parameter PARTNERCATEGORY but i still get the same error message.
    2. I have try BAPI_CUSTOMER_CREATEFROMDATA1, but this FM ask for Sales organization data which i don't have the sales area yet. Please advice.
    best regards,
    AL

  • BAPI - create customer

    Dear all,
    i need to use the BAPI 'BAPI_CUSTOMER_CREATEFROMDATA1' to create customer record . How and where to define the customer account group??
    Or does this function is 'hardcoded' that can only create '0001-sold to party' customer account??
    Or is there any other BAPI that can create different customer accounts?
    Thanks in advance!

    Hello Winson,
    I've looked through the source of 'BAPI_CUSTOMER_CREATEFROMDATA1' and it seems that it obtains account group from reference customer.

  • Error using Quick Create Form on custom entity

    Hello,
    I have a new relationship between opportunity and a custom entity. Now I want to use quick create form for my custom entity. Then from the opportunity form, I click on the "new" action inside the custom lookup field but nothing happens and I have
    a JavaScript error... The quick create form has no JS code. The contact quick create form works fine. And the quick create form for my custom entity works if you click on the Add button on the main ribbon... so I'm lost... I've tried also with Chrome and IE,
    same result. May be I'm doing something wrong...
    Any help will be very apreciated.
    Thank in advance to everybody.
    The error:
    <CrmScriptErrorReport>
      <ReportVersion>1.0</ReportVersion>
      <ScriptErrorDetails>
       <Message>Unable to get property 'getAttribute' of undefined or null reference</Message>
       <Line>16</Line>
       <URL>/_common/JsProvider.ashx?ids=1545465446-1759665639-1968334880-202661451-1025323794-1793205875-1547461133-1992083491-1000289424-159335543-1376927455-1030632819-1181113682-1314140682-1194605645-1039841082-513446117-1625018438-1460109179-1088147315-706656670-342519603-542820515-1946640899-1603536461-468302605-1405388298-1220618931-511599809-1264077421-1188909594-783705869-374257838-502328314-2050812538-512064351&ver=1313516505</URL>
       <PageURL>/main.aspx?etc=3&extraqs=%3fformid%3d5b6f6723-db6e-40f2-9ca5-b78678b1076b%26id%3d%257b4F3786B4-4C0E-E411-93F6-0050569D1A22%257d%26rof%3dtrue%26rskey%3d200436436%26setlastviewed%3dtrue%26theme%3dOutlook15White&pagemode=iframe&pagetype=entityrecord&rof=true&rskey=200436436</PageURL>
       <Function>anonymous($p0){var$v_0=this.getLookupSearchText();this.$2a_4($p0,this.$$d_$3n_4);var$v_1=this.get_$1G_4(),$v_2=$get($v_1),$v_3=$v_2.getAttribute("entityDisplayName"),$v_4=Mscrm.InlineEditUtilities.getLinkedDataObject($P_CRM($v_2)),$v_5=String.format("glob</Function>
       <CallStack>
        <Function>anonymous($p0){var$v_0=this.getLookupSearchText();this.$2a_4($p0,this.$$d_$3n_4);var$v_1=this.get_$1G_4(),$v_2=$get($v_1),$v_3=$v_2.getAttribute("entityDisplayName"),$v_4=Mscrm.InlineEditUtilities.getLinkedDataObject($P_CRM($v_2)),$v_5=String.format("globalqctimestamps_{0}",$v_1),$v_6=null;if(!IsNull($v_4)&&$v_5in$v_4)$v_6=$v_4[$v_5];var$v_7,$$t_A,$$t_B,$v_8=($$t_B=this.$2Y_4($$t_A={val:$v_7}),$v_7=$$t_A.val,$$t_B);Mscrm.GlobalQuickCreate.GlobalQuickCreateBehavior.launchGlobalQuickCreate(this.$1Z_4,$v_3,parseInt($v_2.getAttribute("entityTypeCode")),$v_6,$v_8,$v_7,$v_0)}</Function>
       </CallStack>
      </ScriptErrorDetails>
      <ClientInformation>
       <BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729)</BrowserUserAgent>
       <BrowserLanguage>en-US</BrowserLanguage>
       <SystemLanguage>es-ES</SystemLanguage>
       <UserLanguage>es-ES</UserLanguage>
       <ScreenResolution>1364x768</ScreenResolution>
       <ClientName>Web</ClientName>
       <ClientTime>2014-09-01T16:13:52</ClientTime>
      </ClientInformation>
      <ServerInformation>
        <OrgLanguage>3082</OrgLanguage>
        <OrgCulture>3082</OrgCulture>
        <UserLanguage>3082</UserLanguage>
        <UserCulture>3082</UserCulture>
        <OrgID>{8704CF11-2D0C-E411-93F6-0050569D1A22}</OrgID>
        <UserID>{3DDB30DE-B80C-E411-93F6-0050569D1A22}</UserID>
        <CRMVersion>6.1.0.581</CRMVersion>
      </ServerInformation>
    </CrmScriptErrorReport>
    Francisco

    It looks like product error message.
    If it's happening on production, You can suppress the error message. Settings -> Administration ->Privacy Preferences -> Select Never send error report to Microsoft
    Regards,
    Prabhu
    Prabhu G

  • Adobe Reader error with PDF reports created using AS Reports Server 10g

    Hi,
    Recently when trying to run reports in our system (which uses Oracle Application Server Forms & Reports Services 10g - 10.1.2.0.2), sometimes when we try to run a report in PDF format the following happens:
    1. A new window appears as expected
    2. This window hangs/appears to try to load for a couple of minutes
    3. Eventually an Adobe Reader error message appears saying the following:
    *"There is a problem With Adobe Acrobat/Reader. Please exit Adobe Acrobat/Reader and try again".*
    I have noticed that this problem only seems to occur when the client has Adobe Reader 9.3 installed (8.2 works fine).
    Has anyone else encountered this problem? Is there a known workaround or is this a known issue?
    Many thanks,
    Chris

    Does anyone have any ideas on this or has anyone encountered the same problem?
    thanks

  • Error in Creating Custom Business Methods using ADF Business Comp. Tutorial

    I've been working with Jdev 10g Preview for a while. Now that we have Jdev 10g, I have to unlearn some of the Preview methods and learn the "real" way of doing things. To that end, I went out to the "Creating Custom Business Methods using ADF Business Components" tutorial. Unfortunately, I've found what I think is a mistake in the example code.
    Specifially, ADF treats the default iterator on View Objects differently than previous BC4J versions. In the older versions, the iterator was positioned before the first row when you first executed a query. In that case, the hasNext() method was used to see if you had any rows at all. In ADF, however, the default iterator is positioned at the first row. So, if your query only returns one row, then the hasNext() method returns false!
    Here's the code posted in the tutorial:
    public Number getDeptSalaryTotal(String dept_id)
    // get a department view object
    DepartmentsViewImpl dept = getDepartmentsView1();
    dept.setWhereClause("DEPARTMENT_ID = " + dept_id);
    dept.executeQuery();
    dept.first();
    EmployeesViewImpl emps = getEmployeesView3();
    Number salaryTotal = new Number(0);
    while (emps.hasNext() )
    Row empsRow = emps.next();
    salaryTotal =
    salaryTotal.add((Number)(empsRow.getAttribute("Salary")));
    return salaryTotal;
    As you can see, this is coded using the pre-10g semantics. It checks hasNext() at the top of the while loop. If there is only one Employee in the Department, hasNext() will return false since the emps View Object will already be positioned at the first and only row. There won't be a next row. So, the salaryTotal will be zero instead of the correct value. Alternatively, if there is more than one row, then hasNext() will be true, but the routine will skip the first row and start totalling salaries from the second row on.
    The routine should be recoded as follows:
    public Number getDeptSalaryTotal(String dept_id)
    // get a department view object
    DepartmentsViewImpl dept = getDepartmentsView1();
    dept.setWhereClause("DEPARTMENT_ID = " + dept_id);
    dept.executeQuery();
    dept.first();
    EmployeesViewImpl emps = getEmployeesView3();
    Number salaryTotal = new Number(0);
    Row empsRow = emps.first(); // Get the first row
    while (empsRow != null ) // while we have a row
    salaryTotal =
    salaryTotal.add((Number)(empsRow.getAttribute("Salary"))); // add in the salary
    empsRow = emps.next(); // get the next row
    return salaryTotal;
    I haven't actually executed this code, so there may be a typo or two in there. However, the basic idea is sound -- I think!
    Please update the tutorial so we don't mislead people right at the start! :-)

    Gary:
    I have two questions for you:
    1) Could you post the preferred code here?
    2) Why is it the preferred method? I would think that creating and destroying another object (the temporary iterator) would be a bad thing.

  • Error creating custom reports. Permissions issue with custom reports

    I am having permission issues with reports. I am building a new Configuration Manager  2012 infrastructure and I have configured the Site server on Server1 and the DB is on Server2. Server2 also hosts the Reporting Point and SSRS roles/features. If
    I look in Monitoring at the Site Status and Component Status are all green no issues with the setup.
    Running SQL 2008 SP2 (no CUs). I have a service account that I used to install Configuration Manager and SQL. This service account is running the SQL service on Server2 and i am using the same account as the Reporting Services Point Account.
    I log into the SCCM console with a different user account, lets call it Admin1. This account is a member of the Full Administrator role. I can run any built in report.
    When I open the SSRS website and try to create a custom report I connect the DataSource using Windows Authentication. So the Datasource is connecting using the logged in users account. In this case Admin1. I test the connection and it connects fine.
    I test this query. (Select * from v_R_System) I only have about 10 workstations discovered so the report shouldn’t be very big. I get an error “The Select permission was denied on the object ‘v_R_System’, Database ‘CM_XXX’, schema ‘dbo’. (Microsoft sql server,
    Error: 229)”
    I have fixed the SELECT permission error by going into the database (using SQL Management studio) and granting Admin1 Select rights to the Configuration Manager database. I can now run the above query and make custom reports.
    My 2<sup>nd</sup> problem is that other members of the Full Administrator role cannot run these custom reports unless I go into the database and grant them the SELECT permission.
    Question:
    Should I have to manually go into the database to add SELECT permissions(i could use a group)? shouldnt Configuration Manager take care of this for me?
    Maybe the built in reports use the SQL service account rights and the custom ones do not? Am I doing something wrong with the Datasource when I create these custom reports?
    What is the correct process for creating custom reports?

    I think i am getting closer to a solution. After the Custom report is created. i can go back into the report. Delete the DataSource. Then browse for a dataSource. there is a datasource located in http://server2/reportserver/ConfigMgr_XXX/
    That datasource is used by all builtin reports. if you view the properties on the Credentials tab it is set to "do not use credentials" and the option is greyed out / cannot be changed.
    it looks like i still need the SELECT permissions on the database to create the report initially but at least i have solved the problem with viewing these reports.
    Can anyone confirm that what i did is correct?

  • Creating Repositories using MS SQL Server DataBase in Data Service Reposito

    HI All,
    I installed BODS and I am trying to create repository using Data Service Repository Manager but I am getting the following error message :
    Cannot open connection to the repository.  The error message from the underlying DBMS is <ODBC call <SQLDriverConnect> for data source <localhost> failed: <[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.>. Notify Customer Support.>. (BODI-20006)
    An error occurred during creation of the local repository. (BODI-300054)
    While installing BODS i used the option to create DB .... Before that even I had Microsoft SQL server installed for MDM which was working fine (Able to Log on and so on)...
    Do I need to install Oracle in order to create repositories? How to proceed further please suggest.
    many Thanks
    Rajeev.

    Hi!
    What version of SQL Server are you using for the repositories? Maybe the error is because DS can not create repositories in SQL Server 2008. You can read and write data with SQL2008, but you need to create the repositories in SQL2005 or another RDBMS. I'm not sure when DS is going to be able to create them in SQL2008.
    I hope this could help you. Greetings!
    See you
    LCGC

  • Yosemite Server: Apache shm errors with proxy_balancer | SASL errors using user alias

    Dear OSX Server Ninjas,
    I recently upgraded my 10.9.5 Mac mini running Server 3.2.2 to Yosemite + Server v4, directly to v4.0.3. The box serves the whole Mail/Cal/Contacts/VPN palette as well as some websites, Git repos and some custom software. See below for network setup.
    After battling the most blatant issues (some easy to fix but hard to find, others hard on both), I'm almost back to a working server setup … but some things keep bugging me even after days of log-reading and OD tricks. In the last days, I have read countless discussions here as well as on stackoverflow/serverfault/apple.stackexchange and blogs, so I'll try to be as thorough and precise as possible to show what I have tried so far – sorry in advance for the long post
    … and since you might not read to the bottom: Thanks in advance for any help, especially with the Apache problem!
    My setup
    OSX Server v4.0.3 running on Yosemite 10.10.1 ➞ both latest official releases
    host + DNS
    Hostname configured for public domain mydomain.net, web traffic on selected ports comes in through router NAT
    Server has a static IP on the local subnet 192.168.178.0/24
    Server running local DNS and performing lookups for all clients in the local subnet, forwarding to the router at 192.168.178.1
    Primary zone for mydomain.net with records (A, NS, MX) pointing to said static IP
    changeip -checkhostname is successful
    Public IP is currently configured at the domain registrar through his name servers
    SSL
    Trusted third-party certificate installed for host.mydomain.net (Common Name + SAN for two subdomains)
    Used to secure all services
    Qualys SSL Test Grade B (capped due to OSX's openssl 0.9.x not being capable of TLS1.2 and Intermediate CA SHA-1 )
    TLS working both inbound and outbound according to CheckTLS.com
    OpenDirectory
    Recreated after upgrade (probably not necessary, since issue persists), re-imported groups + users from WGM backup files
    Only the server itself is bound to the directory, other devices just access services through network accounts (CRAM-MD5, MD5-Digest)
    Problems
    Apache shm errors: Apache fails to create slot memory when proxy module is enabled
    As soon as I start a service which requires the Apache proxy_balancer module (e.g. Cal/Contacts, ProfileManager), this starts filling up my Apache's error log:
    [Mon Jan 12 01:41:17.979882 2015] [proxy_balancer:emerg] [pid 2949] (28)No space left on device: AH01179: balancer slotmem_create failed for p26d9e669--1011640492
    [Mon Jan 12 01:41:17.979894 2015] [:emerg] [pid 2949] AH00020: Configuration Failed, exiting
    [Mon Jan 12 01:41:28.297127 2015] [slotmem_shm:error] [pid 3026] (28)No space left on device: AH02611: create: apr_shm_create(/private/var/run/slotmem-shm-p26d9e669--1001322955.shm) failed
    [Mon Jan 12 01:41:28.297347 2015] [proxy_balancer:emerg] [pid 3026] (28)No space left on device: AH01179: balancer slotmem_create failed for p26d9e669--1001322955
    [Mon Jan 12 01:41:28.297355 2015] [:emerg] [pid 3026] AH00020: Configuration Failed, exiting
    When I increase the Apache LogLevel to trace1, I get this as well:
    [Mon Jan 12 02:11:43.190303 2015] [slotmem_shm:debug] [pid 5501] mod_slotmem_shm.c(367): AH02602: create didn't find /private/var/run/slotmem-shm-p26d9e669-813569972.shm in global list
    This causes the Apache to crash constantly, which is … unnerving. After googling around for a while, I tried the following steps:
    Stop Services that use the Apache (Web, *DAV, ProfileManager)
    sudo apachectl stop
    Remove all orphan cache/slot files (.shm, ssl-cache, proxy.*) from /private/var/run
    Reboot the server
    Start up the Services again
    Curiously enough, this worked for a while! But I was getting several log messages about dropped proxy connections, and sometimes the ProfileManager page would time out. Then, the issue started to reappear and does not seem to be fixed again with the steps above. I looked through the Apache config files and config plists for the Services in question, as well as the default config files. The only thing I have so far is that as long as there are no active proxy connections, the Apache runs smoothly – but all goes awry when slotmem files are created (a lot of them). Sometimes, I am able to turn on the Calendar service, but switching on Contacts produces the error … one time, I even got Calendar + Contacts running, and all went well until I enabled Profile Manager.
    I found several error reports with similar or identical errors from other Apache 2.4.x users, but most of those were developer talk on mailing lists, or suggested steps that did not work for me (or were inapplicable on the OS X Server Apache environment).
    SASL errors using user alias for WebDAV-Digest authentication
    Short version: I am unable to authenticate through WebDAV-Digest with a user's alias (defined in Server Admin > Users > Context Menu > Advanced Options or WGM). Using the main short name of the same user works flawlessly. Password Server Error log just shows:
    AUTH2: {234023578237md5hash2384234, mainshortname} WEBDAV-DIGEST authentication failed, SASL error -13 (password incorrect).
    The password is 100% correct: When I set up a test CalDAV account and put in alias+PW, it did not work (OS X Dialog showed “could not be verified”, Server log as above). Leaving the password field filled and just switching the user to the main short name went through instantaneously, with the Server log showing
    AUTH2: {234023578237md5hash2384234, mainshortname} WEBDAV-DIGEST authentication succeeded.
    Notice the same MD5 hash and canonical short name, yet different results. I don't know if this is a new “feature”, a result of mail aliases being handled differently (at least I read that somewhere) …
    Additional Questions
    Should I configure the DNS for public use, instead of the Split-Brain configuration (local network gets local IP, outside traffic is directed by registrar NS)? I read several articles explaining that Split-Brain is common in large organizations, but might introduce weird networking issues. Entering the external IP as a Round Robin alternative for the internal does not seem sensible to me.
    I also have a question concerning LDAP log entries like this one below, but I'll put that in this already open discussion:
    => bdb_idl_delete_key: c_get failed: DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock (-30994)

    Today the same error occurred on a customers server.
    We don't use Calendar or Contacts.
    We only have some websites configured and want use NetInstall for deployments.
    As soon as I disable the Profilemanager the httpd starts over and other websites and NetInstall via HTTP are working fine.
    When I reenable Profilemanager the httpd processes are gone and I see the same stuff in Apache's error log...

Maybe you are looking for

  • Acrobat fatal error: failed to load core dll

    Hi, I have a problem with acrobat reader on my laptop. My OS is Vista Home Premium. I had Master collection CS4 installed. When starting up acrobat reader; i got following error: failed to load core dll. I went to the log and this is the explenatoin

  • Data source schema validation error

    Hi, I'm trying to validate data source schema in TS 3.1 and getting this error: " Run-time error '458': Variable uses an Automation type not supported in Visual Basic ". Same operation works fine in TS v3.0 (Evaluation!!!). Thanks, Edi

  • System image/snapshot for restoring entire system.

    1- I want to make "system images"/"snapshots" of my computer for a later restore. 2- Also i would like to learn more about how to restore "system images" of my system. note: since time machine works incremental i dont want that because i cannot isola

  • IWeb Resaving Graphics

    Is there a way to keep iWeb from resaving graphics when I publish to my FTP space? I get jpg files that look different from the preview in iWeb. I have been going to my ftp space and uploading/replacing with the original file but that is tedious.

  • Why Can't I open the layer panel?

    I installed the new trial version of PSE11 and for some reason the layer panel does not show up automatically and when I try to open it under the windows menu the layers part is greyed out.  The entire layers dropdown menu is also entirely grey.  Ple