Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 13th, 2012  |  syntax: None  |  size: 7.29 KB  |  hits: 31  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Error while deploying MDB
  2. 13:41:35,879 ERROR [ProfileServiceBootstrap] Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  3.  
  4. DEPLOYMENTS MISSING DEPENDENCIES:
  5.   Deployment "MK2TimerServiceFactory" is missing the following dependencies:
  6.     Dependency "persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb" (should be in state "Installed", but is actually in state "**ERROR**")
  7.   Deployment "jboss.j2ee:jar=MessageBean.jar,name=MessageBean,service=EJB3" is missing the following dependencies:
  8.     Dependency "interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory" (should be in state "Installed", but is actually in state "Instantiated")
  9.  
  10. DEPLOYMENTS IN ERROR:
  11.   Deployment "persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb" is in error due to the following reason(s): **ERROR**, java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) previously initiated loading for a different type with name "org/hibernate/cfg/Settings"
  12.   Deployment "interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory" is in error due to the following reason(s): Instantiated
  13.  
  14. at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.GA]
  15. at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.GA]
  16. at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.Final]
  17. at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]
  18. at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.0.0.Final]
  19. at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]
  20. at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
  21. at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
  22. at java.lang.Thread.run(Thread.java:679) [:1.6.0_22]
  23.        
  24. <dependencies>
  25.     <dependency>
  26.         <groupId>log4j</groupId>
  27.         <artifactId>log4j</artifactId>
  28.         <version>1.2.12</version>
  29.     </dependency>
  30.      <dependency>
  31.         <groupId>org.jboss.ejb3</groupId>
  32.         <artifactId>jboss-ejb3-timerservice-spi</artifactId>
  33.         <version>1.0.4</version>
  34.     </dependency>
  35.  
  36.     <dependency>
  37.         <groupId>org.hibernate</groupId>
  38.         <artifactId>hibernate</artifactId>
  39.         <version>3.0</version>
  40.         <type>jar</type>
  41.         <scope>compile</scope>
  42.     </dependency>
  43.     <dependency>
  44.         <groupId>org.jboss.ejb3</groupId>
  45.         <artifactId>jboss-ejb3-ext-api</artifactId>
  46.         <version>1.0.0</version>
  47.     </dependency>
  48.     <dependency>
  49.         <groupId>org.slf4j</groupId>
  50.         <artifactId>jcl-over-slf4j</artifactId>
  51.         <version>1.5.6</version>
  52.         <scope>test</scope>
  53.     </dependency>
  54.     <dependency>
  55.         <groupId>org.slf4j</groupId>
  56.         <artifactId>slf4j-api</artifactId>
  57.         <version>1.5.6</version>
  58.         <scope>test</scope>
  59.     </dependency>
  60.     <dependency>
  61.         <groupId>javax</groupId>
  62.  
  63.         <artifactId>javaee-api</artifactId>
  64.  
  65.         <version>6.0</version>
  66.  
  67.         <type>jar</type>
  68.  
  69.         <scope>provided</scope>
  70.  
  71.     </dependency>
  72.  
  73.  
  74.     <dependency>
  75.         <groupId>javax</groupId>
  76.         <artifactId>javaee-api</artifactId>
  77.         <version>6.0</version>
  78.         <scope>provided</scope>
  79.     </dependency>
  80.     <dependency>
  81.         <groupId>junit</groupId>
  82.         <artifactId>junit</artifactId>
  83.         <version>3.8.2</version>
  84.         <scope>test</scope>
  85.     </dependency>
  86.  
  87. </dependencies>
  88.  
  89. <repositories>
  90.     <repository>
  91.         <id>java.net2</id>
  92.         <name>Java.Net Maven2 Repository, hosts the javaee-api dependency</name>
  93.         <url>http://download.java.net/maven/2</url>
  94.     </repository>
  95.     <repository>
  96.         <id>jboss-public-repository-group</id>
  97.         <name>JBoss Public Maven Repository Group</name>
  98.         <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
  99.         <layout>default</layout>
  100.         <releases>
  101.             <enabled>true</enabled>
  102.             <updatePolicy>never</updatePolicy>
  103.         </releases>
  104.         <snapshots>
  105.             <enabled>true</enabled>
  106.             <updatePolicy>never</updatePolicy>
  107.         </snapshots>
  108.     </repository>
  109.     <repository>
  110.         <id>jboss</id>
  111.         <url>http://repository.jboss.com/maven2</url>
  112.         <releases>
  113.             <enabled>true</enabled>
  114.         </releases>
  115.         <snapshots>
  116.             <enabled>false</enabled>
  117.         </snapshots>
  118.     </repository>
  119.     <repository>
  120.         <id>jboss-snapshot</id>
  121.         <url>http://snapshots.jboss.org/maven2</url>
  122.         <releases>
  123.             <enabled>true</enabled>
  124.         </releases>
  125.         <snapshots>
  126.             <enabled>true</enabled>
  127.         </snapshots>
  128.     </repository>
  129.  
  130. </repositories>
  131.  
  132. <build>
  133.     <plugins>
  134.         <plugin>
  135.             <groupId>org.apache.maven.plugins</groupId>
  136.             <artifactId>maven-compiler-plugin</artifactId>
  137.             <version>2.0.2</version>
  138.             <configuration>
  139.                 <source>1.6</source>
  140.                 <target>1.6</target>
  141.             </configuration>
  142.         </plugin>
  143.         <plugin>
  144.             <groupId>org.apache.maven.plugins</groupId>
  145.             <artifactId>maven-ejb-plugin</artifactId>
  146.             <version>2.1</version>
  147.             <configuration>
  148.                 <ejbVersion>3.1</ejbVersion>
  149.             </configuration>
  150.         </plugin>
  151.  
  152.  
  153.         <plugin>
  154.             <groupId>org.apache.maven.plugins</groupId>
  155.             <artifactId>maven-compiler-plugin</artifactId>
  156.             <version>2.3.2</version>
  157.             <configuration>
  158.                 <source>1.6</source>
  159.                 <target>1.6</target>
  160.             </configuration>
  161.         </plugin>
  162.         <plugin>
  163.             <artifactId>maven-compiler-plugin</artifactId>
  164.             <configuration>
  165.                 <source>1.5</source>
  166.                 <target>1.5</target>
  167.             </configuration>
  168.         </plugin>
  169.         <plugin>
  170.             <artifactId>maven-war-plugin</artifactId>
  171.             <version>2.0</version>
  172.         </plugin>
  173.  
  174.     </plugins>
  175.     <finalName>MessageBean</finalName>
  176. </build>
  177. <profiles>
  178.     <profile>
  179.         <id>endorsed</id>
  180.         <activation>
  181.             <property>
  182.                 <name>sun.boot.class.path</name>
  183.             </property>
  184.         </activation>
  185.         <build>
  186.             <plugins>
  187.                 <plugin>
  188.                     <groupId>org.apache.maven.plugins</groupId>
  189.                     <artifactId>maven-compiler-plugin</artifactId>
  190.                     <version>2.0.2</version>
  191.                     <dependencies>
  192.                         <dependency>
  193.                             <groupId>javax</groupId>
  194.                             <artifactId>javaee-endorsed-api</artifactId>
  195.                             <version>6.0</version>
  196.                         </dependency>
  197.                     </dependencies>
  198.                 </plugin>
  199.             </plugins>
  200.         </build>
  201.     </profile>  
  202. </profiles>