jboss

Integrating EJB3 with Spring

Hello All, I'm building application with EJB and Spring 3. I have three maven modules - Spring jars, EJB jar and web part. In the web part I want to call my EJB session bean. Here comes the code of it: @Controller public class IndexController { @EJB PaymentRemote paymentRemote; } I have also an application context file, with the c...

JSF FacesTagExtraInfo class not in JSF 1.2 v.

I'm trying to move and old JSF v1.0 application from Sun One to Jboss 4.3 EAP that has jsf v 1.2 jars. I've been able to get the application to compile and deploy but when try to run it locally it gives me a ClassNotFoundException (and rightly so) for com.sun.faces.taglib.FacesTagExtraInfo It doesn't exist in the jsf_impl.jar, as it di...

How to manage authenticated status in EJB3?

There is a task of managing desktop client session status: Ensure only single client is "connected". Force client logout - kill session. Kill client session on timeout due to inactivity. Server-side is JBoss and EJB3. How to achieve such task? ...

JBoss 6 AS org.jboss.resource.adapter.mail.inflow.MailListener

Hi, currently i'am trying to migrate a jboss 4.0 project to jboss 6. On the first view i recognize that the MailListener package isn't available anymore. Is there any new Package or source which i need to use, to get the functionality of the MailListener? THX ...

JBoss6 AS EJB3StandaloneBootstrap & EJB3StandaloneDeployer

Hi, currently i'am migrating a JBoss 4 project to JBoss 6. I do miss substitutes for the EJB3StandaloneDeployer and EJB3StandaloneBootstrap. Are there any new sources which deliver the functionality of this two classes? THX ...

Adding custom login-config.xml errors saying mbean already installed

Deployment "vfszip:/opt/jboss-5.1.0.GA/server/default/deploy/fizio.ear/" is in error due to the following reason(s): java.lang.IllegalStateException: jboss:service=DynamicLoginConfig is already installed. My war's META-INF contains the following jboss-service.xml: <server> <mbean code="org.jboss.security.auth.login.DynamicLoginC...

backsapce not working in file upload control

Hi All, I am using struts 2. I need a file upload control in a jsp. I added that control by using the following code snnipet: <ww:file name="upload" label="FileUpload" /> It is working fine on my local jboss server (Windows machine) But when i deploy this code on web sphere server (Linux machine) everything works fine except backspa...

Integration of Apache+Jboss+SSL

Hi, My Application(.ear) is running in Jboss with any issues on 7001 port. There are following requirement as such with me. Task 1. Integrate Jboss with Apache2 so all the request should be coming from Apache Instead of jboss Task 2. Implement SSLwith apache2 so it should open with https instead of http. For task 1, I have followed c...

Java Hosting options in the market

What are the best Java hosting you know working with appservers like glassfish, geronimo or jboss.. I've developed an application in glassfish, now its time to take that app online... Based on your experience what hosting sellers/managers can you recommend? ...

Message recovery in JBoss Messaging

Hi, everyone, We're having a lot of problems with our setup featuring Java 6, JBoss Application Server 5.1.0.GA and JBoss Messaging 1.4.6.GA. Lately there have been a string of server crashes(caused by me and my colleages :-) ) and that has left us with some messages in an inconsistent state(not properly delivered). Normally the JBoss M...

EJB3 RMI client

Hello Everybody! I'm currently working with on a fat client application using a self written RMI server (10 years ago). The server sends EJB1.1/2.0 beans to the client who has full access to these remote objects. After commiting a transaction, all dirty beans are persisted by the server. The plan is to replace the server by a JBoss5 & ...

Are there any built-in method for obtaining a list of existing EJB3 Sessions?

I use JBoss 5. I would like to destroy sessions manually. Are there any way to query container for sessions of particular type, for particular authenticated user. Or at least, query for all managed sessions? ...

JBoss Monitoring with Cacti

Hi all! If there is anyone out there who has experience with monitoring JBoss with Cacti, I need help! I used this template posted on the Cacti forums. It has 3 template graphs, and 2 of those graphs are working really well. For some reason though, the third graph (Transaction Manager) isn't working. I'm get 0's for all the values. I...

Maximum number of concurrent connections jBoss

We are currently developing a servlet that will stream large image files to a client. We are trying to determine how many Jboss nodes we would need in our cluster with an Apache mod_jk load balancer. I know that it takes roughly 5000 milliseconds to serve a single request. I am trying to use the forumula here http://people.apache.org/~mt...

JBoss webapp login handling

Is it possible to get JBoss 5.x to secure webpages, forcing a login validated against users and passwords in a database without writing your own implementation, just configuring what already exists? It is? At the moment I flat out don't believe you, prove it! ...

duplicate mails sent after 24 hr from jboss

Hye everybody I encountered a problem in my application and finding now way around. I had made an service to run on jboss middleware server with a cron scheldule for executing at 8 pm everyday which is like this 0 0 20 * * ? and the service get started normally the java code for the service also worked well when executed as java app by ...

Prevent jbossws/services from listing deployed services

Is there a way to prevent jbossws/services from listing services currently deployed? I thought of securing it the way jmx-console is secured, i.e. password protected, but would that mean that web service consumers would have to authenticate too? Or is it just going to password-protect the web interface? Thanks! ...

Context specific usernames for connections on a JEE Datasource (JBoss 5.1)

We have an application that needs to access a database that is owned by a different team. That database has security inside the database (triggers, table permissions, etc) and so we need to establish a connection to the database using the same username/password that connected to our EJB. We're running on JBoss 5.1. Standard JEE solution...

How can I postpone the actual DB insertion of my CMP2.1 bean in JBoss 5.1 ?

Hello, I am migrating a Weblogic 9 application to JBoss 5.1, and bumped into the following problem: A session ejb manages CMP 2.1 entities. Those are inserted at the time of the call to MyEntityLocalHome.create() method. Since the database table has "not null" constraints, some of the fields, who are normally set after the call to the ...

JBoss Arquillian integration with Apache Ant and Junit

Has anyone managed to integrate Arquillian with Ant and JUnit? If so, could you provide an example? ...