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

learn more… | top users | synonyms

25
votes
5answers
30k 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 ...
5
votes
1answer
1k 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 ...
4
votes
2answers
4k 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
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
671 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 ...
3
votes
1answer
429 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 ...
3
votes
2answers
6k 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
2answers
2k 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> ...
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
546 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
3k 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
2k 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
736 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
1answer
716 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
4answers
2k 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
380 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
336 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
6answers
8k 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 ...
2
votes
2answers
4k 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
4answers
2k 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
561 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
2k 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
1answer
1k 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
20k 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
641 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
2answers
667 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 ...
2
votes
1answer
147 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
1k 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
646 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
237 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
1k views

JBoss 5.1.0 on JDK 1.6 - do I need to tweak the configuration to get it to work?

I am in the process of installing JBoss 5.1.0 on machines running JDK 1.6.0u21. In the 5.1.0 release notes there is the following paragraph in the section titled "Compatibility Issues from 5.0.0.GA": ...
2
votes
1answer
306 views

JBoss 5.1.0 GA with Apache Load Balancer

I've followed the tutorial here: http://community.jboss.org/wiki/UsingModjk12WithJBoss All my files as configured as it says there but then I try to access http://localhost/jmx-console I get Proxy ...
2
votes
1answer
156 views

Deploying XML resources to JBoss using Twiddle

We are moving to JBoss 5.1.0 with autodeployment disabled. Therefore, we need to use twiddle to do our deployments. The only place I have got stuck is deploying .xml files. These files are ...
2
votes
1answer
1k views

Apache Redirect to Jboss SSL

I'm trying to have an SSL Connection to an Apache server on port 443 which I want to use to proxy connections to a JBoss server on a different port. The SSL certificates sit on the Jboss server not ...
2
votes
3answers
13k views

Error deploying Spring application to Jboss due to ClassCastException

When I try to deploy a spring application in Jboss, I get this error: 11:32:34,045 ERROR [AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=#ehr-punit state=Create ...
2
votes
1answer
1k 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 ...
2
votes
0answers
68 views

Multiple httpd with JBoss cluster: provide httpd HA

I have a working configuration like this: +-----+ +-----+ +-----+ +-----+ | i1 | | i2 | | i3 | ... | in | JBoss Cluster +--+--+ +--+--+ +--+--+ +--+--+ | ...
2
votes
1answer
720 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"/> ...
2
votes
0answers
57 views

Scaling large numbers of small customer J2EE webapps

We're allowing customers to create websites on our SaaS app. We currently use Jetty as the app server, but we could use anything J2EE. I'd like to be able to scale customer webapps across our ...
2
votes
0answers
96 views

Solr on a two node Jboss cluster

Are there any issues with deploying Solr on two node jboss cluster with the index shared on a NFS mount point? We would like to do this for high-availability across data centers.
2
votes
3answers
120 views

Apache Proxying Setup

I have a scenario as below: I have a URL with DNS Entry, say http://example.com When the user enters http://example.com/portal, (s)he lands on Apache (2.2) Web Server (say AWS 1). There I have a ...
2
votes
3answers
2k 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. ...
2
votes
0answers
276 views

JBoss: switch domain in case of failure

In a cluster configuration of 2 different physical servers, managed with the domain setup, where one of the servers is the master and acts as a domain and the other is the slave and gets the ...