Building a custom repository using JCO3

Hi,
can somebody tell me how to programmatically generate a JCO (version 3!) repository? I'm fine doing this in JCO version 2, however for version 3 the whole API seems to have changed and there's not much documentation besides the Java doc.
I think for scalar parameters it should work as follows:
               JCoListMetaData imports = JCo.createListMetaData("IMPORTING_PARAMETERS");
               imports.add("ID",JCoMetaData.TYPE_INT,4,4,JCoListMetaData.IMPORT_PARAMETER);
However how is this done for structures and tables that look e.g. like as follows:
type PERSON
  ID                        TYPE I
  NAME(255)          TYPE C
  FIRSTNAME(255) TYPE C
Any help would be greatly appreciated!
Sebastian

Hi
Have a look at this doc - http://mycomputerfiles.com/JAVA_JAVASCRIPT/Repositories%20in%20the%20SAP%20Java%20Connector%20JCo.pdf
Regards,
Sen

Similar Messages

  • Hey guys i was wondering if i could downgrade my iphone 5 from ios 7.1.1 to 7.0.6 or .0.4 i have 7.0.6 and .0.4 shsh blobs but when i try to build a custom ipsw using ifaith it loads and never stop loading is there any way to downgrade to older ios 7 ?

    Hey guys i was wondering if i could downgrade my iphone 5 from ios 7.1.1 to 7.0.6 or .0.4 i have 7.0.6 and .0.4 shsh blobs but when i try to build a custom ipsw using ifaith it loads and never stop loading is there any way to downgrade to older ios 7 ?

    No, you cannot downgrade your iOS device. That's not supported by Apple.

  • JCO3: NullPointerException unregistering server with custom repository

    Hello,
    I have a JCO 2 project running on a J2EE server that we ported over to JCO3, and the ultimate issue is that when I
    stop the JCoServer in the application, it's throwing a null pointer exception.  Seemingly because the JCoServers
    are in a higher classloader, they are still there on restart, and then I get the NullPointerException trying to
    recreate the server as well.  I very well may be doing something totally wrong here...
    I'm creating the Data Provider, Repository, and Server as follows:
    ========================================================
    // This is a simple implementation of ServerDataProvider
    markviewDataProvider = new MarkviewServerDataProvider();
    if (!Environment.isServerDataProviderRegistered()){
      log.debug("Registering data provider");
      Environment.registerServerDataProvider(markviewDataProvider);
    else{
      log.error("Data provider already registered.");
      throw new IllegalStateException("Data provider already registered.  Please restart application server.");
    // Create the neccessary properties and assign to data provider
    // Their values are being read from a database
    serverProperties.setProperty(ServerDataProvider.JCO_GWSERV, rfcServerInfo.getGatewayServer());
    serverProperties.setProperty(ServerDataProvider.JCO_GWHOST, rfcServerInfo.getGatewayHost());
    serverProperties.setProperty(ServerDataProvider.JCO_PROGID, rfcServerInfo.getProgramId());
    serverProperties.setProperty(ServerDataProvider.JCO_CONNECTION_COUNT, maxConnections.toString());
    //XXX: We have to get this to work or else the server will not restart correctly
    //More on this later.
    //serverProperties.setProperty(ServerDataProvider.JCO_REP_DEST, "custom destination");
    markviewDataProvider.setServerProperties(serverName, serverProperties);
    // Get back the configured server from the factory.
    JCoServer server;
    try
      server = JCoServerFactory.getServer(serverName);
    catch(JCoException ex)
      throw new RuntimeException("Unable to create the server " + serverName
      + ", because of " + ex.getMessage(), ex);
    // rfcRepository is a singleton that contains
    // repository = JCo.createCustomRepository(name);  
    // and methods to add structures to the repository            
    server.setRepository(rfcRepository.exposeRepository());
    // add in the handlers, start the server
    ========================================================
    So...the first issue is this: if I set ServerDataProvider.JCO_REP_DEST to anything, the program won't run because
    it looks for the repository host connection info in a text file with that name, just like the example code does. 
    According to the javadoc, custom repositories don't have a destination, so it seems this property should be NULL. 
    Yet if I leave that property null, it works fine...until I need to stop the server (or, I get the same error when
    the above code runs again on restart, as the JCoServerFactory.getServer code runs in both places - tries to refresh
    a server that survived the restart as it failed to shut down due to the error).
    For completeness, the shutdown code essentially reads:
    =========================================================
    JCoServer server = JCoServerFactory.getServer(serverName);
    server.stop();
    =========================================================
    Then what happens is this:
    java.lang.NullPointerException
            at com.sap.conn.jco.rt.StandaloneServerFactory.compareServerCfg(StandaloneServerFactory.java:91)
            at com.sap.conn.jco.rt.StandaloneServerFactory.getServerInstance(StandaloneServerFactory.java:116)
            at com.sap.conn.jco.server.JCoServerFactory.getServer(JCoServerFactory.java:56)
            at com.markview.integrations.sap.gateway.sap2mv.JCoServerController.destroy(JCoServerController.java:310)
    I decompiled and debugged StandaloneServerFactory and I'm seeing this in compareServerCfg:
    =========================================================
            key = "jco.server.repository_destination";
            if(!current.getProperty(key).equals(updated.getProperty(key)))
                return CompareResult.CHANGED_RESTART;
            } else
                return CompareResult.CHANGED_UPDATE;
    =========================================================
    Clearly, if getProperty() returns null, the .equals is going to raise NullPointerException, so this appears to be
    the cause of that error.  In other words, if this code runs, I'm going to have this problem because the property
    needs to (seemingly) be null for my program to run at all.
    Any insights on how to fix this / work around this would be greatly appreciated!
    Thanks in advance,
    Corey

    <div style="width:58em;text-align:left">
    Whoa, a long posting and I'm not sure I read it thoroughly enough to fully understand your problem - so please be patient with me if any comments are silly...
    Your RFC server program provides an implementation for your own ServerDataProvider. If you reference a repository destination the default DestinationDataProvider implemented will look for a file name with the repository and extension .jcoDestination. If you don't like this behavior you simply need to provide your own implementation and register it, same as you did for the server data.
    According to the javadoc, custom repositories don't have a destination, so it seems this property should be NULL.
    Not sure where you found this. I'm assuming that you're talking about com.sap.conn.jco.JCoCustomRepository, which can of course be backed by a destination, i.e. see the comments in method setDestination:
    <div style="text-align:left">Set the destination for the remote queries.
    If the requested meta data objects are not available in the repository cache, i.e. not set by the application, the remote query to the specified destination will be started. Default value is null meaning the remote queries are not allowed.
    Note: As soon the destination is provided, the repository can contain mixed meta data - set statically by the application and requested dynamically from the ABAP backend.</div>
    I usually prefer using a connection to a backend providing the meta data instead of hard coding the meta data insertion into a custom repository. As the data is cached this introduces an acceptable overhead for retrieving meta data for long running server programs.
    Anyhow, when you create your custom repository via JCo.createCustomRepository(java.lang.String name) you obviously must give it a name. That's the name I'd expect in the server data as a reference for your repository (property ServerDataProvider.JCO_REP_DEST). However, if your custom repository is not backed by a complete online repository you obviously have to ensure that all meta data is already provided.
    So for testing it might be interesting to see if adding a JCoDestination to your custom repository helps. Another option might be to enable tracing and see what goes wrong...
    Cheers, harald
    </div>

  • Can we build a new custom form using self service web applications in 11i?

    I have been using Template.fmb to build new custom forms in Oracle Applications 11i. We wanted to know If we can build new forms using self service web applications to get the web form feel in 11i.
    Please let me know the reason.
    Thanks in advance
    Nel

    I have been using Template.fmb to build new custom forms in Oracle Applications 11i. We wanted to know If we can build new forms using self service web applications to get the web form feel in 11i.
    Please let me know the reason.
    Thanks in advance
    Nel

  • Custom NetStream using netConnection in LCCS

    I want to send custom NetStream using LCCS service. I dont want to use LCCS components and Pods. I need netconnection for that. How can we do that.
    Also is it possible to use methods like netconnection.call() to pass messages between LCCS connected users?

    Hi Ysong,
    Please try posting your question to the ActionScript 3 forum: http://forums.adobe.com/community/flash/flash_actionscript3. It's the most appropriate forum for your question. You might also try the forums for Flash, Flash Builder, or Flex, depending on the authoring environment you are using to write your ActionScript code.
    Thanks,
    KALTechWriter

  • Custom Datasource using View COVJ - R8359 Invalid extract structure

    I'm trying to build a custom datasource so I can get at plan line item data with partner object (I've tried using 0CO_OM_CCA_1 but I dont get the partner object for plan data - no idea why). So I thought if I create a datasource using COVJ I can get it out. However when I try and save the custom datasource (created using RSO2) I get the error R8359 Invalid extract structure: You tried to generate an extract structure with the template structure COVJ. This operation failed, because the template structure quantity fields or currency fields, for example, field WOG001 refer to a different table.
    I saw posts saying when people get this error thye should reference the table these fields come from in the view. So I've talked to our ABAP'er and I asked him to reference the table these fields come from but he said this cant be done because these come from a structure not a table.
    Any ideas?
    Thanks
    Joel

    The WOG* columns in table COEJ, one of the tables contributing to the COVJ view, use CCCUR-CURKY as the reference table-column for those quantities. The ABAPer you spoke to is correct that CCCUR is a structure. View value fields inherit their reference table-column from the source, in this case COEJ, and since this source table is an SAP delivered table it cannot be modified change this reference.
    This means that you're only option for extracting the data out of the COVJ view would be to create a Function Module and use that Function Module as the basis for your DataSource.

  • Custom Login using the Pluggable Identity Management Framework

    Hi all,
    We are trying to establish 2 ways into our application:
    1. via a login form
    2. seamless login from an external application
    To achieve this we are trying to build our own custom authentication using the pluggable IDM framework.
    Basically if a secure page is requested, we want to check the header/cookie/request (don't mind which) for a key which is provided by the external application. If present, the key is validated against a web service provided by the external app, the identity is asserted and the user is entered seamlessly into the application. If the header/cookie/request does not contain a key the user is to be redirected to a login page, where they can input username and password which will be validated against our database.
    We've created a Token Collector and Token Asserter class, we've modified our custom Login Module to retrieve the identity created by the Token Asserter but we haven't worked out how to get the alternate login page working for users which don't come through the external application.
    Has anybody built anything similar? From the documentation it appears we should be able to achieve our goal using the pluggable IDM, but we're going around in circles a bit at the moment.
    Any help/sample code would be greatly appreciated.
    thanks.

    Can you tell why the page is not working? I mean, any errors ? What happens when you try to open the protected resource?
    Here is an example of the code, I removed some part of the code specific to the bussines so if you have doubts just let me know
    token collector
    import java.io.IOException;
    import java.io.UnsupportedEncodingException;
    import java.net.URLEncoder;
    import java.util.Hashtable;
    import java.util.List;
    import java.util.Map;
    import java.util.Properties;
    import javax.servlet.http.Cookie;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import oracle.security.jazn.collector.CollectorException;
    import oracle.security.jazn.collector.TokenCollector;
    import oracle.security.jazn.sso.SSOTokenFormatException;
    import oracle.security.jazn.token.IdentityToken;
    import oracle.security.jazn.token.TokenNotFoundException;
    public class MyTokenCollector implements TokenCollector
    private Properties _properties;
    public void fail(HttpServletRequest request,
    HttpServletResponse response, int reason)
    throws CollectorException
    String loginURL = _properties.getProperty("custom.sso.url.login");
    String urlParam = _properties.getProperty("custom.sso.url.param");
    String idParam = _properties.getProperty("custom.sso.id.param");               
    Log.Info("Token collection failed (" + reason + ")");
    StringBuffer requestURL = request.getRequestURL();
    String queryString = request.getQueryString();
    requestURL = requestURL.append("?").append(queryString);
    StringBuffer sb = new StringBuffer();
    try
    sb = sb.append(urlParam).append("=");
    String encodedStr =
    URLEncoder.encode(requestURL.toString(), "UTF-8");
    sb = sb.append(encodedStr);
    sb = sb.append("#").append(request.getServerName()).append("#").append(request.getServerPort());
    String redirectQueryString = sb.toString();
    String rurl = loginURL + "?" + redirectQueryString;
    response.sendRedirect(response.encodeRedirectURL(rurl));
    catch (UnsupportedEncodingException uee)
    SSOTokenFormatException stfe =
    new SSOTokenFormatException(uee, 4);
    Log.Error(stfe.getMessage());
    throw new CollectorException(stfe);
    catch (IOException ioe)
    Log.Error("IOException occured: " + ioe);
    throw new CollectorException(ioe);
    public IdentityToken getToken(String tokenType,
    HttpServletRequest request,
    List tokenNames, Properties properties)
    throws TokenNotFoundException, CollectorException
    _properties = properties;
    String valor = null;
    Log.Info("URL: "+request.getRequestURI());
    if ( tokenType. equalsIgnoreCase("HTTP_COOKIE"))
    valor = procesarCookie(request, tokenNames);
    }else if (tokenType.equalsIgnoreCase("HTTP_HEADER"))
    valor = procesarHeader(request, tokenNames);
    }else
    throw new CollectorException("token type not supported");
    MyIdentityToken token = new MyIdentityToken(valor);
    token.setTokenType(tokenType);
    token.setPropiedades(properties);
    return token;
    private String procesarCookie(HttpServletRequest request, List tokenNames)
    throws TokenNotFoundException
    if (1 != tokenNames.size())
    //Only one cookie can be handled
    String error = "Invalid number of cookies check jazn.xml";
    throw new TokenNotFoundException(error);
    Map cookies = new Hashtable();
    Cookie allCookies[] = request.getCookies();
    if (allCookies != null)
    String cookieName = (String) tokenNames.get(0);
    Log.Info( "Searching for cookie: " + cookieName);
    Cookie cookie;
    for(int i = 0; i < allCookies.length; i++)
    cookie = allCookies;
    if (cookie.getName().equals(cookieName))
    return cookie.getValue();
    String error = "Rquired cookie not found";
    Log.Error(error);
    throw new TokenNotFoundException(error);
    }else
    String error = "No cookie on request";
    throw new TokenNotFoundException(error);
    private String procesarHeader(HttpServletRequest request, List tokenNames)
    throws TokenNotFoundException
    String nombreHeader = (String) tokenNames.get(0);
    String header = request.getHeader(nombreHeader);
    if (header != null)
    return header;
    }else
    String error = "Request doesn't have the requierd header";
    throw new TokenNotFoundException(error);
    Token Asserter Example
    import java.util.Properties;
    import javax.security.auth.Subject;
    import oracle.security.jazn.asserter.AsserterException;
    import oracle.security.jazn.asserter.TokenAsserter;
    import oracle.security.jazn.callback.IdentityCallbackHandler;
    import oracle.security.jazn.callback.IdentityCallbackHandlerImpl;
    import oracle.security.jazn.token.IdentityToken;
    public class MyTokenAsserter
    implements TokenAsserter
    public void finalize()
    throws Throwable
    public IdentityCallbackHandler assertIdentity(String tokenType,
    IdentityToken token,
    Properties properties)
    throws AsserterException
    InversuraIdentityToken idToken = (InversuraIdentityToken) token;
    String valorToken = idToken.getValorToken();
    InversuraToken invToken;
    try {
    invToken = new InversuraToken(valorToken);
    if (verificarVigencia(invToken))
    IdentityCallbackHandlerImpl idcb = new IdentityCallbackHandlerImpl(invToken.getLogin());
    idcb.setAuthenticationType("InversuraSSO");
    idcb.setIdentityAsserted(true);
    MyPrincipal ppal = new MyPrincipal(invToken.getLogin());
    Subject subj = new Subject();
    subj.getPrincipals().add(ppal);
    idcb.setSubject(subj);
    return idcb;
    throw new AsserterException("Token expired");
    }catch (Exception e)
    String error = e.getMessage();
    throw new AsserterException(error, e);
    public boolean verificarVigencia(InversuraToken token)
    return token.estaVigente();

  • Custom report  using KM API Error

    Hi All,
    I have to create a report using KM API. i got the custom report using KM API from sdn and I imported into my NWDS. While i compile it, it is giving me this error.
    "The project cannot be build because the classpath for com.sap.netweaver.bc.rf.common.exception.ResourceException is not found."
    I have imported all the required jar files.
    How can i rectify this error?  Could anyone help me out in this issue?
    Regards,
    Divya

    Hi Divya,
    > I have imported all the required jar files
    First, I don't know what you mean with "imported" - in any case, you should <i>not</i> put the JARs into your project but just reference these.
    Also, obviously you have <i>not</i> referenced <i>all the required jar files</i>; ResourceException is part of bc.rf.common_api.jar, which is part of portal application com.sap.netweaver.bc.rf, at least for NW2004s.
    Please use the ClassLocator tool (search the WebLogs for this term to get some initial instruction) to avoid such questions in the future. It will make your life much easier.
    Hope it helps
    Detlev

  • Email notification mail not working in case of customer repository

    Hi Experts,
    We have the system MDM 7.1 SP06, we are not able to get the email notification for customer repository. For other repositories like material & vendor mails are working fine. I Have checked the following steps.
    1) Added notification step to the workflow between processes.
    2) Verified the email addresses of the workflow owner and the receiver of the notification.
    3) Verified that the mds.ini has the "MailServer=" setup to the right smtp.
    I have check in workflow history, it is showing notify step but not showing details of mail like send to, mail body. While in case of material repository, it was showing complete details like send to, mail body & all.
    Previously mails for customers were working fine. Kindly suggest the solution.
    Regards,
    Gaurang

    Hi Gaurang,
    Are the time parameter same for all the repositories?
    Create a dummy user and dummy workflow,and try to send mail from that workflow.
    If this works with some id then check with the Admin id which you are using.
    This way you can eliminate the possibility of id not working.Also it will tell you that user is corrupt or not.
    Check for log and traces,kindly provide with the post here.
    Thanks,
    Ravi

  • Building a custom worklist client in 11g R1 fails to authenticate [Solved]

    Release: 11gR1
    Hi,
    We're trying to build a custom worklist client using the APIs exposed by the workflow service described here:
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_worklistcust.htm#BHAHBHID
    I created an ADF/webcenter application.
    Created a page and added ADF security to the page which in turn authenticates via OID - this works.
    However when I try to use the workflow API to retrieve the workflow context I receive this exception:
    ========= get tasks =========
    admin user : weblogic
    admin pw : weblogic1
    realm : myrealm
    user : harry
    exception : ORABPEL-30501
    Error in authenticating user.
    Error in authenticating and creating a workflow context for user myrealm/weblogic.
    Verify that the user credentials and identity service configurations are correct.
    message : Error in authenticating user.
    Error in authenticating and creating a workflow context for user myrealm/weblogic.
    Verify that the user credentials and identity service configurations are correct.
    ORABPEL-30501
    Error in authenticating user.
    Error in authenticating and creating a workflow context for user myrealm/weblogic.
    Verify that the user credentials and identity service configurations are correct.
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl_1031_WLStub.authenticate(Unknown Source)
    at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.authenticate(TaskQueryServiceRemoteClient.java:103)
    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.bpel.services.workflow.client.WFClientRetryInvocationHandler.invokeTarget(WFClientRetryInvocationHandler.java:121)
    at oracle.bpel.services.workflow.client.WFClientRetryInvocationHandler.invoke(WFClientRetryInvocationHandler.java:67)
    at $Proxy138.authenticate(Unknown Source)
    at view.services.worklistService.getTasks(worklistService.java:46)
    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.el.BeanELResolver.getValue(BeanELResolver.java:261)
    at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
    at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
    at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getValue(ValueRenderer.java:184)
    at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getConvertedString(ValueRenderer.java:145)
    at oracle.adfinternal.view.faces.renderkit.rich.OutputTextRenderer.encodeAll(OutputTextRenderer.java:108)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:392)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.ja
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.ja
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:125)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:201)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:167)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:317)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:1523)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderPane(PanelSplitterRenderer.java:925)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderSecondPane(PanelSplitterRenderer.java:831)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer.encodeAll(PanelSplitterRenderer.java:166)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
    at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:221)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
    at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:820)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1494)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:771)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:202)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:685)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:261)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:193)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
    at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class oracle.tip.pc.infra.exception.PCRuntimeException
    at oracle.tip.pc.services.common.ServiceFactory.getAuthenticationServiceInstance(ServiceFactory.java:166)
    at oracle.bpel.services.workflow.verification.impl.VerificationService.getAuthenticationService(VerificationService.java:3688)
    at oracle.bpel.services.workflow.verification.impl.VerificationService.authenticateUser(VerificationService.java:620)
    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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
    at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:85)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at oracle.bpel.services.common.dms.MethodPhaseEventAspect.invoke(MethodPhaseEventAspect.java:82)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at oracle.bpel.services.common.dms.MethodEventAspect.invoke(MethodEventAspect.java:70)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy154.authenticateUser(Unknown Source)
    at oracle.bpel.services.workflow.query.impl.TaskQueryService.authenticate(TaskQueryService.java:394)
    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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
    at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:85)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at oracle.bpel.services.workflow.test.workflow.ExceptionTestCaseBuilder.invoke(ExceptionTestCaseBuilder.java:155)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at oracle.bpel.services.common.dms.MethodEventAspect.invoke(MethodEventAspect.java:70)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at oracle.bpel.services.common.dms.MethodPhaseEventAspect.invoke(MethodPhaseEventAspect.java:82)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy162.authenticate(Unknown Source)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryServiceBean.authenticate(TaskQueryServiceBean.java:80)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl.authenticate(TaskQueryService_oz1ipg_EOImpl.java:733)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    ... 2 more
    The Code Fragment that causes the exception:
    public class worklistService {
    String adminUser = "weblogic";
    String adminPassword = "weblogic1";
    String realm = "myrealm";
    public List getTasks() throws WorkflowException, StaleObjectException {
    System.out.println("========= get tasks =========");
    List tasks = null;
    String user = ADFContext.getCurrent().getSecurityContext().getUserName();
    try {
    IWorkflowServiceClient iWorkflowServiceClient = WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.REMOTE_CLIENT);
    ITaskQueryService iTaskQueryService = iWorkflowServiceClient.getTaskQueryService();
    System.out.println("admin user : " + adminUser);
    System.out.println("admin pw : " + adminPassword);
    System.out.println("realm : " + realm);
    System.out.println("user : " + user);
    IWorkflowContext adminContext = iTaskQueryService.authenticate(adminUser, adminPassword.toCharArray(), realm); *<-- EXCEPTION HERE*
    System.out.println("------ adminContext : " + adminContext);
    IWorkflowContext userContext = iTaskQueryService.authenticateOnBehalfOf(adminContext,user);
    System.out.println("------ userContext : " + userContext);
    My wf_client_config.xml file:
    <workflowServicesClientConfiguration xmlns="http://xmlns.oracle.com/bpel/services/client">
         <server name="default" default="true">
              <localClient>
                   <participateInClientTransaction>false</participateInClientTransaction>
              </localClient>
              <remoteClient>
                   <serverURL>t3://localhost:8001</serverURL>
                   *<userName>weblogic</userName>*
                   *<password>weblogic1</password>*
                   <initialContextFactory>weblogic.jndi.WLInitialContextFactory</initialContextFactory>
                   <participateInClientTransaction>false</participateInClientTransaction>
              </remoteClient>
              <soapClient>
                   <rootEndPointURL>http://localhost:8001</rootEndPointURL>
                   <identityPropagation mode="dynamic" type="saml">
                        <policy-references>
                             <policy-reference enabled="true" category="security" uri="oracle/wss10_saml_token_client_policy"/>
                        </policy-references>
                   </identityPropagation>
              </soapClient>
         </server>
    </workflowServicesClientConfiguration>
    Further Notes:
    The out-of-the-box worklistapp included with BPEL authenticates correctly through the same OID instance.
    The above was when I used REMOTE_CLIENT, I get a similar error when I use SOAP_CLIENT.
    Any help is greatly appreciated.
    Thanks
    Bud
    Edited by: user1330597 on Jul 15, 2009 8:54 AM

    Hi Guys,
    Thank you for taking the time to answer my questions, from your replies I gathered that I was barking up the wrong tree.
    I'll comment on my solution below for the curious.
    thx
    Bud
    I left my wf_client_config.xml file as is. (shown in the original comment above - I have this file in the ViewController project's src directory - not the global src directory)
    I reverted my workflow-identity-config.xml file to its original state (ie removed the multiple configurations and defaulted to the jazn.com realm):
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <ISConfiguration xmlns="http://www.oracle.com/pcbpel/identityservice/isconfig" >
    <configurations>
    <configuration realmName="jazn.com">
    <provider providerType="JPS" name="JpsProvider" service="Identity">
    <property name="jpsContextName" value="default" />
    </provider>
    </configuration>
    </configurations>
    <property name="caseSensitive" value="false"/>
    </ISConfiguration>
    It seemed to me that the worklist client service (API) always uses jazn.com as the realm, even though I added users to myrealm (weblogic's default realm) via oid.
    When I browse for users in a HumanTask.task file in JDeveloper for instance the users I had added to myrealm show up in the jazn.com realm - which is okay since they're all in there.
    Since this is a client and we don't really know the password of a user logging in I used the authenticateOnBehalfOf() method to get the IWorkflowContext of the user after getting the IWorkflowContext of an Administrator.
    In order to get an administrator IWorkflowContext you need to authenticate against a user who is in the 'Administrators' group.
    The code I used is below:
    public class worklistService {
    String adminUser = "harry";
    String adminPassword = "welcome1";
    String realm = "jazn.com";
    public List getTasks() throws WorkflowException, StaleObjectException {
    String user = ADFContext.getCurrent().getSecurityContext().getUserName();
    try {
    IWorkflowServiceClient iWorkflowServiceClient = WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.REMOTE_CLIENT);
    ITaskQueryService iTaskQueryService = iWorkflowServiceClient.getTaskQueryService();
    System.out.println("admin user : " + adminUser);
    System.out.println("admin pw : " + adminPassword);
    System.out.println("realm : " + realm);
    System.out.println("user : " + user);
    IWorkflowContext directUserContext = iTaskQueryService.authenticate("ben", adminPassword.toCharArray(), realm);
    System.out.println("------ directUserContext : " + directUserContext);
    IWorkflowContext adminContext = iTaskQueryService.authenticate(adminUser, adminPassword.toCharArray(), realm);
    System.out.println("------ adminContext : " + adminContext);
    IWorkflowContext userContext = iTaskQueryService.authenticateOnBehalfOf(adminContext,user);
    System.out.println("------ userContext : " + userContext);
    Hope this helps someone else ...

  • Help to design repository using BerkeleyDB

    Hi,
    I am trying to design a repository using BerkeleyDB but not sure what will be the best design.
    Here is the scenario:
    I have one Schema under which we can multiple classes of Java Objects to be stored.
    Eg: Under Schema1, we can store any of the objects from three classes A, B, C.
    Alll have the same schema.
    I want to persist all the objects of any of the class A, B, C coming in the system.
    Key is the time at which they enter the system.
    So key is time and value is Instance of any of the object A, B,C.
    So we can have duplicates i.e. multiple instances coming at the same time.
    A,B,C are POJO Java Objects so I don't have control over their implementation.
    From my understanding
    Schema should map to the Environment.
    Within one Environment, we can have different databases for each A, B, C since they have different class definitions.
    What should I use DPL or Base APIs?
    If using Base API's how to write MyTupleBinding because the definition of the class can be available after system gets configured.
    Is there any way to write a generic TupleBinding class which can convert any Java Object to an Entry and vice versa.
    If using DPL how to define Entity, Persitent Entities etc.
    User can query on any column of a POJO object so we have no information about secondary keys.
    Please provide me your suggestions.

    Hi,
    Key is the time at which they enter the system.So key is time and value is Instance of any of the object A, B,C.
    So we can have duplicates i.e. multiple instances coming at the same time.>
    Instead of using the time only as the key, use a two part key {time, sequence} to make the key unique. That will give you a unique primary key and also allow you to lookup records by time using the first part of the key.
    A,B,C are POJO Java Objects so I don't have control over their implementation.Can you add annotations to these classes? Are they Serializable?
    From my understandingSchema should map to the Environment.
    Within one Environment, we can have different databases for each A, B, C since they have different class definitions.>
    Yes.
    What should I use DPL or Base APIs?If you can add annotations to the classes, use the DPL. If not, and the classes are Serializable, you could use SerialBinding. Otherwise, you'll have to write tuple bindings.
    If using Base API's how to write MyTupleBinding because the definition of the class can be available after system gets configured.Is there any way to write a generic TupleBinding class which can convert any Java Object to an Entry and vice versa.>
    The only way to do that is use Java reflection to discover the fields in the classes. This is a lot of work, but is how such things are done in Java.
    If using DPL how to define Entity, Persitent Entities etc.If you can't add annotations, you could write a custom subclass of EntityModel. But that's an advanced use case, and it won't work if there is no unique primary key field in each class.
    User can query on any column of a POJO object so we have no information about secondary keys.You can do one of the following:
    1) Define no secondary keys and iterate over all records in a database when doing a query (queries are expensive if there are lots of records).
    2) Define every field as a secondary key (writes are expensive and lots of disk space is used if there are lots of fields).
    3) Try to dynamically determine when queries are frequently done on a field, and dynamically add a secondary key at that time (lots of work to implement).
    Please provide me your suggestions.Please answer my questions above and then I'll suggest an approach. If the POJO classes are required to be Seriallizable, your task will be greatly simplified.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Model business partner in CUSTOMER repository

    Hi Anyone have tried to model business partner in CUSTOMER repository?
    The situation is like this:
    a customer has many "sale data" entries, where many business partner can be assigned to a "sale data" entry. "Sale Data" is a qualified table field in CUSTOMER.
    Thanks for your suggestions!

    Hi Vinay,
    Can you give more details to set up business partner in Sales Data (qualified table). What do you mean "multi-valued table for business partner". Are you refering the similar steps suggested by Rajani?
    Another point is we are centually maintain customer in MDM, Customer data needs to syndicate using xml schema DEBMDM05.  Multiple occurance partner entries needs to fill DEBMDM05-E1KNVPM elements: PARVW(Partner function),KUNN2(Cust# of BP)  based on multiple occurence of Sales Data entries.
    This is what I am doing:
    1. Create business partner flat table to has two fields:
    Partner function, Cust#
    2. Create a qualifier field in Sales Data table. Its type is Lookup[Flat] (multi-valued), and point to the table created in step 1.
    Please let me know if if I am doing the right thing.
    Re: Rajani, Tanveer:
    - business partner data comes initially from R3
    - BP data will be maintained in MDM same as a customer entry.
    - BP entry has to be linked to customer entry with account group as "Sold to".
      I can use Relationships to main the sold-to <-> busniess partner(shipto, billto, payer...) assignment, but can not syndicate the relationships to XML file(DEBMDM06).
    - BP assignement is better to be maintained under Sales Data(qualified table) as it is related Sales Area.
    thanks!
    David

  • ISetup new custom interface using BC4J/java class

    Hi,
    I am able to create new custom interface using the link :- How to setup an user to be Oracle iSetup Super user ? but I have not seen anything for BC4J filter set, as per oracle iSetup developer guide clearly explains step by step process how to create custom BC4J interface type, but they have not mention how to add filters, as per oracle developer guide we have to use 'iSetup Framework' for BC4J, if we select type as 'iSetup Framework' then we don't have option to add filter parameters.
    Any idea how to see existing  iSetup interface repository values, Search shows the result, but we can't go in details? any idea to see this?
    Oracle have good interface repository but most of them does not have option to filter, and  update so I want to customize them by adding new interfaces with filterable and update option
    Regards
    Anil

    First, be sure your properties file is in the root of the classpath.
    The Messages.properties or Messages_en.properties should be in the WEB-INF/classes/ directory of the war or as a root file of a jar included in the classpath (WEB-INF/lib).
    If it doesn't work, try adding a "/" before the file name. The classloader will try to find it as a root file of the classpath.
    For example:
              ResourceBundle messages = ResourceBundle.getBundle("/Messages", locale);
    If you are using sun appserver, the classloader hierarchy is configured by default from inside the war to outside, so it will search first in the WEB-INF/classes/Messages_en.properties and then it will search the file inside each jar file in WEB-INF/lib.
    If you want more information, check the classloader hierarchy of the appserver you are using.
    Hope it helps.

  • Hosted Build Controller does not build test project when using GitContinuousDeploymentTemplate.12.xaml

    So basically my unittest project using mspec is not even built and copied to the outputfolder even though I build the sln file. This happens only if I put in a azure deployment environment in the build. It works with exactly the same parameters if I just
    remove the azure deployment parameter in the same template. I really don't get why it's impossible to run unit tests and fail the build before deploying to staging. Is it supposed to be like this?

    Hi Espen,
    I would like to know what you mean when you say "put in a Azure deployment environment in the build", and whether you have run a post script during the build process. Please give out more details about your scenario, or share you build log here. You can
    check whether it's build fine locally by using MSBuild or build directly with Visual Studio.
    Maybe you can check whether the Azure environment has the right version of mspec test adapter. Or use Nuget package restore feature to include the needed files in your solution before building. If the build related to hosted build controller, you can configure
    an on-premise build controller for VSO. See this
    thread for more information.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.
    By Azure deployment variable I mean "Windows Azure Deployment Environment" variable which you can configure under the Process tab after rightclicking the build definition and clicked "Edit build definition" in Visual Studio.
    I actually figured out what was wrong though. When "Windows Azure Deployment Environment" is set, the build target is set to <your_azure_project>:Publish. This target probably only builds the projects useful for that particular project, hence the unittest
    project is not built. I fixed the issue by adding a msbuild argument under 2.Build->5.Advanced->MSBuild arguments. I had to set it to "/t <your_azure_project>:Publish;Build" and all worked well. Notice the order of the targets though. If I used
    Build first, the whole build failed with some error trying to some virtual web folder. Also, <your_azure_project> is not entirely correct. At least for me it's named like My.Azure.Project, but the build target is My_Azure_Project.
    I don't really know if it's supposed to be this way, but it looks to me like a small bug in the template at least.

  • Custom Component using Rights Management

    Hello!
    I'm trying to build a custom component that interact with LiveCycle Rights Management.
    In my implementation I need to use the:
    import com.adobe.livecycle.rightsmanagement.client.RightsManagementClient;
    in order to call a policyManager object.
    But when I try to invoke the process in the workbench I get the following error:
    05/10 18:33:13:732 BRT] 00000065 WorkflowDSCIn E com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker logFailedFaultRouting An exception was thrown with name java.lang.NoClassDefFoundError message:com.adobe.livecycle.rightsmanagement.client.RightsManagementClient while invoking service CustomUpdatePolicyService and operation atualiza and no fault routes were found to be configured.
    Am I doing right?
    The main objective is to receive a policy ID (String) and Users ID (LIST) and change the policy adding the users into it.
    I appreciate any help.
    Diego

    The thing is: when developing a custom component that connects to a LC service, must be defined a different connection property, described here:
    http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/wwhelp/wwhimpl/common/ht ml/wwhelp.htm?context=sdkHelp&file=invokingJava.22.3.html
    Diego

Maybe you are looking for

  • OE:Item Validation Organization - view only your Org Items in SO Item LOV

    HI All, I am trying to set a profile so that I see only the items in my Organization in the Sales Order Item LOV in Order Management when I create a sales order. Appreciate your input to achieve this. Thanks, Jo.

  • Satellite Pro A10 - need some info about RAM upgrade

    Dear Fourm members In regard to the above machine : please can anyone advise :- how many memory slots does it have. I think it is two but am not sure. Also what max size memory module can we have in this laptop please. If it is 2 @ 1gb per module, th

  • Applying patch (PSU) Hyperion 11.1.2.2.300 in Websphere

    Hi guys, I have Hyperion 11.1.2.2.0 running on Websphere and need apply the patchs to up version to 11.2.2.300. I did download and checked the readme, said that I need do redeploy of all applications (CalcMgr, FR, Planning...). This process of redepl

  • CSS Flyout Menu

    Here's a link to the page When you mouse over "fireplaces", the menu is hidden behind the flash div in IE and Firefox. Style sheet attached.

  • Solaris 10 binary compatibility

    hello everybody, I need some help. my application can run on solaris 2.6 x86 and solaris 9 x86 but not on solaris 10 x86. can anybody suggested to me what are the wor around that I can try to make my application also run on solaris 10 x86.