jboss6 « JBoss « Java Enterprise Q&A





1. How to 'activate' SLF4J logging in JBoss6 AS    stackoverflow.com

Given: JBoss 6 Application Server M3

$ ls -la $JBOSS_HOME/common/lib/slf4j-*
-rwx------+ common/lib/slf4j-api.jar
-rwx------+ common/lib/slf4j-jboss-logmanager.jar
I believe that the above libs provide the bridge between SLF4J and the JBoss Logging system. My Web application relies on SLF4J for ...

2. Moving from jboss 3.2.1 to jboss6    stackoverflow.com

Now we have a project with java 1.4 and ejb 2.1 running on jboss 3.2.1. We are trying to update up to java 6 and ejb3.1, but we are doing it ...

3. Is there a NetBeans plugin to add JBoss AS 6 support?    stackoverflow.com

JBoss 6 AS is released and I would like to test it in the NetBeans IDE. In NetBeans 6.9.1 the JBoss 6.0.0.Final directory can not be chosen - the error message ...

4. JBoss 6 unpacks jars from WEB-INF/lib of war    stackoverflow.com

when I start JBoss 6 I see that it unpacks all jar files from WEB-INF/lib in tmp/vfs/automountXXX folder. E.g. jackrabbit-server.war contains library asm-3.1.jar, then in tmp folder I see the following ...

5. Running jboss 6.0    stackoverflow.com

i got the following error can u help me out

18:20:29,504 WARN  [org.jboss.deployers.vfs.structure] Exception looking for WEB-INF/lib, /C:/eTravel_workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_6.0_Runtime_9_Server1294231790973/deploy/eTravel.war, java.util.zip.ZipException: error in opening zip file
18:23:28,990 INFO  [org.jboss.jpa.deployment.PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=eTravel.war#eTravel
18:23:28,990 ...

6. Running jboss6.0 -[org.jboss.deployers.vfs.structure] Exception looking for WEB-INF/lib, / java.util.zip.ZipException: error in opening zip file    stackoverflow.com

i am using jboss 6.0 while running got following Exception plz help me out [org.jboss.deployers.vfs.structure] Exception looking for WEB-INF/lib, / java.util.zip.ZipException: error in opening zip file

7. Deployment problem in jboss 6    stackoverflow.com

I have built an application that works fine in the jboss 4.2 version but when i deploy it in jboss 6 version i am getting this error.

    22:05:36,201 ...

8. JBoss AS6 app specific logging    stackoverflow.com

I'm currently migrating old web apps from JBoss As 4.2.2 to 6.0.0 (AS6). In AS6 we have a proprietary format for logging applications through a file named jboss-logging.xml. After read some ...

9. Hashing passwords with DatabaseServerLoginModule    stackoverflow.com

I'm using JBoss 6 and postgresql, the password's been entered in the database using the MD5() function of postgresql. Logging in without setting a hashAlgorithm module option works fine, but as soon ...





10. JBoss6 Classloading logging    stackoverflow.com

We are having some class loading issues when deploying an application to JBoss AS 6.0.0 Final. Is there any logging that can be enabled within JBoss to see when classes ...

11. JBoss AS6 classloading on ear: control import and export    stackoverflow.com

I have developed a JEE application (ear) that I am deploying in JBoss AS6. The ear contains a public interface that is being called by the quartz scheduling service. Since this ...

12. JBoss 6: what's the difference between the directories common/lib and client?    stackoverflow.com

I found common libraries like Apache commons-lang.jar in /client, but not in /common/lib. Q's: What's the purpose of the /client directory and how is it different from /common/lib? (I copied my commons-lang.jar from ...

13. How to debug JBOSS application in netbeans?    stackoverflow.com

I come from a .NET background where I can easily debug a web application by adding a breakpoint and building/running the application. I'm working on a JAVA EJB3 application. I have successfully ...

14. JBoss 6 Class Loading Issues    stackoverflow.com

I am using JBoss 6 and i want to deploy my war application. I was deploying my application to JBoss5 successfully by using jboss-classloading.xml under my web-inf directory. This isolation method ...

15. NoClassDefFoundError when class is in JBoss 6 WAR WEB-INF/classes folder    stackoverflow.com

My problem is that I have a web application built and deployed as a WAR file to JBoss 6. My servlet fails to load a class in my app and ...

16. How to automatically redeploy application after a resourceAdapter is redeployed    stackoverflow.com

for my MessageDrivenBean inside of a JBoss6 I'm using the activemq resource adapter. At runtime I need to change the adapters ra.xml. JBoss is smart enough to redeploy the adapter when ...





17. How to create a Message Bus between different EARs in JBoss    stackoverflow.com

I'm going to write an Enterprise Applications that manages some things inside my JBoss. During the livetime of the server it can become necessary to redeploy several other Applications (EARs) that ...

18. Tree cache in jboss 6.x    stackoverflow.com

We are using tree cache in jboss 4.2.x, we are planning to switch to jboss6.x, will jboss 6.x supports tree cache?

19. JBoss [ClassLoaderManager] Unexpected err... cannot access superclass?    stackoverflow.com

Trying to deploy to JBoss-6.0.0.Final container and have been battling the following stacktrace. Maybe there's a known solution??

14:36:08,218 INFO  [AbstractJBossASServerBase] Server Configuration:

    JBOSS_HOME URL: file:/E:/java/jboss-6.0.0.Final/
  ...

20. Deploying Web application in JBOSS 6    stackoverflow.com

One of my web application working perfectly fine with jboss 4 version, now i want to upgrade the jboss version to jboss 5 or jboss 6. I installed jdk 1.6 as latest ...

21. Exception thrown while starting JBoss 6    stackoverflow.com

When I start JBoss 6 through Eclipse (Helios) without deploying any application it starts without a problem. When I deploy my ear it throws the following exception which does not reference ...

22. Resteasy (JBoss AS 6) validation    stackoverflow.com

I'm looking for a good pattern of providing custom validation of input for Resteasy services. Let's say I've this service:

@Local
@Path("/example")
public interface IExample {
  public Response doSomething ( @QueryParam("arg1") String arg1, @QueryParam("arg2") ...

23. Update Mojarra in Jboss AS 6    stackoverflow.com

I've been using glassfish and it has an update utility guide that keeps the server up to date. Is there anything like this in Jboss AS? Or how can I update ...

24. Warning while deploying in JBoss 6    stackoverflow.com

I am creating a JavaEE 6 EnterpriseApplication on NetBeans7. JBoss 6.0.0.Final is the application Server. When i deploy the EJB Module on JBoss, it gives the following message:

WARN  [org.jboss.profileservice.management.upload.remoting.DeployHandler] Failed ...

25. Transaction logging in JBoss 6    stackoverflow.com

In this question: How to debug CMT transaction boundaries ? some instructions are given for configuring JBoss to log transaction begin, commit etc. events. I'm using JBoss 6, and don't have the ...

26. How do you disable HornetQ in jboss6    stackoverflow.com

09:13:41,660 INFO  [HornetQServerImpl] HornetQ Server version 2.1.2.Final (
Colmeia, 120) stopped
Would like to understand how to disable HornetQ component while launching JBoss6. We don't use this component and I am under ...

27. What does mean in jboss-logging.xml    stackoverflow.com

does anyone know what

<error-manager>
    <only-once/>
</error-manager>
mean in jboss-logging.xml?

28. How to upgrade HornetQ version in JBoss 6?    stackoverflow.com

I am using JBoss-6.0.0 AS which by default comes with HornetQ-2.1.2 version but this version of HornetQ has many Iteration related bugs which are now resolved in HornetQ-2.2.5 version which by ...

29. JBoss deployment    stackoverflow.com

We are trying to deploy a WAR on JBoss through Eclipse. The WAR is getting deployed in workspace folder and not being copied to deploy folder of JBoss. hence,The application is also ...

30. JBoss HornetQ: Set consumer-window-size for slow consumer    stackoverflow.com

I want to set the <consumer-window-size/> to 0. This seems to be the answer of another question ( JMS queue with multiple consumers ), and is described in this

31. Removing "Server" header from reponse on JBoss 6 deployed application    stackoverflow.com

We are implementing a proxy service deployed on JBoss 6.0. JBoss will set an outgoing "Server" header which should not be set according to the HTTP specifications. Instead, a "Via" header ...

32. Logout method in custom Authentication module is never called    stackoverflow.com

I have a custom authentication module that extends the JBoss DatabaseServerLoginModule (org.jboss.security.auth.spi.DatabaseServerLoginModule) that provides stuff like counting of failed logins. When loging in from a remote desktop client using LoginContext.login() the ...

33. How can I bind a JBoss AS 6 running as service to 0.0.0.0?    stackoverflow.com

Where in the JBoss AS 6 startup script can I set the -b 0.0.0.0 parameter like in JBoss AS 5? The new version reads input from a temporary file .r.lock

:cmdStart
REM Executed ...

34. Has any one had success installing Alfresco 3.4 on Jboss 6?    stackoverflow.com

I am trying to install Alfresco 3.4 on Jboss 6 but not having much luck and not finding much info on the internet. I guess what I am really asking is, ...

35. Alfresco 3.4.d community warnings/errors related to standard.jar on jboss 6    stackoverflow.com

I am trying to get alfresco community 3.4.d to work on jboss 6.1.0.Final but I am having some issues. To keep this question to one problem I am interested in what ...

36. Which JBoss Invoker to use?    stackoverflow.com

I am upgrading my webapp from JBoss 4.2.2.GA to JBoss 6.1.0.Final and while looking into optimizations, came across some articles for JBoss Tuning & Slimming. This Article, although for JBoss ...

37. WAR deployment fails on JBoss 6.1 when it is in collapsed/archived format    stackoverflow.com

I have a J2EE based web application which perfectly gets deployed on JBoss 6.0 app server.
I am using JBoss's "default" server configuration.
I have an ".ear" file which contains EJBs and ...

38. Why one of my Embeded WAR in an EAR deployed on JBoss has a bad context-root?    stackoverflow.com

I have two WAR in my EAR, that should be deployed on a JBoss 6.0.0 Application Server with those WEB-INF/jboss-web: in services-1.1-SNAPSHOT.war:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 5.0//EN" ...

39. Where can i find the jboss-j2ee.jar file in JBoss 6?    stackoverflow.com

In jboss 4.0 the file called jboss-j2ee.jar. But i can't find this jar in jboss 6.0's client directory. I need just for compilation to resolve few annotation. I'm not using maven, ...

40. How can I deactivate INFO messages in JBoss?    stackoverflow.com

I don't like to see INFO messages in JBoss. Do you know a flag to controll the JBoss output? I would like to deactivate the INFO messages.

41. Does a Tool for the analyzation of JBoss log files exist?    stackoverflow.com

I have a JBoss 6 Server running which generates a big log file. Does a tool exist, which allows me to analyse the log file (How often did a specific error ...

42. Clustering a Scheduled job with JBoss 6    stackoverflow.com

I have a regular task that has to be executed once per day (but only once). Currently this is done with a @Schedule annotation. next i want to cluster my application. is ...

43. Error in deploying application in jboss    stackoverflow.com

I am getting error message, When i am deploying war file in jboss server.

DEPLOYMENTS IN ERROR:
  Deployment "vfs:///E:/IDE/jboss-6.0.0.Final/server/default/deploy/JbossTest.war" is in error due to the following reason(s): java.lang.ClassNotFoundException: 1.0.com.sun.codemodel.JConditional
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1370) [:2.2.0.GA]
at ...

44. JBoss stop tail on server restart    stackoverflow.com

I have a shell script that resarts JBoss following a new deployment as a scheduled task. The problem is that jboss automatically tails the server.log on restart which means my shell ...

45. Is it possible to move Application JARs libs outside WEB-INF/libs and EAR/lib    stackoverflow.com

We have an EAR with some application specific libs (.jar) in EAR/lib directory. Quite often, during development phase JBoss under Eclipse locks those jars even after undeploy. We must then restart ...

46. JBoss 6.1 deployment fails in collapsed format    stackoverflow.com

When I deploy my enterprise application to JBoss 6 exploded, everything works fine. But when I package that in a EAR, it can't start one of the servlets with:

18:36:15,218 SEVERE [http] ...

47. JBOSS 6: [CachedConnectionManager] Closing a connection for you. Please close them yourself    stackoverflow.com

I am getting an exception every time a transaction gets over in JBOSS 6. I understand that I am not closing the connection manually, but I want to avoid it by ...

48. jboss 6.x: sending e-Mails if specific type of Exception is thrown    stackoverflow.com

We use jBoss logging and got it finally working - now we have the problem that we dont want to send an e-Mail everytime an ERROR accures. We just want to ...

49. ClassNotFound exception when deploying to JBoss 6.0 (jdeveloper 11.1.1.4)    stackoverflow.com

I have a java ADF application that I'm trying to deploy to a local JBoss 6.0 instance. I've followed the steps layed out here: http://blogs.oracle.com/jruiz/entry/deploying_an_adf_11g_applicati But when I deploy I get:

...

50. Why does Java Web Start redownload jars from JBoss?    stackoverflow.com

We just discovered that every time we restart JBoss, all of our Java Web Start clients redownload all of their jars, instead of reusing the cached jars, even if our application ...