Simplica

ProductsLearnPurchaseSupportDemoDownload
  [Search] Search   [Recent Topics] Recent Topics  
IBM RSA 6.0.1
Forum Index -> General
Author Message
tuantexas


Joined: 07/06/2007 10:08:18
Messages: 5
Offline

Try to run AddresBook example using RSA and got this error. Have any idea why?

[7/10/08 16:42:09:540 CDT] 00000018 jsf E com.ibm.ws.jsf.configuration.FacesConfigParser parse Failed to parse Faces config document
java.net.SocketException: Operation timed out: connect:could be due to invalid address
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:331)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:196)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
at java.net.Socket.connect(Socket.java:47
at java.net.Socket.connect(Socket.java:42
at sun.net.NetworkClient.doConnect(NetworkClient.java:15
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:646)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:336)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:297)
at sun.net.www.http.HttpClient.New(HttpClient.java:369)
at sun.net.www.http.HttpClient.New(HttpClient.java:350)
at sun.net.www.http.HttpClient.New(HttpClient.java:345)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:562)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:539)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:667)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at com.ibm.ws.jsf.configuration.FacesConfigParser.parse(FacesConfigParser.java:279)
at com.ibm.ws.jsf.configuration.FacesConfigParser.parse(FacesConfigParser.java:253)
at com.ibm.ws.jsf.util.FacesConfigUtil.parseJSFApplicationConfig(FacesConfigUtil.java:202)
at com.ibm.ws.jsf.util.FacesConfigUtil._parseJSFConfiguration(FacesConfigUtil.java:122)
at com.ibm.ws.jsf.util.FacesConfigUtil.parseJSFConfiguration(FacesConfigUtil.java:82)
at com.sun.faces.util.Util.verifyFactoriesAndInitDefaultRenderKit(Util.java:465)
at com.ibm.ws.jsf.configuration.FacesConfig.initialize(FacesConfig.java:96)
at com.ibm.ws.jsf.extprocessor.JSFExtensionFactory.createExtensionProcessor(JSFExtensionFactory.java:10
at com.ibm.ws.webcontainer.webapp.WebApp.initializeExtensionProcessors(WebApp.java:106
at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:363)
at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:114)
at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:127)
at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:776)
at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:729)
at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:140)
at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1019)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:102
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:53
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:724)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:683)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:167
at com.ibm.ws.runtime.component.ComponentImpl$_AsynchInitializer.run(ComponentImpl.java:304)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)

[7/10/08 16:42:09:571 CDT] 00000018 jsf E com.ibm.ws.jsf.util.FacesConfigUtil parseJSFApplicationConfig Can't parse configuration file:wsjar:file:/D:/workspaces6/testjsf/testjsf/WebContent/WEB-INF/lib/ecruiser-suite-v1.1.7.jar!/META-INF/faces-config.xml
java.net.SocketException: Operation timed out: connect:could be due to invalid address
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:331)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:196)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
at java.net.Socket.connect(Socket.java:47
at java.net.Socket.connect(Socket.java:42
at sun.net.NetworkClient.doConnect(NetworkClient.java:15
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:646)
adina_mihai
Simplica Team

Joined: 04/01/2007 00:00:00
Messages: 183
Offline

Hello!

Please go to ecruiser-suite-v1.1.7.jar!/META-INF/faces-config.xml and check if you have 2 lifecycle tags, like this:



I'm not sure if you have this fix included in the .jar that you are using. If you don't have it, just download the .zip from the site.
tuantexas


Joined: 07/06/2007 10:08:18
Messages: 5
Offline

I download the latest zip and look into the faces-config. This is what I see at the end of the file:


<!-- Lifecycle -->
<lifecycle>
<phase-listener>ecruiser.system.SystemPhaseListener</phase-listener>
</lifecycle>

<lifecycle>
<phase-listener>ecruiser.ajax.AjaxPhaseListener</phase-listener>
</lifecycle>

</faces-config>

It seems that it's the same but still got problem.
tuantexas


Joined: 07/06/2007 10:08:18
Messages: 5
Offline

I add the comm*.jar files and now got this:

[7/16/08 17:23:26:870 CDT] 00000048 ServletWrappe E SRVE0100E: Did not realize init() exception thrown by servlet Faces Servlet: java.lang.NullPointerException
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:262)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.7 © JForum Team
Home   |  News   |  Contact   |  About   |  License   |  Privacy   |  Documentation
Copyright © 2009 Simplica Corporation. All rights reserved.