OAM SDK Error

Hi,
I have an Access Gate installed on my Windows Desktop and wrote a test program with the SDK. I'm able to obtain policy information by using the getPolicyDomains() method and it returns the correct number of policies, etc.
What I really need to do is run a "test" because I want to find out if a certain user will be able to access a certain resource. It doesn't work. I sent my code to someone else and it works for them--using their own OAM installation. So I'm thinking there is something wrong with the way OAM is installed on our boxes.
As I said I can get the policy information, but the testAccess method bombs. Eclipse displays OAM debug information, however I don't get any message from the exception that catches the error--it's just null. i'm testing with user OblixAnonymous to see if he can access abweb4o.
Does this debug output indicate what the problem could be? It's messy. Thank you in advance.
1-6-2011 14:41:19Sending message: 2 17
am=v%3d%201;req%3d+10;admtok%3d+108:39rI0HCmLkTHimbYzCH/tgnhSK9quO/XBiE8LYc4VwmzJaezfCqTYEeckcShklIpVBR0mSv2hghWTXAhu1QD1nfT+M9U++6uE2E9llRTrQc%3d;test%3d%20url%3d%2018:abweb4o/index.html;restype%3d%204:http;op%3d+3:GET;op%3d+4:POST;user%3d+uid%3d%2014:OblixAnonymous;login%3d%2014:OblixAnonymous;;showallowed%3d%20T;showdenied%3d%20T;; sc=true
1-6-2011 14:41:19Received message: 2 17
st=ma%3d57%20mi%3d2%20sg%3d0%20sm%3d am=v%3d+0;except%3dcode%3d+219;p1%3d+251:\Oblix\10143hf\palantir\dblib\src\user_db.cpp:687:%20Error:%20Exception%20re-thrown%20in%20UserDB::CheckUid.%0a\Oblix\10143hf\palantir\dblib\src\user_db.cpp:683:%20Error:%20Unable%20to%20search%20the%20Directory%20Server%20because%20of%20Operation%20not%20supported.%20in%20UserDB::CheckUid.;p2%3d+0:;;
failed with Message=null <--this is the exception message content

Hi Sazama,
Oracle does not usually share its source code, at least without a contract in place.
As you say, if the Policy Manager is happily returning authorisation results for the OblixAnonymous user (and you tested when logged into the Policy Manager as the same user who logs into the AccessGate app) then that does show that ldap is OK, and that Policy Manager is configured correctly to use it. However, with the ASDK application it is the Access Server that will do the search (Policy Manager communicates directly with ldap) so it is worth going into the Identity System Console and checking that the Directory Profile the Access Server is using is setup correctly (compare it with the one the Policy Manager uses, for example). I can't really unserstand what the problem is, or why it would have happened, but I believe that the problem is in that area (though I will keep an open mind, of course :-) ).
I assume that the Access Management Service is also on for the Access Server that the AccessGate connects to?
Regards,
Colin

Similar Messages

  • SDK error while installing Labview 8.2 on Windows 7

    Hello all,
                      I have been trying to install LabVIEW 8.2 version software on Windows 7. I always see an SDK error - 12. I saw an helpful artcle in knowledge base but i am not clear why this is happening?
    Could somebody explain indetail whether LV8.2 is compatible with Windows 7?
    If it is not compatible then i would like install vista or XP on my new Laptop, to work in LV8.2.
    Regards
    Visu

    Hi Viswa,
    Im afraid LabVIEW 8.2 is not compatible with Windows 7. If you wanted to use LabVIEW Windows 7 you would need a later version of LV, such as LabVIEW 2009.
    If you need to use LabVIEW 8.2 then installing Vista or XP on your machine would mean you could.
    Kind Regards
    Michael
    NIUK Application Engineer

  • Flex SDK Error

    I'm trying to setup the Flex SDK locally (the bugquash event over the weekend
    inspired me) and have got everything installed except I'm getting 2 errors after
    I import all of the sample projects:
    1012: The static attribute may be used only on definitions inside a class.
    airframework/airframework/src/mx/core Version.as line 18 1238554510921 1101
    and
    1012: The static attribute may be used only on definitions inside a class.
    rpc/rpc/src/mx/core Version.as line 17 1238554489765 1100
    I should be good to go if I can figure out what I'm doing wrong with these 2
    things.
    This is all that is in those files, but it is the mx_internal static...line that
    is causing the issue (in both projects)
    import mx.core.mx_internal;
    * @private
    * Version string for this class.
    mx_internal static const VERSION:String = "3.4.0.0";
    Any ideas?
    Thanks.

    <div class=Section1><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Your paths look incorrect.  Airframework should not have another<br />airframework in it, and doing so probably throws off the include of version.as<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Alex Harui<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Flex SDK Developer<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><a href="http://www.adobe.com/"><span style='color:blue'>Adobe<br />Systems Inc.</span></a><o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Blog: <a href="http://blogs.adobe.com/aharui"><span<br />style='color:blue'>http://blogs.adobe.com/aharui</span></a><o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><br /><br /><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span<br />style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Gareth Arch<br />[mailto:[email protected]] <br><br /><b>Sent:</b> Thursday, April 02, 2009 6:27 PM<br><br /><b>To:</b> [email protected]<br><br /><b>Subject:</b> Flex SDK Error<o:p></o:p></span></p><br /><br /></div><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal>A new discussion was started by Gareth Arch in <br><br /><br><br /><b>Developers</b> --<br><br />  Flex SDK Error<br><br /><br><br />I'm trying to setup the Flex SDK locally (the bugquash event over the weekend <br><br />inspired me) and have got everything installed except I'm getting 2 errors<br />after <br><br />I import all of the sample projects: <br><br /><br><br />1012: The static attribute may be used only on definitions inside a class. <br><br />airframework/airframework/src/mx/core Version.as line 18 1238554510921 1101 <br><br /><br><br />and <br><br /><br><br />1012: The static attribute may be used only on definitions inside a class. <br><br />rpc/rpc/src/mx/core Version.as line 17 1238554489765 1100 <br><br /><br><br />I should be good to go if I can figure out what I'm doing wrong with these 2 <br><br />things. <br><br /><br><br />This is all that is in those files, but it is the mx_internal static...line<br />that <br><br />is causing the issue (in both projects) <br><br /><br><br />import mx.core.mx_internal; <br><br /><br><br />/** <o:p></o:p></p><br /><br /><p class=MsoNormal><span style='font-family:Symbol'>&middot;</span>  @private <o:p></o:p></p><br /><br /><p class=MsoNormal><span style='font-family:Symbol'>&middot;</span>  Version string<br />for this class. <o:p></o:p></p><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-family:Symbol'>&middot;</span> <br />/ mx_internal static const VERSION:String = &quot;3.4.0.0&quot;; <br><br /><br><br />Any ideas? <br><br />Thanks. <o:p></o:p></p><br /><br /><div class=MsoNormal><br /><br /><hr size=2 width=200 style='width:150.0pt' align=left><br /><br /></div><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>View/reply at <a<br />href="http://www.adobeforums.com/webx?13@@.59b87f68">Flex SDK Error</a><br><br />Replies by email are OK.<br><br />Use the <a<br />href="http://www.adobeforums.com/webx?280@@.59b87f68!folder=.3c060fa3">unsubscribe</a>< br />form to cancel your email subscription.<o:p></o:p></p><br /><br /></div>

  • Any ideas on and error that says:  The operation couldn't be completed. (com.facebook.sdk error 2.)

    I got an error stating: the operation couldn't be completed.  (com.facebook.sdk error 2.)  Any ideas on what is wrong?

    10shamrocks wrote:
    I got an error stating: the operation couldn't be completed.  (com.facebook.sdk error 2.)  Any ideas on what is wrong?
    Not really. Never used Facebook. I'm perfectly content without social media.

  • OAM sdk installation guide

    Can anyone please suggest oam sdk installation guide which i can refer for installation and will be easy to understand for newbies

    Hi,
    Details on installing the 11g Java ASDK can be found in the Developer Guide here: http://docs.oracle.com/cd/E27559_01/dev.1112/e27134/as_api.htm#BABEDJEH
    Regards,
    Colin

  • OIM-OAM integration error

    Have the following:
    OAM - 11.1.1.5
    OIM - 11.1.2
    Following this guide - http://docs.oracle.com/cd/E27559_01/integration.1112/e27123/oim.htm#CHDHGEHJ
    While running idmConfigTool.sh -configOIM script, I get the following errors:
    Mar 13, 2013 10:43:03 AM oracle.idm.automation.impl.oim.handlers.OIMIntegrationHandler performConfigOIMOperations
    WARNING: java.lang.UnsupportedOperationException: Could not find MBean operation "registerThirdPartyTAPPartner(java.lang.String, java.lang.String, java.lang.String, java.lang.String)" for MBean registered un
    der "com.oracle.oam:name=OamWLST,type=oam.wlst,Application=oam_admin,ApplicationVersion=11.1.1.3.0" and implemented by "class oracle.security.am.wlst.management.FoundationConfigMXBeanImpl"
    ~
    Has anyone seen this? Please let me know. I confirmed from support earlier that OAM 11.1.1.5 is supported for integration with OIM 11.1.2.
    Thanks.

    This is a bug. Patch 12733108 (OAM BP02) has to be applied. The script worked fine after the patch.
    Sunil.

  • OAM 11g: Error while importing Custom Authentication Plug-in.

    We are trying to create a sample custom authentication plugin in OAM 11g as per the 11.1.1.5.0 doc.
    But while trying to import the plugin via oamconsole (system configuration->Plugins->Import Plugin) we receive an error "Invalid XML Structure".
    Do we have to embed the XSD (XML Schema Definition) as well ?
    -------------------------SamplePlugin.java-------------------------------------
    import oracle.security.am.plugin.ExecutionStatus;
    import oracle.security.am.plugin.MonitoringData;
    import oracle.security.am.plugin.PluginConfig;
    import oracle.security.am.plugin.authn.AuthenticationContext;
    import oracle.security.am.plugin.authn.AuthenticationException;
    import oracle.security.am.plugin.authn.AbstractAuthenticationPlugIn;
    import java.util.Map;
    import java.util.logging.Level;
    class SamplePlugin extends AbstractAuthenticationPlugIn {
         private static final String CLASS_NAME = "FirstTestClass";
         public ExecutionStatus initialize (PluginConfig config){
              super.initialize(config);
              if(LOGGER.isLoggable(Level.FINE)){
                   LOGGER.logp(Level.FINE,CLASS_NAME,"initialize","Entering initialize");
              return ExecutionStatus.SUCCESS;
         @Override
         public String getDescription() {
              // TODO Auto-generated method stub
              return null;
         @Override
         public Map<String, MonitoringData> getMonitoringData() {
              // TODO Auto-generated method stub
              return null;
         @Override
         public String getPluginName() {
              // TODO Auto-generated method stub
              return null;
         @Override
         public int getRevision() {
              // TODO Auto-generated method stub
              return 0;
         @Override
         public ExecutionStatus process(AuthenticationContext arg0)
                   throws AuthenticationException {
              if(LOGGER.isLoggable(Level.FINE)){
                   LOGGER.logp(Level.FINE,CLASS_NAME,"initialize","Entering process");
              return ExecutionStatus.SUCCESS;
         @Override
         public void setMonitoringStatus(boolean arg0) {
              // TODO Auto-generated method stub
         @Override
         public boolean getMonitoringStatus() {
              // TODO Auto-generated method stub
              return false;
    -------------------------SamplePlugin.java-------------------------------------
    ------------------------SamplePlugin.xml--------------------------------
    <?xml version="1.0" encoding="UTF-8" ?>
    <Plugin name="SamplePlugin" type="Authentication">
    <author>Self</author>
    <email>[email protected]</email>
    <creationDate>09:41:22, 2012-02-05</creationDate>
    <version>1</version>
    <description>SamplePlugin</description>
    <interface>oracle.security.am.plugin.authn.AbstractAuthenticationPlugIn</interface>
    <implementation>SamplePlugin</implementation>
    </Plugin>
    ------------------------SamplePlugin.xml--------------------------------
    ------------------------MANIFEST.MF--------------------------------
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.8.2
    Bundle-Version: 1.0.0.qualifier
    Bundle-Name: SamplePlugin
    Bundle-Activator: SamplePlugin
    Bundle-ManifestVersion: 2
    Created-By: 1.6.0_24-b07 (Sun Microsystems Inc.)
    Import-Package: org.osgi.framework;version="1.3.0",oracle.security.am.
    plugin,oracle.security.am.plugin.authn,oracle.security.am.plugin.api,
    oracle.security.am.common.utilities.principal,oracle.security.idm,jav
    ax.naming,javax.sql,java.management,javax.security.auth
    Bundle-SymbolicName: SamplePlugin
    Bundle-RequiredExecutionEnvironment: JavaSE-1.6
    ------------------------MANIFEST.MF--------------------------------
    Contents of SamplePlugin.jar
    1. SamplePlugin.xml
    2. SamplePlugin.class
    3. META-INF/
    MANIFEST.MF

    I build the Plugin.jar file similarly as above(followed the same steps)..
    But when i log into OAM and trying to import the plugin (System Configuration->Plugins- Import Plugin) the browser goes to hung state and i see below error in logs (domain log and in diag log)
    I see the jar file created in this location (\Middleware\user_projects\domains\IAMdomain\oam\plugins)
    Please let me know if you have any idea..Thanks!
    ####<Feb 29, 2012 1:10:03 PM PST> <Warning> <oracle.adf.controller.internal.metadata.MetadataService> <spsolutions> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <d6305b57ff260991:700b4664:135ca3d69dc:-8000-00000000000003fe> <1330549803273> <BEA-000000> <ADFc: /WEB-INF/adfc-config.xml: >
    ####<Feb 29, 2012 1:10:03 PM PST> <Warning> <oracle.adf.controller.internal.metadata.MetadataService> <spsolutions> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <d6305b57ff260991:700b4664:135ca3d69dc:-8000-00000000000003fe> <1330549803274> <ADFC-52024> <ADFc: Duplicate managed bean definition for 'accessCheck' detected.>
    ####<Feb 29, 2012 1:10:03 PM PST> <Warning> <oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer> <spsolutions> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <d6305b57ff260991:700b4664:135ca3d69dc:-8000-0000000000000402> <1330549803479> <ADF_FACES-60099> <The region component with id: pt1:_lar has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.>
    ####<Feb 29, 2012 1:10:33 PM PST> <Error> <javax.enterprise.resource.webcontainer.jsf.application> <spsolutions> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <d6305b57ff260991:700b4664:135ca3d69dc:-8000-0000000000000593> <1330549833253> <BEA-000000> <java.lang.NullPointerException
    javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190
    ####<Feb 29, 2012 1:10:33 PM PST> <Warning> <oracle.adfinternal.view.faces.lifecycle.LifecycleImpl> <spsolutions> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <d6305b57ff260991:700b4664:135ca3d69dc:-8000-0000000000000593> <1330549833316> <BEA-000000> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5
    javax.faces.FacesException: #{FileProcessor.doUpload}: java.lang.NullPointerException
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.rich.RichPopup$BroadcastContextCallback.invokeContextCallback(RichPopup.java:666)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBa
    >
    ####<Feb 29, 2012 1:10:33 PM PST> <Error> <oracle.oam.admin.console.policy> <spsolutions> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <d6305b57ff260991:700b4664:135ca3d69dc:-8000-0000000000000593> <1330549833361> <OAM-400016> <Failed to authenticate the user
    javax.servlet.ServletException: java.lang.NullPointerException
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
    ####<Feb 29, 2012 1:10:34 PM PST> <Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <spsolutions> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <d6305b57ff260991:700b4664:135ca3d69dc:-8000-000000000000059a> <1330549834008> <ADF_FACES-00009> <Error processing viewId: /plugin-taskflow/authplugins URI: /oracle/security/am/taskflows/authplugin.jsff actual-URI: /oracle/security/am/taskflows/authplugin.jsff.
    javax.el.ELException: java.lang.NullPointerException
         at javax.el.BeanELResolver.getValue(BeanELResolver.java:266)
         at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelCollectionRenderer$PanelCollectionHelper._encodeAll(PanelCollectionRenderer.java:728)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelCollectionRenderer$PanelCollectionHelper.access$500(PanelCollectionRenderer.java:537)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelCollectionRenderer.encodeAll(PanelCollectionRenderer.java:402)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
    ####<Feb 29, 2012 1:10:34 PM PST> <Warning> <oracle.adfinternal.view.faces.lifecycle.LifecycleImpl> <spsolutions> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <d6305b57ff260991:700b4664:135ca3d69dc:-8000-000000000000059a> <1330549834020> <BEA-000000> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    javax.faces.FacesException: javax.el.ELException: java.lang.NullPointerException
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:804)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:294)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:214)

  • OAM customization error

    I wanted to change the font colour of user manager application to red.To get this done i followed the instructions given in the document.the steps have been done in the process are as below.
    2.5.1 Prerequisites to Customizing Styles
    Be sure to complete the following prerequisites before you start to customize a style. This enables you to keep the original Classic Style (\style0) intact for reference and in case you need to return to it as a last resort.
    To prepare to customize styles
    As an Identity Administrator, add your own named style as described in the Oracle Access Manager Identity and Common Administration Guide.
    The original style stays in effect until an Identity Administrator makes your style the new system default.
    As an Identity Administrator, select the new style as the default style so that you can see the effect of any changes you make.
    2.5.2 Customization Facts
    Style Updates and Maintenance: Default wrapper files in \style0 and default global stylesheets in \shared are periodically updated to instantiate improvements through patches and product upgrades.
    The Release Notes notify you when such updates occur so you can propagate the changes to your custom styles. Oracle recommends that you compare the new file with your custom file and propagate any changes to your custom styles. It is risky to overwrite a default style with a customized style that bears the same name.
    Be sure to record the changes you make and the files that are involved so you can more quickly update custom stylesheets when you update default styles.
    Custom Directory: Stylesheet customization should occur only within your custom directory. Customized stylesheets must reside in your custom directory and relative pointers in all files must point to the files in your custom directory, not to files in \shared.
    Registration Files: As discussed in "General Content of Registration Files", a common registration file and each application's registration file contain the names of the stylesheets and schema files needed to present pages for the application. For example, when you look at the User Manager registration file in identity\oblix\apps\userservcenter\userservcenterreg.xml, you can see the application name and the names of the stylesheets the application calls during the completion of various functions.
    Also, given the application and the program name, you can locate the corresponding schema file name in the application's registration file.
    Oracle recommends that only experienced developers using extreme care consider editing a registration file. Registration files are covered in more detail at "Registration Files".
    Pointers: All wrapper files and stylesheets contain pointers as include statements that call another file. Most of these pointers are relative pointers that indicate where within the directory structure the file is without providing an absolute path name.
    For example, when you look at the usc_profile.xsl stylesheet called by User Manager functions, you can see that it contains include statements with relative pointers that call the following files:
    ./basic.xsl
    ./selectorinfo.xsl
    ./usc_searchform.xsl
    ./usc_navbar.xsl
    When you change the location of a file (place a copy of a stylesheet in your custom directory for customization), pointers to this file (whether relative or absolute) must be changed to reflect the new location in every file that calls it. All relative pointers in a stylesheet should point to files in your custom directory.
    In addition, many stylesheets contain relative pointers to object files. If Oracle Access Manager cannot instantiate an object when the page is loaded, unexpected behavior may result. All relative pointers to object files should be absolute pointers, as discussed in "Editing Stylesheets".
    Wrapper Files: Wrapper files include pointers to actual stylesheets in \shared. However, you cannot be assured that a wrapper file is called before the stylesheet because both the common registration file and the application's own registration file call stylesheets according to an internal ordering. For this reason, all wrapper files in your custom directory must be overwritten by a copy of the corresponding default stylesheet from the \shared directory.
    Important:
    Customizing stylesheets is an iterative process. Attempting to copy the entire contents of \shared into your custom directory at one time produce an error.
    Rather than copying all stylesheets at once, you start by investigating registration files to learn which functions (programs) call which stylesheets. You then selectively copy base stylesheets and a function-related stylesheet into your custom directory to overwrite their wrapper files, as discussed in "Copying Stylesheets to Your Custom Directory". You then customize and test the style for that function. When this returns satisfactory results you repeat the process to customize another function.
    2.5.3 Customization Guidelines
    The following guidelines should help ensure a successful customization.
    Retain all original files in the \style0 and \shared directories in pristine condition and store them safely for future use. Also, make a backup copy of your customized style files so that patches won't disrupt your customization.
    Record all changes you make and the files that are affected.
    Customize and test your new styles in a non-production environment before migrating them to your production environment.
    Important:
    Oracle recommends that you do not modify original style files in the \shared or \style0 directories. These may be overwritten by patch updates and product upgrades or you may want to refer to them later.
    When you use only one style, consider breaking the dependence on stylesheets in the \shared directory (again, to prevent patch\release updates to \style0 and \shared from disrupting customizations). This means that no stylesheet in your custom directory should inherit from or reference a stylesheet in \shared or \style0.
    When you use multiple custom styles, consider the pros and cons of sharing customizations between multiple custom styles with implementing individual customizations for each custom style. For example:
    Two styles that share the same stylesheet: When two custom styles (custom_style1 and custom_style2) can share the same stylesheet you may be tempted to customize the stylesheet in the \shared directory despite the risk of having your custom style overwritten by an updated stylesheet in a product patch or upgrade.
    Two individual styles: When two custom styles (custom_style1 and custom_style2) require their individually customized stylesheets you use the standard methodology and overwrite the wrapper files in your custom directory with the corresponding stylesheets in \shared.
    Consider using parameter stylesheet files for a custom style collection, rather than using hard-coded values (tab id's, attribute names, table/link properties, and so on); this is similar to how program code is written using header files.
    2.5.4 Customization Methodology Checklist
    As mentioned earlier, customization is an iterative process and more of an art than a science. This Guide does not attempt to give precise instructions for getting the presentation you want. Instead, this section outlines the recommended approach for a minor change.
    Important:
    Oracle recommends that you focus on stylesheets for one function at a time. Attempting to copy all stylesheets from \shared into your custom style directory results in an error.
    Table 2-28 Customization Methodology Checklist
    Check Action Description
    Add a New Style
    See the Oracle Access Manager Identity and Common Administration Guide for details about adding a style and selecting your new style as the default.
    Choose a Function to Customize
    Decide which function to customize first. Oracle recommends that you customize stylesheets related to one function at a time.
    Copy Selected Stylesheets into Your Custom Directory
    Copy selected stylesheets from \shared to your custom directory to overwrite corresponding wrapper stylesheets:
    Base stylesheets
    Stylesheets included in base stylesheets
    A function-related stylesheet identified in application registration file
    Function-related stylesheets identified in oblixbasereg.xml
    Customize Stylesheets in Your Custom Directory
    Change relative pointers in copied stylesheets to point to files in your custom directory.
    Change relative pointers to objects to absolute pointers.
    Complete other changes to implement the function's customization.
    Record Your Work
    Keep a record of the files you change and the changes you make.
    Copy Your Custom Directory Structure to WebPass
    Build a custom directory structure on WebPass and copy customized styles and images into it.
    Note: On WebPass, stylesheets are used only for client-side processing and are not required for server-side processing.
    Test Your Customized Style
    Test the customized style and make any alterations you need to the stylesheets in your custom directory.
    Record the changes.
    Customize Another Function
    Repeat this process on a function by function basis:
    Choose a function.
    Copy related stylesheets from \shared to your custom directory.
    Customize pointers and styles.
    Record and test your work.
    Propagate the Customized Style
    When you have copied and customized all stylesheets for the application, copy the custom style directory to all Identity Servers and WebPass hosts in your environment.
    2.6 Customizing the Identity System Pages
    This example shows a method for changing the way a page looks, without changing what it does. The change is a simple font color alteration for a specific page in one application. After making the change you must verify that the change is successful. When you finish this functional customization, you must create the same custom style directory structure on WebPass and copy all image files into it so WebPass can display the appropriate images in response to queries. You then test the implementation.
    The following topics demonstrate one sequence in the "Customization Methodology Checklist". You can complete the following procedures to gain first-hand experience:
    Task overview: Customizing Identity System pages includes
    Completing Prerequisites
    Choosing a Function to Customize
    Copying Stylesheets to Your Custom Directory
    Editing Stylesheets
    Copying Images and Styles to WebPass
    Testing Your Customized Style
    Propagating Styles
    See also:
    For details about localizing messages, see "Localizing XSL Files".
    2.6.1 Completing Prerequisites
    A prerequisite to customizing a style is to add a style and select the new style as the default, as described in the Oracle Access Manager Identity and Common Administration Guide. The resulting files and file structure provide the foundation for your customization.
    Suppose you added a new style named Pastel in a directory named Pastel and requested files be copied from Classic Style (in directory \style0).
    To confirm the results of adding a new style
    Add a style and select it as the default, as described in the Oracle Access Manager Identity and Common Administration Guide.
    New Custom Directory: Oracle Access Manager creates a directory that duplicates \style0 for the default language, English. If you have installed a Language Pack for French, Oracle Access Manager also creates a directory that duplicates \style0 in the French language directory.
    Locate your new custom directory.
    For example:
    Identity_install_dir \identity\oblix\lang\en-us\Pastel
    Identity_install_dir \identity\oblix\lang\fr-fr\Pastel
    Wrapper Stylesheets: Your custom directory contains wrapper stylesheets that point to actual stylesheets in another directory. If you selected the Classic Style to copy from, your custom directory duplicates the content of the \style0 directory.
    Open a wrapper stylesheet in your new custom directory, basic.xsl, and review the files that it includes.
    For this example:
    Identity_install_dir\identity\oblix\lang\en-us\Pastel\basic.xsl
    <?xml version="1.0" ?>
    - <!-- Copyright (c) 1996-2005, Oracle Inc. All Rights Reserved.
    -->
    - <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:oblix="http://www.oblix.com/">
    <xsl:include href="./style.xsl" />
    <xsl:include href="../msgctlg.xsl" />
    <xsl:include href="../../shared/basic.xsl" />
    </xsl:stylesheet>
    The basic.xsl wrapper stylesheet includes the following three files:
    style.xsl file in your custom directory
    msgctlg.xsl, one directory up from your custom directory (in identity\oblix\lang\en-us)
    basic.xsl in identity\oblix\lang\shared
    Locate and review the content of the basic.xsl stylesheet in \shared.
    For example:
    Identity_install_dir\identity\oblix\lang\shared\basic.xsl
    <?xml version="1.0" ?>
    - <!-- Copyright (c) 1996-2002, Oblix Inc. All Rights Reserved. -->
    - <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:oblix="http://www.oblix.com/">
    <xsl:include href="obstringutil.xsl" />
    - <!-- xsl:output indent="no"/ -->
    <xsl:include href="font.xsl" />
    <xsl:include href="title.xsl" />
    The basic.xsl stylesheet in the \shared directory includes additional files (font.xsl, title.xsl, obstringutil.xsl) and provides templates to define attributes and status and control display information. See "basic.xsl" for more information.
    During your customization process, you copy selected stylesheets from the \shared directory into your custom directory. This overwrites wrapper files with corresponding stylesheets you can then edit in your custom directory.
    New Custom XML Document: In addition to the custom directory structure, when you select the new custom style as the default style, Oracle Access Manager creates an XML document (a duplicate of style0.xml) named after the directory you created.
    Locate and open the custom xml document that was created when you added the new style.
    For this example:
    Identity_install_dir\identity\oblix\config\style\Pastel.xml
    <?xml version="1.0" ?>
    - <ParamsCtlg xmlns="http://www.oblix.com" CtlgName="style0">
    - <ValNameList ListName="">
    <NameValPair ParamName="styleReady" Value="TRUE" />
    </ValNameList>
    </ParamsCtlg>
    This new file, stored with style0.xml, provides the status of your custom style and the location of the original style directory from which wrapper files were copied. For example, if your custom style directory is named Pastel and you copied from Classic Style, the Pastel.xml file is created when you select Pastel as the default style.
    You do not need to edit this file. The original style0.xml remains unchanged. Also, there is a .lck version, Pastel.xml.lck, which is a lock file. No other new files are created when you add a new style.
    Updated styles.xml: The styles.xml file is updated to include a new NameValPair that provides both the directory and style names you supplied when creating the style.
    Locate and open the styles.xml file to confirm it was updated with your new style information.
    For example:
    Identity_install_dir\identity\oblix\config\style\styles.xml
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    - <ValNameList xmlns="http://www.oblix.com" ListName="styles.xml">
    <NameValPair ParamName="style0" Value="Classic Style" />
    <NameValPair ParamName="Pastel" Value="Pastel" />
    </ValNameList>
    In this example, both the default Classic Style and new custom Pastel style are identified. You do not need to edit this file.
    After confirming your custom directory structure, new and updated files, you are ready to choose a function and begin your customization.
    2.6.2 Choosing a Function to Customize
    The first step in the customization process is to choose a function to customize. For this example, suppose you want to change the font color to red on a specific page of the User Manager without changing anything else.
    To identify the function and source information
    Log in to the Identity System, as usual.
    Navigate to the desired page.
    For this example, click:
    Identity System Console, User Manager, and then click My Identity
    The page appears, as shown in Figure 2-6.
    Figure 2-6 Customization Example: A User Manager Page Displays Red Text
    The following information on each Identity System application page is useful for customizing styles:
    Application Name: The application name, User Manager, appears on a highlighted tab in the top left area of the screen.
    Each application's \bin directory contains the registration file that you need to identify functions. See "Registration Files".
    Page Name: The page name, in this example it is My Profile, is the first page that you want to customize so you can see text in a red font color.
    Registration File Path: The URL for each page includes a path to the application page, for example, identity\oblix\apps\userservcenter\bin\userservcenter.cgi. You can use this to locate the relevant registration file on the Identity Server.
    Function Name: The URL for each page also includes a segment, program=view in this case, that you can use to locate the relevant stylesheet name for the function in the registration file.
    Record the required information to assist you during the customization.
    For this example:
    Application: User Manager
    Page: User Profile
    Registration File Path: Identity_install_dir\identity\oblix\apps\userservcenter\bin\
    Function: program=view
    2.6.3 Copying Stylesheets to Your Custom Directory
    Once you have identified the function you want to customize, your next task in any customization is to copy relevant stylesheets into your custom directory from the \shared directory. This activity overwrites wrapper files in your custom directory with copies of stylesheets you can customize. This also retains the original stylesheets in \shared as well as the original default wrappers in \style0.
    Locating and copying relevant stylesheets is an iterative process in itself. In the following procedure you must locate and copy:
    Base stylesheets
    Stylesheets included in base stylesheets
    The specific function-related stylesheet identified for the program in the application's registration file, in this case the stylesheet associated with program=view
    Stylesheets included in the function-related stylesheet
    Eventually your custom directory must contain all stylesheets, including those identified in the application's registration file and in oblixbasereg.xml. Even if you do not need to edit a stylesheet, it must be copied to your custom directory.
    Important:
    Copying stylesheets is an iterative process that must be done in a selective manner. Attempting to copy all stylesheets from \shared to you custom directory at one time results in an error.
    To locate and copy relevant stylesheets
    Copy the base stylesheets to your custom style directory from \shared to overwrite the default wrappers with stylesheets you can customize.
    For example:
    Copy from: Identity_install_dir\identity\oblix\lang\en-us\shared\ basic.xsl, font.xsl, searchform.xsl, navbar.xsl, title.xsl
    Copy to: Identity_install_dir\identity\oblix\lang\en-us\Pastel\
    This retains the original base stylesheets in \shared as well as the original default wrappers in \style0.
    Open each base stylesheet in your custom style directory and locate include statements that point to other stylesheets you must copy, as well as any style information you need to customize.
    For this example, see Table 2-29:
    Table 2-29 Base Stylesheet Pointers and Items to Customize
    Base Stylesheets in Custom Directory Pointers to Related Stylesheets and Items to Customize
    basic.xsl
    Contains implied relative include pointers to other stylesheets you need in your local custom directory:
    <xsl:include href="obstringutil.xsl" />
    <xsl:include href="font.xsl" />
    <xsl:include href="title.xsl" />
    Record the names of additional stylesheets you must copy into your custom directory from \shared. In this case, obstringutil.xsl.
    font.xsl
    Does not contain include pointers to other files.
    Does contain color information you can customize:
    <xsl:variable name="subHeadingColor">#006699...
    <xsl:variable name="contentTitleColor">#000000...
    <xsl:variable name="contentTextColor">#000000...
    searchform.xsl
    Does not contain include pointers to other files.
    Does not contain color information to customize. No changes needed to this stylesheet in your custom directory.
    navbar.xsl
    Does not contain include pointers to other files.
    Does contain color information you may customize later.
    title.xsl
    Does not contain include pointers to other files.
    Does contain color information you may customize later. No changes needed to this stylesheet in your custom directory.
    Copy stylesheets included in base stylesheets to your custom directory from \shared.
    For this example, obstringutil.xsl:
    Copy from: Identity_install_dir\identity\oblix\lang\en-us\shared\ obstringutil.xsl
    Copy to: Identity_install_dir\identity\oblix\lang\en-us\Pastel\obstringutil.xsl
    Record the stylesheets you have copied from \shared to your custom directory so you can track your work.
    Locate the required registration files.
    For this example, oblixbasereg.xml and userservcenterreg.xml:
    Identity_install_dir\identity\oblix\apps\common\bin\oblixbasereg.xml Identity_install_dir\identity\oblix\apps\userservcenter\bin\ userservcenterreg.xml
    At some point, you typically need stylesheets included in the common registration file oblixbasereg.xml. However, stylesheets included in oblixbasereg.xml are not needed for this example.
    For this example, you must locate only the function-related stylesheet in the userservcenterreg.xml file.
    Open the application's registration file and locate the function-related stylesheet you need.
    For this example, locate ObProgram name="view":
    <?xml version="1.0" ?>
    - <ObProgramRegistry>
    - <ObApplication name="userservcenter">
    - <ObProgram name="front">
    <ObStyleSheet name="usc_profile.xsl" />
    <ObSchema name="usc_front.xsd" />
    </ObProgram>
    - <ObProgram name="commonNavbar">
    <ObStyleSheet name="usc_profile.xsl" />
    <ObSchema name="usc_front.xsd" />
    </ObProgram>
    - <ObProgram name="view">
    <ObStyleSheet name="usc_profile.xsl" />
    <ObButton name="initiateDeactivateUser" />
    - <!-- ObButton name="manageSubscriptions"/ -->
    <ObButton name="userreactivate" />
    <ObButton name="wfTicketDelete" />
    <ObButton name="userModify" />
    <ObSchema name="usc_profile.xsd" />
    </ObProgram>
    You can see in the registration file that the usc_profile.xsl stylesheet is associated with the function you want to customize (ObProgram name="view"). The usc_profile.xsl stylesheet is also associated with a number of other functions.
    Copy the function-related stylesheet, usc_profile.xsl, to your custom style directory from \shared and record the stylesheet name.
    For this example:
    Copy From: Identity_install_dir\identity\oblix\lang\en-us\shared\ usc_profile.xsl
    Copy To: Identity_install_dir\identity\oblix\lang\en-us\Pastel\ usc_profile.xsl
    Open the function-related stylesheet and locate include statements that point to other stylesheets you must copy, record any information you plan to customize.
    For this example, usc_profile.xsl:
    Table 2-30 usc_profile.xsl Pointers and Items to Customize
    usc_profile.xsl in Custom Directory Pointers to Related Stylesheets and Items to Customize
    usc_profile.xsl
    This main stylesheet for the User Manager includes stylesheets that must be copied to your custom directory:
    <xsl:include href="./basic.xsl" />
    <xsl:include href="./selectorinfo.xsl" />
    <xsl:include href="./usc_searchform.xsl" />
    <xsl:include href="./usc_navbar.xsl" />
    Note: selectorinfo.xsl, usc_searchform.xsl and usc_navbar.xsl should be copied.
    Also record pointers to objects that should be customized:
    <object id="cenroll" classid= ...
    codebase="../../common/bin/xenroll.cab" />
    and
    <script src="../../common/bin/installCert.vbx" ...
    Repeat steps to copy relevant stylesheets, then record their names and details you plan to change.
    For this example:
    Copy From:
    Identity_install_dir\identity\oblix\lang\en-us\shared\selectorinfo.xsl
    Identity_install_dir\identity\oblix\lang\en-us\shared\usc_searchform.xsl
    Identity_install_dir\identity\oblix\lang\en-us\shared\usc_navbar.xsl
    Copy To:
    Identity_install_dir\identity\oblix\lang\en-us\Pastel\selectorinfo.xsl Identity_install_dir\identity\oblix\lang\en-us\Pastel\usc_searchform.xsl Identity_install_dir\identity\oblix\lang\en-us\Pastel\usc_navbar.xsl
    These stylesheets do not contain include statements, other stylesheet names, nor parameters you need to change.
    You have collected, copied, and recorded relevant stylesheets for this example.
    2.6.4 Editing Stylesheets
    After copying relevant stylesheets, you may need to edit them. As described in Table 2-29 the information that needs to be customized for this example includes:
    Font colors defined in the base stylesheet font.xsl should be changed to red.
    Pointers to objects defined in usc_profile.xsl should change from a relative path to an absolute path.
    Note:
    To help streamline development and testing, consider implementing XSL stylesheet control parameters. See "Caching Considerations".
    To edit stylesheets for a simple font color change
    Open the font.xsl stylesheet in your custom directory in a text editor.
    For example,
    Identity_install_dir\identity\oblix\lang\en-us\Pastel\ font.xsl
    Edit the stylesheet to change all colors from the default color to red (FF0000), then save the change.
    For example,
    Change all Default Font Colors From:
    ... <xsl:variable name="pageHeaderColor">#006699</xsl:variable>
    <xsl:variable name="subHeadingColor">#006699</xsl:variable>
    <xsl:variable name="contentTitleColor">#000000</xsl:variable>
    <xsl:variable name="contentTextColor">#000000</xsl:variable>
    and others ...
    To Red (#FF0000):
    ... <xsl:variable name="pageHeaderColor">#FF0000</xsl:variable>
    <xsl:variable name="subHeadingColor">#FF0000</xsl:variable>
    <xsl:variable name="contentTitleColor">#FF0000</xsl:variable>
    <xsl:variable name="contentTextColor">#FF0000</xsl:variable>
    and others ...
    Record your changes to this file.
    If you restarted the Identity Server now you would not yet see your changes. This is because you have not yet customized the function-related stylesheet that identifies where to apply the changes.
    Edit the basic.xsl stylesheet in your custom directory as follows to add required include statements that were in the original basic.xml (but were lost when you copied over the basic.xsl from the shared folder).
    Locate the line containing the following:
    <xsl:include href="obstringutil.xsl"/>
    Add the following information so that it precedes the line identified in a):
    <xsl:include href="./style.xsl" />
    <xsl:include href="../msgctlg.xsl" />
    Edit the usc_profile.xsl stylesheet in your custom directory to change the relative path to objects, as shown in the following, then save the changes.
    For example:
    Change From a Relative Path:
    - <head>
    ...<object id="cenroll" classid="clsid:43F8F289-7A20-11D0-8F06-00C04FC295E1" codebase="../../common/bin/xenroll.cab" />
    ... <script src="../../common/bin/installCert.vbx" language="VBScript" />
    </head>
    Change To an Absolute Path:
    - <head>
    ... <object id="cenroll" classid="clsid:43F8F289-7A20-11D0-8F06-00C04FC295E1" codebase="/identity/oblix/apps/common/bin/xenroll.cab" />
    ... <script src="/identity/oblix/apps/common/bin/installCert.vbx" language="VBScript" />
    </head>
    This concludes the specific function-related change for this example.
    Ensure that file system access control for new custom style directories and files is set to match the ownership and permissions of \style0.
    Restart the Identity Server.
    If you log in to the Identity System now and view the My Identity page, you see the red font color. However, the images supplied by WebPass won't appear until they are included in a corresponding custom style directory structure on the WebPass host.
    After doing this i checked user manager application then iam being displayed the following error page.
    style shhet error report form.
    an error has occured while executing the application.
    your browser does not support sending email automatically.
    please send email to <a=" "><\a> with the following information.
    you name
    email adress
    make sure to append the trace back in the mail
    in the log file errors have been given as below
    Error: ExXSLTProcessingGeneric: Exception processing stylesheet. Root stylesheet ID: ../../../lang/en-us/pastel2/usc_profile.xsl     
    "Failed to compile XSL file."     XSL file:^../../../lang/en-us/pastel2/usc_profile.xsl     
    Error: ExXSLTProcessingGeneric: Exception processing stylesheet. Root stylesheet ID: ../../../lang/en-us/pastel2/usc_profile.xsl     
    "OIS_LOG_PASSED_ERROR"     Error^writer\obhtmlpage.cpp:276: Error: ExXSLTProcessingGeneric: Exception processing stylesheet. Root stylesheet ID: ../../../lang/en-us/pastel2/usc_profile.xsl

    Hi Matt,
    I think the page you are being redirected to is servererror.jsp, which is deployed within oam-server.ear, within its own ngsso-web.war application. You could deploy your own version of this. I assume you could also modify the ErrorPage setting in oam-config.xml to define your own page, though I have not tested this. This would be a customisation, so you would be responsible for the system behaviour when doing this.
    Regards,
    Colin

  • CS5 SDK Error compiling Adobe examples.

    Hi,
    I downloaded the trial version of Illustrator CS5 and the CS5 SDK to be able to adapt my plugins.
    These plugins are for CS4.
    Each time I try to compile one of the samples provided in the CS5 SDK, I have the same error
    error: extra qualification 'AIPlatformFileDlgOpts::' on member 'AIPlatformFileDlgOpts'
    Do you Know what to modify to avoid this error.
    I use XCode 3.2.2 and MacOS.
    Please help me.
    JLG.

    I just had the very same problem. I changed the compiler from GCC 4.2 to GCC 4.0 in the project settings. That did the trick.

  • Flex SDK error - ImportRecord cannot be cast to DefineFont

    Hello, I'm using the FlexSDK, tried both stable and latest version from svn.
    Trying to Embed a source file into actionscript that is a swf containing an ImportRecord2 field that
    pulls in a font from an external swf to it.
    Gives this error message, works fine if the font is included manually.
    Error: Unable to create source hmt_test_asset.: flash.swf.types.ImportRecord cannot be cast to flash.swf.tags.DefineFont
    [Embed(source='../resources/test.swf')]
    Is this documented and intended behavior?  What could be some possible workarounds for this?
    If this is a bug, do I need to get the smallest possible swf reproducing the error?
    Thanks,
    Robert Peters

    Please file a bug with a small test case.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Java SDK - error running demo on OS X

    I'm trying to run the java calendar demo using the 9.0.4 developer package on OS X/Darwin (10.3.2)with Java 1.4.2_03. It compiles fine, but I get an error when I run it. Below are the environment variables and error messages.
    SDK_DIR=/Users/jeffreym/Desktop/cal_sdk_mac_904
    LD_LIBRARY_PATH=/Users/jeffreym/Desktop/cal_sdk_mac_904/lib:/Users/jeffreym/Desktop/cal_sdk_mac_904/java
    CLASSPATH=/Users/jeffreym/Desktop/cal_sdk_mac_904/java/csdk.jar:.
    [cal_sdk_mac_904/demo/java] jeffreym% java calendar
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no csdkjni in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
    at java.lang.Runtime.loadLibrary0(Runtime.java:788)
    at java.lang.System.loadLibrary(System.java:834)
    at oracle.calendar.sdk.Api.<clinit>(Api.java:63)
    at calendar.main(calendar.java:21)
    There is a library, libcsdkjni.jnilib, in $SDK_DIR/java, though it isn't satisfying the call. Any ideas? -Jeff

    The file in the OS X distribution is libcsdkjni.jnilib. I tried the demo on Solaris, and it does work there. The Solaris distribution has a libcsdkjni.so file. How should I resolve the difference on the OS X distribution?
    Thanks,
    Jeff

  • Acrobat SDK Error

    I try to print (not creating!) PDF files from code (C#) without user intervention. The software I developed is a C# console application which use some objects of SDK Acrobat 9.0.
    I only have the Adobe Reader 9 installed on the deploying machine - I do not want to install te Acrobat Pro - is this possible? If it is, then how?
    Bcz, I get this error:
    Retrieving the COM class factory for component with CLSID {72498821-3203-101B-B02E-04021C009402} failed due to the following error: 80040154.

    Thank you lrosenth.
    One of the objects I use in my app is AcroAVDoc or AcroPDDoc and I call the Print method doc.PrintPagesSilent(0, pageCount - 1, 3, 1, 1);
    I understand, there is no COM APIs available in Reader and then I must install Acrobat Pro, on the deploying machine?
    The other solution:
    I do not think I'm wrong, but there is no DDE in Acrobat Pro 9.0?
    "Command line" - Do you mean the shell command line...?
    Thank you very much!
    Tom

  • OAM An error has occurred! nection refused

    I have problem in the OAM, when I try configurate the Workflow Notification mailer. I have this problem.
    An error has occurred! nection refused
    /u01/oracle/TEST/inst/apps/TEST_srvrcotest/logs/appl/rgf/oam
    [10:11:43:22, 12/16/11] java.lang.RuntimeException: Connection refused
    at oracle.apps.fnd.wf.mailer.MailerUtils.isSocketConnectableNew(MailerUtils.java:300)
    at oracle.apps.fnd.wf.mailer.SMTPUtils.isValidOutbound(SMTPUtils.java:522)
    at oracle.apps.fnd.wf.mailer.Mailer.validateParameterValues(Mailer.java:1238)
    at oracle.apps.fnd.cp.gsc.SvcComponent.performValidateParameterValues(SvcComponent.java:233)
    at oracle.apps.fnd.cp.gsc.SvcComponent.performValidateParameterValues(SvcComponent.java:127)
    at oracle.apps.fnd.cp.gsc.server.SvcComponentEO.validateParamVals(SvcComponentEO.java:1914)
    at oracle.apps.fnd.cp.gsc.server.SvcComponentEO.updateParamVals(SvcComponentEO.java:1539)
    at oracle.apps.fnd.oam.servlet.ui.handlers.gsc.SvcCompParamsHandler.submitParameterData(SvcCompParamsHandler.java:861)
    at oracle.apps.fnd.wf.oam.handlers.mlrConf.WfGscMlrParamsHandler.doSubmitParameters(WfGscMlrParamsHandler.java:175)
    at oracle.apps.fnd.wf.oam.handlers.mlrConf.WfGscMlrBasicCEWizHandler.doCreateEditComponent(WfGscMlrBasicCEWizHandler.java:268)
    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 oracle.cabo.servlet.event.MethodEventHandler.handleEvent(Unknown Source)
    at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
    at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
    at oracle.cabo.servlet.event.BasePageFlowEngine.handleRequest(Unknown Source)
    at oracle.apps.fnd.oam.servlet.ui.oamPageFlowEngine.handleRequest(oamPageFlowEngine.java:799)
    at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
    at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source)
    at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
    at oracle.apps.fnd.oam.servlet.ui.OAMServlet.doGet(OAMServlet.java:268)
    at oracle.apps.fnd.oam.servlet.ui.OAMServlet.doPost(OAMServlet.java:149)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    Regards,
    Guido

    Please post the details of the application release, database version and OS.
    I have problem in the OAM, when I try configurate the Workflow Notification mailer. I have this problem. At what step you get this error?
    [10:11:43:22, 12/16/11] java.lang.RuntimeException: Connection refusedPlease do a telnet test to ensure you can access the SMTP server from the OS -- How to Perform a Meaningful SMTP Telnet Test to Troubleshoot Java Mailer For Sending Email Notifications [ID 753845.1]
    Also, check the Workflow/Apache log file for any details about the error.
    Thanks,
    Hussein

  • Custom Action - SDK -error

    Based on the "Developing Custom Action in in SAP MII 12.1" i encountered error while running the action block in BLS. In Link Editor I assign 2 values in Inputs and Output to a tracer. When I execute this BLS, I receive following error
    [ERROR] [Tracer_0] Link ('Tracer_0.Message' [Assign] from "SimpleAction_0.Output") execution threw an exception. Exception: Invalid variable: SimpleAction_0.Output [Unknown variable: SimpleAction_0.Output
    [ERROR] [Tracer_0] Action: Runtime threw an exception. Exception: [Invalid variable: SimpleAction_0.Output Unknown variable: SimpleAction_0.Output
    The code is exactly like in the document
    package customactions;
    import com.sap.lhcommon.common.*; // Needed for the VariantDataTypes and
    import com.sap.lhcommon.exceptions.DataConversionException;
    // VariantData types.
    import com.sap.xmii.bls.sdk.*; // This is the main SDK for custom actions.
    * This is a simple action construct used to show how to use some of the basic
    * MII 12.1 Custom Action constructs.
    public class SimpleActions {
    * To ensure the parameters are always named the same, it is good practice to
    * create a static final string with the parameters name. This also make it
    * easy to use across actions.
    private static final String PARAM_OUTPUT = "Output";
    * Describes a simple action that adds two numbers together.
    * @param instance This is the action instance. This is the main interface
    * from the action code back into the transaction engine. Most
    * users will only need to set their variables through this
    * interface, though much more powerful operations are also
    * available.
    * @param in1 This is an input into the action. The type is detected by the
    * transaction engine and automatically cast to the correct value.
    * @param in2 This is a second input.
    * @throws InvalidVariableException This exception is
    @Action(name = "AddTwoNumbers") // This annotation tells the engine that this
    // is an action available to execute.
    @Outputs(names = { PARAM_OUTPUT },
    types = { VariantDataTypes.INTEGER }) // This annotation tells
    // the engine that one
    // integer output called
    // 'Output' is going to be
    // returned.
    public static void addTwoNumbers(
    IActionInstance instance, // Besides the basic types, the
    // IActionInstance interface is the only
    // other type allowed to be defined in
    // parameter list of a custom action.
    @Input(name = "Input1") int in1, // @Input annotations are used to
    // indicate the user modifiable
    // inputs to this action.
    @Input(name = "Input2") int in2)
    throws InvalidVariableException { // Exceptions can be thrown directly from
    // the actions without causing critical
    // execution failures. These exceptions
    // will be caught and logged by the engine
    // and will cause the Success flag to be
    // set to false.
    // The following code describes how to set an actions output.
    try {
         instance.setActionResult(PARAM_OUTPUT, in1 + in2);
    } catch (DataConversionException e) {
         // TODO Auto-generated catch block
         e.printStackTrace();
    the catalog is
    <ComponentCatalog>
    <Category Name="Custom" Description="Custom">
        <Component Type="Action" Name="AddTwoNumbers"
        Description="" Label="SimpleAction"
        ClassName="customactions.SimpleActions"
        AssemblyName="SimpleActions.jar" Dependencies=""
        HelpFileName="" />
      </Category>
      </ComponentCatalog>
    Is there anything I might have done wrong?

    hargoe
    and do you know why my icon does not show up? it just black.
    @Action(name = "AddTwoNumbers", icon="icons/CustomAction.png")
    i created a package called icons and in this package I have a .png file called CustomAction.png
    I copied this CustomAction.png from another .jar and it works for that jar.
    thanks

  • Problem installing SQLdeveloper. Cannot find a J2SE SDK error

    I am trying to install SQL developer in my windows 7 64 bit machine. It is asking for the java path when clickin the sqldeveloper.exe. I am giving the path of java as C:\Program Files (x86)\Java\jre6\bin where i have java application file available. but i am getting cannot find a j2se SDK installed in the above path error. Please help

    Hello,
    please ask this in the appropriate forum: {forum:id=260}
    It seems to be a common problem
    https://forums.oracle.com/forums/search.jspa?objID=f260&q=win+64bit
    Regards
    Marcus
    Edited by: Marwim on 12.10.2011 10:59
    added search link

Maybe you are looking for