jboss

Error deploying Seam 2.2 app on JBoss 7.1

好久不见. 提交于 2019-12-25 17:39:23
问题 I've been trying to deploy my JBoss Seam 2.2 application on JBoss 7.1. I've received some great advice and resources from my previous post, but now I'm encountering some errors. My application is using Hibernate/JPA 1.0 for persistence, along with Hibernate Search. When it gets to deploying the JAR in the EAR that contains my JPA entities, I see the following exception: ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.persistenceunit."MyApp

Apache Configuration Issue with JBoss [Bad Request from JBoss]

给你一囗甜甜゛ 提交于 2019-12-25 16:35:59
问题 Getting this error while open-up the web-app. >502 Proxy Error > >Proxy Error >The proxy server received an invalid response from an upstream server. >The proxy server could not handle the request POST /login.do. > >Reason: Error reading from remote server > > > >-------------------------------------------------------------------------------- > >Apache/2.2.15 (Red Hat) Server at 10.252.103.77 Port 80 My Apache Configuration is Reverse Proxy to JBoss_App_IP with worker.c->worker thread time

Get EJB object inside rar deployed inside jboss

余生颓废 提交于 2019-12-25 14:48:45
问题 I have an activemq broker deployed within my jboss server. activemq is deployed as a rar file placed in jboss standalone/deployment repository. An other project is also deployed within my jboss as an ear file. This last is exposing some ejb objects in my jboss. I tried to get an ejb from a jar file that I put into my activemq rar file. A class placed within the jar is called when I connect a client to the broker. This is how I tried to get ejb within jar file: Context ctx; Properties

Select for update not working

删除回忆录丶 提交于 2019-12-25 14:48:12
问题 My following native query is not working: Query createNativeQuery = entityManager.createNativeQuery( "select id from cscache where id=? for update "); Environment Details: Mysql 5.6 Jboss 5.1 JPA 1.0 Error: 2014-12-12 10:20:14,581 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Error: 1064, SQLState: 42000 (http-0.0.0.0-8543-3:) 2014-12-12 10:20:14,581 ERROR [org.hibernate.util.JDBCExceptionReporter] You have an error in your SQL syntax; check the manual that corresponds to your MySQL

Load jboss-ejb3.xml file instead ejb-jar.xml in wildfly

▼魔方 西西 提交于 2019-12-25 12:54:32
问题 I am added some custom configuration in jboss-ejb3.xml file for wildfly. So instead of loading configuration from ejb-jar.xml, it should load from jboss-ejb3.xml file. But some how it loads ejb-jar.xml file. is it any configuration required in standalon.xnl file to load this? Ref- https://docs.jboss.org/author/display/WFLY8/Deployment+Descriptors+used+In+WildFly The JBoss EJB deployment descriptor, this can be used to override settings from ejb-jar.xml, and to set WildFly specific settings 来源

java.lang.RuntimeException: error while reading /WEB-INF/components.xml

拈花ヽ惹草 提交于 2019-12-25 11:53:17
问题 I'm trying to deploy my Seam application on Jboss 5.1.0.GA but I'm getting a pretty strange error: Caused by: org.dom4j.DocumentException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory Nested exception: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory I'm migrating from Jboss 4.3.0, maybe I have missed some steps? Stacktrace below: 16:48:58,964 ERROR [[/]] Exception sending context initialized event to listener instance of class org.jboss.seam

Running EJB 2.1 on Wildfly 10

旧街凉风 提交于 2019-12-25 11:01:10
问题 I want to run EJB 2.1 with Wildfly-10 AS I have a server running on jBoss-EAP-6.2 Following are the configuration xml files I wanna achieve to run a Web Module (JSF) with existing server (EJB 2.1) running on JBoss-EAP-6.2. Following are the ideas I can run JSF on JBoss-EAP-6.2 (possible?) that can communicate with EJB within the server Deploy JSF on wildfly and it communicate with EJB through JBoss-EAP-6.2 MORE / FINDINGS while deploying JSF on JBoss-6, I am getting blank page on opening,

Blank page opening after running a project in openshift

江枫思渺然 提交于 2019-12-25 10:29:29
问题 I have deployed a web application in openshift. Although build and deployment was successful, I am getting a blank page on clicking the application : http://adoreindia-adoreindia.a3c1.starter-us-west-1.openshiftapps.com/ Below is the pom.xml. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org

Jboss login and redirect to correct url

懵懂的女人 提交于 2019-12-25 08:16:26
问题 I have this problem and i just cannot find a solution to it. I am using JBoss AS 7 and created a dynamic web project using Eclipse Indigo. From my project i created a simple login form whereby after correctly logging in i should be directed to my appropriate section. Users, Roles and Groups should be managed by jboss and not the project. So jboss should decide where to redirect me after checking in the correct properties files. How can i do this? Can you all help me please. 回答1: Well i

WAR deployment to JBoss fails because it calls a SAR packaged in an EAR

允我心安 提交于 2019-12-25 08:02:30
问题 I'm packaging a JBoss service archive (SAR) and WAR together in an EAR with Maven for deployment to JBoss. The problem I have is that another standalone WAR running on this server calls a service provided by the aforementioned SAR on JBoss startup. Because JBoss deploys the standalone WAR before the EAR containing the SAR, the standalone WAR throws errors because the service it's calling has not been deployed yet. Is there a way to get JBoss to deploy the EAR first? Is that even the correct