[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| 
Re: [jakartaee-platform-dev] [External] : Re: Concurrency TCK without remote EJB, javax.rmi.RemoteException
 | 
  
  
    
    
    On 6/29/22 10:53 AM, Scott Stark wrote:
    
    
      
      I'm looking into it. I have setup the following
        temp ci jobs to build the snapshot tck and run against the web
        profile.
      
      
       Job to build EPL concurrency tck:
      
      
      
      Job to run web profile against it:
      
    
    Excellent progress!  The remaining failures are due to GlassFish
      7 Web Profile not being able to deploy EAR deployments (`Could not
      deploy 171f174a-01eb-4077-9ab6-2111296b2972.ear`).
    Scott
    
    
      
      
      
        
        
          
            
            
            
            
            
            
            
            
            
            Thanks,
            Scott
            
            
            
              
                
                  
                    
                    
                    regards,
                    Guru
                    
                    
                    
                    
                      So there is a successful run
                        against the web profile here:
                      
                      
                      
                      I don't know what went into that.
                      
                      
                      From the server.log of your run,
                        there are several additional errors like:
                      
                      
                      
                        Caused by: java.lang.RuntimeException: Invalid application.  EJB CounterSingleton exposes a Remote client view. This feature is not part of the EJB 3.1 Lite API
	at com.sun.ejb.containers.BaseContainer.assertFullProfile(BaseContainer.java:1029)
	at com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:557)
	at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:111)
	at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:105)
	at com.sun.ejb.containers.StatelessContainerFactory.createContainer(StatelessContainerFactory.java:37)
	at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:198)
	... 66 more
                       
                      The concurrency tck used can't be
                        the updated version as there is only one
                        CounterSingleton class in the tck, and it is
                        now:
                      
                        @Stateless
public class CounterSingleton implements Counter {
   private int count = 0;
   public void inc() {
      count++;
   }
   public int getCount() {
      return count;
   }
   public void reset() {
      count = 0;
   }
}
                       
                      
                      
                      
                        public interface Counter {
   public void inc();
   public int getCount();
   public void reset();
}
                       
                      
                     
                   
                
               
             
           
          
        
       
      
      
      _______________________________________________
jakartaee-platform-dev mailing list
jakartaee-platform-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jakartaee-platform-dev