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.
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.22. So far, I have only seen configurations with a single SSL certificate, and the configuration for SSL happens within server which leads me to believe that Jetty was designed to support a single SSL certificate.
Please let me know if I can use Jetty with more than 1 certificate.
I am considering migrating to JBoss Application Server 6.0 since it is closer to a real application server. Is this something that can be done there, and is it a supported feature?
After searching a little bit, I came across this: https://stackoverflow.com/questions/208149/configure-multiple-keystores-in-jboss-depending-on-requested-hostname
Is that the case? If so, then I doubt Jetty or any other application server would support it. I would need to have 2 different connectors - different port or ip address. Then, I would need to have Apache proxy Jetty / JBoss in that case.
Walter
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 NUL characters as there were characters in the previous log file, followed by the new log messages. For example, if the JBoss server.log file was 5000 bytes long then, after rotation, the new server.log file will begin with 5000 NUL characters. After several days, server.log begins with NUL characters equivalent to the characters in all the previous days log files combined. It seems as if JBoss is remembering its position in the log file and picking up where it left off in the truncated file. Here is my logrotate config for JBoss:
/apps/jboss-4.2.2.GA/server/default/log/*log {
daily
rotate 30
compress
notifempty
copytruncate
missingok
nocreate
}
I can't restart JBoss nightly because that would be too much downtime. I also can't use the log4j DailyRollingFileAppender as it doesn't delete old log files. Has anyone gotten logrotate working properly with JBoss?
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 things that I may need before I start installing and trying to deploy some applications on it.
UPDATE
It would be good if any additional information on JBoss and Glassfish comparison is provided
(e.g. technologies they support, performance, etc.)
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 times.
Christian Vest Hansen's blog gives JVM options that help a lot, but do not solve the problem completely:
-XX:+UseConcMarkSweepGC
-XX:+CMSPermGenSweepingEnabled
-XX:+CMSClassUnloadingEnabled
-XX:MaxPermSize=128m