- This topic has 6 replies, 2 voices, and was last updated 20 years ago by Riyad Kalla.
-
AuthorPosts
-
tamakiMemberI am following the JSF Login Demo tutorial with trivial changes.
My faces.config.xml is essentially the same as the one from the
tutorial but generates the info message:
Severity Description Resource In Folder Location Creation Time
0 Document parse failed unexpectedly – Connection refused: connect faces-config.xml WebAlogF/WebRoot/WEB-INF line 1 2004/11/19 15:12:30The content of this file is:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd"> <faces-config> <navigation-rule> <from-view-id>/UserLogin.jsp</from-view-id> <navigation-case> <from-outcome>success</from-outcome> <to-view-id>/UserLoginSuccess.jsp</to-view-id> </navigation-case> <navigation-case> <from-outcome>failure</from-outcome> <to-view-id>/UserLogin.jsp</to-view-id> </navigation-case> </navigation-rule> <managed-bean> <description>Bean used to handle all User-based operations.</description> <managed-bean-name>UserBean</managed-bean-name> <managed-bean-class>com.meiji.bean.UserBean</managed-bean-class> <managed-bean-scope>session</managed-bean-scope> </managed-bean> </faces-config>
Could you tell me what is wrong?
Riyad KallaMemberCan you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.
tamakiMemberI have tried below. The log seems very relevant. Thanks,
Hisao
-What operating system and version are you running?
Windows XP Home Edition version 5.1 Service pack 1
What Eclipse version and build id are you using? (Help > About Eclipse Platform)
Version: 3.0.0
Build id: 200406251208
– Was Eclipse freshly installed for MyEclipse? Yes
– Are any other external plugins installed? Yes
– How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.* 190
What MyEclipse version are you using? (Help > About Eclipse Platform > Features) 3.8.2
What JDK version are you using to run Eclipse? (java -version) 1.4.2_04
What JDK version are you using to launch your application server? 1.4.2_04
What steps did you take that resulted in the issue?
What application server are you using? Tomcat
Are there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log)!SESSION 7 22, 2004 10:07:21.265 ----------------------------------------------- eclipse.buildId=I200406251208 java.version=1.4.2_04 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ja_JP !ENTRY org.eclipse.update.core 4 42 7 22, 2004 10:07:21.265 !MESSAGE Network connection problems encountered during search. !SUBENTRY 1 org.eclipse.update.core 4 42 7 22, 2004 10:07:21.265 !MESSAGE Unable to access "http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/pde-ui-home/samples/". !SUBENTRY 2 org.eclipse.update.core 4 42 7 22, 2004 10:07:21.265 !MESSAGE Unable to access site: "http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/pde-ui-home/samples/" [Connection refused: connect] !STACK 0 java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at org.eclipse.update.internal.core.ConnectionThreadManager$StreamRunnable.run(ConnectionThreadManager.java:75) at java.lang.Thread.run(Unknown Source)
[/list]
Riyad KallaMemberAre you behind a firewall that is setup to disallow outgoing connections? I’m asking because these exceptions you posted don’t have MyEclipse code anywhere in them, llooks like Eclipse in general is having a connection problem on your PC…
tamakiMemberDear Riyad,
Yes, I am behind a firewall and I suppose it disallows outgoing connections.
Where should I look to learn which task can be done without such connections in Eclipse and which tasks can’t? In particular, to parse
faces-config.xml, do I absolutely need the connection?
Sorry if this is not a MyEclipse question.Thanks a lot,
Hisao
tamakiMemberDear Riyad,
I had a mistake in setting the proxy for Eclipse. After I corrected this, the info message
has disappeared. I am sorry that I troubled you with my mistake.Thanks,
Hisao
Riyad KallaMemberHisao,
I am glad it is working now, thank you for following up with us. -
AuthorPosts