[Installation, Configuration & Deployment] - Preventing native library loading in JBoss
by jabberwack
Hi!
My EAR contains a JAR file (say, myresources.jar) which, in its turn, contains only resources (images, properties, etc.) Among other things,
myresources.jar contains a ZIP archive with some DLLs in it.
So, the problem is: when I deploy the EAR to JBoss (I am using 4.0.4GA), it finds these DLLs and loads them, which is undesirable.
myresources.jar does not contain any descriptors that might cause such behavior, this is just a "plain" jar, which is described in application.xml as a java module.
Please, can anyone give me some hints on how to prevent loading of the DLLs? I suppose there should be some config parameter on this matter, but I cannot find it in documentation.
Regards,
Vladimir
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961264#3961264
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961264
19 years, 9 months
[JBoss Seam] - Re: Navigating depth in object graph
by angelogalvao
"petemuir" wrote : If it's not required then set it to null.
|
| You could also do it in an action method - client.setAddress(new Address()); if you want more control over whether an address is created or not.
|
| Sorry, my code wasn't complete - you would need a association annotation with at least cascade=PERSIST
That is my problem :( , because if i put, for example, my address to null i will have a "javax.faces.el.PropertyNotFoundException: Base is null: bla bla..." if i try to submit something like <h:inputText id="addressNumberInput" value="#{cliente.address.number}"/>...
My solution is put this in action method like you say, but i have a lot of relationships in the client, with address, sex, etc... i think this give a lot of work and make my code ugly....
That why i say that ognl null handler thats ww use is cool if getAddress return null he instanciates a new one the time i need, so if no address was typed no address is create, that saomething like that in EL???
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961263#3961263
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961263
19 years, 9 months