I still don't understand when my changes are NOT picked up ??
During development I don't have a ear file, I just have a dir with all the
classes/xml files.
Untill now, when I change something in an EJB class, I have to stop orion,
delete the deployment dir en start again
Why like this ?? As if I do it the other ways, like:
+ using the admin.jar tool, something like: java -jar /opt/Orion/admin.jar
ormi://localhost admin pass -deploy -file
/opt/Orion/applications/sgs.ear -deploymentName sgs
+ touching the xml files in the META dir (the orion signals an update).
+ Removing the deployment dir during operation... it gives "Java Exception:
Broken pipe errror..."

If I do it like above it ofter occurs that it doesn't pick up my changes.
Also when I replace a class that is not part of the EJB's, which it loaded
during runtime, it still keeps on using the old class... what am I doing
wrong.... It can't believe that is can't be done more simple....!!??

BTW: when I do a:
++ java -jar /opt/Orion/admin.jar ormi://localhost admin pass -restart, I do
get:
------
Recovery completed, 0 connections committed and 0 rolled back...
Orion/1.5.1 initialized

Restarting...
Error starting JMS-Server: Unable to bind socket: Address already in use
Error starting RMI-Server: IO Error: Address already in use
---------

++ The shutdown command does work however.

So please some advices on what I am doing wrong, and how I should do it (do
I needs to change some JVM settings ??).
I am running RedHat 7.0.

Eddie

Reply via email to