|
Ol�,
estou seguindo o tutorial da Sun e criei o
ConverterWAR, ConverJar e
ConverterClient, gerei o deploy com sucesso
mas qdo fiz um verify do arquivo ear,
exibiu o seguinte erro no arquivo results...txt:
---------------------------
STATIC VERIFICATION RESULTS --------------------------- ----------------------------------
NUMBER OF FAILURES/WARNINGS/ERRORS ---------------------------------- # of Failures :
1
# of Warnings : 0 # of Errors : 0 -----------------------------
RESULTS FOR WEB-RELATED TESTS ----------------------------- --------------
FAILED TESTS : -------------- Test Name :
tests.web.elements.WebEjbReferencesElement
Test Assertion : Web archive references to other beans homes test Test Description : Error: Class [ ConverterHome ] not found in WEB-INF/classes or WEB-INF/lib. For [ /ConverterWAR ] Error: class [ ConverterHome ] cannot be found within this jar [ ConverterWAR ]. Error: Class [ Converter ] not found in WEB-INF/classes or WEB-INF/lib. For [ /ConverterWAR ] Error: class [ Converter ] cannot be found within this jar [ ConverterWAR ]. e no console:
About to ValidateParse
META-INF/application.xml file.
ConverterApp: There were no failed tests. About to ValidateParse META-INF/ejb-jar.xml file. ConverterJAR: There were no failed tests. About to ValidateParse WEB-INF/web.xml file. ConverterWAR: Some tests failed. About to ValidateParse META-INF/application-client.xml file. ConverterClient: There were no failed tests. Aparentemente, o erro parece ser em alguma coisa no web.xml, mas
n�o descobri o que. Quais s�o os caminhos exatos que o container
vai procurar? Ele n�o faz isso somente atrav�s do q foi definido no
m�todo
lookup/ jndi? Tb gostaria de algumas dicas de qual fluxo seguir para
descobrir
esse tipo de erro. N�o sei se isso ajuda, mas qdo executo no browser
http://localhost:8000/converter/index.jsp
� exibida a p�gina jsp sem problemas mas de cara no
console � exibido a seguinte mensagem:
Unable to lookup home: TheConverter
null.
Browser:
|
[enterprise-list] j2sdkee1.3.1 - Erro ao tentar executar exemplo tutorial
Renato da Silva Viana - Java Thu, 21 Nov 2002 06:00:06 -0800
- Re: [enterprise-list] j2sdkee1.3.1 - Erro ao ... Renato da Silva Viana - Java
- Re: [enterprise-list] j2sdkee1.3.1 - Err... Renato da Silva Viana - Java
