jboss

Jaas session replication on JBoss 4.2.0

I've looked the web through and through in the search of answer to my problem but with no result so I reckon that's the ultimate place when anybody can have a clue what the solution might be. Long story short: we have a jsf web application running on JBoss 4.2.0 GA server. We are in the process of replicating the application to several ...

IllegalStateException: Cannot obtain inMethodFlag for: getPrimaryKey

Can anyone tell me why following exception comes? java.rmi.ServerException: RuntimeException; nested exception is: java.lang.IllegalStateException: Cannot obtain inMethodFlag for: getPrimaryKey How to avoid it? Thanks in advance. ...

Delaying JMS messages in queue when starting JBoss

Is there a way to tell JMS in JBoss to delay processing of messages already in the persistent queue for a while, e.g. 2 minutes, while JBoss starts. As it is right now, when we restart JBoss, JMS starts to dispatch messages to the MessagesListeners even before JBoss has started properly. We're running JBoss 4.2.3 ...

Converting JBOSS annotations to xml

Good Morning, I was just hoping that someone could point me to a reference that defines about what JBOSS annotations are equivalent to what xml tags. I am particularly interested in these tags: @WebContext in org.jboss.ws.annotation.WebContext and @SecurityDomain in org.jboss.annotation.security.SecurityDomain ...

primefaces schedule component not working properly with seam and richfaces

I am using the primefaces schedule p:schedule component to create a outlook like scchedule the jsf tag is as follows <p:schedule value="#{scheduleController.eventModel}" editable="true" widgetVar="myschedule"> I have created the bean ScheduleController as specified here but i am getting an exception when ever this component is render...

How to reference an embedded JCA resource adapater

For our current J2EE project based on JBoss, we need to interface with a remote system using message driven beans and a JCA resource adapter provided as a RAR file by a third party. I would like to package and deploy the entire project as an EAR file to our JBoss server. Most notably, the RAR file should be embedded within the EAR file a...

How to deploy remotely EAR to JBoss 5.1.0.GA using Cargo maven plugin?

Has someone successfully deployed EAR remotely to JBoss 5.1.0.GA? My pom.xml configuration is as follows: <plugin> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-maven2-plugin</artifactId> <version>1.0.1-SNAPSHOT</version> <configuration> <container> <containerId>jboss51x</containerId> ...

Hibernate exceptionCould not parse configuration: .\WEB-INF\hibernate.cfg.xml

Hello All, I am getting the following exception when running my application in JBoss. ** Exceptions ** 2010-02-17 15:10:43,435 INFO [STDOUT] (main) ERROR [2010-10-17 03:10] [main] (HibernateUtil.java:22) - Hibernate exceptionCould not parse configuration: .\WEB-INF\hibernate.cfg.xml 2010-02-17 15:10:43,435 ERROR ...

Using JBoss DROOLS XMLDumper with .dslr file

I have a .dslr file consiting of a rule(dslr) and a dsl file. I need to get the XML output of the DRL from this dslr. I've tried different ways with the XMLDumper but cannot get it to work. Any ideas? ...

How to avoid JBoss-Cache region from getting evicted?

I'm trying to create a jboss-cache for data that is only relevant for a short period of time. After that time the data should be discarded and the respective memory freed. The cache is organized like this: /my_region /session_1 /datanode_1 attribute1: value1 /datanode_2 attribute2: value2 ...

Is this a JBOSS web service? Tomcat? How to create a server.xml file?

I am working on a webservice that a previous employee built and I am just trying to figure out what documentation I need to be looking at. I think that the webservice is using JBOSS and therefore using Apache Tomcat. In the project there are several webservices so it is somewhat tricky to tell which is using what. (What are shared file...

How I can specify directories in war file ?

Dear all, I am new to servlet . I use the following code in servlet.then deployed to Jboss 4.1 . backup_database_configuration_location is location of properties file.But it can't be find. how I can specify directories in war file ? Thanks all in advance try { backupDatabaseConfiguration = new Properties(); FileInputStream backupDa...

Is it possible to use jboss-log4j.xml located outside from JBOSS_HOME?

Is it possible to configure JBoss 5.x to use jboss-log4j.xml located outside from JBOSS_HOME? If yes - what should be changed? ...

Configuring multiple instances of Jboss 5.1 AS in a single machine

Developers sometimes have to work on different versions of their product and usually tend to configure / run multiple instances of JBoss application server on the same machine. In order to bring the second or third instance developers tend to tweak various configuration files to avoid port collisions. Are there any tools which provide a ...

Is there any server config file to invoke MDB ?

I am having ejb-jar.xml and jboss.xml files in my application of JMS with MDB. I have configured the queue destination in destination-service.xml. But my MDB is not invoking. Are there any server files to be configured to invoke MDB? ...

Deploying an EAR to JBOSS times out (org.rhq.core.pc.inventory.TimeoutException:)

Hi, I am trying to deploy an ear file to JBOSS AS (defalut server). The application is the mavenised version of examples of SeamInAction book. When I copy the file to $JBOSS_HOME/server/default/deploy, I don't get any exception but the application doesn't respond, after some time trying to access the application from the browser gives ...

JNDI over HTTP on JBoss 4.2.3GA

I've got a remote server on eapps.com that I'm using as my "production" server. I have my own computer at home that I'm using as my "development" server. I'm trying to use JNDI over HTTP to do some batch processing. The following works at home, but not on the eapps machine. I'm connecting to some EJBs (stateless session), and have my jn...

JBoss eventually stops responding to request, but no OOME

Hi All, I'm having an issue with jboss server. when i run jboss server, it stops responding( no fixed time, so cannot predict when will it stop responding after start) after that it doesn't writes anything in log file. my problem is similar to the problem described on jboss community, link given below but it doesn't have the answer. pl...

How do I enable code-completion in Netbeans 6.8 for facelets in JSF 1.2?

I'd like to enable code completion for facelets + JSF 1.2 in NetBeans 6.8. I'd prefer to enable it for a free-form project that I build using my own Ant build.xml, but I see no options to enable that, so I'm willing to go with a "Web Application with Existing Sources". Sorry for all of the screen-shots. I just want to show what I did. ...

JBoss application complete path

Hey, Is there any way I can get url address of an application from java code, I mean complete address not only value from getContextPath(). Something like http://localhost:8080/etc ...