03-07-2007 10:59 PM
03-08-2007 07:08 AM
03-14-2007 12:36 PM
(…)
[#|2007-03-13T23:11:34.858+0100|INFO|sun-appserver-pe9.0|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=10;_ThreadName=main;;|Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context ''|#]
[#|2007-03-13T23:14:46.407+0100|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=10;_ThreadName=main;|23:14:46,401 FATAL [webapp.webxml.WebXmlParser] Unable to parse web.xml
java.net.ConnectException: Connection timed out
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:527)
(…)
at org.apache.myfaces.webapp.webxml.WebXmlParser.parse(WebXmlParser.java:89)
at org.apache.myfaces.webapp.webxml.WebXml.init(WebXml.java:135) (…)I am downloading source code to try to understand what it is trying to access.03-14-2007 01:33 PM
03-14-2007 03:07 PM
140 private class _EntityResolver implements EntityResolver
141 {
142 public InputSource resolveEntity(String publicId, String systemId) throws IOException
143 {
144 if (systemId == null)
145 {
146 throw new UnsupportedOperationException("systemId must not be null");
147 }
148
149 if (systemId.equals(WebXmlParser.WEB_APP_2_2_SYSTEM_ID) ||
150 systemId.equals(WebXmlParser.WEB_APP_2_2_J2EE_SYSTEM_ID))
151 {
152 //Load DTD from servlet.jar
153 return createClassloaderInputSource(publicId, WebXmlParser.WEB_APP_2_2_RESOURCE);
154 }
155 else if (systemId.equals(WebXmlParser.WEB_APP_2_3_SYSTEM_ID))
156 {
157 //Load DTD from servlet.jar
158 return createClassloaderInputSource(publicId, WebXmlParser.WEB_APP_2_3_RESOURCE);
159 }
160 else
161 {
162 //Load additional entities from web context
163 return createContextInputSource(publicId, systemId);
164 }54 private static final String WEB_APP_2_2_J2EE_SYSTEM_ID = "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";
55 private static final String WEB_APP_2_2_SYSTEM_ID = "http://java.sun.com/dtd/web-app_2_2.dtd";
56 private static final String WEB_APP_2_2_RESOURCE = "javax/servlet/resources/web-app_2_2.dtd";
57
58 private static final String WEB_APP_2_3_SYSTEM_ID = "http://java.sun.com/dtd/web-app_2_3.dtd";
59 private static final String WEB_APP_2_3_RESOURCE = "javax/servlet/resources/web-app_2_3.dtd";03-14-2007 03:15 PM
[#|2007-03-14T20:19:59.032+0100|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;_RequestID=db65bcad-928d-42fb-86c3-15880b0b0d7a;|WebModule[/alfresco]Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
javax.faces.FacesException: java.net.MalformedURLException: Path WEB-INF/faces-config-custom.xml does not start with a "/" character
at com.sun.faces.config.ConfigureListener.getContextURLForPath(ConfigureListener.java:1638) 03-14-2007 03:20 PM
[#|2007-03-14T20:52:32.718+0100|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=httpWorkerThread-8080-1;_RequestID=7ea54b2a-acdd-4ba0-9f3e-eb1b3b6c5ad7;|StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
java.lang.UnsupportedOperationException
at javax.faces.application.Application.getELResolver(Application.java:443)
at com.sun.faces.context.FacesContextImpl.getELContext(FacesContextImpl.java:174)03-15-2007 05:59 AM
Next problem: Web App is not starting yet.
The log is:[#|2007-03-14T20:19:59.032+0100|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;_RequestID=db65bcad-928d-42fb-86c3-15880b0b0d7a;|WebModule[/alfresco]Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
javax.faces.FacesException: java.net.MalformedURLException: Path WEB-INF/faces-config-custom.xml does not start with a "/" character
at com.sun.faces.config.ConfigureListener.getContextURLForPath(ConfigureListener.java:1638)
This times it sounds like it is an Alfresco bug. Look at the web.xml file. A "/" is missing:
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config-app.xml,/WEB-INF/faces-config-beans.xml,/WEB-INF/faces-config-navigation.xml,/WEB-INF/faces-config-common.xml,/WEB-INF/faces-config-repo.xml,/WEB-INF/faces-config-wcm.xml,WEB-INF/faces-config-custom.xml,/WEB-INF/faces-config-enterprise.xml</param-value>
</context-param>
stop / start … still problems
03-15-2007 06:00 AM
Oh yes, on Linux, ports with small numbers cannot be opened by another user than root.Yes i think you need to start the server as a user with the appropriate rights to open those ports - that's not a bug.
The server crashed on opening FTP or NetBIOS port.
Using root to stop / start the server solved the problem.
I've still got one.[#|2007-03-14T20:52:32.718+0100|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=httpWorkerThread-8080-1;_RequestID=7ea54b2a-acdd-4ba0-9f3e-eb1b3b6c5ad7;|StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
java.lang.UnsupportedOperationException
at javax.faces.application.Application.getELResolver(Application.java:443)
at com.sun.faces.context.FacesContextImpl.getELContext(FacesContextImpl.java:174)
I perhaps missed something in Nick's conf…
03-15-2007 08:25 AM
pcheipe wrote:
Oh yes, on Linux, ports with small numbers cannot be opened by another user than root.
The server crashed on opening FTP or NetBIOS port.
Using root to stop / start the server solved the problem.
Yes i think you need to start the server as a user with the appropriate rights to open those ports - that's not a bug.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.