JBoss Application Server (or JBoss AS) is a free software/open-source Java EE-based application server.

learn more… | top users | synonyms

26
votes
4answers
39k views

Configure nginx for jboss/tomcat

In order to pass traffic to JBoss/TomCat on port 80 using Apache we used to install and configure mod_jk. Is there an equivalent for nginx? Basically want all port 80 traffic to be passed to jboss.
10
votes
4answers
19k views

JBOSS App Server vs. Glassfish

I'm quite newbie on Glassfish. What are some differences between JBoss and Glassfish? Why would you chooose one over the other. I'm trying to read up on Glassfish, but it is really hard to pinpoint ...
8
votes
3answers
7k views

What causes PermGen OutOfMemoryError on JBoss?

What is the underlying cause of a PermGen OutOfMemoryError in JBoss? I am running JBoss AS 4.2.2 in my development environment, and this occurs after redeploying my web application a large number of ...
6
votes
1answer
2k views

Jetty - Virtualhosting - SSL Certificates

I want to have different SSL certificates for different domains that I am hosting in a single Jetty instance. I do not want to front my Jetty application server with Apache. I am running Jetty ...
5
votes
2answers
7k views

Why do JBoss and Logrotate create log files full of NUL characters?

I've set up Logrotate to rotate my JBoss Application Server 4.2.2.GA logs nightly. After the log files have been rotated and JBoss starts writing to them again, the new log files begin with as many ...
4
votes
2answers
3k views

How to setup apache redirect or custom 401 document on Kerberos SSO login failure

I have a working Kerberos SSO setup, I use apache and jboss with mod_jk. Apache is protecting (by kerberos) the auto-login.htm page with the following configuration: <Location /auto-login.htm> ...
4
votes
1answer
983 views

Multiple puppet resources which share a single config file

I'm developing a custom puppet module for managing JBoss Application Servers. I consider each application deployed on the appserver as a self-contained resource. But some of the applications need ...
4
votes
3answers
3k views

CPU/JVM/JBoss 7 slows down over time

I'm experiencing performance slow down on JBoss 7.1.1 Final. I wrote simple program that demostrates this behavior. I generate an array of 100,000 of random integers and run bubble sort on it. ...
4
votes
1answer
1k views

Centralized logging for JBoss / log4j? [closed]

Does anyone have advice or a pointer to articles on how to centralize logs in JBoss? JBoss will log to syslog, which makes it easy, but doing so breaks multi line debug messages (and Jboss loves ...
4
votes
2answers
956 views

What are the advantages/disadvantages of using cgroups?

I administer several Linux-based servers and we are looking at migrating several JBoss apps as well as a couple of websites running on Apache from a RHEL 5.5 (64-bit) server with 4 cores to a RHEL 6 ...
4
votes
1answer
2k views

Configuring JBoss AS 7.2 to log to syslog

In my standalone.xml, I have the syslog-handler configured like so: <syslog-handler name="SYSLOG" enabled="true"> <level name="INFO"/> <hostname value="i-XXXXXXX"/> ...
3
votes
1answer
653 views

Why run JIRA in JBoss?

I've just finished getting JIRA & Confluence up and running Tomcat on Ubuntu Server when I noticed on the web there were installation instructions for JIRA/Confluence on JBoss. I am unfamiliar ...
3
votes
6answers
10k views

Running JBoss-5.1.0.GA as a service / daemon on Red Hat?

I am using JBoss 5.1.0 GA on Red Hat (Amazon ECS)... Am trying to set it up so JBoss will run as a service / daemon (right now it only starts up when I manually SSH and invoke sh ...
3
votes
2answers
9k views

JBoss: reload log4j config without restarting the server?

We are using JBoss application servers for our new web applications that use Apache log4j for logging. We are using JBoss for some months now and everything works out cool, the centralized config ...
3
votes
3answers
2k views

Jboss + mod_rewrite =?

I have 2 servers, Apache and Jboss. Using JKmount .war files are mounted and present a complex site. eg: JkMount /directory/* ajp13 Alias /directory /jboss/server/default/deploy/directory.war ...
3
votes
4answers
6k views

Setting up SSL on JBoss 5

How can I enable SSL on JBoss 5 on a Linux (Red Hat - Fedora 8) box? What I've done so far is: (1) Create a test keystore. (2) Placed the newly generated server.keystore in ...
3
votes
2answers
2k views

Remote monitoring of JBoss from Microsoft Operations Manager (MOM)

I'd like to monitor various JMX properties and events from Java web applications running in JBoss Application Server (version 4.0) on Windows. I need to get this information into Microsoft Operations ...
3
votes
1answer
181 views

Application Fail over not working in apache 2.2 web server configured with BIG IP (f5) load balancer

I am using Apache 2.2 in front of my JBOSS 5.2 application server in a cluster configuration . The two nodes of the cluster configuration resides on different host . This configuration is hosted on ...
3
votes
2answers
2k views

JBoss7 load balancing with mod_proxy_balancer - session not working

I am trying to set up mod_proxy_balancer for routing requests to 2 jboss7-servers. For the time being I am testing this setup on my local machine, using following config in httpd.conf: ProxyRequests ...
3
votes
1answer
825 views

Puppet Duplicate declaration error

i'm running in an Error: Duplicate declaration with my puppet project. I want to deploy jboss instances, and part of them are some special config files. As soon as i create a 2nd instance, which ...
3
votes
1answer
5k views

JBoss 7.1.1 Clustering, JBAS014775:New missing/unsatisfied dependencies

I am following https://docs.jboss.org/author/display/AS71/AS7+Cluster+Howto I managed to get 2 servers running. One slave. One master. I managed to get to "Dry Run" I got: [Host Controller] ...
3
votes
1answer
159 views

Jboss standalone-full.xml file getting overridden while restart

I have modified the standalone-full.xml while jboss is running. And then I have restarted the jboss instance. My change is not available in the file (standalone-full.xml) after restarting. Seems, ...
3
votes
1answer
3k views

JBoss 5: $JBOSS_HOME/server/$INSTANCE/tmp cleanup

I've noticed since moving to jboss 5, tmp files for each instance are handled differently. In jboss 4, the entire directory was purged at each jboss restart. In 5, the applications are exploded to ...
3
votes
2answers
1k views

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, ...
3
votes
1answer
872 views

obfuscating keystore password in JBoss 4.2.2 GA

I've setup my jboss app-server to use SSL. The relevant extract from my config is below. Everything is working ok, however some people have expressed concern over the keystorePass attribute being in ...
3
votes
0answers
109 views

JBoss EAP 6.2 high availability without HTTP server

i'm looking for some solution to make a Jboss Cluster ( 2 nodes ) in H.A. ( 1 live, 1 backup) but i don't want to use a third element ( machine, service or whatever ). Most configuration I found uses ...
3
votes
1answer
2k views

How to avoid Error 403 Forbidden : Apache virtual host configuration issue

I am quite a newbie to the Apache Server (2.0, I know it is a bit too old, however my workplace demands me to learn it as it is the version we are using)and now trying to get Apache work with Jboss ...
3
votes
1answer
857 views

How to remove the pause during JBoss 5.1.0 GA boot between ProfileServiceBootstrap and AnnotationCreator?

I've managed to strip down my JBoss profile enough that it boots in 1.5 minutes. I started with the web profile and started pulling out stuff I didn't need. The bulk of my boot time can be seen here: ...
2
votes
2answers
2k views

log the Jboss connection pool count

I have a jboss-4.2.3.GA installation where I suspect the thread pool may be incrising over time due to threads not being properly released. I am not getting any messages when maxthreads is reached, ...
2
votes
4answers
3k views

How to set up JBoss with S3_Ping on AWS?

I'm looking into running clustered JBoss on Amazon Web Services (AWS). I'd like to try out S3_PING, i.e. making JBoss use an S3 bucket for dynamic node discovery etc, since no multicast is available. ...
2
votes
2answers
478 views

Redirecting to port 8080 if accessed by a certain domain

I am running Apache on port 80 of my server, and JBoss on port 8080 of the same machine. How can I have Apache redirect requests with a certain domain name to the JBoss server on 8080? I'd like to ...
2
votes
7answers
2k views

Running script in background without sticking to shell

i want to run a shell script remotely via ssh and the ssh shell should end when the script ends. The script itself runs another script whose output is piped to a log file. Example: I run the script ...
2
votes
4answers
346 views

Architecture and Virtualization

I'm trying to build an architecture with Virtual Servers for J2EE Web applications Hosting. I've no experience in virtualisation. I currently have 1 server whith Apache/Jboss/Postgresq/Proftpd ...
2
votes
2answers
3k views

TCP Window Size going to 0 / Wget stops downloading?

I have a somewhat complex setup that doesn't work, and I'm struggeling quite a bit to track down the root cause. First of all the big picture: Node backend is a medium size windows azure worker role ...
2
votes
2answers
6k views

JBOSS Vulnerability [PCI Scan]

This morning i received from the auditors a scanner result for our jboss server and we need to solve three important issues, but honestly i was googling for a while and nothing found. if any one know ...
2
votes
2answers
15k views

JBoss Tools - Allow remote access to localhost:8080

I'm working on Eclipse 3.5 with JBoss Tools, and even though I remember doing it before, I haven't been able to make my JBoss running instance from Eclipse available to other computers on the network. ...
2
votes
4answers
3k views

how to design pound -> varnish -> jboss for ha + loadbalancing

I'm planning a new infrastructure for our web application. We have two JBossAS5 servers, running in a cluster. Session state will be replicated via JBoss Cache. In front of that, there should be some ...
2
votes
1answer
51 views

SaltStack - Copy war file into JBoss 5.1 using SALT

Hi ServerFault community, I have a war file that I want to deploy in JBoss 5.1 via Salt. 'archive.extracted' module seems to not work. I've read in salt docs about 'jboss7.deployed' module but I ...
2
votes
1answer
967 views

How make a SSH tunnel from one computer to another and forward its traffic?

I have two computers both running Linux. Let's call them computer A and computer B. Computer A has IP 192.168.1.10 and B has 192.168.1.11. On computer B there is a JBoss 7 AS installed and its admin ...
2
votes
1answer
1k views

Using standalone.sh but cant see welcome page or web mgmt interface

I downloaded and extracted JBOSS AS 7.1.1. I executed the Standalone.sh script also. However, now when I try to go to http:// IP-address:8080 or http:// IP-address:9990/console I get an ...
2
votes
1answer
2k views

How does Apache mod_proxy_ajp work when Jboss runs as a cluster with AJP on 2 different ports?

I am trying to get an Apache webserver to load balance to a JBoss cluster, but unfortunately, I dont understand how mod_proxy_ajp works through the load balanced scenerio, since each of the 2 ...
2
votes
5answers
23k views

How do I setup JBoss 5.1.0.GA to run multiple instances?

Does anyone have any experience or advice in setting up multiple JBoss 5.1.x instances on the same machine that has 1 network card? Here is what I did: Installed JBoss 5.1.0.GA into c:\myjboss 1.5. ...
2
votes
2answers
1k views

JBoss & JBoss Cache configuration for a cluster

The JBoss 'all' server setup starts up a clustering as a default. But I guess 'all' contains plenty of unnecessary services for a web application based on EJB3, JPA/Hibernate. What is the minimum ...
2
votes
2answers
665 views

Proper manual deployment of a Java Application Server on Ubuntu Server 8.10 - Linux

I am currently preparing to deploy a JBoss AS into production for the first time. My Linux distribution is Ubuntu Server 8.10 . My original plan was to use aptitude to install JBoss. Currently ...
2
votes
1answer
2k views

Apache problems in performance test with mod_reqtimeout

We have 2 Apache webserver behind a load balancer wich are connected to 2 (JBoss) application servers via mod ajp. To those webservers, mobile devices connect via a REST API. In our performance ...
2
votes
1answer
250 views

Why does mod_rewrite not reprocess rewritten paths?

I'm doing a path rewrite to set and environment variable that will cause mod_jk to use a specific JBoss server. Works perfectly with any of the application paths. When I try our monitoring servelet ...
2
votes
1answer
2k views

Configure jboss web application to support SSL

I have a Spring JSF web application which is deployed in JBoss6 Application Server which I want to add SSL(i.e. https). How would I do this in Proper manner with JBoss6? I've enabled the ...
2
votes
1answer
1k views

JBoss Seam project can not be run/deployed

I created sample application in Seam framework (Seam Web Project) and JBoss Server 7.1. When I try run application, console dislays: 23:29:35,419 ERROR [org.jboss.msc.service.fail] (MSC service ...
2
votes
1answer
258 views

MaxRequestsPerChild equivalent for Jboss?

We have an application running on Jboss that's leaking memory and from to time to time, this causes the server to go into swap and crash. I know the correct way to solve this is to find the root ...
2
votes
1answer
2k views

How do I set the jmx to listen in a specific IP

I am trying to configure jboss to allow monitoring with a jmx tool (I am looking at a few so no need to give). Looking at the properties in java jmx docs it does not seem to have a property to set ...