jboss

how to resolve Jboss deployment error?

社会主义新天地 提交于 2019-12-24 06:01:22
问题 17:19:30,298 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): DEPLOYMENTS MISSING DEPENDENCIES: Deployment "jboss.web.deployment:war=/ROOT" is missing the following dependenc ies: Dependency "jboss.web:service=WebServer" (should be in state "Create", but i s actually in state "** NOT FOUND Depends on 'jboss.web:service=WebServer' **") Deployment "jboss.web.deployment:war=/Test" is missing the following dependenc ies:

Tomcat 面试题

≯℡__Kan透↙ 提交于 2019-12-24 05:27:53
1、Tomcat是什么 Tomcat是一个应用服务器,比方说,我有个web项目是想让他运行,就可以在运行在tomcat平台上,如果开启就可以运行访问,如果停掉tomcat服务,那么无法访问了 2、Tomcat的默认端口是多少,怎么修改? 8080 修改方式: (1)找到Tomcat目录下的conf文件夹 (2)进入conf文件夹里面找到server.xml文件 (3)打开server.xml文件 (4)在server.xml文件里面修改Connector标签中的端口号就行了 port="8080"改成你想要的端口,改port的值 3,怎么在Linux上安装Tomcat 1.先去下载Tomcat的安装包,gz结尾的(代表Linux上的Tomcat) 2.上传到Linux上,解压 3.修改端口考,也可以不修改把,在server.xml修改 4.修改好了之后,你就进入你这个tomcat下的bin目录,输入:./startup.sh 这样就启动成功了。 4.怎么在Linux上上传项目 先使用eclipse或IDEA把项目打成.war包,然后上传到Linux服务器,然后把项目放在Tomcat的bin目录下的webapps,在重启Tomcat就行了。 5.Tomcat的目录结构 /bin:存放用于启动和暂停Tomcat的脚本 /conf:存放Tomcat的配置文件 /lib

How to use bean validation 1.1 in JBoss EAP 6.4.0?

ぃ、小莉子 提交于 2019-12-24 05:23:14
问题 I have a simple restful web service that uses Bean Validation 1.1 (and Hibernate Validator 5.1.3 as the implementation) and I'm deploying it on JBoss EAP 6.4.0. Since JBoss 6.4 comes bundled with Bean Validation 1.0 and its implementation library (Hibernate Validator 4.3.2), there is a conflict and none of service calls work. Below is the error that I get: java.lang.NoSuchMethodError: javax.validation.Validator.forExecutables()Ljavax/validation/executable/ExecutableValidator; org.apache.cxf

JBoss External Properties Files in Classpath

孤者浪人 提交于 2019-12-24 05:22:07
问题 I was going through JBoss.org how to put external file in the classpath, but it doesn't work. I have 1 file with name "config.properties". It is placed in jboss/modules/com/xsiraul/test/main/ folder. In the same folder there is module.xml which looks like - <?xml version="1.0" encoding="UTF-8"?> <module xmlns="urn:jboss:module:1.1" name="com.xsiraul.test"> <resources> <resource-root path="."/> </resources> </module> I have load config.properties file from Java using - InputStream

Upgrade JSF / Mojarra in JBoss AS / EAP / WildFly

◇◆丶佛笑我妖孽 提交于 2019-12-24 05:12:27
问题 How do I upgrade Mojarra in JBoss server and tell it use the given Mojarra 2.x JARs instead of JBoss own jboss-jsf-api_2.1_spec-2.0.1.Final.jar as indicated in startup log? If that's relevant, I am currently using JBoss AS 7.1. 回答1: The below procedure applies to JBoss AS 7.2+ , JBoss EAP 6.1+ , and JBoss WildFly 8+ and assumes that you've full control over the server installation and configuration. This upgrades the server-wide default JSF version: Download the individual Mojarra API and

Upgrade JSF / Mojarra in JBoss AS / EAP / WildFly

爱⌒轻易说出口 提交于 2019-12-24 05:12:09
问题 How do I upgrade Mojarra in JBoss server and tell it use the given Mojarra 2.x JARs instead of JBoss own jboss-jsf-api_2.1_spec-2.0.1.Final.jar as indicated in startup log? If that's relevant, I am currently using JBoss AS 7.1. 回答1: The below procedure applies to JBoss AS 7.2+ , JBoss EAP 6.1+ , and JBoss WildFly 8+ and assumes that you've full control over the server installation and configuration. This upgrades the server-wide default JSF version: Download the individual Mojarra API and

Spring-Boot Deployment — JBAS011555: Failed to configure logging using 'logging.properties' configuration file

半城伤御伤魂 提交于 2019-12-24 05:01:38
问题 AKA: How-To Configure Logging for Spring-Boot + JBOSS 7.1 Server Trying to deploy a spring-boot application against an older JBoss 7.1 server instance (customer requirement.) I originally was working with a project that stands up fine under Tomcat but when I deploy it to JBoss, it issues the logging error you see below. I have found the usual suspects via Google for both the jboss-structure.xml changes and the build.gradle dependencies. I remain with the indicated error though. I am using:

Spring-Boot Deployment — JBAS011555: Failed to configure logging using 'logging.properties' configuration file

心不动则不痛 提交于 2019-12-24 05:01:08
问题 AKA: How-To Configure Logging for Spring-Boot + JBOSS 7.1 Server Trying to deploy a spring-boot application against an older JBoss 7.1 server instance (customer requirement.) I originally was working with a project that stands up fine under Tomcat but when I deploy it to JBoss, it issues the logging error you see below. I have found the usual suspects via Google for both the jboss-structure.xml changes and the build.gradle dependencies. I remain with the indicated error though. I am using:

How to develop Liferay project in Eclipsce juno and built it on on Jboss

廉价感情. 提交于 2019-12-24 03:56:07
问题 I have downloaded the Liferay 6.1 with jboss 7.1.1 Bundle and Liferay IDE(Eclipsce Juno).All I have to do is to develop Liferay Project and running it on Jboss server. I can able to run and open liferay portal in localhost:8080/ I am having issues in developing Liferay portal project.As default server adapter for Liferay in IDE is Tomcat 7.0 and I couldn't able to find Jboss server adapter.I tried by running and deploy it on Tomcat and running the Jboss server by running standalone.bat file.

JMS Topic Creation in JBoss 5 AS

一笑奈何 提交于 2019-12-24 03:55:14
问题 In Jboss 4, when I deployed an ear with an MDB for a topic that had not been specified in the deployment descriptors, the server would automatically create the topic (after posting a warning saying that topic didn't exist). In Jboss 5, it doesn't seem to automatically create the topics anymore (errors out instead). Is there a configuration option somewhere that would allow automatic topic creation? 回答1: From the JBoss community forums -- This JIRA was added in 5AS. Unfortunately it looks like