jboss

Is the Cloud ready for an Enterprise Java web application? Seeking a JEE hosting advice.

Greetings to all the smart people around here! I'd like to ask whether it is feasible or a good idea at all to deploy a Java enterprise web application to a Cloud such as Amazon EC2. More exactly, I'm looking for infrastructure options for an application that shall handle few hundred users with long but neither CPU nor memory intensive ...

Calling business logic methods at JBoss Server Startup

Hi, I have an EJB project communicating with a Swing client over RPC. I would like to know how to call EJB or utility class methods on the business logic at server startup. Thanks. ...

Junit test for message driven bean (using jboss application server)

Hi, I am facing the problem when run the junit test case for the MessageDrivenBean(here i am using jboss application server). That is "org.jboss.jms.exception.MessagingJmsException:Failed to invoke". How can overcome this. ...

JBoss equivalent to Apache's unescapeHtml?

Does anyone know a JBoss equivalent to Apache's unescapeHTML(String) function? ...

Asynchronous Processing in JBoss 6 ("Comet")

edit: Retagged as tomcat/jboss, since this could be a question about the Tomcat embedded inside JBoss 6, rather than JBoss itself I have an extremely simple servlet, which works on Glassfish v3. It uses Servlet 3.0 Asynchronous Processing. Here's a simplified version (which doesn't do much): @WebServlet(asyncSupported=true) public clas...

JBOSS Monitoring tool on UNIX

I have a web application deployed on a jboss server running on a unix machine. I want to be able to monitor threads, CPU times ,requests, etc. , for gauging application performance on the server. What might be the best way to do this? ...

Required element did not contain a wsu:id ??

Hey, I am new to soapUI 3.5. I tried some wsdl that acquire security against web service deployed on jboss 4.2.1 while running test on soapUI . It gives me <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"&gt; <env:Header/> <env:Body> <env:Fault> <faultcode>env:Server</faultcode> <faults...

Where can I find the source code for the JBoss AS 5 default exception handling JSP?

The title pretty much says it all. I have JBoss AS 5. I'd like to see the default JSP that JBoss uses for handling exceptions. ...

JBOSS Security: web.xml vs. jboss-web.xml

What is the relation between web.xml and jboss-web.xml? Seems like: Jboss-web.xml specifies the security domain (which can be found in login-config.xml) web.xml specifies what the security level is I don't understand what happens when jboss-web.xml specifies a weak security domain. Ie: one that cannot do what web.xml s...

JBoss default HTML errors and REST webservice application

I have a REST based webservice that was originally deployed to WebSphere and errors were being returned properly as we expected (HTTP Status code plus a text message in the response body of the details of the error). But once deployed to JBoss, those text error messages became wrapped in HTML by JBoss, I'm assuming because we don't have ...

'Hot code replace' not working -- Eclipse doesn't change any code on JBoss

Hello, fellow visitors! I'm currently experiencing a problem with 'hot code replace' not working on Eclipse Galileo and JBoss 4.2.3. Among other applications I'm running an exploded Java WAR on my local JBoss. The project from which it is build is managed by Maven. I build the project using the Maven goal war:exploded and then I copy t...

Are there some newer books to read beside these?

I've come accross these websites who recommend certain books but they are pretty much old : http://www.joelonsoftware.com/navLinks/fog0000000262.html http://www.codinghorror.com/blog/2004/02/recommended-reading-for-developers.html http://sites.google.com/site/steveyegge2/ten-great-books Are there books in recent years which every dev...

Adding JBoss repository to m2eclipse, no latest Hibernate version

I'm trying to add JBoss repository to m2eclipse, mainly for Hibernate. It seems to work, but it can't find the latest version of Hibernate (3.5.1), only 3.5.0beta. I looked at some other packages, and they all seem a couple of months behind. What could be causing this? I'm running latest m2eclipse, and i guess latest Eclipse (it just say...

JNDI Issues: Jboss 4.2.2 Spring 2.5 and hibernate ejb

I have a strange problem, that is causing me some grief. If the following jar is in my classpath: <dependency> <groupId>org.hibernate</groupId> <artifactId>org.hibernate.ejb</artifactId> <version>3.3.2.GA</version> </dependency> My JNDI lookup for my datasource returns null. Here is the basic code I am using to do the lookup: Initi...

Is it possible to use objects as function paremeters in EL with JBoss EL resolver?

There is this sentence in JBoss EL resolver online documentation: It's important to fully understand how this extension to EL works. When the page is rendered, the parameter names are stored (for example, hotel.id and user.username), and evaluated (as value expressions) when the page is submitted. You can't pass objects as paramete...

Very basic running of drools 5, basic setup and quickstart

Is there a more comprehensive quick start for drools 5. I was attempting to run the simple Hello World .drl rule but I wanted to do it through an ant script, possibly with just javac/java: I get the following error: Note: I don't am running completely without Eclipse or any other IDE: Is there a more comprehensive quick start for d...

How to config a default global EJB transaction attribute in JBoss Server?

my project need to migrate from oc4j to jboss. But it seems that default EJB transaction attribute is different between them. For OC4J: If you do not specify any transaction attributes for an EJB method then OC4J uses default transaction attributes. OC4J by default uses Required for CMP 2.0, NotSupported for MDBs and Supports for all oth...

Choosing an application server for web application development

My manager has asked me to suggest an application server for web application development work. What are the factors that needs to be considered before we select any application server for web application development in Java J2EE development? If I select one now and IN future and I want to change to some other application server, is tha...

jboss username and password for login

How can, we know the jboss username and password for login ...

Can I add a java portlet to an existing java Web App?

Hi. I'm building a webapp that uses jboss-seam with jsf, facelets and rich faces, running on top of jboss AS 5.1. I would like to add a portlet area where I could add my own portlets, but from what I got (reading forums and documentation) I need to be running a portlet container/portal (something like liferay or gatein). But I don't w...