每当我尝试启动该服务时,我都会收到来自JBoss的错误消息。在RHEL 7.5上运行JBoss AS 7.1.1。
这是启动后的错误消息:
<?php
/**
* Pre-populate Woocommerce checkout fields
*/
add_filter('woocommerce_checkout_get_value', function($input, $key ) {
global $current_user;
switch ($key) :
case 'billing_first_name':
case 'shipping_first_name':
return $current_user->first_name;
break;
case 'billing_last_name':
case 'shipping_last_name':
return $current_user->last_name;
break;
case 'billing_email':
return $current_user->user_email;
break;
case 'billing_phone':
return $current_user->phone;
break;
endswitch;
}, 10, 2);
奇怪的是,当我从$ JBOSS_HOME / bin目录运行standalone.sh时,就很好了。完美运行我的应用程序。这是我的standalone.xml:
15:34:41,987 INFO [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "MFA-EAR-TEST.ear"
15:34:41,988 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.logging.handler.SMTP: org.jboss.msc.service.StartException in service jboss.logging.handler.SMTP: JBAS011532: Could not load module com.fnfa.
service jboss.deployment.unit."MFA-EAR-TEST.ear": org.jboss.msc.service.StartException in service jboss.deployment.unit."MFA-EAR-TEST.ear": Failed to start service
15:34:42,010 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://192.168.1.85:9990
15:34:42,010 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 1517ms - Started 174 of 257 services (3 services failed or missing dependencies, 78 services are passive or on-demand)
15:35:11,424 INFO [org.jboss.as.messaging] (MSC service thread 1-4) JBAS011605: Unbound messaging object to jndi name java:/queue/test
15:35:11,424 INFO [org.jboss.as.messaging] (MSC service thread 1-4) JBAS011605: Unbound messaging object to jndi name java:jboss/exported/jms/queue/test
15:35:11,425 INFO [org.jboss.as.messaging] (MSC service thread 1-9) JBAS011605: Unbound messaging object to jndi name java:/topic/MFA
15:35:11,424 INFO [org.jboss.as.osgi] (MSC service thread 1-6) JBAS011942: Stopping OSGi Framework
15:35:11,425 INFO [org.jboss.as.messaging] (MSC service thread 1-8) JBAS011605: Unbound messaging object to jndi name java:jboss/exported/jms/RemoteConnectionFactory
15:35:11,426 INFO [org.jboss.as.messaging] (MSC service thread 1-8) JBAS011605: Unbound messaging object to jndi name java:/RemoteConnectionFactory
15:35:11,429 INFO [org.jboss.as.logging] JBAS011503: Restored bootstrap log handlers
15:35:11,433 INFO [jacorb.poa] POA Naming destroyed
15:35:11,433 INFO [jacorb.poa] POA IRPOA destroyed
15:35:11,436 INFO [jacorb.poa] POA RootPOA destroyed
15:35:11,444 INFO [jacorb.orb] prepare ORB for shutdown...
15:35:11,444 INFO [jacorb.orb] ORB going down...
15:35:11,445 INFO [jacorb.orb] ORB shutdown complete
15:35:11,445 INFO [jacorb.orb] ORB run, exit
15:35:11,446 INFO [jacorb.orb.iiop] Listener exited
15:35:11,447 INFO [org.hornetq.ra.HornetQResourceAdapter] HornetQ resource adapter stopped
15:35:11,452 INFO [com.arjuna.ats.jbossatx] ARJUNA032018: Destroying TransactionManagerService
15:35:11,452 INFO [com.arjuna.ats.jbossatx] ARJUNA032014: Stopping transaction recovery manager
15:35:11,494 INFO [org.hornetq.core.server.impl.HornetQServerImpl] HornetQ Server version 2.2.13.Final (HQ_2_2_13_FINAL_AS7, 122) [6aaed447-c35c-11e8-806e-1860247db947] stopped
15:35:11,495 INFO [org.jboss.as] JBAS015950: JBoss AS 7.1.1.Final "Brontes" stopped in 72ms
答案 0 :(得分:0)
错误提示:JBAS011532:无法加载模块com.fnfa
此模块在哪里? JBOSS_HOME /模块?