aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes another Eclipse & JBoss question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "another Eclipse & JBoss question" Watch "another Eclipse & JBoss question" New topic
Author

another Eclipse & JBoss question

Adam Sandler
Greenhorn

Joined: Oct 06, 2008
Posts: 4
Hello,

Sorry for posting yet another Eclipse & JBoss question. I've searched:

http://faq.javaranch.com/Search?search_words=eclipse+jboss&match_all=yes&search_in=ALL&search_forum=12&sort_by=DATE&search_date=ALL&search_member=&search_topics=ALL&submit=Search

and couldn't find a similar problem. I have JBoss v.4.2.2 and have it installed in C:\jboss-4.2.2.GA\. I can start the server from command line just fine. I cannot start the server from within Eclipse (v.3.4.0) though -- which is why I'm posting here and not the JBoss forum. It fails with a rather generic error which does not describe a problem at all. Details follow...

At any rate, I've downloaded the WTP plug-in and all of the dependencies. From within Eclipse, I've gone to Window | Preferences | Java | Installed JREs and made en entry for my Java version installed in C:\jdk1.6.0. From Window | Preferences | Server | Runtime Environments, I made an entry for my JBoss runtime: the home directory is C:\jboss-4.2.2.GA and the JRE is jdk1.6.0.

From the Servers View, the Overview page has this info:

Server name: JBoss 4.2 Server
Host name: localhost
Runtime Environment: JBoss 4.2 Runtime
Deploy Directory: C:\jboss-4.2.2.GA\server\default\deploy
Temporary Deploy Directory: C:\jboss-4.2.2.GA\server\default\tmp\jbosstoolsTemp

For login credentials, I've left the user and password fields both blank and with 'admin' and got the same results.

In the Runtime Environment Configuration, here are the settings:

Name: JBoss 4.2 Server
Program arguments: --configuration=default
VM arguments: -Xms256m -Xmx512m -XX:MaxPermSize=256m
Working Directory: Other | C:\jboss-4.2.2.GA/bin

When I try to run the server I get this console output:

12:44:01,899 INFO [Server] Starting JBoss (MX MicroKernel)...
12:44:01,899 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
12:44:01,899 INFO [Server] Home Dir: C:\jboss-4.2.2.GA
12:44:01,899 INFO [Server] Home URL: file:/C:/jboss-4.2.2.GA/
12:44:01,899 INFO [Server] Patch URL: null
12:44:01,899 INFO [Server] Server Name: default
12:44:01,899 INFO [Server] Server Home Dir: C:\jboss-4.2.2.GA\server\default
12:44:01,899 INFO [Server] Server Home URL: file:/C:/jboss-4.2.2.GA/server/default/
12:44:01,899 INFO [Server] Server Log Dir: C:\jboss-4.2.2.GA\server\default\log
12:44:01,899 INFO [Server] Server Temp Dir: C:\jboss-4.2.2.GA\server\default\tmp
12:44:01,899 INFO [Server] Root Deployment Filename: jboss-service.xml
12:44:02,133 INFO [ServerInfo] Java version: 1.6.0,Sun Microsystems Inc.
12:44:02,133 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.6.0-b105,Sun Microsystems Inc.
12:44:02,133 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
12:44:02,305 INFO [Server] Core system initialized

and then starting the server fails with this message:

'Starting JBoss 4.2 Server' has encountered a problem. Server JBoss 4.2 Server failed to start.

Since that doesn't tell me jack, I went to C:\jboss-4.2.2.GA\server\default\log and opened boot.log Here's what is inside:

13:25:32,799 INFO [Server] Starting JBoss (MX MicroKernel)...
13:25:32,799 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
13:25:32,799 DEBUG [Server] Using config: org.jboss.system.server.ServerConfigImpl@1c99159
13:25:32,799 DEBUG [Server] Server type: class org.jboss.system.server.ServerImpl
13:25:32,799 DEBUG [Server] Server loaded through: org.jboss.system.server.NoAnnotationURLClassLoader
13:25:32,799 DEBUG [Server] Boot URLs:
13:25:32,799 DEBUG [Server] file:/C:/jboss-4.2.2.GA/lib/endorsed/serializer.jar
13:25:32,799 DEBUG [Server] file:/C:/jboss-4.2.2.GA/lib/endorsed/xalan.jar
13:25:32,799 DEBUG [Server] file:/C:/jboss-4.2.2.GA/lib/endorsed/xercesImpl.jar
13:25:32,799 DEBUG [Server] file:/C:/jboss-4.2.2.GA/lib/jboss-jmx.jar
13:25:32,799 DEBUG [Server] file:/C:/jboss-4.2.2.GA/lib/concurrent.jar
13:25:32,799 DEBUG [Server] file:/C:/jboss-4.2.2.GA/lib/log4j-boot.jar
13:25:32,799 DEBUG [Server] file:/C:/jboss-4.2.2.GA/lib/jboss-common.jar
13:25:32,799 DEBUG [Server] file:/C:/jboss-4.2.2.GA/lib/jboss-system.jar
13:25:32,799 DEBUG [Server] file:/C:/jboss-4.2.2.GA/lib/jboss-xml-binding.jar
13:25:32,799 INFO [Server] Home Dir: C:\jboss-4.2.2.GA
13:25:32,799 INFO [Server] Home URL: file:/C:/jboss-4.2.2.GA/
13:25:32,799 DEBUG [Server] Library URL: file:/C:/jboss-4.2.2.GA/lib/
13:25:32,799 INFO [Server] Patch URL: null
13:25:32,799 INFO [Server] Server Name: default
13:25:32,799 INFO [Server] Server Home Dir: C:\jboss-4.2.2.GA\server\default
13:25:32,799 INFO [Server] Server Home URL: file:/C:/jboss-4.2.2.GA/server/default/
13:25:32,799 INFO [Server] Server Log Dir: C:\jboss-4.2.2.GA\server\default\log
13:25:32,799 DEBUG [Server] Server Data Dir: C:\jboss-4.2.2.GA\server\default\data
13:25:32,799 INFO [Server] Server Temp Dir: C:\jboss-4.2.2.GA\server\default\tmp
13:25:32,799 DEBUG [Server] Server Config URL: file:/C:/jboss-4.2.2.GA/server/default/conf/
13:25:32,799 DEBUG [Server] Server Library URL: file:/C:/jboss-4.2.2.GA/server/default/lib/
13:25:32,799 INFO [Server] Root Deployment Filename: jboss-service.xml
13:25:32,799 DEBUG [Server] Starting General Purpose Architecture (GPA)...
13:25:32,892 DEBUG [Server] Created MBeanServer: org.jboss.mx.server.MBeanServerImpl@1551d7f[ defaultDomain='jboss' ]
13:25:32,908 DEBUG [Server] Boot url list: [file:/C:/jboss-4.2.2.GA/server/default/conf/]
13:25:32,908 DEBUG [Server] Creating loader for URL: file:/C:/jboss-4.2.2.GA/server/default/conf/
13:25:32,908 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@134e4fb, cl=org.jboss.mx.loading.UnifiedClassLoader3@1a52fdf{ url=file:/C:/jboss-4.2.2.GA/server/default/conf/ ,addedOrder=0}
13:25:32,908 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@134e4fb, cl=org.jboss.mx.loading.UnifiedClassLoader3@1a52fdf{ url=file:/C:/jboss-4.2.2.GA/server/default/conf/ ,addedOrder=0}
13:25:32,908 DEBUG [UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@1a52fdf{ url=file:/C:/jboss-4.2.2.GA/server/default/conf/ ,addedOrder=0}
13:25:33,033 DEBUG [Server] Failed to create xmbean for: org.jboss.system.server.ServerInfo
13:25:33,033 INFO [ServerInfo] Java version: 1.6.0,Sun Microsystems Inc.
13:25:33,033 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.6.0-b105,Sun Microsystems Inc.
13:25:33,033 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
13:25:33,033 DEBUG [ServerInfo] Full System Properties Dump
13:25:33,033 DEBUG [ServerInfo] java.runtime.name: Java(TM) SE Runtime Environment
13:25:33,033 DEBUG [ServerInfo] jboss.server.base.dir: C:\jboss-4.2.2.GA\server
13:25:33,033 DEBUG [ServerInfo] java.protocol.handler.pkgs: org.jboss.net.protocol
13:25:33,033 DEBUG [ServerInfo] sun.boot.library.path: C:\jdk1.6.0\jre\bin
13:25:33,033 DEBUG [ServerInfo] jboss.server.lib.url: file:/C:/jboss-4.2.2.GA/server/default/lib/
13:25:33,033 DEBUG [ServerInfo] java.vm.version: 1.6.0-b105
13:25:33,033 DEBUG [ServerInfo] javax.management.builder.initial: org.jboss.mx.server.MBeanServerBuilderImpl
13:25:33,033 DEBUG [ServerInfo] java.vm.vendor: Sun Microsystems Inc.
13:25:33,033 DEBUG [ServerInfo] java.vendor.url: http://java.sun.com/
13:25:33,033 DEBUG [ServerInfo] path.separator: ;
13:25:33,033 DEBUG [ServerInfo] java.vm.name: Java HotSpot(TM) Client VM
13:25:33,033 DEBUG [ServerInfo] file.encoding.pkg: sun.io
13:25:33,033 DEBUG [ServerInfo] user.country: US
13:25:33,033 DEBUG [ServerInfo] sun.java.launcher: SUN_STANDARD
13:25:33,033 DEBUG [ServerInfo] sun.os.patch.level: Service Pack 2
13:25:33,033 DEBUG [ServerInfo] java.vm.specification.name: Java Virtual Machine Specification
13:25:33,033 DEBUG [ServerInfo] user.dir: C:\jboss-4.2.2.GA\bin
13:25:33,033 DEBUG [ServerInfo] jboss.server.base.url: file:/C:/jboss-4.2.2.GA/server/
13:25:33,033 DEBUG [ServerInfo] java.runtime.version: 1.6.0-b105
13:25:33,033 DEBUG [ServerInfo] java.awt.graphicsenv: sun.awt.Win32GraphicsEnvironment
13:25:33,033 DEBUG [ServerInfo] java.endorsed.dirs: C:\jdk1.6.0\jre\lib\endorsed
13:25:33,033 DEBUG [ServerInfo] os.arch: x86
13:25:33,033 DEBUG [ServerInfo] java.io.tmpdir: C:\DOCUME~1\widdicc\LOCALS~1\Temp\
13:25:33,033 DEBUG [ServerInfo] line.separator:

13:25:33,033 DEBUG [ServerInfo] jbossmx.loader.repository.class: org.jboss.mx.loading.UnifiedLoaderRepository3
13:25:33,033 DEBUG [ServerInfo] java.vm.specification.vendor: Sun Microsystems Inc.
13:25:33,033 DEBUG [ServerInfo] user.variant:
13:25:33,033 DEBUG [ServerInfo] os.name: Windows XP
13:25:33,033 DEBUG [ServerInfo] jboss.bind.address: 127.0.0.1
13:25:33,033 DEBUG [ServerInfo] jboss.server.temp.dir: C:\jboss-4.2.2.GA\server\default\tmp
13:25:33,033 DEBUG [ServerInfo] jboss.home.dir: C:\jboss-4.2.2.GA
13:25:33,033 DEBUG [ServerInfo] sun.jnu.encoding: Cp1252
13:25:33,033 DEBUG [ServerInfo] java.library.path: C:\jdk1.6.0\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/jre1.6.0/bin/client;C:/jre1.6.0/bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;D:\oracle\Ora10g\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Intel\DMIX;C:\Program Files\Common Files\Autodesk Shared\;C:\Program Files\Autodesk\DWG TrueView\;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Rational\common;C:\Program Files\Rational\ClearCase\bin;C:\Program Files\ATI Technologies\ATI.ACE\;C:\jdk1.6.0\bin;C:\Program Files\apache-maven-2.0.9\bin;C:\Program Files\Common Files\Adaptec Shared\System;C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jar;C:\jboss-4.2.2.GA\jboss-4.2.2.GA\bin;.
13:25:33,033 DEBUG [ServerInfo] jboss.server.home.dir: C:\jboss-4.2.2.GA\server\default
13:25:33,033 DEBUG [ServerInfo] java.class.version: 50.0
13:25:33,033 DEBUG [ServerInfo] java.specification.name: Java Platform API Specification
13:25:33,033 DEBUG [ServerInfo] sun.management.compiler: HotSpot Client Compiler
13:25:33,033 DEBUG [ServerInfo] jboss.server.config.url: file:/C:/jboss-4.2.2.GA/server/default/conf/
13:25:33,033 DEBUG [ServerInfo] os.version: 5.1
13:25:33,033 DEBUG [ServerInfo] jboss.home.url: file:/C:/jboss-4.2.2.GA/
13:25:33,033 DEBUG [ServerInfo] user.home: C:\Documents and Settings\widdicc
13:25:33,033 DEBUG [ServerInfo] user.timezone: America/Denver
13:25:33,033 DEBUG [ServerInfo] java.awt.printerjob: sun.awt.windows.WPrinterJob
13:25:33,033 DEBUG [ServerInfo] java.specification.version: 1.6
13:25:33,033 DEBUG [ServerInfo] file.encoding: Cp1252
13:25:33,033 DEBUG [ServerInfo] jboss.server.home.url: file:/C:/jboss-4.2.2.GA/server/default/
13:25:33,033 DEBUG [ServerInfo] jboss.server.log.dir: C:\jboss-4.2.2.GA\server\default\log
13:25:33,033 DEBUG [ServerInfo] user.name: widdicc
13:25:33,033 DEBUG [ServerInfo] java.class.path: C:\jboss-4.2.2.GA\bin\run.jar
13:25:33,033 DEBUG [ServerInfo] jboss.lib.url: file:/C:/jboss-4.2.2.GA/lib/
13:25:33,033 DEBUG [ServerInfo] jboss.server.name: default
13:25:33,033 DEBUG [ServerInfo] java.vm.specification.version: 1.0
13:25:33,033 DEBUG [ServerInfo] sun.arch.data.model: 32
13:25:33,033 DEBUG [ServerInfo] java.home: C:\jdk1.6.0\jre
13:25:33,033 DEBUG [ServerInfo] java.specification.vendor: Sun Microsystems Inc.
13:25:33,033 DEBUG [ServerInfo] user.language: en
13:25:33,033 DEBUG [ServerInfo] awt.toolkit: sun.awt.windows.WToolkit
13:25:33,033 DEBUG [ServerInfo] java.vm.info: mixed mode
13:25:33,033 DEBUG [ServerInfo] java.version: 1.6.0
13:25:33,033 DEBUG [ServerInfo] java.ext.dirs: C:\jdk1.6.0\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
13:25:33,033 DEBUG [ServerInfo] jboss.server.data.dir: C:\jboss-4.2.2.GA\server\default\data
13:25:33,033 DEBUG [ServerInfo] sun.boot.class.path: C:\jdk1.6.0\jre\lib\resources.jar;C:\jdk1.6.0\jre\lib\rt.jar;C:\jdk1.6.0\jre\lib\sunrsasign.jar;C:\jdk1.6.0\jre\lib\jsse.jar;C:\jdk1.6.0\jre\lib\jce.jar;C:\jdk1.6.0\jre\lib\charsets.jar;C:\jdk1.6.0\jre\classes
13:25:33,033 DEBUG [ServerInfo] java.vendor: Sun Microsystems Inc.
13:25:33,033 DEBUG [ServerInfo] file.separator: \
13:25:33,033 DEBUG [ServerInfo] java.vendor.url.bug: http://java.sun.com/cgi-bin/bugreport.cgi
13:25:33,033 DEBUG [ServerInfo] sun.cpu.endian: little
13:25:33,033 DEBUG [ServerInfo] sun.io.unicode.encoding: UnicodeLittle
13:25:33,033 DEBUG [ServerInfo] java.rmi.server.hostname: 127.0.0.1
13:25:33,033 DEBUG [ServerInfo] sun.desktop: windows
13:25:33,033 DEBUG [ServerInfo] sun.cpu.isalist: pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
13:25:33,049 DEBUG [Server] Created system MBean: jboss.system:type=ServerInfo
13:25:33,049 DEBUG [Server] Failed to create xmbean for: org.jboss.system.ServiceController
13:25:33,064 DEBUG [ServiceController] Controller MBean online
13:25:33,064 DEBUG [Server] Created system MBean: jboss.system:service=ServiceController
13:25:33,142 DEBUG [Server] Created system XMBean: jboss.system:service=MainDeployer
13:25:33,142 DEBUG [ServiceController] Creating service jboss.system:service=MainDeployer
13:25:33,142 DEBUG [MainDeployer] Creating jboss.system:service=MainDeployer
13:25:33,158 DEBUG [MainDeployer] Created jboss.system:service=MainDeployer
13:25:33,158 DEBUG [ServiceController] Creating dependent components for: jboss.system:service=MainDeployer dependents are: []
13:25:33,158 DEBUG [ServiceController] starting service jboss.system:service=MainDeployer
13:25:33,158 DEBUG [MainDeployer] Starting jboss.system:service=MainDeployer
13:25:33,158 DEBUG [MainDeployer] Started jboss.system:service=MainDeployer
13:25:33,158 DEBUG [ServiceController] Starting dependent components for: jboss.system:service=MainDeployer dependent components: []
13:25:33,158 DEBUG [Server] Shutdown hook added
13:25:33,189 DEBUG [Server] Created system XMBean: jboss.system:service=JARDeployer
13:25:33,189 DEBUG [ServiceController] Creating service jboss.system:service=JARDeployer
13:25:33,189 DEBUG [JARDeployer] Creating jboss.system:service=JARDeployer
13:25:33,205 DEBUG [JARDeployer] Created jboss.system:service=JARDeployer
13:25:33,205 DEBUG [ServiceController] Creating dependent components for: jboss.system:service=JARDeployer dependents are: []
13:25:33,205 DEBUG [ServiceController] starting service jboss.system:service=JARDeployer
13:25:33,205 DEBUG [JARDeployer] Starting jboss.system:service=JARDeployer
13:25:33,205 DEBUG [MainDeployer] Adding deployer: org.jboss.deployment.JARDeployer@13f991
13:25:33,205 DEBUG [SuffixOrderHelper] Static suffix exists; ignoring request for adding enhanced suffix: 700:.jar
13:25:33,205 DEBUG [JARDeployer] Started jboss.system:service=JARDeployer
13:25:33,205 DEBUG [ServiceController] Starting dependent components for: jboss.system:service=JARDeployer dependent components: []
13:25:33,220 DEBUG [Server] Created system XMBean: jboss.system:service=ServiceDeployer
13:25:33,220 DEBUG [ServiceController] Creating service jboss.system:service=ServiceDeployer
13:25:33,220 DEBUG [SARDeployer] Creating jboss.system:service=ServiceDeployer
13:25:33,220 DEBUG [SARDeployer] Created jboss.system:service=ServiceDeployer
13:25:33,220 DEBUG [ServiceController] Creating dependent components for: jboss.system:service=ServiceDeployer dependents are: []
13:25:33,220 DEBUG [ServiceController] starting service jboss.system:service=ServiceDeployer
13:25:33,220 DEBUG [SARDeployer] Starting jboss.system:service=ServiceDeployer
13:25:33,220 DEBUG [MainDeployer] Adding deployer: org.jboss.deployment.SARDeployer@1878144
13:25:33,220 DEBUG [SARDeployer] Started jboss.system:service=ServiceDeployer
13:25:33,220 DEBUG [ServiceController] Starting dependent components for: jboss.system:service=ServiceDeployer dependent components: []
13:25:33,220 INFO [Server] Core system initialized
13:25:33,236 DEBUG [MainDeployer] Starting deployment of package: file:/C:/jboss-4.2.2.GA/server/default/conf/jboss-service.xml
13:25:33,236 DEBUG [MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss-4.2.2.GA/server/default/conf/jboss-service.xml
13:25:33,236 DEBUG [MainDeployer] Copying file:/C:/jboss-4.2.2.GA/server/default/conf/jboss-service.xml -> C:\jboss-4.2.2.GA\server\default\tmp\deploy\tmp63475jboss-service.xml
13:25:33,236 DEBUG [MainDeployer] using deployer org.jboss.deployment.SARDeployer@1878144
13:25:33,299 DEBUG [SARDeployer] Found classpath element: [classpath: null]
13:25:33,299 DEBUG [SARDeployer] codebase URL is file:/C:/jboss-4.2.2.GA/server/default/lib/
13:25:33,299 DEBUG [SARDeployer] listing codebase for archives matching *
13:25:33,299 DEBUG [SARDeployer] URLLister class is org.jboss.net.protocol.file.FileURLLister
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/activation.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/antlr.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/autonumber-plugin.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/bcel.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/bindingservice-plugin.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/bsf.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/bsh-deployer.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/bsh.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/cglib.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/commons-codec.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/commons-collections.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/commons-httpclient.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/commons-logging.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/dom4j.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/ejb3-persistence.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/el-api.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/hibernate-annotations.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/hibernate-entitymanager.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/hibernate3.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/hsqldb-plugin.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/hsqldb.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/javassist.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jaxen.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jboss-cache-jdk50.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jboss-common-jdbc-wrapper.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jboss-ejb3x.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jboss-hibernate.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jboss-j2ee.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jboss-jaxrpc.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jboss-jaxws.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jboss-jca.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jboss-jsr77.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jboss-jsr88.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jboss-management.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jboss-monitoring.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jboss-remoting-int.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jboss-remoting.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jboss-saaj.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jboss-serialization.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jboss-srp.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jboss-transaction.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jboss-vfs.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jboss.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jbossjta-integration.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jbossjta.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jbossmq.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jbosssx.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jbossts-common.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jbossws-common.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jbossws-framework.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jbossws-jboss42.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jbossws-spi.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jmx-adaptor-plugin.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jnpserver.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/joesnmp.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jpl-pattern.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jpl-util.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/jsp-api.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/log4j-snmp-appender.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/log4j.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/mail-plugin.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/mail.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/properties-plugin.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/quartz.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/scheduler-plugin-example.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/scheduler-plugin.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/servlet-api.jar
13:25:33,314 DEBUG [SARDeployer] deployed classes for file:/C:/jboss-4.2.2.GA/server/default/lib/xmlentitymgr.jar
13:25:33,314 DEBUG [SARDeployer] about to copy 0 local directories
13:25:33,314 DEBUG [SARDeployer] looking for nested deployments in : file:/C:/jboss-4.2.2.GA/server/default/conf/jboss-service.xml
13:25:33,314 DEBUG [DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null, repositoryConfig: null)
13:25:33,314 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@134e4fb, cl=org.jboss.mx.loading.UnifiedClassLoader3@b1074a{ url=null ,addedOrder=0}
13:25:33,314 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@134e4fb, cl=org.jboss.mx.loading.UnifiedClassLoader3@b1074a{ url=null ,addedOrder=0}
13:25:33,314 DEBUG [UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@b1074a{ url=null ,addedOrder=0}
13:25:33,314 DEBUG [RepositoryClassLoader] Added url: file:/C:/jboss-4.2.2.GA/server/default/lib/activation.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@b1074a{ url=null ,addedOrder=2}
13:25:33,345 DEBUG [RepositoryClassLoader] Added url: file:/C:/jboss-4.2.2.GA/server/default/lib/antlr.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@b1074a{ url=null ,addedOrder=2}
13:25:33,345 DEBUG [RepositoryClassLoader] Added url: file:/C:/jboss-4.2.2.GA/server/default/lib/autonumber-plugin.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@b1074a{ url=null ,addedOrder=2}
13:25:33,377 DEBUG [RepositoryClassLoader] Added url: file:/C:/jboss-4.2.2.GA/server/default/lib/bcel.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@b1074a{ url=null ,addedOrder=2}
13:25:33,377 DEBUG [RepositoryClassLoader] Added url: file:/C:/jboss-4.2.2.GA/server/default/lib/bindingservice-plugin.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@b1074a{ url=null ,addedOrder=2}
13:25:33,377 DEBUG [RepositoryClassLoader] Added url: file:/C:/jboss-4.2.2.GA/server/default/lib/bsf.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@b1074a{ url=null ,addedOrder=2}
13:25:33,377 DEBUG [RepositoryClassLoader] Added url: file:/C:/jboss-4.2.2.GA/server/default/lib/bsh-deployer.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@b1074a{ url=null ,addedOrder=2}
13:25:33,392 DEBUG [RepositoryClassLoader] Added url: file:/C:/jboss-4.2.2.GA/server/default/lib/bsh.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@b1074a{ url=null ,addedOrder=2}
13:25:33,392 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg:
13:25:33,408 DEBUG [RepositoryClassLoader] Added url: file:/C:/jboss-4.2.2.GA/server/default/lib/cglib.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@b1074a{ url=null ,addedOrder=2}
13:25:33,423 DEBUG [RepositoryClassLoader] Added url: file:/C:/jboss-4.2.2.GA/server/default/lib/commons-codec.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@b1074a{ url=null ,addedOrder=2}
13:25:33,455 DEBUG [RepositoryClassLoader] Added url: file:/C:/jboss-4.2.2.GA/server/default/lib/commons-collections.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@b1074a{ url=null ,addedOrder=2}
13:25:33,455 DEBUG [RepositoryClassLoader] Added url: file:/C:/jboss-4.2.2.GA/server/default/lib/commons-httpclient.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@b1074a{ url=null ,addedOrder=2}
13:25:33,455 DEBUG [RepositoryClassLoader] Added url: file:/C:/jboss-4.2.2.GA/server/default/lib/commons-logging.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@b1074a{ url=null ,addedOrder=2}
13:25:33,470 DEBUG [RepositoryClassLoader] Added url: file:/C:/jboss-4.2.2.GA/server/default/lib/dom4j.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@b1074a{ url=null ,addedOrder=2}
13:25:33,486 DEBUG [RepositoryClassLoader] Added url: file:/C:/jboss-4.2.2.GA/server/default/lib/ejb3-persistence.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@b1074a{ url=null ,addedOrder=2}
13:25:33,486 DEBUG [RepositoryClassLoader] Added url: file:/C:/jboss-4.2.2.GA/server/default/lib/el-api.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@b1074a{ url=null ,addedOrder=2}
13:25:33,502 DEBUG [RepositoryClassLoader] Added url: file:/C:/jboss-4.2.2.GA/server/default/lib/hibernate-annotations.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@b1074a{ url=null ,addedOrder=2}
13:25:33,517 DEBUG [RepositoryClassLoader] Added url: file:/C:/jboss-4.2.2.GA/server/default/lib/hibernate-entitymanager.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@b1074a{ url=null ,addedOrder=2}

I'm not sure if that tells me much either. So, the question is, how can I get JBoss to run from Eclipse without failing just by starting the server?

Suggestions are greatly appreciated. Thanks!
Satish Chilukuri
Ranch Hand

Joined: Jun 23, 2005
Posts: 266
Check if there are any error messages in eclipse log file. It will be there in workspace under .metadata/.log
[ October 07, 2008: Message edited by: Satish Chilukuri ]
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

The boot.log never helps - it contains info from only the first few seconds of startup. You really need to look in the server.log file. But please do not post it - it is way too long.

Also, do you have the Console view showing? This should contain the console log output from JBossAS.


JBoss In Action
Adam Sandler
Greenhorn

Joined: Oct 06, 2008
Posts: 4
Originally posted by Peter Johnson:
The boot.log never helps - it contains info from only the first few seconds of startup. You really need to look in the server.log file.

The server.log file doesn't exist yet.


Also, do you have the Console view showing? This should contain the console log output from JBossAS.


Yeah, I copied the output from the console in the first post.

I just fixed it though... When configuring a server, there are 2 JBoss folders. One for JBoss and another for JBossAS. I was using the 4.2 entry from JBossAS in Eclipse. When I deleted that server config and used the 4.2 entry from just the JBoss folder, it works.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

One for JBoss and another for JBossAS


I have seen 'JBoss' and 'JBoss, a division of Red Hat', the latter coming from the JBoss Tools plugin. I wonder where you got the 'JBossAS' entry from? I've never seen that one.

But I am glad you are up and running.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

I just re-read your original post and noticed this:

I've downloaded the WTP plug-in and all of the dependencies


Did you not start with the "Eclipse IDE for Java EE Developers" bundle? That was WTP already embedded, and includes only a 'JBoss' folder in the Select a Server Type tree view in the New Server dialog.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16012
    
  19

Originally posted by Peter Johnson:


I have seen 'JBoss' and 'JBoss, a division of Red Hat', the latter coming from the JBoss Tools plugin. I wonder where you got the 'JBossAS' entry from? I've never seen that one.

But I am glad you are up and running.


JBoss Advanced Server (I think) is the version with Portlet support built in. Same core product, just more add-ins.


Customer surveys are for companies who didn't pay proper attention to begin with.
Adam Sandler
Greenhorn

Joined: Oct 06, 2008
Posts: 4
Originally posted by Peter Johnson:


Did you not start with the "Eclipse IDE for Java EE Developers" bundle? That was WTP already embedded, and includes only a 'JBoss' folder in the Select a Server Type tree view in the New Server dialog.


I did... I'm running Ganymede, 3.4, and it's the JEE flavor. When I first upgraded (the day I posted this topic), I went to the Help menu to check for updates. Because of a network problem at work, I was able to get a list of plugins which needed updating but I had to download the plugins manually. So while I really don't know what happened by installing manually but when adding a new server, there is a JBoss folder and a JBossAS folder to chose from.

Personally, I find it a questionable implementation... especially since I'm running AS but the AS template won't work; the plain 'ol JBoss one does. But there are folks a lot smarter than I making the product so I won't fuss too much.
[ October 08, 2008: Message edited by: Adam Sandler ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: another Eclipse & JBoss question