jboss

How use the maven-jboss-plugin?If I want to deploy the war how to do?

I want to trying maven-jboss-plugin but I don't know what is this,and I want to deploy the war use the jboss-maven-plugin or maven-jboss-plugin?How to use? ...

Package Java web app along with jboss, mysql and activemq for deployment

I have a springframework web application that uses JBoss, MySQL and ActiveMQ. At the moment, I have to install and configure JBoss, MySQL and ActiveMQ and JBoss manually. What is the best way to package the application so a user can maybe do a one click install (on Linux platform, maybe Windows too?) ...

What are benefits of JBoss AS-based application architecture?

I am trying to understand what does JBoss AS can bring into the project, comparing to standalone architecture? My model application is a solid thing, starting, running and stopping as a whole and solely at the host. It has a database storage, and communicates to user and other servers, clustering required. It has web-part. It's just a s...

jboss delopy problem: created sar can't be start normally in the deploy path of jboss

I have developed a sar file and want to deploy it into the deploy path of jboss. I think if I put the sar into the right path of jboss, jboss will start it automatically. But I get the errors as following and I can't get the reason by google: mcdp-alarm-agent.sar is the sar I developed. *06/30 10:53:36,455 ERROR [org.jboss.deployment...

ClassCastException jboss-seam on weblogic 10.3

Hi guys, I have many problem to installed jboss-seam 2.2.0 on weblogic 10.3. I want to deploy the exemple furnish by jboss but I get the following error: java.lang.ClassCastException: com.sun.faces.application.WebappLifecycleListener cannot be cast to java.util.EventListener at weblogic.servlet.internal.WebComponentContributor.createL...

jboss valve encoding problem while url rewriting

Hi all, I have an app., coded with ejb3, jsf and maven, which runs on jboss 4.2.2GA The problem I have been facing for 2 days is I cannot convert non-english characters that are added to url on runtime. For instance, there is a search textbox and a button. When a user enters a word including non-english characters, and pushes the butto...

Jboss 5.0.1 GA InterceptorRegistry Console WARN messages - How to remove ?

Hi, I see warnings like the following on my JBOSS console. What are they and how do I remove them ? Configuring the CONSOLE logging level to ERROR in server\all\conf\jboss-log4j.xml didn't work either. 10:18:50,656 WARN [InterceptorRegistry] applicable interceptors is non-existent for public void net.massmatrix.metadb.core.session.bean...

Rerunning failed Container-Managed transactions in JEE

I have a situation with a legacy system which uses JEE Bean Managed Transactions. It's getting LockAcquisitionException thrown when it's trying to retrieve something it just created. My initial thoughts were this: @TransactionAttribute(SUPPORTS) public Item retrieveItem(int id) { Item i; try { i = em.find(Item.class, id); } catch...

Deploying a jar in Jboss

Hi, I have some .jspf files that are fragments which I include in a new .jsp file. The reason they are fragments is that they are reused across multiple jsps with some additional components. My issue now is that I want to use these .jsps in 2 different .war files. So I created a new .jar file which includes these jspf, now I am trying...

JBoss EJB2 Timers Service - multiple servers, single TIMERS table?

Hi I can't find this in the JBoss documentation anywhere, so am asking here. Can multiple, non-clustered JBoss instances access and share the same TIMERS table (as used by EJB2 Timers Service) without upsetting each other, or does each one need its own table? In the case of a cluster, is it essential that the nodes in the cluster all ...

How to use jboss-log4j.xml in my application

It is possible to use jboss-log4j.xml as configuration file for my application ? I just want my application to log in the same place as Jboss server(console and file)... ...

new MQConnectionFactory throwing null pointer in jboss ??

I am trying to execute the following command MQConnectionFactory connFactory = new MQConnectionFactory(); and i get a null pointer that i can't seem to track down, i have attached the stack trace, any help would be greatly appreciated. java.lang.NullPointerException at com.ibm.msg.client.jms.internal.JmsFactoryFactoryImpl.getIns...

How to configure ActiveMQ JCA connector in JBoss to use XA connections?

On JBoss 5.1.0 I have Datasource (PostgreSQL 8.3.11) configured using *-ds.xml (standard jboss DS). It uses XADataSource (PGXADataSource). I also have ActiveMQ broker (right now it runs as in-VM, under JBoss, but it will be on separate server latter). What I want to do is to make ActiveMQ Connection Factory and Datasource to participate...

how inject a EntityManager between ear

I'm using JBoss 4.2.3 and I deployed two ears called triad-1.0.ear and reportservices-1.0.ear, the thing is that I want to use the entity manager of the project triad in the project reportservices. This is the architecture JBoss follows: triad-1.0.ear: triad-core-1.0.jar: META-INF: ...

Eclipse mvn project deploy to jboss

I changed my project to use maven2 (from just plain eclipse dynamic web project) and now I can't do Debug As > Debug on Server (JBoss). Previously I can just do Debug As > Debug on Server (JBoss) and Eclipse will happily copy the war file into jboss deploy directory and I can debug etc. Now it seems like eclipse just don't recognize th...

JBoss MBean service can't be stopped normally?

I'm trying to build a service that can be start and stop automatically when start/stop jboss. The following is the service structure of my service: public class SnmpAgent extends ServiceMBeanSupport implements SnmpAgentHandler,SnmpAgentMBean public interface SnmpAgentMBean extends org.jboss.system.ServiceMBean And my jboss-service.xml...

Integration of a subprocess definition in JBPM JPDL

Hi, I'm using the process definition language jPDL from the JBoss Workflow engine : jBPM. I want to integrate a very simple process definition graph : Basically, I have a main process definition (simple/processdefinition.xml) including : a Start node, a Process State node, an End node. Here is the definition of the graph : <p...

Restart Jboss will get error when I added my created service(MBean) to jboss deploy route

I created one service(MBean), I thought it could be start/stop normally. I have my MBean in the structure as my previous problem had said: http://stackoverflow.com/questions/3177569/a-created-jboss-service-cant-be-stop-normallymbean But today, I found the created service will get error when restart jboss. First, the created service (a s...

Run bash script to control JBoss from Windows using PLink.exe?

I created a windows batch file with the following content: plink -batch PuttySaveSessionName -pw thePassword "bash stop.sh" stop.sh is located in the home directory of the linux machine I log in to, and has the following content: echo "starting..." cd //path_to_jboss_dir/jboss/bin ./spcrun.stop echo "finished" If I execute the Wind...

How to add the ear JNDI namespace to EJB2.x Beans?

In the project I am currently working at we have about 20 different EJB 2 JARs that are used across multiple (Swing-) clients. Example: customer-1.0.0.jar ^ ^ | | client-app-1 client-app-2 These different client applications have different release cycles so they usually need differe...