directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <seelm...@apache.org>
Subject Re: Unknown JVM for tests?
Date Sun, 06 Jun 2010 20:40:58 GMT
This test checks for the JVM vendor. It includes "BEA Systems, Inc.",
but as JRockit is now owned by Oracle the vendor name seems to be changed.

Can you please run
  mvn help:system | grep "java.vm.vendor"
to get the new vendor name?

Thanks,
Stefan

PS: What will happen with the vendor string "Sun Microsystems Inc."?


Felix Knecht wrote:
> Strange, this doesn't works:
> 
> ~/svn/apache/directory/apacheds-trunk-with-dependencies/apacheds $ java
> -version
> java version "1.6.0_17"
> Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
> Oracle JRockit(R) (build
> R28.0.0-679-130297-1.6.0_17-20100312-2121-linux-x86_64, compiled mode)
> 
> 
> -
> -------------------------------------------------------------------------------
> Test set: org.apache.directory.server.suites.StockServerISuite
> -
> -------------------------------------------------------------------------------
> Tests run: 293, Failures: 3, Errors: 0, Skipped: 2, Time elapsed: 55.213
> sec <<< FAILURE!
> testAddDerivedKeys(org.apache.directory.server.kerberos.KeyDerivationServiceIT)
>  Time elapsed: 0.639 sec  <<< FAILURE!
> java.lang.AssertionError: Unkown JVM
>         at org.junit.Assert.fail(Assert.java:91)
>         at
> org.apache.directory.server.kerberos.KeyDerivationServiceIT.checkKeyNumber(KeyDerivationServiceIT.java:156)
>         at
> org.apache.directory.server.kerberos.KeyDerivationServiceIT.testAddDerivedKeys(KeyDerivationServiceIT.java:242)
>         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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>         at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>         at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>         at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
>         at
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>         at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
>         at
> org.apache.directory.server.core.integ.FrameworkRunner.runChild(FrameworkRunner.java:393)
>         at
> org.apache.directory.server.core.integ.FrameworkRunner.runChild(FrameworkRunner.java:55)
>         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
>         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
>         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
>         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
>         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
>         at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
>         at
> org.apache.directory.server.core.integ.FrameworkRunner.run(FrameworkRunner.java:237)
>         at org.junit.runners.Suite.runChild(Suite.java:128)
>         at
> org.apache.directory.server.core.integ.FrameworkSuite.runChild(FrameworkSuite.java:184)
>         at
> org.apache.directory.server.core.integ.FrameworkSuite.runChild(FrameworkSuite.java:48)
>         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
>         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
>         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
>         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
>         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
>         at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
>         at
> org.apache.directory.server.core.integ.FrameworkSuite.run(FrameworkSuite.java:158)
>         at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
>         at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
>         at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
>         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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>         at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

Mime
View raw message