"
Exception in thread “main” Erro ao conectar:1Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Conectado com sucesso!3
java.lang.NullPointerException
at dao.Conexao.fecharConexao(Conexao.java:51)
at dao.TestaConexao.main(TestaConexao.java:18)
"
jah fiz a conexao sql…e mysql… as duas dão este erro…
no meu projeto naõ aperece nenhum erro.
ooo erro quando tento em um mysql que esta remoto
da o erro dps se conecta… muito estranhu
"
Erro ao conectar:Acesso negado para o usuário ‘cuboweb06’@’%’ ao banco de dados ‘cuboweb06’
Conectado com sucesso!
Exception in thread “main” java.lang.NullPointerException
at dao.Conexao.fecharConexao(Conexao.java:43)
at dao.TestaConexao.main(TestaConexao.java:19)
"
Nov 29, 2012 7:08:33 PM org.apache.catalina.core.StandardContext reload
Informações: Reloading Context with name [/ProjetoFinalJSF] has started
Nov 29, 2012 7:08:33 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
Grave: The web application [/ProjetoFinalJSF] registered the JDBC driver [com.microsoft.sqlserver.jdbc.SQLServerDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Nov 29, 2012 7:08:33 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
Grave: The web application [/ProjetoFinalJSF] created a ThreadLocal with key of type [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1] (value [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1@5a27d94]) and a value of type [com.microsoft.sqlserver.jdbc.ActivityId] (value [ac291e38-9323-49c5-baf1-b25b29eea345-1]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Exception in thread “ContainerBackgroundProcessor[StandardEngine[Catalina]]” java.lang.OutOfMemoryError: PermGen space
cara, esse problema pode ser de permissão do usuário. mas ta muito estranho. seria legal REALMENTE detalhar o problema, como postar a linha que lança a exception.
sempre que criar um post, detalhe o maximo possivel.