我有JBoss上运行我的机器上的端口8080,我想在网络上共享JBoss服务器,让我跑使用将JBossWS-原生4.0.2,但我仍然不能够对网络访问JBoss服务器,请大家帮忙JBoss的服务.
在运行使用声纳分析源代码时我得到的是PicoLifecycleException以下是stacktrace,
org.picocontainer.PicoLifecycleException: PicoLifecycleException: method 'public void org.sonar.batch.components.EmbedderPhases.start()', instance 'org.sonar.batch.components.EmbedderPhases@1f4e9be, java.lang.RuntimeException: wrapper
at org.picocontainer.monitors.NullComponentMonitor.lifecycleInvocationFailed(NullComponentMonitor.java:77)
at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.monitorAndThrowReflectionLifecycleException(ReflectionLifecycleStrategy.java:132)
at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:115)
at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)
at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)
at org.picocontainer.behaviors.Stored.start(Stored.java:110)
at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:996)
at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:989)
at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:746)
at org.sonar.batch.Module.start(Module.java:88)
at org.sonar.batch.SonarEclipseRuntime.analyse(SonarEclipseRuntime.java:44)
at org.sonar.ide.eclipse.core.jobs.AnalyseProjectJob.run(AnalyseProjectJob.java:107)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.RuntimeException: wrapper
at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.monitorAndThrowReflectionLifecycleException(ReflectionLifecycleStrategy.java:130)
... 13 more
Caused by: org.sonar.api.utils.SonarException: Can not execute Checkstyle
at org.sonar.plugins.checkstyle.CheckstyleExecutor.execute(CheckstyleExecutor.java:87)
at org.sonar.plugins.checkstyle.CheckstyleSensor.analyse(CheckstyleSensor.java:43)
at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:58)
at org.sonar.batch.components.EmbedderPhases.start(EmbedderPhases.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
... …Run Code Online (Sandbox Code Playgroud) 我正在尝试使用java连接字符串连接sql server 2008,但我收到以下错误
jdbc:sqlserver://127.0.0.1:1434; DatabaseNameconnect?autoReconnect = true com.microsoft.sqlserver.jdbc.SQLServerException:不支持服务器版本.目标服务器必须是SQL Server 2000或更高版本.com.microsoft.sqlserver.jdbc.SQLServerException:不支持服务器版本.目标服务器必须是SQL Server 2000或更高版本.com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source)at com.microsoft.sqlserver.jdbc.DBComms.Prelogin(Unknown Source)at com.microsoft.sqlserver.jdbc.DBComms.(Unknown Source)at com. java.sql.DriverManager上java.sql.DriverManager.getConnection(DriverManager.java:582)的com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(未知来源)中的microsoft.sqlserver.jdbc.SQLServerConnection.connect(未知来源) .getConnection(DriverManager.java:185)位于com.dnb.discovery.connection.ConnectionBean.makeMsSqlConnection(ConnectionBean.java:56)com.dnb.discovery.factory.MssqlDAOFactory.(MssqlDAOFactory.java:18)com.dnb .discovery.dao.mssqldao.MssqlCompanyDAO.(MssqlCompanyDAO.java:8)com.dnb.discovery.relevance.Relevance.(Relevance:26)at com.dnb.discovery.dao.SolrDAO.readDataFromSolr(SolrDAO.java) :189)at sun.dreflect.NativeMethodAccessorImpl.invoke0(Nat)的com.dnb.discovery.searchservice.SearchService.buyerTextSearchAnonymous(SearchService.java:124)ive方法)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.xml.internal.ws.api.server.InstanceResolver $ 1.invoke(InstanceResolver.java:210)at com.sun.xml.internal.ws.server.InvokerTube $ 2.invoke(InvokerTube.java:132) at com.sun.xml.internal.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:241)at com.sun.xml.internal.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:74) at com.sun.xml.internal.ws.api.pipe.Fiber .__ doRun(Fiber.java:581)at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:540) at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:525)at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:422) at com.sun.xml.internal.ws.server.WSEndpointImpl $ 2.process(WSEndpointImpl.java:226)at com.sun.xml.internal.ws.transport.http.HttpAdapter $ HttpTool kit.handle(HttpAdapter.java:375),位于com.sun.xml.internal.ws.transport.http的com.sun.xml.internal.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:175).位于com.sun.net.httpserver.Filter $的com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handle(WSHttpHandler.java:77)上的server.WSHttpHandler.handleExchange(WSHttpHandler.java:100)在sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:65)的com.sun.net.httpserver.Filter $ Chain.doFilter(Filter.java:68)sun.doFilter(Filter.java:65) .net.httpserver.ServerImpl $ Exchange $ LinkHandler.handle(ServerImpl.java:555)at com.sun.net.httpserver.Filter $ Chain.doFilter(Filter.java:65)at sun.net.httpserver.ServerImpl $ Exchange .run(ServerImpl.java:527)at java.util.concurrent.ThreadPoolExecutor $ Worker.runTask(ThreadPoolExecutor.java:886)at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:908)at java. lang.Thread.run(Thread.java:619)
我正在使用以下jar连接
sqljdbc-2005-1.0.jar
请帮忙