jboss

Jboss - Deploy - Undeploy loop caused by HDScanner in a exploded ear

For some unknown reason HDScanner started a deploy-undeploy infinite loop for my (exploded) application deployment, removing and adding it again and again every 15 seconds or so. I already tried to remove the application by hand (I normally use seam restart or seam unexplode) and also removed the whole contents of the jboss-5.1.0.GA/ser...

JBoss EJB3 MDB config

I am trying to understand some EJB 3 code running in JBoss 4.3. We've got an ejb3-interceptors-aop.xml file configured in JBoss with some MDB configuration and then we've got the MDB Java class. What I'd like to understand is when and how does the MDB get "bound" to the MQ? That is, when/how does the MDB start listening to the MQ que...

Accessing a list of users through JBoss in a non-admin role?

We would like to make a list of users available in a portlet similar to the admin version of the UsersPortlet, but for those that aren't admins. This list would be names only. Is there a way to do this through JBoss GA 4.2.2? We are currently developing on the Hypersonic DB, but I would hope there is a DB independent way to do this throu...

Jboss failover testing

Hi All, I have a peculiar situation here. I have installed JBoss 5.1.0 as a service in Wintel box. The service will restart itself if the JBoss instance fails. However I could not find a way to test this scenario. I killed the JVM that was running the JBoss, but it did not restart the service. I need to make the JBoss service end abnor...

No Data insertion in user_info table.

Hi, i am trying to run one jbossESB program to test the data persistence. i have ClassInfo as POJO and corresponding table as user_info but i get this error once i do "ant sendesb"(this is hibernate specific). 13:59:51,225 ERROR [STDERR] org.hibernate.MappingException: Unknown entity: org. jboss.soa.esb.samples.quickstart.helloworl...

EJB3 Annotation

Hi All I am using JBoss 5 GA, I created a test Session bean, and local interface. I have created a servlet client. I tried to inject the interface in the servlet using @EJB.. But when I call this servlet I got the requested resource is not available!!!! When I comment the //@EJB, the page run successfully, any help please???? Jotnarta...

Where do I look for the database script generated from JPA Entities?

Hi, I am having a few errors like the following when I deploy my JPA entities into JBoss. 18:34:53,462 ERROR [SchemaExport] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Group (id)' at line 1 18:34:53,684 ERROR [SchemaExport] Unsuccessful: alter t...

Persisting byte array on the JNDI tree in JBoss

As part of a Java EE application I'm developing on JBoss, I need to persist the contents of a file on the JNDI tree. I'm doing this by reading the contents of the file into a by byte array, then binding it to JNDI as follows. getInitialContext().rebind("customers_datafile", byteArray); This works fine, but the binding is lost when th...

Seam 2.0 to 2.1 (2.2) migration

I was curious what kinds of obstacles have you encountered when migrating my app from seam 2.0 to 2.1. Obvious ones are mentioned in: migration guide, but I encountered some problems with rule based security, that are not mentioned there. Firstly I want to post descriptions of my problems and my solutions with migration, so people can...

notification about new subscriber joining to jms topic

is it possible to get kind of notification on the message producer side, that new subscriber joined to the topic? In particular, is it possible with JBoss Messaging? ...

Why may `@In(create = true)` not create the object in Seam?

I have a very simple piece of code that reads like: @In(create = true) OutletHome outletHome; It was working fine (using Seam 2.2.0.GA), and the object was being created and injected without any problems. But when I tried changing it to: @In(create = true) OutletHome deactivationOutletHome; It suddenly stopped working, causing the ...

Accessing JBoss conf file from Flex

I've got a Flex application running on a JBoss server, with dev/QA/production environments. The application needs to coordinate with some other services, also with QA/prod instances. Currently I'm sending the current URL in via javascript values, like this: index.template.html AC_FL_RunContent( "FlashVars", "myhost=" + location....

install war file at server deploy directory

Hello all, I'm want to have the war file deployed in the server deploy directory (or any directory of my choice) along with the one deployed in the repository. Also, can I control the name of the war file deployed like, I don't want the war file to be projectname-1.0.war I just want the name of the war file be projectname.war. Thanks, ...

java.lang.NoSuchMethodException: javax.ejb.EJBHome.getHomeHandle()

I'm trying to figure out why I'm getting the following exception when a client app is connecting to JBoss. I happens on startup, when the client attempts to connect to the server. java.lang.ExceptionInInitializerError at org.jboss.proxy.ejb.HomeInterceptor.<clinit>(HomeInterceptor.java:77) at sun.misc.Unsafe.ensureClassInitialized(Nati...

Drools Flow - define deadline of human work item in declarative fashion

We are evaluating the drools flow with process and sub process flows. One of the features we are looking set up the deadlines for Human task during the assignment through declarative similar to JBPM <Timer duedate ="50 minutes" /> Please provide expert input on how to acheive the dead lines ...

JBoss Log File Maintenance/Cleanup

Hi, I am running JBoss 4.0.2 server and over the years it has created a large number of log files that I would like to clean up. I would like to keep the same logging level but also have it delete any log files older than 3 months. Is there a way to do that in the configuration or should I just write a perl script? Thanks. ...

After session timeout where does JBoss redirect users to?

After this is reached in JBoss: <session-config> <session-timeout>30</session-timeout> </session-config> where does it redirect users to? Can I change the page it redirects to? ...

JBoss Binding IP addresses

Hi, I need some help from someone who understands JBoss Hostname Binding. I think the solution is easy, although it's complicated to explain. I am deploying an application using JBoss (v4.2) and am having troubles configuring the application. This application has two parts, a web site on port 8080 and web services on port 8080 using S...

How to direct subdomains to the correct JBoss App?

Hi, new to JBoss and am configuring some applications. I know how to do this in apache webserver, but not using Jboss. I have successfully deployed 3 applications on a redhat box, JBoss 4.2. If my server is called fruit.mycompany.com, I can access the three apps this way: http://fruit.mycompany.com:8080/quince http://fruit.mycompany....

using JUnitEE with JBoss-IDE

Can anyone provide me with a tutorial on how to use JUnitEE with JBoss-IDE ? thanks. ...