jboss

Weblogic or JBoss?

I am a long time java developer on JBoss(and Tomcat). In the last year I had to develop over weblogic and I have to say - I really miss JBoss. Since my experience with weblogic is pretty shallow, I am asking the more experienced guys out there: Is there a reason for spending money on weblogic? Isn't JBoss giving you all that you need...

Where is the jar file for EJB3 annotations for JBoss 5?

This should be simple, but I'm at a complete loss. I'm working through a tutorial for setting up some MBeans in JBoss 5.0. It has an example like this: @Remote public interface Calculator { public double getInterestRate(); public double calculateTotalInterest(double presentValue, int years); public double calculateFuture...

Create navigation menu dynamicly based on deployed jars.

Hi, I am just investigating the idea of this so have no example code. I've been digging around on the web but I'm not really sure what I should actually be looking for so I'm not finding much. So I thought I'd ask and see if anyone knew if a) This is possible. b) How I should do it. (Or at least what I should be looking to learn about t...

jBoss 4.0.2 deploying same WAR multiple times causes jBoss to crash because of PermGem/Out-of-Memory Errors

I develop web applications and I use jBoss 4.0.2 and when I have redeployed my WAR several times with eclipse, jBoss will crash because it runs out of memory. And when I have to install new version to production enviroment, it will consume production servers memory, so that means I have to stop jBoss to prevent redeploying eat memory fro...

Automating JBoss deployment in Eclipse?

I'm looking for a way to automate deployment of a Flex application(written in Eclipse) EAR to the JBoss application server. That is, when I click 'Build' I want it to also do the deployment. It doesn't have to be a 'hot' deployment, since this is development I don't care about shutting down and restarting the application. ...

Unable to see new MBeans in JBoss 5.0

I've been going through several examples on how to add MBeans to JBoss 5.0 so they can be configured though the JMX Console, but none of these examples have ever shown up in the JMX view. I've now tried to get ehCache's JMX integration to work to no avail. I'm trying (as in the ehCache documentation) the following: CacheManager manage...

Where can I download JBoss Developer Studio 2.0 GA?

I am trying to download JBoss Developer Studio 2.0 GA, but the best I can find on the SourceForge Downloads page is JBossIDE 2.0.0.Beta2. Is there a more recent version that I can download somewhere? (I don't mind building it from source, although it's not my preferred option.) Another question is about the file dates. In the download ...

JBoss Tutorials, Portal

I am a bit daunted by all the information that is available on JBoss. I searched through various tutorials on their website, but there is a lot there - some of which is over my head as someone new to JBoss. The tutorial recommended to this question is good, but I also need a tutorial involving JBoss Portal. Thanks for any help. ...

Calling EJB in JBoss from Tomcat & passing an object as an argument

I have the following EJB class instantiated in an application running in JBoss 5 public interface ISlaveServer { public String getId(); public String getName(); } @Remote public interface IMasterServer { public String getId(); public void addSlave(ISlaveServer slaveServer); public void removeSlave(ISlaveSe...

Logging configuration for certain EJB Jar on JBoss Server

Hi, can you specify on JBoss server logging level for single EJB Jar? I've got two EJB Jars with two different Web Services. I would like the WS logs from first jar to be printed completely to server log file whereas WS logs from second jar are irrevelant and i don't want them printed anywhere. Can it be configured on JBoss? I'm using ...

How to initialize ConnectionFactory for remote JMS queue when remote machine is not running?

Using JBoss 4.0.5, JBossMQ, and Spring 2.0.8, I am trying to configure Spring to instantiate beans which depend on a remote JMS Queue resource. All of the examples I've come across depend on using JNDI to do lookup for things like the remote ConnectionFactory object. My problem is when trying to bring up a machine which would put messag...

JBoss: WAR file in EAR can't find JAR library on classpath

Hey Guys, I am having a problem deploying an ear with bundled wars, jars, and configuration files (.properties files) on JBoss 4.3-eap. Here is my ear structure: +app.ear +lib *.jar libraries that the war's use +classes *.properties and other configuration files +META-INF application.xml jbos-a...

How to automatically run JBoss app on startup, using RedHat

Not too long ago, I installed a java web application on a Red Hat server running JBOSS. After a recent reboot, I realized that the site did not start up automatically when the machine was booted. Is there an easy way to ensure that this happens? There are shell scripts to start and stop the application, something like : /opt/myApp/St...

JBoss 4 Timer Service - Will an new Timeout (ejbtimeout) will be invoked if the last one did not returned yet?

Hi, I am using JBoss Timer service. I annotated a method with @Timeout. If the time has come and the ejbTimeout method invoked but not completed before the next interval comes will another ejbTimeout method will be invoked? Thanks, Rod ...

Spring: Is there a simple non-web tutorial?

I'm attempting to create a Spring application (NOT web application) to perform some simple tasks. Eventually they will hook up with some other Spring apps around the network, but for now I'm keeping it simple. I have a CheckForNewItems class (extending Timer) which is configured to run every 10 seconds. I can confirm it runs by calling ...

HIbernate schema update error

Hi everyone, During the startup of Jboss server, I get the following stacktrace. I wonder why JPA is trying to alter tables that seem to be fine and how to get passed these ERROR messages. Thanks 2009-08-03 11:28:49,683 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] Unsuccessful: alter table BDPARAMS add constraint FK61733C48FA34BFDC f...

how to exclude a source package when deploying an app on JBoss within Eclipse

Hello! I'm developing a java web-based application and deploying it on JBoss 5.0 within Eclipse. I have some testing packages in my project which I'd like to avoid deploying them. Is there any means by which I can tell Eclipse to exclude these testing packages from the deploying war ? I've tried with the run configuration but didn't f...

Seam 2.2GA + JBoss AS 5.1GA + Postgres 8.4

Hello Stackoverflow Users, Sorry for the big wall of text, but its mostly logs Thx for any help in any of my problems I've been trying to get help from Seam forums, but in vain. I'm trying this Setup mentioned in the title, but unsuccessfully. I have it all installed correctly and the problems start with the seam-gen. This is my bu...

exception deploying on jboss : argument type mismatch

hi everyone! I'm getting a very weird exception when trying to deploy my app on JBOSS 5.0.1 GA . The strangest thing is that the application deploys flawlessly on JBOSS 5.0.0 CR2. I upgraded the version to 5.0.1 GA as I don't want to make use of a Candidate Release (CR) version for a professional application. You can see the exception ...

Apache & JBoss use port 80 at the same time

I have both Apache 2 and JBoss 4.2.3 on the same machine and would like both of them to use port 80. There are several ways I see people doing this mod_jk, mod_proxy, but I'm not sure which one is the best. I don't need any load balancing, but I do need HTTPS. ...