jboss5.x

jbosss 5 maxThreads size

default maxThreads on server.xml is 200. i want to increase this for larger concurrent client requests. i hope we cant increase it blindly. so what will be the effective maxThreads size and acceptCount size? ...

jboss 5.0.1 doesnt support hot deployment?

when i hot deploy a bean jar , it doesnt works. it needs a Jboss restart. hot deployment works fine with Jboss 4.2.2. but Jboss 5.0.1 doesnt support hot deployment? ...

Is there a way to integrate CommonJ WorkManager with JBoss 5.1

I did find a Jboss Commonj Service on sourceforge, but that appears to be for JBoss 4x. Any pointers would be great.. ...

How do I run a method before republishing to JBoss?

I'm developing a J2EE web application and I would like to be able to run a method (or function, class, whatever - something) during the "republish" process. It would be nice if I could control when during the republish my function gets called (before, during, after, etc.) but a good first step would be getting something to be called auto...

Recipe for upgrading JBoss 5.x Hibernate to 3.5.x?

Hello; I'd like to upgrade the Hibernate installation that ships as part of JBoss 5.1.x to Hibernate 3.5.x. Is there an "approved" recipe for doing this? ...

resource not found error while deploying jsp page on JBoss using Struts 2.0.6 on Eclipse ide

i am developing a java project using struts 2.0.6 on eclipse ide. i hav set all my classpaths and also added the struts jar files in my libraries. while deploying the application the server starts and the war file is also created . However when running JBoss web interface through http://localhost:8080/modified/login.jsp i get an error t...

Where to define <Environment...> elements in JBoss

I try to define environment entries in JBoss 5.1 and added following to the server/default/deploy/jbossweb.sar/context.xml file: <Environment type="java.lang.String" name="name" value="value" /> Following error occurs on startup: 2010-01-26 14:50:08,383 ERROR [org.jboss.web.tomcat.service.deployers.JBossContextConfig] (main) X...

JBoss 5 EJB3 MDB & Oracle AQ?

Has anyone had any success getting MDBs to work with Oracle AQ? Using oracleaq.rar I was able to receive some messages from Oracle AQ, but it wasn't reliable and the authors urge not use it. ...

How to programmatically check if an application has deployed in JBoss5?

I am writing a small app to automate deployments. Basically, it checks an ftp server periodically for a new .ear file. Compares the checksum of the remote ftp file against what is currently deployed. If there is a new ftp file, then it gets picked up and deployed... I then have a check to see if the app has deployed successfully. At...

Object reference lookup from JNDI results in ClassCastException

I'm having problems calling EJB3 stateless bean outside the container. Code for getting the object reference: Context envCtx = (Context) context.lookup("ejb"); MyObject o = (MyObject) envCtx.lookup(MyObject); The second row results in exception: java.lang.ClassCastException: javax.naming.Reference I use JBoss.org 5.1.0 GA. Based ...

JBoss 5.1.0 Adding Queues

How do I add custom queues to JBoss 5.1.0? I found a way to do it via the Admin Console however for some reason it keeps failing, also I need to be able to quickly and easily move my queues from one JBoss Server to another. So basically I was wondering if there is a way to create custom queues in an xml file and add that file to the d...

JBoss ignores @RemoteBinding annotation

I would like to specify JNDI name for an EJB3 bean using annotation, but JBoss 5.1.0 GA seems to ignore the annotation completely. Bean's annotations are: @Remote(Foobar.class) @Stateless(name = "Foobar") @TransactionManagement(TransactionManagementType.BEAN) @RemoteBinding(jndiBinding="ejb/Foobar") public class FoobarBean implements Fo...

JBoss transaction timeout setting?

We have a timer service triggered task in JBoss 5.1.0.GA application and the problem is that we cannot change the transaction time out. This long Lucene indexing can take longer than the default 300 second limit. The question is how to change the timeout value, adding @TransactionTimeout(1800) to the worker method or the class did not ...

Error shutting down JBoss from Eclipse

I get an exception when I shutdown JBoss server from within Eclipse. I run JBoss IDE 1.5.105 and Eclipse 3.3.2 How do I solve this problem? Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/system/server/ServerImplMBean at org.jboss.Shutdown.main(Shutdown.java:118) Caused by: java.lang.ClassNotFoundEx...

JBoss 5.0.GA deployment fails when OK in 5.0.CR2

Sun jdk-6, Debian w/ kernel 2.6.26-2-686 I'm using a Postgresql data store and so have a postgres-ds.xml in the default/deploy directory. The persistence.xml is in META-INF in the ejb jar and defines the persistence unit "PhoenixUnit" The ejb jar and the web war are packaged in an ear. On every version of JBoss after 5.0.CR2 I get an...

How to create custom configuration for JBoss 5.1.0?

I need to create my own JBoss configuration. It will be a little changed "web" configuration. Is there any documentation or tutorials - how to do it? What I need in new configuration: 1. Remove JSF implementation included in the JBoss Application Server How to do it - http://community.jboss.org/wiki/RemoveJSF 2. Add possibility to u...

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 ...

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 ...

Is is safe to use HSQLDB for production? (JBoss AS5.1)

The JBoss developers warn against the use of HSQLDB as a persistent storage (see JBoss wiki). I am confused though, because HSQLDB appears to be used heavily in production. Especially, the above mentioned page seems to warn against the use of HSQLDB entirely and not against the use in conjunction with JBoss. Is it still not recommendab...