Can't run example JSF solutions

I just installed Studio Enterprise and tried to run the sample project called "tabbed-view". This example shows three diffrent ways to show a "tabbed" screen. Two of them work, the one using JSP (server pages) and the one using Tag Files. But the one using JavaServer Faces returns the following error:
exception:
javax.servlet.ServletException: Servlet.init() for servlet Faces Servlet threw exception
root cause:
java.lang.NullPointerException
     javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
Does anybody have an idea why?
Thanks

Maybe a JSF forum is a better place to ask - http://forum.java.sun.com/forum.jspa?forumID=427
There are some similar threads (I haven't gone into details with them, however):
http://forum.java.sun.com/thread.jspa?threadID=598929
http://forum.java.sun.com/thread.jspa?threadID=501578

Similar Messages

  • How Can I run examples of the NI-DAQ 7.4 driver with visual c++ 6.0?

    MY card is NI6723,an the driver that i have is Version 7.4 for Traditional NI-DAQ/NI-DAQmx/NI-switch.
    when I run the example:C:\Program Files\National Instruments\NI-DAQ\Examples\VisualC:Ao; All of them can be compiled successfully,but can not be run;it will appears:[Ao-VWrite] returned NI-DAQ error-10401
    The specified device is not a National Instruments product,the driver does not support the device(for example,the driver was release)....
    when I open Measurement & Automation,and Test Panels,it works well.
    What is the matter?
    What is the problems,please tell me?

    它不支持TRADITIONAL DAQ
    你必须要用DAQMX来调用
    你可以试试

  • I can't run example from JEE5tutorial - books

    OS- Linux
    NetBeans 5.5.1 ( with ant 1.7 )
    ant 1.6
    I tried run:
    ant 1.6
    [root@zet books(0)]# ant create-tables
    Buildfile: build.xml
    BUILD FAILED
    /home/marcin/3ROK/1SEM/java1/javaeetutorial5/examples/web/books/build.xml:49: The following error occurred while executing this line:
    /home/marcin/3ROK/1SEM/java1/javaeetutorial5/examples/bp-project/main.xml:20: Class org.apache.tools.ant.taskdefs.ConditionTask doesn't support the "else" attribute.
    Total time: 1 secondon ant 1.7
    [root@zet books(0)]# /usr/local/netbeans-5.5.1/ide7/ant/bin/ant create-tables
    Unknown argument: -cp
    ant [options] [target [target2 [target3] ...]]
    Options:
      -help, -h              print this message
      -projecthelp, -p       print project help information
      -version               print the version information and exit
      -diagnostics           print information that might be helpful to
                             diagnose or report problems.
      -quiet, -q             be extra quiet
      -verbose, -v           be extra verbose
      -debug, -d             print debugging information
      -emacs, -e             produce logging information without adornments
      -lib <path>            specifies a path to search for jars and classes
      -logfile <file>        use given file for log
        -l     <file>                ''
      -logger <classname>    the class which is to perform logging
      -listener <classname>  add an instance of class as a project listener
      -noinput               do not allow interactive input
      -buildfile <file>      use given buildfile
        -file    <file>              ''
        -f       <file>              ''
      -D<property>=<value>   use value for given property
      -keep-going, -k        execute all targets that do not depend
                             on failed target(s)
      -propertyfile <name>   load all properties from file with -D
                             properties taking precedence
      -inputhandler <class>  the class which will handle input requests
      -find <file>           (s)earch for buildfile towards the root of
        -s  <file>           the filesystem and use it
      -nice  number          A niceness value for the main thread:
                             1 (lowest) to 10 (highest); 5 is the default

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    What happens if you open Firefox in Save mode?
    *https://support.mozilla.com/kb/Safe+Mode
    *Help > Restart with Add-ons Disabled

  • HT1349 I have installed and uninstalled iTunes on multiple occasions, but keep getting the error message that "Apple Application Support is required to run iTunes ..... Error 2 (Windows Error 2)".  Can't find any useful solution.  Can anyone help?  Pleeee

    I have instlled and uninstalled iTunes on multiple occasions but iTunes fails to start with message "Apple Application support is required to run iTunes .......... Error 2 (Windows error 2)".  Most most frustrating.  Can anyone help, pleeeeeeease!!

    iTunes "Apple Application Support is required... Error 2" and possible fix.
    Hi Redgilly (and others).
    I just resolved this on Win Vista (should apply equally for Win7 too). Please uninstall iTunes before proceeding though. I'll walk you through the process I followed, if you like you can jump straight to the Solution section.
    Problems:
    The initial error during the installation of iTunes was:
    An error occurred during the installation of assembly 'Microsoft.VC80.CRT,version="8.0.50727.4053",type="win32",publicKeyToken='1fc8b 3b9a1e18e3b",processorarchitecture="x86". Please refer to Help and Support for more information. HRESULT:0x8007054F
    The error (after installing iTunes) when trying to run iTunes was:
    Apple Application Support is required to run iTunes. Please uninstall iTunes, then install iTunes again. Error 2 (Windows error 2).
    After trying various fixes around the forums I came across this MSKB article, which relates to the first installation error:
    http://support.microsoft.com/kb/2688946
    This lead me to trying to install MS Visual C++ but I received the following error trying to install that:
    Error 1935.An error occurred during the installation of assembly ‘Microsoft.VC80.ATL,type=”win32”,version=”8.0.50727.762”,publicKeyToken=”1fc8b3 b9a1e18e3b”,processorArchitecture=”amd64”’. Please refer to Help and Support for more information. HRESULT: 0x80070BC9. Assembly interface: IassemblyCacheItem, function: Commit, component: {837BF1EB-D770-94EB-A01F-C8B3B9A1E18E}
    Note: The installation of VC++ rolls back when it fails.
    Solution:
    Through this error I found this MSKB article:
    http://support.microsoft.com/kb/946414
    The Automated MS "Fix It" msi package didn’t work.
    Note: Please backup your registry first (see the above MSKB article for instructions).
    I opened the registry and (as instructed in the MSKB article) deleted the following keys:
    HKEY_LOCAL_MACHINE\COMPONENTS\
    PendingXmlIdentifier
    NextQueueEntryIndex
    AdvancedInstallersNeedResolving
    Reboot and reinstall iTunes.
    I hope this helps.

  • Can't run the cluster example

              I would appreciate if someone can explanation my long list of questions regarding
              the deployment of EJB in cluster environment.
              I can't run the cluster EJB example( Teller/Account) in a cluster(contains two
              server2). I always get
              java.rmi.RemoteException: Unable to
              resolve examples.cluster.ejb.Account
              Home. Resolved: 'examples.cluster.ejb'
              Unresolved:'AccountHome'
              Following is my setup:
              Machine A: exampleServer:7001 (admin server)
              Machine A: testServer1:8001 (Managed server)
              Machine B: testServer1_B:8001(Managed server)
              MyCluster : testServer1, testServer1_B
              Test Client:
              java examples.cluster.ejb.Client "t3://Machine A:8001"
              ======================
              Q1: Should I use 8001 or 7001 as cluster port number?
              Q2: What will happen when we click "apply" after select/unselect the server in
              the "target", "server" tab?
              Q3: And what will happen if we click deploy/undeploy check box in "configuration"
              tab of EJB item?
              Q4: I check the JNDI tree from all above three servers can't find out JNDI tree
              doesn't reflect the change I did in Q2 or Q3.
              Q5: What is the right way to deploy EJB components, should we select both cluster
              and server in the "target" tab?
              Q6: I got this message from one of the server when I try to undeploy/deploy ejb
              object.
              "examples.cluster.ejb.TellerHome_EO in the jndi tree is non clusterable
              and you have tried to bind more
              once? How could I make it clusterable?
              Q7: Undeploy and EJB doesn't work and sometime I still get " JNDI name in use"
              from the server.
              How could I fix it.
              Thanks
              

    First I can tell you that the ports have to be the same, be on the the
              same network , i.e. Telnet into the other m/c. Next which you probably
              have done is the properties files. Per-cluster ...
              >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
              On 6/7/01, 6:59:48 AM, "James Hsu" <[email protected]> wrote regarding
              Can't run the cluster example:
              > I would appreciate if someone can explanation my long list of
              questions regarding
              > the deployment of EJB in cluster environment.
              > I can't run the cluster EJB example( Teller/Account) in a
              cluster(contains two
              > server2). I always get
              > java.rmi.RemoteException: Unable to
              > resolve examples.cluster.ejb.Account
              > Home. Resolved: 'examples.cluster.ejb'
              > Unresolved:'AccountHome'
              > Following is my setup:
              > Machine A: exampleServer:7001 (admin server)
              > Machine A: testServer1:8001 (Managed server)
              > Machine B: testServer1_B:8001(Managed server)
              > MyCluster : testServer1, testServer1_B
              > Test Client:
              > java examples.cluster.ejb.Client "t3://Machine A:8001"
              > ======================
              > Q1: Should I use 8001 or 7001 as cluster port number?
              > Q2: What will happen when we click "apply" after select/unselect the
              server in
              > the "target", "server" tab?
              > Q3: And what will happen if we click deploy/undeploy check box in
              "configuration"
              > tab of EJB item?
              > Q4: I check the JNDI tree from all above three servers can't find out
              JNDI tree
              > doesn't reflect the change I did in Q2 or Q3.
              > Q5: What is the right way to deploy EJB components, should we select
              both cluster
              > and server in the "target" tab?
              > Q6: I got this message from one of the server when I try to
              undeploy/deploy ejb
              > object.
              > "examples.cluster.ejb.TellerHome_EO in the jndi tree is non
              clusterable
              > and you have tried to bind more
              > once? How could I make it clusterable?
              > Q7: Undeploy and EJB doesn't work and sometime I still get " JNDI
              name in use"
              > from the server.
              > How could I fix it.
              > Thanks
              [att1.html]
              

  • Tomcat 4.0 can run example but cannot run my servlet!

    I can run examples (both servlet and JSP) under Tomcat.
    Now I have servlets class file in
    C:\jakarta-tomcat-4.0.1\webapps\vpsystem\WEB-INF\classes\agent\bookmark\BookMark.class
    but I cannot see "http://localhost:8080/vpsystem/agent/bookmark/BookMark" in IE.It tell me no resource found.
    It's the matter of web.xml?It's the matter of server.xml?Or any another?
    Please someone help me out.
    Thanks!

    Maybe both. You should show how you have configured the web application in server.xml and the servlet in web.xml in order to be able to help you

  • I am not able to install my 'Complete National Geographic' cd on my Mac mini which runs Lion OS. The error message I get says  'Can't open installer as classic environment is no longer supported' can some one suggest a solution

    I am not able to install my 'Complete National Geographic' cd on my Mac mini which runs Lion OS. The error message I get says  'Can't open installer as classic environment is no longer supported' can some one suggest a solution.

    It means the software is PowerPC code, which is no longer supported in Lion. Your choices are to go back to Snow Leopard, run Snow Leopard Server in a virtual machine within Lion, see if the vendor has an updated version of National Geographic that will run on an Intel Mac, or run the software on an older Mac separately.

  • I can't run this example in flashbuilder4

    hello. i'm newbie so i read some  example flex, but i'm usually meet error. for example this:
    http://share.megaplus.vn/dl.php/2062988. i know it is flex3 file,but in flashbuilder 4 have support trasition automatic flex3 to flashbuilder4
    i can't run it in flashbuilder4 and if i want it run , how do i make?
    please help me. Thanks

    Hi Phuong,
    Have you tried the horizontal scrollbar at the bottom of the sample. If you slide that back and forth, the carousel will spin around. You can also click on any thumbnail in the carousel to spin it to make that the active selection.
    Cheers,
    Maile

  • I just upgraded to relaese to release 11.  My PC runs Windows 7.  itunes will not start.  I have run Norton to fix the registry errors and have rerated my PC twice.  No luck.  Can anyone provided a suggested solution?

    I just upgraded to relaese to release 11.  My PC runs Windows 7.  itunes will not start.  I have run Norton to fix the registry errors and have rerated my PC twice.  No luck.  Can anyone provided a suggested solution?

    This solved everything, after uninstalling IObit Advanced SystemCare iTunes would open with Bonjour enabled however iTunes wouldn't pick up the iPhone device. I did some more digging and a few of their other applications had been installed including Game Booster. Uninstalling that put everything back to normal.
    I have been given a new device by Apple who were really helpful and the guys have neever seen the docking connector disabling before. Coinsidence?
    Anyway in case this helps other people these were the symptoms (might help with searches):
    - Windows 7 Ultimate 64bit
    - iTunes 10 wouldn't open originally, just egg timer then nothing yet processes all started
    - Docking connector died on the device, wouldn't even trigger a standard USB connection or light up the device
    - Uninstalling iTunes etc didn't change anything
    - Disabling Bonjour worked but iTunes extremely unstable, seems frozen when syncing and the sync itself, especially with app transfer, was extremely slow and the other buttons were unresponsive after clicking for two minutes before screen would change
    Have sent feedback to IObit about this to see if there isn't something that can be done.
    Fantastic assistance and an incredible spot from b noir. If you come to the UK you need to drop me an email as I owe you a night out on the town!
    -

  • How can run one JSF 1.1 application in Glassfish v2?

    Hello
    How can run one JSF 1.1 application in Glassfish v2?
    I need deploy one JSF 1.1 application in Glassfish v2. It's possible?
    Paulo

    in Glassfish v2 I have the messege error:
    java.lang.RuntimeException: WEB5002: Exception in handleBeforeEvent.
         at com.sun.web.server.J2EEInstanceListener.handleBeforeEvent(J2EEInstanceListener.java:250)
         at com.sun.web.server.J2EEInstanceListener.instanceEvent(J2EEInstanceListener.java:106)
    [#|2007-08-14T10:49:16.438-0300|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=21;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=416049de-0564-4eb6-8d07-ac8f65f5f7fa;|ApplicationDispatcher[/lilya2] PWC1225: Allocate exception for servlet FacesServlet
    java.lang.RuntimeException: WEB5003: Exception in handleAfterEvent.
         at com.sun.web.server.J2EEInstanceListener.handleAfterEvent(J2EEInstanceListener.java:320)
    but in Tomcat 5.5 it work without problems.

  • How can i run the example programme without hardware

    Hi,
         We are using NI-9233 for our Project. We would like to run the example programme, the NI-9233 getting started(host).vi ... I would like to ask that how can i run the Programme without Hardware.& How shall i get the input signal (simulating signal)?because we would like to test it while we are waiting for the hardware to be delivered . 
    thanks
    Best regards

    As Mike indicated , " you can use MAX to simulate some (not all) DAQmx devices. There's a NI-USB-9233 device that you can probably use. Open MAX, then expand "My System", the expand "Devices and Interfaces", then right-click on "NI-DAQmx Devices" and select "Create New NI-DAQmx Device -> NI-DAQmx Simulated Device". Select the device from the list. See the online help for MAX for further help.
    If you don't see "NI-DAQmx Devices" in MAX you need to install NI-DAQmx. You can download it from NI here. "
    hi,
         the link you gave me to download is "NI-DAQmx Devices" ... There is no software to download for Labview 8.2.1. So should i use 8.1 or 8.3 instead of 8.2.1 ? If not, can you tell me the CD no. that includes the "NI-DAQmx Devices" folder of Labview 8.2.1 version? Because we can get the cd from our school's component store. Thank you so much.
    Best Regards,
    Su

  • I have 6 devices sharing the same apple id and password. when we download an app, for example a game, it backs up on all devise. therefore we can't run individual games. suggestion? thanks.

    we have 6 devises sharing the same apple id and password. when we download a game app it will backup on all devices. therefore we can not run individual unconnected versions of the game. suggestions. thanks.

    What do yo mean by: " it will backup on all devices"?
    If you mean that is one persone purchases an app it appears on all device then on each device go to Settings>Store and turn off automatic downloads.

  • Can I run a Unique Clients and Users Summary report customized by both floor area and SSID?

    In Cisco Prime, can I run a Unique Clients and Users Summary report customized by both floor area and SSID?

    Allright guys. I appreciate the quick responses. I've worked a lot in CR however i am not understanding the solution so I'd appreciate if you can dumb it down for me. If i understand it correctly you guys are suggesting to make a formula, that either return my group by string (which is a formula in my report) or the Quantity. I tried writing a formula like this
    if ({@param} = 1 then
    GroupName ({@GroupBy})
    else
    {NetPNL.GrossAfterAdj}
    but it seems like CR does not allow you to return 2 different data types. Even if it had worked i would not know what to do from there. Can anyone please dumb it down for me. To make my situation more clear below is an example of how my data is..
    MN 100
    MN 200
    MN 50
    CA 300
    CA 500
    when the data shows in the report, its grouped by state, so it comes out like
    MN 350
    CA 800
    I want the users to decide whether they want it sorted by state  (ascending)
    CA 800
    MN 350
    or Total quantity (asc)
    MN 350
    CA 800

  • How can I run script every 10 minutes

    Hello ,
    I just wondering if oracle application server has a way to run a normal java class,servlet or JSP for every (for example) 10 minutes.
    I mean I want to automate a java class for a spesific time like running a script on UNIX using CRON JOB
    Regards

    Mr. user510124,
    Please try to be as specific as possible. Mr. Raghavendra has given you a very good solution, which you can use. Other possible solution would be to schedule it with crontab (Unix) or using Oracle Grid Control.
    Regards,
    Martin

  • Installed lion and can't run office!

    Hi, I installed Lion in my laptop.  Now I can't run office:mac products.  when I click on icons or docs I get redirected to iworks. 
    Has someone found a solution to this that does not imply purchasing yet more software??

    MlchaelLAX wrote:
    If you are unable to upgrade your Microsoft Office products consider installing Snow Leopard (and Rosetta) into Parallels 7 in Lion and run Microsoft Office 2004 concurrently:
    Some people have expressed compatibility problems with data files from 2004 when opened in MS Office 2008 or 2011. 
    For example, I have an important spreadsheet with a chart created in Excel 2004 that when opened in Excel 2011, the chart is completely unusable.  I continue to use this file weekly and I do so with Excel 2004 in my Parallels 7 Snow Leopard Environment with ease.
    Full Snow Leopard installation instructions here:
    http://forums.macrumors.com/showthread.php?t=1365439
    Whooa! Here we go! Never heard of this hack before!! Most simply update their programs.
    Marvellous.
    Thank you Mr. Lax (ative)
    Pete

Maybe you are looking for