Hey Guys
Just to find my way around the code and to get
acquainted with the build / deploy process, I took on
this bug to fix.
I am able to replicate / locate / fix the problem.
Right now, this error stops the auto deployer thread
(running = false;) !
One possibility could be to remove this bug from the
bugs database as its lame ! otherwise:
What should JBoss do when someone deletes a "watched"
directory ?
a. Create the directory again, and continue - in
this case, JBoss auto un-deployes EJBs from that
directory !
b. Undeploy all EJBs from that directory and
remove directory from watched list.
c. Quit / Halt !
I would personally prefer b ! that looks the cleanest.
The problem with a and b - if someone deleted the
"deploy" directory, jbosspool-jdbc.rar and jms-ra.rar
are undeployed ! I was wondering if deploy/lib is a
good place for these rars !
I also found that a URL based EJB is not undeployed if
it is not accessible - it is assumed that the URL will
exist! Is this the behavior we want ?
I do not have write access to CVS.
Thanks
Ajay
--- [EMAIL PROTECTED] wrote:
> Bugs item #432844, was updated on 2001-06-13 10:53
> You can respond by visiting:
>
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=432844&group_id=22866
>
> Category: JBossServer
> Group: v2.2.1 (stable)
> Status: Open
> Resolution: None
> Priority: 5
> Submitted By: Dirk Hoffmann (dirkey)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: NullPointerException in AutoDeployer
>
> Initial Comment:
> If the deploy directory is deleted (by a stupid user
> ;-
> )), the Autodeployer thread stops with a
> NullPointerException. After restoring the directory
> the Autodeployer is not running anymore.
>
> [Auto deploy] java.lang.NullPointerException
> [Auto deploy] at org.jboss.ejb.AutoDeployer.run
> (AutoDeployer.java:135)
> [Auto deploy] at java.lang.Thread.run
> (Thread.java:484)
>
> Regards,
> Dirk
>
>
----------------------------------------------------------------------
>
> You can respond by visiting:
>
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=432844&group_id=22866
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
>
http://lists.sourceforge.net/lists/listinfo/jboss-development
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development