4 Replies Latest reply on Aug 4, 2011 7:46 AM by Carmen Teich

    Error to deploy sar-file of EAR

    Carmen Teich Newbie

      Hello, I have problems to deploy two sar-files of my ear-file. (Using JBoss 6Final)

       

      In both sar-files I have <depends>...</depends> in the jboss-service.xml I think that this is why the server coult not deploy, because an other sar-file without <depends> can deploy without error.

       

      Here are the both jboss-service.xml of the sar-files:

       

      SAR No. 1: AdminService:

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE server
          PUBLIC "-//JBoss//DTD MBean Service 5.0//EN"
          "http://www.jboss.org/j2ee/dtd/jboss-service_5_0.dtd">
          
      <server>
          <mbean code="de.xcom.edesk.jboss.AdminService" name="eDesk:service=Admin" xmbean-dd="">
              <xmbean>
                  <description>
                      This MBean lets a System Admin initialize the eDesk system.
                  </description>
                  <class>de.xcom.edesk.jboss.AdminService</class>
                  <constructor>
                      <description>The no-arg constructor</description>
                      <name>de.xcom.edesk.jboss.AdminService</name>
                  </constructor>
      
                  <attribute name="Version" access="read-only" getMethod="getVersion">
                      <description>Main-Version of XLINE-Server</description>
                      <name>Version</name>
                      <type>java.lang.String</type>
                  </attribute>
                  <attribute name="Build-Version" access="read-write" getMethod="getServerVersion" setMethod="setServerVersion">
                      <description>Build-Version of XLINE-Server. Don't change it in productive Environments!!</description>
                      <name>Build-Version</name>
                      <type>java.lang.String</type>
                  </attribute>
                  <attribute name="Encryption" access="read-only" getMethod="isEncryptionActivated">
                      <description>Encryption activated</description>
                      <name>Encryption activated</name>
                      <type>boolean</type>
                  </attribute>
                  <operation>
                      <description>Checks the connections to LDAP, DocArchiv and BankSystem.
                      </description>
                      <name>checkExternalConnections</name>
                      <return-type>java.lang.String</return-type>
                  </operation>
                  <operation>
                      <description>Tries to switch current LDAP server IP to the given value. 
                      If the server is not reachable, normal fail over is started to determine a running LDAP server.
                      </description>
                      <name>setCurrentLdapServer</name>
                      <parameter>
                          <description>The IP to set</description>
                          <name>IP</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <return-type>java.lang.String</return-type>
                  </operation>
                  <operation>
                      <description>Reads the configured workflow processes and redeploys them.
                      </description>
                      <name>redeployProcessDefinitions</name>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Initialize key store. Must be called on new systems to primary initialize the key store.
                      </description>
                      <name>initializeKeyStore</name>
                      <return-type>java.lang.String</return-type>
                  </operation>
                  <operation>
                      <description>Reloads security key.</description>
                      <name>loadSecurityKey</name>
                      <return-type>java.lang.String</return-type>
                  </operation>
                  <operation>
                      <description>Adds a new QueryFolder with a defined SQL Query
                      </description>
                      <name>addQueryFolder</name>
                      <parameter>
                          <description>The name of the folder(view)</description>
                          <name>folderName</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                          <description>A defined SQL query</description>
                          <name>sqlQuery</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Reads the LDAP DB and lists the users and groups.
                      This method can be used to debug problems on server installations.
                      </description>
                      <name>listLdapRecords</name>
                      <parameter>
                          <description>The IP address of the LDAP server</description>
                          <name>ldapIdAddress</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                          <description>The name of the LDAP field to be used as the user's unique, unchanging id.</description>
                          <name>uidFieldName</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <return-type>java.lang.String</return-type>
                  </operation>
                  <operation>
                      <description>Dumps the envelope as XML into a file on the server. 
                      </description>
                      <name>dumpXML</name>
                      <parameter>
                          <description>The id of the Envelope</description>
                          <name>envelopeId</name>
                          <type>java.lang.Long</type>
                      </parameter>
                      <parameter>
                          <description>The path of the file to write to</description>
                          <name>filepath</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <return-type>java.lang.String</return-type>
                  </operation>
                   <operation>
                      <description>Dumps the blob from a File Value into a file on the server. 
                      </description>
                      <name>dumpBlob</name>
                      <parameter>
                          <description>The id of the Attr_Value record</description>
                          <name>attrValueId</name>
                          <type>java.lang.Long</type>
                      </parameter>
                      <parameter>
                          <description>The directory to write to including the /</description>
                          <name>path</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <return-type>java.lang.String</return-type>
                  </operation>
                  <operation>
                      <description>Add a Role to a Group. The system will automatically create the Role or
                      the Group if they do not exist.
                      </description>
                      <name>addRoleGroup</name>
                      <parameter>
                          <description>The name of the Role</description>
                          <name>role</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                          <description>The name of the Group</description>
                          <name>group</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Initializes the DB, creating any needed Envelope Types and AttributeDefinitions.
                      </description>
                      <name>checkAndRepairDB</name>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Create an internal User.
                      </description>
                      <name>createInternalUser</name>
                      <parameter>
                          <description>The name of the User to register</description>
                          <name>username</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                          <description>The clear text password to setup</description>
                          <name>password</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                          <description>The name of the initial LdapGroup to set this user with</description>
                          <name>group</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Clears the JAAS authentication cache.
                      </description>
                      <name>clearJAASAuthenticationCache</name>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Resets the hash value of all BinaryContent records.
                      </description>
                      <name>resetHashValues</name>
                      <return-type>int</return-type>
                  </operation>
                  <operation>
                      <description>Reads the LDAP DB and updates the users and groups.
                      </description>
                      <name>readLdap</name>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>loads default user configuration</description>
                      <name>loadUserConfigDefaults</name>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Refresh redundant data in PROCESS table.
                      </description>
                      <name>refreshAllProcesses</name>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Adds a named surveillance handler to a folder.</description>
                      <name>addFolderSurveillanceEventHandler</name>
                      <parameter>
                          <description>The id of the folder to be surveilled</description>
                          <name>folderId</name>
                          <type>java.lang.Long</type>
                      </parameter>
                      <parameter>
                          <description>The name of the implementing event handler class</description>
                          <name>className</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Applies erms access rights to a specific folder.</description>
                      <name>setERMSFolderRights</name>
                      <parameter>
                          <description>The id of the folder to apply erms access rights</description>
                          <name>folderId</name>
                          <type>java.lang.Long</type>
                      </parameter>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Selects current version of all active documents and applies business rules</description>
                      <name>executeRulesForAllDocuments</name>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Selects current version of all active documents and applies a subset of business rools (test only)</description>
                      <name>executeRuletypesForAllDocuments</name>
                      <parameter>
                          <description>Regeltyp 1</description>
                          <name>ruletype1</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                          <description>Regeltyp 2</description>
                          <name>ruletype2</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                          <description>Regeltyp 3</description>
                          <name>ruletype3</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Regenerates all rule definitions (only needed for bug fixing troubleshooting)</description>
                      <name>regenerateRuleDefinitions</name>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Triggers refresh of the rule simulation cache. If a refresh is currently in progress, an exception
                      will be thrown. In that case, call cancelRefreshOfSimulationCache first.</description>
                      <name>triggerRefreshOfSimulationCache</name>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Cancels a currently running refresh operation of the rule simulation cache.</description>
                      <name>cancelRefreshOfSimulationCache</name>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Starts the service.</description>
                      <name>start</name>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Stops the service.</description>
                      <name>stop</name>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Creates the service.</description>
                      <name>create</name>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Destroys the service.</description>
                      <name>destroy</name>
                      <return-type>void</return-type>
                  </operation>
              </xmbean>
              <depends>jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=SecurityManagerImpl,service=EJB3</depends>  
              <depends>jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=ExternalUserManagerImpl,service=EJB3</depends>
              <depends>jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=UserConfigReaderImpl,service=EJB3</depends>
              <depends>jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=MessageManagerImpl,service=EJB3</depends>
              <depends>jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=ImportManagerEJB3Impl,service=EJB3</depends>
              <depends>jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=MandantManagerImpl,service=EJB3</depends>
              <depends>jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=EnvelopeManagerEJB,service=EJB3</depends>
              <depends>jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=ArchiveManagerImpl,service=EJB3</depends>
              <depends>jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=EncryptionProviderEJB,service=EJB3</depends>
              <depends>jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=RulesManagerImpl,service=EJB3</depends>
              <depends>jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=PolicyManagerEJB,service=EJB3</depends>
              <depends>jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=PolicyManagerImpl,service=EJB3</depends>
              <depends>jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=InternalSecurityManagerImpl,service=EJB3</depends>
              <depends>jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=ProcessManagerImpl,service=EJB3</depends>
              <depends>jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=JobEngine,service=EJB3</depends>    
          </mbean>
      </server>
      
      

       

      SAR No 2: JobEngineService

       

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE server
          PUBLIC "-//JBoss//DTD MBean Service 5.0//EN"
          "http://www.jboss.org/j2ee/dtd/jboss-service_5_0.dtd">
      
      <server>
          <mbean code="de.xcom.xline.jobengine.impl.JobEngineService" name="eDesk:service=JobEngine" xmbean-dd="">
              <xmbean>
                  <description>
                      This MBean lets a System Admin start and stop the job engine in the eDesk system.
                  </description>
                  <class>de.xcom.xline.jobengine.impl.JobEngineService</class>
                  <constructor>
                      <description>The no-arg constructor</description>
                      <name>de.xcom.xline.jobengine.impl.JobEngineService</name>
                  </constructor>
      
                  <operation>
                      <description>Starts the Job and Process timers.
                      </description>
                      <name>startQueue</name>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Stops the Job and Process timers.
                      </description>
                      <name>stopQueue</name>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Creates a Job. This is mainly for testing.
                      </description>
                      <name>createJob</name>
                      <parameter>
                          <description>Extra information for the job. Normally an Envelope id.</description>
                          <name>jobParam</name>
                          <type>long</type>
                      </parameter>
                      <parameter>
                          <description>The type of the jobParam. Should be "E" if it is an EnvelopeId.</description>
                          <name>paramType</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                          <description>The type of process.</description>
                          <name>processType</name>
                          <type>int</type>
                      </parameter>
                      <parameter>
                          <description>The priority of the job.</description>
                          <name>priority</name>
                          <type>int</type>
                      </parameter>
                      <parameter>
                          <description>Flag to notify ??? when the process has finished running.</description>
                          <name>notifyWhenFinished</name>
                          <type>boolean</type>
                      </parameter>
                      <parameter>
                          <description>Additional job parameters..</description>
                          <name>params</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Get statistics about jobs (.. in states FEHLER, TIMEOUT, PAUSED).
                      </description>
                      <name>getJobStatistics</name>
                      <return-type>java.lang.String</return-type>
                  </operation>
                  <operation>
                      <description>List all resource descriptions.
                      </description>
                      <name>listResourceDescriptions</name>
                      <return-type>java.lang.String</return-type>
                  </operation>
                  <operation>
                      <description>List all task descriptions.
                      </description>
                      <name>listTaskDescriptions</name>
                      <return-type>java.lang.String</return-type>
                  </operation>
                  <operation>
                      <description>List all parameter types.
                      </description>
                      <name>listParameterTypes</name>
                      <return-type>java.lang.String</return-type>
                  </operation>
                  <operation>
                      <description>List all status types.
                      </description>
                      <name>listStatusTypes</name>
                      <return-type>java.lang.String</return-type>
                  </operation>
                  <operation>
                      <description>Query Jobs by parameters (all parameters are optional).
                      </description>
                      <name>listJobs</name>
                      <parameter>
                          <description>The maximum number of rows to list (empty: all, limited to 100 if all conditions are empty).</description>
                          <name>maxRows</name>
                          <type>java.lang.Integer</type>
                      </parameter>
                      <parameter>
                          <description>The ID parameter for this job.</description>
                          <name>paramId</name>
                          <type>java.lang.Long</type>
                      </parameter>
                      <parameter>
                          <description>The type this ID belongs to (see listParameterTypes).</description>
                          <name>paramTypeId</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                          <description>Job states, comma separated (see listStatusTypes).</description>
                          <name>states</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                          <description>Job types, comma separated (see listTaskDescriptions).</description>
                          <name>jobTypes</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                          <description>Resource keys, comma separated (see listResourceDescriptions).</description>
                          <name>resourceKeys</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                          <description>The first creationDate (Format: dd.MM.yyyy HH:mm).</description>
                          <name>createdFrom</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                          <description>The last creationDate (Format: dd.MM.yyyy HH:mm).</description>
                          <name>createdTo</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <return-type>java.lang.String</return-type>
                  </operation>
                  <operation>
                      <description>Query job status by job ID.
                      </description>
                      <name>listJobStatus</name>
                      <parameter>
                          <description>The job ID.</description>
                          <name>jobId</name>
                          <type>java.lang.Long</type>
                      </parameter>
                      <return-type>java.lang.String</return-type>
                  </operation>
                  <operation>
                      <description>Restart, Pause, Continue an job.
                      </description>
                      <name>changeJobState</name>
                      <parameter>
                          <description>One of RESTART, PAUSE, CONTINUE.</description>
                          <name>action</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                          <description>The job ID.</description>
                          <name>jobId</name>
                          <type>java.lang.Long</type>
                      </parameter>
                      <parameter>
                          <description>Status message (tracking Text).</description>
                          <name>statusMessage</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                          <description>The new start date (Format: dd.MM.yyyy HH:mm).</description>
                          <name>startDate</name>
                          <type>java.lang.String</type>
                      </parameter>
                      <return-type>java.lang.String</return-type>
                  </operation>
                  <operation>
                      <description>Starts the service.</description>
                      <name>start</name>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Stops the service.</description>
                      <name>stop</name>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Creates the service.</description>
                      <name>create</name>
                      <return-type>void</return-type>
                  </operation>
                  <operation>
                      <description>Destroys the service.</description>
                      <name>destroy</name>
                      <return-type>void</return-type>
                  </operation>
              </xmbean>
              <depends>jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=JobEngine,service=EJB3</depends>
              <depends>jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=ExternalUserManagerImpl,service=EJB3</depends>
          </mbean>
      </server>
      
      

       

       

      The StackTrace is the following:

       

       

      14:38:52,086 ERROR [AbstractKernelController] Error installing to Start: name=eDesk:service=JobEngine state=Create mode=Manual requiredState=Installed: javax.ejb.EJBAccessException: Invalid User
          at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:161) [:1.7.17]
          at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
          at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41) [:1.7.17]
          at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
          at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67) [:1.7.17]
          at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
          at org.jboss.ejb3.core.context.CurrentInvocationContextInterceptor.invoke(CurrentInvocationContextInterceptor.java:47) [:1.7.17]
          at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
          at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67) [:1.0.1]
          at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
          at org.jboss.ejb3.interceptor.EJB3TCCLInterceptor.invoke(EJB3TCCLInterceptor.java:86) [:1.7.17]
          at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
          at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:323) [:1.7.17]
          at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:380) [:1.7.17]
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_25]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_25]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_25]
          at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_25]
          at org.jboss.ejb3.proxy.impl.handler.session.SessionLocalProxyInvocationHandler$LocalContainerInvocation.invokeTarget(SessionLocalProxyInvocationHandler.java:184) [:1.0.11]
          at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) [jboss-aop.jar:2.2.1.GA]
          at org.jboss.ejb3.async.impl.interceptor.AsynchronousClientInterceptor.invoke(AsynchronousClientInterceptor.java:143) [:1.7.17]
          at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
          at org.jboss.ejb3.proxy.impl.handler.session.SessionLocalProxyInvocationHandler$LocalInvokableContextHandler.invoke(SessionLocalProxyInvocationHandler.java:159) [:1.0.11]
          at $Proxy297.invoke(Unknown Source)    at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:185) [:1.0.11]
          at $Proxy296.restartActiveProcessesAtServerStart(Unknown Source)    at de.xcom.xline.jobengine.impl.JobEngineService.startService(JobEngineService.java:40)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:355) [:6.0.0.Final (Build SVNTag:JBoss_6.0.0.Final date: 20101228)]
          at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:248) [:6.0.0.Final (Build SVNTag:JBoss_6.0.0.Final date: 20101228)]
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_25]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_25]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_25]
          at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_25]
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [:6.0.0.GA]
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:6.0.0.GA]
          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138) [:6.0.0.GA]
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) [:6.0.0.GA]
          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140) [:6.0.0.GA]
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) [:6.0.0.GA]
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) [:6.0.0.GA]
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) [:6.0.0.GA]
          at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) [:2.2.0.GA]
          at $Proxy41.start(Unknown Source)    at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:53) [:2.2.0.GA]
          at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:41) [:2.2.0.GA]
          at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301) [:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182) [:2.2.0.GA]
          at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58) [:2.2.0.GA]
          at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) [:2.2.0.GA]
          at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.GA]
          at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]
          at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]
          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]
          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571) [:2.2.0.GA]
          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1603) [:2.2.0.GA]
          at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA]
          at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA]
          at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA]
          at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final]
          at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]
          at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]
          at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]
          at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]
          at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]
          at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]
          at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]
          at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]
          at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112) [:0.2.2]
          at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87) [:0.2.2]
          at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91) [:0.2.2]
          at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132) [:6.0.0.Final]
          at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]
          at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
          at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
          at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]
      
      
      DEPLOYMENTS IN ERROR:
        Deployment "eDesk:service=Admin" is in error due to the following reason(s): javax.ejb.EJBAccessException: Invalid User
        Deployment "eDesk:service=JobEngine" is in error due to the following reason(s): javax.ejb.EJBAccessException: Invalid User
      
          at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.GA]
          at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.GA]
          at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.Final]
          at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]
          at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.0.0.Final]
          at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]
          at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
          at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
          at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]
      

       

      the same error is for AdminService

       

      In jboss 4.2 the depends was the hole module, but I found an a forum, that I have to add the specific bean with name.

      But anything is wrong but I don't know..I'm searching at least some weeks.

       

      I need help soon as possible!!!!!!

        • 1. Re: Error to deploy sar-file of EAR
          Wolfgang Knauf Master

          Hi,

           

          when looking the the service interface, I get the impression that this is no service which has to be started on deploy, but on demand. So you might try to set the "mode" attribute in your mbean config (mode="On Demand"). Thus, the dependency to your EJB modules should be no problem.

           

          Do you see any console output on deployment about your dependencies being picked?

           

          Best regards

           

          Wolfgang

          • 2. Re: Error to deploy sar-file of EAR
            Carmen Teich Newbie

            Hello,

             

            I have found my mistake. The stacktrace also give me the error:

             

                 java.lang.IllegalStateException: getTimers() method invocation is not allowed during lifecycle callback of non-singleton EJBs

             

            so I changed my Stateless Beans which uses the getTimers() method in any way to a singleton bean.

             

            And so I don't have this error no longer and the two services AdminService and JobEngineService are listet in the jmx-console.

            But the bean, which are now singleton are not listet in the jmx-console like before.

             

            And now the stacktrace give Dependencies Errors. Because my two services are missing this depends on the singleton beans. (NOT FOUND)

            It couln't be found because they are not in the jmx-console.

             

             

            13:59:08,111 ERROR [ProfileServiceBootstrap] Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
            
            DEPLOYMENTS MISSING DEPENDENCIES:
              Deployment "eDesk:service=Admin" is missing the following dependencies:
                Dependency "jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=MessageManagerImpl,service=EJB3" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=MessageManagerImpl,service=EJB3' **")
                Dependency "jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=ExternalUserManagerImpl,service=EJB3" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=ExternalUserManagerImpl,service=EJB3' **")
              Deployment "eDesk:service=JobEngine" is missing the following dependencies:
                Dependency "jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=ExternalUserManagerImpl,service=EJB3" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=ExternalUserManagerImpl,service=EJB3' **")
              Deployment "jboss-switchboard:appName=edesk4postgres,module=beans,name=EnvelopeManagerEJB" is missing the following dependencies:
                Dependency "jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=ExternalUserManagerImpl,service=EJB3" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=ExternalUserManagerImpl,service=EJB3',whenRequired=MapControllerStateModel$ControllerStateWrapper@44337111{Installed},dependentState=MapControllerStateModel$ControllerStateWrapper@44337111{Installed} **")
                Dependency "jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=MessageManagerImpl,service=EJB3" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=MessageManagerImpl,service=EJB3',whenRequired=MapControllerStateModel$ControllerStateWrapper@44337111{Installed},dependentState=MapControllerStateModel$ControllerStateWrapper@44337111{Installed} **")
              Deployment "jboss-switchboard:appName=edesk4postgres,module=beans,name=SecurityManagerImpl" is missing the following dependencies:
                Dependency "jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=ExternalUserManagerImpl,service=EJB3" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=ExternalUserManagerImpl,service=EJB3',whenRequired=MapControllerStateModel$ControllerStateWrapper@44337111{Installed},dependentState=MapControllerStateModel$ControllerStateWrapper@44337111{Installed} **")
              Deployment "jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=ExternalUserManagerImpl,service=EJB3_endpoint" is missing the following dependencies:
                Dependency "jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=ExternalUserManagerImpl,service=EJB3" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=ExternalUserManagerImpl,service=EJB3' **")
              Deployment "jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=MessageManagerImpl,service=EJB3_endpoint" is missing the following dependencies:
                Dependency "jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=MessageManagerImpl,service=EJB3" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=MessageManagerImpl,service=EJB3' **")
            
            DEPLOYMENTS IN ERROR:
              Deployment "jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=ExternalUserManagerImpl,service=EJB3" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=ExternalUserManagerImpl,service=EJB3',whenRequired=MapControllerStateModel$ControllerStateWrapper@44337111{Installed},dependentState=MapControllerStateModel$ControllerStateWrapper@44337111{Installed} **, ** NOT FOUND Depends on 'jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=ExternalUserManagerImpl,service=EJB3' **
              Deployment "jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=MessageManagerImpl,service=EJB3" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=MessageManagerImpl,service=EJB3' **, ** NOT FOUND Depends on 'jboss.j2ee:ear=edesk4postgres.ear,jar=beans.jar,name=MessageManagerImpl,service=EJB3',whenRequired=MapControllerStateModel$ControllerStateWrapper@44337111{Installed},dependentState=MapControllerStateModel$ControllerStateWrapper@44337111{Installed} **
            
                at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.GA]
                at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.GA]
                at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.Final]
                at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]
                at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.0.0.Final]
                at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]
                at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
                at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
                at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]
            
            ..... 
            
            13:59:08,971 INFO  [de.xcom.edesk.jboss.EdeskLdapLoginModule] initialize edesk-login
            13:59:08,972 ERROR [de.xcom.edesk.jboss.EdeskLdapLoginModule] Catch Throwable: Can't set LDAP Connections on ExternalUserManager: javax.naming.NameNotFoundException: LocalExternalUserManagerImpl not bound
                at org.jnp.server.NamingServer.getBinding(NamingServer.java:771) [:5.0.5.Final]
                at org.jnp.server.NamingServer.getBinding(NamingServer.java:779) [:5.0.5.Final]
                at org.jnp.server.NamingServer.getObject(NamingServer.java:785) [:5.0.5.Final]
                at org.jnp.server.NamingServer.lookup(NamingServer.java:443) [:5.0.5.Final]
                at org.jnp.server.NamingServer.lookup(NamingServer.java:399) [:5.0.5.Final]
                at org.jnp.server.NamingServer.lookup(NamingServer.java:399) [:5.0.5.Final]
                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:728) [:5.0.5.Final]
                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:688) [:5.0.5.Final]
                at javax.naming.InitialContext.lookup(InitialContext.java:392) [:1.6.0_25]
                at de.xcom.edesk.server.BeanUtil.getRemote(BeanUtil.java:31) [:2.0]
                at de.xcom.edesk.server.ExternalUserManagerUtil.getRemote(ExternalUserManagerUtil.java:47) [:2.0]
                at de.xcom.edesk.jboss.EdeskLdapLoginModule.getUserManager(EdeskLdapLoginModule.java:157) [:2.0]
                at de.xcom.edesk.jboss.EdeskLdapLoginModule.initialize(EdeskLdapLoginModule.java:71) [:2.0]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_25]
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_25]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_25]
                at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_25]
                at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756) [:1.6.0_25]
                at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) [:1.6.0_25]
                at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683) [:1.6.0_25]
                at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_25]
                at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) [:1.6.0_25]
                at javax.security.auth.login.LoginContext.login(LoginContext.java:579) [:1.6.0_25]
                at org.jboss.security.plugins.auth.JaasSecurityManagerBase.defaultLogin(JaasSecurityManagerBase.java:553) [:3.0.0.CR2]
                at org.jboss.security.plugins.auth.JaasSecurityManagerBase.authenticate(JaasSecurityManagerBase.java:487) [:3.0.0.CR2]
                at org.jboss.security.plugins.auth.JaasSecurityManagerBase.isValid(JaasSecurityManagerBase.java:365) [:3.0.0.CR2]
                at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:160) [:6.0.0.Final]
                at org.jboss.security.javaee.EJBAuthenticationHelper.isValid(EJBAuthenticationHelper.java:87) [:3.0.0.CR2]
                at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:160) [:1.7.17]
                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
                at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41) [:1.7.17]
                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
                at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67) [:1.7.17]
                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
                at org.jboss.ejb3.core.context.CurrentInvocationContextInterceptor.invoke(CurrentInvocationContextInterceptor.java:47) [:1.7.17]
                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
                at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67) [:1.0.1]
                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
                at org.jboss.ejb3.interceptor.EJB3TCCLInterceptor.invoke(EJB3TCCLInterceptor.java:86) [:1.7.17]
                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
                at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:323) [:1.7.17]
                at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:380) [:1.7.17]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_25]
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_25]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_25]
                at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_25]
                at org.jboss.ejb3.proxy.impl.handler.session.SessionLocalProxyInvocationHandler$LocalContainerInvocation.invokeTarget(SessionLocalProxyInvocationHandler.java:184) [:1.0.11]
                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) [jboss-aop.jar:2.2.1.GA]
                at org.jboss.ejb3.async.impl.interceptor.AsynchronousClientInterceptor.invoke(AsynchronousClientInterceptor.java:143) [:1.7.17]
                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
                at org.jboss.ejb3.proxy.impl.handler.session.SessionLocalProxyInvocationHandler$LocalInvokableContextHandler.invoke(SessionLocalProxyInvocationHandler.java:159) [:1.0.11]
                at $Proxy303.invoke(Unknown Source)    at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:185) [:1.0.11]
                at $Proxy225.findMostImportantProcess(Unknown Source)    at de.xcom.xline.jobengine.impl.ProcessTimer.timedOut(ProcessTimer.java:140) [:2.0]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_25]
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_25]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_25]
                at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_25]
                at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122) [jboss-aop.jar:2.2.1.GA]
                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) [jboss-aop.jar:2.2.1.GA]
                at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56) [:1.7.17]
                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
                at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) [:1.7.17]
                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
                at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) [:1.0.3]
                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
                at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68) [:1.7.17]
                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
                at org.jboss.ejb3.core.context.SessionInvocationContextAdapter.proceed(SessionInvocationContextAdapter.java:95) [:1.7.17]
                at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:234) [:0.0.1]
                at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.notSupported(CMTTxInterceptor.java:329) [:0.0.1]
                at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invoke(CMTTxInterceptor.java:207) [:0.0.1]
                at org.jboss.ejb3.tx2.aop.CMTTxInterceptorWrapper.invoke(CMTTxInterceptorWrapper.java:52) [:0.0.1]
                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
                at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) [:1.0.0.GA]
                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
                at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41) [:1.7.17]
                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
                at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67) [:1.7.17]
                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
                at org.jboss.ejb3.core.context.CurrentInvocationContextInterceptor.invoke(CurrentInvocationContextInterceptor.java:47) [:1.7.17]
                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
                at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67) [:1.0.1]
                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
                at org.jboss.ejb3.interceptor.EJB3TCCLInterceptor.invoke(EJB3TCCLInterceptor.java:86) [:1.7.17]
                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]
                at org.jboss.ejb3.stateless.StatelessContainer.callTimeout(StatelessContainer.java:691) [:1.7.17]
                at org.jboss.ejb3.stateless.StatelessContainer.callTimeout(StatelessContainer.java:229) [:1.7.17]
                at org.jboss.ejb3.timerservice.mk2.task.TimerTask.callTimeout(TimerTask.java:152) [:1.0.0-alpha-13]
                at org.jboss.ejb3.timerservice.mk2.task.TimerTask.run(TimerTask.java:127) [:1.0.0-alpha-13]
                at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [:1.6.0_25]
                at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [:1.6.0_25]
                at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [:1.6.0_25]
                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) [:1.6.0_25]
                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) [:1.6.0_25]
                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) [:1.6.0_25]
                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_25]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_25]
                at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]
            

             

             

             

             

            But I don't know what to do now.....????

            • 3. Re: Error to deploy sar-file of EAR
              Wolfgang Knauf Master

              Hi,

               

              so the problem is happening in "de.xcom.edesk.jboss.EdeskLdapLoginModule.initialize" - a new code snippet ;-).


              The problem sounds like a followup to an older post of you: http://community.jboss.org/thread/169798

              Could you resolve the problems of this post?

               

              How is this "EdeskLdapLoginModule" configured and where is it placed? Does it try to do an EJB lookup? Is "LocalExternalUserManagerImpl" an EJB? Did you declare dependencies on this EJB?

               

              Best regards

               

              Wolfgang

              • 4. Re: Error to deploy sar-file of EAR
                Carmen Teich Newbie

                hello,

                 

                I soved this problem now..it was something with my persitence.xml. I add the pojo-classes and remove at first all what have to do with my timers and change some other things.

                 

                Thanks for your help!!!!!!!!