Hi,
i have a problem with the deploy of ejb in JBoss.
When in a java file there is the "import", JBoss do not deploy the .jar
file.
An example:
...
import com.util.Position;
...
If i insert the above code then JBoss do not deploy the ejb.
Can anyone help me please?
Thanks,
Nico.
Philip Reimer - 07 Sep 2006 15:28 GMT
Nico schrieb:
> Hi,
> i have a problem with the deploy of ejb in JBoss.
[quoted text clipped - 10 lines]
>
> Can anyone help me please?
I think, if com.util.Position is neither in the jar you want to deploy
nor in JBoss's classpath then the jar cannot be deployed.
> Thanks,
> Nico.
HTH,
philip
Matt Humphrey - 07 Sep 2006 15:33 GMT
> Hi,
> i have a problem with the deploy of ejb in JBoss.
[quoted text clipped - 8 lines]
>
> If i insert the above code then JBoss do not deploy the ejb.
There are quite alot of steps between adding an import state (which doesn't
even really show up in the compiled code) and having the resulting code
deployed. What recompiles your code? How is your deployment package
rebuilt? How are you deploying the jar? Is it part of an ear / war? What
does JBoss say when the jar is installed / loaded (JBoss error messages can
be long and cryptic) Also, if the code does not actually change (which can
be the case if you've only added an import) you may actually be deploying
the same jar--not a new one and JBoss will not detect the change (because
there is no change.)
Matt Humphrey matth@ivizNOSPAM.com http://www.iviz.com/