[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [glassfish-dev] GlassFish Fails with Arquillian | 
- From: Reza Rahman <reza_rahman@xxxxxxxx>
- Date: Mon, 24 Mar 2025 10:44:42 -0400
- Delivered-to: glassfish-dev@xxxxxxxxxxx
- List-archive: <https://www.eclipse.org/mailman/private/glassfish-dev/>
- List-help: <mailto:glassfish-dev-request@eclipse.org?subject=help>
- List-subscribe: <https://www.eclipse.org/mailman/listinfo/glassfish-dev>, <mailto:glassfish-dev-request@eclipse.org?subject=subscribe>
- List-unsubscribe: <https://www.eclipse.org/mailman/options/glassfish-dev>, <mailto:glassfish-dev-request@eclipse.org?subject=unsubscribe>
- Ui-outboundreport: notjunk:1;M01:P0:IxKZWlA70NI=;UKg9jRDxrm+MaSwTqmQJZtQuUBD fAP66WuJ2WchDDKVioHN3rjfSbRK9glU8eTC9bb8EsBSUHIqp12aaYAxlikIJHjiuMr/0HNem qy92E7InswuR1/F7Lm8jOX7URteSH1BpQk3kPhua1FSzg7ifhfdQc/iKlBH2zprQ2RWxi7LWI 39oVcF8yM1YdgbPRMhNUxOcN3ILHWzqhjU5OAnpgePKDQ4lUJe5CPYtH4nkt4n2zeXYG/JFxZ NvdzRmd0kq3cXXnFfdMQ+9i/3JJHg17iBHxGIvYqusyEcoHTqIrVtgDn6FrAOksGVo7THFx2M Eb1C2hF2hiL7Zl28WPw5BcYKm+0p/GJemRl0iM9iQnMbEsufqaGzQmMAgEhu20ya8KFgqixqe ORs3LDh0FaWGtPSvwHhnGh4WlosL9kHvIZSRgIzHQSH0N8Sljs9cNeOaFU5KMx1zgou7MRCrb /LHWr8s5DDBH9IQ7Rn/Jo7XqUKtsgWzK7APaqi4vvVFgC417qc8HnAeavMJRshj6PCP43ACsn dO/KPvF5UFWTruUWpTUxmRTk1d1RuhLgB3kqVSSeOzmM7/LJ/BJnoxySMAFsbPHPsA4bcCCMT UIj+Q4N5JRMmoH26SlbmOYeY8YJ4jVxo4/Xw7LXPY5Cj+R2hdpCQscfCzT+Z7qIMHVcThIa/V Ij6f1LwuAXSe5IVQZYsa79kC6m61lENDfmbLKVNW+48VXFdx80JJOxm5awsrbpZrjavyF3bGE vMAcPv5FrB4Vl7nDbjmpLTupTbY3Zp9gbPjLnuyINR0DdnK3+KzOe5JGlBeGsl5vWnY3Sf0y7 h/hrS6Uzq0nWjccXGFr2CSRb0dCZUTN+lB9XV0MrpD9YzLnCBtIyCrIq1kd87zf3HqhmQk/Uu 2lWsNlvoSU/EzKGa+oOkgiHH5BHhsSBxczeAFD+6/y3nJXWkUJYyN6zAirm0WmxyQFxB9zFBH 9joXs9KZGrjTuFs7vRcBPGxeUvTPXAJBnAv40TvpzNFSZxcg/cSuIGeCo6UjEbWMdeDqNCkwi 2HWh8KVxhAZH8LlObkQBz4YRZbLkKVZMh/hQr3GtWjrgH4kdvYa5yPl4nOSb8OC8YrXBTP5Gl Gw34YTOK30Ir6G6Pd0vZxRHZes9bTFDOlNiEsNJxGBy4fJg9QYeI4upGRW8v0wbLvyPzbA9ZA Z9SOVL/ymipFQsAev9heDaQONVCp0y04nGjHBL8phAyrYc+2T2VHuJOyFtbmlYkdzzw+kEksA soQmkkzz8EnSMlqolw/ZMWpbqtCCc4gEKD0Tz89PUfXDA9ImpK1/PUC7vMR25UU4+uI77MA7g Lawh6oMfHEdL5dKAtB+gJ7mgvDSy4OuGv4saZK8EO6/nzTsLzhOid1dp9prXEEHdvUyip0Qgb BSVuP6NANoH4t+pJGLsvqecfiF8FRHH/mYwaY4TfOVHwQ6XDDoe+PRLJ5miik21Qe8etLfHko GkPus9B4hsGs+dFuxWOMnoyEq2j8cHpOlaOyaoWqjUxKn46qUOUgikZsmxkWqU5MXn5Iw5A==
- User-agent: Mozilla Thunderbird
  
  
    This is what I did:
    C:\GitHub\cargotracker> cd "C:\Program Files\Eclipse
      Adoptium\jdk-17.0.8.101-hotspot\bin\"
    C:\Program Files\Eclipse Adoptium\jdk-17.0.8.101-hotspot\bin>
      java.exe -jar
"C:\GitHub\cargotracker\target\glassfish7\glassfish\modules\admin-cli.jar"
      start-domain -t
    This is the output I get:
    Waiting finished after 48,817 ms.
      Successfully started the domain : domain1
      domain  Location:
      C:\GitHub\cargotracker\target\glassfish7\glassfish\domains\domain1
      Log File:
C:\GitHub\cargotracker\target\glassfish7\glassfish\domains\domain1\logs\server.log
      Admin Port: 4,848
    This still could be an issue, but at least the above works.
    On 3/24/2025 6:17 AM, Arjan Tijms via
      glassfish-dev wrote:
    
    
      
      Hi,
        
        
        It looks like a rather basic thing:
        
        
        "org.jboss.arquillian.container.spi.client.container.LifecycleException:
            Unable to execute [C:\Program Files\Eclipse
            Adoptium\jdk-17.0.8.101-hotspot\bin\java.exe, -jar,
C:\GitHub\cargotracker\target\glassfish7\glassfish\modules\admin-cli.jar,
            start-domain, -t]"
        
          
        Can you double check if the
            JDK is indeed at that location?
        
          
        Kind regards,
        Arjan Tijms
        
          
        
          
        
          
      
      
        
        
          
            Can you try if it also happens on Linux/Mac? When I run
              the BookingServiceTest test with "maven test -Pglassfish"
              on master branch on Linux, it works.
            
            
            I suspect that the problem is only on Windows, can you
              confirm it, Reza?
            
            
            Ondro
           
          
          
            
            
              
                When I try with the OmniFish plugin, I get a slightly
                  different error with the same overall symptoms. The
                  stack trace is attached. 
                
                On 3/23/2025 6:36 PM, Reza Rahman wrote:
                
                
                  Thanks very much for taking a look. I
                    can try the OmniFish plugin as a test.
                  
                  
                  However, I cannot use it in the project
                    in relation to GlassFish. I must use something in
                    the GlassFish or Arquillian domain instead. I’ve
                    already checked with the EMO on this. My hope would
                    be that either the Arquillian plugin is properly
                    maintained or a plugin is created within the
                    GlassFish project. Alternatively, I would not mind
                    adding support for an OmniFish branded runtime.
                    That’s also something that the EMO has suggested.
                  
                  
                  
                  
                  Hi,
                  
                  
                  I haven't tried anything yet, but from
                    a cursory glance at master the first thing that
                    stands out is that for GlassFish an alpha version of
                    the unmaintained JBoss Arquillian connector is used,
                    that was only suited for GlassFish 6:
                  
                  
                   <dependency>
                             
                    <groupId>org.jboss.arquillian.container</groupId>
                             
                    <artifactId>arquillian-glassfish-managed-6</artifactId>
                             
                    <version>1.0.0.Alpha1</version>
                              <scope>test</scope>
                    </dependency>
                    
                  
                  Maybe that could explain some?
                  
                  
                  You could try with:
                  
                  
                  <dependency>
                               
                    <groupId>org.omnifaces.arquillian</groupId>
                               
                    <artifactId>arquillian-glassfish-server-managed</artifactId>
                                <version>1.7</version>
                                <scope>test</scope>
                    </dependency>
                  
                  
                  Kind regards,
                  Arjan Tijms
                  
                  
                  
                  
                  
                  
                  
                    Hello,
                      
                      The Cargo Tracker project (
https://github.com/eclipse-ee4j/cargotracker)
                      has tried to support GlassFish but once again I am
                      running into seeming
                      stability issues. While running tests with
                      Arquillian, the attached
                      issue now suddenly crops up. I have absolutely no
                      idea what is going on.
                      Honestly, this sort of thing never happens with
                      Payara or Liberty, which
                      are the two other runtimes Cargo Tracker supports.
                      
                      Is there someone here that can help? Otherwise I
                      will remove GlassFish
                      support from Cargo Tracker for now.
                      
                      Thanks,
                      
                      Reza
                      _______________________________________________
                      glassfish-dev mailing list
                      
glassfish-dev@xxxxxxxxxxx
                      To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/glassfish-dev
                    
                
               
              _______________________________________________
              glassfish-dev mailing list
              glassfish-dev@xxxxxxxxxxx
              To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/glassfish-dev
            
           
          _______________________________________________
          glassfish-dev mailing list
          glassfish-dev@xxxxxxxxxxx
          To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/glassfish-dev
        
       
      
      
      _______________________________________________
glassfish-dev mailing list
glassfish-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/glassfish-dev