写道
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: D:\zncard\jboss 5.0
JAVA: D:\zncard\Java\jdk1.5.0_15\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:\zncard\jboss 5.0\bin\run.jar
===============================================================================
12:16:13,234 INFO [ServerImpl] Starting JBoss (Microcontainer)...
12:16:13,234 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SV
NTag=JBoss_5_0_0_GA date=200812041714)
12:16:13,234 INFO [ServerImpl] Bootstrap URL: null
12:16:13,234 INFO [ServerImpl] Home Dir: D:\zncard\jboss 5.0
12:16:13,234 INFO [ServerImpl] Home URL: file:/D:/zncard/jboss%205.0/
12:16:13,234 INFO [ServerImpl] Library URL: file:/D:/zncard/jboss%205.0/lib/
12:16:13,234 INFO [ServerImpl] Patch URL: null
12:16:13,234 INFO [ServerImpl] Common Base URL: file:/D:/zncard/jboss%205.0/com
mon/
12:16:13,250 INFO [ServerImpl] Common Library URL: file:/D:/zncard/jboss%205.0/
common/lib/
12:16:13,265 INFO [ServerImpl] Server Name: default
12:16:13,281 INFO [ServerImpl] Server Base Dir: D:\zncard\jboss 5.0\server
12:16:13,281 INFO [ServerImpl] Server Base URL: file:/D:/zncard/jboss%205.0/ser
ver/
12:16:13,312 INFO [ServerImpl] Server Config URL: file:/D:/zncard/jboss%205.0/s
erver/default/conf/
12:16:13,328 INFO [ServerImpl] Server Home Dir: D:\zncard\jboss 5.0\server\defa
ult
12:16:13,343 INFO [ServerImpl] Server Home URL: file:/D:/zncard/jboss%205.0/ser
ver/default/
12:16:13,359 INFO [ServerImpl] Server Data Dir: D:\zncard\jboss 5.0\server\defa
ult\data
12:16:13,375 INFO [ServerImpl] Server Library URL: file:/D:/zncard/jboss%205.0/
server/default/lib/
12:16:13,390 INFO [ServerImpl] Server Log Dir: D:\zncard\jboss 5.0\server\defau
lt\log
12:16:13,406 INFO [ServerImpl] Server Native Dir: D:\zncard\jboss 5.0\server\de
fault\tmp\native
12:16:13,421 INFO [ServerImpl] Server Temp Dir: D:\zncard\jboss 5.0\server\defa
ult\tmp
12:16:13,437 INFO [ServerImpl] Server Temp Deploy Dir: D:\zncard\jboss 5.0\serv
er\default\tmp\deploy
12:16:14,000 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/D:/z
ncard/jboss%205.0/server/default/conf/bootstrap.xml
12:16:14,578 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.pl
ugins.cache.IterableTimedVFSCache]
12:16:14,609 INFO [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifet
ime=1800, resolution=60}]
12:16:14,921 INFO [CopyMechanism] VFS temp dir: D:\zncard\jboss 5.0\server\defa
ult\tmp
12:16:14,953 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
12:16:16,000 INFO [ServerInfo] Java version: 1.5.0_15,Sun Microsystems Inc.
12:16:16,000 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_15-b04
,Sun Microsystems Inc.
12:16:16,015 INFO [ServerInfo] OS-System: Windows 2003 5.2,x86
12:16:16,062 INFO [JMXKernel] Legacy JMX core initialized
12:16:17,750 INFO [ProfileServiceImpl] Loading profile: default from: org.jboss
.system.server.profileservice.repository.SerializableDeploymentRepository@1c501f
7(root=D:\zncard\jboss 5.0\server, key=org.jboss.profileservice.spi.ProfileKey@1
43b82c3[domain=default,server=default,name=default])
12:16:17,796 INFO [ProfileImpl] Using repository:org.jboss.system.server.profil
eservice.repository.SerializableDeploymentRepository@1c501f7(root=D:\zncard\jbos
s 5.0\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=defaul
t,server=default,name=default])
12:16:17,828 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@120cb3{key=o
rg.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,na
me=default]}
12:16:19,968 INFO [WebService] Using RMI server codebase: http://svctag-qzbt2x:
8083/
12:16:24,312 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
12:16:24,328 INFO [NativeServerConfig] 3.0.4.SP1
12:16:25,515 ERROR [ProfileServiceBootstrap] Failed to load profile:
org.jboss.deployers.spi.DeploymentException: Error determining structure: jboss-
local-jdbc.rar
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentExcept
ion(DeploymentException.java:49)
at org.jboss.deployers.vfs.plugins.structure.explicit.DeclaredStructure.
determineStructure(DeclaredStructure.java:87)
at org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.de
termineStructure(StructureDeployerWrapper.java:73)
at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.
doDetermineStructure(VFSStructuralDeployersImpl.java:196)
at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.
determineStructure(VFSStructuralDeployersImpl.java:221)
at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers
.determineStructure(AbstractStructuralDeployers.java:77)
at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(
MainDeployerImpl.java:853)
at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainD
eployerImpl.java:303)
at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainD
eployerImpl.java:260)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadPr
ofile(ProfileServiceBootstrap.java:303)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(
ProfileServiceBootstrap.java:205)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
405)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: Failed to read zip file: org.jboss.virtua
l.plugins.context.zip.ZipFileWrapper@181a7dc - D:\zncard\jboss 5.0\server\defaul
t\deploy\jboss-local-jdbc.rar
at org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(Z
ipEntryContext.java:563)
at org.jboss.virtual.plugins.context.zip.ZipEntryContext.checkIfModified
(ZipEntryContext.java:693)
at org.jboss.virtual.plugins.context.zip.ZipEntryContext.getChild(ZipEnt
ryContext.java:737)
at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.createChildHand
ler(ZipEntryHandler.java:175)
at org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.structur
edFindChild(AbstractVirtualFileHandler.java:542)
at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(ZipEnt
ryHandler.java:155)
at org.jboss.virtual.plugins.context.DelegatingHandler.getChild(Delegati
ngHandler.java:106)
at org.jboss.virtual.VirtualFile.getChild(VirtualFile.java:451)
at org.jboss.deployers.vfs.plugins.structure.explicit.DeclaredStructure.
determineStructure(DeclaredStructure.java:64)
... 13 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:203)
at java.util.zip.ZipFile.<init>(ZipFile.java:234)
at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.ensureZipFile(Zi
pFileWrapper.java:175)
at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.acquire(ZipFileW
rapper.java:245)
at org.jboss.virtual.plugins.context.zip.ZipEntryContext.initEntries(Zip
EntryContext.java:461)
at org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(Z
ipEntryContext.java:554)
... 21 more
12:16:26,078 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=
JBoss_5_0_0_GA date=200812041714)] Started in 12s:610ms
分享到:
相关推荐
总结起来,解决JBoss启动优先级问题主要是通过配置文件明确应用之间的依赖关系,利用如`jboss-web.xml`中的`<depends>`元素来控制启动顺序。这确保了系统按照预设的逻辑运行,避免了因启动顺序不正确导致的错误或...
Jboss启动报Failed to parse WEB-INF/web.xml; - nested throwable错误解决方案 在Jboss应用服务器中,启动报错Failed to parse WEB-INF/web.xml; - nested throwable是一种常见的错误,本文将对此错误进行深入分析...
如果JDK版本不兼容或路径设置有误,很可能导致JBoss启动失败,表现为“一闪而过”的现象。具体而言,以下几点需注意: - **JDK版本**:确保安装的JDK版本与JBoss兼容。JBoss 5.0.6版本通常推荐使用JDK 1.5或1.6。 -...
- **异常分类器类名**:`org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter`,用于处理来自数据库的异常。 - **元数据**:指定`type-mapping`为`mySQL`,对应于标准的JBoss CMP-JDBC映射。 #### 步骤三...
最好不要直接关闭运行 JBOSS 时的控制台窗口,直接关闭控制台可能导致 JBOSS 下次启动时出现异常。正常关闭 JBOSS 的方法是另外打开一个控制台窗口,执行 JBoss\bin 目录下的 shutdown.bat 批处理文件。 六、部署 ...
7. **故障排查**: 如果服务无法启动或运行异常,检查Windows事件查看器中的应用程序日志,查找错误信息。同时,`JBOSS_HOME\standalone\log`或`JBOSS_HOME/domain/log`目录下的日志文件也会记录详细的启动过程和可能...
启动时报如下异常: org.slf4j.spi.LocationAwareLogger.log(Lorg.slf4j.Marker;Ljava.lang.String;Ljava.lang.String.Ljava.lang.Object;Ljava.lang.Throwable) 原因是旧版本的slf4j-api不包含以上方法,附件解压...
- 使用`while true`循环确保JBoss在异常退出后能够自动重启,增强了服务的可用性。 #### 二、JBoss内存优化 JBoss在运行时会消耗大量内存,因此对其内存进行优化是提高整体性能的关键步骤之一。 **优化要点:** ...
如果窗口中没有出现异常,且出现:10:16:19,765 INFO [Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] Started in 30s:828ms 字样,则表示安装成功。 三、JBoss 的...
如果遇到启动失败或运行异常,检查`standalone.log`或`server.log`中的错误信息,它们会提供诊断问题的关键线索。此外,熟悉JBoss的控制台工具(如`jconsole`或`jvisualvm`)也有助于远程诊断和性能分析。 7. **...
- `lib`:JBoss启动时加载的共享JARs,不建议在此处添加自定义库。 - `server`:包含不同配置的子目录,如`minimal`、`default`和`all`。默认使用`default`配置。 - `server/all`:全功能配置,包含集群和IIOP服务...
如果一切正常,控制台不会抛出任何异常,并且可以看到JBoss启动成功的相关信息。此时可以通过访问`http://localhost:8080`来查看JBoss的欢迎主页。 此外,还可以通过访问`http://localhost:8080/jmx-console/`进入...
避免直接关闭控制台窗口,以防下次启动出现异常。 - **创建快捷方式**: 可以为`shutdown.bat`创建一个快捷方式,便于操作。 **1.5 安装为Windows服务** - **安装为服务**: 为了实现JBoss作为Windows2000系统的...
- **JBoss启动常见异常**:在启动过程中可能出现的各种异常情况及其解决方法。 综上所述,JBoss 5.1作为一款成熟稳定的Java EE应用服务器,不仅提供了丰富的功能支持,还具有良好的可扩展性和可配置性。通过以上...
2. **环境变量设置**:设置两个环境变量,`CLASSPATH`和`JBOSS_HOME`,以确保JBoss能找到所需的库文件和启动配置。 3. **JDBC驱动的部署**:将MySQL的JDBC驱动复制到JBoss的`lib`目录,使得服务器在启动时能够加载...
如果在启动JBoss时遇到关于VFS的解析异常,通常是因为缺少必要的依赖或配置不正确。这种情况下,添加"jboss-spring-int-vfs.jar"到类路径可以解决这个问题,因为它包含了处理VFS相关问题所需的类和方法。 标签中的...