Hey
[EMAIL PROTECTED] wrote:
> Trying to deploy a bean without (and even with) jboss.xml in
> jBoss 2 is hard, you get a lot of NullPointerExceptions. I
> have been looking in the code this morning and after a few
> changes I have been able to deploy my beans.
>
> Here are the diffs
>
> File AutoDeployer.java
> -------------------------------------------------------------
> diff -r1.1.1.1 AutoDeployer.java
> 21d20
> < import org.jboss.cluster.*;
> -------------------------------------------------------------
> This import has to be removed.
Fixed. In CVS now.
> -------------------------------------------------------------
> Sorry, I have been moving the indentation of lines and this
> diff is very large. Just added the line ("if (rm != null)").
Fixed, with more to it (added DeploymentException if rm==null). In CVS
now.
> if conf is null then you get a lot of NullPointerExceptions.
> I have tried to provide a default value when this information
> is not present (missing jboss.xml in jar).
Missing jboss.xml should be ok, since defaults are created
automagically. (I think anyway).
> I don't like it, but it works. Rickard, you can do it better,
> sure ! ;-) All I want is a default maxSize when this
> information is not present.
Shouldn't have to do this. Will investigate.
Thanks for you hard work!! :-)
regards,
Rickard
--
Rickard �berg
@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]