Learning jsf while working on jsp...

hi,
im new to jsp, im working on the web applications using jsp...
but at the same time i want to learn jsf and struts also.
im not getting from where to start..
please let me know how to start with these...
is the knowledge of struts is important for jsf?
please help me....
thanks

There are several documents that you at least need to understand:
JSF 1.2 Specification: http://jcp.org/aboutJava/communityprocess/final/jsr252/index.html
JSF 1.2 API: http://java.sun.com/javaee/javaserverfaces/1.2/docs/api/index.html
JSF 1.2 TLD: http://java.sun.com/javaee/javaserverfaces/1.2/docs/tlddocs/index.html
There are several JSF tutorials available on the Internet:
List of all JSF tutorials: http://www.google.com/search?q=jsf+tutorial
A well known example: http://www.coreservlets.com/JSF-Tutorial/
Eclipse WTP JSF tutorial: http://www.eclipse.org/webtools/jsf/dev_resource/JSFTutorial-RC3/JSFTools_tutorial.html

Similar Messages

  • Problem while working with JSP DYNPAGE

    Hi
    I have to make use of JDBC System in my program to connect to a Sql database.  I had written a code and its working fine with Abstract Portal Component.  Once after successful execution, I copied the same code into Page Processor Component, and here my problem started, Im unable to execute the code and getting errors like below in my Eclipse IDE:
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    com/sapportals/portal/security/usermanagement/IUMPrincipal.
    Exception id: 03:45_14/12/04_0036
    See the details for the exception ID in the log file
    AND IN LOG FILE this is the EXCEPTION DETAIL.
    [email protected]58f #
    Dec 14, 2004 12:23:35 AM # SAPEngine_Applica... Fatal           Exception ID:12:23_14/12/04_0028
    com.sapportals.portal.prt.component.PortalComponentException: Error in init method
    Component : oratest2.oratest2
         at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:248)
         at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:216)
         at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:264)
         at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:384)
         at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:423)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:536)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:151)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:373)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:250)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:321)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:299)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:698)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:223)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:146)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:140)
    Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class oratest2.oratest2 of Portal Component oratest2.oratest2 because: Could not instantiate implementation class
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:266)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getComponentInstance(PortalComponentItemFacade.java:158)
         at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java:660)
         at com.sapportals.portal.prt.component.PortalComponentContext.getComponent(PortalComponentContext.java:100)
         at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:239)
         ... 26 more
    Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: [PortalApplicationItem.__prepareClassLoaderAndDependencies]: oratest2
         at com.sapportals.portal.prt.core.broker.PortalApplicationItem.__prepareClassLoaderAndDependencies(PortalApplicationItem.java:361)
         at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:207)
         at com.sapportals.portal.prt.core.broker.PortalApplicationItem.getCoreLoader(PortalApplicationItem.java:276)
         at com.sapportals.portal.prt.core.broker.PortalComponentItem.getClassLoader(PortalComponentItem.java:524)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getClassLoader(PortalComponentItemFacade.java:101)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:225)
         ... 30 more
    Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: [PortalApplicationItem.__prepareClassLoaderAndDependencies]: com.sap.portal.usermanagement.usermanagement
         at com.sapportals.portal.prt.core.broker.PortalApplicationItem.__prepareClassLoaderAndDependencies(PortalApplicationItem.java:361)
         at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:207)
         at com.sapportals.portal.prt.core.broker.PortalApplicationItem.__prepareClassLoaderAndDependencies(PortalApplicationItem.java:352)
         ... 35 more
    Caused by: com.sapportals.portal.prt.core.broker.PortalApplicationNotFoundException: Could not find portal application com.sap.portal.usermanagement.usermanagement
         at com.sapportals.portal.prt.core.broker.PortalApplicationItem.__prepareClassLoader(PortalApplicationItem.java:518)
         at com.sapportals.portal.prt.core.broker.PortalApplicationItem.__prepareClassLoaderAndDependencies(PortalApplicationItem.java:356)
         ... 37 more
    Can any one help me out?
    thanks
    raj

    Hi,
    You say:
    > e code into Page Processor Component, and here my
    > problem started, Im unable to execute the code and
    > getting errors like below in my Eclipse IDE:
    > Portal Runtime Error
    the code has to be placed in the JSPDynpage not in the PageProcessor...
    public class PEGLink extends PageProcessorComponent {
      public DynPage getPage() {
        return new DynPageOne();
       public class DynPageOne extends DynPage {
             place Your code here. E.g. in the PBO Method for testing
    Walter

  • How to upload taxes while working with po interface

    Hi 2 all,
    While working with PO interface we need to upload bulk of line items as it is working fine..
    for every line we have to upload taxes also is it possible to upload taxes with po interface?
    Regards
    Siva

    Now I get Facelets work with my JSPs.
    I added the below to my web.xml:
    <servlet-mapping>
              <servlet-name>Faces Servlet</servlet-name>
              <url-pattern>*.jsf</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
              <servlet-name>Faces Servlet</servlet-name>
              <url-pattern>/faces/*</url-pattern>
         </servlet-mapping>
    I am not clear in understandin what's the significance in using /faces/*. From my understanding the below should work as well. Help me in understanding where I'm goin wrong.
    <servlet-mapping>
              <servlet-name>Faces Servlet</servlet-name>
              <url-pattern>*.jsf</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
              <servlet-name>Faces Servlet</servlet-name>
              <url-pattern>*.xhtml</url-pattern>
         </servlet-mapping>
    I have a requirement where the page should navigate from a JSP to a .xhtml(facelets page). Please help me out with this.

  • Urgent.....Error while running a jsp report from Jdeveloper

    Hi,
    I am getting following error while running a jsp report from Jdeveloper. I am using version 10.1.2.1.0. The same report is working fine when I am running it from report builder. ( Both these tools were installed using Oracle Developer Suite 10g version 10.1.2). I did search in oracle discussion forums and google, but I could not arrive at a resolution of error. Any help in resolving this issue would be grateful.
    Error details:
    Page url : http://<hostipaddress>:8988/Reports-reportproject-context-root/MyReport.jsp
    Reports Error Page
    Wed Oct 17 20:03:22 IST 2007
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
         at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:464)
         at MyReport.jspService(MyReport.jsp:4)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    Could anyone help me out in resolving this issue.
    Thanks
    Siva...

    Hi,
    I posted this message in jdeveloper forum yesterday, but there was no response. So I thought of posting it in this forum to check my luck.
    Thanks
    Siva...

  • Urgent...Error while running a jsp report in Jdeveloper

    Hi,
    I am getting following error while running a jsp report from Jdeveloper. I am using version 10.1.2.1.0. The same report is working fine when I am running it from report builder. ( Both these tools were installed using Oracle Developer Suite 10g version 10.1.2). I did search in oracle discussion forums and google, but I could not arrive at a resolution of error. Any help in resolving this issue would be grateful.
    Error details:
    Page url : http://<hostipaddress>:8988/Reports-reportproject-context-root/MyReport.jsp
    Reports Error Page
    Wed Oct 17 20:03:22 IST 2007
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
    at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:464)
    at MyReport.jspService(MyReport.jsp:4)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    Could anyone help me out in resolving this issue.
    Thanks
    Siva...

    Hi,
    I posted this message in jdeveloper forum yesterday, but there was no response. So I thought of posting it in this forum to check my luck.
    Thanks
    Siva...

  • Filter does not work with *.jsp URL pattern???

    Hi All,
    I am, by no means, very good at JSF or Java. I have looked at various forum posts on here for ways to implement a security filter to intercept requests to pages that first require one to be logged in, and if not, redirect them to the login page. Yes, I know a lot of you have heard this many times before, and I'm sorry to bring it up again.
    BUT, from the guidance of other posts, I have got a filter that works fine when the url pattern is set to "/faces/*" or "/<anything>/*", however it won't work for "*.jsp" or "*.<anything>"
    My filter is as follows:
    package test.security;
    import javax.faces.context.FacesContext;
    import javax.servlet.Filter;
    import javax.servlet.FilterChain;
    import javax.servlet.FilterConfig;
    import javax.servlet.http.HttpSession;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class SecurityFilter implements Filter{
        /** Creates a new instance of SecurityFilter */
        private final static String FILTER_APPLIED = "_security_filter_applied";
        public SecurityFilter() {
        public void init(FilterConfig filterConfig) {
        public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws java.io.IOException, ServletException{
            HttpServletRequest req = (HttpServletRequest)request;
            HttpServletResponse res = (HttpServletResponse)response;
            HttpSession session = req.getSession();
            String requestedPage = req.getPathTranslated();
            String user=null;
            if(request.getAttribute(FILTER_APPLIED) == null) {
                //check if the page requested is the login page or register page
                if((!requestedPage.endsWith("Page1.jsp")) /* This is the login page */
                    //set the FILTER_APPLIED attribute to true
                    request.setAttribute(FILTER_APPLIED, Boolean.TRUE);
                    //Check that the session bean is not null and get the session bean property username.
                    if(((test.SessionBean1)session.getAttribute("SessionBean1"))!=null) {
                        user = ((test.SessionBean1)session.getAttribute("SessionBean1")).getUsername();
                    if((user==null)||(user.equals(""))) {
                       // try {
                     //       FacesContext.getCurrentInstance().getExternalContext().redirect("Page1.jsp");
                      //  } catch (ServletException ex) {
                      //      log("Error Description", ex);
                        res.sendRedirect("../Page1.jsp");
                        return;
            //deliver request to next filter
            chain.doFilter(request, response);
        public void destroy(){
    }My web.xml declaration for the filter is:
    <filter>
      <description>Filter to check whether user is logged in.</description>
      <filter-name>SecurityFilter</filter-name>
      <filter-class>test.security</filter-class>
    </filter>
    <filter-mapping>
      <filter-name>SecurityFilter</filter-name>
      <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
    Note: I have also tried this with <url-pattern>*.jsp</url-pattern> for the filter mapping in place of the Faces Servlet
    My web.xml declaration for the url pattern is:
    <servlet-mapping>
      <servlet-name>Faces Servlet</servlet-name>
      <url-pattern>*.jsp</url-pattern>
    </servlet-mapping>Which JSC/NetbeansVWP automatically creates a "JSCreator_index.jsp" which has:
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root  version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page">
      <jsp:forward page="Page1.jsp"/>
    </jsp:root>When run, this causes an Error 500 in the browser and a NullPointerException in SecurityFilter.java on the line:
    if((!requestedPage.endsWith("Page1.jsp")) /* This is the login page */I think I'm missing something that would be obvious to anyone who knows better than me. Any ideas?

    Dear Ginger and Boris,
    thanks for the information - the problem seems to ocur in EP7 as well, Boris told me it is fixed in SP15. We are on SP14 now, so there is hope !
    actually the information in the oss note stated above is also true, as we have an Oracle DB. On a similar demo system (only difference is SQL DB) the hyphen search works !
    best regards, thank you !
    Johannes

  • Error while running AppsLocalLogin.jsp in R11.5.10 on Jdeveloper

    Hi,
    I am getting error while running AppsLocalLogin.jsp on Jdeveloper for r11.5.10 rup 7.
    I perform following steps to successfully compile (with warnings only) the page.
    1. Copy AppsLocalLogin.jsp from OA_HTML to C:\jdev_r11\jdevhome\jdev\myhtml\OA_HTML.
    2. Then when I recompile it give me following error
    Error: cannot access class oracle.apps.fnd.sso.SSOAccessEnabler; file oracle\apps\fnd\sso\SSOAccessEnabler.class not found
    3. So i copy all class files from oracle\apps\fnd\sso to C:\jdev_r11\jdevhome\jdev\myclasses\oracle\apps\fnd\sso
    4. Form successfully build.
    5. Execute the jsp and following error appears..
    *500 Internal Server Error*
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
         at java.lang.String.substring(String.java:1444)
         at oracle.apps.fnd.sso.SSOAccessEnabler.<init>(SSOAccessEnabler.java:43)
         at AppsLocalLogin.jspService(AppsLocalLogin.jsp:80)
         [AppsLocalLogin.jsp]
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
         at java.lang.Thread.run(Thread.java:534)
    I am stuck. Please let me know what i am doing wrong. Thanks.
    Ayaz

    Check out some old threads. Probably it might help
    Custom Login and Logout replacing AppsLocalLogin
    Re: How to Customize AppsLocalLogin.jsp page
    Thanks
    AJ

  • Initial forward in RichFaces app gets 404, but simple JSF app works fine

    (I asked about this on the RichFaces forum, but perhaps this isn't a RichFaces issue.)
    've just started to look deeply into JSF. I'm deploying some test apps to WebLogic 9.2.2. I have two simple apps I'm testing. One is a plain JSF app, and the other is the "echo" RichFaces app.
    When I go to the URL for the plain JSF app, the "index.jsp" successfully forwards to the main page, and it shows up.
    When I go to the URL for the RichFaces "echo" app, I immediately get a 404.
    I added some debug, so I know that it executes my "index.jsp". I also set a breakpoint in org.ajax4jsf.webapp.BaseFilter.doFilter(), and I see it hit that. I also added a debugging lifecycle listener.
    So, with this debug enabled, I get this:
    [DEBUG] BaseFilter - Filter start request processing at 12/31/07 12:05 PM for uri: /AjaxEcho/faces/echo.jsp
    [DEBUG] BaseFilter - Filter request output to XML
    BeforePhase: RESTORE_VIEW 1
    AfterPhase: RESTORE_VIEW 1
    BeforePhase: RENDER_RESPONSE 6
    AfterPhase: RENDER_RESPONSE 6
    [DEBUG] BaseFilter - Finished request processing total time 31ms for uri: /AjaxEcho/faces/echo.jsp
    As that didn't tell me anything, I enabled debug for "com.sun.faces" and "org.ajax4jsf", which produced the output following this. I still don't see any obvious clues here.
    [DEBUG] BaseFilter - Filter start request processing at 12/31/07 1:57 PM for uri: /AjaxEcho/faces/echo.jsp
    [DEBUG] BaseFilter - Filter request output to XML
    [DEBUG] BaseXMLFilter - XML filter service start processing request
    [DEBUG] LifecycleImpl - execute(com.sun.faces.context.FacesContextImpl@1539b09)
    [DEBUG] AjaxPhaseListener - Process before phase RESTORE_VIEW 1
    [DEBUG] InitPhaseListener - Perform additional framework initialization on first request
    BeforePhase: RESTORE_VIEW 1
    [DEBUG] RestoreViewPhase - Entering RestoreViewPhase
    [DEBUG] ViewHandlerImpl - URL pattern of the FacesServlet executing the current request /faces
    [DEBUG] AjaxStateManager - Can't restore view state : no saved view states in se ssion
    [DEBUG] AjaxViewHandler - Detect session expiration in AJAX request - view don't restored for a viewId /echo.jsp
    [DEBUG] RestoreViewPhase - New request: creating a view for /echo.jsp
    [DEBUG] ViewHandlerImpl - Created new view for /echo.jsp
    [DEBUG] ViewHandlerImpl - Locale for this view as determined by calculateLocale en
    [DEBUG] ViewHandlerImpl - RenderKitId for this view as determined by calculateRenderKitId HTML_BASIC
    [DEBUG] RestoreViewPhase - Exiting RestoreViewPhase
    AfterPhase: RESTORE_VIEW 1
    [DEBUG] InitPhaseListener - Remove init phase listener from factories
    [DEBUG] LifecycleImpl - removePhaseListener(ANY 0,org.ajax4jsf.event.InitPhaseListener@b61de0
    [DEBUG] AjaxPhaseListener - Process after phase RESTORE_VIEW 1
    [DEBUG] LifecycleImpl - Skipping rest of execute() because of a reload
    [DEBUG] LifecycleImpl - render(com.sun.faces.context.FacesContextImpl@1539b09)
    [DEBUG] AjaxPhaseListener - Process before phase RENDER_RESPONSE 6
    [DEBUG] AjaxPhaseListener - PhaseListener enter Before RenderView Phase with ViewId /echo.jsp and RenderKitId HTML_BASIC
    BeforePhase: RENDER_RESPONSE 6
    [DEBUG] RenderResponsePhase - Entering RenderResponsePhase
    [DEBUG] RenderResponsePhase - About to render view /echo.jsp
    [DEBUG] ViewHandlerImpl - About to render view /echo.jsp
    [DEBUG] ViewHandlerImpl - URL pattern of the FacesServlet executing the current request /faces
    [DEBUG] ViewHandlerImpl - Found no URL patterns mapping to FacesServlet
    [DEBUG] AjaxContext - Process component tree for collect used scripts and styles
    [DEBUG] InternetResourceBuilder - Return instance of internet resource builder org.ajax4jsf.resource.ResourceBuilderImpl@1011211
    [DEBUG] RenderResponsePhase - Exiting RenderResponsePhase
    AfterPhase: RENDER_RESPONSE 6
    [DEBUG] AjaxPhaseListener - Process after phase RENDER_RESPONSE 6
    [DEBUG] BaseXMLFilter - create HTML/XML parser for content type: null
    [DEBUG] BaseXMLFilter - Parser not have support for the such content type, send response as-is
    [DEBUG] BaseFilter - Finished request processing total time 17721ms for uri: /AjaxEcho/faces/echo.jsp

    I got this working, but it sure seems odd to me. In the working JSF app, I didn't notice that the forward from "index.jsp" references "/faces/main.jsp", even though "main.jsp" is in the root of the app. I changed my RichFaces app to do the same, so it references the "fake" root directory of "/faces". Now it works fine, it's just odd looking. I didn't notice this being called out in the JSF book (Complete Reference).

  • JSF 1.2 and JSP 2.1

    hi all
    i would like to know does JSP 2.1 apart for providing the Unified EL, also does away with the life cycle mixing of JSP and JSF as in previous combination such as jsf 1.1 and JSP .
    also would facelets be a better performer???
    Rajat

    It is tough to say if facelets would be a better performer or not a priori. You would probably have to instrument your application to discover this.
    JSPs are compiled into Java classes and so might run faster. OTOH, they likely have a heavier footprint (more memory used to load the classes and the interned strings).
    I don't know enough about facelets internals to know for certain, but suppose each facelet has a lighter footprint. Then you probably start with JSPs performing better with facelets catching up as you add more and more pages.
    But sometimes these things do not work out the may you might theorize. E.g., few people predicted that Java would be a performer on the server and that in fact the Java application performs better the longer it runs.
    Don't take anything I've said here as gospel, I am just speculating.

  • JSPG0227E: Exception caught while translating /index.jsp:  /index.jsp(12,2)

    While i am creating label in JSF i am getting the following error.
    JSPG0227E: Exception caught while translating /index.jsp: /index.jsp(12,2) --> JSPG0006E: Custom Tag is missing required attribute for
    Please help me.
    Thanks in Advance.

    Add the for attribute to the custom tag.

  • Work on jsp

    I would like to work on JSP WHERE DO I DOWNLOAD IT FROM ?
    I WOULD LIKE TO WORK ON JAVA TO WHERE DO I DOWNLOAD FROM ?

    I would like to work on JSP WHERE DO I DOWNLOAD IT
    FROM ?
    from http://java.sun.com/
    Download j2se sdk and j2ee sdk and one web server.
    I WOULD LIKE TO WORK ON JAVA TO WHERE DO I DOWNLOAD
    FROM ?To learn java
    http://java.sun.com/docs/books/tutorial/

  • Error while running a jsp page : "jasper run time error"

    hii
    I'm facing trouble while running some jsp page . the error is as follows:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    Unable to find a javac compiler;
    com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK
         org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106)
         org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
         org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
    Apache Tomcat/5.0.28
    The set up in my system (path set up is as follows):
    Catalina home: C:\ apache software foundation\Tomcat 5.0
    Classpath: %java_home%;C:\j2sdk1.4.2_03\bin;
    Javahome: C:\ j2sdk1.4.2_03\jre;
    path: C:\ j2sdk1.4.2_03\bin
    <there are other variables available in path, along with that I have added the j2sdk1.4.2_03\bin in path".
    So if u have any way out for it please let me know.

    I think you only need to add: c:\j2sdk1.4.2_01
    you have specified jre on the end of your path, it is not the jre that is required, but the jdk.
    If you are using startup.bat and shutdown.bat (or .sh on Linux) you can amend the files with a text editor (open the startup.bat in notepad), like so:
    @echo off
    set JAVA_HOME=c:\j2sdk1.4.2_01
    if "%OS%" == "Windows_NT" setlocal
    I this will start Tomcat with the correct settings, regardless of your environment settings.

  • Photoshop CC (Version: 14.2.1)  regularly crashes while working in 3D. My PC is Windows 8.1.

    Photoshop CC 64bit regularly crashes while working in 3D. My PC is Windows 8.1.  I am trying to create 3D text but while I am adjusting extrusion depths or editing the materials, the program crashes.  I am able adjust my graphics card settings to give more memory to Photoshop for 3D, but I don't know what are the best settings to use.
    Here are my System Settings:
    Adobe Photoshop Version: 14.2.1 (14.2.1 20140207.r.570 2014/02/07:23:00:00) x64
    Operating System: Windows 8 64-bit
    Version: 6.2
    System architecture: Intel CPU Family:6, Model:10, Stepping:9 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
    Physical processor count: 4
    Logical processor count: 8
    Processor speed: 3392 MHz
    Built-in memory: 16322 MB
    Free memory: 11910 MB
    Memory available to Photoshop: 14588 MB
    Memory used by Photoshop: 60 %
    Image tile size: 1024K
    Image cache levels: 4
    Font Preview: Disabled
    TextComposer: Middle Eastern and South Asian
    Display: 1
    Display Bounds: top=0, left=0, bottom=1080, right=1920
    OpenGL Drawing: Enabled.
    OpenGL Allow Old GPUs: Not Detected.
    OpenGL Drawing Mode: Advanced
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: True.
    AIFCoreInitialized=1
    AIFOGLInitialized=1
    OGLContextCreated=1
    NumGPUs=1
    gpu[0].OGLVersion="3.0"
    gpu[0].MemoryMB=3072
    gpu[0].RectTextureSize=16384
    gpu[0].Renderer="GeForce GT 640/PCIe/SSE2"
    gpu[0].RendererID=4683
    gpu[0].Vendor="NVIDIA Corporation"
    gpu[0].VendorID=4318
    gpu[0].HasNPOTSupport=1
    gpu[0].DriverVersion="9.18.13.2702"
    gpu[0].Driver="nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um"
    gpu[0].DriverDate="20130829000000.000000-000"
    gpu[0].CompileProgramGLSL=1
    gpu[0].TestFrameBuffer=1
    gpu[0].OCLPresent=1
    gpu[0].OCLVersion="1.1"
    gpu[0].CUDASupported=1
    gpu[0].CUDAVersion="4.2.1"
    gpu[0].OCLBandwidth=3.34988e+010
    gpu[0].glGetString[GL_SHADING_LANGUAGE_VERSION]="4.30 NVIDIA via Cg compiler"
    gpu[0].glGetProgramivARB[GL_FRAGMENT_PROGRAM_ARB][GL_MAX_PROGRAM_INSTRUCTIONS_ARB]=[16384]
    gpu[0].glGetIntegerv[GL_MAX_TEXTURE_UNITS]=[4]
    gpu[0].glGetIntegerv[GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS]=[192]
    gpu[0].glGetIntegerv[GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS]=[32]
    gpu[0].glGetIntegerv[GL_MAX_TEXTURE_IMAGE_UNITS]=[32]
    gpu[0].glGetIntegerv[GL_MAX_DRAW_BUFFERS]=[8]
    gpu[0].glGetIntegerv[GL_MAX_VERTEX_UNIFORM_COMPONENTS]=[4096]
    gpu[0].glGetIntegerv[GL_MAX_FRAGMENT_UNIFORM_COMPONENTS]=[2048]
    gpu[0].glGetIntegerv[GL_MAX_VARYING_FLOATS]=[124]
    gpu[0].glGetIntegerv[GL_MAX_VERTEX_ATTRIBS]=[16]
    gpu[0].extension[AIF::OGL::GL_ARB_VERTEX_PROGRAM]=1
    gpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_PROGRAM]=1
    gpu[0].extension[AIF::OGL::GL_ARB_VERTEX_SHADER]=1
    gpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_SHADER]=1
    gpu[0].extension[AIF::OGL::GL_EXT_FRAMEBUFFER_OBJECT]=1
    gpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_RECTANGLE]=1
    gpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_FLOAT]=1
    gpu[0].extension[AIF::OGL::GL_ARB_OCCLUSION_QUERY]=1
    gpu[0].extension[AIF::OGL::GL_ARB_VERTEX_BUFFER_OBJECT]=1
    gpu[0].extension[AIF::OGL::GL_ARB_SHADER_TEXTURE_LOD]=1
    License Type: Subscription
    Serial number: 90970360143810218198
    Application folder: C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\
    Temporary file path: C:\Users\Simon\AppData\Local\Temp\
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      Startup, 2.71T, 2.17T free
    Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\Required\Plug-Ins\
    Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\Plug-ins\
    Installed components:
       ACE.dll   ACE 2013/10/29-11:47:16   79.548223   79.548223
       adbeape.dll   Adobe APE 2013/02/04-09:52:32   0.1160850   0.1160850
       AdobeLinguistic.dll   Adobe Linguisitc Library   7.0.0  
       AdobeOwl.dll   Adobe Owl 2013/10/25-12:15:59   5.0.24   79.547804
       AdobePDFL.dll   PDFL 2013/10/29-11:47:16   79.508720   79.508720
       AdobePIP.dll   Adobe Product Improvement Program   7.0.0.1786  
       AdobeXMP.dll   Adobe XMP Core 2013/10/29-11:47:16   79.154911   79.154911
       AdobeXMPFiles.dll   Adobe XMP Files 2013/10/29-11:47:16   79.154911   79.154911
       AdobeXMPScript.dll   Adobe XMP Script 2013/10/29-11:47:16   79.154911   79.154911
       adobe_caps.dll   Adobe CAPS   7,0,0,21  
       AGM.dll   AGM 2013/10/29-11:47:16   79.548223   79.548223
       ahclient.dll    AdobeHelp Dynamic Link Library   1,8,0,31  
       aif_core.dll   AIF   5.0   79.534508
       aif_ocl.dll   AIF   5.0   79.534508
       aif_ogl.dll   AIF   5.0   79.534508
       amtlib.dll   AMTLib (64 Bit)   7.0.0.249 BuildVersion: 7.0; BuildDate: Thu Nov 14 2013 15:55:50)   1.000000
       ARE.dll   ARE 2013/10/29-11:47:16   79.548223   79.548223
       AXE8SharedExpat.dll   AXE8SharedExpat 2011/12/16-15:10:49   66.26830   66.26830
       AXEDOMCore.dll   AXEDOMCore 2011/12/16-15:10:49   66.26830   66.26830
       Bib.dll   BIB 2013/10/29-11:47:16   79.548223   79.548223
       BIBUtils.dll   BIBUtils 2013/10/29-11:47:16   79.548223   79.548223
       boost_date_time.dll   DVA Product   7.0.0  
       boost_signals.dll   DVA Product   7.0.0  
       boost_system.dll   DVA Product   7.0.0  
       boost_threads.dll   DVA Product   7.0.0  
       cg.dll   NVIDIA Cg Runtime   3.0.00007  
       cgGL.dll   NVIDIA Cg Runtime   3.0.00007  
       CIT.dll   Adobe CIT   2.1.6.30929   2.1.6.30929
       CITThreading.dll   Adobe CITThreading   2.1.6.30929   2.1.6.30929
       CoolType.dll   CoolType 2013/10/29-11:47:16   79.548223   79.548223
       dvaaudiodevice.dll   DVA Product   7.0.0  
       dvacore.dll   DVA Product   7.0.0  
       dvamarshal.dll   DVA Product   7.0.0  
       dvamediatypes.dll   DVA Product   7.0.0  
       dvaplayer.dll   DVA Product   7.0.0  
       dvatransport.dll   DVA Product   7.0.0  
       dvaunittesting.dll   DVA Product   7.0.0  
       dynamiclink.dll   DVA Product   7.0.0  
       ExtendScript.dll   ExtendScript 2013/10/30-13:12:12   79.546835   79.546835
       FileInfo.dll   Adobe XMP FileInfo 2013/10/25-03:51:33   79.154511   79.154511
       filter_graph.dll   AIF   5.0   79.534508
       icucnv40.dll   International Components for Unicode 2011/11/15-16:30:22    Build gtlib_3.0.16615  
       icudt40.dll   International Components for Unicode 2011/11/15-16:30:22    Build gtlib_3.0.16615  
       imslib.dll   IMSLib DLL   7.0.0.145  
       JP2KLib.dll   JP2KLib 2013/10/29-11:47:16   79.248139   79.248139
       libifcoremd.dll   Intel(r) Visual Fortran Compiler   10.0 (Update A)  
       libiomp5md.dll   Intel(R) OMP Runtime Library   5.0  
       libmmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler   12.0  
       LogSession.dll   LogSession   2.1.2.1785  
       mediacoreif.dll   DVA Product   7.0.0  
       MPS.dll   MPS 2013/10/29-11:47:16   79.535029   79.535029
       msvcm80.dll   Microsoft® Visual Studio® 2005   8.00.50727.8428  
       msvcm90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1  
       msvcp100.dll   Microsoft® Visual Studio® 2010   10.00.40219.1  
       msvcp80.dll   Microsoft® Visual Studio® 2005   8.00.50727.8428  
       msvcp90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1  
       msvcr100.dll   Microsoft® Visual Studio® 2010   10.00.40219.1  
       msvcr80.dll   Microsoft® Visual Studio® 2005   8.00.50727.8428  
       msvcr90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1  
       PatchMatch.dll   PatchMatch 2013/10/29-11:47:16   79.542390   79.542390
       pdfsettings.dll   Adobe PDFSettings   1.04  
       Photoshop.dll   Adobe Photoshop CC   CC  
       Plugin.dll   Adobe Photoshop CC   CC  
       PlugPlugOwl.dll   Adobe(R) CSXS PlugPlugOwl Standard Dll (64 bit)   4.2.0.36  
       PSArt.dll   Adobe Photoshop CC   CC  
       PSViews.dll   Adobe Photoshop CC   CC  
       SCCore.dll   ScCore 2013/10/30-13:12:12   79.546835   79.546835
       ScriptUIFlex.dll   ScriptUIFlex 2013/10/30-13:12:12   79.546835   79.546835
       svml_dispmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler   12.0  
       tbb.dll   Intel(R) Threading Building Blocks for Windows   4, 1, 2012, 1003  
       tbbmalloc.dll   Intel(R) Threading Building Blocks for Windows   4, 1, 2012, 1003  
       updaternotifications.dll   Adobe Updater Notifications Library   7.0.1.102 (BuildVersion: 1.0; BuildDate: BUILDDATETIME)   7.0.1.102
       WRServices.dll   WRServices Mon Feb 25 2013 16:09:10   Build 0.19078   0.19078
    Required plug-ins:
       3D Studio 14.2.1 (14.2.1 x001)
       Accented Edges 14.2.1
       Adaptive Wide Angle 14.2.1
       Angled Strokes 14.2.1
       Average 14.2.1 (14.2.1 x001)
       Bas Relief 14.2.1
       BMP 14.2.1
       Camera Raw 8.3
       Camera Raw Filter 8.3
       Chalk & Charcoal 14.2.1
       Charcoal 14.2.1
       Chrome 14.2.1
       Cineon 14.2.1 (14.2.1 x001)
       Clouds 14.2.1 (14.2.1 x001)
       Collada 14.2.1 (14.2.1 x001)
       Color Halftone 14.2.1
       Colored Pencil 14.2.1
       CompuServe GIF 14.2.1
       Conté Crayon 14.2.1
       Craquelure 14.2.1
       Crop and Straighten Photos 14.2.1 (14.2.1 x001)
       Crop and Straighten Photos Filter 14.2.1
       Crosshatch 14.2.1
       Crystallize 14.2.1
       Cutout 14.2.1
       Dark Strokes 14.2.1
       De-Interlace 14.2.1
       Dicom 14.2.1
       Difference Clouds 14.2.1 (14.2.1 x001)
       Diffuse Glow 14.2.1
       Displace 14.2.1
       Dry Brush 14.2.1
       Eazel Acquire 14.2.1 (14.2.1 x001)
       Embed Watermark 4.0
       Entropy 14.2.1 (14.2.1 x001)
       Extrude 14.2.1
       FastCore Routines 14.2.1 (14.2.1 x001)
       Fibers 14.2.1
       Film Grain 14.2.1
       Filter Gallery 14.2.1
       Flash 3D 14.2.1 (14.2.1 x001)
       Fresco 14.2.1
       Glass 14.2.1
       Glowing Edges 14.2.1
       Google Earth 4 14.2.1 (14.2.1 x001)
       Grain 14.2.1
       Graphic Pen 14.2.1
       Halftone Pattern 14.2.1
       HDRMergeUI 14.2.1
       IFF Format 14.2.1
       Ink Outlines 14.2.1
       JPEG 2000 14.2.1
       Kurtosis 14.2.1 (14.2.1 x001)
       Lens Blur 14.2.1
       Lens Correction 14.2.1
       Lens Flare 14.2.1
       Liquify 14.2.1
       Matlab Operation 14.2.1 (14.2.1 x001)
       Maximum 14.2.1 (14.2.1 x001)
       Mean 14.2.1 (14.2.1 x001)
       Measurement Core 14.2.1 (14.2.1 x001)
       Median 14.2.1 (14.2.1 x001)
       Mezzotint 14.2.1
       Minimum 14.2.1 (14.2.1 x001)
       MMXCore Routines 14.2.1 (14.2.1 x001)
       Mosaic Tiles 14.2.1
       Multiprocessor Support 14.2.1 (14.2.1 x001)
       Neon Glow 14.2.1
       Note Paper 14.2.1
       NTSC Colors 14.2.1 (14.2.1 x001)
       Ocean Ripple 14.2.1
       Oil Paint 14.2.1
       OpenEXR 14.2.1
       Paint Daubs 14.2.1
       Palette Knife 14.2.1
       Patchwork 14.2.1
       Paths to Illustrator 14.2.1
       PCX 14.2.1 (14.2.1 x001)
       Photocopy 14.2.1
       Photoshop 3D Engine 14.2.1 (14.2.1 x001)
       Photoshop Touch 14.0
       Picture Package Filter 14.2.1 (14.2.1 x001)
       Pinch 14.2.1
       Pixar 14.2.1 (14.2.1 x001)
       Plaster 14.2.1
       Plastic Wrap 14.2.1
       PNG 14.2.1
       Pointillize 14.2.1
       Polar Coordinates 14.2.1
       Portable Bit Map 14.2.1 (14.2.1 x001)
       Poster Edges 14.2.1
       Radial Blur 14.2.1
       Radiance 14.2.1 (14.2.1 x001)
       Range 14.2.1 (14.2.1 x001)
       Read Watermark 4.0
       Reticulation 14.2.1
       Ripple 14.2.1
       Rough Pastels 14.2.1
       Save for Web 14.2.1
       ScriptingSupport 14.2.1
       Shake Reduction 14.2.1
       Shear 14.2.1
       Skewness 14.2.1 (14.2.1 x001)
       Smart Blur 14.2.1
       Smudge Stick 14.2.1
       Solarize 14.2.1 (14.2.1 x001)
       Spatter 14.2.1
       Spherize 14.2.1
       Sponge 14.2.1
       Sprayed Strokes 14.2.1
       Stained Glass 14.2.1
       Stamp 14.2.1
       Standard Deviation 14.2.1 (14.2.1 x001)
       STL 14.2.1 (14.2.1 x001)
       Sumi-e 14.2.1
       Summation 14.2.1 (14.2.1 x001)
       Targa 14.2.1
       Texturizer 14.2.1
       Tiles 14.2.1
       Torn Edges 14.2.1
       Twirl 14.2.1
       Underpainting 14.2.1
       Vanishing Point 14.2.1
       Variance 14.2.1 (14.2.1 x001)
       Variations 14.2.1 (14.2.1 x001)
       Water Paper 14.2.1
       Watercolor 14.2.1
       Wave 14.2.1
       Wavefront|OBJ 14.2.1 (14.2.1 x001)
       WIA Support 14.2.1 (14.2.1 x001)
       Wind 14.2.1
       Wireless Bitmap 14.2.1 (14.2.1 x001)
       ZigZag 14.2.1
    Optional and third party plug-ins: NONE
    Plug-ins that failed to load: NONE
    Flash:
       Adobe Exchange
       Kuler
    Installed TWAIN devices: NONE

    The interactive manipulations in 3D are quite dependent on the display driver for your video card.   I notice yours is a bit out of date:
    >gpu[0].DriverDate="20130829000000.000000-000"
    It's possible a newer driver may help.  Visit nVidia.com to facilitate downloading/installing their latest release.
    That said, I've also found Photoshop can get flakey once you start working on 3D stuff.  I've had amazing, long sessions where it just worked, and I've had others where it just wouldn't cooperate - doing exactly the same things. 
    It's then that you start to appreciate the auto-save in the background, but even then once in a while it doesn't auto-recover, so you want to save your work in multiple master files fairly often.
    I think the latest version (14.1.2) seems about the most stable for 3D work so far.
    -Noel

  • Why does my screen turn black when I play iTunes while working on iPhoto?

    Why does my screen turn black when I play ITunes while working on iPhoto? I can't click off of the screen but get a message that reads Shut down computer by pressing button in back then turn computer back on by pushing button in back. That's followed by Chinese letters (which I cannot read). I have had other problems when playing iTunes (actually, a radio station on the Internet) while working on  iPhoto. Before, I got a window that would pop up and tell me I had no disk space available, that I would have to quit applications that were open. Not many were open.
    It would be nice if I could solve this problem once and for all.
    Thanks in advance for all the suggestions. I truly appreciate your help.
    Jan

    That was easy. Thanks. Jan
    Interval Since Last Panic Report:  1949305 sec
    Panics Since Last Report:          1
    Thu Feb  6 15:29:32 2014
    panic(cpu 1 caller 0xffffff80002c4794): Kernel trap at 0xffffff7f81d89ff3, type 14=page fault, registers:
    CR0: 0x0000000080010033, CR2: 0xffffff7acd4a2a7c, CR3: 0x0000000085d3b000, CR4: 0x0000000000000660
    RAX: 0xffffffff4bffff56, RBX: 0x0000000000000000, RCX: 0x0000000000000001, RDX: 0x0000000000000000
    RSP: 0xffffff807867b7c0, RBP: 0xffffff807867b800, RSI: 0xffffff7acd4a2a7c, RDI: 0xffffff8065292000
    R8:  0x0000000000000001, R9:  0x0000000000000000, R10: 0xffffff7f81d44200, R11: 0xffffff800f8b45e8
    R12: 0xffffff8065292000, R13: 0xffffff807867b860, R14: 0x0000000000000001, R15: 0xffffff7acd4a2a7c
    RFL: 0x0000000000010286, RIP: 0xffffff7f81d89ff3, CS:  0x0000000000000008, SS:  0x0000000000000010
    CR2: 0xffffff7acd4a2a7c, Error code: 0x0000000000000000, Faulting CPU: 0x1
    Backtrace (CPU 1), Frame : Return Address
    0xffffff807867b470 : 0xffffff8000220792
    0xffffff807867b4f0 : 0xffffff80002c4794
    0xffffff807867b6a0 : 0xffffff80002da55d
    0xffffff807867b6c0 : 0xffffff7f81d89ff3
    0xffffff807867b800 : 0xffffff7f81d8a694
    0xffffff807867b890 : 0xffffff7f81d8b4ed
    0xffffff807867b8d0 : 0xffffff7f81d472a1
    0xffffff807867ba40 : 0xffffff7f81d8bd6d
    0xffffff807867bb00 : 0xffffff7f81d44346
    0xffffff807867bb60 : 0xffffff8000655f3e
    0xffffff807867bb80 : 0xffffff800065681a
    0xffffff807867bbe0 : 0xffffff8000656fbb
    0xffffff807867bd20 : 0xffffff80002a3f08
    0xffffff807867be20 : 0xffffff8000223096
    0xffffff807867be50 : 0xffffff80002148a9
    0xffffff807867beb0 : 0xffffff800021bbd8
    0xffffff807867bf10 : 0xffffff80002af140
    0xffffff807867bfb0 : 0xffffff80002dab5e
          Kernel Extensions in backtrace:
             com.apple.GeForce(7.3.2)[7E1D7726-416F-3716-ACCB-E1E276E35002]@0xffffff7f81d390 00->0xffffff7f81dfbfff
                dependency: com.apple.NVDAResman(7.3.2)[97284661-2629-379E-B86B-D388618E8C30]@0xffffff7f808 b0000
                dependency: com.apple.iokit.IONDRVSupport(2.3.4)[7C8672C4-8B0D-3CCF-A79A-23C62E90F895]@0xff ffff7f8089e000
                dependency: com.apple.iokit.IOPCIFamily(2.7)[5C23D598-58B2-3204-BC03-BC3C0F00BD32]@0xffffff 7f8082b000
                dependency: com.apple.iokit.IOGraphicsFamily(2.3.4)[D0A1F6BD-E66E-3DD8-9913-A3AB8746F422]@0 xffffff7f80865000
    BSD process name corresponding to current thread: iPhoto
    Mac OS version:
    11G63
    Kernel version:
    Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64
    Kernel UUID: FF3BB088-60A4-349C-92EA-CA649C698CE5
    System model name: iMac10,1 (Mac-F2268CC8)
    System uptime in nanoseconds: 11526391261403
    last loaded kext at 23020191300: com.apple.driver.AppleHWSensor    1.9.5d0 (addr 0xffffff7f8234b000, size 28672)
    last unloaded kext at 522057763087: com.apple.driver.AppleFileSystemDriver    13 (addr 0xffffff7f8254c000, size 12288)
    loaded kexts:
    com.apple.driver.AppleHWSensor    1.9.5d0
    com.apple.driver.AppleBluetoothMultitouch    70.12
    com.apple.filesystems.autofs    3.0
    com.apple.iokit.IOBluetoothSerialManager    4.0.8f17
    com.apple.driver.AudioAUUC    1.59
    com.apple.driver.AppleMikeyHIDDriver    122
    com.apple.driver.AppleHDA    2.2.5a5
    com.apple.driver.AppleUpstreamUserClient    3.5.9
    com.apple.driver.AppleMikeyDriver    2.2.5a5
    com.apple.driver.AppleBacklight    170.2.2
    com.apple.driver.AppleMCCSControl    1.0.33
    com.apple.driver.AppleLPC    1.6.0
    com.apple.driver.AGPM    100.12.75
    com.apple.iokit.IOUserEthernet    1.0.0d1
    com.apple.Dont_Steal_Mac_OS_X    7.0.0
    com.apple.driver.AudioIPCDriver    1.2.3
    com.apple.driver.ApplePolicyControl    3.1.33
    com.apple.GeForce    7.3.2
    com.apple.driver.ACPI_SMC_PlatformPlugin    5.0.0d8
    com.apple.driver.BroadcomUSBBluetoothHCIController    4.0.8f17
    com.apple.driver.AppleUSBCardReader    3.0.6
    com.apple.driver.AppleIRController    312
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0d1
    com.apple.BootCache    33
    com.apple.iokit.SCSITaskUserClient    3.2.1
    com.apple.iokit.IOAHCISerialATAPI    2.0.3
    com.apple.driver.XsanFilter    404
    com.apple.iokit.IOAHCIBlockStorage    2.1.0
    com.apple.driver.AppleRTC    1.5
    com.apple.driver.AppleFWOHCI    4.9.0
    com.apple.driver.AirPort.Atheros40    505.67.1
    com.apple.driver.AppleAHCIPort    2.3.1
    com.apple.nvenet    2.0.17
    com.apple.driver.AppleUSBHub    5.1.0
    com.apple.driver.AppleUSBEHCI    5.1.0
    com.apple.driver.AppleUSBOHCI    5.1.0
    com.apple.driver.AppleEFINVRAM    1.6.1
    com.apple.driver.AppleHPET    1.7
    com.apple.driver.AppleACPIButtons    1.5
    com.apple.driver.AppleSMBIOS    1.9
    com.apple.driver.AppleACPIEC    1.5
    com.apple.driver.AppleAPIC    1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient    195.0.0
    com.apple.nke.applicationfirewall    3.2.30
    com.apple.security.quarantine    1.4
    com.apple.security.TMSafetyNet    8
    com.apple.driver.AppleIntelCPUPowerManagement    195.0.0
    com.apple.driver.AppleMultitouchDriver    231.4
    com.apple.driver.IOBluetoothHIDDriver    4.0.8f17
    com.apple.kext.triggers    1.0
    com.apple.iokit.IOSerialFamily    10.0.5
    com.apple.driver.DspFuncLib    2.2.5a5
    com.apple.driver.AppleBacklightExpert    1.0.4
    com.apple.driver.AppleSMBusController    1.0.10d0
    com.apple.driver.AppleSMBusPCI    1.0.10d0
    com.apple.iokit.IOSurface    80.0.2
    com.apple.iokit.IOAudioFamily    1.8.6fc18
    com.apple.kext.OSvKernDSPLib    1.3
    com.apple.driver.AppleGraphicsControl    3.1.33
    com.apple.driver.AppleHDAController    2.2.5a5
    com.apple.iokit.IOHDAFamily    2.2.5a5
    com.apple.nvidia.nv50hal    7.3.2
    com.apple.NVDAResman    7.3.2
    com.apple.iokit.IONDRVSupport    2.3.4
    com.apple.iokit.IOGraphicsFamily    2.3.4
    com.apple.iokit.IOFireWireIP    2.2.5
    com.apple.driver.IOPlatformPluginLegacy    5.0.0d8
    com.apple.driver.IOPlatformPluginFamily    5.1.1d6
    com.apple.driver.AppleSMC    3.1.3d10
    com.apple.driver.AppleUSBBluetoothHCIController    4.0.8f17
    com.apple.iokit.IOBluetoothFamily    4.0.8f17
    com.apple.iokit.IOSCSIBlockCommandsDevice    3.2.1
    com.apple.iokit.IOUSBMassStorageClass    3.0.3
    com.apple.iokit.IOUSBHIDDriver    5.0.0
    com.apple.driver.AppleUSBMergeNub    5.1.0
    com.apple.driver.AppleUSBComposite    5.0.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice    3.2.1
    com.apple.iokit.IOBDStorageFamily    1.7
    com.apple.iokit.IODVDStorageFamily    1.7.1
    com.apple.iokit.IOCDStorageFamily    1.7.1
    com.apple.iokit.IOSCSIArchitectureModelFamily    3.2.1
    com.apple.iokit.IOFireWireFamily    4.4.8
    com.apple.iokit.IO80211Family    420.3
    com.apple.iokit.IOAHCIFamily    2.0.8
    com.apple.iokit.IONetworkingFamily    2.1
    com.apple.iokit.IOUSBUserClient    5.0.0
    com.apple.iokit.IOUSBFamily    5.1.0
    com.apple.driver.NVSMU    2.2.9
    com.apple.iokit.IOHIDFamily    1.7.1
    com.apple.driver.AppleEFIRuntime    1.6.1
    com.apple.iokit.IOSMBusFamily    1.1
    com.apple.security.sandbox    177.11
    com.apple.kext.AppleMatch    1.0.0d1
    com.apple.driver.DiskImages    331.7
    com.apple.iokit.IOStorageFamily    1.7.2
    com.apple.driver.AppleKeyStore    28.18
    com.apple.driver.AppleACPIPlatform    1.5
    com.apple.iokit.IOPCIFamily    2.7
    com.apple.iokit.IOACPIFamily    1.4
    System Profile:
    Model: iMac10,1, BootROM IM101.00CC.B00, 2 processors, Intel Core 2 Duo, 3.06 GHz, 4 GB, SMC 1.52f9
    Graphics: NVIDIA GeForce 9400, NVIDIA GeForce 9400, PCI, 256 MB
    Memory Module: BANK 0/DIMM1, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334548312D4346382020
    Memory Module: BANK 1/DIMM1, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334548312D4346382020
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9280: 4.0.67.5-P2P
    Bluetooth: Version 4.0.8f17, 2 service, 18 devices, 1 incoming serial ports
    Serial ATA Device: ST3500418ASQ, 500.11 GB
    Serial ATA Device: HL-DT-ST DVDRW  GA11N
    USB Device: Built-in iSight, apple_vendor_id, 0x8502, 0x24400000 / 2
    USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0x26500000 / 3
    USB Device: USB2.0 Hub, 0x05e3  (Genesys Logic, Inc.), 0x0608, 0x26200000 / 2
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x04500000 / 2
    USB Device: Hub in Apple Extended USB Keyboard, apple_vendor_id, 0x1003, 0x06400000 / 3
    USB Device: Apple Extended USB Keyboard, apple_vendor_id, 0x020b, 0x06430000 / 4
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x06100000 / 2
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0x06110000 / 6

  • I am having consistant problems w/ my mb pro freezing for 20-60 seconds while working in different programs and apps. i've upgraded my RAM to 8gigs and deleted over 60 gig of pics and videos to try to help, but nothing seems to work.

    I've now been having this problem for months. It just freezes up and either shows me the dumb color wheel or doesn't show me anything sometimes and i just cant do anything for about 20-60 seconds. i can't exposae or anything. Also while working on a power point presentation it froze 4 different times for good and i had to do a hard restart just to get it working again. i lost my work and had to keep starting over. it was so annoying. it seems most of the time it does it, it is while i'm in Excel, Outlook, or Powerpoint. so perhaps it has something to do with my microsoft office. but i have the newest version and all the updates and everything. and i believe its happened when doing other tasks too. So i just can't figure it out.
    A few Mac friends suggested i free up some space on my hard drive and upgrade my RAM. So i did. i put all my videos and photos on an external harddrive and deleted them all on my computer. i also upgraded to 8 gigs of RAM.
    And honestly i can't even tell a difference after doing both of these.
    HELP! PLEASE HELP! I'M ABOUT TO GO CRAZY. And having all the non Mac believers telling me it cause i have a Mac even drives me more nuts..
    Jason

    Any of this help?
    it froze a few times over the last hour and half while browsing the internet.
    and also while working in excel it all of the sudden shut down excel and said. "Excel has encountered and problem and needs to shut down, you may lose the work you were on." or something like that. THIS HAPPENS ALL THE TIME TOO. Excel, outlook and powerpoint frequently just shut down on me out of now where. I've bolded and underlined when this happened.
    1/8/12 11:50:56 AM
    Software Update[4573]
    PackageKit: *** Missing bundle identifier: /Library/Receipts/PPD_Installer_RI3292E3L.pkg
    1/8/12 11:51:22 AM
    com.apple.launchd[1]
    (com.apple.suhelperd[4575]) Exited with exit code: 2
    1/8/12 12:13:51 PM
    com.apple.launchd[1]
    (com.apple.netauth.sysagent[4608]) Exited with exit code: 255
    1/8/12 12:17:37 PM
    com.apple.launchd[1]
    (com.apple.netauth.sysagent[4616]) Exited with exit code: 255
    1/8/12 12:20:47 PM
    com.apple.backupd[4644]
    QUICKCHECK ONLY; FILESYSTEM CLEAN
    1/8/12 12:21:39 PM
    com.apple.launchd[1]
    (com.apple.netauth.sysagent[4645]) Exited with exit code: 255
    1/8/12 12:26:25 PM
    [0x0-0x26026].org.mozilla.firefox[263]
    colorbits: 24 alpha: 8 depth: 24 stencil: 0
    1/8/12 12:26:25 PM
    [0x0-0x26026].org.mozilla.firefox[263]
    *** depth: 24 (req: 24)
    1/8/12 12:27:54 PM
    [0x0-0x26026].org.mozilla.firefox[263]
    colorbits: 24 alpha: 8 depth: 24 stencil: 0
    1/8/12 12:27:54 PM
    [0x0-0x26026].org.mozilla.firefox[263]
    *** depth: 24 (req: 24)
    1/8/12 1:00:43 PM
    com.apple.launchd.peruser.501[112]
    ([0x0-0x1b01b].com.microsoft.Excel[210]) Exited: Killed
    1/8/12 1:03:51 PM
    [0x0-0x199199].com.microsoft.Excel[4763]
    Sun Jan  8 13:03:51 Jason-Streiffs-MacBook-Pro.local Microsoft Excel[4763] <Error>: CGBitmapContextCreate: invalid data bytes/row: should be at least 5760 for 8 integer bits/component, 3 components, kCGImageAlphaNoneSkipFirst.
    1/8/12 1:03:52 PM
    [0x0-0x199199].com.microsoft.Excel[4763]
    Sun Jan  8 13:03:52 Jason-Streiffs-MacBook-Pro.local Microsoft Excel[4763] <Error>: CGBitmapContextCreate: invalid data bytes/row: should be at least 5760 for 8 integer bits/component, 3 components, kCGImageAlphaNoneSkipFirst.

Maybe you are looking for