目前,我正在努力将我的seam jbpm应用程序从Jboss 5.1迁移到WildFly 8.2
我使用的是Seam 2.2和JBPM 3.3,在WildFly 8.2上部署了jboss 5.1应用程序。在java 8上编译后,修复了一些问题,我被JBPM问题阻止。
下面是我的服务器日志
4:12:50,540 INFO [org.jboss.seam.init.Initialization] (MSC service thread 1-2) reading /WEB-INF/components.xml
14:12:50,549 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./todo: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./todo: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: error while reading /WEB-INF/components.xml
at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:222)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:87)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:72)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
... 3 more
Caused by: java.lang.RuntimeException: error while reading /WEB-INF/components.xml
at org.jboss.seam.init.Initialization.initComponentsFromXmlDocument(Initialization.java:231)
at org.jboss.seam.init.Initialization.create(Initialization.java:134)
at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:35)
at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:173)
at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:193)
... 7 more
Caused by: java.lang.RuntimeException: Error loading element Jbpm with component name null and component class null
at org.jboss.seam.init.Initialization.installComponentsFromXmlElements(Initialization.java:352)
at org.jboss.seam.init.Initialization.initComponentsFromXmlDocument(Initialization.java:227)
... 11 more
14:12:50,567 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "todo-ear.ear")]) - failure description: {"JBAS014671: Failed services" => {"jboss.undertow.deployment.default-server.default-host./todo" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./todo: Failed to start service
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: error while reading /WEB-INF/components.xml
Caused by: java.lang.RuntimeException: error while reading /WEB-INF/components.xml
Caused by: java.lang.RuntimeException: Error loading element Jbpm with component name null and component class null"}}
14:12:50,682 INFO [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "mysql-connector-java-5.1.23-bin.jar" (runtime-name : "mysql-connector-java-5.1.23-bin.jar")
14:12:50,709 INFO [org.jboss.as.server] (ServerService Thread Pool -- 27) JBAS018559: Deployed "todo-ear.ear" (runtime-name : "todo-ear.ear")
14:12:50,850 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.undertow.deployment.default-server.default-host./todo: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./todo: Failed to start service
14:12:50,972 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:10190/management
14:12:50,973 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:10190
14:12:50,973 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: WildFly 8.2.0.Final "Tweek" started (with errors) in 12043ms - Started 582 of 661 services (3 services failed or missing dependencies, 123 services are lazy, passive or on-demand)
14:12:51,142 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 32) JBAS011410: Stopping Persistence Unit (phase 2 of 2) Service 'todo-ear.ear/todo-ejb.jar#todo'
14:12:51,145 ERROR [stderr] (xnio-file-watcher[Watcher for D:\Migration_Workspace\Jboss\Jboss-8\wildfly-8.2.0.Final\standalone\deployments\todo-ear.ear\todo.war/]-0) Exception in thread "xnio-file-watcher[Watcher for D:\Migration_Workspace\Jboss\Jboss-8\wildfly-8.2.0.Final\standalone\deployments\todo-ear.ear\todo.war/]-0" java.nio.file.ClosedWatchServiceException
The below is my comoponents.xml file
<?xml version="1.0" encoding="UTF-8"?>
<components xmlns="http://jboss.org/schema/seam/components"
xmlns:core="http://jboss.org/schema/seam/core" xmlns:persistence="http://jboss.org/schema/seam/persistence"
xmlns:bpm="http://jboss.org/schema/seam/bpm" xmlns:security="http://jboss.org/schema/seam/security"
xmlns:theme="http://jboss.org/schema/seam/theme" xmlns:cache="http://jboss.org/schema/seam/cache"
xmlns:web="http://jboss.org/schema/seam/web" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://jboss.org/schema/seam/core http://jboss.org/schema/seam/core-2.3.xsd
http://jboss.org/schema/seam/persistence http://jboss.org/schema/seam/persistence-2.3.xsd
http://jboss.org/schema/seam/bpm http://jboss.org/schema/seam/bpm-2.3.xsd
http://jboss.org/schema/seam/security http://jboss.org/schema/seam/security-2.3.xsd
http://jboss.org/schema/seam/theme http://jboss.org/schema/seam/theme-2.3.xsd
http://jboss.org/schema/seam/cache http://jboss.org/schema/seam/cache-2.3.xsd
http://jboss.org/schema/seam/web http://jboss.org/schema/seam/web-2.3.xsd
http://jboss.org/schema/seam/components http://jboss.org/schema/seam/components-2.3.xsd">
<bpm:jbpm>
<bpm:process-definitions>
<value>todo.jpdl.xml</value>
</bpm:process-definitions>
</bpm:jbpm>
</components>
如果有人有解决办法,请告诉我。
WildFly不支持JBPM 3.2,为了解决这个问题,我们需要按照下面的链接使用捆绑的hibernate JAR。
https://developer.jboss.org/thread/253440
我正在探索将java web应用程序移动到Azure应用程序服务的可能性。应用程序on prem在启动时读取属性文件。 是否有可能将属性文件传递或放置到应用服务?如果没有,建议将此类遗留应用程序移动到Azure应用服务?
我有一个Web项目,我很容易在tomcat上对其进行depoly。事实上,我有一个实现的类(这个类真的很胖),因为你知道每个支持servlet 3.0的应用程序服务器,它可以很容易地检测到它并尝试启动它。现在我想知道是否可以使用Spring启动启动器,并且无需任何进一步的配置,我将我的传递给它,并根据我的启动我的项目进行Spring启动? 我只想使用spring boot的方法在Tomcat上部署
我用xcode11运行我的应用程序,并且可以发布它。但是,我看到了苹果发布的下面这则公告; “从2021年4月开始,所有提交到应用商店的iOS和iPadOS应用都必须使用Xcode 12和iOS 14 SDK构建。” 我到底该怎么做?如果我下载Xcode12并运行我的应用程序,SDK会自动更新吗?安装iOS 14 SDK该怎么做? 或者我需要为我现有的豆荚“豆荚更新”吗?在我的项目“iOS部署目标
一个Seam war应用程序(JSF1.2),以前迁移到JBoss7.1并运行良好,现在需要迁移到Wildfly Beta1。 默认情况下Wildfly不支持JSF1.2,因此遵循以下说明启用它: 项目建设得很好,野蝇启动得也很好。当我尝试打开一个页面时,它会抛出异常: 根据这个链接,javax.faces.context.facescontext.getAttributes()的返回类型参数发生
我试图用以下xml文件在tomcat 8中部署一个应用程序: 我读了很多关于资源方法的迁移,并将xml文件更改为: 该应用程序启动正常,但没有从jar文件中导入类。我肯定我错过了一些东西,找不到一个好的例子来说明如何做到这一点。请帮助。 我的JSP无法编译,正在抛出 组织。阿帕奇。贾斯珀。JaspereException:无法为JSP编译类:在生成的java文件:[/usr/local/apach
我正在将flutter应用程序从Firebase实时数据库迁移到Firestore。我在聊天应用程序中更新这段代码时遇到麻烦,因为firestore没有FireBaseAnimatedList。 旧代码: 现在只有错误是在动画中。我有错误: