Java Component using validateStandard and SystemDatabase fails to incr cntr

I based my filter on the Dynamic Prefix, and code I found in this forum. I have a vew in my System database that I want to validate a field against on checkin, instead of loading 50K values into a combobox. The problem is that when the routine runs and the emp_num is valid (routine succeeds), the counters table is not incremented and the next check-in fails? Any help appreciated. The code for the java component is below:
package mypackage.ucm;
import intradoc.common.ExecutionContext;
import intradoc.common.ServiceException;
import intradoc.common.SystemUtils;
import intradoc.data.DataBinder;
import intradoc.data.DataException;
import intradoc.data.DataResultSet;
import intradoc.data.ResultSet;
import intradoc.data.Workspace;
import intradoc.provider.Provider;
import intradoc.provider.Providers;
import intradoc.shared.FilterImplementor;
import intradoc.util.IdcMessage;
/* Setup in hda fild to use validateStandard
* validateStandard
* validateCheckinDate
* From Bex's book setReturnValue("true");  - Didn't help
public class EmployeeCheckinFilter implements FilterImplementor {
  public int doFilter(Workspace ws, DataBinder binder, ExecutionContext cxt)
      throws DataException, ServiceException {
    String value = "-1";
    String xEMP_NUM ="";
    String SQL = "";
    String ResultSetName = "XEMPNUMCOUNT";
    int ivalue=0;
    DataResultSet result = null;
    DataException error = null;
    ResultSet temp = null;
    SystemUtils.trace("system", "Starting doFilter for EmployeeCheckinValidation");
    // Display the binder
    // System.out.println(binder);
    xEMP_NUM = binder.getLocal("xEMP_NUM");
    SystemUtils.trace("system", "xEMP_NUM=" + xEMP_NUM);
    // Only run valiation is
    if (xEMP_NUM != null && xEMP_NUM.length() > 0) {
      SQL = "select count(*) counter from dcsdemployees where emp_num = "
        + xEMP_NUM.trim();
      SystemUtils.trace("system", "SQL=" + SQL);
      if (ws == null) {
        SystemUtils.trace("system", "ws is null, getting ws from call to getSystemWorkspace()");
        ws = getSystemWorkspace();
      SystemUtils.trace("system", "try-catch block to get ResultSet from SQL");
      try {
        temp = ws.createResultSetSQL(SQL);
        result = new DataResultSet();
        result.copy(temp);
        // Makes results avilable for other Java methods or IdocScript templates.
        // binder.addResultSet(ResultSetName,result);  // Don't want this available
      } catch (DataException de) {
        error = de;
      } finally {
        ws.releaseConnection();
      try {
        result.first();
        value = result.getStringValue(0);
        SystemUtils.trace("system", "value(getStringValue(0)) = " + value);
        ivalue = Integer.parseInt(value);
        SystemUtils.trace("system", "ivalue=" + ivalue);
      } catch (NumberFormatException nfe) {
        SystemUtils.trace("system", "nfe.getMessage()=" + nfe.getMessage());
      // Can't find a match, throw an exception
      if (ivalue == 0) {
        SystemUtils.trace("system", "Throw error since xEMP_NUM is not in the dcsdemployees table");
        throw new ServiceException("xEMP_NUM was not found in the database!");
      if (error != null) {
        SystemUtils.trace("system", "Throw error since error condition exists.");
        throw error;
    SystemUtils.trace("system", "Ending doFilter for EmployeeCheckinValidation");
    cxt.setReturnValue("true");
    return CONTINUE;
  public Workspace getSystemWorkspace() {
    Workspace workspace = null;
    Provider wsProvider = Providers.getProvider("SystemDatabase");
    if (wsProvider != null) {
      workspace = (Workspace)wsProvider.getProvider();
    return workspace;
}

Hey klee,
My guess at the cause of the issue is:
finally {
ws.releaseConnection();
You don't need to release the connection in a validate Standard filter since the checkin service will release the connection when it completes. Since the connection is being manually released the code that executes after the validateStandard does not have a connection to the DB and can't increment the counter. In fact I'm surprised you aren't getting an exception.
Hope that helps,
Andy Weaver - Senior Software Consultant
Fishbowl Solutions < http://www.fishbowlsolutions.com?WT.mc_id=L_Oracle_Consulting_amw >

Similar Messages

  • Sharepoint 2013 copy/move operation using Content and Structure fails

    Hi,
    We had a recent upgrade from SP2010 to SP2013 environment. After the migration, we realized that the
    copy/move operations using Manage content and structure(sitemanager.aspx) is not working as expected, neither does this give any error nor is it stuck. In fact if I check the content and structure log I find the message as
    succeeded but file/item is not copied to the target. 
    The strange thing is that if I am performing this operation with Full Control permission level it
    does not work but if I do the operation as Site collection admin it works without problem. I know if sub-sites are to moved then one should be site col admin but in this case I am trying to move just documents or pages.
    Any help will be greatly appreciated.
    Thanks

    Hi Vineet,
    According to your description, my understanding is that copy/move operation using Content and Structure cannot work in SharePoint.
    I recommend to check if there are any custom fields in the source list/library and target list/library. If yes, delete the custom fields to see if the issue still occurs.
    Here is a similar thread for you to take a look:
    http://social.technet.microsoft.com/Forums/en-US/56d803d7-8573-4c29-9f6b-c63023941f44/manage-content-and-structure-cannot-move-or-copy-items?forum=sharepointgeneralprevious
    To copy or move files/items between sites, we need to have
    appropriate permissions on both sites.
    I recommend to check if the user has full control on both sites.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Where to download the JAVA component for BS2005 and SAP XI ?

    Dear all,
       When I install the ECC6 in Linux, system reminder me that the JAVA package is not correct. I wonder where to get the right JAVA component for BS2005? Btw, where to download the SAP XI Component for installation? Tks.
    Regards
    Jialin

    all,
       I have got it from delivered DVD.

  • SPam prevention in java mail using CAPTCHA and Obfuscation

    im using struts,     
    i want to implement spam prevention using CAPTCHA and Obfuscation for
    DOS or DDOS attack or unsolicited submissions through jsp forms submitted?
    Suggest me some ideas or implementations for this
    Thanks
    Rajesh

    Hi,
    Setting up GMail as IMAP will allow you to view your Spam folder. IMAP is the newer way of accessing mail so that would be the preferred way to go. IMAP enables you to keep everything in synch across multiple email clients.
    The following link gives you more information on how to set things up and frequently asked questions:
    http://mail.google.com/support/bin/answer.py?ctx=gmail&hl=en&answer=75725
    Good luck!

  • Can I send a Java HashTable using IDL and CORBA?

    I have code that uses a HashTable implementation of the Map datatype. I would like to be able to send this datatype using IDL and CORBA without trying to map it to Struct, if at all possible. I have just started with this yesterday, IDL that is, have successfully run the Hello World over the network and passed a string variable instead of just the string, and would welcome any help whatsoever.
    Thanks,
    Teresa Redmond

    - Don't transfer the Hashtable at all, but writea
    server, which gives access to the Hashtableentries
    I think what Martin means is: why not let yourserver
    actually do the work with the Hashtable in itself
    instead of making the client do it?
    Yes, exactly this is what I meant. And I will
    strengthen your arguments, why building a server for
    the Hashtables would probably be the best solution. So
    first double-check, whether you can go this way,
    before reading any further!
    But anyway, if you want to look deeper into
    serialization:
    - Create an ObjectOutputStream consisting of a
    ByteArrayOutputStream:
    ByteArrayOutputStream baos = new
    ByteArrayOutputStream(100);
    ObjectOutputStream oos = new
    ObjectOutputStream(baos);where "100" is the initial size in bytes.
    - Write to this stream with
    oos.writeObject(hashtable);
    oos.flush();- Send the data as a sequence of bytes, which can be
    accessed by:
    baos.toByteArray()- on the receiving side, create an ObjectInputStream
    from the received byteArray:
    ByteArrayInputStream bais = new
    ByteArrayInputStream(byteArray);
    ObjectInputStream ois = new
    ObjectInputStream(bais);- Then read the hashtable:
    Hashtable h =
    (Hashtable)ois.readObject();This is only a very coares description of the process,
    but should just give some pointers to the basic way to
    serialization.So, in the client, I could:
    Map m = new HashMap();
    //fill m
    baosSize = m.getsizeofm();//pseudo method
    ByteArrayOutputStream baos = new ByteArrayOutputStream(baosSize);
    ObjectOutputStream oos = new ObjectOutputStream(baos);
    oos.writeObject(m);
    oos.flush();
    baos.toByteArray()and in the server code, I could:
    ByteArrayInputStream bais = new ByteArrayInputStream(byteArray);
    ObjectInputStream ois = new ObjectInputStream(bais);
    Map mh = (HashMap)ois.readObject();is that about right? If that's the case, how do I write the idl file? is this a string? say, "string baos;"?
    Thanks, guys, I really appreciate your help!

  • How Do You Render a Component using styleClass and CSS?

    To create a special rendering for a component like a RadioButton how do you build and apply a CSS style to it? I tried using "styleClass" for a component and inserting a CSS command like "P.two{font-size:small}" but nothing happened. There were no warnings or errors in the "source view". Do I have to write a java bean with methods that have the CSS commands in them and somehow reference them from the XML "styleClass" attribute? If so does anyone have an example or can you point me to one?
    Any help appreciated!
    Thanks,
    newsjsc

    usually you put that in an external stylesheet (*.css) and import it at the top of the page...
    <html><head>
    <link rel="stylesheet" href="css/default_developer.css" />
    </head><body></body></html>
    that's the one for this page...
    or you can put the style tags right within the <head> tags
    <html><head>
    <style type="text/css">
    <!--
    .two {
    font-size: 23px;
    -->
    </style>
    </head><body></body></html>
    The better practice is to put stylesheets in an external file and include that one file across multiple pages or for your whole application. For some real cool CSS stuff, check out www.cssvault.com or css zen garden.

  • Wanboot using s10u3 and http fails with error 416 with a small(ish) flar

    Hi,
    Using S10 u3 (11/06) to provision a wanboot server fails
    with a 1.4Gb flash image -- output at foot. The flar is there,
    perms 644, and I can open it in a web browser. The serverside
    log in /tmp/bootlog.HOST gives the same information.
    At OpenSolaris.org, this thread
    http://www.opensolaris.org/jive/thread.jspa?messageID=82856
    mentions a known bug 6509337 s10s_u3 wanboot fails but
    like another user of opensolaris, I cannot find that bug -- nor
    does searching sunsolve for wanboot 416 give any hits.
    Has anyone but the 3 folk at opensolaris and I seen this?
    Thank you for your time
    Using rules.ok from http://10.23.0.49/config.
    Checking rules.ok file...
    Using profile: profile
    Executing JumpStart preinstall phase...
    Searching for SolStart directory...
    Checking rules.ok file...
    Using begin script: install_begin
    Using finish script: patch_finish
    Executing SolStart preinstall phase...
    Executing begin script "install_begin"...
    Begin script install_begin execution completed.
    Wed Jan 31 14:10:56 wanboot info: WAN boot messages->10.23.0.49:80
    Processing profile
    - Opening Flash archive
    ERROR: Unable to access the archive. The server returned 416: Requested Range Not Satisfiable
    ERROR: Could not read file (http://10.23.0.49:80/flash/s10.flar)
    ERROR: Flash installation failed
    Solaris installation program exited.

    Hi,
    Using S10 u3 (11/06) to provision a wanboot server
    fails
    with a 1.4Gb flash image -- output at foot. The flar
    is there,
    perms 644, and I can open it in a web browser. The
    serverside
    log in /tmp/bootlog.HOST gives the same
    information.
    At OpenSolaris.org, this thread
    http://www.opensolaris.org/jive/thread.jspa?messageID=
    82856
    mentions a known bug 6509337 s10s_u3 wanboot fails
    but
    like another user of opensolaris, I cannot find that
    bug -- nor
    does searching sunsolve for wanboot 416 give any
    hits.
    Has anyone but the 3 folk at opensolaris and I seen
    this?
    Thank you for your time
    Using rules.ok from http://10.23.0.49/config.
    Checking rules.ok file...
    Using profile: profile
    Executing JumpStart preinstall phase...
    Searching for SolStart directory...
    Checking rules.ok file...
    Using begin script: install_begin
    Using finish script: patch_finish
    Executing SolStart preinstall phase...
    Executing begin script "install_begin"...
    Begin script install_begin execution completed.
    Wed Jan 31 14:10:56 wanboot info: WAN boot
    messages->10.23.0.49:80
    Processing profile
    - Opening Flash archive
    Unable to access the archive. The server returned
    416: Requested Range Not Satisfiable
    ERROR: Could not read file
    (http://10.23.0.49:80/flash/s10.flar)
    ERROR: Flash installation failed
    Solaris installation program exited.Same here:
    Processing profile
    - Opening Flash archive
    ERROR: Unable to access the archive. The server returned 416: Requested Range Not Satisfiable
    ERROR: Could not read file (http://199.17.241.103:80/wanboot/flar/flars/flar.sun4v.sol10_11_06.2)
    ERROR: Flash installation failed
    Solaris installation program exited.
    Web server error log is clean, but access log contains the following:
    199.17.247.252 - - [02/Feb/2007:21:35:31 -0600] "GET /cgi-bin/wanboot-cgi/?CONTENT=bootfile&IP=199.17.247.128&CID=0100144F0ED53C HTTP/1.1" 200 1087128 "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:35:40 -0600] "GET /cgi-bin/wanboot-cgi/?CONTENT=bootfs&IP=199.17.247.128&CID=0100144F0ED53C&NONCE=80E23BAF0AE7E91E0B8141E0B7B66323A300C4A6 HTTP/1.1" 200 379111 "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:35:42 -0600] "GET /cgi-bin/wanboot-cgi/?CONTENT=rootfs&IP=199.17.247.128&CID=0100144F0ED53C HTTP/1.1" 200 235 "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:35:42 -0600] "GET /wanboot/miniroot/miniroot.sun4v_sol10_11_06 HTTP/1.1" 200 273847296 "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:38:57 -0600] "HEAD /wanboot/flar/sysidcfg.patrick/sysidcfg HTTP/1.1" 200 - "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:38:57 -0600] "GET /wanboot/flar/sysidcfg.patrick/sysidcfg HTTP/1.1" 206 687 "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:43:27 -0600] "HEAD /wanboot/flar/rules.ok HTTP/1.1" 200 - "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:43:27 -0600] "GET /wanboot/flar/rules.ok HTTP/1.1" 206 341 "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:43:28 -0600] "HEAD /wanboot/flar/mybegin HTTP/1.1" 200 - "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:43:28 -0600] "GET /wanboot/flar/mybegin HTTP/1.1" 206 715 "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:43:28 -0600] "HEAD /wanboot/flar/profile.sol10_T2000_72g.0 HTTP/1.1" 200 - "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:43:28 -0600] "GET /wanboot/flar/profile.sol10_T2000_72g.0 HTTP/1.1" 206 501 "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:43:29 -0600] "HEAD /wanboot/flar/flars/flar.sun4v.sol10_11_06.2 HTTP/1.1" 200 - "-" "-"
    199.17.247.252 - - [02/Feb/2007:21:43:29 -0600] "GET /wanboot/flar/flars/flar.sun4v.sol10_11_06.2 HTTP/1.1" 416 392 "-" "-"
    showrev: Kernel version: SunOS 5.10 Generic_118833-33

  • Best MRP type and strategy to run MRP for component using PIR and forecast

    Hi Experts,
      I want to run MRP for Component parts. I need to run MRP based on Planned independent requirements and Forecast Data.
    Which is the best suited MRP type and strategy.
    Please help to share bestpractices if any. thank you.
    Rayudu

    Hi,
    is the components you are talking are Semi finished materials or Raw materials and Packing materials which are procured from vendors ???....
    It is not a good idea to maintain planning strategy for Components which are part of BOM...these materials are automatically planned when the header materials of these components are planned....
    If these components are not part of any BOM then you can try the option of using forecast based planning.. MRP type  VV and maintain the forecasting view in the material master
    You can also explore the option of consumption based planning like manual or automatic reorder point planning...
    Thanks
    Kumar

  • Updating java when using JDK and JRE

    Ok, so after you make a program in java and compile it, you then install the new update of java. Wouldn't the virtual machine(JRE) or java development kit(JDK) notice something thats different and bring up an error?
    Do you have to use the same JDK as JRE that you have, because if you didn't have the most updated one, wouldn't there come up with an error?
    Last question, if you have used the command line to compile a program, then you know that you need to use javac to compile and java to run it. Well when you use the command javac to compile, then you are using the JDK; and if you use the java command to run it, then you are using JRE. This is just a question to make sure that I have this correct, So correct me if I'm wrong.

    brown16b wrote:
    Ok, so after you make a program in java and compile it, you then install the new update of java. Wouldn't the virtual machine(JRE) or java development kit(JDK) notice something thats different and bring up an error? Why? A newer Java version should be able to execute programs compiler for a prior version.
    Do you have to use the same JDK as JRE that you have, because if you didn't have the most updated one, wouldn't there come up with an error?Eh, what?
    Last question, if you have used the command line to compile a program, then you know that you need to use javac to compile and java to run it. Well when you use the command javac to compile, then you are using the JDK; and if you use the java command to run it, then you are using JRE. This is just a question to make sure that I have this correct, So correct me if I'm wrong.It's correct.

  • Is there a way to get date and time in JAVA without using sysdate and time.

    Hi Everybody,
    There is a requirement in my Application. The requirement is I need to instal an application and it need to expire after certain period (say 1 year).
    And after that it should become useless for anyone enjoying the benefits of that. I need to know how to calculate the timeline for calculating expiry date.
    <ul><li>&Oslash; We can't rely on system date, since user can modify that.</li>
    <li>&Oslash; We also can't use counter because for that system should execute in 24x7.</li>
    <li>&Oslash; Also there is no internet connection to fetch the current date from the global server.</li>
    </ul>
    So if anyone has any idea to accomplish post your suggestions to me.

    ejp wrote:
    I strongly suggest you take legal advice before implementing such a feature. The purchaser, or licensee, of such software has reasonable expectations and legal rights which are unlikely to be met by a brute-force scheme like that. You don't want to end up in court ...This exact situation happened at my previous employer--although it didn't go to court.
    We contracted out to a 3rd party vendor to write a library for us. It was delivered in stages and paid for in stages. After we received the last delivery, but before we'd made the final payment, we had our first full-system demo for our first client/partner. Shortly before the demo was to begin, we brought the system up, and it immediately crashed. We saw a "This software is expired" type message in the log. While it's not uncommon for software to have an expiration date, our big issues with it were 1) there was nothing of the sort written into the contract, and 2) The expiration was a hardcoded "if date > whatever, System.exit" as soon as the class was even loaded.. It would've been different if trying to actually use the class caused an exception, but killing the JVM just for loading the class was not cool.
    I decompiled the class, found the offending code, commented it out, recompiled, and we were off. In the meantime, our VP of R&D called the vendor to deliver a new jar file, which they did quite quickly. So, a) it was inconvenient but not difficult for me to get around the technical "solution," and b) that was as stop-gap measure--we still paid them for the software.

  • SQL Developer (using TNS and LDAP) fails

    If I use a Basic Connection Type and specify the Host, Port and Service Name I can get connected.
    If I use a TNS Connection Type and click on the appropriate Network Alias I get:
    Status: Failure -lo exception: SO exception was generated.
    The SQLNET.ORA file has this entry:
    NAMES.DIRECTORY_PATH= (LDAP)
    SQL*Plus connections work fine.
    Has anyone seen this issue and resolved it ?
    Thanks,
    Bob Larsen

    Bob,
    TNS connection with Network Alias option should work.
    I assume you have a local tnsnames.ora file with the database entry.
    You can launch sqldeveloper from sqldeveloper\sqldeveloper\bin\sqldeveloper.exe
    or sqldeveloper\sqldeveloper\bin\sqldeveloper.bat.
    This will give a stack trace.
    Thanks,
    Sri

  • SDO_SAM.TILED_BINS using xdivs and ydivs fails

    I'm using SDO_SAM.TILED_BINS to generate some grids, but with some combinations of xdivs and ydivs if doesn't return correct.
    To be simple, theres a example like the one in documentation:
    If xdivs=7 and ydivs=7
    SELECT * FROM TABLE(sdo_sam.tiled_bins(-180, 180, -90, 90, null, null, 7, 7)) ORDER BY id;
    it is OK, it returns (7+1)*(7+1) rows, from ID 0 to 63.
    If xdivs=5 and ydivs=7
    SELECT * FROM TABLE(sdo_sam.tiled_bins(-180, 180, -90, 90, null, null, 5, 7)) ORDER BY id;
    it is OK, it returns (5+1)*(7+1) rows, but some IDs repeats and the grid is not complete.
    I'm returning SRID as null, it doesn't matters to me, but if I use one, the same problem occurs.
    Tested in Oracle 10.2.0.1 and 11.1.0.7.0
    Maybe I missing something?
    Thanks in advance
    Edited by: user7100389 on Nov 26, 2009 8:33 AM

    Rob,
    You can use SDO_GEOM.SDO_MIN_MBR_ORDINATE and SDO_GEOM.SDO_MAX_MBR_ORDINATE to compute the length and width of an mbr.
    References:
    [ SDO_GEOM.SDO_MIN_MBR_ORDINATE | http://docs.oracle.com/cd/E11882_01/appdev.112/e11830/sdo_objgeom.htm#i866250 ]
    [ SDO_GEOM.SDO_MAX_MBR_ORDINATE | http://docs.oracle.com/cd/E11882_01/appdev.112/e11830/sdo_objgeom.htm#i866249 ]
    Regards,
    Noel

  • Can not locate Java class using JNI within C++ DLL

    I am using trying to use JNI to call a Java class from C++. The Java class uses JMS to send messages to a JMS message queue. At first I coded the C++ in a console application that created the JavaVM and used JNI to access the Java class. All worked fine. Then I called the Java class using JNI from threads and ran into the problem of the Java class not able to locate the JMS related classes. This was solved by placing the following line in the constructor of the Java class.
    Thread.currentThread().setContextClassLoader(ClassLoader.getSystemClassLoader());
    Then I moved the JNI code from a console application to a DLL in specific an extension DLL that is called by SQL Server or Oracle server. The DLL will use JNI to call the Java class and send messages to a JMS message queue.
    The problem I am having now when the DLL code is called by SQL Server the call to
    JNI_CreateJavaVM
    appears to work correctly but the call to find the Java class using
    jvmEnv->FindClass(pName)
    fails. It appears the is a class loading problem which occurs due to the fact JNI is called from a DLL. When the VM is created I pass the class path information using the statement
    -Djava.class.path=
    And as I stated before it all works when running from a console application. I am new to JNI and really need help in the form of some sample code that will solve this problem. I believe I need to somehow load the classpath information from the DLL but I can not find examples on how to do this using JNI. I have tried several ways using URLClassLoader and getSystemClassLoader from JNI and either it does not work or it crashes very badly.
    I used the following code to determine what the existing class path is and the string returns empty.
    jcls = jvmEnv->FindClass("java/lang/System");
    jmid = jvmEnv->GetStaticMethodID(jcls, "getProperty", "(Ljava/lang/String;)Ljava/lang/String;");
    jstrClassPath = jvmEnv->NewStringUTF("java.class.path");
    jstr = (jstring)jvmEnv->CallStaticObjectMethod(jcls, jmid, jstrClassPath);
    m_jstr = (jstring)jvmEnv->NewGlobalRef(jstr);
    pstr = jvmEnv->GetStringUTFChars(m_jstr, 0);
    Can anyone please help with example code that will solve this problem. Thanks in advance for any help.
    Charles�

    I have determined the problem occurs when the application/component is compiled using VC 6.0. The test application was compiled using VC 7.1 and works correctly by locating the class path information. If the test application is compiled using VC 6.0 it has the same problem.
    The jvm.dll I am using is version 1.4.2.80. Currently this is not an option to compile all the applications that use JNI using VC 7.1 so can someone please tell me how to solve this problem.

  • Updates to NW Java Component Hierarchy in Service Marketplace

    Dear Forum Members,
    In SAP Active Global Support, we are underway with a project to simplify the component selection process for our customers. From our analysis of customer feedback and usability studies, we have found that customers have difficulty in navigating through the component hierarchy tree, and as such, often end up choosing incorrect components. We will therefore be reducing the number of NW Java components visible to customers.
    Goal
    Based on an analysis of incoming message volume, 112 components have been selected for hiding because of a lack of usage, or because they could be easily absorbed by other areas or parent components. see the list below which shows the components which will be hidden.
    Benefit
    The reduction of components will assist us in Support as less component granularity leads to swifter and easier dispatching. Secondly, the reduction will pay dividends on the SMP Message Wizard as fewer components being proposed to the customer in the SMP means easier component selection and increased satisfaction.
    We plan to introduce component hiding from Thursday, the 26th of January 2012.
    The affected components which will be removed from the SMP Message Wizard list are listed in [this Wiki page|http://wiki.sdn.sap.com/wiki/x/-Ia1Dw].
    Furthermore, we will use this thread and the mentioned [Wiki page|http://wiki.sdn.sap.com/wiki/x/-Ia1Dw] to inform you, our customers, of any updates to the NW Java component hierarchy as and when we have such details.
    Please feel free to post any comments or queries related to this topic and we will respond at our earliest convenience.
    Kind Regards,
    SAP NW Java Moderators

    Hi Nahman,
    Please check the link below. This will throw some light on how to create an Application Service.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b758afc6-0701-0010-0b9d-e096ab5e3b3f
    Also the link below will tell you how to create an Application Service and build a WebService on top of it.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5e9ca25b-0e01-0010-bbaa-f3b963e89edd
    Though the consumption is from Visual Composer, you may consume the same from WebDynpro.
    Hope this helps.
    Regards,
    Rekha Malavathu

  • Is is possible to shutdown the Java Cluster using an OS command?

    We have a Netweaver 7.0 dual stack system.  How can we shutdown the java cluster only using a Unix OS command?  I tried "stopsap j2ee" but that shutdown the j2ee and abap services.  I only want to shutdown the j2ee services (dispatcher,server & sdm).  I know you can shutdown the java cluster using SMICM and jcmon, but these are interactive interfaces.  I am trying to create an Unix script just to shutdown the java components.
    Is this possible?
    Thank you!

    Hi Magnus...
    The command STOPSAP with the switch J2EE stop SAP NetWeaver
    as per SAP start/stop
    http://help.sap.com/saphelp_nw70/helpdata/en/71/1c9a4267f9c66ae10000000a155106/content.htm
    but may be try this
    STOPSAP.EXE name=<SID> nr=<SYSNR> SAPDIAHOST=<host>
    one thing remembered ABAP Schema has formula SAP<SID> ( Database Schema), but in Java Schema SAP<SID>DB ( there is additional u201CDBu201D).
    ABAP instance called DVEBMG<system number>, JAVA/SCS Instance called SCS<java system number>, commonly, for example my server uses DVEBMG00 and SCS01
    thnx....

Maybe you are looking for