Pessoal, to precisando de uma ajuda de vcs, se possivel é claro.
To utilizando o netBeans 5.5 em uma aplicacao do tipo visual web aplication na versao Java EE 5, optei por utilizar o Sun Java Server Aplication e o banco de dados mysql.
Bom ja instalei o driver JODBC no netBeans, ja mapeei o banco e tenho 3 paginas criadas para fazer os testes.
Tenho uma pagina clienteView que vai servir para fazer consultas sobre os clientes, e tenho uma pagina clienteEdit que serve para alterar, excluir e inserir os clientes no banco.
Ja linkei as paginas, mas quando eu clico no botao que link a pagina clienteEdit com a pagina clienteView o browser me retorna o seguinte erro:
HTTP Status 500 -
type Status report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
Sun Java System Application Server Platform Edition 9.0_01
e no output do Sun java server no netbeans sao descritos os seguintes erros:
RAR5038:Unexpected exception while creating resource
RAR5117 : Failed to obtain/create connection. Reason : No PasswordCredential found
RAR5114 : Error allocating connection : [Error in allocating a connection. Cause: No PasswordCredential found]
RAR5038:Unexpected exception while creating resource
RAR5117 : Failed to obtain/create connection. Reason : No PasswordCredential found
RAR5114 : Error allocating connection : [Error in allocating a connection. Cause: No PasswordCredential found]
RAR5038:Unexpected exception while creating resource
RAR5117 : Failed to obtain/create connection. Reason : No PasswordCredential found
RAR5114 : Error allocating connection : [Error in allocating a connection. Cause: No PasswordCredential found]
RAR5038:Unexpected exception while creating resource
RAR5117 : Failed to obtain/create connection. Reason : No PasswordCredential found
RAR5114 : Error allocating connection : [Error in allocating a connection. Cause: No PasswordCredential found]
WebModule[/TrabJava]javax.el.PropertyNotFoundException: java.lang.RuntimeException: java.sql.SQLException: Error in allocating a connection. Cause: No PasswordCredential found
javax.faces.FacesException: javax.el.PropertyNotFoundException: java.lang.RuntimeException: java.sql.SQLException: Error in allocating a connection. Cause: No PasswordCredential found
at javax.faces.component.UIOutput.getValue(UIOutput.java:176)
Ja tentei colocar o driver do mysql dentro da pasta lib do projeto e nao adiantou, se alguem souber o que esta acontecendo e puder me ajudar agradeco muito.
Obrigado