无法在Websphere上部署应用程序

用户名

我正在使用使用以下技术的应用程序:Java,EJB 3,JPA,Websphere和Oracle。我们根本不使用derby,但是,当我尝试将耳朵部署到Websphere时,它总是给我以下错误:

引起原因:java.lang.NoClassDefFoundError:org.apache.derby.jdbc.EmbeddedDriver(初始化失败)(位于java.lang.J9VMInternals.initialize(J9VMInternals.java:140)位于org.apache.derby.jdbc.EmbeddedDataSource.findDriver( org.apache.derby.jdbc.EmbeddedDataSource.getConnection上的未知源)(org.apache.derby.jdbc.EmbeddedXADataSource.setupResourceAdapter(未知源)上org.apache.derby.jdbc.EmbeddedDataSource.getConnection(未知源)处),位于com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper $ 1.run(InternalGenericDataStoreHelper.java:1221)的org.apache.derby.jdbc.EmbeddedXADataSource.getXAConnection(未知源)。 com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper.getPooledConnection(InternalGenericDataStoreHelper.java)上的AccessController.doPrivileged(AccessController.java:118):1258),位于com.ibm.ws.rsadapter.spi.WSRdbDataSource.getPooledConnection(WSRdbDataSource.java:2308),位于com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.createManagedConnection(WSManagedConnectionFactoryImpl.java:1598),位于com.ibm.ejs .j2c.FreePool.createManagedConnectionWithMCWrapper(FreePool.java:2034)位于com.ibm.ejs.j2c.FreePool.createOrWaitForConnection(FreePool.java:1711)位于com.ibm.ejs.j2c.PoolManager.reserve(PoolManager.java:2471) ),位于com.ibm.ws.rsadapter.jdbc的com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:696)的com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:1059)处。 com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:635)上的WSJdbcDataSource.getConnection(WSJdbcDataSource.java:668)com.ibm.ws.extensionhelper.db.impl.DatabaseHelperImpl $ DSWrappercom.ibm.ws.extensionhelper.db.impl.DatabaseHelperImpl.getConnection(DatabaseHelperImpl.java:746)上的com.ibm.ws.extensionhelper.db.impl.DatabaseHelperImpl.getConnection(DatabaseHelperImpl。 java:1354)com.ibm.ws.extensionhelper.db.impl.DatabaseHelperImpl.connect(DatabaseHelperImpl.java:544)at com.ibm.ws.extensionhelper.db.impl.DatabaseHelperImpl.initialize(DatabaseHelperImpl.java:497) ... 75更多原因:java.lang.SecurityException:违反密封:包org.apache.derby.impl.store.raw.data在java.net.URLClassLoader.defineClass(URLClassLoader.java:487)处被密封.net.URLClassLoader.defineClass(URLClassLoader.java:451)at java.net.URLClassLoader.access $ 300(URLClassLoader.java:79)at java.net.URLClassLoader $ ClassFinder.run(URLClassLoader.java:1034)at java.security .AccessController。java.net.URLClassLoader.findClass(URLClassLoader.java:429)的doPrivileged(AccessController.java:284)com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:150)的java.lang.ClassLoader.loadClass (ClassLoader.java:653)在com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:90)在java.lang.ClassLoader.loadClass(ClassLoader.java:619)在java.lang.ClassLoader.defineClassImpl( java.net.URLClassLoader.defineClass(URLClassLoader.java:540)上java.security.SecureClassLoader.defineClass(SecureClassLoader.java:69)上java.lang.ClassLoader.defineClass(ClassLoader.java:275)上的Native方法) .net.URLClassLoader.defineClass(URLClassLoader.java:451)at java.net.URLClassLoader.access $ 300(URLClassLoader.java:79)at java.net.URLClassLoader $ ClassFinder.run(URLClassLoader.java:1034)at java.security .AccessController。java.net.URLClassLoader.findClass(URLClassLoader.java:429)的doPrivileged(AccessController.java:284)com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:150)的java.lang.ClassLoader.loadClass (ClassLoader.java:653)在com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:90)在java.lang.ClassLoader.loadClass(ClassLoader.java:619)在java.lang.Class.forNameImpl( org.apache.derby.impl.services.monitor.BaseMonitor.getImplementations(Unknown Source)的java.lang.Class.forName(Class.java:139)上的org.apache.derby.impl.services.monitor org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(Unknown Source)的org.apache.derby.impl.services.monitor.FileMonitor.org的.BaseMonitor.getDefaultImplementations(未知源)org.org的org.apache.derby.impl.services.monitor.FileMonitor。(未知源)的。 apache.derby.iapi.services.monitor.Monitor。在org.apache.derby.iapi.jdbc.JDBCBoot.boot(在org.apache.derby.jdbc.EmbeddedDriver上的startMonitor(未知源)。在org.apache.derby.jdbc.EmbeddedDriver上的boot(未知源)。 (未知源)在java.lang.Class.forNameImpl(本机方法)在java.lang.Class.forNameImpl(本机方法)在java.lang.J9VMInternals.initializeImpl(本机方法)在java.lang.J9VMInternals.initializeImpl(本机方法)在java.lang.Class。 com.ibm.ws.runtime.component.EJBContainerImpl.timerDBExists(EJBContainerImpl.java:2091)的forName(Class.java:172)at com.ibm.ws.runtime.component.EJBContainerImpl.startModule(EJBContainerImpl.java:2550)的forName(Class.java:172) ...另外67个com.ibm.ws.runtime.component处的java.lang.Class.forNameImpl(本机方法)处的lang.J9VMInternals.initialize(J9VMInternals.java:200)。 com.ibm.ws.runtime.component.EJBContainerImpl.startModule(EJBContainerImpl.java:2550)的EJBContainerImpl.timerDBExists(EJBContainerImpl.java:2091)... 67更多com.ibm.ws.runtime.component处的java.lang.Class.forNameImpl(本机方法)处的lang.J9VMInternals.initialize(J9VMInternals.java:200)。 com.ibm.ws.runtime.component.EJBContainerImpl.startModule(EJBContainerImpl.java:2550)的EJBContainerImpl.timerDBExists(EJBContainerImpl.java:2091)... 67更多

顺便说一句,我的jdbcprovider和数据源已正确配置。我只是不了解我的应用程序与derby之间的关系。

有任何想法吗?任何帮助将不胜感激!

纳索诺夫·尼基塔(Nasonov Nikita)

IBM Websphere使用Derby作为内部数据库。尝试重新启动服务器,并在启动时检查服务器日志。您很有可能遇到服务器配置问题,并且您的应用程序正常。顺便说一句,您是否尝试过在该服务器上部署其他应用程序?

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

无法在Eclipse上部署应用程序(Bluemix)

来自分类Dev

我无法在heroku上部署我的烧瓶应用程序

来自分类Dev

无法看到在Heroku上部署Ruby on Rails应用程序?

来自分类Dev

Sails.js应用程序无法在Heroku上部署

来自分类Dev

无法在AppEngine上部署应用程序模块

来自分类Dev

无法在 Heroku 上部署 Node.js 应用程序

来自分类Dev

KeystoneJS 应用程序无法在 Google App Engine 上部署

来自分类Dev

在Websphere 8.5上部署Web应用程序时,JerseyServletContainerInitializer的java.lang.NullPointerException

来自分类Dev

尝试命中WebSphere Application Server上部署的应用程序时缺少资源异常

来自分类Dev

在Websphere 8.5上部署Web应用程序时,JerseyServletContainerInitializer的java.lang.NullPointerException

来自分类Dev

是否可以在 IBM Websphere Application Server 上部署 Angular 应用程序?

来自分类Dev

如何在 Websphere 上部署 angular-cli 应用程序?

来自分类Dev

在OpenShift上部署Laravel应用程序

来自分类Dev

在IIS上部署PHP应用程序

来自分类Dev

在Azure上部署角度应用程序

来自分类Dev

在Tomcat上部署Web应用程序

来自分类Dev

在 Heroku 上部署 React 应用程序

来自分类Dev

在 AWS 上部署 lambda 应用程序

来自分类Dev

成功在Azure上部署Flask应用程序,但该应用程序在打开网站后无法正常工作

来自分类Dev

在服务器上部署Java Spring Web应用程序后无法正常工作

来自分类Dev

OpenShift:无法在Wildfly上部署二进制应用程序

来自分类Dev

在Oracle Weblogic 10.3.6上部署的应用程序中使用EL 2.2无法正常工作吗?

来自分类Dev

在IIS上部署后,Lightswitch应用程序无法找到“ Oracle.ManagedDataAccessDTC”

来自分类Dev

无法使用Aws Ecs上部署的.net核心应用程序连接到Aurora MySql

来自分类Dev

无法使用DHF 5.2.1在应用程序服务器上部署到SSL

来自分类Dev

无法从具有不同端口的Internet访问在centOS上部署的我的流星应用程序

来自分类Dev

升级到Meteor 1.3后,无法在Ubuntu 14.04 LTS上部署应用程序

来自分类Dev

无法在Linux VM中的Shiny Server上部署Shiny应用程序

来自分类Dev

无法在GAE上部署-使用vaadin-gwt-polymer-elements 1.7.0.0的应用程序

Related 相关文章

  1. 1

    无法在Eclipse上部署应用程序(Bluemix)

  2. 2

    我无法在heroku上部署我的烧瓶应用程序

  3. 3

    无法看到在Heroku上部署Ruby on Rails应用程序?

  4. 4

    Sails.js应用程序无法在Heroku上部署

  5. 5

    无法在AppEngine上部署应用程序模块

  6. 6

    无法在 Heroku 上部署 Node.js 应用程序

  7. 7

    KeystoneJS 应用程序无法在 Google App Engine 上部署

  8. 8

    在Websphere 8.5上部署Web应用程序时,JerseyServletContainerInitializer的java.lang.NullPointerException

  9. 9

    尝试命中WebSphere Application Server上部署的应用程序时缺少资源异常

  10. 10

    在Websphere 8.5上部署Web应用程序时,JerseyServletContainerInitializer的java.lang.NullPointerException

  11. 11

    是否可以在 IBM Websphere Application Server 上部署 Angular 应用程序?

  12. 12

    如何在 Websphere 上部署 angular-cli 应用程序?

  13. 13

    在OpenShift上部署Laravel应用程序

  14. 14

    在IIS上部署PHP应用程序

  15. 15

    在Azure上部署角度应用程序

  16. 16

    在Tomcat上部署Web应用程序

  17. 17

    在 Heroku 上部署 React 应用程序

  18. 18

    在 AWS 上部署 lambda 应用程序

  19. 19

    成功在Azure上部署Flask应用程序,但该应用程序在打开网站后无法正常工作

  20. 20

    在服务器上部署Java Spring Web应用程序后无法正常工作

  21. 21

    OpenShift:无法在Wildfly上部署二进制应用程序

  22. 22

    在Oracle Weblogic 10.3.6上部署的应用程序中使用EL 2.2无法正常工作吗?

  23. 23

    在IIS上部署后,Lightswitch应用程序无法找到“ Oracle.ManagedDataAccessDTC”

  24. 24

    无法使用Aws Ecs上部署的.net核心应用程序连接到Aurora MySql

  25. 25

    无法使用DHF 5.2.1在应用程序服务器上部署到SSL

  26. 26

    无法从具有不同端口的Internet访问在centOS上部署的我的流星应用程序

  27. 27

    升级到Meteor 1.3后,无法在Ubuntu 14.04 LTS上部署应用程序

  28. 28

    无法在Linux VM中的Shiny Server上部署Shiny应用程序

  29. 29

    无法在GAE上部署-使用vaadin-gwt-polymer-elements 1.7.0.0的应用程序

热门标签

归档