jboss

Shorten path of REST service in JBoss Seam application still wrong

I got a similar question as: http://stackoverflow.com/questions/3248814/shorten-path-of-rest-service-in-jboss-seam-application/3248902#3248902 But couldn't comment on the shipmaster answer because of my initial rep. His comment Jul 19 at 18:10 misunderstood the situation: Faces servlet is mapped by url-pattern *.xhtml and Seam Resource ...

Try to use hibernate 3.4 in JBoss 5.1 but gets javax.validation.ValidationException: Unable to find a default provider

I've come across some problems using Hibernate 3.4 on JBoss 5.1. Hibernate 3.4 is a JPA 1.0 implementation so it should be fine to be used in JBoss 5.1. The thing is JBoss has its own version of Hibernate, which is located at /common/lib whereas I don't want to use the version provided by JBoss. What I did was that I removed the hibernat...

Cannot Inject EJB in GWT ServiceImpl (JBoss 4.2)

Hi Guyz, I am using Eclipse 3.6 and jboss 4.2 I've created Enterprise Application with two modules, EJB and WEB. I have converted the WEB module into GWT application (and added necessary files - html and css) The problem is, when I need to Inject either the Remote or Local interfaces in the GWTServiceImpl servlet using the @EJB annota...

Which version of JBoss AS to use?

Hi Gangs, We are using JBoss 4.2 GA, and need use a newest version in some new project. I heard that JBoss 5.0 encounter such bugs... is this correct? If not, which exact version of 5.0 to use?? and what about 6.0?? Thanks. ...

Spring hierarchical context

I have following problem: I'm trying to implement Spring in existing ear application (using Jboss as App Server and Hibernate as ORM). The ear application consists of war(basically few simple servlets), har(hibernate archive which has only the data model-as classes and the corresponding hibernate mapping files - as xmls), sar(only one pa...

How to authenticate users by their role declarative?

How can Seam be configured to use different security-constraints for different web-resource-collections? In web.xml I included a sections like <security-constraint> <web-resource-collection> <web-resource-name>AdminPages</web-resource-name> <url-pattern>/secure/*</url-pattern> </web-resource-collection> <au...

JBoss Messaging and Thread Priority

I'm using JBoss 5.1.0 GA together with JMS. I have two message-driven beans. Could someone explain the threading model to me? For example, does each MDB have a separate thread pool? Do they share a global pool? ...

Remote restart from Jboss 5.1.0

How to do remote restart from JBoss 5.1.0? This is possible only using the JMX interface? Thanks ...

EJB3 JSF application run in jboss 5

I am using JSF 1.2, EJB 3 on JBoss 5. This is my EJB: @Local public interface HelloServiceLocal { public void sayHello(String username); } @Stateless(name="helloService") public class HelloService implements HelloServiceLocal { public void sayHello(String username) { // business logic } } In a JSF backing bean ...

Multiple pages in JSF not calling backing bean mutators.

I'm currently developing an additional page to an already existing website. Actually that part isn't really that important - the page performs it's own separate functions. Anyway, originally, this "page" consisted of two pages controlled by one jpdl pageflow. Everything worked correctly, except when referencing the second page. The user...

Beginning Java Web services. Where to start

Hi guys, my company runs a site that primarily has its backend logic coded in Perl. It works fine but ultimately we are headed to something Java driven. I do plan on studying this and would like to start setting up a Java environment on another server in our company so when the time comes I at least have a headstart. Does anyone have a r...

Jasper Exception on Jboss 5.0.1

I am getting the following exception when deploying my application to Jboss 5.0.1 : org.apache.jasper.JasperException: Unable to read TLD "META-INF/c.tld" from JAR file "vfsfile:/opt/jboss-eap-5.0.1/server/xxxx/deploy/jbossweb.sar/jstl.jar": java.io.IOException: Permission denied I found the following ticket: https://jira.jboss.org/b...

What is the best way to handle a ConstraintViolationException with EJB3 and entitymanager in an SLSB

here is my code snippet: @Stateless public class mySLSB { @PersistenceContext(unitName = "db") private EntityManager myEntityManager; public void crud(MyEntity myEntity) throws MyException { myEntityManager.merge(myEntity); } } However this merge can cause a ConstraintViolationException, which does not throw MyException (which i...

How do I Install JBoss 6 in Eclipse Helios JEE

When i went to The "new server wizard" I cant find in the category for JBoss the 6 version. And when I clicked "Download new server adapter" I dont get JBoss 6 adapter in the list. Thanks for the answers. ...