Questions tagged [jboss7.x]

Version 7 of the JBoss Application Server

JBoss Application Server 7 is a Java EE 6 implementation. Read more about JBoss AS 7 here.

3567 questions
1
vote
1 answer

EJB 3.1 - Why sateless bean must be injected by its interface (if there is one)?

Since EJB 3.1, beans don't need to have a Local interface, and I usually don't use one: @Stateless public class MyService(){ public void buisnesssMethodA(){ ... } public void buisnesssMethodB(){ ... } } and in my…
phoenix7360
  • 2,807
  • 6
  • 30
  • 41
1
vote
2 answers

Error during deploying REST Webservice on JBOSS EAP 6.3

I am trying to deploy a war (Rest based Webservice)file on a jboss eap 6.3 server . The deployment is failing with the following trace. I looked into all the dependencies, everything looks fine. Am i missing something ? 11:22:57,659 INFO …
DntFrgtDSemiCln
  • 1,259
  • 2
  • 16
  • 35
1
vote
0 answers

Jboss 4 to wildfly-8 migration delayed http listener start

I am trying to move an web-application from jboss-4.2.3 to wildfly-8.1.0. The application has an ear deployment. Inside ear(XXX.ear),it has a war(YYY.ear) and sar(ZZZ.sar). When ear is deployed, the war and sar deployment starts. The war takes…
Sandeep
  • 803
  • 8
  • 25
1
vote
0 answers

ServletException : tmpFile.renameTo(classFile) failed

After deploying a war to JBOSS 7.1.0 I am facing an exception mentioned below. An error message '[ServletException in:/WEB-INF/modules/pages/SomeJspPage.jsp] tmpFile.renameTo(classFile) failed' is shown in jsp page and below exception is…
Shreyas Dave
  • 3,815
  • 3
  • 28
  • 57
1
vote
0 answers

Missing Web Files When Deploying EAR Using Eclipse Luna

I am currently upgrading my web app running on Java 6 and JBoss EAP 5.2 using STS 2.9 to Java 7 and JBoss EAP 6.2 using Eclipse Luna. I have noticed that when I deployed my EAR file via manually dragging file or adding the file in the server tab…
1
vote
1 answer

org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher cannot be cast to javax.servlet.Servlet

I am using rest web service and building the project with maven. The project is building successfully, but when i hit url to test rest web services I am getting following exception. java.lang.ClassCastException:…
Sanchit Jain
  • 119
  • 3
  • 15
1
vote
0 answers

why isnt the jsp page compiled in Openshift Jboss as 7 with spring 4 mvc annotation

I have developed an java web application using maven and spring mvc 4 in eclipse. I am using spring annotation without web.xml and using jboss 7.1 application server. I am using WebApplicationInitializer as i am not using web.xml public void…
1
vote
1 answer

Select a login module programmatically in JBoss AS

I am working on a web application, hosted on a JBoss AS 7.1.1, which will be used by users from two different companies. In order to authenticate, besides username and password, users must provide the company they belong to. And, according to the…
cassiomolin
  • 124,154
  • 35
  • 280
  • 359
1
vote
0 answers

struts2 full hibernate plugin leaking jdbc connections?

I am using struts2-fullhibernatecore-plugin-2.2.1-GA.jar for injecting session as, @SessionTarget protected Session hSession; @TransactionTarget protected Transaction hTransaction; i can see in jboss logs stacktraces that it's…
Ashish Kataria
  • 520
  • 3
  • 11
  • 31
1
vote
2 answers

Infinispan seems to be having phantom or dirty reads

I'm using JBoss EAP 6.0.1.GA (AS 7.1.3.Final) and the bundled Infinispan 'Brahma' 5.1.8.Final. I've configured Infinispan to be use a replicated, synchronous cache with isolation level = SERIALIZABLE and enabled batching on the cache. Sample code…
1
vote
2 answers

Drawbacks of using JBoss' generic resource adapter for a third-party JMS provider

Some third party JMS providers do not provide a JMS JCA resource adapter for JBoss. In that scenario there is an alternative way to set up a generic JMS resource adapter in lieu of a custom one provided by the…
Camilo Crespo
  • 615
  • 5
  • 15
1
vote
1 answer

Interceptor on super method in CDI 1.0/JEE6

In the following case, public class Base { @Transactional public void doSave() { // ... } } public class Inherited extends Base { public void someMethod() { super.doSave(); } @Override public…
drone.ah
  • 1,135
  • 14
  • 28
1
vote
4 answers

ClassNotFoundException for Eclipse project running a JBoss 7 server using C3P0

I have a project in Eclipse that uses a JBoss server. I'm trying to change my database manager to use C3P0. However, no matter what I've tried I can't seem to import the jar files correctly. Here is the error I am getting: javax.ejb.EJBException:…
Sunga
  • 309
  • 1
  • 4
  • 17
1
vote
2 answers

How to deploy war file to jboss 7.1.1 from jenkins1.573 automatically during build?

I'm trying to build a project using jenkins.upon successful build my war file should be deployed automatically to jboss deployments folder. But during build I got the following error: I am using deploy plugin in jenkins. ERROR: Publisher…
user2689808
  • 35
  • 2
  • 9