JBOSS与JBuilder的整合问题!

03-08-29 lusha
我在JB7中新建一个PROJECT,在其属性中设置SERVER,但是为什么我装的JBOSS在JB7中不认呢????是不是我装JBOSS的方法不对!我是直接下载后解压到C:\jboss-3.0.8_tomcat-4.1.24下的,并且环境变量JAVA_HOME、ANT_HOME以及CLASSPATH均已经设置好,快帮帮我呀!!!!

kitta
2003-08-31 11:34
up

aotianhe
2003-08-31 13:24
需要下在jb7和jboss的插件,可以在google里搜索JBossOpenTool.jar

lusha
2003-09-03 18:13
多谢・今天配置好后,启动JBOSS服务器的时候出现下面错误:(限于篇幅,只帖出一部分),请帮我看看是怎么回事?是不是我漏装什么了?

at org.jboss.Main$1.run(Main.java:381)

at java.lang.Thread.run(Thread.java:536)

17:51:24,465 ERROR [Digester] Parse Error at line 5 column -1: 组件类型“servlet”未被声明。

org.xml.sax.SAXParseException: 组件类型“servlet”未被声明。

at org.apache.crimson.parser.Parser2.error(Parser2.java:3160)

at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1322)

at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)

at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)

at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)

at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)

at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)

at org.apache.commons.digester.Digester.parse(Digester.java:1543)

at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:282)

at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639)

at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)

at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:3567)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)

at org.jboss.web.catalina.EmbeddedCatalinaService41.createWebContext(EmbeddedCatalinaService41.java:435)

at org.jboss.web.catalina.EmbeddedCatalinaService41.performDeploy(EmbeddedCatalinaService41.java:306)

at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:301)

at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)

at org.jboss.deployment.MainDeployer.start(MainDeployer.java:806)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)

at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)

at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)

at $Proxy3.deploy(Unknown Source)

at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435)

at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:656)

at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)

at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:266)

at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)

at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)

at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)

at $Proxy0.start(Unknown Source)

at org.jboss.system.ServiceController.start(ServiceController.java:413)

at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)

at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)

at $Proxy2.start(Unknown Source)

at org.jboss.deployment.SARDeployer.start(SARDeployer.java:232)

at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:575)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)

at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:324)

at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)

at org.jboss.Main.boot(Main.java:148)

at org.jboss.Main$1.run(Main.java:381)

at java.lang.Thread.run(Thread.java:536)

17:51:24,475 ERROR [Digester] Parse Error at line 6 column -1: 组件类型“servlet-name”未被声明。

org.xml.sax.SAXParseException: 组件类型“servlet-name”未被声明。

at org.apache.crimson.parser.Parser2.error(Parser2.java:3160)

at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1322)

xue
2003-09-04 00:23
你的问题我回答不了,不过根据我使用JBOSS的经验,jboss3.0.3(jetty)和jboss3.2.2问题少,稳定,而jboss3.0.8和jboss3.2.1是垃圾(因为我遇到过好几个在相同配置下能在前两个版本下跑却不能在这两个版本下跑的程序)。如果你的耐心足够好,不介意坐在屏幕前等待的话,可以用jboss4,我反正是受不了它的速度。

猜你喜欢
2Go 1 2 下一页