2 Replies Latest reply: Nov 4, 2009 2:30 AM by 693583 RSS

    changes to the java code in JDeveloper 10.1.3.3.0 not being executed

    693583
      I'm currently working in the implementation of the Siebel Self Service 8.1.1.1 and I've got a question. Hope someone answers it.


      The sources files for Siebel Self-Service application were extracted to a directory (for instance C:\sba81\SelfService\Sia)

      In doing so I end up having the Model and ViewController directory.

      I open the file SelfService.jws with JDeveloper 10.1.3.3.0 (I use this version for Jdeveloper because it's the only version supported for Siebel Self-Service)

      I open the file C:\sba81\SelfService\Sia\Model\classes\oracle\apps\ss\base\model\security\SiebelWSHandler.java to make some changes.

      I rebuild and run the application.

      The issue is that none of the changes are being executed regardless of the change applied.

      For instance in the SiebelWSHandler there is this function

      protected String findSiebelUserName() {
      String username = null;
      if(isStatefulAnonymousSession()) {
      username = ConfigurationCacheManager.get("SIEBEL_PROXY_USER_NAME");
      log.info("findSiebelUserName, proxy username="+username);
      } else {
      AppSession appSes = getAppSession();
      username = appSes.getUserName();
      log.info("findSiebelUserName, real username="+username);
      }
      return username;
      }

      I just add a line to the code as follows


      protected String findSiebelUserName() {

      String username = null;
      username = "GUESTCST";

      if(isStatefulAnonymousSession()) {

      username = ConfigurationCacheManager.get("SIEBEL_PROXY_USER_NAME");

      log.info("findSiebelUserName, proxy username="+username);

      } else {

      AppSession appSes = getAppSession();

      username = appSes.getUserName();

      log.info("findSiebelUserName, real username="+username);

      }

      return username;

      }

      I rebuild and run the program. The line added is not being executed. the variable usename is not being reset to GUESTCST and remains null.

      I use Debug, add a breakpoint and execute the code line by line (using F8). The variable username never gets reset to GUESTCST..

      any help will be much appreciated.