0 Replies Latest reply on Aug 11, 2008 1:01 AM by eskape

    Writing MBean for Runtime.exec()

    eskape

      Hello!

      We need to execute an external program in our application (program is ImageMagick, and we cannot use JMagick approach because it hangs the entire system on 10+ megabyte images). Due to J2EE/EJB spec, the Runtime.exec() is prohibited in stateless beans. Our workaround is writing MediaConverterMBean which will actually execute an external program.

      Could you please tell if there are any problems about this in JBoss?