不会用Jboss
===============================================================================JBoss Bootstrap Environment
JBOSS_HOME: D:\jboss-5.0.0.CR2
JAVA: D:\Borland\JBuilder2006\jdk1.5\bin\java
JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=25
6m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Ds
un.rmi.dgc.server.gcInterval=3600000
CLASSPATH: D:\jboss-5.0.0.CR2\bin\run.jar
=============================================================================== --------------------编程问答-------------------- 15:53:01,125 INFO [ServerImpl] Starting JBoss (Microcontainer)...
15:53:01,125 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.CR2 (build: S
VNTag=JBoss_5_0_0_CR2 date=200809171139)
15:53:01,140 INFO [ServerImpl] Home Dir: D:\jboss-5.0.0.CR2
15:53:01,140 INFO [ServerImpl] Home URL: file:/D:/jboss-5.0.0.CR2/
15:53:01,140 INFO [ServerImpl] Library URL: file:/D:/jboss-5.0.0.CR2/lib/
15:53:01,140 INFO [ServerImpl] Patch URL: null
15:53:01,140 INFO [ServerImpl] Server Name: default
15:53:01,140 INFO [ServerImpl] Server Home Dir: D:\jboss-5.0.0.CR2\server\defau
lt
15:53:01,140 INFO [ServerImpl] Server Home URL: file:/D:/jboss-5.0.0.CR2/server
/default/
15:53:01,140 INFO [ServerImpl] Server Data Dir: D:\jboss-5.0.0.CR2\server\defau
lt\data
15:53:01,140 INFO [ServerImpl] Server Temp Dir: D:\jboss-5.0.0.CR2\server\defau
lt\tmp
15:53:01,140 INFO [ServerImpl] Server Config URL: file:/D:/jboss-5.0.0.CR2/serv
er/default/conf/
15:53:01,140 INFO [ServerImpl] Server Library URL: file:/D:/jboss-5.0.0.CR2/ser
ver/default/lib/
15:53:01,140 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml
15:53:02,140 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/D:/j
boss-5.0.0.CR2/server/default/conf/bootstrap.xml
15:53:03,750 INFO [CopyMechanism] VFS temp dir: D:\jboss-5.0.0.CR2\server\defau
lt\tmp
15:53:03,750 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
15:53:07,437 INFO [ServerInfo] Java version: 1.5.0_03,Sun Microsystems Inc.
15:53:07,437 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_03-b07
,Sun Microsystems Inc.
15:53:07,453 INFO [ServerInfo] OS-System: Windows 2003 5.2,x86
15:53:07,593 INFO [JMXKernel] Legacy JMX core initialized
15:53:11,265 INFO [MetaDataAwareProfile] Using profile root:D:\jboss-5.0.0.CR2\
server\default
15:53:16,968 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083
/
--------------------编程问答-------------------- 15:53:23,171 WARN [ClassLoaderManager] Unexpected error during load of:org.jbos
s.resource.metadata.repository.DefaultJCAMetaDataRepository
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLo
ader.java:62)
at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.
java:504)
at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.
java:464)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseC
lassLoader.java:462)
at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseC
lassLoader.java:439)
at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDeleg
ateLoader.java:134)
at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(Fil
teredDelegateLoader.java:131)
at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassL
oadingTask.java:452)
at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoade
rManager.java:254)
at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoader
Manager.java:148)
at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseCl
assLoaderDomain.java:256)
at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseCl
assLoaderDomain.java:1099)
at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(Ba
seClassLoader.java:730)
at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoa
der.java:374)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.jboss.kernel.plugins.dependency.KernelScopeInfo.getScope(KernelSc
opeInfo.java:106)
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(B
eanMetaDataDeployer.java:119)
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(B
eanMetaDataDeployer.java:51)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.i
nternalDeploy(AbstractSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(
AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
Wrapper.java:169)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(Deployer
sImpl.java:1285)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1003)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1024)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
Impl.java:944)
at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
Impl.java:627)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
rImpl.java:541)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadPr
ofile(ProfileServiceBootstrap.java:258)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(
ProfileServiceBootstrap.java:143)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
409)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:544)
at java.lang.Thread.run(Thread.java:595)
15:53:23,234 ERROR [AbstractKernelController] Error installing to Real: name=vfs
file:/D:/jboss-5.0.0.CR2/server/default/deployers/jboss-jca.deployer/ state=PreR
eal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error during deploy: JCAMetaDataRep
ository
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentExcept
ion(DeploymentException.java:49)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
Wrapper.java:175)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(Deployer
sImpl.java:1285)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1003)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1024)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
Impl.java:944)
at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
Impl.java:627)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
rImpl.java:541)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadPr
ofile(ProfileServiceBootstrap.java:258)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(
ProfileServiceBootstrap.java:143)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
409)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:544)
at java.lang.Thread.run(Thread.java:595) --------------------编程问答-------------------- Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class
file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLo
ader.java:62)
at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.
java:504)
at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.
java:464)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseC
lassLoader.java:462)
at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseC
lassLoader.java:439)
at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDeleg
ateLoader.java:134)
at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(Fil
teredDelegateLoader.java:131)
at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassL
oadingTask.java:452)
at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoade
rManager.java:254)
at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoader
Manager.java:148)
... 33 more
15:53:31,890 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of
incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** CONTEXTS IN ERROR: Name -> Error
vfsfile:/D:/jboss-5.0.0.CR2/server/default/deployers/jboss-jca.deployer/ -> java
.lang.UnsupportedClassVersionError: Bad version number in .class file
15:53:31,921 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.CR2 (build: SVNTag
=JBoss_5_0_0_CR2 date=200809171139)] Started in 30s:781ms
--------------------编程问答-------------------- 而且http://localhost:8080不能看到jboss的界面,我的环境变量为:JAVA_HOME: D:\Borland\JBuilder2006\jdk1.5;Path: D:\jboss-5.0.0.CR2\bin;JBOSS_HOME: D:\jboss-5.0.0.CR2
而且我是用jbuilder2006的,怎么创建ejb呢?我创建了session bean之后那些java文件都是有错误的。。 --------------------编程问答-------------------- 帮忙顶一下吧+++ --------------------编程问答-------------------- java.lang.UnsupportedClassVersionError: Bad version number in ,
版本有问题,
LZ用JDK有问题? 不过用JBOSS5.0算高了,我公司还是用4.2.1 - 4.2.3 --------------------编程问答-------------------- 提示是说jdk版本有问题吧。
话说,楼主还搞EJB? 现在用得不多啦
补充:Java , Web 开发