0 Replies Latest reply: Apr 10, 2008 9:08 AM by 843833 RSS

    Petstore - access products in any category - java.security.PrivilegedAction

    843833
      Environment: petstore1.3.1_02 / j2sdkee1.3.1 / j2sdk1.4.2_09

      Am able to get the first page of petstore app - http://localhost:8000/petstore. However, when i click on any of the products in any of the categories i get the following exception

      "...java.security.PrivilegedActionException: javax.servlet.ServletException: An error occurred while evaluating custom action attribute "value" with value "${item.attribute}": Unable to find a value for "attribute" in object of class "com.sun.j2ee.blueprints.catalog.model.Item" using operator "."
      at java.security.AccessController.doPrivileged(Native Method)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
      patcher.java:488)
      at com.sun.j2ee.blueprints.waf.view.template.tags.InsertTag.doEndTag(Ins
      ertTag.java:99)........................."

      Have tried setting the following (although the doc says its needed only for J2EE SDK 1.4 Beta) - still get the same error.

      grant {
      permission java.io.FilePermission "${com.sun.enterprise.home}${/}lib${/}endorsed${/}xalan.jar", "read";
      };

      Would appreciate if someone could help.