7 Replies Latest reply on Dec 18, 2006 5:19 AM by Pete Muir

    problem to load classes

    Joan Xiong Newbie

      Hi,
      i got error message of problem when loading classes, as according to one of the discussion topics that, suggestion could be to add jboss-seam.jar file in ear file, well, i have the jboss-seam.jar file in the ear file alright, but jboss server still nagging about problem of loading classes.
      can anybody help please?
      thanks, Jovi

        • 1. Re: problem to load classes
          Norman Richards Master

          There is not enough information here to answer the question. Please see the Seam examples, which demonstrate proper packaging.

          • 2. Re: problem to load classes
            Joan Xiong Newbie

            sorry, but here it comes more information:
            1) i used seam-gen to create a new project, created:
            User.java
            UserLogin.java
            UserLoginAction.java
            login.xhtml
            when deploy this first part of application, there is no problem to load the classes, everything is ok. BUT when added:
            Log.java
            LogRegister.java
            LogRegisterAction.java
            logRegistration.xhtml
            then the error message is (one of the big ones at least) problem to load classes!!

            2)the other disturbing one is
            ERROR [STDERR] 2006-dec-14 16:08:46 com.sun.facelets.compiler.TagLibraryConfig loadImplicit

            • 3. Re: problem to load classes
              Gavin King Master

              That is not an error message. What is the stack trace?

              Did you restart the deployment?

              2)the other disturbing one is
              ERROR [STDERR] 2006-dec-14 16:08:46 com.sun.facelets.compiler.TagLibraryConfig loadImplicit


              You can ignore that one.

              • 4. Re: problem to load classes
                Joan Xiong Newbie

                yes, i restarted the deployment. in my application the use cases should be (to start with)
                1) user login
                2) register new logs
                the user login case seam to be fine,
                but the register log part are not working!! for one that the new log table are not created, and input text fields do not work. i can see the 'name' of each input field, BUT you can enter anything there, basically you got list of input fields titiles
                please give me a hint: many thanks in advance!!!"
                here are some codes
                __________
                log.java

                package com.omxgroup.oith;
                import java.io.Serializable;
                import javax.persistence.GeneratedValue;
                import javax.persistence.Entity;
                import javax.persistence.Id;
                import javax.persistence.Table;
                import org.hibernate.validator.Length;
                import org.hibernate.validator.NotNull;
                import org.jboss.seam.annotations.Name;

                @Entity
                @Name("omxlog")
                @Table(name="OMXLogs")
                public class OMXLog implements Serializable
                {
                private Long id;
                private String logName;
                private String customerName;
                private String errorType;
                private String causingReason;
                private String involvementInformation;
                private String afflictedParts;
                private String estimatedCost;
                private String logDescription;

                private static final long serialVersionUID = 1881413500711441955L;

                public OMXLog(String logName, String customerName, String errorType, String causingReason,
                String involvementInformation, String afflictedParts, String estimatedCost, String logDescription)
                {
                this.logName = logName;
                this.customerName = customerName;
                this.errorType = errorType;
                this.causingReason = causingReason;
                this.involvementInformation = involvementInformation;
                this.afflictedParts = afflictedParts;
                this.estimatedCost = estimatedCost;
                }

                public OMXLog() {}

                @Id @GeneratedValue
                public Long getId()
                {
                return id;
                }
                public void setId(Long id)
                {
                this.id = id;
                }

                @Id @NotNull @Length(min=5, max=15)
                public String getLogName()
                {
                return logName;
                }
                public void setLogName(String logName)
                {
                this.logName = logName;
                }

                @Length(max=100) @NotNull
                public String getCustomerName()
                {
                return customerName;
                }
                public void setCustomerName(String customerName)
                {
                this.customerName = customerName;
                }

                @Length(max=100) @NotNull
                public String getErrorType()
                {
                return errorType;
                }
                public void setErrorType(String errorType)
                {
                this.errorType = errorType;
                }

                @Length(max=1000) @NotNull
                public String getCausingReason()
                {
                return causingReason;
                }
                public void setCausingReason(String causingReason)
                {
                this.causingReason= causingReason;
                }

                @Length(max=1000) @NotNull
                public String getInvolvementInformation()
                {
                return involvementInformation;
                }
                public void setInvolvementInformation(String involvementInformation)
                {
                this.involvementInformation = involvementInformation;
                }

                @Length(max=100) @NotNull
                public String getAfflictedParts()
                {
                return afflictedParts;
                }

                public void setAfflictedParts(String afflictedParts)
                {
                this.afflictedParts = afflictedParts;
                }

                @Length(max=100) @NotNull
                public String getEstimatedCost()
                {
                return estimatedCost;
                }

                public void setEstimatedCost(String estimatedCost)
                {
                this.estimatedCost = estimatedCost;
                }

                @Length(max=2000) @NotNull
                public String getLogDescription()
                {
                return logDescription;
                }

                public void setLogDescription(String logDescription)
                {
                this.logDescription = logDescription;
                }

                }
                ---------------
                LogRegister.java
                package com.omxgroup.oith;

                import javax.ejb.Local;

                @Local
                public interface LogRegister
                {
                public String logregister();
                }
                -----------
                LogRegisterAction.java
                //Author JOXI
                //OMX Developer
                //Date: 2006-12-06
                package com.omxgroup.oith;

                import java.util.List;

                import javax.ejb.Stateless;
                import javax.persistence.EntityManager;
                import javax.persistence.PersistenceContext;
                import javax.ejb.*;
                import org.jboss.seam.annotations.In;
                import org.jboss.seam.annotations.Name;
                import org.jboss.seam.core.FacesMessages;


                @Stateless
                @Name("logregister")
                public class LogRegisterAction implements LogRegister
                {

                @In
                private OMXLog omxlog;

                @PersistenceContext
                private EntityManager em;

                @In(create=true)
                private transient FacesMessages facesMessages;

                public String logregister()
                {
                List existing = em.createQuery("select logName from OMXLog where logName=:logName")
                .setParameter("logName", omxlog.getLogName())
                .getResultList();
                if (existing.size()==0)
                {
                em.persist(omxlog);
                facesMessages.add("Add new log: #{omxlog.logName} to OMX Log clearing database");
                //log.info("Registered new user #{user.username}");
                return "/logregister.xhtml";
                }
                else
                {
                FacesMessages.instance().add(" this log: #{omxlog.logName} already exists in the database, create a new one or edit it later");
                return null;
                }
                }

                }
                --------------
                registerLog.xhtml
                <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
                <ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:s="http://jboss.com/products/seam/taglib"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                template="layout/template.xhtml">

                <ui:define name="body">
                <h:form>
                <h:messages globalOnly="true" styleClass="message"/>


                <h1>Register a new log</h1>

                <s:validateAll>

                Log Name
                <h:inputText value="#{omxlog.logName}" required="true"/>


                <h:outputLabel for="customerName">customer Name:</h:outputLabel>

                <h:inputText id="customerName" value="#{omxlog.customerName}" required="true"/>
                <h:message for="customerName"/>



                <h:outputLabel for="causingReason">Causing Reason:</h:outputLabel>

                <h:inputText id="causingReason" value="#{omxlog.causingReason}" required="true"/>
                <h:message for="causingReason" />



                <h:outputLabel for="involvementInformation">involvement information:</h:outputLabel>

                <h:inputText id="involvementInformation" value="#{omxlog.involvementInformation}" required="true"/>
                <h:message for="causingReason" />



                <h:outputLabel for="causingReason">Estimated Cost:</h:outputLabel>

                <h:inputText id="estimatedCost" value="#{omxlog.estimatedCost}" required="true"/>
                <h:message for="estimatedCost" />



                <h:outputLabel for="afflictedParts">Afflicted Parts:</h:outputLabel>

                <h:inputText id="afflictedParts" value="#{omxlog.afflictedParts}" required="true"/>
                <h:message for="afflictedParts" />



                <h:outputLabel for="logDescription">Log Description:</h:outputLabel>

                <h:inputText id="logDescription" value="#{omxlog.logDescription}" required="true"/>
                <h:message for="logDescription" />


                </s:validateAll>

                <h:messages globalOnly="true" />

                &#160;

                <h:commandButton value="Register New Log" action="#{logregister.logregister}" class="button"/>&#160;
                <s:link value="Cancel" action="logRegister" linkStyle="button" buttonClass="button"/>










                </h:form>
                </ui:define>
                </ui:composition>


                • 5. Re: problem to load classes
                  Joan Xiong Newbie

                  you can NOT enter anything in the input text fields, that is the prlblem with the logRegister.xhtml
                  part of the log file:
                  adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.omxgroup.oith.LogRegisterAction org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@1c39412
                  2006-12-15 10:44:56,906 DEBUG [org.jboss.ejb3.Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.omxgroup.oith.LogRegisterAction org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@1c39412
                  2006-12-15 10:44:56,921 DEBUG [org.jboss.ejb3.Ejb3AnnotationHandler] found EJB3: ejbName=LogRegisterAction, class=com.omxgroup.oith.LogRegisterAction, type=STATELESS
                  2006-12-15 10:44:56,921 DEBUG [org.jboss.ejb3.ProxyDeployer] no declared remote bindings for : LogRegisterAction
                  2006-12-15 10:44:56,968 DEBUG [org.jboss.ejb3.Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.omxgroup.oith.RegisterAction org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@1d7d58f
                  2006-12-15 10:44:56,968 DEBUG [org.jboss.ejb3.Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.omxgroup.oith.RegisterAction org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@1d7d58f
                  2006-12-15 10:44:56,968 DEBUG [org.jboss.ejb3.Ejb3AnnotationHandler] found EJB3: ejbName=RegisterAction, class=com.omxgroup.oith.RegisterAction, type=STATELESS
                  2006-12-15 10:44:56,968 DEBUG [org.jboss.ejb3.ProxyDeployer] no declared remote bindings for : RegisterAction
                  2006-12-15 10:44:57,000 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1dd8664, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@bf9a12{ url=null ,addedOrder=0}
                  2006-12-15 10:44:57,000 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1dd8664, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@11c248a{ url=null ,addedOrder=0}
                  2006-12-15 10:44:57,000 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1dd8664, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@a2e19e{ url=null ,addedOrder=0}
                  2006-12-15 10:44:57,000 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1dd8664, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@18a62f6{ url=null ,addedOrder=0}
                  2006-12-15 10:44:57,000 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1dd8664, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@6742d0{ url=null ,addedOrder=0}
                  2006-12-15 10:44:57,000 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1dd8664, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@1539d49{ url=null ,addedOrder=0}
                  2006-12-15 10:44:57,015 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1dd8664, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@2db73e{ url=null ,addedOrder=0}
                  2006-12-15 10:44:57,062 INFO [org.jboss.ejb3.Ejb3Deployment] EJB3 deployment time took: 2375
                  2006-12-15 10:44:57,062 DEBUG [org.jboss.ejb3.Ejb3Module] Created jboss.j2ee:service=EJB3,module=notesproject.jar
                  2006-12-15 10:44:57,062 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:service=EJB3,module=notesproject.jar dependents are: []
                  2006-12-15 10:44:57,062 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying notesproject.jar
                  2006-12-15 10:44:57,062 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/C:/Program4/jboss-4.0.5.GA/server/default/deploy/notesproject.ear/notesproject.war/
                  2006-12-15 10:44:57,062 DEBUG [org.jboss.ws.integration.jboss.DeployerInterceptorJSE] create: file:/C:/Program4/jboss-4.0.5.GA/server/default/deploy/notesproject.ear/notesproject.war/
                  2006-12-15 10:44:57,062 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] create, notesproject.war
                  2006-12-15 10:44:57,062 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1dd8664, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@72edc{ url=null ,addedOrder=0}
                  2006-12-15 10:44:57,078 DEBUG [org.jboss.system.ServiceController] Creating service jboss.web.deployment:war=notesproject.war,id=820755055
                  2006-12-15 10:44:57,078 DEBUG [org.jboss.system.ServiceController] adding depends in ServiceController.register: []
                  2006-12-15 10:44:57,078 DEBUG [org.jboss.web.WebModule] Creating jboss.web.deployment:war=notesproject.war,id=820755055
                  2006-12-15 10:44:57,078 DEBUG [org.jboss.web.WebModule] Created jboss.web.deployment:war=notesproject.war,id=820755055
                  2006-12-15 10:44:57,078 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.web.deployment:war=notesproject.war,id=820755055 dependents are: []
                  2006-12-15 10:44:57,078 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying notesproject.war
                  2006-12-15 10:44:57,078 DEBUG [org.jboss.system.ServiceController] Creating service jboss.j2ee:service=EARDeployment,url='notesproject.ear'
                  2006-12-15 10:44:57,078 DEBUG [org.jboss.deployment.EARDeployment] Creating jboss.j2ee:service=EARDeployment,url='notesproject.ear'
                  2006-12-15 10:44:57,078 DEBUG [org.jboss.deployment.EARDeployment] Created jboss.j2ee:service=EARDeployment,url='notesproject.ear'
                  2006-12-15 10:44:57,078 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:service=EARDeployment,url='notesproject.ear' dependents are: []
                  2006-12-15 10:44:57,078 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying notesproject.ear
                  2006-12-15 10:44:57,078 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/C:/Program4/jboss-4.0.5.GA/server/default/deploy/notesproject.ear/
                  2006-12-15 10:44:57,078 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/C:/Program4/jboss-4.0.5.GA/server/default/deploy/notesproject.ear/jboss-seam.jar
                  2006-12-15 10:44:57,078 DEBUG [org.jboss.ws.integration.jboss.DeployerInterceptorEJB3] start: file:/C:/Program4/jboss-4.0.5.GA/server/default/deploy/notesproject.ear/jboss-seam.jar
                  2006-12-15 10:44:57,078 DEBUG [org.jboss.ejb3.EJB3Deployer] start application, deploymentInfo: org.jboss.deployment.DeploymentInfo@2ba95185 { url=file:/C:/Program4/jboss-4.0.5.GA/server/default/deploy/notesproject.ear/jboss-seam.jar }
                  deployer: MBeanProxyExt[jboss.ejb3:service=EJB3Deployer]
                  status: Starting
                  state: START_DEPLOYER
                  watch: file:/C:/Program4/jboss-4.0.5.GA/server/default/deploy/notesproject.ear/jboss-seam.jar
                  altDD: null
                  lastDeployed: 1166175891671
                  lastModified: 1166175891218
                  mbeans:
                  , short name: jboss-seam.jar, parent short name: notesproject.ear
                  2006-12-15 10:44:57,078 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:service=EJB3,module=jboss-seam.jar
                  2006-12-15 10:44:57,078 DEBUG [org.jboss.ejb3.Ejb3Module] Starting jboss.j2ee:service=EJB3,module=jboss-seam.jar
                  2006-12-15 10:44:57,156 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1dd8664, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@4ba4d6{ url=null ,addedOrder=0}
                  2006-12-15 10:44:57,171 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1dd8664, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@32fb80{ url=null ,addedOrder=0}
                  2006-12-15 10:44:57,171 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1dd8664, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@11daf60{ url=null ,addedOrder=0}
                  2006-12-15 10:44:57,171 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1dd8664, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@1e4e3e4{ url=null ,addedOrder=0}
                  2006-12-15 10:44:57,187 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1dd8664, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@1882ea9{ url=null ,addedOrder=0}
                  2006-12-15 10:44:57,187 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1dd8664, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@12438f1{ url=null ,addedOrder=0}
                  2006-12-15 10:44:57,187 DEBUG [org.jboss.ejb3.EJBContainer] Initialising interceptors for Dispatcher...
                  2006-12-15 10:44:57,187 DEBUG [org.jboss.ejb3.EJBContainer] Default interceptors: null
                  2006-12-15 10:44:57,203 DEBUG [org.jboss.ejb3.EJBContainer] Class interceptors: [InterceptorInfo{class=class org.jboss.seam.ejb.SeamInterceptor}]
                  2006-12-15 10:44:57,203 DEBUG [org.jboss.ejb3.EJBContainer] All applicable interceptor classes: [InterceptorInfo{class=class org.jboss.seam.ejb.SeamInterceptor}]
                  2006-12-15 10:44:57,203 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1dd8664, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@1b4d679{ url=null ,addedOrder=0}
                  2006-12-15 10:44:57,203 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1dd8664, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@16ca3d5{ url=null ,addedOrder=0}
                  2006-12-15 10:44:57,203 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1dd8664, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@1af0af7{ url=null ,addedOrder=0}
                  2006-12-15 10:44:57,203 DEBUG [org.jboss.ejb3.JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
                  2006-12-15 10:44:57,218 INFO [org.jboss.ejb3.JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=notesproject.ear,jar=jboss-seam.jar,name=Dispatcher,service=EJB3 with dependencies:
                  2006-12-15 10:44:57,218 DEBUG [org.jboss.system.ServiceController] Creating service jboss.j2ee:ear=notesproject.ear,jar=jboss-seam.jar,name=Dispatcher,service=EJB3
                  2006-12-15 10:44:57,218 DEBUG [org.jboss.system.ServiceController] adding depends in ServiceController.register: []
                  2006-12-15 10:44:57,218 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Creating jboss.j2ee:ear=notesproject.ear,jar=jboss-seam.jar,name=Dispatcher,service=EJB3
                  2006-12-15 10:44:57,218 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Created jboss.j2ee:ear=notesproject.ear,jar=jboss-seam.jar,name=Dispatcher,service=EJB3
                  2006-12-15 10:44:57,218 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:ear=notesproject.ear,jar=jboss-seam.jar,name=Dispatcher,service=EJB3 dependents are: []
                  -------
                  some more:
                  nstalling MBean: jboss.j2ee:ear=notesproject.ear,jar=notesproject.jar,name=LogRegisterAction,service=EJB3 with dependencies:
                  2006-12-15 10:45:02,140 INFO [org.jboss.ejb3.JmxKernelAbstraction] persistence.units:ear=notesproject.ear,jar=notesproject.jar,unitName=notesproject
                  2006-12-15 10:45:02,140 DEBUG [org.jboss.system.ServiceController] Creating service jboss.j2ee:ear=notesproject.ear,jar=notesproject.jar,name=LogRegisterAction,service=EJB3
                  2006-12-15 10:45:02,140 DEBUG [org.jboss.system.ServiceController] adding depends in ServiceController.register: [persistence.units:ear=notesproject.ear,jar=notesproject.jar,unitName=notesproject]
                  2006-12-15 10:45:02,140 DEBUG [org.jboss.system.ServiceController] recording that jboss.j2ee:ear=notesproject.ear,jar=notesproject.jar,name=LogRegisterAction,service=EJB3 depends on persistence.units:ear=notesproject.ear,jar=notesproject.jar,unitName=notesproject
                  2006-12-15 10:45:02,140 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Creating jboss.j2ee:ear=notesproject.ear,jar=notesproject.jar,name=LogRegisterAction,service=EJB3
                  2006-12-15 10:45:02,140 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Created jboss.j2ee:ear=notesproject.ear,jar=notesproject.jar,name=LogRegisterAction,service=EJB3
                  2006-12-15 10:45:02,140 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:ear=notesproject.ear,jar=notesproject.jar,name=LogRegisterAction,service=EJB3 dependents are: []
                  2006-12-15 10:45:02,140 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:ear=notesproject.ear,jar=notesproject.jar,name=LogRegisterAction,service=EJB3
                  2006-12-15 10:45:02,140 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Starting jboss.j2ee:ear=notesproject.ear,jar=notesproject.jar,name=LogRegisterAction,service=EJB3
                  2006-12-15 10:45:02,140 DEBUG [org.jboss.ejb3.interceptor.EJB3InterceptorsFactory] Bound interceptors for joinpoint: public java.lang.String com.omxgroup.oith.LogRegisterAction.logregister() - [Lorg.jboss.ejb3.interceptor.InterceptorInfo;@79edfe
                  2006-12-15 10:45:02,156 DEBUG [org.jboss.ejb3.tx.UserTransactionImpl] new UserTx: org.jboss.ejb3.tx.UserTransactionImpl@f7ce53
                  2006-12-15 10:45:02,156 DEBUG [org.jboss.ejb3.interceptor.EJB3InterceptorsFactory] Bound interceptors for joinpoint: public java.lang.String com.omxgroup.oith.LogRegisterAction.logregister() - [Lorg.jboss.ejb3.interceptor.InterceptorInfo;@168be1b
                  -------------
                  yad yad yad, some more:
                  -----------
                  ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages
                  2006-12-15 10:45:01,625 INFO [org.hibernate.tool.hbm2ddl.DatabaseMetadata] table not found: OMXLogs
                  2006-12-15 10:45:01,625 INFO [org.hibernate.tool.hbm2ddl.DatabaseMetadata] table not found: users
                  2006-12-15 10:45:01,625 INFO [org.hibernate.tool.hbm2ddl.DatabaseMetadata] table not found: OMXLogs
                  2006-12-15 10:45:01,625 INFO [org.hibernate.tool.hbm2ddl.DatabaseMetadata] table not found: users
                  2006-12-15 10:45:01,625 DEBUG [org.hibernate.tool.hbm2ddl.SchemaUpdate] create table OMXLogs (logName varchar(255) not null, id bigint generated by default as identity (start with 1), errorType varchar(100) not null, customerName varchar(100) not null, causingReason varchar(1000) not null, involvementInformation varchar(1000) not null, afflictedParts varchar(100) not null, estimatedCost varchar(100) not null, logDescription varchar(2000) not null, primary key (id))
                  2006-12-15 10:45:01,625 DEBUG [org.hibernate.tool.hbm2ddl.SchemaUpdate] create table users (username varchar(15) not null, name varchar(255) not null, password varchar(15) not null, primary key (username))

                  • 6. Re: problem to load classes
                    Joan Xiong Newbie

                    could any seam expert help bit on this problem? thanks in advance

                    • 7. Re: problem to load classes
                      Pete Muir Master

                      It's very unclear what your problem is. I suggest you explain it from the beginning. You'll need to post any stack trace you get, your JSF page and the backing bean for starters. Please use the [ code ] tags.