HI lowecg2004, i saw log and i found this :

  | 04:03:56,515 INFO  [Component] Component: org.jboss.seam.core.init, scope: 
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
  | 04:03:56,559 INFO  [Initialization] Installing components...
  | 04:03:56,593 INFO  [Component] Component: authenticator, scope: EVENT, 
type: JAVA_BEAN, class: 
action.com.liliko.billing.businesslayer.beans.session.Authenticator
  | 04:03:56,635 INFO  [Component] Component: entityManager, scope: 
CONVERSATION, type: JAVA_BEAN, class: 
org.jboss.seam.persistence.ManagedPersistenceContext
  | 04:03:56,653 INFO  [Component] Component: menu, scope: SESSION, type: 
JAVA_BEAN, class: model.MenuBean
  | 
entity manager exist,
here is my web.xml :

  | <?xml version="1.0" ?>
  | <web-app xmlns="http://java.sun.com/xml/ns/j2ee";
  |          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |          xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
  |          version="2.4">
  | 
  |     <!-- Ajax4jsf -->
  |         
  |     <context-param>
  |         <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
  |         <param-value>com.sun.facelets.FaceletViewHandler</param-value>
  |     </context-param>
  |     
  |     <context-param>
  |         <param-name>org.ajax4jsf.SKIN</param-name>
  |         <param-value>blueSky</param-value>
  |     </context-param>
  |  
  |    <!-- Seam -->
  |     
  |    <listener>
  |       <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
  |    </listener>
  |     
  |     <filter>
  |         <filter-name>Seam Filter</filter-name>
  |         <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
  |     </filter>
  | 
  |     <filter-mapping>
  |         <filter-name>Seam Filter</filter-name>
  |         <url-pattern>/*</url-pattern>
  |     </filter-mapping>
  |         
  |    <servlet>
  |       <servlet-name>Seam Resource Servlet</servlet-name>
  |       <servlet-class>org.jboss.seam.servlet.ResourceServlet</servlet-class>
  |    </servlet>
  |     
  |    <servlet-mapping>
  |       <servlet-name>Seam Resource Servlet</servlet-name>
  |       <url-pattern>/seam/resource/*</url-pattern>
  |    </servlet-mapping>
  |    
  |    <!-- Facelets development mode (disable in production) -->
  |    
  |    <context-param>
  |       <param-name>facelets.DEVELOPMENT</param-name>
  |       <param-value>true</param-value>
  |    </context-param>
  |     
  |    <!-- JSF -->
  |    
  |    <context-param>
  |       <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
  |       <param-value>.xhtml</param-value>
  |    </context-param>
  | 
  |    <servlet>
  |       <servlet-name>Faces Servlet</servlet-name>
  |       <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
  |       <load-on-startup>1</load-on-startup>
  |    </servlet>
  |     
  |    <servlet-mapping>
  |       <servlet-name>Faces Servlet</servlet-name>
  |       <url-pattern>*.seam</url-pattern>
  |    </servlet-mapping>
  |                   
  |    <security-constraint> 
  |        <display-name>Restrict raw XHTML Documents</display-name>
  |        <web-resource-collection>
  |            <web-resource-name>XHTML</web-resource-name>
  |            <url-pattern>*.xhtml</url-pattern>
  |        </web-resource-collection>
  |        <auth-constraint>
  |            <role-name>NONE</role-name>
  |        </auth-constraint>
  |    </security-constraint>
  |    
  | </web-app>
  | 
  | 
and my faces-config.xml

  | <?xml version='1.0' encoding='UTF-8'?>
  | <faces-config version="1.2"
  |               xmlns="http://java.sun.com/xml/ns/javaee";
  |               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |               xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd";>
  |     
  |     <application>
  |         <locale-config>
  |             <default-locale>en</default-locale>
  |             <supported-locale>en</supported-locale>
  |             <supported-locale>ka</supported-locale>
  |             <supported-locale>de</supported-locale>
  |             <supported-locale>fr</supported-locale>
  |         </locale-config>
  |         <message-bundle>messages</message-bundle>
  |     </application>
  |         
  |     <application>
  |         <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
  |     </application>
  | </faces-config>
  | 
  | 

is this configuration files incorrect ?
i use seam gen fro project creation, i don't understand why this not working :(


_____________
Regards,
Paata



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060763#4060763

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060763
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to