起步软件技术论坛-X3

 找回密码
 立即注册
搜索
查看: 1479|回复: 30

websphere 上部署x3app.ear出错**

[复制链接]
发表于 2007-2-12 23:34:30 | 显示全部楼层 |阅读模式
看 Deployment Manager 或部署有应用程序的服务器上的 SystemOut.log,以获取发生 EJB 部署进程时有关此部署进程的特定信息。

ADMA5016I: 安装 X3App 已启动。

ADMA5067I: 应用程序 X3App 的资源验证成功完成。

ADMA5058I: 已使用部署目标的版本验证应用程序和模块版本。

ADMA5018I: EJBDeploy 命令正在企业归档(EAR)文件 D:\IBM\profiles\AppSrv01\wstemp\0\upload\x3app.ear 上运行。

Starting workbench.

framework search path: d:\IBM\deploytool\itp\plugins

Creating the project.

An unexpected exception was thrown. Halting execution.

An unexpected exception was thrown. Halting execution.

Shutting down workbench.

Error executing deployment: java.lang.StringIndexOutOfBoundsException. Error is null.

java.lang.StringIndexOutOfBoundsException

at java.lang.String.substring(String.java:1081)

at org.eclipse.jst.j2ee.ejb.componentcore.util.EJBArtifactEdit.getEJBClientJarModule(EJBArtifactEdit.java:241)

at org.eclipse.jst.j2ee.ejb.internal.plugin.EjbModuleExtensionImpl.getDefinedEJBClientJARProject(EjbModuleExtensionImpl.java:91)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.runEarDeploy(BatchExtension.java:369)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.access$0(BatchExtension.java:317)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.run(BatchExtension.java:300)

at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1721)

at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1741)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.execute(BatchExtension.java:284)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.run(BatchExtension.java:247)

at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)

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

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

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

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

at com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.run(BootLoaderLoader.java:272)

at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute(BatchDeploy.java:99)

at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:83)

at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:313)

EJBDeploy level: o0619.34

ADMA5007I: EJBDeploy 命令在 D:\IBM\profiles\AppSrv01\wstemp\wstemp\app_110b67b250a\dpl\dpl_X3App.ear 上完成了

ADMA5008E: EJBDeploy 在 D:\IBM\profiles\AppSrv01\wstemp\wstemp\app_110b67b250a\dpl\dpl_X3App.ear 上失败了:com.ibm.websphere.management.exception.AdminException: ADMA0063E: EJB 部署中发生错误 - [An unexpected exception was thrown. Halting execution.]

ADMA5011I: 清除应用程序 X3App 的 temp 目录已完成。

ADMA5014E: 应用程序 X3App 安装失败。

应用程序 X3App 安装失败。  

要使用已安装的应用程序,请单击“管理应用程序”按钮。
回复

使用道具 举报

 楼主| 发表于 2007-2-13 16:15:30 | 显示全部楼层
处理方式是什末?
回复 支持 反对

使用道具 举报

发表于 2007-2-14 08:50:22 | 显示全部楼层
EJB布署出错,仅从以上信息无法判断问题出在哪里,请部署非EJB版本试试!EJB版本目前还不是很完善。春节后会处理!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-2-14 10:40:22 | 显示全部楼层
请发过来最新的非EJB版本(websphere的)
回复 支持 反对

使用道具 举报

发表于 2007-2-14 11:13:17 | 显示全部楼层
您拿到的版本里面已经有了,在你选的那个文件同一目录下有两个文件,用另一个就是非EJB的了!另外如果您用的是Websphere6.1的版本,可以用我们的部署工具来部署!
回复 支持 反对

使用道具 举报

发表于 2007-2-25 14:49:38 | 显示全部楼层
通过我们的配置工具进行部署会自动在Server\deploy\websphere目录中去找要部署的包。如果您在配置工具服务器页,选择了部署EJB版本最终发布的将是x3app.ear包。如果没有选择EJB版本则会将x3.ear包进行发布。在我们给的安装程序安装好后,EJB和非EJB的包都会在Server\deploy\websphere目录下。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-2-25 15:48:00 | 显示全部楼层
上次邮件发过来的是一个压缩文件解开后只有一个x3app.ear,楼上说的x3.ear和配置工具在哪里啊?看别的帖子,是否要用tomcat的哪个服务器端配置工具啊?
回复 支持 反对

使用道具 举报

发表于 2007-2-25 16:41:37 | 显示全部楼层
对,安装tomcat就可以在Server\deploy\websphere 目录下看到
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-2-25 16:54:55 | 显示全部楼层
目前部署完非EJB版本后,出现以下错误,帮看一下吧
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R java.sql.SQLException: 不支持的特性DSRA0010E: SQL 状态 = null,错误代码 = 17,023
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at oracle.jdbc.dbaccess.DBError.throwUnsupportedFeatureSqlException(DBError.java)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at oracle.jdbc.driver.OracleConnection.getHoldability(OracleConnection.java)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper.getHoldability(InternalGenericDataStoreHelper.java:436)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.<init>(WSRdbManagedConnectionImpl.java:567)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.createManagedConnection(WSManagedConnectionFactoryImpl.java:1075)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ejs.j2c.FreePool.createManagedConnectionWithMCWrapper(FreePool.java:1750)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ejs.j2c.FreePool.createOrWaitForConnection(FreePool.java:1517)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ejs.j2c.PoolManager.reserve(PoolManager.java:2141)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:843)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:582)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:431)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:400)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.justep.connection.WLConnectionProvider.get(Unknown Source)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.justep.connection.ConnectionManager.get(Unknown Source)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.justep.connection.ConnectionManager.get(Unknown Source)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.justep.connection.SystemConnectionGetterImp.get(Unknown Source)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.justep.filesystem.CacheManager$Helper.needUptodate(Unknown Source)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.justep.filesystem.CacheManager$Helper.ensure(Unknown Source)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.justep.filesystem.CacheManager.ensureFileSystem(Unknown Source)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.justep.filesystem.CacheManager.ensure(Unknown Source)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.justep.filesystem.CacheManager.createCacheManager(Unknown Source)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.justep.filesystem.CacheManager.<clinit>(Unknown Source)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at java.lang.J9VMInternals.initializeImpl(Native Method)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at java.lang.J9VMInternals.initialize(J9VMInternals.java:177)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at java.lang.reflect.Method.invoke(Method.java:615)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.justep.servlet.InitListener.contextInitialized(Unknown Source)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:605)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:265)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:271)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:88)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:653)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:606)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:333)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:549)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1295)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1129)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:567)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:814)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:948)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2114)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:340)
[07-2-25 16:47:39:726 CST] 00000018 SystemErr     R         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R java.sql.SQLException: 不支持的特性DSRA0010E: SQL 状态 = null,错误代码 = 17,023
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at oracle.jdbc.dbaccess.DBError.throwUnsupportedFeatureSqlException(DBError.java)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at oracle.jdbc.driver.OracleConnection.getHoldability(OracleConnection.java)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper.getHoldability(InternalGenericDataStoreHelper.java:436)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.<init>(WSRdbManagedConnectionImpl.java:567)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.createManagedConnection(WSManagedConnectionFactoryImpl.java:1075)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ejs.j2c.FreePool.createManagedConnectionWithMCWrapper(FreePool.java:1750)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ejs.j2c.FreePool.createOrWaitForConnection(FreePool.java:1517)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ejs.j2c.PoolManager.reserve(PoolManager.java:2141)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:843)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:582)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:431)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:400)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.justep.connection.WLConnectionProvider.get(Unknown Source)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.justep.connection.ConnectionManager.get(Unknown Source)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.justep.connection.ConnectionManager.get(Unknown Source)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.justep.connection.SystemConnectionGetterImp.get(Unknown Source)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.justep.filesystem.CacheManager.getOrgAccounts(Unknown Source)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.justep.filesystem.CacheManager.ensureOrgSystem(Unknown Source)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.justep.filesystem.CacheManager.ensure(Unknown Source)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.justep.filesystem.CacheManager.createCacheManager(Unknown Source)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.justep.filesystem.CacheManager.<clinit>(Unknown Source)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at java.lang.J9VMInternals.initializeImpl(Native Method)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at java.lang.J9VMInternals.initialize(J9VMInternals.java:177)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at java.lang.reflect.Method.invoke(Method.java:615)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.justep.servlet.InitListener.contextInitialized(Unknown Source)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:605)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:265)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:271)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:88)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:653)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:606)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:333)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:549)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1295)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1129)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:567)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:814)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:948)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2114)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:340)
[07-2-25 16:47:39:835 CST] 00000018 SystemErr     R         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
回复 支持 反对

使用道具 举报

发表于 2007-2-25 17:05:30 | 显示全部楼层
没见过的错啊!能不能详细说明一下,这时干什么的时候出来的错?感觉上像是用的Oracle数据库程序调用了驱动不支持(或未实现)的方法了!把Websphere和Oracle的版本也说一下吧!网上查到该类型的错原因就是调到不支持的东西了!
或是自己看一下驱动文档是不是支持下面这个方法!
at oracle.jdbc.driver.OracleConnection.getHoldability()
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Justep Inc.

GMT+8, 2024-12-26 09:52 , Processed in 0.043637 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表