Don't know how to make public on web application in netbeans(visualWebPack

My netbeans(VisualWebPack) JSF application works fine in netbeans
but when I try to run it on a tomcat server(version 5.5.20) i'm getting the folowing error:
Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
Exception Details: java.lang.NullPointerException
null
Possible Source of Error:
Class Name: javax.faces.webapp.FacesServlet
File Name: FacesServlet.java
Method Name: init
Line Number: 165
Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
Stack Trace:
javax.faces.webapp.FacesServlet.init(FacesServlet.java:165)
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run( Unknown Source )
Are there any settings needed to be done to the tomcat server?
.....or to use a different version?
Ps: i'm putting the MyApplication.war file in the webapps directory of the installed tomcat server(I thought this one is needed)

I too have had the same problem and have tried every trick in the book, this solution work and makes sence for me.
If you wish to deploy to a server that is not the the bundled server, make sure that there are no spaces in the path to your source code or your tomcat server.
C:\Documents and settings\Fred Brooks\My Documents\MyApplication
Bad
C:\env\MyApplication
Good
C:\Program files\Appache Software Foundation\Tomcat 5.5\
Bad
C:\Tomcat55\
Good
this seemed to allow me to both deploy strait to the server from netbeans as well as using the tomcat admin web page to deploy the .war file.
I remember reading someware, or hearing someware that ant doesn't like spaces in file or directory names, in fact had a general dislike for spaces in general.
If you find this solution doesn't work try some of the following.
- set the <faces severlet> <load on startup> to false (0) in the project web.xml.
- copy the jars from your build web-inf / lib folder of your project to tomcat\server\lib
- removing the any content in the tomcat\temp folder
- copy the jars from your build web-inf / lib folder of your project to any folder
in tomcat that contains jars or you might think would like some (yes i know
im flayaling wildly at the problem here this is realy a last ditch effort)
these are some of the solutions i have found elseware on the internet, you have by now proberbley seen them and tried them yourself, they work sometimes apparently, but they seem a little random.
Hope this helps
Message was edited by:
JonPen
Message was edited by:
JonPen
Message was edited by:
JonPen

Similar Messages

  • I subscribed for itunes imatch - it works perfectly on my i-pad and iPhone - however on my macbook - my iTunes can no longer find my songs - i don't know how to make it look to the cloud to play my music

    i subscribed for itunes imatch - it works perfectly on my i-pad and iPhone - however on my macbook - my iTunes can no longer find my songs - i don't know how to make it look to the cloud to play my music - i think it keeps trying to find on the external harddrive where i used to keep my music

    Of course iTunes is looking for the music on the external HDD. Enabling iTunes Match does not magically change the location of the iTunes library to the cloud.
    To play the music either plug the external HDD back into your computer or create a new, empty library to use for streaming the iTM content. The latter can be accomplished by holding down the Option key when launching iTunes, choosing "create library" then enabling iTunes Match on the new library. DO NOT have iTunes scan your HDD for music.

  • I don´t know how to make a phone call whit my ipad...and how to sent a message? is it possible?

    i don´t know how to make a phone call whit my ipad...and how to senSeleneGMt a message? What do i need? or is it impossible?

    You can't; not natively, anyway, since the iPad is not a phone. If you want to make a call, you'll need to use some third-party Voice-Over-IP service such as Skype.
    I'm not sure what you're asking when you ask about sending a message. If you mean a text message, you can either use iMessage, which can send messages to other users also running iMessage, or you can look in the iTunes Store for SMS apps, a few of which are available. They use separate services to actually send the message and so require an Internet connection, either WiFi or 3G.
    Regards.

  • HT4528 i am new to iphone. i downloaded a song but don't know how to make it my ringtone for incoming calls. can someone help?

    I just got an iphone4. I downloaded a song but i don't know how to make it my ringtone for incoming call. Can someone help?

    YOu can't use the whole song for a ringtone, you would have to create one 30 second or less.
    YOu can download an app to create the ringtone.

  • Hi I have got a problem where when I'm on safari i get these virus pop ups asking me to down load this and that and i don't know how to make them stop.

    Hi I have got a problem where when I'm on safari i get these virus pop ups asking me to down load this and that and i don't know how to make them stop.

    Click here and run Adware Medic.
    (113236)

  • I maximized this program but I don't know how to make it smaller again.

    I maximized this program but I don't know how to turn it into a smaller box again. I've tried everything and I'm sure there must be some magic button I can't seem to find. Help?

    How about the green button in the upper left corner  or
    if you grab he slash marks in the lower right corner to shrink the window.
    If you zoomed in then try holding the control key and move two fingers on the trackpad.

  • I have an idea for a phone, but I don't know how to make it or anything like that and I'd like you to help.

    I have an idea for a phone that in my opinion beats the big brands, they don't think about the smaller communties and focus on the girls taking photoes of themselves, my phone is different and I'd like Firefox OS to be it's operating system
    I still need to finish designs etc. but I have no idea how to make a phone or anything like that so I'd like guidance on the matter.
    I also have OS idea's myself but they're only thoughts, nothing in motion.
    To summarise, I'd like assistance. If you could help I'd be most grateful, thanks.
    -Trey

    Thanks, I know I'm not really a big brand (not even a brand at that) but I think you could always release as Firefox's first own brand mobile WITH the OS :)

  • I don't know how to make a playlist in Zen Micro!! lol Help P

    Lol, ok so this may sound very bad but, i just dont know what to do to make a playlist with ALL the song in it.
    There was a song playing, i am in the "Now Playing" screen, i save it as a playlist, now how do i add more songs to the same playlist? That is where im stuck!
    Sorry if this is very stupid, but i've tried everything and somehow i got another song added to it, but i dont know how i did it....

    make a playlist of ALL the songs you have? just why would anyone want that?
    anyways... go tothe all tracks section onthe main menu and play a song. then tap the lower right icon on the player then select "Save as Playlist". rename the playlist and there you have it. if you wantto add a song to a playlist of ALL your song (again, why would anyone do something like this?), go to your playlist, play a song, then go back to the all tracks section on the main menu, choose the song you want to add on the playlist, then tap either the verical touchpad or the lower right icon then choose "add to selected". Choose as many sons you like. then go back to the "Now Playing" section (tap the vertical touch pad to see that the added song/s will be on the bottom list). then just rename your playlist and there you have it-- a playlist of all your songs PLUS the added songs that had been added before
    to each his own i guess... enjoy

  • HT204053 i have a new email address but I don't know how to make it my primary email

    I have a new email address that I want to make my primary email but I don't know how

    Login at http://appleid.apple.com/ and make the changes there.

  • I clicked "full screen" under "view" and don't know how to make it small again.

    I clicked "full page" under "view. Now I want to make it the regular size again and can't find out how to do it.
    == This happened ==
    Every time Firefox opened

    Hey so here is a tip to avoid it '''in future''': look in front of the Full screen option (or anything that you click upon). In this case it says F11 is the keyboard shortcut. So you'd know how to bring it back or restore it.
    And solution '''for now''': Press F11!
    Hope it helps.

  • Help! my Itunes is in japanese and I don't know how to make it English!

    I really need help on this one. I have windows Xp, and a dell computer.
    My ipod and my itunes are up to date, but MY itunes is in japanese, and I dont know how to turn it back! I have a feeling that the setup is the same, but I need someone to tell me where to change it !

    Press "Ctrl + ," then, "L", and then "E", and finally hit Enter. Hope this helps and works.

  • I forgot the answers to my security questions... and I don't know how to make a rescue email address. pls help!

    how do I make a rescue address? and also how do I reset my security questions?

    You need to ask Apple to reset your security questions; this can be done by clicking here and picking a method, or if your country isn't listed, filling out and submitting this form.
    It isn’t possible to create a rescue email address without supplying two of the answers. They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (109040)

  • I would like to upgrade my operating system, but still have Leopard and don't know how to make the "leap" to newer software.

    I have a makbook pro, running with Leopard (10.5.8).  I know that I missed both Lion and Snow Leopard and want to know the best way to upgrade.  Do I need to buy both in addition to Mountain Lion?  Will my computer even run Mountain Lion?  I need step by step instructions because everyone I talk to just says "Just upgrade it" Thanks.

    Upgrading to Mountain Lion
    You can upgrade to Mountain Lion from Lion or directly from Snow Leopard. Mountain Lion can be downloaded from the Mac App Store for $19.99. To access the App Store you must have Snow Leopard 10.6.6 or later installed.
    If you need to purchase Snow Leopard you can still purchase a copy from Apple's online store's telesales agents.[1-800-MY-APPLE (1-800-692-7753) or Customer Service and Sales Support at 1-800-676-2775.] Ask for a Sales Representative.
    Third-party sources for Snow Leopard are:
    Snow Leopard from Amazon.com
    Snow Leopard from eBay
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store.
    If you need to purchase Lion call 1-800-692-7753 or 1-800-676-2775. Ask for a Sales Representative. They will check your Apple ID, and email you a code and instructions.  The cost is $29.99 (as it was before) plus tax.  It's a download.
    Be sure your computer meets the minimum requirements:
    Apple - OS X Mountain Lion - Read the technical specifications.
    Macs that can be upgraded to OS X Mountain Lion
    iMac (Mid 2007 or newer)
    MacBook (Late 2008 Aluminum, or Early 2009 or newer)
    MacBook Pro (Mid/Late 2007 or newer)
    MacBook Air (Late 2008 or newer)
    Mac mini (Early 2009 or newer)
    Mac Pro (Early 2008 or newer)
    Xserve (Early 2009)
    Are my applications compatible?
    See App Compatibility Table - RoaringApps - App compatibility and feature support for OS X & iOS.
    For a complete How-To introduction from Apple see Apple - Upgrade your Mac to OS X Mountain Lion.

  • Windows media is corrupt, I have QuickTime but don't know how to make the change, can you please help me?

    Hi, I am new to you and I am having problems with my Windows Media. I ran a fix it test on it and it came back saying that the player is corrupt and can not read the dll. Plus I have gotten pop-ups saying the script on the page had quit running 2 or 3 times, that's what made me check it. I have Quick Time on here, I have never used it before. How do I properly go about making the the switch? Do I delite the Windows Media? Do I need to do anything to QuickTime other than just open it? Thank you so much for your time & help.
    Terri Young

    When you say "account," do you mean your iTunes library, because your iTunes library is what is on your computer?  Your iTunes library does not have an email address.  An account that is related to iTunes is your Apple ID (which is an email address) and you use it as your user name to sign in to the iTunes Store, to make purchases.  Changing your Apple ID will not make songs disappear from your computer's iTunes library.
    If you had an Apple ID and used it to make song purchases from the iTunes Store, and then started using a different Apple ID, you should be able to re-download the songs purchased with the old Apple ID.  In iTunes, sign in to the iTunes Store using your OLD Apple ID (and password).  That may not be your current email address, but Apple uses it as your user name, so it does not matter.
    On the iTunes Store Home screen, click on Purchased under QUICK LINKS.  This takes you do the Purchased screen, where you can re-download previous song purchases (for that Apple ID) at no cost. 
    NOTE:  If those song purchases are from more than a few years ago, you may also need to authorize your computer to play (and sync) songs for your old Apple ID. 
    For songs that were not purchased from the iTunes Store, if they are also gone, you cannot get them back unless you have a backup (or they are still loaded on your old iPod).
    If that's not what you mean by "changed the email address on my account," please post back with more details.

  • Is there any library with new components for download and put into multisim? I need ISO124 and I don't know how to make it...

    People, I am not experient on Multisim and I'd need help to make one component. First, is there any library or something for me to download components that are necessary and are not there? If there isn't, can someone help me to find ISO 124 (isolation amplifier) for simulation and PCI??
    Thank You!

    Leocechet,
    The ISO 124 from Burr Brown (now part of TI) is one of my favorite ICs (although noisy)... I would check on the TI website and if no luck do a general google search to see if there is anything similar out there for SPICE models.
    If I remember correctly the ISO124 uses a proprietary capacitive isolation barrier (mod/demod across barrier). The signal chain and performance of the ISO 124 may be difficult to mimic with a standard opamp model, but you can try as a start.
    If creating my own I would use a standard opamp model and then use a voltage controlled source to model the isolation barrier (again it wouldn't be that sophisticated but you could possibly add to it).
    Hopefully that will get you started. If you find a model and need help in importing it let us know.
    Regards,
    Pat N

Maybe you are looking for