jboss

Can't start jBoss AS 7.1

不羁的心 提交于 2019-12-30 10:54:05
问题 I am trying to start jBoss. When i start the server,I am getting following lines on my console. 14:41:25,969 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA 14:41:26,743 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA 14:41:27,015 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.2.Final-SNAPSHOT "Brontes" starting and shows a log saying that "starting server jBoss AS 1.7 has encountered a problem".I increased the timeouts. but it doesn't works.I don't understand what is wrong. 回答1: JBoss

Maven Build Failure For JBoss AS 7 Hello world example

强颜欢笑 提交于 2019-12-30 08:52:26
问题 Im trying to follow this tutorial: https://docs.jboss.org/author/display/AS7/Helloworld+quickstart But getting build error when following the simple instructions to clean + build package: gert@gert-VirtualBox:~/workspace/jboss-eap-6.1.0.GA-quickstarts/helloworld$ mvn clean package [INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.jboss.as.quickstarts:jboss-as-helloworld:7.1.2-SNAPSHOT (/home/gert/workspace/jboss-eap-6.1.0.GA

Maven Build Failure For JBoss AS 7 Hello world example

假装没事ソ 提交于 2019-12-30 08:52:22
问题 Im trying to follow this tutorial: https://docs.jboss.org/author/display/AS7/Helloworld+quickstart But getting build error when following the simple instructions to clean + build package: gert@gert-VirtualBox:~/workspace/jboss-eap-6.1.0.GA-quickstarts/helloworld$ mvn clean package [INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.jboss.as.quickstarts:jboss-as-helloworld:7.1.2-SNAPSHOT (/home/gert/workspace/jboss-eap-6.1.0.GA

Path setting for DLL's in JBOSS 7.1.1

[亡魂溺海] 提交于 2019-12-30 05:10:09
问题 We have some DLL's which are related to Java,VB . In Joss 4.X , We used to place in bin directory under Application Server. We migrated to JBOSS 7.1.1 and when I removed from bin directory and placed them in libraries folder under C:\jboss-as-7.1.1.Final\modules\com\correction\main\libraries . I am getting this exception java.lang.UnsatisfiedLinkError: no xxxJavaWrapper in java.library.path java.library.path = C:\Program Files\Java\jdk1.6.0_24\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32

What's the JSF implementation version that JBoss 7.1.1.Final has?

谁都会走 提交于 2019-12-30 05:06:06
问题 What's the JSF implementation version that JBoss 7.1.1.Final has? and how can I know, and also how can I upgrade it. I just know that it's mojarra implementation, but nothing more. Thanks in advance. 回答1: The JBoss AS 7.1.1.Final is shipped with JSF 2.1.7. See the release notes here You can update the JSF modules like this: The jboss-jsf-api jar is located at ${jboss.home.dir}/modules/javax/faces/api/main Download the latest 2.0.3.Final from here and place it in the above folder and edit the

Keycloak with NGINX proxy server not authenticating rest api

大憨熊 提交于 2019-12-30 05:01:06
问题 I have a sample app which correctly secures the rest api locally without nginx. Now when I put this in production behind a nginx proxy it does not work. No errors. It allows all request. Front end serer with ssl is https://frontend.com Back end server with ssl is https://backend.com Keycloak proxy forward is true Front end server(node server on 9000) <-> NGINX <-> Keycloak (running on 8180) nginx file sample upstream keycloak_server { server localhost:8180; } upstream node_server { server

Maven项目搭建及常用包添加

余生长醉 提交于 2019-12-30 02:47:20
Maven作用大家可以自己查下,java用它来搭建感觉还是很不错的。最近用了一段时间,写点东西留下。 我不习惯使用命令式的,所以我的Maven用的是Eclipse插件,插件地址: http://m2eclipse.sonatype.org/sites/m2e 安装以后,就可以用它来建立项目了。 一、首先新建一个 Maven project,在Next中选择Create a simple project 这样就新建一个Maven项了。 二、修改.project文件(可以在Navigator视图中看到) <buildSpec> <buildCommand> <name>org.eclipse.wst.jsdt.core.javascriptValidator</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.eclipse.wst.common.project.facet.core.builder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildCommand>

No entity found for query Exception

自闭症网瘾萝莉.ら 提交于 2019-12-30 00:54:07
问题 I am executing the following lines: String queString = "some query string" Query q1 = em.createNativeQuery(queString, T03CallsLog.class); T03CallsLog newCall; newCall = (T03CallsLog) q1.getSingleResult(); //this line cause the exception after the first time weird situation. if I only execute it with one instance it works fine, but if I do it parallel with more then one instance(mdb's) then the first one is executed without any exceptions, and all the rest get this error: 10:04:50,750 ERROR

Code coverage of JBoss AS 7 testsuite, using JaCoCo - no data in jacoco.exec files

梦想与她 提交于 2019-12-29 08:16:16
问题 I'm trying to get coverage of JBoss AS 7. Here's my branch: https://github.com/OndraZizka/jboss-as/tree/TS-jacoco When I run mvn clean install -rf testsuite -DallTests -Dcoverage -fae I get (almost) empty jacoco.exec files - just some metadata (size is few bytes). The JVM arg line used is: -javaagent:${jbossas.ts.dir}/target/jacoco-jars/agent/jacocoagent.jar=destfile=${basedir}/target/jacoco.exec,includes=${jboss.home}/modules/**/*,excludes=${basedir}/target/classes/**/*,append=true,output

How to run different apps on single JBoss AS 6 instance behind different ports?

孤者浪人 提交于 2019-12-29 07:39:08
问题 I am coming from this SO however my case is not on Tomcat, but JBoss EAP 6. So suppose I have two web apps app1 and app2 running on JBoss AS 6: app1 on http://localhost:8080/app1 app2 on http://localhost:8080/app2 However I want to configure Tomcat so that they run in root context behind separate ports: app1 on http://localhost:8081 app2 on http://localhost:8082 How can I make it on JBoss EAP 6? Note this answer doesn't work for me as it targets JBoss 5. 回答1: EDIT: These instructions are for