GSS API failing with java 1.6 but working with java 1.5 in jboss 3.2.6

18:05:08,210 INFO [STDOUT] GSSException: No valid credentials provided (Mechanism level: Attempt to obtain new ACCEPT credentials failed!)
18:05:08,210 INFO [STDOUT]      at sun.security.jgss.krb5.Krb5AcceptCredential.getInstance(Krb5AcceptCredential.java:87)
18:05:08,210 INFO [STDOUT]      at sun.security.jgss.krb5.Krb5MechFactory.getCredentialElement(Krb5MechFactory.java:111)
18:05:08,213 INFO [STDOUT]      at sun.security.jgss.GSSManagerImpl.getCredentialElement(GSSManagerImpl.java:178)
18:05:08,214 INFO [STDOUT]      at sun.security.jgss.GSSCredentialImpl.add(GSSCredentialImpl.java:384)
18:05:08,214 INFO [STDOUT]      at sun.security.jgss.GSSCredentialImpl.<init>(GSSCredentialImpl.java:42)
18:05:08,214 INFO [STDOUT]      at sun.security.jgss.GSSManagerImpl.createCredential(GSSManagerImpl.java:139)
18:05:08,214 INFO [STDOUT]      at com.apple.ist.ds.server.impl.snkp.SSOTokenVerifier.credentialForService(SSOTokenVerifier.java:324)
18:05:08,214 INFO [STDOUT]      at com.apple.ist.ds.server.impl.snkp.SSOTokenVerifier.initialize(SSOTokenVerifier.java:97)
18:05:08,214 INFO [STDOUT]      at com.apple.ist.saci.iphonevpn.servlet.SACIIPhoneStartUpServlet.init(SACIIPhoneStartUpServlet.java:26)
18:05:08,214 INFO [STDOUT]      at javax.servlet.GenericServlet.init(GenericServlet.java:256)
18:05:08,214 INFO [STDOUT]      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
18:05:08,214 INFO [STDOUT]      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
18:05:08,214 INFO [STDOUT]      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
18:05:08,214 INFO [STDOUT]      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
18:05:08,214 INFO [STDOUT]      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
18:05:08,214 INFO [STDOUT]      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
18:05:08,214 INFO [STDOUT]      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
18:05:08,214 INFO [STDOUT]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
18:05:08,214 INFO [STDOUT]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
18:05:08,214 INFO [STDOUT]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
18:05:08,215 INFO [STDOUT]      at java.lang.reflect.Method.invoke(Method.java:597)
18:05:08,215 INFO [STDOUT]      at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
18:05:08,215 INFO [STDOUT]      at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:149)
18:05:08,215 INFO [STDOUT]      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
18:05:08,215 INFO [STDOUT]      at org.apache.catalina.core.StandardContext.init(StandardContext.java:5441)
18:05:08,215 INFO [STDOUT]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
18:05:08,215 INFO [STDOUT]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
18:05:08,215 INFO [STDOUT]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
18:05:08,215 INFO [STDOUT]      at java.lang.reflect.Method.invoke(Method.java:597)
18:05:08,215 INFO [STDOUT]      at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
18:05:08,215 INFO [STDOUT]      at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:149)
18:05:08,215 INFO [STDOUT]      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
18:05:08,215 INFO [STDOUT]      at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:316)
18:05:08,215 INFO [STDOUT]      at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:76)
18:05:08,215 INFO [STDOUT]      at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:320)
18:05:08,215 INFO [STDOUT]      at org.jboss.web.WebModule.startModule(WebModule.java:62)
18:05:08,215 INFO [STDOUT]      at org.jboss.web.WebModule.startService(WebModule.java:40)
18:05:08,215 INFO [STDOUT]      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
18:05:08,215 INFO [STDOUT]      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
18:05:08,215 INFO [STDOUT]      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
18:05:08,215 INFO [STDOUT]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
18:05:08,215 INFO [STDOUT]      at java.lang.reflect.Method.invoke(Method.java:597)
18:05:08,216 INFO [STDOUT]      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
18:05:08,216 INFO [STDOUT]      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
18:05:08,216 INFO [STDOUT]      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
18:05:08,216 INFO [STDOUT]      at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
18:05:08,216 INFO [STDOUT]      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
18:05:08,216 INFO [STDOUT]      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
18:05:08,216 INFO [STDOUT]      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:884)
18:05:08,216 INFO [STDOUT]      at $Proxy20.start(Unknown Source)
18:05:08,221 INFO [STDOUT] Caused by: javax.security.auth.login.LoginException: java.lang.NullPointerException
     at com.sun.security.auth.callback.TextCallbackHandler.handle(TextCallbackHandler.java:102)
     at org.jboss.security.auth.spi.UsernamePasswordLoginModule.getUsernameAndPassword(UsernamePasswordLoginModule.java:216)
     at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:131)
     at org.jboss.security.auth.spi.UsersRolesLoginModule.login(UsersRolesLoginModule.java:124)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
     at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
     at javax.security.auth.login.LoginContext$5.run(LoginContext.java:706)
     at java.security.AccessController.doPrivileged(Native Method)
     at javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703)
     at javax.security.auth.login.LoginContext.login(LoginContext.java:575)
     at sun.security.jgss.GSSUtil.login(GSSUtil.java:246)

18:05:08,221 INFO [STDOUT] Caused by: javax.security.auth.login.LoginException: java.lang.NullPointerException
at com.sun.security.auth.callback.TextCallbackHandler.handle(TextCallbackHandler.java:102)It seems you are providing username using a TextCallbackHandler (which is default for GSS-API). This is OK if you are writing a console program and the user can input the name in a command line prompt. If you are writing a server side program, there is no console, you need to write your own CallbackHandler to provide username.

Similar Messages

  • Security API failed with error 60008

    HI, I have been tryng to wrap some files (or something like that) but when I select the files it comes up with an error box saying "security API failed with error 60008" can anyone help me fix this or tell me what it is?

    Launch Disk Utility and run Repair Permissions on the startup volume. Try whatever you were doing again. If there's no change, continue as follows.
    Triple-click the line below to select it:
    /private/tmp
    Right-click or control-click the highlighted line and select
    Services ▹ Show Info
    from the contextual menu.* An Info dialog should open.
    Does the dialog show "You can read and write" in the Sharing & Permissions section?
    In the General section, is the box labeled Locked checked?
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). Open a TextEdit window and paste into it (command-V). Select the line you just pasted and continue as above.

  • BPEL process fails in SOA (in UNIX), but works fine in SOA (in Windows) env

    Hello,
    BPEL process fails in SOA (in UNIX), but works fine in SOA (in Windows) environment
    Step 1: Build a asynchronous BPEL process which has no extra node. Make and deploy it in 'local windows desktop SOA' server
    The BPEL process has three nodes:
    a. client - on the left side of the swim lane
    b. receiveInput - first node in swim lane (client calls 'receiveInput')
    c. callbackClient - second and last node in the swim lane ('callbackClient' calls client)
    Step 2: Go to BPEL console and 'Initiate' the BPEL process -> 'Post XML Message'
    Step 3: Now, I can see the successfully completed BPEL instance in the BPEL console.
    Now,
    Step 4: Deploy the same BPEL process (dummy asynchronous) in the SOA server (hosted in unix box)
    Step 5: Go to BPEL console and 'Initiate' the BPEL process -> 'Post XML Message'
    Step 6: I find that the BPEL instance appears to have ended in error (on the second node i.e. callbackClient )
    With the following error message
    +<invalidVariables xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>9710</code>+
    +</part><part name="summary"><summary>Invalid xml document.+
    According to the xml schemas, the xml document is invalid. The reason is: Error::cvc-complex-type.2.4.b: The content of element 'DummyBPELProcessProcessResponse' is not complete. One of '{"http://xmlns.oracle.com/DummyBPELProcess":result}' is expected.
    Please make sure that the xml document is valid against your schemas.
    +</summary>+
    +</part></invalidVariables>+
    Has anyone faced similar issue as above ?
    i.e. process works find in windows environment (local SOA), but fails in SOA server in UNIX environment
    Appreciate your help in understanding this issue.
    Thanks,
    Santhosh

    Hello,
    The fix to this issue appears to have been as follows:
    +<schema attributeFormDefault="unqualified"+
    +     elementFormDefault="qualified"+
    +     targetNamespace="http://xmlns.oracle.com/DummyBPELProcess"+
    +     xmlns="http://www.w3.org/2001/XMLSchema">+
    +     <element name="DummyBPELProcessProcessRequest">+
    +          <complexType>+
    +               <sequence>+
    +                    <element name="input" type="string"/>+
    +               </sequence>+
    +          </complexType>+
    +     </element>+
    +     <element name="DummyBPELProcessProcessResponse">+
    +          <complexType>+
    +               <sequence>+
    +                    <element name="*:result*" type="string"/>+
    +               </sequence>+
    +          </complexType>+
    +     </element>+
    +</schema>+
    In DummyBPELProcess.xsd,
    modifiying "result" to ":result" appears to have resolved the issue in SOA under unix environment.
    If anyone can explain why "result" works in SOA under windows and ":result" works in SOA under unix environment, I would really appreciate your help.
    Thanks,
    Santhosh

  • Call to WPG_SESSION API fails with ORA-28231

    Hello,
    9ias 1.0.2.2.1 on SusSE 7.2 with 9.0.1 server.
    When executing http://<server>:<port>/pls/portal30/portal30.home apache logs the error:
    [warn] mod_plsql:Stale connection due to Oracle error 28231
    [error] mod_plsql: /pls/portal30/portal30.home HTTP-503 ORA-28231 <B> Call to WPG_SESSION API failed.</B>
    What is it that I can check here?
    Note:173529.1 says:
    Error: ORA-28231 (ORA-28231)
    Text: no data passed to obfuscation toolkit
    Cause: A NULL value was passed to a function or procedure.
    Action: Make sure that the data passed is not empty.
    Any pointers are greatly appreciated.
    Anatoliy

    At what point do you see this error?
    e.g., On initial page request, or after login, etc.
    Is there any more information in the error_log?
    It looks like there's no data in the cookie when trying to decrypt it.

  • Search API failed with perspective

    Hi everyone,
    I try to use the wwsrc_api.item_search function to search all the text items in the portal (10.1.4) with a perspective value (in the example "tecnico_small") using the following code:
    l_results wwsrc_api.items_result_array_type;
    select id,caid into l_perspectives(0) from WWSBR_ALL_PERSPECTIVES
    where LANGUAGE = wwctx_api.get_nls_language
    and NAME = 'tecnico_small';
    l_results := wwsrc_api.item_search(
    p_itemtypeid => wwsbr_api.ITEM_TYPE_TEXT,
    p_itemtypesiteid => 0,
    p_perspectives => l_perspectives,
    p_perspectivesmatch => wwsrc_api.MATCH_ANY,
    p_out_count => p_out_count,
    p_out_scores => p_out_scores);
    but the procedure failed with error: User-Defined Exception
    The same procedure without the p_perspectives and p_perspectivesmatch parameters runs successfully.
    The same search performed using a custom search portlet runs successfully.
    Any suggestions greatly appreciated!
    Thanks.
    Pietro

    Hi everyone,
    I find on metalink that is a bug (bug n° 5136659)

  • JCo APIs fail with Message Server

    Hi Experts,
    I use JCo 2.0 to interact with SAP System via Message Server.
    When My application try to connect, it's generated this error:
    Connect_PM  MSHOST=HOST, R3NAME=XYZ, GROUP=GROUP
    ERROR       service 'sapmsXYZ' unknown
    TIME        Tue May 19 15:09:28 2009
    RELEASE     620
    COMPONENT   NI (network interface)
    VERSION     36
    RC          -3
    MODULE      nixxi_r.c
    LINE        2606
    DETAIL      NiIServToAddr
    COUNTER     7
    .^.
    What is the problem?
    Thanks.
    Marco Genova
    Edited by: m.genova on May 19, 2009 4:23 PM

    Hello,
    The services mapping (name vs. TCPor UDP port number) are specified in /etc/services or the corrsponding file for your OS.
    Obviously "sapmsXYZ" is missing there. sapmsXYZ should match the TCP port of the message server.
    Kind regards,
    Tsvetomir

  • Mount_smbfs fails for one file server but works on another

    I have a simple terminal .command file that i've written and added to my login items. this script mounts two SMB file shares from different servers (win2003). this script has been working for over a month now it fails for one server and works fine for the second one.
    script looks like this:
    mkdir /Users/me/Desktop/fs1
    mkdir /Users/me/Desktop/fs2
    mount_smbfs //winserv1/fs1$ /Users/me/Desktop/fs1
    mount_smbfs //winserv2/fs2$ /Users/me/Desktop/fs2
    When it runs it should use my kerberos credentials to authenticate me to the winserv1 but seems to fail and then prompts for password. If I enter the password in the terminal window it fails.
    the mount_smbfs command for fs2 on winserv2 works fine and uses my kerberos credentials.
    i looked through the system.log for clues and found:
    Oct 8 12:11:06 is3018 login[2009]: USER_PROCESS: 2009 ttys000
    Oct 8 12:11:08 is3018 gssd-agent[2017]: Error returned by svcmach_gss_init_seccontext:
    then I am prompted for password in terminal (which should not happen). i enter password and it fails
    then console log responds with:
    Oct 8 12:11:08 is3018 gssd-agent[2017]: Major error = 851968: Unspecified GSS failure. Minor code may provide more information
    Oct 8 12:11:08 is3018 gssd-agent[2017]: Minor error = 100004:
    Oct 8 12:11:33 is3018 BBDaemon[50]: IOBSDNameMatching returned a NULL dictionary.
    Oct 8 12:11:33: --- last message repeated 1 time ---
    Oct 8 12:11:33 is3018 com.apple.launchd.peruser.1368768338[141] ([0x0-0x91091].com.apple.Terminal[2005]): Exited: Terminated
    Oct 8 12:11:33 is3018 login[2009]: DEAD_PROCESS: 2009 ttys000
    the cryptic log file entries don't mean much to me - anyone have any ideas what might be happening?

    Turns out that our network time server was having some problems and the the two servers had drifted several minutes off the correct time. Once the time on each server was corrected my kerberos authentication issues resolved.

  • AEX fails to get DHCP address, but works on DLink

    Sorry for the long post -- I'm hoping the details will help you diagnose the problem faster in the long run.
    My DLink router gets a DHCP IP address from the (Comcast) cable modem, but when I switch to the AirPort Extreme (5th gen, refurbished), it doesn't. It shows an autoconfiguration IP address of the 169.254 variety, suggesting that DHCP isn't working for the AEX. (Just fyi, my girlfriend's macbook can connect to the AEX and get 10.0.1.x IP addresses; I can ping the AEX over wifi.)
    Airport Utiltiy shows a red number 2 with a single error indicating Internet failure to get IP address or something. The suggested solution is power-cycling the modem; failing that, contact the ISP. Contacting Comcast was amusing but useless...they gave me instructions for setting up AEX with a DSL modem -- twice -- without understanding my objection!
    The AEX is configured for DHCP (not Static or PPPoE), and uses all stock settings (I did both a soft reset and used the Airport Utility to restore default settings...not sure if those two are the same).
    I've tried power-cycling the router and cable modem numerous times, including leaving them off for 15+ minutes and leaving the AEX connected for 6+ hours. I tried using the DLink to release the DHCP reservation and then quickly switching the cable over to the AEX.
    I read somewhere that resetting the "CMTS (cable modem termination system)" might help. I mentioned it to the Comcast tech support, but they didn't respond.
    At this point, I'm not sure what else to try. It could be the refurbished unit is broken, but 95% of the time these sorts of things are configuration issues. (I know a fair amount about networking, but I'm new to Apple products so I could be doing something stupid.) I may try connecting the AEX to the LAN side of the DLink to see if it can get a DHCP address from that...but I'm clearly grasping at straws.
    <whimpers>...Help?

    Update: The AEX does get a DHCP address when connected to the LAN side of the DLink gateway. (But the AEX doesn't get one when connected directly to the cable modem. Yet the DLink gets a DHCP address when connected to the cable modem.) So...??!?!!!

  • [E2013] [MailApps] [JS] [Windows]: window.open from a mail app fails in Chrome and Firefox but works in IE

    I develop an Office Mail App which is used in Exchange 2013 On-Premises in my test lab. The mail app is hosted on IIS 8 (Windows Server 2012 R2) in the same LAN and ActiveDirectory domain.
    Opening popup windows from the mail app does only work in IE, not in Chrome and Firefox.
    Here are the details:
    The following server and domain names are changed to hide our internal names. I adjusted the error messages accordingly.
    Exchange 2013 is available at https://e13.some.dom/owa...
    The app content comes from https://server.some.dom/...
    Both the app and exchange server have valid SSL certicates.
    Both server URLs are listed in the popup exception lists of the browsers I use.
    The app generates html with an element which uses onclick to open another item in the same mailbox in a new browser window. Like so:
    <a onclick="window.open('https://e13.some.dom/owa/#viewmodel=ReadMessageItem&ItemID=SomeValidID', '_blank', 'width=600,height=400');">click me</a>
    Clicking that link in Internet Explorer (11.0.9600.17105; Update Versions: 11.0.7) opens a new browser window and shows the message specified with "SomeValidID". All good.
    When I use Chrome (Version 34.0.1847.131 m) the popup browser window opens. I see some progress text "Starting..." and "Almost there..." and then this error:
    something went wrong
    Sorry, we can't get that information right now. Please try again later. If the problem continues, contact your helpdesk.
    X-OWA-Error: ClientError;exMsg=Blocked a frame with origin "https://e13.some.dom" from accessing a cross-origin frame.;file=Error: Blocked a frame with origin "https://e13.some.dom" from accessing a cross-origin frame.    at Error
    (native)    at new _a.$SQ (https://e13.some.dom/owa/prem/15.0.847.32/scripts/boot.0.mouse.js:91:301915)    at Function._z.$GG.$544 (https://e13.some.dom/owa/prem/15.0.847.32/scripts/boot.0.mouse.js:91:662161)    at Function.Program.main
    (https://e13.some.dom/owa/prem/15.0.847.32/scripts/boot.0.mouse.js:91:663563)    at invokeMain (https://e13.some.dom/owa/?bO=1:549:25)    at https://e13.some.dom/owa/?bO=1:601:15:552
    X-OWA-Version: 15.0.847.32
    X-FEServer: E13
    X-BEServer: null
    Date: 1/2/1601 2:52:00 PM
    Firefox 29.0 pops up the window as well. Shows "Starting..." and "Almost there..." and then this error (some text is german although the mailbox language is set to english, its basically the same error intro text like in Chrome):
    Da hat etwas nicht geklappt.
    Diese Informationen können wir momentan leider nicht abrufen. Bitte versuchen Sie es später noch mal. Kontaktieren Sie bitte Helpdesk, wenn das Problem weiterhin auftritt.
    X-OWA-Error: ClientError;exMsg=Permission denied to access property 'popOutManager';file=_a.$SQ@https://e13.some.dom/owa/prem/15.0.847.32/scripts/boot.0.mouse.js:91_z.$GG.$544@https://e13.some.dom/owa/prem/15.0.847.32/scripts/boot.0.mouse.js:91Program.main@https://e13.some.dom/owa/prem/15.0.847.32/scripts/boot.0.mouse.js:91invokeMain@https://e13.some.dom/owa/?bO=1
    X-FEServer: E13
    Date: 08.05.2014 11:58:34
    In Firefox I see the popOutManager-access with "permission denied", but the popup window itself was already opened.
    Seems like the opened popup window tries to open another window?
    When I open up a new browser window in Chrome or Firefox manually and paste the URL (https://e13.some.dom/owa/#viewmodel=ReadMessageItem&ItemID=SomeValidID) manually in the address bar the message is shown correctly, so the URL itself does not seem to be
    the problem.
    Double clicking on messages in Chrome and Firefox opens those messages in new windows as well. So it does not seem to be a general popup problem in Chrome and Firefox as well.
    Any ideas how I get the popups from my mail app working in Chrome and Firefox as well?
    SvenC
    -- SvenC

    Hi
    I face the Same issue then I found that at the end of URL we  use "ispopout=1", I just remove this query string variable ant its work fine 
    The important thing is not to stop questioning - Albert Einstein

  • Mapedit fails when called from Visio, but works in Project

    Hi - 
    I'm writing some vba code in Visio that 1. opens a selected Project file, 2. creates a Map, and 3. exports that map data to Excel. I've got the rest of the code working, but I get an error 1101 / argument value is not valid with this statement.
    The MS Project code that works when run in Project is this: 
                Application.MapEdit name:="visio_HLS_export", Create:=True, OverwriteExisting:=True, _
                DataCategory:=pjMapTasks, CategoryEnabled:=True, TableName:="tasks", _
                FieldName:="Unique ID", ExternalFieldName:="TaskUID", ExportFilter:="IsMilestoneFlag"
    The code in Visio is the same, except the "Application" object is replaced with my MSProject object (mspApp). I've got a similar routine set up to create the "IsMilestoneFlag" filter, and that is working fine. The filter is created in
    the local organizer, then copied to Global.mpt, so it should be able to find it. Not sure what else could be causing the failure. 
    Set mspApp = CreateObject("MSProject.Application") 
            mspApp.MapEdit Name:="visio_HLS_export", Create:=True, OverwriteExisting:=True, _
            DataCategory:=pjMapTasks, CategoryEnabled:=True, TableName:="tasks", _
            FieldName:="Unique ID", ExternalFieldName:="TaskUID", ExportFilter:="IsMilestoneFlag"
    Any ideas? 

    matttjo,
    This might be s shot in the dark, but looking at the MapEdit Method, the only argument that is suspect when controlling Project from another app is the DataCategory argument. All other arguments are either string, or boolean. You might try adding a reference
    to the DataCategory, something like:
    DataCategory:=mspApp.pjMapTask
    Since all arguments of the method are optional, you could try eliminating one at a time (or adding one at a time) and see which one causes the problem.
    Hope this helps.
    John

  • Ssis job fails on scheduled time. But works fine when executed manually in BIDS.

    Message
    Executed as user: Answers\Administrator. Microsoft (R) SQL Server Execute Package Utility  Version 9.00.5000.00 for 64-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  5:00:01 AM  Error: 2014-03-04
    05:00:05.77     Code: 0x00000002     Source: SCT create SSRS Skus Not Agreement Report      Description: The script threw an exception: Object reference not set to an instance of an object. 
    End Error  Error: 2014-03-04 05:01:39.40     Code: 0x00000003     Source: SCR Collect Info      Description: Precompiled script failed to load. The computer that is running the Script Task
    does not have a compiler capable of recompiling the script. To recompile the script, see the Microsoft Knowledge Base article, KB931846  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  5:00:01 AM  Finished:
    5:01:39 AM  Elapsed:  97.782 seconds.  The package execution failed.  The step failed.
    Any input on this would be appreciated.
    Thanks !!!

    Hi Vinay,
    Generally, the error occurs because we deploy the package that contains Script Task/Component across platforms, e.g. from a 32-bit develop environment to a 64-bit production environment, and vice-versa. To avoid this issue, we need to open the package in
    BIDS on the destination server, recompile the Script Task/Component, and redeploy the package. If you have not recompiled the Script Task/Component on the destination server, maybe you deployed the package from a different 64-bit platform.
    Regards,
    Mike Yin
    TechNet Community Support

  • Ever used the Table API (TAPI) with object type in the DB?

    Hi all,
    We are trying to generate the table API of a table that has a column defined by an object type. It works without problems if that column always has a value (is instantiated in object term). The problem is when we update a row where the column is null (all attributes of the object are null thus the object is not instantiated).
    The "before update row" trigger of the Table API fails with error "ora-30625-method dispath on NULL SELF argument is disallowed".
    Any of you guys made it work? If so, how?
    Thanks

    user8879206 wrote:
    Hi friends,
    I have a procedure with object type IN OUT parameters which is used for fetching status. We are calling this from Java. But I want to call it from oracle for testing purpose. I am trying from my end but not able to do it as of now. This is the first time I am dealing with object type.We need more information. What is wrong? Your code looked okay and you did not mention any Oracle errors. What is happening that should not be or not happening that should be?
    You can call the procedure with a simple call in PL/SQL but will not be able to use it in SQL because 1) it is a procedure and 2) it has an OUT argument. A sample call should look something like (untested)
    declare
       x rec2;
       y rec3;
    begin
      --use the arguments rru was defined with as the arguments in the same order: types rec2 (x), rec3 (y)
      rru(x,y);
    end;>
    Any help would be appreciated.
    Details are given below.
    CREATE OR REPLACE TYPE REC1 AS OBJECT
    (RELAY_USAGE VARCHAR2(30)
    ,STATE VARCHAR2(1)
    TYPE REC AS TABLE OF REC1;
    CREATE OR REPLACE TYPE REC2 AS OBJECT
    (GSRN VARCHAR2(18)
    ,METERING_POINT_NAME VARCHAR2(80)
    ,RELAYS REC)
    CREATE OR REPLACE TYPE REC3 AS OBJECT
    (INFO VARCHAR2(2000)
    ,STATUS NUMBER
    PROCEDURE RRU(
    rcRelayControl IN OUT REC2
    , rcResp IN OUT REC3)
    IS
    BEGIN
    APKG.GetDetails(rcRelayControl, rcResp);
    IF rcResp.Status = BPKG.iStatusFailure THEN
    rcResp.Info := BPKG.Get_Message('20889', rcResp.Info);
    END IF;
    END RRU;
    How to call this procedure in oracle?
    Thanks.

  • Can you please tell us why our API fails

    Can you please tell us why our API fails when we use this timezone of Slovakia?
    API Name: jtf_tasks_pub.create_task
    This standard oracle API fails with the error : TIMEZONE FOR 483 IS EITHER DISABLED OR INVALID
    But we do have the Timezone record number 483 in Oracle.
    If we run this query, we see UPGRADE_TZ_ID 483 assigned to Europe/Bratislava
    select * from apps.fnd_timezones_vl
    where UPGRADE_TZ_ID=483
    Please let us know why it fails.

    I'd suggest you log a SR for this issue.
    Thanks,
    Hussein

  • EnumServicesStatusEx failing with ERROR_INVALID_DATA

    Hi all,
    After accidentally creating a service with a display name and service name of "-1", EnumServicesStatusExW() begins to fail in an unexpected, undocumented manner.
    MSDN states the buffer size required can be queried by passing NULL for lpServices and 0 for cbBufSize, where EnumServicesStatusExW will fail with ERROR_MORE_DATA.  After creating a service with a name too short that appears first alphabetically, however,
    this API fails with ERROR_INVALID_DATA instead.  The parameter pcbBytesNeeded is still set correctly regardless of the error, and lpServicesReturned is set to 1 instead of 0.
    Looking a bit deeper into the call I can tell that REnumServicesStatusExW does correctly fail with 0xEA (ERROR_MORE_DATA), but ScConvertOffsets64 fails with the error ERROR_INVALID_DATA when it determines that the ENUM_SERVICE_STATUS_PROCESS structure data
    is malformed.
    ScConvertOffsets64 in this case is only called because REnumServicesStatusExW was actually able to fit the first service entry into the dummy buffer provided (this is normally expected to fail) by EnumServicesStatusExW when lpServices == NULL.

    To clarify, this only happens with 64 bit builds, and the system must be restarted after creating the faulty service for the bug to occur.
    Here is some sample code demonstrating the problem:
    #include <windows.h>
    #include <stdio.h>
    #define PERR(x) fprintf(stderr, x " failed: %d\n", GetLastError())
    DWORD QueryServiceEnumSize()
    SC_HANDLE hScm = OpenSCManager(NULL, SERVICES_ACTIVE_DATABASE,
    GENERIC_READ | GENERIC_WRITE);
    if (hScm == NULL) {
    PERR("OpenSCManager");
    abort();
    SetLastError(ERROR_SUCCESS);
    DWORD service_buffer_size = 0;
    DWORD num_services = 0;
    BOOL success = EnumServicesStatusEx(hScm, SC_ENUM_PROCESS_INFO,
    SERVICE_DRIVER, SERVICE_STATE_ALL, NULL, 0, &service_buffer_size,
    &num_services, NULL, NULL);
    DWORD lasterr = GetLastError();
    if (!success && lasterr != ERROR_MORE_DATA)
    PERR("EnumServicesStatusEx");
    CloseServiceHandle(hScm);
    return lasterr;
    void AddTheService()
    SC_HANDLE hScm = OpenSCManager(NULL, SERVICES_ACTIVE_DATABASE,
    GENERIC_READ | GENERIC_WRITE);
    if (hScm == NULL) {
    PERR("OpenSCManager");
    abort();
    SC_HANDLE hService = CreateService(hScm, L"-1", L"-1", SERVICE_ALL_ACCESS,
    SERVICE_KERNEL_DRIVER, SERVICE_DEMAND_START, SERVICE_ERROR_NORMAL,
    L"C:\\Windows\\system32\\drivers\\foobar.sys",
    NULL, NULL, NULL, NULL, NULL);
    if (hService == NULL) {
    PERR("CreateService");
    abort();
    CloseServiceHandle(hService);
    CloseServiceHandle(hScm);
    void RemoveTheService()
    SC_HANDLE hScm = OpenSCManager(NULL, SERVICES_ACTIVE_DATABASE,
    GENERIC_READ | GENERIC_WRITE);
    if (hScm == NULL) {
    PERR("OpenSCManager");
    abort();
    SC_HANDLE hService = OpenService(hScm, L"-1", SERVICE_QUERY_STATUS | DELETE);
    if (hService == NULL) {
    if (GetLastError() == ERROR_SERVICE_DOES_NOT_EXIST) {
    CloseServiceHandle(hScm);
    return;
    PERR("OpenService");
    abort();
    if (!DeleteService(hService)) {
    PERR("DeleteService");
    abort();
    CloseServiceHandle(hService);
    CloseServiceHandle(hScm);
    int main(int argc, char *argv[])
    printf("Baseline test: %d\n", QueryServiceEnumSize());
    AddTheService();
    // system needs a reboot at this point here
    printf("Faulting test: %d\n", QueryServiceEnumSize());
    RemoveTheService();
    printf("After removal test: %d\n", QueryServiceEnumSize());
    return 0;

  • Ever used the Designer Table API (TAPI) with object type in the DB?

    Hi all,
    We are trying to generate the Oracle Designer table API of a table that has a column defined by an object type. It works without problems if that column always has a value (is instantiated in object term). The problem is when we update a row where the column is null (all attributes of the object are null thus the object is not instantiated).
    The "before update row" trigger of the Table API fails with error "ora-30625-method dispath on NULL SELF argument is disallowed".
    The code that fails is the following:
    cg$ind.TFO_DESCRIPTION :=(:new.TFO_DESCRIPTION IS NULL AND :old.TFO_DESCRIPTION IS NOT NULL )
    OR (:new.TFO_DESCRIPTION IS NOT NULL AND :old.TFO_DESCRIPTION IS NULL)
    OR NOT(:new.TFO_DESCRIPTION = :old.TFO_DESCRIPTION) ;
    In this example, cg$ind.TFO_DESCRIPTION is a boolean and the TFO_DESCRIPTION column is based on an object type.
    Thanks for any feedback or suggestions

    For a solution to this problem: I set down to write a relatively simple and small piece of code that we can use as post compiler or post generator. After we generated one or more TAPIs, we can run this post compiler to remedy the problem the TAPI has with Merge operations. The post compiler will fix the PL/SQL inside the database. It reads the TAPI objects using dbms_metadata, makes the simple change by manipulating the PL/SQL source and then recreates the objects using execute immediate. Using this post compiler, it takes but a few seconds to fix the merge flaw in all TAPIs in your application.
    http://technology.amis.nl/blog/index.php?p=842

Maybe you are looking for

  • How can I sort the words in a document into an alphabetical list?

    How can I sort the words in a document into an alphabetical list? Thanks!

  • Need help on connecting USB: 300GB external hard drive to wireless router

    Hello, I am trying to connect USB2.0 Maxtor 300GB external hard drive to my wireless router. Tried using Linksys new product NSLU2 which allows any USB cable external hard drive to NSLU2 device/network storage hub and then connect this NSLU2 directly

  • Can't display image contextMenu on Linux.

    I'm writing an Flex 3 (same issue in Flex 2)application where right clicking on an image should display my customized ContextMenu. The contentMenu is NOT displayed whenever I execute this application in Firefox on a RedHat Enterprise 4 Linux system.

  • Auto closing of dispute cases--only for some company codes

    Hi We have activated dispute management for several company codes in our system. The auto closing of dispute cases also has been activated in status management. Cases are automatically closed by the system (through a batch job) when the last disputed

  • Running MD06 by Vendor

    Hi, I have a vendor that we purchase about 8 different items from.  These item/vendor has been set up in purchasing info records and my source list is correctly maintained.  The problem I'm having is that when I run MD06 by vendor, I get absolutely n