13 Replies Latest reply on Dec 6, 2013 1:05 AM by Duran Harris

    Help me to resolve this issue..org.jboss.seam.InstantiationException: Could not instantiate Seam component: registration..I have attached registration class and server  log too.

    Chandru Kumar R Newbie

      I,m using JBOSS dev studio 4. And generating build.xml by File->Export->Ant build...Look throught the build.xml and please reply me whether i need to add anything in that regarding JNDI.

       

       

       

       

      21:45:28,671 WARNING [lifecycle] Could not instantiate Seam component: registration

      org.jboss.seam.InstantiationException: Could not instantiate Seam component: registration

        at org.jboss.seam.Component.newInstance(Component.java:2170)

        at org.jboss.seam.Component.getInstance(Component.java:2024)

        at org.jboss.seam.Component.getInstance(Component.java:1986)

        at org.jboss.seam.Component.getInstance(Component.java:1980)

        at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)

        at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)

        at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:148)

        at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:51)

        at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)

        at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)

        at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)

        at org.jboss.el.parser.AstValue.getTarget(AstValue.java:34)

        at org.jboss.el.parser.AstValue.invoke(AstValue.java:95)

        at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)

        at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)

        at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)

        at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)

        at javax.faces.component.UICommand.broadcast(UICommand.java:387)

        at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)

        at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296)

        at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253)

        at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466)

        at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)

        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

        at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)

        at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

        at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

        at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

        at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

        at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)

        at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:295)

        at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:373)

        at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:500)

        at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

        at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

        at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

        at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)

        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)

        at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

        at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

        at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)

        at java.lang.Thread.run(Thread.java:662)

      Caused by: javax.naming.NameNotFoundException: Registration not bound

        at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)

        at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)

        at org.jnp.server.NamingServer.getObject(NamingServer.java:785)

        at org.jnp.server.NamingServer.lookup(NamingServer.java:396)

        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)

        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)

        at javax.naming.InitialContext.lookup(InitialContext.java:392)

        at org.jboss.seam.Component.instantiateSessionBean(Component.java:1403)

        at org.jboss.seam.Component.instantiate(Component.java:1367)

        at org.jboss.seam.Component.newInstance(Component.java:2148)

        ... 68 more

      21:45:28,671 SEVERE [lifecycle] JSF1054: (Phase ID: INVOKE_APPLICATION 5, View ID: /Registration.xhtml) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@b6aca9]

       

       

      Components.xml

       

      <?xml version="1.0" encoding="UTF-8"?>

      <components xmlns="http://jboss.com/products/seam/components"

                  xmlns:core="http://jboss.com/products/seam/core"

                  xmlns:persistence="http://jboss.com/products/seam/persistence"

                  xmlns:drools="http://jboss.com/products/seam/drools"

                  xmlns:bpm="http://jboss.com/products/seam/bpm"

                  xmlns:security="http://jboss.com/products/seam/security"

                  xmlns:mail="http://jboss.com/products/seam/mail"

                  xmlns:web="http://jboss.com/products/seam/web"

                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                  xsi:schemaLocation=

                      "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.2.xsd

                       http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.2.xsd

                       http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.2.xsd

                       http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.2.xsd

                       http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.2.xsd

                       http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.2.xsd

                       http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.2.xsd

                       http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.2.xsd">

       

       

         <core:init debug="true" jndi-pattern="@jndiPattern@" />

       

       

         <core:manager concurrent-request-timeout="500"

                       conversation-timeout="120000"

                       conversation-id-parameter="cid"

                       parent-conversation-id-parameter="pid"/>

       

       

         <!-- Make sure this URL pattern is the same as that used by the Faces Servlet -->

         <web:hot-deploy-filter url-pattern="*.seam"/>

       

       

         <persistence:managed-persistence-context

        name="entityManager" auto-create="true"

        persistence-unit-jndi-name="java:/RegistrationSeamEntityManagerFactory"/>

       

       

         <drools:rule-base name="securityRules">

            <drools:rule-files><value>/security.drl</value></drools:rule-files>

         </drools:rule-base>

       

       

         <security:rule-based-permission-resolver security-rules="#{securityRules}"/>

       

       

         <security:identity authenticate-method="#{authenticator.authenticate}" remember-me="true"/>

       

       

         <event type="org.jboss.seam.security.notLoggedIn">

            <action execute="#{redirect.captureCurrentView}"/>

         </event>

         <event type="org.jboss.seam.security.loginSuccessful">

            <action execute="#{redirect.returnToCapturedView}"/>

         </event>

       

       

         <mail:mail-session host="localhost" port="25"/>

       

       

         <!-- For use with jBPM pageflow or process management -->

         <!--

         <bpm:jbpm>

            <bpm:process-definitions></bpm:process-definitions>

            <bpm:pageflow-definitions></bpm:pageflow-definitions>

         </bpm:jbpm>

         -->

       

       

      </components>

       

      components.properties

       

      #

      #Sun Oct 27 20:10:34 MST 2013

      jndiPattern=\#{ejbName}/local

      embeddedEjb=false

       

      build.xml

       

      <?xml version="1.0" encoding="UTF-8" standalone="no"?>

      <!-- WARNING: Eclipse auto-generated file.

                    Any modifications will be overwritten.

                    To include a user specific buildfile here, simply create one in the same

                    directory with the processing instruction <?eclipse.ant.import?>

                    as the first entry and export the buildfile again. -->

      <project basedir="." default="build" name="RegistrationSeam">

          <property environment="env"/>

          <property name="ECLIPSE_HOME" value="C:/Program Files/jbdevstudio/studio"/>

          <property name="debuglevel" value="source,lines,vars"/>

          <property name="target" value="1.5"/>

          <property name="source" value="1.5"/>

          <path id="JBoss 5.1 Runtime [JBoss 5.1 Runtime].libraryclasspath">

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jmx-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-deployers-structure-spi.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-jca.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/server/default/lib/mysql-connector-java-5.0.0-bin.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jaxen.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-reflect.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-serialization.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/joesnmp.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-messaging.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jmx-invoker-adaptor-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jbossall-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/getopt.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-security-aspects.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-remoting-aspects.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-deployers-core.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-logging-jdk.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/server/default/deployers/ejb3.deployer/jboss-ejb3-deployer.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/scout.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-classloading-spi.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-jmx.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/server/default/deploy/jbossweb.sar/jstl.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-srp.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/server/default/deploy/jbossweb.sar/jsf-libs/jboss-faces.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hibernate-oscache.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/concurrent.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-remoting.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-managed.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/server/default/deployers/jboss-aop-jboss5.deployer/pluggable-instrumentor.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-security.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-management.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/slf4j-jboss-logging.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-vfs.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-deployers.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/scheduler-plugin-example.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-aop-mc-int.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jbosscx-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jnpserver.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-logbridge.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossws-native-saaj.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-logmanager.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-jpa-deployers.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-messaging-int.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jbosssx-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossws-native-jaxws-ext.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-proxy-impl.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hsqldb-plugin.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hibernate-swarmcache.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-deployers-vfs.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-metadata.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-aop-deployers.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/commons-logging.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-profileservice.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/server/default/deploy/jbossweb.sar/jboss-web-service.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-mc-int.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/servlet-api.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-ejb3-core-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-vfs-spi.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-aop-asintegration-core.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-current-invocation-aspects.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-transactions.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jbosssx.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/log4j.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/wstx.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/ejb3-persistence.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/server/default/deploy/jbossweb.sar/jsf-libs/jsf-api.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-deployers-impl.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-appclient.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ha-server-cache-spi.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossws-spi.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-logging-log4j.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossjts-integration.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/bsh.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/hornetq-core-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jacorb.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-proxy-clustered.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/streambuffer.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jbossjmx-ant.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossha.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/quartz.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/bcel.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-deployers-spi.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-j2se.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/hornetq-jms-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-ext-api.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-proxy-spi.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hibernate-jmx.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-timerservice-spi.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossws-common.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-xml-binding.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hibernate-ehcache.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossjts.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jnp-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/trove.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-metadata.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-bootstrap.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-jsr77.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/server/default/deployers/jboss-aop-jboss5.deployer/jboss-aop-aspects.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-ha-legacy-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-deployers-client-spi.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/server/default/deploy/jbossweb.sar/jsf-libs/jsf-impl.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jsp-api.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-context-naming.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-profileservice-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/properties-plugin.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jbossws-native-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-jaspi-api.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ha-server-api.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jmx-adaptor-plugin.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-deployers-vfs-spi.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hibernate-entitymanager.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossas-remoting.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jaxb-impl.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/wsdl4j.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/cglib.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-messaging-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossts-common.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jbosssx-as-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossxacml.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/xmlsec.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/stax-api.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-common.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/autonumber-plugin.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-jsr77-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ha-server-cache-jbc.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hibernate-c3p0.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hsqldb.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-common-jdbc-wrapper.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-common-core.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-cache.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/stax-ex.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/server/default/lib/ojdbc14.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-javaee.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-security-spi.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-profileservice-spi.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/slf4j-api.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/javassist.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jaxb-api.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-aop.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossws-native-jaxrpc.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-negotiation.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-srp-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hibernate-annotations.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-main.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-classloader.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-mbeans.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-interceptors.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/FastInfoset.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-transaction-aspects.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/scheduler-plugin.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jaxws-rt.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/netty.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossjts-jacorb.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-vfs-impl-vfs2.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/log4j-snmp-appender.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-deployment.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-ejb3-proxy-spi-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-aop-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hibernate-proxool.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-aop-asintegration-mc.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-deployers-core-spi.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/logkit.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/bsf.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossws-native-jaxws.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-system.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-metatype.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-system-jmx.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossws-framework.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-timeout-3.0.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-classloading.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-ejb3-common-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/server/default/deployers/jboss-aop-jboss5.deployer/jboss-aspect-library.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/activation.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-context-base.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/asm.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-hibernate.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-ejb3-security-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jettison.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hibernate-core.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-deployers-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jbosssx-server.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-integration.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-aop-asintegration-jmx.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-system-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/log4j-boot.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hibernate-commons-annotations.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-logging-spi.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-jsr88.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hibernate-validator.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/xnio-api.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-iiop.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-ejb3-proxy-clustered-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-mdr.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-aspect-jdk50-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-endpoint.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-core.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-ext-api-impl.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-dependency.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-system-jmx-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-timeout-spi.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-iiop-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/dom4j.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jbossws-jboss50.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ha-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-threads.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/mail.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/commons-collections.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jbossws-native-core.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-ejb3-proxy-impl-client.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/antlr.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-monitoring.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/el-api.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-classloading-vfs.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/mail-plugin.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jaxws-tools.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-jpa-int.jar"/>

              <pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-kernel.jar"/>

          </path>

          <path id="Web App Libraries.libraryclasspath">

              <pathelement location="WebContent/WEB-INF/lib/antlr-runtime.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/commons-beanutils.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/commons-digester.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/core.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/drools-api.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/drools-compiler.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/drools-core.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/itext-rtf.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/itext.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/jboss-el.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/jboss-seam-debug.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/jboss-seam-excel.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/jboss-seam-ioc.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/jboss-seam-mail.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/jboss-seam-pdf.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/jboss-seam-remoting.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/jboss-seam-ui.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/jboss-seam.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/jbpm-jpdl.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/jcommon.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/jfreechart.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/jsf-facelets.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/jxl.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/mvel2.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/richfaces-api.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/richfaces-impl.jar"/>

              <pathelement location="WebContent/WEB-INF/lib/richfaces-ui.jar"/>

              <pathelement location="WebContent/WEB-INF/classes"/>

          </path>

          <path id="EAR Libraries.libraryclasspath"/>

          <path id="RegistrationSeam.classpath">

              <pathelement location="WebContent/WEB-INF/dev"/>

              <pathelement location="build/classes"/>

              <path refid="JBoss 5.1 Runtime [JBoss 5.1 Runtime].libraryclasspath"/>

              <path refid="Web App Libraries.libraryclasspath"/>

              <path refid="EAR Libraries.libraryclasspath"/>

          </path>

          <target name="init">

              <mkdir dir="WebContent/WEB-INF/dev"/>

              <mkdir dir="build/classes"/>

              <copy includeemptydirs="false" todir="WebContent/WEB-INF/dev">

                  <fileset dir="src/hot">

                      <exclude name="**/*.launch"/>

                      <exclude name="**/*.java"/>

                  </fileset>

              </copy>

              <copy includeemptydirs="false" todir="build/classes">

                  <fileset dir="src/main">

                      <exclude name="**/*.launch"/>

                      <exclude name="**/*.java"/>

                  </fileset>

              </copy>

          </target>

          <target name="clean">

              <delete dir="WebContent/WEB-INF/dev"/>

              <delete dir="build/classes"/>

          </target>

          <target depends="clean" name="cleanall"/>

          <target depends="build-subprojects,build-project" name="build"/>

          <target name="build-subprojects"/>

          <target depends="init" name="build-project">

              <echo message="${ant.project.name}: ${ant.file}"/>

              <javac debug="true" debuglevel="${debuglevel}" destdir="WebContent/WEB-INF/dev" source="${source}" target="${target}">

                  <src path="src/hot"/>

                  <classpath refid="RegistrationSeam.classpath"/>

              </javac>

              <javac debug="true" debuglevel="${debuglevel}" destdir="build/classes" source="${source}" target="${target}">

                  <src path="src/main"/>

                  <classpath refid="RegistrationSeam.classpath"/>

              </javac>

          </target>

          <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>

          <target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">

              <copy todir="${ant.library.dir}">

                  <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>

              </copy>

              <unzip dest="${ant.library.dir}">

                  <patternset includes="jdtCompilerAdapter.jar"/>

                  <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>

              </unzip>

          </target>

          <target description="compile project with Eclipse compiler" name="build-eclipse-compiler">

              <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>

              <antcall target="build"/>

          </target>

      </project>

       

       

      Registration class------