[JBoss Seam] - Re: Images Uploaded in Seam
by obfuscator
"tony.herstell(a)gmail.com" wrote : I have chatted with a GFX expert and to produce the code that can handle animated gifs and transparancies through a re-szie is not a small job.
| I think I will bow out on this for now and jsut restrict the user from uploading an image that is too big (therefore making THEM do it).
| Shame really as thats pretty unfriendly...
| I could just allow ANY image and display it to a given size but this means I may be passing round MASSIVE images AND small images may get scaled up.
| Grrr...
| Nice feature to add to seam perhaps... (well it has everything else!)
| :/
If you want your images to support transparency, you need to make them of type TYPE_INT_ARGB, not RGB. If you are dealing with hard stuff, such as
animated gifs etc, try using imagemagick, there is a java wrapper called
jmagick, but it's not very actively supported, just so you know.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076189#4076189
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076189
18Â years, 8Â months
[JBossWS] - Problem with JAX-RPC client
by myjbossid123
Hi
I have a a service running in JBoss.While trying to call a it through a JAX RPC client I am getting following error...
avax.xml.rpc.JAXRPCException: org.jboss.ws.binding.BindingException: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: Requested element name is not allowed in this position in the sequence. The next element should be address
My Client code goes like this..........
/*..........Other Stuff........*/
ServiceFactory factory = new ServiceFactoryImpl();
Service service = factory.createService(url, qname);
Call call = service.createCall(port, operation);
call.invoke(new Object[] {loanapp});
/*..........End........*/
It is wworking fine with a String but with a POJO object I am getting this error.Any help to resolve this is appreciated...
Thnks in advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076185#4076185
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076185
18Â years, 8Â months
[JBossCache] - How to fix NameAlreadyBoundException due to GenericTransacti
by BruceSpringfield
I ran into this error and found the problem listed under JBossCacheTroubleshooting :
anonymous wrote :
| Q. I'm using org.jboss.cache.GenericTransactionManagerLookup as the TransactionManagerLookupClass and jboss:service=TransactionManager service fails to start due to a javax.naming.NameAlreadyBoundException being thrown, what is happening?
| Setting org.jboss.cache.GenericTransactionManagerLookup? as the TransactionManagerLookupClass? allows JBoss Cache to look for the transaction manager in a application server independent way by looking for the common transaction manager definitions in JBoss, BEA, Wepshere,...etc. However, if you don't set the dependency on a specific transaction manager service, it can lead to this exception.
| If JBoss Cache starts before the transaction manager does, the transaction manager lookup will fail falling back on the DummyTransactionManager?, and binding it in the JNDI. When the actual TransactionManager starts, it will fail binding it because the DummyTransactionManager? occupies it.
But its not very clear how to fix the problem other than using the JBossTransactionLookup instead.
Any suggestions?
Another note is all the sample cache configs provided under the /etc/META-INF folder in the JBossCache-all-2.0.0.CR3 distribution all use this form of TransactionManager entry that causes the error.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076181#4076181
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076181
18Â years, 8Â months