Re: AW: Using Graphics2D in Axis2 Handler
My code is not on the Axis2 Web Service. In fact, it is the adaptive code that modify the standard handler to resize the attached image (i.e. the image is attached to SOAP using SwA). And I try to use the Jimi also to resize image without graphics2D, but even when I import Jimi library to AXIS2 library, TomCat share lib, I still cannot call Jimi function (JimiImageRaster). Have anyone encountered this problem before? Please help me a bit. Thank you so much. Gia Hieu Dinh wrote: > > Hi Carsten, > I have set the java.awt.headless = true in Java Option but it's still not > work. Could you please give me some other options? > Thank you. > Harry. > > > Zerbst, Carsten wrote: >> >> Hello, >> >> perhaps your problem is completly different. If you run java.awt.* things >> with >> a headless server context, you need to tell awt that there is no display >> to attach to. >> Try setting the java system environment java.awt.headless to "true" on >> the server side, >> e.g. by modifiying the start script to contain >> >> java -cp ... -Djava.awt.headless=true >> >> Bye, Carsten >> >> PROSTEP ITS GmbH, Dolivostr.11, D-64293 Darmstadt >> HR: Amtsgericht Darmstadt, HRB 8805 >> Geschäftsführung: Dr. Markus Sachers, Reinhard Betz >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- View this message in context: http://www.nabble.com/Using-Graphics2D-in-Axis2-Handler-tf4296934.html#a12268026 Sent from the Axis - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Using Graphics2D in Axis2 Handler
Hi Carsten, I have set the java.awt.headless = true in Java Option but it's still not work. Could you please give me some other options? Thank you. Harry. Zerbst, Carsten wrote: > > Hello, > > perhaps your problem is completly different. If you run java.awt.* things > with > a headless server context, you need to tell awt that there is no display > to attach to. > Try setting the java system environment java.awt.headless to "true" on the > server side, > e.g. by modifiying the start script to contain > > java -cp ... -Djava.awt.headless=true > > Bye, Carsten > > PROSTEP ITS GmbH, Dolivostr.11, D-64293 Darmstadt > HR: Amtsgericht Darmstadt, HRB 8805 > Geschäftsführung: Dr. Markus Sachers, Reinhard Betz > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Using-Graphics2D-in-Axis2-Handler-tf4296934.html#a12266697 Sent from the Axis - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Using Graphics2D in Axis2 Handler
Hello, perhaps your problem is completly different. If you run java.awt.* things with a headless server context, you need to tell awt that there is no display to attach to. Try setting the java system environment java.awt.headless to "true" on the server side, e.g. by modifiying the start script to contain java -cp ... -Djava.awt.headless=true Bye, Carsten PROSTEP ITS GmbH, Dolivostr.11, D-64293 Darmstadt HR: Amtsgericht Darmstadt, HRB 8805 Geschäftsführung: Dr. Markus Sachers, Reinhard Betz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]