jboss

JMS message to remote server

眉间皱痕 提交于 2020-01-07 08:18:58
问题 I need to send a message to a remote server's queue (running "JBoss MQ") so that it can process the message and act on it. Properties properties = new Properties(); properties.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); properties.put(Context.URL_PKG_PREFIXES, "org.jnp.interfaces"); properties.put(Context.PROVIDER_URL, "jnp://192.168.1.131.129:1299"); InitialContext jndiContext = new InitialContext(properties); //[2] Look up connection factory and queue.

XML SAX Parser error: value must not contain the '<' character - pointing to TNS value without '<' character

十年热恋 提交于 2020-01-07 06:15:50
问题 I want to deploy war file into JBOSS6 with the following spring configuration: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.springframework.org/schema/beans" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:context="http://www.springframework.org/schema/context" xmlns:jee="http://www.springframework.org/schema/jee" xsi:schemaLocation=" http://www

jar file location - ear file or server lib folder?

限于喜欢 提交于 2020-01-07 03:22:05
问题 When deploying an application to JBoss server, for a JAR like ojdbc14.jar (Oracle JDBC), is it better to include this jar in the ear file of the deployment, or should it be deployed to JBoss's server/default/lib folder? The argument I've been given is that the application needs to support global transactions, hence the datasource must be defined at the application server level (e.g. copied to server/default/lib folder) so it can talk to other app servers, and for that to happen you need the

jar file location - ear file or server lib folder?

痞子三分冷 提交于 2020-01-07 03:21:13
问题 When deploying an application to JBoss server, for a JAR like ojdbc14.jar (Oracle JDBC), is it better to include this jar in the ear file of the deployment, or should it be deployed to JBoss's server/default/lib folder? The argument I've been given is that the application needs to support global transactions, hence the datasource must be defined at the application server level (e.g. copied to server/default/lib folder) so it can talk to other app servers, and for that to happen you need the

JBoss Drools Requirements

强颜欢笑 提交于 2020-01-07 02:24:52
问题 I've been trying on multiple machines, with multiple versions of Eclipse, JBoss Drools, and the Eclipse GEF (as stated in Drools docs as required). I can't get them installed and working together, at all. See below for exact problem. 回答1: In your question text you refer to Drools, but not jBPM. The install is choking on jBPM. Perhaps try installing Drools without the jBPM stuff? I'm running Drools 6.2.0.Final on Luna SR2 without issues, and I don't have jBPM installed. If you still have

How do I keep the child menu open when loaded?

前提是你 提交于 2020-01-06 23:44:48
问题 we are using a pre-built admin theme called "Acme Dashboard." When the user clicks on a dropdown child and the child page loads, on the next load the menu item collapses. How can we force the menu to stay open on the next load? A link to the theme is here: http://wrapbootstrap.com/preview/WB0JLR295 I understand that when the child theme is loaded, the parent is given the class="active" attribute, but I don't know what to change in the CSS/JS to keep the dropdown open. 回答1: You can use e

Creating blob (Oracle) returns “Method is not implemented by JDBC driver” (Jboss eap 5.1)

回眸只為那壹抹淺笑 提交于 2020-01-06 14:57:57
问题 I have Blob bl = pstmt.getConnection().createBlob(); a code where it is trying to create/save a blob in Oracle: returning the following error: "Method is not implemented by JDBC driver" That is the message I am getting, cant see more. The application is in a Jboss EAP 5.1 with the following changes: - jboss-common-jdbc-wrapper.jar --changed--> jboss-as-connector-6.1.0.final-jboss-common-jdbc-wrapper.jar - server/all/lib/ojdbc6.jar Which can be the problem? 回答1: This is a JDBC version / JDBC

Creating blob (Oracle) returns “Method is not implemented by JDBC driver” (Jboss eap 5.1)

自作多情 提交于 2020-01-06 14:56:20
问题 I have Blob bl = pstmt.getConnection().createBlob(); a code where it is trying to create/save a blob in Oracle: returning the following error: "Method is not implemented by JDBC driver" That is the message I am getting, cant see more. The application is in a Jboss EAP 5.1 with the following changes: - jboss-common-jdbc-wrapper.jar --changed--> jboss-as-connector-6.1.0.final-jboss-common-jdbc-wrapper.jar - server/all/lib/ojdbc6.jar Which can be the problem? 回答1: This is a JDBC version / JDBC

JBoss Enterprise Application Platform vs JBoss Enterprise SOA Platform

落爺英雄遲暮 提交于 2020-01-06 09:06:31
问题 What can JBoss EAP do that JBoss ESP cannot? or vice verse? Is it correct to say JBoss EAP is a subset of JBoss ESP? Meaning JBoss ESP has all the features JBoss EAP has, plus the SOA stuff? 回答1: This is the answer JBoss emailed to me. JBoss SOA-P is a superset of JBoss EAP. Details such as version numbers are listed at http://www.jboss.com/products/platforms/soa/components/, but SOA-P is EAP plus an Enterprise Service Bus (ESB), Business Process Management engine (jBPM) and a Rules engine

log4j file not trace nothing in JBOSS 7.1.1

孤者浪人 提交于 2020-01-06 07:15:07
问题 I create an spring application with log4j in JBoss 7.1.1.FINAL this is my configuration of log4j: # Log4j level and names. log4j.rootLogger=INFO, stdout, fileAppender # Log4j relative path. dir=${myWebapp-instance-root} file=WEB-INF/logs/app.log target=${dir}/${file} # Used only for development. log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} [%t] %-5p (%F\:%L) \u2013