While building using maven I get following error.

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running
org.apache.openejb.config.OpenEjb2CmpConversionTest
log4j:WARN No appenders could be found for logger
(OpenEJB).
log4j:WARN Please initialize the log4j system
properly.
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 5.92 sec
Running
org.apache.openejb.assembler.classic.RedeployTest
[severity=FATAL_ERROR,message=unexpected element
(uri:"http://www.openejb.org/openejb-jar/1.1";,
local:"openejb-jar"). Expected elements are
<{http://geronimo.apache.org/xml/ns/naming-1.2}abstract-naming-entry>,<{http://geronimo.apache.org/xml/ns/j2ee/application-1.2}application>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}client-environment>,<{http://geronimo.apache.org/xml/ns/j2ee/application-1.2}clustering>,<{http://geronimo.apache.org/xml/ns/naming-1.2}cmp-connection-factory>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}dependencies>,<{http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0}ejb-jar>,<{http://geronimo.apache.org/xml/ns/naming-1.2}ejb-local-ref>,<{http://geronimo.apache.org/xml/ns/naming-1.2}ejb-ref>,<{http://geronimo.apache.org/xml/ns/naming-1.2}entity-manager-factory-ref>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}environment>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}gbean>,<{http://geronimo.apache.org/xml/ns/naming-1.2}gbean-ref>,<{http://openejb.apache.org/xml/ns/pkgen-2.1}key-generator>,<{http://geronimo.apache.org/xml/ns/naming-1.2}message-destination>,<{htt
p://geronimo.apache.org/xml/ns/deployment-1.2}module>,<{http://openejb.apache.org/xml/ns/openejb-jar-2.2}openejb-jar>,<{http://java.sun.com/xml/ns/persistence}persistence>,<{http://geronimo.apache.org/xml/ns/naming-1.2}persistence-context-ref>,<{http://geronimo.apache.org/xml/ns/naming-1.2}resource-adapter>,<{http://geronimo.apache.org/xml/ns/naming-1.2}resource-env-ref>,<{http://geronimo.apache.org/xml/ns/naming-1.2}resource-ref>,<{http://geronimo.apache.org/xml/ns/j2ee/application-1.2}security>,<{http://geronimo.apache.org/xml/ns/security-1.2}security>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}server-environment>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}service>,<{http://geronimo.apache.org/xml/ns/naming-1.2}service-ref>,<{http://geronimo.apache.org/xml/ns/naming-1.2}web-container>,<{http://geronimo.apache.org/xml/ns/naming-1.2}workmanager>,locator=[node=null,object=null,url=null,line=19,col=61,offset=-1]]
03:00:05,887 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'jms' of type 'javax.jms.ConnectionFactory' for
'client/tests/entity/cmp/EncBean'.  Looked for
Conector(id=jms) and Connector(id=jms)
03:00:05,887 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'QueueCF' of type 'javax.jms.QueueConnectionFactory'
for 'client/tests/entity/cmp/EncBean'.  Looked for
Conector(id=QueueCF) and Connector(id=QueueCF)
03:00:05,888 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'TopicCF' of type 'javax.jms.TopicConnectionFactory'
for 'client/tests/entity/cmp/EncBean'.  Looked for
Conector(id=TopicCF) and Connector(id=TopicCF)
03:00:05,889 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'jms' of type 'javax.jms.ConnectionFactory' for
'client/tests/entity/cmp2/EncBean'.  Looked for
Conector(id=jms) and Connector(id=jms)
03:00:05,889 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'QueueCF' of type 'javax.jms.QueueConnectionFactory'
for 'client/tests/entity/cmp2/EncBean'.  Looked for
Conector(id=QueueCF) and Connector(id=QueueCF)
03:00:05,890 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'TopicCF' of type 'javax.jms.TopicConnectionFactory'
for 'client/tests/entity/cmp2/EncBean'.  Looked for
Conector(id=TopicCF) and Connector(id=TopicCF)
03:00:05,890 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'jms' of type 'javax.jms.ConnectionFactory' for
'client/tests/entity/cmp/ContextLookupCmpBean'. 
Looked for Conector(id=jms) and Connector(id=jms)
03:00:05,890 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'QueueCF' of type 'javax.jms.QueueConnectionFactory'
for 'client/tests/entity/cmp/ContextLookupCmpBean'. 
Looked for Conector(id=QueueCF) and
Connector(id=QueueCF)
03:00:05,890 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'TopicCF' of type 'javax.jms.TopicConnectionFactory'
for 'client/tests/entity/cmp/ContextLookupCmpBean'. 
Looked for Conector(id=TopicCF) and
Connector(id=TopicCF)
03:00:05,891 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'jms' of type 'javax.jms.ConnectionFactory' for
'client/tests/stateful/EncBean'.  Looked for
Conector(id=jms) and Connector(id=jms)
03:00:05,891 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'QueueCF' of type 'javax.jms.QueueConnectionFactory'
for 'client/tests/stateful/EncBean'.  Looked for
Conector(id=QueueCF) and Connector(id=QueueCF)
03:00:05,892 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'TopicCF' of type 'javax.jms.TopicConnectionFactory'
for 'client/tests/stateful/EncBean'.  Looked for
Conector(id=TopicCF) and Connector(id=TopicCF)
03:00:05,892 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'connectionFactory' of type
'javax.jms.ConnectionFactory' for
'client/tests/stateful/FieldInjectionStatefulBean'. 
Looked for Conector(id=connectionFactory) and
Connector(id=connectionFactory)
03:00:05,892 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'queueConnectionFactory' of type
'javax.jms.QueueConnectionFactory' for
'client/tests/stateful/FieldInjectionStatefulBean'. 
Looked for Conector(id=queueConnectionFactory) and
Connector(id=queueConnectionFactory)
03:00:05,893 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'topicConnectionFactory' of type
'javax.jms.TopicConnectionFactory' for
'client/tests/stateful/FieldInjectionStatefulBean'. 
Looked for Conector(id=topicConnectionFactory) and
Connector(id=topicConnectionFactory)
03:00:05,893 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'connectionFactory' of type
'javax.jms.ConnectionFactory' for
'client/tests/stateful/SetterInjectionStatefulBean'. 
Looked for Conector(id=connectionFactory) and
Connector(id=connectionFactory)
03:00:05,896 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'queueConnectionFactory' of type
'javax.jms.QueueConnectionFactory' for
'client/tests/stateful/SetterInjectionStatefulBean'. 
Looked for Conector(id=queueConnectionFactory) and
Connector(id=queueConnectionFactory)
03:00:05,896 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'topicConnectionFactory' of type
'javax.jms.TopicConnectionFactory' for
'client/tests/stateful/SetterInjectionStatefulBean'. 
Looked for Conector(id=topicConnectionFactory) and
Connector(id=topicConnectionFactory)
03:00:05,897 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'jms' of type 'javax.jms.ConnectionFactory' for
'client/tests/stateful/ContextLookupStatefulBean'. 
Looked for Conector(id=jms) and Connector(id=jms)
03:00:05,897 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'QueueCF' of type 'javax.jms.QueueConnectionFactory'
for 'client/tests/stateful/ContextLookupStatefulBean'.
 Looked for Conector(id=QueueCF) and
Connector(id=QueueCF)
03:00:05,898 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'TopicCF' of type 'javax.jms.TopicConnectionFactory'
for 'client/tests/stateful/ContextLookupStatefulBean'.
 Looked for Conector(id=TopicCF) and
Connector(id=TopicCF)
03:00:05,898 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'jms' of type 'javax.jms.ConnectionFactory' for
'client/tests/stateful/ContextLookupStatefulPojoBean'.
 Looked for Conector(id=jms) and Connector(id=jms)
03:00:05,898 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'QueueCF' of type 'javax.jms.QueueConnectionFactory'
for
'client/tests/stateful/ContextLookupStatefulPojoBean'.
 Looked for Conector(id=QueueCF) and
Connector(id=QueueCF)
03:00:05,899 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'TopicCF' of type 'javax.jms.TopicConnectionFactory'
for
'client/tests/stateful/ContextLookupStatefulPojoBean'.
 Looked for Conector(id=TopicCF) and
Connector(id=TopicCF)
03:00:05,907 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'jms' of type 'javax.jms.ConnectionFactory' for
'client/tests/stateless/EncBean'.  Looked for
Conector(id=jms) and Connector(id=jms)
03:00:05,907 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'QueueCF' of type 'javax.jms.QueueConnectionFactory'
for 'client/tests/stateless/EncBean'.  Looked for
Conector(id=QueueCF) and Connector(id=QueueCF)
03:00:05,908 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'TopicCF' of type 'javax.jms.TopicConnectionFactory'
for 'client/tests/stateless/EncBean'.  Looked for
Conector(id=TopicCF) and Connector(id=TopicCF)
03:00:05,908 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'connectionFactory' of type
'javax.jms.ConnectionFactory' for
'client/tests/stateless/FieldInjectionStatelessBean'. 
Looked for Conector(id=connectionFactory) and
Connector(id=connectionFactory)
03:00:05,908 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'queueConnectionFactory' of type
'javax.jms.QueueConnectionFactory' for
'client/tests/stateless/FieldInjectionStatelessBean'. 
Looked for Conector(id=queueConnectionFactory) and
Connector(id=queueConnectionFactory)
03:00:05,909 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'topicConnectionFactory' of type
'javax.jms.TopicConnectionFactory' for
'client/tests/stateless/FieldInjectionStatelessBean'. 
Looked for Conector(id=topicConnectionFactory) and
Connector(id=topicConnectionFactory)
03:00:05,909 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'connectionFactory' of type
'javax.jms.ConnectionFactory' for
'client/tests/stateless/SetterInjectionStatelessBean'.
 Looked for Conector(id=connectionFactory) and
Connector(id=connectionFactory)
03:00:05,909 ERROR [OpenEJB] No existing connector
found while attempting to Auto-link unmapped connector
'queueConnectionFactory' of type
'javax.jms.QueueConnectionFactory' for
'client/tests/stateless/SetterInjectionStatelessBean'.
 Looked for Conector(id=queueConnectionFactory) and
Connector(id=queueConnectionFactory)
34  INFO   [main] openjpa.MetaData - Found 20 classes
with metadata in 33 milliseconds.
21  INFO   [main] openjpa.MetaData - Found 1 classes
with metadata in 20 milliseconds.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 9.883 sec
Running
org.apache.openejb.resource.SharedLocalConnectionManagerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 0.784 sec
Running org.apache.openejb.config.ConfigureServiceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 0.756 sec
Running
org.apache.openejb.assembler.classic.PersistenceUnitRefTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 0.14 sec
Running
org.apache.openejb.resource.GeronimoConnectionManagerTest
03:00:20,665 ERROR [connector] Testing driver failed. 
[jdbc:hsqldb:mem]  Could not obtain a physical JDBC
connection from the DriverManager.
The error message was:
Could not obtain a physical JDBC connection from the
DriverManager
Possible cause:
        o JDBC driver classes are not available to OpenEJB
        o Relative paths are not resolved properly
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time
elapsed: 0.712 sec <<< FAILURE!
Running org.apache.openejb.config.SunQueryFilterTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 0.062 sec
Running
org.apache.openejb.SomeoneBrokeSurefireAndThisIsADirtyHackForItTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time
elapsed: 0.069 sec <<< FAILURE!
Running org.apache.openejb.config.SunCmpConversionTest
log4j:WARN No appenders could be found for logger
(OpenEJB).
log4j:WARN Please initialize the log4j system
properly.
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 6.648 sec
Running org.apache.openejb.ApplicationTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time
elapsed: 0.067 sec <<< FAILURE!
Running org.apache.openejb.iTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time
elapsed: 0.059 sec <<< FAILURE!
Running
org.apache.openejb.core.stateless.StatelessContainerTest
log4j:WARN No appenders could be found for logger
(OpenEJB).
log4j:WARN Please initialize the log4j system
properly.
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 0.535 sec
Running
org.apache.openejb.core.ivm.naming.IvmContextTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 0.065 sec
Running
org.apache.openejb.core.TemporaryClassLoaderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 0.112 sec
Running org.apache.openejb.config.JaxbUnmarshallerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 1.137 sec
Running org.apache.openejb.DependenceValidationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 1.358 sec
Running org.apache.openejb.core.cmp.jpa.JpaTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time
elapsed: 0.824 sec <<< FAILURE!
Running
org.apache.openejb.core.stateful.StatefulContainerTest
log4j:WARN No appenders could be found for logger
(OpenEJB).
log4j:WARN Please initialize the log4j system
properly.
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 0.647 sec
Running
org.apache.openejb.assembler.classic.OpenEjbConfigurationValidationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 0.147 sec
Running
org.apache.openejb.core.stateless.ExtendedInjectionTest
log4j:WARN No appenders could be found for logger
(OpenEJB).
log4j:WARN Please initialize the log4j system
properly.
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 0.538 sec

Results :

Failed tests: 

Tests in error: 

Tests run: 48, Failures: 2, Errors: 4, Skipped: 0

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e
switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 55 seconds
[INFO] Finished at: Sat Mar 03 03:00:58 PST 2007
[INFO] Final Memory: 18M/63M
[INFO]
------------------------------------------------------------------------


-- cheers


                
___________________________________________________________ 
Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail. 
http://uk.docs.yahoo.com/nowyoucan.html

Reply via email to