jboss

log4j: different category priority than appender threshold

I've been trying to get this simple use case to work but can't: Define a default Threshold of INFO on a FILE Appender, but define a category with DEBUG level. This is a jboss 4.2.1.GA log4j.xml file that I am using where I just want to log java.sql calls. <appender name="SQL_FILE" class="org.jboss.logging.appender.DailyRollingFileApp...

WAR does not work under JBoss, but exploded application - works

From time to time we have very strange problem - if we deploy war into JBoss then our application(JSF+Spring+Hibernate) does not work. But if use exploded deployment then everything works ok. We have such problems very rarely. At the same time on one box the same war does not work, but on another - works normally. Boxes are the same - th...

jboss-esb fs-listener jbm message queue overflow

Hi, We have a jboss esb server which is reading files from the file system in a scheduled way (schedule frequency of 20sec) and convert them into the esb message then we parse the message. There are some other providers/listeners (jms) and services configured on the esb servers. When there is an error in one of the services it effects t...

How to configure nginx for JBoss?

How would I configure nginx to handle static content and delegate or pass dynamic content to JBoss? Thank you. ...

"Persistence provider caller does not implement the EJB3 spec correctly." warning when deploying on JBoss 5.1.0.GA

i get this hibernate warning pretty much every time i deploy a persistence unit on JBoss. its never the cause of any issues, but i was wondering if anyone knows what exactly this means, and can it be fixed/slicenced/worked-around in some way. ...

Jboss isn't updating roles for user?

I am using JBoss3.2 J_Security feature for roles management. In jboss's login-config.xml file.I have specified query to retrieve roles as below. <authentication> <login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule" flag = "required" > <module-option name="dsJndiName">java:/R...

What version of JBoss I am running?

(As asked in title:) How do I tell what version of JBoss I am running? I am also curious what version of tomcat I am running. Does a specific version of JBoss correspond to a certain version of tomcat? ...

Can I use JBoss MQ on JBoss 5? If so, how?

I have an application that was written on JBoss 3.2.5 and I am tasked with migrating it to JBoss 5. I am unable to deploy the application because it relies on JBoss MQ, which I read has been replaced by JBoss Messaging. Is there any way I can get the app to work on JBoss 5 without making any code changes? Config changes are OK. ...

Trying to find the cause of a Java exception, where are the files?

I have no particular Java knowledge whatsoever. We are running an opensource application which is mainly written in Java. Internet connection dropped while I was editing a job (this is some sort of a translation project management tool) and I cannot open the job anymore. I checked the database to see if anything is wrong there and all...

Getting back up to speed on Java after 8-10 years

The last time I did any serious Java coding was back around the turn of the century. In the mean time I've been doing a lot of other stuff, most recently c (embedded stuff) and c++. I'm starting on a new assignment in a couple of months and it will most likely be all-Java-all-the-time. I don't much info other than that I will be dealing...

Accessing MySQL datasource bean in Spring

I am trying to create a datasource bean for MySQL from within my Spring project (in springtoolsuite), and I want to access the MySQL JNDI (run by JBoss application server). My Bean declaration <bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean" scope="singleton" > <property name="jndiName" value="java:/MySqlDS...

JBoss remote Deployments

I know the app servers like Websphere and Weblogic have remote deployment capabilities that can be scripted with either Ant tasks or Jython. Is there something equivalent for JBoss? Basically, if I have a server at some known location and I have appropriate credentials, how do I deploy to JBoss remotely? ...

Java war applicationworks in Tomcat, Jetty and Glassfish, but not JBOSS

Hi, I have run into a problem with JBOSS for the last couple of days and have a hard time figuring out what's going on. Our team has developed a normal web application using hibernate, spring, spring mvc. Our development servers are Tomcat, jetty and glassfish. All of them works fine with our app. But one of our clients asks for JBOS...

Running and debugging JBOSS source code

Hi, My question is not about how to debug JEE web application running under JBOSS. My question is how to debug JBOSS itself. I am running into some problem with JBOSS server. I have googled a lot but with no avail. Finally I decided to dig into JBOSS source code and figure out the problem there. I have downloaded the source code. It...

start and call a method of seam component on jboss startup

Possible Duplicate: How can I start a process on the start of a Seam application Hi, I am using JBoss 4.2.1 GA. I want my jboss server to load and call a method in my seam component on the server startup I have used init-method in my components.xml and I also have used @create annotation tag. Can anyone help me or point me ...

Enumerating deployed EJB's and mBeans on JBoss

Hello everyone, I am trying to find a way to enumerate the EJB's and MBeans that have been deployed to a JBoss server. I was looking down the path of somehow using the JDI Context, but all I can get are the binding names and classes. Am I barking down the wrong path looking at JNDI? What should I do? Thx! ~Bolt ...

JBoss5.X out of memory error

JBoss crashed with out of memory error, how do I prevent this? I modified the values in run.bat but result is same. "- Xms1024 Xmx1024 PermGen512" ...

How to find problematic thread in Eclipse remote debugger?

I have a web application running in a jboss application server (But it is not jboss specific so we could also assume it is a tomcat or any other server). Now I have the problem that one thread seems to be in dead-lock situation. It uses 100% CPU all the time. I have started the server with enabled debug port and I can connect Eclipse to ...

java.lang.illegalstatexception Application was not properly initialized

Hi, I am getting the following error when deploying an application on JBoss 4.2.1 7:05:59,673 ERROR [Application Name]StandardWrapper.Throwable java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory I browsed the net and I found ...

Servlet Spec for Jboss 4.2.3

What Servlet Spec and JSP version does Jboss 4.2.3 support? ...