jboss7.x

system-properties In standalone-full.xml

送分小仙女□ 提交于 2020-01-13 08:11:10
问题 Jboss version: jboss-as-7.1.0.Final can we add <system-properties> <property name="x" value="/opt/db/common"/> </system-properties> In standalone-full.xml? I am getting below error: 20:54:35,726 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA 20:54:35,884 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA 20:54:35,942 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.0.Final "Thunder" starting 20:54:36,575 INFO [org.jboss.as] JBAS015950: JBoss AS 7.1.0.Final "Thunder" stopped in 5ms 20:54:36

How can I change soap address in a JBoss 7 java webservice

北慕城南 提交于 2020-01-13 02:42:08
问题 How can I change the soap address in a web service. I'm working on JBoss 7.1.1. I have this web service class: @WebService public class Card { @WebMethod public CardResponseDTO insertCard( @WebParam(name = "cardRequestCardDTO") CardDTO cardDTO, @WebParam(name = "userName") String userName) { Date today; CardResponseDTO cardResponseDTO = new CardResponseDTO(); try { today = Calendar.getInstance().getTime(); // My logic in here... return cardResponseDTO; } catch (Exception ex) { log.error(ex

JBoss: Binding values into JNDI in JBoss EAP 6 similar to JNDIBindingServiceMgr

▼魔方 西西 提交于 2020-01-10 04:18:06
问题 How do I bind an arbitrary string to JNDI in JBoss EAP 6? I used to do it through org.jboss.naming.JNDIBindingServiceMgr MBean in previous EAP version. Is there anything similar to org.jboss.naming.JNDIBindingServiceMgr in JBoss EAP 6? We are migrating applications from jboss-5.1.EAP to jboss-eap-6.1. We need to bind some things into JNDI, so applications can look up values of environment variables. Many thanks. 回答1: You can do the following: standalone.xml: <subsystem xmlns="urn:jboss:domain

mavenize eclipse wtp project (Dynamic web module) for openshift

一个人想着一个人 提交于 2020-01-07 04:46:11
问题 Managed to publish my project in Openshift - by scp 'ing the war to the correct location as detailed here. Here is the .project file: <?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>DataCollectionServlet</name> <comment></comment> <projects></projects> <buildSpec> <buildCommand> <name>org.eclipse.wst.jsdt.core.javascriptValidator</name> <arguments></arguments> </buildCommand> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments></arguments> </buildCommand>

Spring JMS Listener Container stop only half of listeners

泪湿孤枕 提交于 2020-01-07 03:34:12
问题 I have weired problem with a JMS Listener container. In case I disable the listener container, half of messages are delivered and processed by listener. Here is my Spring configuration: <bean id="ConnectionFactory" class="org.springframework.jndi.JndiObjectFactoryBean"> <property name="jndiName" value="JmsXA" /> </bean> <bean id="testQueue" class="org.springframework.jndi.JndiObjectFactoryBean"> <property name="jndiName" value="queue/test" /> </bean> <bean id="listener" class="eu.cuptech.jms

JBoss 7.1 - declare datasource and access via JNDI

纵饮孤独 提交于 2020-01-06 15:18:57
问题 I'am trying to migrate websphere 7 to JBoss 7.1 and i have several problem to configure my datasource, here is my whole config(database is oracle 10g) : Jboss deployement looks fine JBAS010400: Bound data source [jboss/datasources/xx3_oracle_tu_2] My standalone-full.xml : <datasources> <datasource jndi-name="java:jboss/datasources/xx3_oracle_tu_2" pool-name="xx3_oracle_tu_2" enabled="true" use-java-context="true"> <connection-url>jdbc:oracle:thin:@************:1521:*****</connection-url>

Configuring MongoDB datasource in JBoss 7

做~自己de王妃 提交于 2020-01-06 13:54:19
问题 Does anyone know how I can configure a MongoDB datasource in JBoss AS 7? I'm guessing I can set up the Mongo driver as a module in JBoss in the same way as I have done previously with a MySQL driver, then add a dependency to this in the manifest of my EAR. Is this the correct approach? 回答1: I couldn't find any documentation on this but it turns out to be pretty simple. Just download the driver and set it up as a module in JBoss like this. Then add a dependency to the META-INF/MANFEST.MF file

Configuring MongoDB datasource in JBoss 7

家住魔仙堡 提交于 2020-01-06 13:53:01
问题 Does anyone know how I can configure a MongoDB datasource in JBoss AS 7? I'm guessing I can set up the Mongo driver as a module in JBoss in the same way as I have done previously with a MySQL driver, then add a dependency to this in the manifest of my EAR. Is this the correct approach? 回答1: I couldn't find any documentation on this but it turns out to be pretty simple. Just download the driver and set it up as a module in JBoss like this. Then add a dependency to the META-INF/MANFEST.MF file

Remote ejb call failed after successful calls

浪子不回头ぞ 提交于 2020-01-06 07:15:06
问题 I've a strange problem. I've install JbossAS 7.1.1 and deployed my ear file successfully. My client is running to tomcat 6.035. I can make successful EJB calls to my jboss deployment - but one specific EJB calls fails. my client environment setup is as below :- Hashtable<String, String> env = new Hashtable<String, String>(); env.put(Context.INITIAL_CONTEXT_FACTORY,"org.jboss.naming.remote.client.InitialContextFactory"); env.put(Context.URL_PKG_PREFIXES, "org.jboss.ejb.client.naming"); env.put

Remote ejb call failed after successful calls

徘徊边缘 提交于 2020-01-06 07:15:00
问题 I've a strange problem. I've install JbossAS 7.1.1 and deployed my ear file successfully. My client is running to tomcat 6.035. I can make successful EJB calls to my jboss deployment - but one specific EJB calls fails. my client environment setup is as below :- Hashtable<String, String> env = new Hashtable<String, String>(); env.put(Context.INITIAL_CONTEXT_FACTORY,"org.jboss.naming.remote.client.InitialContextFactory"); env.put(Context.URL_PKG_PREFIXES, "org.jboss.ejb.client.naming"); env.put