[jboss-jira] [JBoss JIRA] Updated: (JASSIST-90) Using enum and switch with hybernate and jboss caching annotations gives an error while deploying in jboss AS5.1

Werner van Mook (JIRA) jira-events at lists.jboss.org
Mon Jul 20 09:52:30 EDT 2009


     [ https://jira.jboss.org/jira/browse/JASSIST-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Werner van Mook updated JASSIST-90:
-----------------------------------

    Description: 
In an entity bean of type Request (See source) a method is defined with a switch statement. The switch statement is using enum values in the case. The Request class has annotations @Entity and @Replicable and for some object methods @Id and @GeneratedValue.

In a class called HelperClass (See source) an enum is defined. The HelperClass has annotation @Replicable.

After compile with ant script (See source) and starting JBoss with "-c all" an VerifyError occurs (See stackTrace)

Changing the switch statement into a nested if / else block makes it work.

<---------src---------->

Request.java:

package entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

import org.jboss.cache.pojo.annotation.Replicable;

@Entity
@Replicable
public class Request {
	
	private long id;
	private String filename;
	
	
	public Request(){
	}

	/**
	 * @return the id
	 */
	@Id
	@GeneratedValue
	public long getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}

	/**
	 * @return the filename
	 */
	public String getFilename() {
		return filename;
	}

	/**
	 * @param filename the filename to set
	 */
	public void setFilename(String filename) {
		this.filename = filename;
	}

	@Override
	public String toString() {
		return "id: " + id + " filename: " + filename;
	}
	
	public void inform() {
		HelperClass help = new HelperClass();
		informDeviceStateWhileHavingFullLock(help);
	}
	
	private void informDeviceStateWhileHavingFullLock(HelperClass osDeviceState) {
		switch (osDeviceState.getRuntimeStateRange()) {		
			case PROBLEM_CONNECTING: 
				System.out.println(osDeviceState.EnumgetRuntimeState());
				break; 
			case PROBLEM_SENDING:
				System.out.println(osDeviceState.EnumgetRuntimeState());
				break; 
			case CONNECTED:
				System.out.println(osDeviceState.EnumgetRuntimeState());
				break; 
			case INVALID:
				System.out.println(osDeviceState.EnumgetRuntimeState());
				break; 
			case INTERRUPTED:
				System.out.println(osDeviceState.EnumgetRuntimeState());
				break; 
			case STOPPED:
				System.out.println(osDeviceState.EnumgetRuntimeState());
				break; 
			default:
				System.out.println("Device state default is always ignored");			
				break;
		}
	}
}

HelperClass.java

package entity;

import org.jboss.cache.pojo.annotation.Replicable;
import org.jboss.cache.pojo.annotation.Transient;


@Replicable
public class HelperClass {

	private RuntimeStateRange runtimeState = RuntimeStateRange.RESTING;
	
	public static enum RuntimeStateRange {
		OFFLINE, 
		CONNECTED, 
		PROBLEM, 
		PROBLEM_CONNECTING,
		PROBLEM_SENDING,
		INTERRUPTED,
		STOPPED,
		INVALID,
		RESTING,
		BUSY,
		INITIALIZING }; 
		
	public HelperClass() {
		System.out.println("HelperClass created.");
	}

	public int EnumgetRuntimeState() {
		return runtimeState.ordinal();
	}
	
	public RuntimeStateRange getRuntimeStateRange(){
		return runtimeState;
	}
}


<--------------------------END src --------------->

<-------------------Stack trace ------------------>
15:09:15,730 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
15:09:15,730 INFO  [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)
15:09:15,730 INFO  [ServerImpl] Bootstrap URL: null
15:09:15,730 INFO  [ServerImpl] Home Dir: C:\Java\jboss-5.1.0.GA
15:09:15,730 INFO  [ServerImpl] Home URL: file:/C:/Java/jboss-5.1.0.GA/
15:09:15,730 INFO  [ServerImpl] Library URL: file:/C:/Java/jboss-5.1.0.GA/lib/
15:09:15,730 INFO  [ServerImpl] Patch URL: null
15:09:15,730 INFO  [ServerImpl] Common Base URL: file:/C:/Java/jboss-5.1.0.GA/common/
15:09:15,746 INFO  [ServerImpl] Common Library URL: file:/C:/Java/jboss-5.1.0.GA/common/lib/
15:09:15,746 INFO  [ServerImpl] Server Name: all
15:09:15,746 INFO  [ServerImpl] Server Base Dir: C:\Java\jboss-5.1.0.GA\server
15:09:15,746 INFO  [ServerImpl] Server Base URL: file:/C:/Java/jboss-5.1.0.GA/server/
15:09:15,746 INFO  [ServerImpl] Server Config URL: file:/C:/Java/jboss-5.1.0.GA/server/all/conf/
15:09:15,746 INFO  [ServerImpl] Server Home Dir: C:\Java\jboss-5.1.0.GA\server\all
15:09:15,746 INFO  [ServerImpl] Server Home URL: file:/C:/Java/jboss-5.1.0.GA/server/all/
15:09:15,746 INFO  [ServerImpl] Server Data Dir: C:\Java\jboss-5.1.0.GA\server\all\data
15:09:15,746 INFO  [ServerImpl] Server Library URL: file:/C:/Java/jboss-5.1.0.GA/server/all/lib/
15:09:15,746 INFO  [ServerImpl] Server Log Dir: C:\Java\jboss-5.1.0.GA\server\all\log
15:09:15,746 INFO  [ServerImpl] Server Native Dir: C:\Java\jboss-5.1.0.GA\server\all\tmp\native
15:09:15,746 INFO  [ServerImpl] Server Temp Dir: C:\Java\jboss-5.1.0.GA\server\all\tmp
15:09:15,746 INFO  [ServerImpl] Server Temp Deploy Dir: C:\Java\jboss-5.1.0.GA\server\all\tmp\deploy
15:09:16,355 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/Java/jboss-5.1.0.GA/server/all/conf/bootstrap.xml
15:09:16,886 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
15:09:16,886 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
15:09:17,152 INFO  [CopyMechanism] VFS temp dir: C:\Java\jboss-5.1.0.GA\server\all\tmp
15:09:17,152 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
15:09:18,043 INFO  [ServerInfo] Java version: 1.6.0_11,Sun Microsystems Inc.
15:09:18,043 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
15:09:18,043 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 11.0-b16,Sun Microsystems Inc.
15:09:18,043 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
15:09:18,043 INFO  [ServerInfo] VM arguments: -Djboss.home=C:/Java/jboss-5.1.0.GA -Djava.library.path=C:/Program Files/Java/jdk1.6.0_11/bin -Djava.endorsed.dirs=C:/Java/jboss-5.1.0.GA/lib/endorsed -Xms256m -Xmx512m -XX:MaxPermSize=256m -Djboss.partition.name=Wernie -Dfile.encoding=Cp1252 
15:09:18,105 INFO  [JMXKernel] Legacy JMX core initialized
15:09:19,652 INFO  [ProfileServiceBootstrap] Loading profile: ProfileKey at 453dd5[domain=default, server=default, name=all]
15:09:21,246 INFO  [WebService] Using RMI server codebase: http://HHDEV06:8083/
15:09:26,089 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
15:09:26,089 INFO  [NativeServerConfig] 3.1.2.GA
15:09:26,886 INFO  [AttributeCallbackItem] Owner callback not implemented.
15:09:28,495 INFO  [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl at 23d278[ defaultDomain='jboss' ]
15:09:40,151 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 22212860{vfsfile:/C:/Java/jboss-5.1.0.GA/server/all/deploy/profileservice-secured.jar/}
15:09:40,151 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 22212860{vfsfile:/C:/Java/jboss-5.1.0.GA/server/all/deploy/profileservice-secured.jar/}
15:09:40,151 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 22212860{vfsfile:/C:/Java/jboss-5.1.0.GA/server/all/deploy/profileservice-secured.jar/}
15:09:40,151 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 22212860{vfsfile:/C:/Java/jboss-5.1.0.GA/server/all/deploy/profileservice-secured.jar/}
15:09:40,182 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 1507654{vfszip:/C:/Java/jboss-5.1.0.GA/server/all/deploy/test_clustered_slsb.jar/}
15:09:40,182 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 1507654{vfszip:/C:/Java/jboss-5.1.0.GA/server/all/deploy/test_clustered_slsb.jar/}
15:09:41,322 INFO  [CorbaNamingService] CORBA Naming Started
15:09:45,869 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://HHDEV06/jndi/rmi://HHDEV06:1090/jmxconnector
15:09:46,103 INFO  [MailService] Mail Service bound to java:/Mail
15:09:46,681 INFO  [SnmpAgentService] SNMP agent going active
15:09:49,166 INFO  [Wernie] Initializing partition Wernie
15:09:49,291 INFO  [STDOUT] 
---------------------------------------------------------
GMS: address is 192.168.100.98:2335 (cluster=Wernie)
---------------------------------------------------------
15:09:49,416 INFO  [PlatformMBeanServerRegistration] JBossCache MBeans were successfully registered to the platform mbean server.
15:09:49,447 INFO  [STDOUT] 
---------------------------------------------------------
GMS: address is 192.168.100.98:2335 (cluster=Wernie-HAPartitionCache)
---------------------------------------------------------
15:09:51,369 INFO  [Wernie] Number of cluster members: 1
15:09:51,384 INFO  [Wernie] Other members: 0
15:09:51,462 INFO  [RPCManagerImpl] Received new cluster view: [192.168.100.98:2335|0] [192.168.100.98:2335]
15:09:51,462 INFO  [RPCManagerImpl] Cache local address is 192.168.100.98:2335
15:09:51,462 INFO  [RPCManagerImpl] state was retrieved successfully (in 2,02 seconds)
15:09:51,478 INFO  [ComponentRegistry] JBoss Cache version: JBossCache 'Cascabel' 3.1.0.GA
15:09:51,478 INFO  [Wernie] Fetching serviceState (will wait for 30000 milliseconds):
15:09:51,478 INFO  [Wernie] State could not be retrieved (we are the first member in group)
15:09:51,556 INFO  [HANamingService] Started HAJNDI bootstrap; jnpPort=1100, backlog=50, bindAddress=/0.0.0.0
15:09:51,572 INFO  [DetachedHANamingService$AutomaticDiscovery] Listening on /0.0.0.0:1102, group=230.0.0.4, HA-JNDI address=192.168.100.98:1100
15:09:52,494 INFO  [UnifiedInvokerHA] Service name is jboss:service=invoker,type=unifiedha
15:09:53,040 WARN  [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
15:09:53,072 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
15:09:53,212 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
15:09:53,290 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version - tag:JBOSSTS_4_6_1_GA) - JBoss Inc.
15:09:53,290 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
15:09:54,337 INFO  [TransactionManagerService] Initializing recovery manager
15:09:54,478 INFO  [TransactionManagerService] Recovery manager configured
15:09:54,478 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
15:09:54,525 INFO  [TransactionManagerService] Starting transaction recovery manager
15:09:55,025 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:/Program Files/Java/jdk1.6.0_11/bin
15:09:55,087 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
15:09:55,087 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-0.0.0.0-8009
15:09:55,103 INFO  [StandardService] Starting service jboss.web
15:09:55,118 INFO  [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.3.GA
15:09:55,181 INFO  [Catalina] Server startup in 91 ms
15:09:55,197 INFO  [TomcatDeployment] deploy, ctxPath=/juddi
15:09:55,743 INFO  [RegistryServlet] Loading jUDDI configuration.
15:09:55,743 INFO  [RegistryServlet] Resources loaded from: /WEB-INF/juddi.properties
15:09:55,743 INFO  [RegistryServlet] Initializing jUDDI components.
15:09:55,962 INFO  [TomcatDeployment] deploy, ctxPath=/invoker
15:09:56,009 INFO  [TomcatDeployment] deploy, ctxPath=/web-console
15:09:57,462 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws
15:09:57,618 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/Java/jboss-5.1.0.GA/server/all/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
15:09:57,634 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/Java/jboss-5.1.0.GA/server/all/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
15:09:57,665 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/Java/jboss-5.1.0.GA/server/all/deploy/jms-ra.rar/META-INF/ra.xml
15:09:57,696 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/Java/jboss-5.1.0.GA/server/all/deploy/mail-ra.rar/META-INF/ra.xml
15:09:57,712 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/Java/jboss-5.1.0.GA/server/all/deploy/quartz-ra.rar/META-INF/ra.xml
15:09:57,806 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
15:09:57,853 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
15:09:57,853 INFO  [RAMJobStore] RAMJobStore initialized.
15:09:57,853 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
15:09:57,853 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
15:09:57,853 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
15:09:58,368 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
15:09:58,915 INFO  [ServerPeer] JBoss Messaging 1.4.3.GA server [0] started
15:09:59,134 INFO  [STDOUT] 
---------------------------------------------------------
GMS: address is 192.168.100.98:2335 (cluster=MessagingPostOffice-CTRL)
---------------------------------------------------------
15:10:01,149 INFO  [GroupMember] org.jboss.messaging.core.impl.postoffice.GroupMember$ControlMembershipListener at 52bb2d got new view [192.168.100.98:2335|0] [192.168.100.98:2335], old view is null
15:10:01,149 INFO  [GroupMember] I am (192.168.100.98:2335)
15:10:01,149 INFO  [GroupMember] New Members : 1 ([192.168.100.98:2335])
15:10:01,149 INFO  [GroupMember] All Members : 1 ([192.168.100.98:2335])
15:10:01,181 INFO  [STDOUT] 
---------------------------------------------------------
GMS: address is 192.168.100.98:7900 (cluster=MessagingPostOffice-DATA)
---------------------------------------------------------
15:10:07,227 INFO  [ConnectionFactory] Connector bisocket://HHDEV06:4457 has leasing enabled, lease period 10000 milliseconds
15:10:07,227 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory at bfd4f6 started
15:10:07,258 INFO  [ConnectionFactory] Connector bisocket://HHDEV06:4457 has leasing enabled, lease period 10000 milliseconds
15:10:07,258 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory at 1c977ef started
15:10:07,274 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
15:10:07,305 INFO  [ConnectionFactory] Connector bisocket://HHDEV06:4457 has leasing enabled, lease period 10000 milliseconds
15:10:07,305 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory at 14647e5 started
15:10:07,305 INFO  [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
15:10:07,461 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
15:10:07,883 INFO  [JBossASKernel] Created KernelDeployment for: profileservice-secured.jar
15:10:07,883 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
15:10:07,883 INFO  [JBossASKernel]   with dependencies:
15:10:07,883 INFO  [JBossASKernel]   and demands:
15:10:07,883 INFO  [JBossASKernel] 	jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
15:10:07,883 INFO  [JBossASKernel] 	jboss.ejb:service=EJBTimerService
15:10:07,883 INFO  [JBossASKernel]   and supplies:
15:10:07,883 INFO  [JBossASKernel] 	Class:org.jboss.profileservice.spi.ProfileService
15:10:07,883 INFO  [JBossASKernel] 	jndi:SecureProfileService/remote
15:10:07,883 INFO  [JBossASKernel] 	jndi:SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService
15:10:07,883 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3) to KernelDeployment of: profileservice-secured.jar
15:10:07,883 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
15:10:07,883 INFO  [JBossASKernel]   with dependencies:
15:10:07,883 INFO  [JBossASKernel]   and demands:
15:10:07,883 INFO  [JBossASKernel] 	jboss.ejb:service=EJBTimerService
15:10:07,883 INFO  [JBossASKernel]   and supplies:
15:10:07,883 INFO  [JBossASKernel] 	jndi:SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager
15:10:07,883 INFO  [JBossASKernel] 	Class:org.jboss.deployers.spi.management.deploy.DeploymentManager
15:10:07,883 INFO  [JBossASKernel] 	jndi:SecureDeploymentManager/remote
15:10:07,883 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3) to KernelDeployment of: profileservice-secured.jar
15:10:07,883 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
15:10:07,883 INFO  [JBossASKernel]   with dependencies:
15:10:07,883 INFO  [JBossASKernel]   and demands:
15:10:07,883 INFO  [JBossASKernel] 	jboss.ejb:service=EJBTimerService
15:10:07,883 INFO  [JBossASKernel]   and supplies:
15:10:07,883 INFO  [JBossASKernel] 	jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
15:10:07,883 INFO  [JBossASKernel] 	Class:org.jboss.deployers.spi.management.ManagementView
15:10:07,883 INFO  [JBossASKernel] 	jndi:SecureManagementView/remote
15:10:07,883 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3) to KernelDeployment of: profileservice-secured.jar
15:10:07,899 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData at f5f77{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
15:10:07,899 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData at 1bd9f3d{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
15:10:07,899 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData at 98fc6a{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
15:10:08,024 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
15:10:08,039 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureDeploymentManager ejbName: SecureDeploymentManager
15:10:08,102 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

	SecureDeploymentManager/remote - EJB3.x Default Remote Business Interface
	SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager - EJB3.x Remote Business Interface

15:10:08,196 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
15:10:08,196 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureManagementView ejbName: SecureManagementView
15:10:08,211 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

	SecureManagementView/remote - EJB3.x Default Remote Business Interface
	SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView - EJB3.x Remote Business Interface

15:10:08,274 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
15:10:08,274 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureProfileServiceBean ejbName: SecureProfileService
15:10:08,305 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

	SecureProfileService/remote - EJB3.x Default Remote Business Interface
	SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService - EJB3.x Remote Business Interface

15:10:08,414 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=test_clustered_slsb.jar,name=TestServiceBean,service=EJB3
15:10:08,414 INFO  [JBossASKernel]   with dependencies:
15:10:08,414 INFO  [JBossASKernel]   and demands:
15:10:08,414 INFO  [JBossASKernel] 	jboss.ejb:service=EJBTimerService
15:10:08,414 INFO  [JBossASKernel]   and supplies:
15:10:08,414 INFO  [JBossASKernel] 	jndi:TestServiceBean/local
15:10:08,414 INFO  [JBossASKernel] 	Class:service.ITestServiceBeanManagement
15:10:08,414 INFO  [JBossASKernel] 	jndi:TestServiceBean/remote
15:10:08,414 INFO  [JBossASKernel] 	jndi:TestServiceBean/local-service.ITestServiceBeanLocal
15:10:08,414 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=test_clustered_slsb.jar,name=TestServiceBean,service=EJB3) to KernelDeployment of: test_clustered_slsb.jar
15:10:08,414 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=test_clustered_slsb.jar,name=TestClusteredBean,service=EJB3
15:10:08,414 INFO  [JBossASKernel]   with dependencies:
15:10:08,414 INFO  [JBossASKernel]   and demands:
15:10:08,414 INFO  [JBossASKernel] 	jboss.ejb:service=EJBTimerService
15:10:08,414 INFO  [JBossASKernel] 	jndi:TestServiceBean/local-service.ITestServiceBeanLocal
15:10:08,414 INFO  [JBossASKernel]   and supplies:
15:10:08,414 INFO  [JBossASKernel] 	jndi:TestClusteredBean/remote
15:10:08,414 INFO  [JBossASKernel] 	Class:session.ITestClusteredBean
15:10:08,414 INFO  [JBossASKernel] 	jndi:TestClusteredBean/remote-session.ITestClusteredBean
15:10:08,414 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=test_clustered_slsb.jar,name=TestClusteredBean,service=EJB3) to KernelDeployment of: test_clustered_slsb.jar
15:10:08,414 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData at ad588a{name=jboss.j2ee:jar=test_clustered_slsb.jar,name=TestClusteredBean,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
15:10:08,602 INFO  [PojoCacheImpl] PojoCache version: JBossCache 'Cascabel' 3.1.0.GA
15:10:08,618 INFO  [PojoCacheImpl] PojoCache version: JBossCache 'Cascabel' 3.1.0.GA
15:10:08,649 INFO  [PlatformMBeanServerRegistration] JBossCache MBeans were successfully registered to the platform mbean server.
15:10:08,711 INFO  [STDOUT] 
---------------------------------------------------------
GMS: address is 192.168.100.98:2353 (cluster=Wernie-UnistreamPojoCache)
---------------------------------------------------------
15:10:10,774 INFO  [RPCManagerImpl] Received new cluster view: [192.168.100.98:2353|0] [192.168.100.98:2353]
15:10:10,774 INFO  [RPCManagerImpl] Cache local address is 192.168.100.98:2353
15:10:10,774 INFO  [RPCManagerImpl] state was retrieved successfully (in 2,11 seconds)
15:10:10,774 INFO  [ComponentRegistry] JBoss Cache version: JBossCache 'Cascabel' 3.1.0.GA
15:10:10,930 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=test_clustered_slsb.jar,name=TestServiceBean,service=EJB3,type=ManagementInterface
15:10:10,930 INFO  [JBossASKernel]   with dependencies:
15:10:10,930 INFO  [JBossASKernel]   and demands:
15:10:10,930 INFO  [JBossASKernel] 	jboss.j2ee:jar=test_clustered_slsb.jar,name=TestServiceBean,service=EJB3
15:10:10,930 INFO  [JBossASKernel] 	jboss.ejb:service=EJBTimerService
15:10:10,930 INFO  [JBossASKernel]   and supplies:
15:10:10,930 INFO  [JBossASKernel] 	jndi:TestServiceBean/local
15:10:10,930 INFO  [JBossASKernel] 	Class:service.ITestServiceBeanManagement
15:10:10,930 INFO  [JBossASKernel] 	jndi:TestServiceBean/remote
15:10:10,930 INFO  [JBossASKernel] 	jndi:TestServiceBean/local-service.ITestServiceBeanLocal
15:10:10,930 INFO  [JBossASKernel] Installing bean(jboss.j2ee:jar=test_clustered_slsb.jar,name=TestServiceBean,service=EJB3,type=ManagementInterface) into kernel
15:10:10,961 WARN  [UniStreamCacheListener] ::::  UniStreamCacheListener created  ::::
15:10:10,961 INFO  [PojoCacheImpl] PojoCache version: JBossCache 'Cascabel' 3.1.0.GA
15:10:10,961 INFO  [STDOUT] Create of TestServiceBean
15:10:10,961 INFO  [EJBContainer] STARTED EJB: service.TestServiceBean ejbName: TestServiceBean
15:10:10,977 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

	TestServiceBean/local - EJB3.x Default Local Business Interface
	TestServiceBean/local-service.ITestServiceBeanLocal - EJB3.x Local Business Interface

15:10:11,024 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=test_clustered_slsb.jar,name=TestClusteredBean,service=EJB3
15:10:11,024 INFO  [EJBContainer] STARTED EJB: session.TestClusteredBean ejbName: TestClusteredBean
15:10:11,071 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

	TestClusteredBean/remote - EJB3.x Default Remote Business Interface
	TestClusteredBean/remote-session.ITestClusteredBean - EJB3.x Remote Business Interface

15:10:11,102 INFO  [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=#unistream
15:10:11,196 INFO  [Version] Hibernate Annotations 3.4.0.GA
15:10:11,227 INFO  [Environment] Hibernate 3.3.1.GA
15:10:11,242 INFO  [Environment] hibernate.properties not found
15:10:11,242 INFO  [Environment] Bytecode provider name : javassist
15:10:11,242 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
15:10:11,383 INFO  [Version] Hibernate Commons Annotations 3.1.0.GA
15:10:11,383 INFO  [Version] Hibernate EntityManager 3.4.0.GA
15:10:11,430 INFO  [Ejb3Configuration] Processing PersistenceUnitInfo [
	name: unistream
	...]
15:10:11,461 WARN  [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
15:10:11,570 INFO  [AnnotationBinder] Binding entity from annotated class: entity.Request
15:10:11,664 INFO  [EntityBinder] Bind entity entity.Request on table Request
15:10:11,680 ERROR [AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=#unistream state=Create
java.lang.VerifyError: (class: entity/Request, method: informDeviceStateWhileHavingFullLock signature: (Lentity/HelperClass;)V) Unable to pop operand off an empty stack
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
	at java.lang.Class.getDeclaredMethods(Class.java:1791)
	at org.hibernate.annotations.common.reflection.java.JavaXClass.getDeclaredMethodProperties(JavaXClass.java:89)
	at org.hibernate.annotations.common.reflection.java.JavaXClass.getDeclaredProperties(JavaXClass.java:106)
	at org.hibernate.annotations.common.reflection.java.JavaXClass.getDeclaredProperties(JavaXClass.java:98)
	at org.hibernate.cfg.AnnotationBinder.addElementsOfAClass(AnnotationBinder.java:1023)
	at org.hibernate.cfg.AnnotationBinder.getElementsToProcess(AnnotationBinder.java:859)
	at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:667)
	at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:546)
	at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:291)
	at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1148)
	at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1226)
	at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:173)
	at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:854)
	at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:425)
	at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:131)
	at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:301)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
	at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
	at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
	at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
	at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
	at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
	at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
	at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
	at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
	at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
	at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
	at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
	at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
	at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
	at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
	at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
	at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
	at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
	at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
	at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
	at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
	at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
	at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
	at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
	at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
	at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
	at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
	at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
	at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
	at org.jboss.Main.boot(Main.java:221)
	at org.jboss.Main$1.run(Main.java:556)
	at java.lang.Thread.run(Thread.java:619)
15:10:11,774 INFO  [TomcatDeployment] deploy, ctxPath=/admin-console
15:10:11,852 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console'
15:10:15,680 INFO  [TomcatDeployment] deploy, ctxPath=/
15:10:15,726 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console
15:10:15,883 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

DEPLOYMENTS IN ERROR:
  Deployment "persistence.unit:unitName=#unistream" is in error due to the following reason(s): java.lang.VerifyError: (class: entity/Request, method: informDeviceStateWhileHavingFullLock signature: (Lentity/HelperClass;)V) Unable to pop operand off an empty stack

15:10:15,883 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
15:10:15,914 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
15:10:15,930 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 1m:184ms


<----------------------END Stack trace ----------------------->



<----------------------- Ant file ------------------------->
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE project [
	<!ENTITY properties SYSTEM "../../../unispool7/config/buildfiles/properties.xml">
]>
<project default="deploy2Jboss" name="TestClusteredSessionBean" basedir="../..">

	<!-- read the properties from file -->
	&properties;

	<target name="prepare">
		<path id="classpath">
			<path refid="jboss.aop.classpath"/>
			<path refid="jboss.class.path"/>
			<pathelement path="bin"/>
		</path>
	</target>

	<target name="compile" depends="prepare">
		<delete dir="bin"/>
		<mkdir dir="bin"/>
		<javac srcdir="src" destdir="bin" deprecation="on" optimize="off" includes="**">
			<classpath refid="classpath"/>
		</javac>

		<copy todir="bin" filtering="no">
			<fileset dir="config/properties">
				<include name="**/*.properties"/>
			</fileset>
			<fileset dir="config">
				<include name="**/persistence.xml"/>
				<include name="**/unistream-pojo-cache-jboss-beans.xml"/>
			</fileset>
		</copy>
	</target>

	<target name="aopc" depends="compile">
		<unjar src="${jbossServerLib}/jbosscache-pojo.jar" dest="bin">
			<mapper type="flatten"/>
			<patternset>
        		<include name="**/pojocache-aop.xml"/>
    		</patternset>
		</unjar>
		<aopc compilerclasspathref="classpath" classpathref="classpath" verbose="true">
			<classpath path="bin"/>
			<src path="bin"/>
			<aoppath path="bin/pojocache-aop.xml"/>
			<aopclasspath path="bin"/>
		</aopc>
	</target>

	<target name="package-server-jar" depends="aopc" description="Create JAR File">
		<jar destfile="build/test_clustered_slsb.jar">
			<fileset dir="bin">
                <include name="**/*.*"/>
                <exclude name="**/Main.*"/>
                <exclude name="**/jndi.properties"/>
                <exclude name="**/pojocache-aop.xml"/>
			</fileset>
		</jar>
	</target>

	<target name="run-compile-time" depends="aopc">
		<java fork="yes" failOnError="true" className="Main">
			<sysproperty key="jboss.aop.path" value="bin/pojocache-aop.xml"/>
			<sysproperty key="jboss.aop.class.path" value="bin"/>
			<classpath refid="classpath"/>
		</java>
	</target>
	
	<target name="deploy2Jboss" depends="package-server-jar" description="Deploy the JAR File to JBoss">
		<copy file="build/test_clustered_slsb.jar" tofile="C:\Java\jboss-5.1.0.GA\server\all\deploy\test_clustered_slsb.jar"/>
	</target>

</project>






The properties file used by ant:





<!-- Read in the environment variables -->
<property environment="env"/>

<!-- Inits the properties -->
<tstamp/>

<!-- needed for if, switch tasks -->
<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
<taskdef resource="net/sf/antcontrib/antlib.xml"/>

<!-- base directories -->
<property name="src" location="${basedir}/src"/>
<property name="conf" location="${basedir}/config"/>
<property name="build" location="${basedir}/build"/>
<property name="dist" location="${basedir}/dist"/>
<property name="dist-obfuscated" location="${basedir}/dist-obfuscated"/>
<property name="ext" location="${basedir}/ext"/>
<property name="app" value="com/hollandhouse/unistream"/>

<!-- src directories -->
<property name="src" location="${src}"/>
<property name="HhLog4j" location="${src}/com/hollandhouse/unistream/framework/log/log4j/"/>

<!-- conf directories -->
<property name="conf-xml" location="${conf}/XML"/>
<property name="conf-jboss" location="${conf}/JBoss"/>
<property name="conf-properties" location="${conf}/properties"/>
<property name="conf-properties-server" location="${conf-properties}/server"/>
<property name="conf-properties-agent" location="${conf-properties}/agent"/>
<property name="conf-mergefiles" location="${conf}/mergefiles"/>
<property name="conf-buildfiles" location="${conf}/buildfiles"/>
<property name="conf-cache" location="${conf}/cache"/>

<!-- build directories -->
<property name="build-generated" location="${build}/generated"/>
<property name="generated.java.dir" value="${build-generated}"/>
<property name="build-classes" location="${build}/classes"/>
<property name="build-resources" location="${build}/resources"/>
<property name="build-doc" location="${build}/doc"/>
<property name="build-web" location="${build}/web"/>

<!-- file names -->
<property name="ejb-file" value="unistream-ejb3.jar"/>
<property name="ejb-agent-file" value="unistream-agent.jar"/>
<property name="sar-file" value="unistream.sar"/>
<property name="sar-agent-file" value="unistream-agent.sar"/>
<property name="entities-jar-file" value="entities.jar"/>
<property name="jar-entities-agent-file" value="entities-agent.jar"/>
<property name="war-file" value="unistream.war"/>
<property name="jar-hhlog4j-file" value="hhlog4j.jar"/>
<property name="xml-hhlog4j-file" value="log4j_unistream.xml"/>
<property name="common-file" value="unistream-framework.jar"/>
<property name="cli-file" value="unistream-cli.jar"/>
<property name="ear-file" value="unistream.ear"/>
<property name="ear-agent-file" value="unistream-agent.ear"/>
<property name="swing-gui-file" value="unistream-swing-gui.jar"/>
<property name="swing-gui-doc-file" value="unistream-swing-gui-doc.zip"/>
<property name="testpage-file" value="UNISTREAM-TESTFILE"/>
<property name="usPojoCache-file" value="unistream-pojo-cache-jboss-beans.xml"/>

<!-- build test directories -->
<property name="build-tests" location="${build}/tests"/>
<property name="build-reports" location="${build}/reports"/>

<!-- jboss settings main -->
<property name="jbossServerProfile" value="unistream_main"/>

<property name="jbossServer" location="${env.JBOSS_HOME}/server/${jbossServerProfile}"/>
<property name="jbossDeploy" location="${jbossServer}/deploy"/>
<property name="jbossServerLib" location="${jbossServer}/lib"/>
<property name="jbossConfig" location="${jbossServer}/conf"/>

<!-- jboss settings agent -->
<property name="jbossAgentProfile" value="unistream_agent"/>

<property name="jbossAgent" location="${env.JBOSS_HOME}/server/${jbossAgentProfile}"/>
<property name="jbossAgentDeploy" location="${jbossAgent}/deploy"/>
<property name="jbossAgentLib" location="${jbossAgent}/lib"/>
<property name="jbossAgentConfig" location="${jbossAgent}/conf"/>

<!-- jboss settings common -->
<property name="jbossLib" location="${env.JBOSS_HOME}/lib"/>
<property name="jbossClientLib" value="${env.JBOSS_HOME}/client"/>
<property name="jbossCommonLib" location="${env.JBOSS_HOME}/common/lib"/>

<!--        <property name="jbossDataSource" value="java:/mysqlDS"/>
<property name="jbossDataSourceMapping" value="mySQL"/> -->
<property name="jbossDataSource" value="java:/DefaultDS"/>
<property name="jbossDataSourceMapping" value="Hypersonic SQL"/>

<!-- Temp General manifest file -->
<property name="manifest-general" location="${build}/manifest_gen.txt"/>
<!-- Temp ClassPath manifest file -->
<property name="manifest-classpath" location="${build}/manifest_cp.txt"/>

<property name="version-file" value="unistream-version"/>

<!--  jboss properties files -->
<property name="xml-hhlog4j-path" location="${conf-properties-server}/${xml-hhlog4j-file}"/>
<property name="xml-hhlog4j-agent-path" location="${conf-properties-agent}/${xml-hhlog4j-file}"/>

<!-- setup the project class paths -->

<path id="jboss.class.path">
	<fileset dir="${jbossLib}">
		<include name="*.jar"/>
	</fileset>
	<fileset dir="${env.JBOSS_HOME}/client">
		<include name="*.jar"/>
	</fileset>
	<fileset dir="${jbossCommonLib}">
		<include name="*.jar"/>
	</fileset>
	<fileset dir="${jbossServerLib}">
		<include name="*.jar"/>
	</fileset>
</path>

<path id="ext.class.path">
	<path refid="jboss.class.path"/>
	<fileset dir="${ext}">
		<include name="**/*.jar"/>
	</fileset>
</path>

<path id="jboss.aop.classpath">
	<fileset dir="${jbossLib}">
		<include name="jboss-aop.jar"/>
	</fileset>
</path>

<!-- setup the project class paths -->
<path id="project.class.path">
	<path refid="ext.class.path"/>
	<path refid="jboss.aop.classpath"/>
</path>

<!-- Define the JBoss AOP compiler Ant task -->
<taskdef name="aopc" classname="org.jboss.aop.ant.AopC" classpathref="jboss.aop.classpath"/>

<path id="junit.test.class.path">
	<path refid="ext.class.path"/>
	<fileset dir="${dist}">
		<include name="*.jar"/>
		<include name="*.sar"/>
		<exclude name="*-agent.*"/>
	</fileset>
	<pathelement location="${conf-properties}"/>
	<pathelement location="${build-classes}"/>
</path>

<!-- Project Libraries -->

<property name="gui-jar-path" value="${basedir}/unistreamgui.jar"/>

<path id="library.gui_jars.classpath">
	<pathelement location="${jbossClientLib}/commons-logging.jar"/>
	<pathelement location="${jbossClientLib}/concurrent.jar"/>
	<pathelement location="${jbossClientLib}/ejb3-persistence.jar"/>
	<pathelement location="${jbossClientLib}/hibernate-annotations.jar"/>
	<pathelement location="${jbossClientLib}/javassist.jar"/>
	<pathelement location="${jbossClientLib}/jbossall-client.jar"/>
	<pathelement location="${jbossClientLib}/jboss-aop-client.jar"/>
	<pathelement location="${jbossClientLib}/jboss-aspect-jdk50-client.jar"/>
	<pathelement location="${jbossClientLib}/jboss-common-core.jar"/>
	<pathelement location="${jbossClientLib}/jboss-ejb3-common-client.jar"/>
	<pathelement location="${jbossClientLib}/jboss-ejb3-core-client.jar"/>
	<pathelement location="${jbossClientLib}/jboss-ejb3-ext-api.jar"/>
	<pathelement location="${jbossClientLib}/jboss-ejb3-ext-api-impl.jar"/>
	<pathelement location="${jbossClientLib}/jboss-ejb3-proxy-impl-client.jar"/>
	<pathelement location="${jbossClientLib}/jboss-ejb3-proxy-spi-client.jar"/>
	<pathelement location="${jbossClientLib}/jboss-ejb3-security-client.jar"/>
	<pathelement location="${jbossClientLib}/jboss-integration.jar"/>
	<pathelement location="${jbossClientLib}/jboss-javaee.jar"/>
	<pathelement location="${jbossClientLib}/jboss-logging-log4j.jar"/>
	<pathelement location="${jbossClientLib}/jboss-logging-spi.jar"/>
	<pathelement location="${jbossClientLib}/jboss-mdr.jar"/>
	<pathelement location="${jbossClientLib}/jboss-messaging-client.jar"/>
	<pathelement location="${jbossClientLib}/jboss-remoting.jar"/>
	<pathelement location="${jbossClientLib}/jboss-security-spi.jar"/>
	<pathelement location="${jbossClientLib}/jboss-serialization.jar"/>
	<pathelement location="${jbossClientLib}/jbosssx-client.jar"/>
	<pathelement location="${jbossClientLib}/jnp-client.jar"/>
	<pathelement location="${jbossClientLib}/log4j.jar"/>
	<pathelement location="${jbossClientLib}/trove.jar"/>
	<pathelement location="${jbossCommonLib}/hibernate-core.jar"/>
</path>

<path id="library.javahelp.classpath">
	<pathelement location="${basedir}/jars/java help/jh2.0/javahelp/lib/jh.jar"/>
</path>

<!-- Global Libraries -->

<path id="library.junit.classpath">
	<pathelement location="${basedir}/jars/junit-4.0/junit-4.0.jar"/>
</path>






<----------------------END Ant file -------------->


  was:
In an entity bean of type Request (See source) a method is defined with a switch statement. The switch statement is using enum values in the case. The Request class has annotations @Entity and @Replicable and for some object methods @Id and @GeneratedValue.

In a class called HelperClass (See source) an enum is defined. The HelperClass has annotation @Replicable.

After compile with ant script (See source) and starting JBoss with "-c all" an VerifyError occurs (See stackTrace)

Changing the switch statement into a nested if / else block makes it work.

<---------src---------->

Request.java:

package entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

import org.jboss.cache.pojo.annotation.Replicable;

@Entity
@Replicable
public class Request {
	
	private long id;
	private String filename;
	
	
	public Request(){
	}

	/**
	 * @return the id
	 */
	@Id
	@GeneratedValue
	public long getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}

	/**
	 * @return the filename
	 */
	public String getFilename() {
		return filename;
	}

	/**
	 * @param filename the filename to set
	 */
	public void setFilename(String filename) {
		this.filename = filename;
	}

	@Override
	public String toString() {
		return "id: " + id + " filename: " + filename;
	}
	
	public void inform() {
		HelperClass help = new HelperClass();
		informDeviceStateWhileHavingFullLock(help);
	}
	
	private void informDeviceStateWhileHavingFullLock(HelperClass osDeviceState) {
		switch (osDeviceState.getRuntimeStateRange()) {		
			case PROBLEM_CONNECTING: 
				System.out.println(osDeviceState.EnumgetRuntimeState());
				break; 
			case PROBLEM_SENDING:
				System.out.println(osDeviceState.EnumgetRuntimeState());
				break; 
			case CONNECTED:
				System.out.println(osDeviceState.EnumgetRuntimeState());
				break; 
			case INVALID:
				System.out.println(osDeviceState.EnumgetRuntimeState());
				break; 
			case INTERRUPTED:
				System.out.println(osDeviceState.EnumgetRuntimeState());
				break; 
			case STOPPED:
				System.out.println(osDeviceState.EnumgetRuntimeState());
				break; 
			default:
				System.out.println("Device state default is always ignored");			
				break;
		}
	}
}

HelperClass.java

package entity;

import org.jboss.cache.pojo.annotation.Replicable;
import org.jboss.cache.pojo.annotation.Transient;


@Replicable
public class HelperClass {

	private RuntimeStateRange runtimeState = RuntimeStateRange.RESTING;
	
	public static enum RuntimeStateRange {
		OFFLINE, 
		CONNECTED, 
		PROBLEM, 
		PROBLEM_CONNECTING,
		PROBLEM_SENDING,
		INTERRUPTED,
		STOPPED,
		INVALID,
		RESTING,
		BUSY,
		INITIALIZING }; 
		
	public HelperClass() {
		System.out.println("HelperClass created.");
	}

	public int EnumgetRuntimeState() {
		return runtimeState.ordinal();
	}
	
	public RuntimeStateRange getRuntimeStateRange(){
		return runtimeState;
	}
}


<--------------------------END src --------------->

<-------------------Stack trace ------------------>
15:09:15,730 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
15:09:15,730 INFO  [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)
15:09:15,730 INFO  [ServerImpl] Bootstrap URL: null
15:09:15,730 INFO  [ServerImpl] Home Dir: C:\Java\jboss-5.1.0.GA
15:09:15,730 INFO  [ServerImpl] Home URL: file:/C:/Java/jboss-5.1.0.GA/
15:09:15,730 INFO  [ServerImpl] Library URL: file:/C:/Java/jboss-5.1.0.GA/lib/
15:09:15,730 INFO  [ServerImpl] Patch URL: null
15:09:15,730 INFO  [ServerImpl] Common Base URL: file:/C:/Java/jboss-5.1.0.GA/common/
15:09:15,746 INFO  [ServerImpl] Common Library URL: file:/C:/Java/jboss-5.1.0.GA/common/lib/
15:09:15,746 INFO  [ServerImpl] Server Name: all
15:09:15,746 INFO  [ServerImpl] Server Base Dir: C:\Java\jboss-5.1.0.GA\server
15:09:15,746 INFO  [ServerImpl] Server Base URL: file:/C:/Java/jboss-5.1.0.GA/server/
15:09:15,746 INFO  [ServerImpl] Server Config URL: file:/C:/Java/jboss-5.1.0.GA/server/all/conf/
15:09:15,746 INFO  [ServerImpl] Server Home Dir: C:\Java\jboss-5.1.0.GA\server\all
15:09:15,746 INFO  [ServerImpl] Server Home URL: file:/C:/Java/jboss-5.1.0.GA/server/all/
15:09:15,746 INFO  [ServerImpl] Server Data Dir: C:\Java\jboss-5.1.0.GA\server\all\data
15:09:15,746 INFO  [ServerImpl] Server Library URL: file:/C:/Java/jboss-5.1.0.GA/server/all/lib/
15:09:15,746 INFO  [ServerImpl] Server Log Dir: C:\Java\jboss-5.1.0.GA\server\all\log
15:09:15,746 INFO  [ServerImpl] Server Native Dir: C:\Java\jboss-5.1.0.GA\server\all\tmp\native
15:09:15,746 INFO  [ServerImpl] Server Temp Dir: C:\Java\jboss-5.1.0.GA\server\all\tmp
15:09:15,746 INFO  [ServerImpl] Server Temp Deploy Dir: C:\Java\jboss-5.1.0.GA\server\all\tmp\deploy
15:09:16,355 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/Java/jboss-5.1.0.GA/server/all/conf/bootstrap.xml
15:09:16,886 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
15:09:16,886 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
15:09:17,152 INFO  [CopyMechanism] VFS temp dir: C:\Java\jboss-5.1.0.GA\server\all\tmp
15:09:17,152 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
15:09:18,043 INFO  [ServerInfo] Java version: 1.6.0_11,Sun Microsystems Inc.
15:09:18,043 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
15:09:18,043 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 11.0-b16,Sun Microsystems Inc.
15:09:18,043 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
15:09:18,043 INFO  [ServerInfo] VM arguments: -Djboss.home=C:/Java/jboss-5.1.0.GA -Djava.library.path=C:/Program Files/Java/jdk1.6.0_11/bin -Djava.endorsed.dirs=C:/Java/jboss-5.1.0.GA/lib/endorsed -Xms256m -Xmx512m -XX:MaxPermSize=256m -Djboss.partition.name=Wernie -Dfile.encoding=Cp1252 
15:09:18,105 INFO  [JMXKernel] Legacy JMX core initialized
15:09:19,652 INFO  [ProfileServiceBootstrap] Loading profile: ProfileKey at 453dd5[domain=default, server=default, name=all]
15:09:21,246 INFO  [WebService] Using RMI server codebase: http://HHDEV06:8083/
15:09:26,089 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
15:09:26,089 INFO  [NativeServerConfig] 3.1.2.GA
15:09:26,886 INFO  [AttributeCallbackItem] Owner callback not implemented.
15:09:28,495 INFO  [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl at 23d278[ defaultDomain='jboss' ]
15:09:40,151 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 22212860{vfsfile:/C:/Java/jboss-5.1.0.GA/server/all/deploy/profileservice-secured.jar/}
15:09:40,151 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 22212860{vfsfile:/C:/Java/jboss-5.1.0.GA/server/all/deploy/profileservice-secured.jar/}
15:09:40,151 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 22212860{vfsfile:/C:/Java/jboss-5.1.0.GA/server/all/deploy/profileservice-secured.jar/}
15:09:40,151 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 22212860{vfsfile:/C:/Java/jboss-5.1.0.GA/server/all/deploy/profileservice-secured.jar/}
15:09:40,182 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 1507654{vfszip:/C:/Java/jboss-5.1.0.GA/server/all/deploy/test_clustered_slsb.jar/}
15:09:40,182 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 1507654{vfszip:/C:/Java/jboss-5.1.0.GA/server/all/deploy/test_clustered_slsb.jar/}
15:09:41,322 INFO  [CorbaNamingService] CORBA Naming Started
15:09:45,869 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://HHDEV06/jndi/rmi://HHDEV06:1090/jmxconnector
15:09:46,103 INFO  [MailService] Mail Service bound to java:/Mail
15:09:46,681 INFO  [SnmpAgentService] SNMP agent going active
15:09:49,166 INFO  [Wernie] Initializing partition Wernie
15:09:49,291 INFO  [STDOUT] 
---------------------------------------------------------
GMS: address is 192.168.100.98:2335 (cluster=Wernie)
---------------------------------------------------------
15:09:49,416 INFO  [PlatformMBeanServerRegistration] JBossCache MBeans were successfully registered to the platform mbean server.
15:09:49,447 INFO  [STDOUT] 
---------------------------------------------------------
GMS: address is 192.168.100.98:2335 (cluster=Wernie-HAPartitionCache)
---------------------------------------------------------
15:09:51,369 INFO  [Wernie] Number of cluster members: 1
15:09:51,384 INFO  [Wernie] Other members: 0
15:09:51,462 INFO  [RPCManagerImpl] Received new cluster view: [192.168.100.98:2335|0] [192.168.100.98:2335]
15:09:51,462 INFO  [RPCManagerImpl] Cache local address is 192.168.100.98:2335
15:09:51,462 INFO  [RPCManagerImpl] state was retrieved successfully (in 2,02 seconds)
15:09:51,478 INFO  [ComponentRegistry] JBoss Cache version: JBossCache 'Cascabel' 3.1.0.GA
15:09:51,478 INFO  [Wernie] Fetching serviceState (will wait for 30000 milliseconds):
15:09:51,478 INFO  [Wernie] State could not be retrieved (we are the first member in group)
15:09:51,556 INFO  [HANamingService] Started HAJNDI bootstrap; jnpPort=1100, backlog=50, bindAddress=/0.0.0.0
15:09:51,572 INFO  [DetachedHANamingService$AutomaticDiscovery] Listening on /0.0.0.0:1102, group=230.0.0.4, HA-JNDI address=192.168.100.98:1100
15:09:52,494 INFO  [UnifiedInvokerHA] Service name is jboss:service=invoker,type=unifiedha
15:09:53,040 WARN  [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
15:09:53,072 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
15:09:53,212 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
15:09:53,290 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version - tag:JBOSSTS_4_6_1_GA) - JBoss Inc.
15:09:53,290 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
15:09:54,337 INFO  [TransactionManagerService] Initializing recovery manager
15:09:54,478 INFO  [TransactionManagerService] Recovery manager configured
15:09:54,478 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
15:09:54,525 INFO  [TransactionManagerService] Starting transaction recovery manager
15:09:55,025 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:/Program Files/Java/jdk1.6.0_11/bin
15:09:55,087 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
15:09:55,087 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-0.0.0.0-8009
15:09:55,103 INFO  [StandardService] Starting service jboss.web
15:09:55,118 INFO  [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.3.GA
15:09:55,181 INFO  [Catalina] Server startup in 91 ms
15:09:55,197 INFO  [TomcatDeployment] deploy, ctxPath=/juddi
15:09:55,743 INFO  [RegistryServlet] Loading jUDDI configuration.
15:09:55,743 INFO  [RegistryServlet] Resources loaded from: /WEB-INF/juddi.properties
15:09:55,743 INFO  [RegistryServlet] Initializing jUDDI components.
15:09:55,962 INFO  [TomcatDeployment] deploy, ctxPath=/invoker
15:09:56,009 INFO  [TomcatDeployment] deploy, ctxPath=/web-console
15:09:57,462 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws
15:09:57,618 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/Java/jboss-5.1.0.GA/server/all/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
15:09:57,634 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/Java/jboss-5.1.0.GA/server/all/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
15:09:57,665 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/Java/jboss-5.1.0.GA/server/all/deploy/jms-ra.rar/META-INF/ra.xml
15:09:57,696 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/Java/jboss-5.1.0.GA/server/all/deploy/mail-ra.rar/META-INF/ra.xml
15:09:57,712 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/Java/jboss-5.1.0.GA/server/all/deploy/quartz-ra.rar/META-INF/ra.xml
15:09:57,806 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
15:09:57,853 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
15:09:57,853 INFO  [RAMJobStore] RAMJobStore initialized.
15:09:57,853 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
15:09:57,853 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
15:09:57,853 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
15:09:58,368 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
15:09:58,915 INFO  [ServerPeer] JBoss Messaging 1.4.3.GA server [0] started
15:09:59,134 INFO  [STDOUT] 
---------------------------------------------------------
GMS: address is 192.168.100.98:2335 (cluster=MessagingPostOffice-CTRL)
---------------------------------------------------------
15:10:01,149 INFO  [GroupMember] org.jboss.messaging.core.impl.postoffice.GroupMember$ControlMembershipListener at 52bb2d got new view [192.168.100.98:2335|0] [192.168.100.98:2335], old view is null
15:10:01,149 INFO  [GroupMember] I am (192.168.100.98:2335)
15:10:01,149 INFO  [GroupMember] New Members : 1 ([192.168.100.98:2335])
15:10:01,149 INFO  [GroupMember] All Members : 1 ([192.168.100.98:2335])
15:10:01,181 INFO  [STDOUT] 
---------------------------------------------------------
GMS: address is 192.168.100.98:7900 (cluster=MessagingPostOffice-DATA)
---------------------------------------------------------
15:10:07,227 INFO  [ConnectionFactory] Connector bisocket://HHDEV06:4457 has leasing enabled, lease period 10000 milliseconds
15:10:07,227 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory at bfd4f6 started
15:10:07,258 INFO  [ConnectionFactory] Connector bisocket://HHDEV06:4457 has leasing enabled, lease period 10000 milliseconds
15:10:07,258 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory at 1c977ef started
15:10:07,274 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
15:10:07,305 INFO  [ConnectionFactory] Connector bisocket://HHDEV06:4457 has leasing enabled, lease period 10000 milliseconds
15:10:07,305 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory at 14647e5 started
15:10:07,305 INFO  [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
15:10:07,461 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
15:10:07,883 INFO  [JBossASKernel] Created KernelDeployment for: profileservice-secured.jar
15:10:07,883 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
15:10:07,883 INFO  [JBossASKernel]   with dependencies:
15:10:07,883 INFO  [JBossASKernel]   and demands:
15:10:07,883 INFO  [JBossASKernel] 	jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
15:10:07,883 INFO  [JBossASKernel] 	jboss.ejb:service=EJBTimerService
15:10:07,883 INFO  [JBossASKernel]   and supplies:
15:10:07,883 INFO  [JBossASKernel] 	Class:org.jboss.profileservice.spi.ProfileService
15:10:07,883 INFO  [JBossASKernel] 	jndi:SecureProfileService/remote
15:10:07,883 INFO  [JBossASKernel] 	jndi:SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService
15:10:07,883 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3) to KernelDeployment of: profileservice-secured.jar
15:10:07,883 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
15:10:07,883 INFO  [JBossASKernel]   with dependencies:
15:10:07,883 INFO  [JBossASKernel]   and demands:
15:10:07,883 INFO  [JBossASKernel] 	jboss.ejb:service=EJBTimerService
15:10:07,883 INFO  [JBossASKernel]   and supplies:
15:10:07,883 INFO  [JBossASKernel] 	jndi:SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager
15:10:07,883 INFO  [JBossASKernel] 	Class:org.jboss.deployers.spi.management.deploy.DeploymentManager
15:10:07,883 INFO  [JBossASKernel] 	jndi:SecureDeploymentManager/remote
15:10:07,883 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3) to KernelDeployment of: profileservice-secured.jar
15:10:07,883 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
15:10:07,883 INFO  [JBossASKernel]   with dependencies:
15:10:07,883 INFO  [JBossASKernel]   and demands:
15:10:07,883 INFO  [JBossASKernel] 	jboss.ejb:service=EJBTimerService
15:10:07,883 INFO  [JBossASKernel]   and supplies:
15:10:07,883 INFO  [JBossASKernel] 	jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
15:10:07,883 INFO  [JBossASKernel] 	Class:org.jboss.deployers.spi.management.ManagementView
15:10:07,883 INFO  [JBossASKernel] 	jndi:SecureManagementView/remote
15:10:07,883 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3) to KernelDeployment of: profileservice-secured.jar
15:10:07,899 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData at f5f77{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
15:10:07,899 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData at 1bd9f3d{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
15:10:07,899 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData at 98fc6a{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
15:10:08,024 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
15:10:08,039 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureDeploymentManager ejbName: SecureDeploymentManager
15:10:08,102 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

	SecureDeploymentManager/remote - EJB3.x Default Remote Business Interface
	SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager - EJB3.x Remote Business Interface

15:10:08,196 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
15:10:08,196 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureManagementView ejbName: SecureManagementView
15:10:08,211 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

	SecureManagementView/remote - EJB3.x Default Remote Business Interface
	SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView - EJB3.x Remote Business Interface

15:10:08,274 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
15:10:08,274 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureProfileServiceBean ejbName: SecureProfileService
15:10:08,305 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

	SecureProfileService/remote - EJB3.x Default Remote Business Interface
	SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService - EJB3.x Remote Business Interface

15:10:08,414 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=test_clustered_slsb.jar,name=TestServiceBean,service=EJB3
15:10:08,414 INFO  [JBossASKernel]   with dependencies:
15:10:08,414 INFO  [JBossASKernel]   and demands:
15:10:08,414 INFO  [JBossASKernel] 	jboss.ejb:service=EJBTimerService
15:10:08,414 INFO  [JBossASKernel]   and supplies:
15:10:08,414 INFO  [JBossASKernel] 	jndi:TestServiceBean/local
15:10:08,414 INFO  [JBossASKernel] 	Class:service.ITestServiceBeanManagement
15:10:08,414 INFO  [JBossASKernel] 	jndi:TestServiceBean/remote
15:10:08,414 INFO  [JBossASKernel] 	jndi:TestServiceBean/local-service.ITestServiceBeanLocal
15:10:08,414 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=test_clustered_slsb.jar,name=TestServiceBean,service=EJB3) to KernelDeployment of: test_clustered_slsb.jar
15:10:08,414 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=test_clustered_slsb.jar,name=TestClusteredBean,service=EJB3
15:10:08,414 INFO  [JBossASKernel]   with dependencies:
15:10:08,414 INFO  [JBossASKernel]   and demands:
15:10:08,414 INFO  [JBossASKernel] 	jboss.ejb:service=EJBTimerService
15:10:08,414 INFO  [JBossASKernel] 	jndi:TestServiceBean/local-service.ITestServiceBeanLocal
15:10:08,414 INFO  [JBossASKernel]   and supplies:
15:10:08,414 INFO  [JBossASKernel] 	jndi:TestClusteredBean/remote
15:10:08,414 INFO  [JBossASKernel] 	Class:session.ITestClusteredBean
15:10:08,414 INFO  [JBossASKernel] 	jndi:TestClusteredBean/remote-session.ITestClusteredBean
15:10:08,414 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=test_clustered_slsb.jar,name=TestClusteredBean,service=EJB3) to KernelDeployment of: test_clustered_slsb.jar
15:10:08,414 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData at ad588a{name=jboss.j2ee:jar=test_clustered_slsb.jar,name=TestClusteredBean,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
15:10:08,602 INFO  [PojoCacheImpl] PojoCache version: JBossCache 'Cascabel' 3.1.0.GA
15:10:08,618 INFO  [PojoCacheImpl] PojoCache version: JBossCache 'Cascabel' 3.1.0.GA
15:10:08,649 INFO  [PlatformMBeanServerRegistration] JBossCache MBeans were successfully registered to the platform mbean server.
15:10:08,711 INFO  [STDOUT] 
---------------------------------------------------------
GMS: address is 192.168.100.98:2353 (cluster=Wernie-UnistreamPojoCache)
---------------------------------------------------------
15:10:10,774 INFO  [RPCManagerImpl] Received new cluster view: [192.168.100.98:2353|0] [192.168.100.98:2353]
15:10:10,774 INFO  [RPCManagerImpl] Cache local address is 192.168.100.98:2353
15:10:10,774 INFO  [RPCManagerImpl] state was retrieved successfully (in 2,11 seconds)
15:10:10,774 INFO  [ComponentRegistry] JBoss Cache version: JBossCache 'Cascabel' 3.1.0.GA
15:10:10,930 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=test_clustered_slsb.jar,name=TestServiceBean,service=EJB3,type=ManagementInterface
15:10:10,930 INFO  [JBossASKernel]   with dependencies:
15:10:10,930 INFO  [JBossASKernel]   and demands:
15:10:10,930 INFO  [JBossASKernel] 	jboss.j2ee:jar=test_clustered_slsb.jar,name=TestServiceBean,service=EJB3
15:10:10,930 INFO  [JBossASKernel] 	jboss.ejb:service=EJBTimerService
15:10:10,930 INFO  [JBossASKernel]   and supplies:
15:10:10,930 INFO  [JBossASKernel] 	jndi:TestServiceBean/local
15:10:10,930 INFO  [JBossASKernel] 	Class:service.ITestServiceBeanManagement
15:10:10,930 INFO  [JBossASKernel] 	jndi:TestServiceBean/remote
15:10:10,930 INFO  [JBossASKernel] 	jndi:TestServiceBean/local-service.ITestServiceBeanLocal
15:10:10,930 INFO  [JBossASKernel] Installing bean(jboss.j2ee:jar=test_clustered_slsb.jar,name=TestServiceBean,service=EJB3,type=ManagementInterface) into kernel
15:10:10,961 WARN  [UniStreamCacheListener] ::::  UniStreamCacheListener created  ::::
15:10:10,961 INFO  [PojoCacheImpl] PojoCache version: JBossCache 'Cascabel' 3.1.0.GA
15:10:10,961 INFO  [STDOUT] Create of TestServiceBean
15:10:10,961 INFO  [EJBContainer] STARTED EJB: service.TestServiceBean ejbName: TestServiceBean
15:10:10,977 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

	TestServiceBean/local - EJB3.x Default Local Business Interface
	TestServiceBean/local-service.ITestServiceBeanLocal - EJB3.x Local Business Interface

15:10:11,024 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=test_clustered_slsb.jar,name=TestClusteredBean,service=EJB3
15:10:11,024 INFO  [EJBContainer] STARTED EJB: session.TestClusteredBean ejbName: TestClusteredBean
15:10:11,071 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

	TestClusteredBean/remote - EJB3.x Default Remote Business Interface
	TestClusteredBean/remote-session.ITestClusteredBean - EJB3.x Remote Business Interface

15:10:11,102 INFO  [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=#unistream
15:10:11,196 INFO  [Version] Hibernate Annotations 3.4.0.GA
15:10:11,227 INFO  [Environment] Hibernate 3.3.1.GA
15:10:11,242 INFO  [Environment] hibernate.properties not found
15:10:11,242 INFO  [Environment] Bytecode provider name : javassist
15:10:11,242 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
15:10:11,383 INFO  [Version] Hibernate Commons Annotations 3.1.0.GA
15:10:11,383 INFO  [Version] Hibernate EntityManager 3.4.0.GA
15:10:11,430 INFO  [Ejb3Configuration] Processing PersistenceUnitInfo [
	name: unistream
	...]
15:10:11,461 WARN  [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
15:10:11,570 INFO  [AnnotationBinder] Binding entity from annotated class: entity.Request
15:10:11,664 INFO  [EntityBinder] Bind entity entity.Request on table Request
15:10:11,680 ERROR [AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=#unistream state=Create
java.lang.VerifyError: (class: entity/Request, method: informDeviceStateWhileHavingFullLock signature: (Lentity/HelperClass;)V) Unable to pop operand off an empty stack
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
	at java.lang.Class.getDeclaredMethods(Class.java:1791)
	at org.hibernate.annotations.common.reflection.java.JavaXClass.getDeclaredMethodProperties(JavaXClass.java:89)
	at org.hibernate.annotations.common.reflection.java.JavaXClass.getDeclaredProperties(JavaXClass.java:106)
	at org.hibernate.annotations.common.reflection.java.JavaXClass.getDeclaredProperties(JavaXClass.java:98)
	at org.hibernate.cfg.AnnotationBinder.addElementsOfAClass(AnnotationBinder.java:1023)
	at org.hibernate.cfg.AnnotationBinder.getElementsToProcess(AnnotationBinder.java:859)
	at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:667)
	at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:546)
	at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:291)
	at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1148)
	at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1226)
	at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:173)
	at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:854)
	at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:425)
	at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:131)
	at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:301)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
	at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
	at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
	at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
	at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
	at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
	at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
	at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
	at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
	at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
	at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
	at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
	at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
	at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
	at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
	at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
	at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
	at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
	at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
	at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
	at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
	at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
	at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
	at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
	at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
	at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
	at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
	at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
	at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
	at org.jboss.Main.boot(Main.java:221)
	at org.jboss.Main$1.run(Main.java:556)
	at java.lang.Thread.run(Thread.java:619)
15:10:11,774 INFO  [TomcatDeployment] deploy, ctxPath=/admin-console
15:10:11,852 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console'
15:10:15,680 INFO  [TomcatDeployment] deploy, ctxPath=/
15:10:15,726 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console
15:10:15,883 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

DEPLOYMENTS IN ERROR:
  Deployment "persistence.unit:unitName=#unistream" is in error due to the following reason(s): java.lang.VerifyError: (class: entity/Request, method: informDeviceStateWhileHavingFullLock signature: (Lentity/HelperClass;)V) Unable to pop operand off an empty stack

15:10:15,883 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
15:10:15,914 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
15:10:15,930 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 1m:184ms


<----------------------END Stack trace ----------------------->





I forgot the ant file the first time. So now included the ant file and the properties file used by the build file.

> Using enum and switch with hybernate and jboss caching annotations gives an error while deploying in jboss AS5.1
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: JASSIST-90
>                 URL: https://jira.jboss.org/jira/browse/JASSIST-90
>             Project: Javassist
>          Issue Type: Bug
>         Environment: JBoss 5.1.0.GA  (according to javassist manifest version 3.9.0.GA which is not in versions list) Sun JDK/JRE build 1.6.0_11-b03 Windows XP 5.1, x86
>            Reporter: Werner van Mook
>            Assignee: Shigeru Chiba
>
> In an entity bean of type Request (See source) a method is defined with a switch statement. The switch statement is using enum values in the case. The Request class has annotations @Entity and @Replicable and for some object methods @Id and @GeneratedValue.
> In a class called HelperClass (See source) an enum is defined. The HelperClass has annotation @Replicable.
> After compile with ant script (See source) and starting JBoss with "-c all" an VerifyError occurs (See stackTrace)
> Changing the switch statement into a nested if / else block makes it work.
> <---------src---------->
> Request.java:
> package entity;
> import javax.persistence.Entity;
> import javax.persistence.GeneratedValue;
> import javax.persistence.Id;
> import org.jboss.cache.pojo.annotation.Replicable;
> @Entity
> @Replicable
> public class Request {
> 	
> 	private long id;
> 	private String filename;
> 	
> 	
> 	public Request(){
> 	}
> 	/**
> 	 * @return the id
> 	 */
> 	@Id
> 	@GeneratedValue
> 	public long getId() {
> 		return id;
> 	}
> 	/**
> 	 * @param id the id to set
> 	 */
> 	public void setId(long id) {
> 		this.id = id;
> 	}
> 	/**
> 	 * @return the filename
> 	 */
> 	public String getFilename() {
> 		return filename;
> 	}
> 	/**
> 	 * @param filename the filename to set
> 	 */
> 	public void setFilename(String filename) {
> 		this.filename = filename;
> 	}
> 	@Override
> 	public String toString() {
> 		return "id: " + id + " filename: " + filename;
> 	}
> 	
> 	public void inform() {
> 		HelperClass help = new HelperClass();
> 		informDeviceStateWhileHavingFullLock(help);
> 	}
> 	
> 	private void informDeviceStateWhileHavingFullLock(HelperClass osDeviceState) {
> 		switch (osDeviceState.getRuntimeStateRange()) {		
> 			case PROBLEM_CONNECTING: 
> 				System.out.println(osDeviceState.EnumgetRuntimeState());
> 				break; 
> 			case PROBLEM_SENDING:
> 				System.out.println(osDeviceState.EnumgetRuntimeState());
> 				break; 
> 			case CONNECTED:
> 				System.out.println(osDeviceState.EnumgetRuntimeState());
> 				break; 
> 			case INVALID:
> 				System.out.println(osDeviceState.EnumgetRuntimeState());
> 				break; 
> 			case INTERRUPTED:
> 				System.out.println(osDeviceState.EnumgetRuntimeState());
> 				break; 
> 			case STOPPED:
> 				System.out.println(osDeviceState.EnumgetRuntimeState());
> 				break; 
> 			default:
> 				System.out.println("Device state default is always ignored");			
> 				break;
> 		}
> 	}
> }
> HelperClass.java
> package entity;
> import org.jboss.cache.pojo.annotation.Replicable;
> import org.jboss.cache.pojo.annotation.Transient;
> @Replicable
> public class HelperClass {
> 	private RuntimeStateRange runtimeState = RuntimeStateRange.RESTING;
> 	
> 	public static enum RuntimeStateRange {
> 		OFFLINE, 
> 		CONNECTED, 
> 		PROBLEM, 
> 		PROBLEM_CONNECTING,
> 		PROBLEM_SENDING,
> 		INTERRUPTED,
> 		STOPPED,
> 		INVALID,
> 		RESTING,
> 		BUSY,
> 		INITIALIZING }; 
> 		
> 	public HelperClass() {
> 		System.out.println("HelperClass created.");
> 	}
> 	public int EnumgetRuntimeState() {
> 		return runtimeState.ordinal();
> 	}
> 	
> 	public RuntimeStateRange getRuntimeStateRange(){
> 		return runtimeState;
> 	}
> }
> <--------------------------END src --------------->
> <-------------------Stack trace ------------------>
> 15:09:15,730 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
> 15:09:15,730 INFO  [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)
> 15:09:15,730 INFO  [ServerImpl] Bootstrap URL: null
> 15:09:15,730 INFO  [ServerImpl] Home Dir: C:\Java\jboss-5.1.0.GA
> 15:09:15,730 INFO  [ServerImpl] Home URL: file:/C:/Java/jboss-5.1.0.GA/
> 15:09:15,730 INFO  [ServerImpl] Library URL: file:/C:/Java/jboss-5.1.0.GA/lib/
> 15:09:15,730 INFO  [ServerImpl] Patch URL: null
> 15:09:15,730 INFO  [ServerImpl] Common Base URL: file:/C:/Java/jboss-5.1.0.GA/common/
> 15:09:15,746 INFO  [ServerImpl] Common Library URL: file:/C:/Java/jboss-5.1.0.GA/common/lib/
> 15:09:15,746 INFO  [ServerImpl] Server Name: all
> 15:09:15,746 INFO  [ServerImpl] Server Base Dir: C:\Java\jboss-5.1.0.GA\server
> 15:09:15,746 INFO  [ServerImpl] Server Base URL: file:/C:/Java/jboss-5.1.0.GA/server/
> 15:09:15,746 INFO  [ServerImpl] Server Config URL: file:/C:/Java/jboss-5.1.0.GA/server/all/conf/
> 15:09:15,746 INFO  [ServerImpl] Server Home Dir: C:\Java\jboss-5.1.0.GA\server\all
> 15:09:15,746 INFO  [ServerImpl] Server Home URL: file:/C:/Java/jboss-5.1.0.GA/server/all/
> 15:09:15,746 INFO  [ServerImpl] Server Data Dir: C:\Java\jboss-5.1.0.GA\server\all\data
> 15:09:15,746 INFO  [ServerImpl] Server Library URL: file:/C:/Java/jboss-5.1.0.GA/server/all/lib/
> 15:09:15,746 INFO  [ServerImpl] Server Log Dir: C:\Java\jboss-5.1.0.GA\server\all\log
> 15:09:15,746 INFO  [ServerImpl] Server Native Dir: C:\Java\jboss-5.1.0.GA\server\all\tmp\native
> 15:09:15,746 INFO  [ServerImpl] Server Temp Dir: C:\Java\jboss-5.1.0.GA\server\all\tmp
> 15:09:15,746 INFO  [ServerImpl] Server Temp Deploy Dir: C:\Java\jboss-5.1.0.GA\server\all\tmp\deploy
> 15:09:16,355 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/Java/jboss-5.1.0.GA/server/all/conf/bootstrap.xml
> 15:09:16,886 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
> 15:09:16,886 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
> 15:09:17,152 INFO  [CopyMechanism] VFS temp dir: C:\Java\jboss-5.1.0.GA\server\all\tmp
> 15:09:17,152 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
> 15:09:18,043 INFO  [ServerInfo] Java version: 1.6.0_11,Sun Microsystems Inc.
> 15:09:18,043 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
> 15:09:18,043 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 11.0-b16,Sun Microsystems Inc.
> 15:09:18,043 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
> 15:09:18,043 INFO  [ServerInfo] VM arguments: -Djboss.home=C:/Java/jboss-5.1.0.GA -Djava.library.path=C:/Program Files/Java/jdk1.6.0_11/bin -Djava.endorsed.dirs=C:/Java/jboss-5.1.0.GA/lib/endorsed -Xms256m -Xmx512m -XX:MaxPermSize=256m -Djboss.partition.name=Wernie -Dfile.encoding=Cp1252 
> 15:09:18,105 INFO  [JMXKernel] Legacy JMX core initialized
> 15:09:19,652 INFO  [ProfileServiceBootstrap] Loading profile: ProfileKey at 453dd5[domain=default, server=default, name=all]
> 15:09:21,246 INFO  [WebService] Using RMI server codebase: http://HHDEV06:8083/
> 15:09:26,089 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
> 15:09:26,089 INFO  [NativeServerConfig] 3.1.2.GA
> 15:09:26,886 INFO  [AttributeCallbackItem] Owner callback not implemented.
> 15:09:28,495 INFO  [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl at 23d278[ defaultDomain='jboss' ]
> 15:09:40,151 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 22212860{vfsfile:/C:/Java/jboss-5.1.0.GA/server/all/deploy/profileservice-secured.jar/}
> 15:09:40,151 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 22212860{vfsfile:/C:/Java/jboss-5.1.0.GA/server/all/deploy/profileservice-secured.jar/}
> 15:09:40,151 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 22212860{vfsfile:/C:/Java/jboss-5.1.0.GA/server/all/deploy/profileservice-secured.jar/}
> 15:09:40,151 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 22212860{vfsfile:/C:/Java/jboss-5.1.0.GA/server/all/deploy/profileservice-secured.jar/}
> 15:09:40,182 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 1507654{vfszip:/C:/Java/jboss-5.1.0.GA/server/all/deploy/test_clustered_slsb.jar/}
> 15:09:40,182 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 1507654{vfszip:/C:/Java/jboss-5.1.0.GA/server/all/deploy/test_clustered_slsb.jar/}
> 15:09:41,322 INFO  [CorbaNamingService] CORBA Naming Started
> 15:09:45,869 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://HHDEV06/jndi/rmi://HHDEV06:1090/jmxconnector
> 15:09:46,103 INFO  [MailService] Mail Service bound to java:/Mail
> 15:09:46,681 INFO  [SnmpAgentService] SNMP agent going active
> 15:09:49,166 INFO  [Wernie] Initializing partition Wernie
> 15:09:49,291 INFO  [STDOUT] 
> ---------------------------------------------------------
> GMS: address is 192.168.100.98:2335 (cluster=Wernie)
> ---------------------------------------------------------
> 15:09:49,416 INFO  [PlatformMBeanServerRegistration] JBossCache MBeans were successfully registered to the platform mbean server.
> 15:09:49,447 INFO  [STDOUT] 
> ---------------------------------------------------------
> GMS: address is 192.168.100.98:2335 (cluster=Wernie-HAPartitionCache)
> ---------------------------------------------------------
> 15:09:51,369 INFO  [Wernie] Number of cluster members: 1
> 15:09:51,384 INFO  [Wernie] Other members: 0
> 15:09:51,462 INFO  [RPCManagerImpl] Received new cluster view: [192.168.100.98:2335|0] [192.168.100.98:2335]
> 15:09:51,462 INFO  [RPCManagerImpl] Cache local address is 192.168.100.98:2335
> 15:09:51,462 INFO  [RPCManagerImpl] state was retrieved successfully (in 2,02 seconds)
> 15:09:51,478 INFO  [ComponentRegistry] JBoss Cache version: JBossCache 'Cascabel' 3.1.0.GA
> 15:09:51,478 INFO  [Wernie] Fetching serviceState (will wait for 30000 milliseconds):
> 15:09:51,478 INFO  [Wernie] State could not be retrieved (we are the first member in group)
> 15:09:51,556 INFO  [HANamingService] Started HAJNDI bootstrap; jnpPort=1100, backlog=50, bindAddress=/0.0.0.0
> 15:09:51,572 INFO  [DetachedHANamingService$AutomaticDiscovery] Listening on /0.0.0.0:1102, group=230.0.0.4, HA-JNDI address=192.168.100.98:1100
> 15:09:52,494 INFO  [UnifiedInvokerHA] Service name is jboss:service=invoker,type=unifiedha
> 15:09:53,040 WARN  [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
> 15:09:53,072 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
> 15:09:53,212 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
> 15:09:53,290 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version - tag:JBOSSTS_4_6_1_GA) - JBoss Inc.
> 15:09:53,290 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
> 15:09:54,337 INFO  [TransactionManagerService] Initializing recovery manager
> 15:09:54,478 INFO  [TransactionManagerService] Recovery manager configured
> 15:09:54,478 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
> 15:09:54,525 INFO  [TransactionManagerService] Starting transaction recovery manager
> 15:09:55,025 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:/Program Files/Java/jdk1.6.0_11/bin
> 15:09:55,087 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
> 15:09:55,087 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-0.0.0.0-8009
> 15:09:55,103 INFO  [StandardService] Starting service jboss.web
> 15:09:55,118 INFO  [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.3.GA
> 15:09:55,181 INFO  [Catalina] Server startup in 91 ms
> 15:09:55,197 INFO  [TomcatDeployment] deploy, ctxPath=/juddi
> 15:09:55,743 INFO  [RegistryServlet] Loading jUDDI configuration.
> 15:09:55,743 INFO  [RegistryServlet] Resources loaded from: /WEB-INF/juddi.properties
> 15:09:55,743 INFO  [RegistryServlet] Initializing jUDDI components.
> 15:09:55,962 INFO  [TomcatDeployment] deploy, ctxPath=/invoker
> 15:09:56,009 INFO  [TomcatDeployment] deploy, ctxPath=/web-console
> 15:09:57,462 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws
> 15:09:57,618 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/Java/jboss-5.1.0.GA/server/all/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
> 15:09:57,634 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/Java/jboss-5.1.0.GA/server/all/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
> 15:09:57,665 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/Java/jboss-5.1.0.GA/server/all/deploy/jms-ra.rar/META-INF/ra.xml
> 15:09:57,696 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/Java/jboss-5.1.0.GA/server/all/deploy/mail-ra.rar/META-INF/ra.xml
> 15:09:57,712 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/Java/jboss-5.1.0.GA/server/all/deploy/quartz-ra.rar/META-INF/ra.xml
> 15:09:57,806 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
> 15:09:57,853 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
> 15:09:57,853 INFO  [RAMJobStore] RAMJobStore initialized.
> 15:09:57,853 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
> 15:09:57,853 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
> 15:09:57,853 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
> 15:09:58,368 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
> 15:09:58,915 INFO  [ServerPeer] JBoss Messaging 1.4.3.GA server [0] started
> 15:09:59,134 INFO  [STDOUT] 
> ---------------------------------------------------------
> GMS: address is 192.168.100.98:2335 (cluster=MessagingPostOffice-CTRL)
> ---------------------------------------------------------
> 15:10:01,149 INFO  [GroupMember] org.jboss.messaging.core.impl.postoffice.GroupMember$ControlMembershipListener at 52bb2d got new view [192.168.100.98:2335|0] [192.168.100.98:2335], old view is null
> 15:10:01,149 INFO  [GroupMember] I am (192.168.100.98:2335)
> 15:10:01,149 INFO  [GroupMember] New Members : 1 ([192.168.100.98:2335])
> 15:10:01,149 INFO  [GroupMember] All Members : 1 ([192.168.100.98:2335])
> 15:10:01,181 INFO  [STDOUT] 
> ---------------------------------------------------------
> GMS: address is 192.168.100.98:7900 (cluster=MessagingPostOffice-DATA)
> ---------------------------------------------------------
> 15:10:07,227 INFO  [ConnectionFactory] Connector bisocket://HHDEV06:4457 has leasing enabled, lease period 10000 milliseconds
> 15:10:07,227 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory at bfd4f6 started
> 15:10:07,258 INFO  [ConnectionFactory] Connector bisocket://HHDEV06:4457 has leasing enabled, lease period 10000 milliseconds
> 15:10:07,258 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory at 1c977ef started
> 15:10:07,274 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
> 15:10:07,305 INFO  [ConnectionFactory] Connector bisocket://HHDEV06:4457 has leasing enabled, lease period 10000 milliseconds
> 15:10:07,305 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory at 14647e5 started
> 15:10:07,305 INFO  [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
> 15:10:07,461 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
> 15:10:07,883 INFO  [JBossASKernel] Created KernelDeployment for: profileservice-secured.jar
> 15:10:07,883 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
> 15:10:07,883 INFO  [JBossASKernel]   with dependencies:
> 15:10:07,883 INFO  [JBossASKernel]   and demands:
> 15:10:07,883 INFO  [JBossASKernel] 	jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
> 15:10:07,883 INFO  [JBossASKernel] 	jboss.ejb:service=EJBTimerService
> 15:10:07,883 INFO  [JBossASKernel]   and supplies:
> 15:10:07,883 INFO  [JBossASKernel] 	Class:org.jboss.profileservice.spi.ProfileService
> 15:10:07,883 INFO  [JBossASKernel] 	jndi:SecureProfileService/remote
> 15:10:07,883 INFO  [JBossASKernel] 	jndi:SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService
> 15:10:07,883 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3) to KernelDeployment of: profileservice-secured.jar
> 15:10:07,883 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
> 15:10:07,883 INFO  [JBossASKernel]   with dependencies:
> 15:10:07,883 INFO  [JBossASKernel]   and demands:
> 15:10:07,883 INFO  [JBossASKernel] 	jboss.ejb:service=EJBTimerService
> 15:10:07,883 INFO  [JBossASKernel]   and supplies:
> 15:10:07,883 INFO  [JBossASKernel] 	jndi:SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager
> 15:10:07,883 INFO  [JBossASKernel] 	Class:org.jboss.deployers.spi.management.deploy.DeploymentManager
> 15:10:07,883 INFO  [JBossASKernel] 	jndi:SecureDeploymentManager/remote
> 15:10:07,883 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3) to KernelDeployment of: profileservice-secured.jar
> 15:10:07,883 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
> 15:10:07,883 INFO  [JBossASKernel]   with dependencies:
> 15:10:07,883 INFO  [JBossASKernel]   and demands:
> 15:10:07,883 INFO  [JBossASKernel] 	jboss.ejb:service=EJBTimerService
> 15:10:07,883 INFO  [JBossASKernel]   and supplies:
> 15:10:07,883 INFO  [JBossASKernel] 	jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
> 15:10:07,883 INFO  [JBossASKernel] 	Class:org.jboss.deployers.spi.management.ManagementView
> 15:10:07,883 INFO  [JBossASKernel] 	jndi:SecureManagementView/remote
> 15:10:07,883 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3) to KernelDeployment of: profileservice-secured.jar
> 15:10:07,899 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData at f5f77{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
> 15:10:07,899 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData at 1bd9f3d{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
> 15:10:07,899 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData at 98fc6a{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
> 15:10:08,024 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
> 15:10:08,039 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureDeploymentManager ejbName: SecureDeploymentManager
> 15:10:08,102 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
> 	SecureDeploymentManager/remote - EJB3.x Default Remote Business Interface
> 	SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager - EJB3.x Remote Business Interface
> 15:10:08,196 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
> 15:10:08,196 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureManagementView ejbName: SecureManagementView
> 15:10:08,211 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
> 	SecureManagementView/remote - EJB3.x Default Remote Business Interface
> 	SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView - EJB3.x Remote Business Interface
> 15:10:08,274 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
> 15:10:08,274 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureProfileServiceBean ejbName: SecureProfileService
> 15:10:08,305 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
> 	SecureProfileService/remote - EJB3.x Default Remote Business Interface
> 	SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService - EJB3.x Remote Business Interface
> 15:10:08,414 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=test_clustered_slsb.jar,name=TestServiceBean,service=EJB3
> 15:10:08,414 INFO  [JBossASKernel]   with dependencies:
> 15:10:08,414 INFO  [JBossASKernel]   and demands:
> 15:10:08,414 INFO  [JBossASKernel] 	jboss.ejb:service=EJBTimerService
> 15:10:08,414 INFO  [JBossASKernel]   and supplies:
> 15:10:08,414 INFO  [JBossASKernel] 	jndi:TestServiceBean/local
> 15:10:08,414 INFO  [JBossASKernel] 	Class:service.ITestServiceBeanManagement
> 15:10:08,414 INFO  [JBossASKernel] 	jndi:TestServiceBean/remote
> 15:10:08,414 INFO  [JBossASKernel] 	jndi:TestServiceBean/local-service.ITestServiceBeanLocal
> 15:10:08,414 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=test_clustered_slsb.jar,name=TestServiceBean,service=EJB3) to KernelDeployment of: test_clustered_slsb.jar
> 15:10:08,414 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=test_clustered_slsb.jar,name=TestClusteredBean,service=EJB3
> 15:10:08,414 INFO  [JBossASKernel]   with dependencies:
> 15:10:08,414 INFO  [JBossASKernel]   and demands:
> 15:10:08,414 INFO  [JBossASKernel] 	jboss.ejb:service=EJBTimerService
> 15:10:08,414 INFO  [JBossASKernel] 	jndi:TestServiceBean/local-service.ITestServiceBeanLocal
> 15:10:08,414 INFO  [JBossASKernel]   and supplies:
> 15:10:08,414 INFO  [JBossASKernel] 	jndi:TestClusteredBean/remote
> 15:10:08,414 INFO  [JBossASKernel] 	Class:session.ITestClusteredBean
> 15:10:08,414 INFO  [JBossASKernel] 	jndi:TestClusteredBean/remote-session.ITestClusteredBean
> 15:10:08,414 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=test_clustered_slsb.jar,name=TestClusteredBean,service=EJB3) to KernelDeployment of: test_clustered_slsb.jar
> 15:10:08,414 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData at ad588a{name=jboss.j2ee:jar=test_clustered_slsb.jar,name=TestClusteredBean,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
> 15:10:08,602 INFO  [PojoCacheImpl] PojoCache version: JBossCache 'Cascabel' 3.1.0.GA
> 15:10:08,618 INFO  [PojoCacheImpl] PojoCache version: JBossCache 'Cascabel' 3.1.0.GA
> 15:10:08,649 INFO  [PlatformMBeanServerRegistration] JBossCache MBeans were successfully registered to the platform mbean server.
> 15:10:08,711 INFO  [STDOUT] 
> ---------------------------------------------------------
> GMS: address is 192.168.100.98:2353 (cluster=Wernie-UnistreamPojoCache)
> ---------------------------------------------------------
> 15:10:10,774 INFO  [RPCManagerImpl] Received new cluster view: [192.168.100.98:2353|0] [192.168.100.98:2353]
> 15:10:10,774 INFO  [RPCManagerImpl] Cache local address is 192.168.100.98:2353
> 15:10:10,774 INFO  [RPCManagerImpl] state was retrieved successfully (in 2,11 seconds)
> 15:10:10,774 INFO  [ComponentRegistry] JBoss Cache version: JBossCache 'Cascabel' 3.1.0.GA
> 15:10:10,930 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=test_clustered_slsb.jar,name=TestServiceBean,service=EJB3,type=ManagementInterface
> 15:10:10,930 INFO  [JBossASKernel]   with dependencies:
> 15:10:10,930 INFO  [JBossASKernel]   and demands:
> 15:10:10,930 INFO  [JBossASKernel] 	jboss.j2ee:jar=test_clustered_slsb.jar,name=TestServiceBean,service=EJB3
> 15:10:10,930 INFO  [JBossASKernel] 	jboss.ejb:service=EJBTimerService
> 15:10:10,930 INFO  [JBossASKernel]   and supplies:
> 15:10:10,930 INFO  [JBossASKernel] 	jndi:TestServiceBean/local
> 15:10:10,930 INFO  [JBossASKernel] 	Class:service.ITestServiceBeanManagement
> 15:10:10,930 INFO  [JBossASKernel] 	jndi:TestServiceBean/remote
> 15:10:10,930 INFO  [JBossASKernel] 	jndi:TestServiceBean/local-service.ITestServiceBeanLocal
> 15:10:10,930 INFO  [JBossASKernel] Installing bean(jboss.j2ee:jar=test_clustered_slsb.jar,name=TestServiceBean,service=EJB3,type=ManagementInterface) into kernel
> 15:10:10,961 WARN  [UniStreamCacheListener] ::::  UniStreamCacheListener created  ::::
> 15:10:10,961 INFO  [PojoCacheImpl] PojoCache version: JBossCache 'Cascabel' 3.1.0.GA
> 15:10:10,961 INFO  [STDOUT] Create of TestServiceBean
> 15:10:10,961 INFO  [EJBContainer] STARTED EJB: service.TestServiceBean ejbName: TestServiceBean
> 15:10:10,977 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
> 	TestServiceBean/local - EJB3.x Default Local Business Interface
> 	TestServiceBean/local-service.ITestServiceBeanLocal - EJB3.x Local Business Interface
> 15:10:11,024 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=test_clustered_slsb.jar,name=TestClusteredBean,service=EJB3
> 15:10:11,024 INFO  [EJBContainer] STARTED EJB: session.TestClusteredBean ejbName: TestClusteredBean
> 15:10:11,071 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
> 	TestClusteredBean/remote - EJB3.x Default Remote Business Interface
> 	TestClusteredBean/remote-session.ITestClusteredBean - EJB3.x Remote Business Interface
> 15:10:11,102 INFO  [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=#unistream
> 15:10:11,196 INFO  [Version] Hibernate Annotations 3.4.0.GA
> 15:10:11,227 INFO  [Environment] Hibernate 3.3.1.GA
> 15:10:11,242 INFO  [Environment] hibernate.properties not found
> 15:10:11,242 INFO  [Environment] Bytecode provider name : javassist
> 15:10:11,242 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
> 15:10:11,383 INFO  [Version] Hibernate Commons Annotations 3.1.0.GA
> 15:10:11,383 INFO  [Version] Hibernate EntityManager 3.4.0.GA
> 15:10:11,430 INFO  [Ejb3Configuration] Processing PersistenceUnitInfo [
> 	name: unistream
> 	...]
> 15:10:11,461 WARN  [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
> 15:10:11,570 INFO  [AnnotationBinder] Binding entity from annotated class: entity.Request
> 15:10:11,664 INFO  [EntityBinder] Bind entity entity.Request on table Request
> 15:10:11,680 ERROR [AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=#unistream state=Create
> java.lang.VerifyError: (class: entity/Request, method: informDeviceStateWhileHavingFullLock signature: (Lentity/HelperClass;)V) Unable to pop operand off an empty stack
> 	at java.lang.Class.getDeclaredMethods0(Native Method)
> 	at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
> 	at java.lang.Class.getDeclaredMethods(Class.java:1791)
> 	at org.hibernate.annotations.common.reflection.java.JavaXClass.getDeclaredMethodProperties(JavaXClass.java:89)
> 	at org.hibernate.annotations.common.reflection.java.JavaXClass.getDeclaredProperties(JavaXClass.java:106)
> 	at org.hibernate.annotations.common.reflection.java.JavaXClass.getDeclaredProperties(JavaXClass.java:98)
> 	at org.hibernate.cfg.AnnotationBinder.addElementsOfAClass(AnnotationBinder.java:1023)
> 	at org.hibernate.cfg.AnnotationBinder.getElementsToProcess(AnnotationBinder.java:859)
> 	at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:667)
> 	at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:546)
> 	at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:291)
> 	at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1148)
> 	at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1226)
> 	at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:173)
> 	at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:854)
> 	at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:425)
> 	at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:131)
> 	at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:301)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
> 	at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
> 	at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
> 	at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
> 	at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
> 	at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
> 	at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
> 	at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
> 	at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
> 	at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
> 	at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
> 	at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
> 	at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
> 	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
> 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
> 	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
> 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
> 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
> 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
> 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
> 	at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
> 	at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
> 	at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
> 	at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
> 	at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
> 	at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
> 	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
> 	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
> 	at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
> 	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
> 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
> 	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
> 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
> 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
> 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
> 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
> 	at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
> 	at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
> 	at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
> 	at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
> 	at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
> 	at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
> 	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
> 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
> 	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
> 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
> 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
> 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
> 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
> 	at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
> 	at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
> 	at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
> 	at org.jboss.Main.boot(Main.java:221)
> 	at org.jboss.Main$1.run(Main.java:556)
> 	at java.lang.Thread.run(Thread.java:619)
> 15:10:11,774 INFO  [TomcatDeployment] deploy, ctxPath=/admin-console
> 15:10:11,852 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console'
> 15:10:15,680 INFO  [TomcatDeployment] deploy, ctxPath=/
> 15:10:15,726 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console
> 15:10:15,883 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
> DEPLOYMENTS IN ERROR:
>   Deployment "persistence.unit:unitName=#unistream" is in error due to the following reason(s): java.lang.VerifyError: (class: entity/Request, method: informDeviceStateWhileHavingFullLock signature: (Lentity/HelperClass;)V) Unable to pop operand off an empty stack
> 15:10:15,883 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
> 15:10:15,914 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
> 15:10:15,930 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 1m:184ms
> <----------------------END Stack trace ----------------------->
> <----------------------- Ant file ------------------------->
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <!DOCTYPE project [
> 	<!ENTITY properties SYSTEM "../../../unispool7/config/buildfiles/properties.xml">
> ]>
> <project default="deploy2Jboss" name="TestClusteredSessionBean" basedir="../..">
> 	<!-- read the properties from file -->
> 	&properties;
> 	<target name="prepare">
> 		<path id="classpath">
> 			<path refid="jboss.aop.classpath"/>
> 			<path refid="jboss.class.path"/>
> 			<pathelement path="bin"/>
> 		</path>
> 	</target>
> 	<target name="compile" depends="prepare">
> 		<delete dir="bin"/>
> 		<mkdir dir="bin"/>
> 		<javac srcdir="src" destdir="bin" deprecation="on" optimize="off" includes="**">
> 			<classpath refid="classpath"/>
> 		</javac>
> 		<copy todir="bin" filtering="no">
> 			<fileset dir="config/properties">
> 				<include name="**/*.properties"/>
> 			</fileset>
> 			<fileset dir="config">
> 				<include name="**/persistence.xml"/>
> 				<include name="**/unistream-pojo-cache-jboss-beans.xml"/>
> 			</fileset>
> 		</copy>
> 	</target>
> 	<target name="aopc" depends="compile">
> 		<unjar src="${jbossServerLib}/jbosscache-pojo.jar" dest="bin">
> 			<mapper type="flatten"/>
> 			<patternset>
>         		<include name="**/pojocache-aop.xml"/>
>     		</patternset>
> 		</unjar>
> 		<aopc compilerclasspathref="classpath" classpathref="classpath" verbose="true">
> 			<classpath path="bin"/>
> 			<src path="bin"/>
> 			<aoppath path="bin/pojocache-aop.xml"/>
> 			<aopclasspath path="bin"/>
> 		</aopc>
> 	</target>
> 	<target name="package-server-jar" depends="aopc" description="Create JAR File">
> 		<jar destfile="build/test_clustered_slsb.jar">
> 			<fileset dir="bin">
>                 <include name="**/*.*"/>
>                 <exclude name="**/Main.*"/>
>                 <exclude name="**/jndi.properties"/>
>                 <exclude name="**/pojocache-aop.xml"/>
> 			</fileset>
> 		</jar>
> 	</target>
> 	<target name="run-compile-time" depends="aopc">
> 		<java fork="yes" failOnError="true" className="Main">
> 			<sysproperty key="jboss.aop.path" value="bin/pojocache-aop.xml"/>
> 			<sysproperty key="jboss.aop.class.path" value="bin"/>
> 			<classpath refid="classpath"/>
> 		</java>
> 	</target>
> 	
> 	<target name="deploy2Jboss" depends="package-server-jar" description="Deploy the JAR File to JBoss">
> 		<copy file="build/test_clustered_slsb.jar" tofile="C:\Java\jboss-5.1.0.GA\server\all\deploy\test_clustered_slsb.jar"/>
> 	</target>
> </project>
> The properties file used by ant:
> <!-- Read in the environment variables -->
> <property environment="env"/>
> <!-- Inits the properties -->
> <tstamp/>
> <!-- needed for if, switch tasks -->
> <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
> <taskdef resource="net/sf/antcontrib/antlib.xml"/>
> <!-- base directories -->
> <property name="src" location="${basedir}/src"/>
> <property name="conf" location="${basedir}/config"/>
> <property name="build" location="${basedir}/build"/>
> <property name="dist" location="${basedir}/dist"/>
> <property name="dist-obfuscated" location="${basedir}/dist-obfuscated"/>
> <property name="ext" location="${basedir}/ext"/>
> <property name="app" value="com/hollandhouse/unistream"/>
> <!-- src directories -->
> <property name="src" location="${src}"/>
> <property name="HhLog4j" location="${src}/com/hollandhouse/unistream/framework/log/log4j/"/>
> <!-- conf directories -->
> <property name="conf-xml" location="${conf}/XML"/>
> <property name="conf-jboss" location="${conf}/JBoss"/>
> <property name="conf-properties" location="${conf}/properties"/>
> <property name="conf-properties-server" location="${conf-properties}/server"/>
> <property name="conf-properties-agent" location="${conf-properties}/agent"/>
> <property name="conf-mergefiles" location="${conf}/mergefiles"/>
> <property name="conf-buildfiles" location="${conf}/buildfiles"/>
> <property name="conf-cache" location="${conf}/cache"/>
> <!-- build directories -->
> <property name="build-generated" location="${build}/generated"/>
> <property name="generated.java.dir" value="${build-generated}"/>
> <property name="build-classes" location="${build}/classes"/>
> <property name="build-resources" location="${build}/resources"/>
> <property name="build-doc" location="${build}/doc"/>
> <property name="build-web" location="${build}/web"/>
> <!-- file names -->
> <property name="ejb-file" value="unistream-ejb3.jar"/>
> <property name="ejb-agent-file" value="unistream-agent.jar"/>
> <property name="sar-file" value="unistream.sar"/>
> <property name="sar-agent-file" value="unistream-agent.sar"/>
> <property name="entities-jar-file" value="entities.jar"/>
> <property name="jar-entities-agent-file" value="entities-agent.jar"/>
> <property name="war-file" value="unistream.war"/>
> <property name="jar-hhlog4j-file" value="hhlog4j.jar"/>
> <property name="xml-hhlog4j-file" value="log4j_unistream.xml"/>
> <property name="common-file" value="unistream-framework.jar"/>
> <property name="cli-file" value="unistream-cli.jar"/>
> <property name="ear-file" value="unistream.ear"/>
> <property name="ear-agent-file" value="unistream-agent.ear"/>
> <property name="swing-gui-file" value="unistream-swing-gui.jar"/>
> <property name="swing-gui-doc-file" value="unistream-swing-gui-doc.zip"/>
> <property name="testpage-file" value="UNISTREAM-TESTFILE"/>
> <property name="usPojoCache-file" value="unistream-pojo-cache-jboss-beans.xml"/>
> <!-- build test directories -->
> <property name="build-tests" location="${build}/tests"/>
> <property name="build-reports" location="${build}/reports"/>
> <!-- jboss settings main -->
> <property name="jbossServerProfile" value="unistream_main"/>
> <property name="jbossServer" location="${env.JBOSS_HOME}/server/${jbossServerProfile}"/>
> <property name="jbossDeploy" location="${jbossServer}/deploy"/>
> <property name="jbossServerLib" location="${jbossServer}/lib"/>
> <property name="jbossConfig" location="${jbossServer}/conf"/>
> <!-- jboss settings agent -->
> <property name="jbossAgentProfile" value="unistream_agent"/>
> <property name="jbossAgent" location="${env.JBOSS_HOME}/server/${jbossAgentProfile}"/>
> <property name="jbossAgentDeploy" location="${jbossAgent}/deploy"/>
> <property name="jbossAgentLib" location="${jbossAgent}/lib"/>
> <property name="jbossAgentConfig" location="${jbossAgent}/conf"/>
> <!-- jboss settings common -->
> <property name="jbossLib" location="${env.JBOSS_HOME}/lib"/>
> <property name="jbossClientLib" value="${env.JBOSS_HOME}/client"/>
> <property name="jbossCommonLib" location="${env.JBOSS_HOME}/common/lib"/>
> <!--        <property name="jbossDataSource" value="java:/mysqlDS"/>
> <property name="jbossDataSourceMapping" value="mySQL"/> -->
> <property name="jbossDataSource" value="java:/DefaultDS"/>
> <property name="jbossDataSourceMapping" value="Hypersonic SQL"/>
> <!-- Temp General manifest file -->
> <property name="manifest-general" location="${build}/manifest_gen.txt"/>
> <!-- Temp ClassPath manifest file -->
> <property name="manifest-classpath" location="${build}/manifest_cp.txt"/>
> <property name="version-file" value="unistream-version"/>
> <!--  jboss properties files -->
> <property name="xml-hhlog4j-path" location="${conf-properties-server}/${xml-hhlog4j-file}"/>
> <property name="xml-hhlog4j-agent-path" location="${conf-properties-agent}/${xml-hhlog4j-file}"/>
> <!-- setup the project class paths -->
> <path id="jboss.class.path">
> 	<fileset dir="${jbossLib}">
> 		<include name="*.jar"/>
> 	</fileset>
> 	<fileset dir="${env.JBOSS_HOME}/client">
> 		<include name="*.jar"/>
> 	</fileset>
> 	<fileset dir="${jbossCommonLib}">
> 		<include name="*.jar"/>
> 	</fileset>
> 	<fileset dir="${jbossServerLib}">
> 		<include name="*.jar"/>
> 	</fileset>
> </path>
> <path id="ext.class.path">
> 	<path refid="jboss.class.path"/>
> 	<fileset dir="${ext}">
> 		<include name="**/*.jar"/>
> 	</fileset>
> </path>
> <path id="jboss.aop.classpath">
> 	<fileset dir="${jbossLib}">
> 		<include name="jboss-aop.jar"/>
> 	</fileset>
> </path>
> <!-- setup the project class paths -->
> <path id="project.class.path">
> 	<path refid="ext.class.path"/>
> 	<path refid="jboss.aop.classpath"/>
> </path>
> <!-- Define the JBoss AOP compiler Ant task -->
> <taskdef name="aopc" classname="org.jboss.aop.ant.AopC" classpathref="jboss.aop.classpath"/>
> <path id="junit.test.class.path">
> 	<path refid="ext.class.path"/>
> 	<fileset dir="${dist}">
> 		<include name="*.jar"/>
> 		<include name="*.sar"/>
> 		<exclude name="*-agent.*"/>
> 	</fileset>
> 	<pathelement location="${conf-properties}"/>
> 	<pathelement location="${build-classes}"/>
> </path>
> <!-- Project Libraries -->
> <property name="gui-jar-path" value="${basedir}/unistreamgui.jar"/>
> <path id="library.gui_jars.classpath">
> 	<pathelement location="${jbossClientLib}/commons-logging.jar"/>
> 	<pathelement location="${jbossClientLib}/concurrent.jar"/>
> 	<pathelement location="${jbossClientLib}/ejb3-persistence.jar"/>
> 	<pathelement location="${jbossClientLib}/hibernate-annotations.jar"/>
> 	<pathelement location="${jbossClientLib}/javassist.jar"/>
> 	<pathelement location="${jbossClientLib}/jbossall-client.jar"/>
> 	<pathelement location="${jbossClientLib}/jboss-aop-client.jar"/>
> 	<pathelement location="${jbossClientLib}/jboss-aspect-jdk50-client.jar"/>
> 	<pathelement location="${jbossClientLib}/jboss-common-core.jar"/>
> 	<pathelement location="${jbossClientLib}/jboss-ejb3-common-client.jar"/>
> 	<pathelement location="${jbossClientLib}/jboss-ejb3-core-client.jar"/>
> 	<pathelement location="${jbossClientLib}/jboss-ejb3-ext-api.jar"/>
> 	<pathelement location="${jbossClientLib}/jboss-ejb3-ext-api-impl.jar"/>
> 	<pathelement location="${jbossClientLib}/jboss-ejb3-proxy-impl-client.jar"/>
> 	<pathelement location="${jbossClientLib}/jboss-ejb3-proxy-spi-client.jar"/>
> 	<pathelement location="${jbossClientLib}/jboss-ejb3-security-client.jar"/>
> 	<pathelement location="${jbossClientLib}/jboss-integration.jar"/>
> 	<pathelement location="${jbossClientLib}/jboss-javaee.jar"/>
> 	<pathelement location="${jbossClientLib}/jboss-logging-log4j.jar"/>
> 	<pathelement location="${jbossClientLib}/jboss-logging-spi.jar"/>
> 	<pathelement location="${jbossClientLib}/jboss-mdr.jar"/>
> 	<pathelement location="${jbossClientLib}/jboss-messaging-client.jar"/>
> 	<pathelement location="${jbossClientLib}/jboss-remoting.jar"/>
> 	<pathelement location="${jbossClientLib}/jboss-security-spi.jar"/>
> 	<pathelement location="${jbossClientLib}/jboss-serialization.jar"/>
> 	<pathelement location="${jbossClientLib}/jbosssx-client.jar"/>
> 	<pathelement location="${jbossClientLib}/jnp-client.jar"/>
> 	<pathelement location="${jbossClientLib}/log4j.jar"/>
> 	<pathelement location="${jbossClientLib}/trove.jar"/>
> 	<pathelement location="${jbossCommonLib}/hibernate-core.jar"/>
> </path>
> <path id="library.javahelp.classpath">
> 	<pathelement location="${basedir}/jars/java help/jh2.0/javahelp/lib/jh.jar"/>
> </path>
> <!-- Global Libraries -->
> <path id="library.junit.classpath">
> 	<pathelement location="${basedir}/jars/junit-4.0/junit-4.0.jar"/>
> </path>
> <----------------------END Ant file -------------->

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list