login
Cuby: Шадик
24 Июня 2018, 10:03:38 *
Добро пожаловать, Гость. Пожалуйста, войдите или зарегистрируйтесь.
Вам не пришло письмо с кодом активации?

Войти
Новости: Расширен список контрагентов. Следствием будет повышение качества выполняемых работ.
 
   Начало   Помощь Поиск Календарь Войти Регистрация  

Модернизация КТФ-7 до ЧПУ - контроллер управления G-CODE

Страниц: [1]   Вниз
  Печать  
Автор Тема: Проблема с запуском JB  (Прочитано 3182 раз)
walery
Модератор
Ветеран
*****
Сообщений: 3575


модернизаация КТФ-7 до ЧПУ


WWW
« : 09 Мая 2010, 19:51:14 »

JB не запускается под Ecliose:
Код:
20:46:45,530 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
20:46:45,530 INFO  [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)
20:46:45,530 INFO  [ServerImpl] Bootstrap URL: null
20:46:45,530 INFO  [ServerImpl] Home Dir: C:\java\jboss-5.1.0.GA
20:46:45,530 INFO  [ServerImpl] Home URL: file:/C:/java/jboss-5.1.0.GA/
20:46:45,530 INFO  [ServerImpl] Library URL: file:/C:/java/jboss-5.1.0.GA/lib/
20:46:45,530 INFO  [ServerImpl] Patch URL: null
20:46:45,530 INFO  [ServerImpl] Common Base URL: file:/C:/java/jboss-5.1.0.GA/common/
20:46:45,530 INFO  [ServerImpl] Common Library URL: file:/C:/java/jboss-5.1.0.GA/common/lib/
20:46:45,530 INFO  [ServerImpl] Server Name: default
20:46:45,530 INFO  [ServerImpl] Server Base Dir: C:\java\jboss-5.1.0.GA\server
20:46:45,530 INFO  [ServerImpl] Server Base URL: file:/C:/java/jboss-5.1.0.GA/server/
20:46:45,530 INFO  [ServerImpl] Server Config URL: file:/C:/java/jboss-5.1.0.GA/server/default/conf/
20:46:45,530 INFO  [ServerImpl] Server Home Dir: C:\java\jboss-5.1.0.GA\server\default
20:46:45,530 INFO  [ServerImpl] Server Home URL: file:/C:/java/jboss-5.1.0.GA/server/default/
20:46:45,530 INFO  [ServerImpl] Server Data Dir: C:\java\jboss-5.1.0.GA\server\default\data
20:46:45,530 INFO  [ServerImpl] Server Library URL: file:/C:/java/jboss-5.1.0.GA/server/default/lib/
20:46:45,546 INFO  [ServerImpl] Server Log Dir: C:\java\jboss-5.1.0.GA\server\default\log
20:46:45,546 INFO  [ServerImpl] Server Native Dir: C:\java\jboss-5.1.0.GA\server\default\tmp\native
20:46:45,546 INFO  [ServerImpl] Server Temp Dir: C:\java\jboss-5.1.0.GA\server\default\tmp
20:46:45,546 INFO  [ServerImpl] Server Temp Deploy Dir: C:\java\jboss-5.1.0.GA\server\default\tmp\deploy
20:46:45,952 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/java/jboss-5.1.0.GA/server/default/conf/bootstrap.xml
20:46:46,390 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
20:46:46,390 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
20:46:46,593 INFO  [CopyMechanism] VFS temp dir: C:\java\jboss-5.1.0.GA\server\default\tmp
20:46:46,593 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
20:46:47,233 INFO  [ServerInfo] Java version: 1.6.0_18,Sun Microsystems Inc.
20:46:47,233 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
20:46:47,233 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 16.0-b13,Sun Microsystems Inc.
20:46:47,233 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
20:46:47,233 INFO  [ServerInfo] VM arguments: -Dprogram.name=run.bat -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dfile.encoding=Cp1251
20:46:47,249 INFO  [JMXKernel] Legacy JMX core initialized
20:46:48,202 ERROR [AbstractKernelController] Error installing to Instantiated: name=AttachmentStore state=Described
java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]
at org.jboss.reflect.plugins.introspection.ReflectionUtils.handleErrors(ReflectionUtils.java:395)
at org.jboss.reflect.plugins.introspection.ReflectionUtils.newInstance(ReflectionUtils.java:153)
at org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.newInstance(ReflectConstructorInfoImpl.java:106)
at org.jboss.joinpoint.plugins.BasicConstructorJoinPoint.dispatch(BasicConstructorJoinPoint.java:80)
at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.createTarget(AOPConstructorJoinpoint.java:282)
at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:103)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:66)
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:319)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:297)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)
at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)
at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:91)
at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:161)
at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:138)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:450)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Unknown Source)
Failed to boot JBoss:
java.lang.IllegalStateException: Incompletely deployed:

DEPLOYMENTS IN ERROR:
  Deployment "AttachmentStore" is in error due to: java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]

DEPLOYMENTS MISSING DEPENDENCIES:
  Deployment "ProfileServiceDeployer" is missing the following dependencies:
    Dependency "AttachmentStore" (should be in state "Installed", but is actually in state "**ERROR**")
  Deployment "ProfileServiceBootstrap" is missing the following dependencies:
    Dependency "jboss.kernel:service=Kernel" (should be in state "Installed", but is actually in state "**ERROR**")
    Dependency "ProfileService" (should be in state "Installed", but is actually in state "Instantiated")
  Deployment "ProfileService" is missing the following dependencies:
    Dependency "ProfileServiceDeployer" (should be in state "Installed", but is actually in state "Instantiated")
    Dependency "jboss.kernel:service=KernelController" (should be in state "Installed", but is actually in state "**ERROR**")
  Deployment "ProfileServicePersistenceDeployer" is missing the following dependencies:
    Dependency "AttachmentStore" (should be in state "Installed", but is actually in state "**ERROR**")

at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:278)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)
at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:142)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:450)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Unknown Source)
20:46:48,655 INFO  [ServerImpl] Runtime shutdown hook called, forceHalt: true
20:46:48,655 INFO  [ServerImpl] Shutdown complete
Shutdown complete
Halting VM
, а в gebug - запускается.
Всё сопровождается сообщением
Код:
Could not publish to the server.
java.lang.NullPointerException
Непонимающий
« Последнее редактирование: 09 Мая 2010, 20:00:18 от walery » Записан
walery
Модератор
Ветеран
*****
Сообщений: 3575


модернизаация КТФ-7 до ЧПУ


WWW
« Ответ #1 : 10 Мая 2010, 08:38:18 »

А с NetBeens всё работает нормально. Следовательно, проблема именно в Eclise и только.
Записан
walery
Модератор
Ветеран
*****
Сообщений: 3575


модернизаация КТФ-7 до ЧПУ


WWW
« Ответ #2 : 10 Мая 2010, 10:08:44 »

Удаление и переопределение Eclipse/server и во всех проектах, будто бы решило проблему.  Улыбающийся
Записан
Страниц: [1]   Вверх
  Печать  
 
Перейти в:  

Модернизация КТФ-7 до ЧПУ - контроллер управления G-CODE

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2006-2008, Simple Machines Valid XHTML 1.0! Valid CSS!

Bad Behavior has blocked 5610 access attempts in the last 7 days.