找回密码
 注册
搜索
热搜: java php web
查看: 484|回复: 4

[未解决] ECLIPSE+JBOSS+ORACLE连不上库

[复制链接]
发表于 2010-2-18 09:46:57 | 显示全部楼层 |阅读模式
本帖最后由 cscookie 于 2010-2-18 09:50 编辑

均安装在C:下.JBOSS4.2+JDK1.5+ORACLE10g

JBOSS启动时显示======================
09:41:15,625 INFO  [Server] Starting JBoss (MX MicroKernel)...
09:41:15,656 INFO  [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
09:41:15,687 INFO  [Server] Home Dir: C:\jboss-4.2.2.GA
09:41:15,687 INFO  [Server] Home URL: file:/C:/jboss-4.2.2.GA/
09:41:15,687 INFO  [Server] Patch URL: null
09:41:15,687 INFO  [Server] Server Name: default
09:41:15,687 INFO  [Server] Server Home Dir: C:\jboss-4.2.2.GA\server\default
09:41:15,687 INFO  [Server] Server Home URL: file:/C:/jboss-4.2.2.GA/server/default/
09:41:15,687 INFO  [Server] Server Log Dir: C:\jboss-4.2.2.GA\server\default\log
09:41:15,687 INFO  [Server] Server Temp Dir: C:\jboss-4.2.2.GA\server\default\tmp
09:41:15,687 INFO  [Server] Root Deployment Filename: jboss-service.xml
09:41:18,203 INFO  [ServerInfo] Java version: 1.5.0_09,Sun Microsystems Inc.
09:41:18,203 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_09-b03,Sun Microsystems Inc.
09:41:18,203 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
09:41:20,968 INFO  [Server] Core system initialized
09:41:33,953 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
09:41:33,953 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
09:41:36,265 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
09:41:36,265 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
09:41:36,718 INFO  [TransactionManagerService] Starting recovery manager
09:41:36,921 INFO  [TransactionManagerService] Recovery manager started
09:41:36,921 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
09:41:48,421 INFO  [EJB3Deployer] Starting java:comp multiplexer
09:41:49,312 INFO  [STDOUT] no object for null
09:41:49,312 INFO  [STDOUT] no object for null
09:41:49,343 INFO  [STDOUT] no object for null
09:41:49,375 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
09:41:49,390 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
09:41:56,156 INFO  [NativeServerConfig] JBoss Web Services - Native
09:41:56,156 INFO  [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=200710210837)
09:42:01,234 INFO  [Embedded] Catalina naming disabled
09:42:01,828 WARN  [Digester] [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
09:42:01,906 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Sun\SDK\jdk\bin
09:42:02,109 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
09:42:02,109 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
09:42:02,109 INFO  [Catalina] Initialization processed in 871 ms
09:42:02,125 INFO  [StandardService] Starting service jboss.web
09:42:02,125 INFO  [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
09:42:02,906 INFO  [WebappClassLoader] validateJarFile(C:\Documents and Settings\admin\workspace\newElearning\WebRoot\WEB-INF\lib\servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
09:42:02,953 INFO  [WebappClassLoader] validateJarFile(C:\Documents and Settings\admin\workspace\newElearning\WebRoot\WEB-INF\lib\weblogic.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
09:42:06,859 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.appender.FileAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
09:42:06,859 ERROR [STDERR] log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
09:42:06,859 ERROR [STDERR] log4j:ERROR [WebappClassLoader
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
[email=org.jboss.mx.loading.UnifiedClassLoader3@1c634b9]org.jboss.mx.loading.UnifiedClassLoader3@1c634b9[/email]{ url=file:/C:/jboss-4.2.2.GA/server/default/deploy/jboss-web.deployer/ ,addedOrder=6}
] whereas object of type
09:42:06,859 ERROR [STDERR] log4j:ERROR "org.jboss.logging.appender.FileAppender" was loaded by [org.jboss.system.server.NoAnnotationURLClassLoader@4fce71].
09:42:06,875 ERROR [STDERR] log4j:ERROR Could not instantiate appender named "FILE".
09:42:07,093 INFO  [STDOUT] 09:42:07,093 INFO  [PropertyMessageResources] Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
09:42:07,093 INFO  [STDOUT] 09:42:07,093 INFO  [PropertyMessageResources] Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
09:42:08,359 INFO  [STDOUT] 09:42:08,359 INFO  [PropertyMessageResources] Initializing, config='ApplicationResources', returnNull=true
09:42:08,484 INFO  [Catalina] Server startup in 6335 ms
09:42:08,718 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
09:42:10,890 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
09:42:11,328 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
09:42:11,625 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
09:42:14,109 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
09:42:15,390 INFO  [MailService] Mail Service bound to java:/Mail
09:42:16,031 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
09:42:16,250 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
09:42:16,406 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
09:42:16,765 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
09:42:17,078 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
09:42:17,562 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
09:42:17,828 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
09:42:17,875 INFO  [QuartzResourceAdapter] start quartz!!!
09:42:18,031 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
09:42:18,078 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
09:42:18,093 INFO  [RAMJobStore] RAMJobStore initialized.
09:42:18,093 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
09:42:18,093 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
09:42:18,093 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
09:42:22,171 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
09:42:22,781 INFO  [A] Bound to JNDI name: queue/A
09:42:22,796 INFO  [B] Bound to JNDI name: queue/B
09:42:22,796 INFO  [C] Bound to JNDI name: queue/C
09:42:22,796 INFO  [D] Bound to JNDI name: queue/D
09:42:22,796 INFO  [ex] Bound to JNDI name: queue/ex
09:42:22,843 INFO  [testTopic] Bound to JNDI name: topic/testTopic
09:42:22,859 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
09:42:22,859 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
09:42:22,859 INFO  [testQueue] Bound to JNDI name: queue/testQueue
09:42:22,968 INFO  [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093
09:42:23,046 INFO  [DLQ] Bound to JNDI name: queue/DLQ
09:42:23,484 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
09:42:23,703 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jdbc/xtqve' to JNDI name 'java:jdbc/xtqve'
09:42:23,828 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
09:42:28,187 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/newElearning.war/
09:42:29,406 INFO  [WebappClassLoader] validateJarFile(C:\jboss-4.2.2.GA\server\default\.\deploy\newElearning.war\WEB-INF\lib\servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
09:42:29,718 INFO  [WebappClassLoader] validateJarFile(C:\jboss-4.2.2.GA\server\default\.\deploy\newElearning.war\WEB-INF\lib\weblogic.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
09:42:38,843 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.appender.FileAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
09:42:38,843 ERROR [STDERR] log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
09:42:38,843 ERROR [STDERR] log4j:ERROR [WebappClassLoader
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
[email=java.net.FactoryURLClassLoader@18620c7]java.net.FactoryURLClassLoader@18620c7[/email]
] whereas object of type
09:42:38,843 ERROR [STDERR] log4j:ERROR "org.jboss.logging.appender.FileAppender" was loaded by [org.jboss.system.server.NoAnnotationURLClassLoader@4fce71].
09:42:38,843 ERROR [STDERR] log4j:ERROR Could not instantiate appender named "FILE".
09:42:39,062 INFO  [STDOUT] 09:42:39,046 INFO  [PropertyMessageResources] Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
09:42:39,062 INFO  [STDOUT] 09:42:39,062 INFO  [PropertyMessageResources] Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
09:42:40,078 INFO  [STDOUT] 09:42:40,078 INFO  [PropertyMessageResources] Initializing, config='ApplicationResources', returnNull=true
09:42:40,500 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
09:42:40,578 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
09:42:40,593 INFO  [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 1m:24s:906ms
 楼主| 发表于 2010-2-18 09:47:34 | 显示全部楼层
=======打开页面,报错:=================================
09:47:36,656 ERROR [STDERR] java.lang.NullPointerException
09:47:36,656 ERROR [STDERR]  at java.util.Properties$LineReader.readLine(Properties.java:365)
09:47:36,656 ERROR [STDERR]  at java.util.Properties.load(Properties.java:293)
09:47:36,656 ERROR [STDERR]  at com.peak.page.gdb.GeneralDB.getGDB(GeneralDB.java:67)
09:47:36,656 ERROR [STDERR]  at org.apache.jsp.jsp.sites.siteindex_jsp._jspService(siteindex_jsp.java:416)
09:47:36,656 ERROR [STDERR]  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
09:47:36,656 ERROR [STDERR]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
09:47:36,656 ERROR [STDERR]  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
09:47:36,656 ERROR [STDERR]  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
09:47:36,656 ERROR [STDERR]  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
09:47:36,656 ERROR [STDERR]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
09:47:36,656 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
09:47:36,656 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
09:47:36,656 ERROR [STDERR]  at com.peak.app.base.EncodeFilter.doFilter(EncodeFilter.java:18)
09:47:36,656 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
09:47:36,656 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
09:47:36,656 ERROR [STDERR]  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
09:47:36,656 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
09:47:36,656 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
09:47:36,656 ERROR [STDERR]  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
09:47:36,656 ERROR [STDERR]  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
09:47:36,656 ERROR [STDERR]  at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
09:47:36,656 ERROR [STDERR]  at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
09:47:36,656 ERROR [STDERR]  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
09:47:36,656 ERROR [STDERR]  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
09:47:36,656 ERROR [STDERR]  at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
09:47:36,671 ERROR [STDERR]  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
09:47:36,671 ERROR [STDERR]  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
09:47:36,671 ERROR [STDERR]  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
09:47:36,671 ERROR [STDERR]  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
09:47:36,671 ERROR [STDERR]  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
09:47:36,671 ERROR [STDERR]  at java.lang.Thread.run(Thread.java:595)
09:47:36,718 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at java.util.Properties$LineReader.readLine(Properties.java:365)
at java.util.Properties.load(Properties.java:293)
at com.peak.page.gdb.GeneralDB.getGDB(GeneralDB.java:67)
at org.apache.jsp.jsp.sites.siteindex_jsp._jspService(siteindex_jsp.java:493)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.peak.app.base.EncodeFilter.doFilter(EncodeFilter.java:18)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
回复

使用道具 举报

发表于 2010-2-21 13:48:52 | 显示全部楼层
请高手帮忙 快点解答此类问题
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|软晨网(RuanChen.com)

GMT+8, 2024-11-22 23:37

Powered by Discuz! X3.5

Copyright © 2001-2023 Tencent Cloud.

快速回复 返回顶部 返回列表