[jboss-user] [JBoss Seam] - Re: java.lang.RuntimeException: Could not create Component:

grdzeli_kaci do-not-reply at jboss.com
Mon Mar 19 09:32:54 EDT 2007


here is my complate component.xml file. is tehre anything wrong ?


  | <?xml version="1.0" encoding="UTF-8"?>
  | <components xmlns="http://jboss.com/products/seam/components"
  |             xmlns:core="http://jboss.com/products/seam/core"
  |             xmlns:drools="http://jboss.com/products/seam/drools"
  |             xmlns:framework="http://jboss.com/products/seam/framework"
  |             xmlns:security="http://jboss.com/products/seam/security"
  |             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  |             xmlns:selectitems="http://jboss.com/products/seam/selectitems"
  |             xsi:schemaLocation="http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.1.xsd 
  |             http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.1.xsd 
  |             http://jboss.com/products/seam/framework http://jboss.com/products/seam/framework-1.1.xsd 
  |             http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-1.1.xsd
  |             http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.1.xsd
  | http://jboss.com/products/seam/selectitems http://wiki.jboss.org/wiki/attach?page=SeamSelectItemsNewDesign%2Fselectitems-1.1.xsd">
  | 
  |     <core:init jndi-name="myEarName/#{ejbName}/local" debug="true"/>
  |     
  |     <core:manager concurrent-request-timeout="500" 
  |                   conversation-timeout="120000" 
  |                   conversation-id-parameter="cid" 
  |                   conversation-is-long-running-parameter="clr"/>
  |     
  |     <core:managed-persistence-context name="entityManager" persistence-unit-jndi-name="java:/MagticomBillingEntityManagerFactory"/>
  |     
  |     <component name="org.jboss.seam.core.resourceBundle">
  |         <property name="bundleNames">
  |             <value>messages</value>
  |         </property>
  |     </component>
  |     
  |     
  |     <core:ejb installed="@embeddedEjb@"/>
  |     
  |     <drools:rule-base name="securityRules">
  |         <drools:rule-files>
  |             <value>/security.drl</value>
  |         </drools:rule-files>
  |     </drools:rule-base>
  |     
  |     
  |     
  |     <security:identity authenticate-method="#{authenticator.authenticate}" remember-me="true"/>
  |     
  |     <event type="org.jboss.seam.notLoggedIn">
  |         <action expression="#{redirect.captureCurrentView}"/>
  |     </event>
  |     <event type="org.jboss.seam.postAuthenticate">
  |         <action expression="#{redirect.returnToCapturedView}"/>
  |     </event>
  |     
  |     
  |     <framework:entity-query name="languages" ejbql="select l from Language l"/>    
  |     <framework:entity-query name="applications" ejbql="select a from Application a" />
  |     
  |     <framework:entity-home name="languageHome" entity-class="com.magticom.billing.businesslayer.entitybeans.billAdmin.Language"/>
  |     <factory name="language" value="#{languageHome.instance}" />
  |     
  |     
  |     <framework:entity-home name="applicationHome" entity-class="com.magticom.billing.businesslayer.entitybeans.billAdmin.Application"/>
  |     <factory name="application" value="#{applicationHome.instance}" />
  |     
  | </components>
  | 
  | 

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029300



More information about the jboss-user mailing list