Questions tagged [jboss]

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

Filter by
Sorted by
Tagged with
28 votes
4 answers
51k 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.
user avatar
10 votes
4 answers
21k 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 ...
codingbear's user avatar
8 votes
3 answers
8k 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 ...
Peter Hilton's user avatar
7 votes
3 answers
12k 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 ...
Ben Williams's user avatar
  • 2,396
7 votes
2 answers
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 6.1....
user avatar
6 votes
3 answers
7k 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> ...
user avatar
6 votes
1 answer
3k 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"/> &...
cemerick's user avatar
  • 283
5 votes
1 answer
2k 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 ...
roehrijn's user avatar
  • 223
5 votes
2 answers
2k 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 (...
Brian's user avatar
  • 231
4 votes
1 answer
920 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 ...
Dave's user avatar
  • 617
4 votes
1 answer
4k 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, ...
RBB's user avatar
  • 143
4 votes
3 answers
7k 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. @...
lukas's user avatar
  • 151
4 votes
1 answer
4k 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 ...
user avatar
4 votes
1 answer
2k 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 ...
mfarver's user avatar
  • 2,586
4 votes
2 answers
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, I'...
Jakub Holý's user avatar
4 votes
2 answers
5k views

Deploy to JBoss 7 using Hudson Deploy plugin

I have 2 machines where one of them contains the Hudson CI and other JBoss 7 AS. In Hudson, I have installed "Deploy Plugin", created new job and filled required JBoss manager user connection fields. ...
Uluk Biy's user avatar
  • 141
3 votes
2 answers
9k views

How to disable default 1000 max-parameter limit in JBoss 7.0.9?

We migrated a web application from JBoss 5.1 to 7.0.9. Post migration, in a specific scenario, there is a Runtime Exception thrown as mentioned below which we didn't encounter with JBoss 5.1. We found ...
Vasanth Subramanian's user avatar
3 votes
3 answers
8k views

Apache load balancer for mod_proxy_wstunnel?

We are in the process of developing a JavaEE 7 application to be deployed on JBoss/Wildfly that will make extensive use of Web Sockets. We're using mod_proxy_wstunnel for web socket support, and we'...
Shadowman's user avatar
3 votes
1 answer
1k views

What's the easiest or preferred way to deploy in Wildfly with zero downtime?

We can use Apache Tomcat to deploy our wars without stopping our current application. To do this we just need use the sufix ##XXX in the name of our war (an example here). How can we do this (zero ...
GarouDan's user avatar
  • 152
3 votes
2 answers
7k 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 ...
rfders's user avatar
  • 133
3 votes
2 answers
22k 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. ...
Fernando Briano's user avatar
3 votes
6 answers
14k 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 $JBOSS_HOME/bin/run....
user avatar
3 votes
1 answer
1k 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 ...
kaklakariata's user avatar
3 votes
2 answers
8k views

How to get server-group status in jboss-cli

How can I get server-group status (started|stopped) via jboss-cli.sh?
HUB's user avatar
  • 6,830
3 votes
2 answers
13k 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 ...
fgysin's user avatar
  • 448
3 votes
3 answers
3k 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 <...
Antitribu's user avatar
  • 1,749
3 votes
4 answers
8k 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 $JBOSS_HOME/server/...
user avatar
3 votes
2 answers
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 ...
Ben Lings's user avatar
  • 133
3 votes
1 answer
695 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 ...
ITSME's user avatar
  • 51
3 votes
3 answers
4k 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 ...
Phil P.'s user avatar
  • 51
3 votes
1 answer
3k 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 ...
Rox's user avatar
  • 441
3 votes
1 answer
8k 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] 11:30:...
Titi Wangsa Bin Damhore's user avatar
3 votes
1 answer
1k 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 ...
Glen's user avatar
  • 133
3 votes
0 answers
172 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 ...
Stefano R.'s user avatar
3 votes
1 answer
5k views

How do I change Jboss' logging directory

I'm running jboss-as 7.2. I'm trying to configure all log files to go to /var/log/jboss-as but only the console log is going there. I'm using the init.d script provided with the package and it calls ...
chizou's user avatar
  • 477
3 votes
1 answer
2k views

JBoss EAP 6.2 on RHEL 6: ./bin/init.d/jboss-as-standalone.sh hangs while calling via SSH

I'm using jboss-as-standalone.sh to manage JBoss EAP standalone as a service. I can start/stop the service with "service jboss-as-standalone.sh start/stop" while I'm on a terminal. But I would like ...
roehrijn's user avatar
  • 223
3 votes
1 answer
4k 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 (...
user2986175's user avatar
3 votes
0 answers
3k views

Can't deploy because folder was not inside a directory whose name ends .war. (JBoss)

I created a default JSF Project using Maven2Eclipse. When I try to start the home.xhtml JBoss returns the following error Message: (DeploymentScanner-threads - 1) JBAS015010: The deployment ...
Lama's user avatar
  • 253
3 votes
1 answer
1k 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: ...
rcampbell's user avatar
  • 1,035
3 votes
1 answer
4k views

ORA-12705: invalid or unknown NLS parameter value specified

I have a J2EE application hosted on JBoss on Linux. When I try to access the application, I see following error in the server.log file. ORA-12705: invalid or unknown NLS parameter value specified ...
Viky's user avatar
  • 648
2 votes
3 answers
3k views

What is the prefered way to configure Wildfly 10.0.0 Final to listen on port 80 on Ubuntu 14.04.4 LTS?

I'd installed Wildfly 10.0.0 Final on Ubuntu 14.04.4 LTS using this script. Everything looks working fine. My problem is that wildfly is listenning on port 28080 (script installation default) and I ...
GarouDan's user avatar
  • 152
2 votes
2 answers
4k 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, ...
Sreeraj's user avatar
  • 21
2 votes
4 answers
5k 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. ...
Jonik's user avatar
  • 3,021
2 votes
2 answers
3k views

how does odbc driver work?

I have an application hosted on jboss. use jdbc driver of oracle to connect to an oracle 10.2g database. Can anyone guide as to what happens when a session is established. Just trying to understand ...
Viky's user avatar
  • 648
2 votes
2 answers
578 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 ...
Jon Gauthier's user avatar
2 votes
3 answers
11k views

jboss 5 changing default port

I am trying to change the default port on my jboss server to port 80. i have had a look around the web and i have had suggestions of editing this file jboss5\server\default\deploy\jbossweb.sar\server....
freddy6's user avatar
  • 115
2 votes
7 answers
3k 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 ...
user avatar
2 votes
4 answers
365 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 ...
Matthieu's user avatar
  • 443
2 votes
1 answer
2k views

JBoss Https configuration with CER/P7b certificate fails

My question is similar to this one: Tomcat fails to find a key entry in keystore I have a CER file, which I had imported into a JKS using the below command: keytool -importcert -file codesign_Base64....
Pavan Dittakavi's user avatar
2 votes
1 answer
2k views

Adding a new role to jboss eap 7

I want to setup Basic authentication on JBoss EAP 7, and assign my users to a common role. This does not seem possible. I see where I can create a group, and assign users to a group, but the group ...
OldProgrammer's user avatar

1
2 3 4 5
8