Results 1 to 7 of 7
- 01-14-2014, 05:15 PM #1
Member
- Join Date
- Jul 2013
- Posts
- 10
- Rep Power
- 0
jsf config error - MOZILLA_FIVE_HOME
Hello,
I am new to jsf.
I want to open a project.
Here are my steps
1-) File->New->Dynamic Web Project
2-) At opened form I select Configuration: JavaServer Faces v2.2 Project
3-) I click on Next button 2 times and reached to form Jsf Capabilities
4-) At articles, it says me to click on download button at the right of 1st textbox. Download starts but I got followğng error:
Unhandled event loop exception
No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
I searched google and found an offer to set following
export MOZILLA_FIVE_HOME=/usr/lib/mozilla
I did it, restarted eclipse but same error exists!
- 01-14-2014, 08:49 PM #2
Just a guy
- Join Date
- Jun 2013
- Location
- Netherlands
- Posts
- 5,114
- Rep Power
- 13
Re: jsf config error - MOZILLA_FIVE_HOME
The JSF bit is a red herring though, this is not related to JSF at all. It seems to be an Eclipse under Linux specific issue to do with an internal browser the IDE uses (probably for doing previews of web projects). I would rather try the Eclipse forums for suggestions and tech support.
My first hit when I google the error:
https://groups.google.com/forum/#!to...nd/5SjPTy0MmEo
Suggests to install libwebkitgtk. How will probably depend on what distribution you have."Syntactic sugar causes cancer of the semicolon." -- Alan Perlis
- 01-16-2014, 11:28 PM #3
Member
- Join Date
- Jul 2013
- Posts
- 10
- Rep Power
- 0
Re: jsf config error - MOZILLA_FIVE_HOME
Dear gimbal2,
After writing my thread I searched from google and downloaded libwebkitgtk.
Now I am not getting error at 4th stepped I wrote at my 1st thread.
But now my project is not opened.
I check
Window -> Web Browser
I see 3 options:
0 Internal Web Browser
1 Default system web browser
2 Firefox
0 Internal Web Browser is selected
Tomcat is started, I wrote a simple code 'Hello World' with file name HelloWord.jsp.
When I select 'Publish' from Tomcat nothing is displayed.
I am writing 'http://localhost' to browser and see :
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
I am writing 'http://localhost:8080' to browser and see :
HTTP Status 404 - /
type Status report
message /
description The requested resource (/) is not available.
Apache Tomcat/7.0.12
I am writing 'http://localhost:8080/demo4/HelloWorld.jsp' to browser and see :
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: java.lang.NullPointerException
org.apache.jasper.servlet.JspServletWrapper.handle JspException(JspServletWrapper.java:534)
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:457)
org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:391)
org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet .java:722)
org.apache.tomcat.websocket.server.WsFilter.doFilt er(WsFilter.java:52)
root cause
java.lang.NullPointerException
javax.faces.webapp.UIComponentClassicTagBase.setJs pId(UIComponentClassicTagBase.java:1856)
org.apache.jsp.HelloWorld_jsp._jspx_meth_f_005fvie w_005f0(HelloWorld_jsp.java:97)
org.apache.jsp.HelloWorld_jsp._jspService(HelloWor ld_jsp.java:71)
org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet .java:722)
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:419)
org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:391)
org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet .java:722)
org.apache.tomcat.websocket.server.WsFilter.doFilt er(WsFilter.java:52)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.12 logs.
Apache Tomcat/7.0.12
- 01-17-2014, 10:22 AM #4
Just a guy
- Join Date
- Jun 2013
- Location
- Netherlands
- Posts
- 5,114
- Rep Power
- 13
Re: jsf config error - MOZILLA_FIVE_HOME
Okay, the problem was solved. Good luck figuring out your latest problem. If after investing enough personal time into it you still can't figure it out, feel free to come back and ask for help. I would start by finding the HelloWorld_jsp.java file that the stacktrace is pointing you to and looking what is on line 97 to figure out what might be causing the crash.
I would also advise you to upgrade to a more recent version of Tomcat, your version is way too old and dozens of bugs have been fixed since then."Syntactic sugar causes cancer of the semicolon." -- Alan Perlis
- 01-17-2014, 07:52 PM #5
Member
- Join Date
- Jul 2013
- Posts
- 10
- Rep Power
- 0
- 01-17-2014, 08:14 PM #6
Member
- Join Date
- Jul 2013
- Posts
- 10
- Rep Power
- 0
- 01-18-2014, 11:12 PM #7
Just a guy
- Join Date
- Jun 2013
- Location
- Netherlands
- Posts
- 5,114
- Rep Power
- 13
Similar Threads
-
config.ini file?
By JavaJimme in forum JDBCReplies: 2Last Post: 05-09-2013, 05:47 PM -
Issues With Config??
By Spindraft in forum New To JavaReplies: 11Last Post: 11-02-2012, 04:05 AM -
tools4j-config
By java software in forum Java SoftwareReplies: 0Last Post: 02-05-2012, 06:56 PM -
Tomcat 5.0 and struts-config.xml
By ajeeb in forum Advanced JavaReplies: 1Last Post: 06-07-2009, 05:53 PM -
struts-config.xml
By Heather in forum Web FrameworksReplies: 2Last Post: 01-17-2008, 12:23 PM
Bookmarks