当前位置: 代码迷 >> Java Web开发 >> weblogic 调度项目出错
  详细解决方案

weblogic 调度项目出错

热度:4107   发布时间:2013-02-25 21:16:38.0
weblogic 部署项目出错
java.sql.SQLException: The Network Adapter could not establish the connection
  at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.ja
va:70)
  at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:1
33)
  at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
:199)
  at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
:480)
  at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:413)
  at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
508)
  at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
  at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
n.java:33)
  at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
  at java.sql.DriverManager.getConnection(DriverManager.java:582)
  at java.sql.DriverManager.getConnection(DriverManager.java:154)
  at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnec
tionFromDriverManager(DriverManagerDataSource.java:173)
  at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnec
tionFromDriver(DriverManagerDataSource.java:164)
  at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.get
ConnectionFromDriver(AbstractDriverBasedDataSource.java:149)
  at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.get
Connection(AbstractDriverBasedDataSource.java:119)
  at com.drkj.monitor.service.impl.SysManage_UserManager_Impl.queryUserAnd
Pass(SysManage_UserManager_Impl.java:219)
  at com.drkj.monitor.dwr.SysManage_UserManager_Dwr.queryIsUser(SysManage_
UserManager_Dwr.java:86)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.j
ava:740)
  at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java
:744)
  at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java
:593)
  at org.directwebremoting.dwrp.BaseCallHandler.handle(BaseCallHandler.jav
a:90)
  at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:1
20)
  at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:141)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
  at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
(StubSecurityHelper.java:227)
  at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
tyHelper.java:125)
  at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
a:292)
  at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
a:175)
  at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:3590)
  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
121)
  at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
ervletContext.java:2200)
  at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
  相关解决方案