]
jaikiran pai commented on AS7-1731:
-----------------------------------
I think it's because the test ends up running against the standalone.xml profile
(which does not have WS support) instead of standalone-preview.xml profile.
Fix org.jboss.as.testsuite.integration.wsejb.EJBWebServicesTestCase -
got error if running this TestCase alone
--------------------------------------------------------------------------------------------------------------
Key: AS7-1731
URL:
https://issues.jboss.org/browse/AS7-1731
Project: Application Server 7
Issue Type: Bug
Components: Test Suite
Affects Versions: 7.0.1.Final
Reporter: Pavel Janousek
Assignee: Alessio Soldano
Priority: Critical
When invole testsuite like:
{code}
mvn3 -Dtest=org.jboss.as.testsuite.integration.wsejb.* -DfailIfNoTests=false test
-PallTests
{code}
build fails with:
{code}
Tests in error:
testSingleton(org.jboss.as.testsuite.integration.wsejb.EJBWebServicesTestCase):
java.io.IOException: <html><head><title>JBoss Web/7.0.1.Final - Error
report</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color
: black;}A.name {color : black;}HR {color : #525D76;}--></style>
</head><body><h1>HTTP Status 404 -
/ejbws-example/SingletonEndpoint</h1><HR size="1"
noshade="noshade"><p><b>type</b> Status
report</p><p><b>message</b>
<u>/ejbws-example/SingletonEndpoint</u></p><p><b>description</b>
<u>The requested resource (/ejbws-example/SingletonEndpoint) is not
available.</u></p><HR size="1"
noshade="noshade"><h3>JBoss
Web/7.0.1.Final</h3></body></html>
testSingletonWSDL(org.jboss.as.testsuite.integration.wsejb.EJBWebServicesTestCase):
java.io.IOException: <html><head><title>JBoss Web/7.0.1.Final - Error
report</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color
: black;}A.name {color : black;}HR {color : #525D76;}--></style>
</head><body><h1>HTTP Status 404 -
/ejbws-example/SingletonEndpoint</h1><HR size="1"
noshade="noshade"><p><b>type</b> Status
report</p><p><b>message</b>
<u>/ejbws-example/SingletonEndpoint</u></p><p><b>description</b>
<u>The requested resource (/ejbws-example/SingletonEndpoint) is not
available.</u></p><HR size="1"
noshade="noshade"><h3>JBoss
Web/7.0.1.Final</h3></body></html>
{code}
If testsuite is invoked like:
{code}
mvn3 test -PallTests
{code}
build success.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: